diff --git a/ghostwriter-1.5.0.tar.gz b/ghostwriter-1.5.0.tar.gz deleted file mode 100644 index 42e0c23..0000000 --- a/ghostwriter-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bfd64024d9741f55d587afa5661f4b5e2a48becbbc92495c2186fca44fb08486 -size 620301 diff --git a/ghostwriter-1.6.1.tar.gz b/ghostwriter-1.6.1.tar.gz new file mode 100644 index 0000000..264fafb --- /dev/null +++ b/ghostwriter-1.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f0475c6ece06e2519acea939fdcb8d32919c4709208dac7a089000ac4776cbb +size 677531 diff --git a/ghostwriter.changes b/ghostwriter.changes index 91a0735..ef59c9e 100644 --- a/ghostwriter.changes +++ b/ghostwriter.changes @@ -1,3 +1,91 @@ +------------------------------------------------------------------- +Mon Apr 9 15:17:14 UTC 2018 - seb95.scou@gmail.com + +- New upstream release, update to version 1.6.1 + * Worked around an issue with Qt version 5.10 that causes the + application to occasionally crash when reloading the currently + opened document or when opening a new document due to the text + cursor not being set to the beginning of the document before + clearing the editor and loading the new document. + +------------------------------------------------------------------- +Mon Apr 9 12:03:01 UTC 2018 - mpluskal@suse.com + +- Run spec-cleaner +- Drop not needed scriplets + +------------------------------------------------------------------- +Sun Apr 8 22:18:35 UTC 2018 - seb95.scou@gmail.com + +- Update to version 1.6.0 + * HTML live preview is now in a split pane view rather than in a + separate window. + * New options were added to hide HUD windows while typing, in full + screen mode, or in live preview mode. + * A new button was added to the status bar and a new shortcut was + added to the View menu in the menu bar to toggle hiding/showing the + open HUDs. + * Github's cmark-gfm can now be detected and used as a Markdown + processor. + * Block quotes and code blocks now have an inobtrusive background + color to differentiate them. + * Buttons have been added to the status for existing features. + * HUD windows and scrollbars can be stylized to have square or + rounded corners in the Settings, and are no longer theme dependent. + * New "Typewriter" focus mode was added by @hirschenberger. + * The style sheet and Markdown processor to use with the HTML live + preview can now be selected in their own dialog box accessible both + from the status bar at the bottom of the window and from the menu bar + in the Settings menu. + * The "Copy HTML" button has been moved to the "status bar" at the + bottom of the main window. + * The "Copy HTML" button / menu bar option can copy just the selected + Markdown text as HTML (using the currently selected Markdown + processor). It will still copy the entire Markdown text document and + convert it to HTML in the system clipboard if no text is selected. + * Themes now support options for emphasis color and block text color. + Note that emphasis color will also affect the color of headings, and + block text color will affect the color of block quotes and code blocks. + * Issue #302: ghostwriter will now look for default Qt + translations on the standard Qt translations path + (for standard buttons/text). These default Qt translations + have been included in the Windows installer translations + folder and portable Windows Zip, and will be loaded automatically + based on the currently selected application language. + * Some tweaks have been made to the parsing/highlighting of + emphasized text to handle nested emphasis cases better. As part + of this effort, ghostwriter uses a Qt 5-specific regular + expression class that is not available in Qt 4. As such, + ghostwriter can no longer be built with Qt and must be built with + Qt 5. + * Issue #272: Fixed issue with Focus mode where inserting + matching characters around a selection was causing the application + to crash. + * Issue #260: Added compatability with Pandoc version 2 and + MultiMarkdown version 6. + * Fixed issue where HTML preview scrolls to the top if the new + HTML from a modified document matches the old HTML, even if the + markup used in the source document did change. + * Fixed issue where current word is not live spell checked if the + user switches the text cursor to a different line. + * Fixed issue where prompt to reload a file that has been modified + externally was being displayed multiple times per file change. This + seems to have been triggered by some editors like Sublime Text that + perform multiple file saves for a single file modification. + * Issue #228: Selected text can now be dragged and dropped to a + different location within the editor. + * Fixed issue where if setext heading markup line is selected and + deleted with the cursor position beginning at the end of the previous + line, the heading is not removed from the Outline HUD. + * Fixed issue where Preview HTML menu item and button were not in + sync to appear checked or unchecked. + * ghostwriter now clears the Outline HUD when loading or reloading + a document to prevent a crash in case bad data is in the HUD. + * Fixed copy HTML issue to ensure Markdown text has proper formatting + (i.e., greater than signs aren't converted to >). + * ghostwriter will now search in the mozilla-dicts installation + location for dictionaries on OpenBSD. + ------------------------------------------------------------------- Fri Nov 3 09:29:25 UTC 2017 - mpluskal@suse.com diff --git a/ghostwriter.spec b/ghostwriter.spec index 22e4bbc..b7447e7 100644 --- a/ghostwriter.spec +++ b/ghostwriter.spec @@ -1,7 +1,7 @@ # # spec file for package ghostwriter # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: ghostwriter -Version: 1.5.0 +Version: 1.6.1 Release: 0 Summary: A distraction-free Markdown editor -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Text/Editors -Url: https://wereturtle.github.io/ghostwriter +URL: https://wereturtle.github.io/ghostwriter Source: https://github.com/wereturtle/ghostwriter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme @@ -38,10 +38,6 @@ BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5WebKit) BuildRequires: pkgconfig(Qt5WebKitWidgets) BuildRequires: pkgconfig(hunspell) -Requires(post): hicolor-icon-theme -Requires(post): update-desktop-files -Requires(postun): hicolor-icon-theme -Requires(postun): update-desktop-files Recommends: %{name}-lang Recommends: multimarkdown Suggests: MultiMarkdown-5 @@ -61,7 +57,7 @@ provides a relaxing, distraction-free writing environment. %lang_package %prep -%setup -q +%autosetup %build lrelease-qt5 %{name}.pro @@ -73,22 +69,15 @@ lrelease-qt5 %{name}.pro %suse_update_desktop_file -r %{name} TextEditor %find_lang %{name} --with-qt -%post -%desktop_database_post -%icon_theme_cache_post - -%postun -%desktop_database_postun -%icon_theme_cache_postun - %files -%doc README.md CREDITS.md COPYING +%license COPYING +%doc README.md CREDITS.md %{_bindir}/ghostwriter %dir %{_datadir}/appdata %{_datadir}/appdata/ghostwriter.appdata.xml %{_datadir}/applications/ghostwriter.desktop %{_datadir}/icons/hicolor/* -%{_mandir}/man1/ghostwriter.1%{ext_man} +%{_mandir}/man1/ghostwriter.1%{?ext_man} %{_datadir}/pixmaps/ghostwriter.xpm %files lang -f %{name}.lang