Skip to content

Latest commit

 

History

History
477 lines (334 loc) · 24.3 KB

CHANGELOG.md

File metadata and controls

477 lines (334 loc) · 24.3 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Added more icons to menu actions.
  • Ported to Qt6.

Fixed

  • Issue #487636: Unicode characters at the start or end of formatted text are now correctly highlighted.
  • Issue #482078: First character on a new line within a list is no longer highlighted as markup text.
  • Issue #475234: ghostwriter now remembers its font settings between sessions.
  • Issue #485691: ghostwriter not longer crashes on launch after the port to Qt6.

Removed

  • Replaced QtFontAwesome usage with SVG icons due to corner case where Qt could not find the Font Awesome fonts when Qt was built from scratch.

[23.08.5]

Fixed

  • Added syntax highlighting and live spell check performance improvements.
  • Fixed corner cases for toggling of bold, italic, and strikethrough formatting.

[23.04]

Added

  • Updated file licenses to be compliant with REUSE.
  • Transitioned to KDE Frameworks' Sonnet spell checking library, which provides language detection as a new feature.
  • Transitioned to building with CMake.
  • Images can now be pasted from the clipboard with a prompt to save the image.
  • KDE about dialogs (for both ghostwriter and KDE) have been added to the help menu.
  • KDE bug report dialog and donate dialog have been added to the help menu.
  • Users can now specify custom Markdown processor command line options for previewing and exporting.

Fixed

  • Fixed line break symbol not being painted correctly under Windows.
  • The line break symbol will now only be painted at the end of a hard line break if the text cursor is not at the end of the line.
  • Saving an untitled draft file will prompt the user to "Save As".
  • Upon the user saving an untitled draft to a named file, the original untitled file is deleted to reduce clutter.
  • Fixed crash on link creation under Linux.
  • Fixed several memory leaks related to spell checking and cmark-gfm calls.
  • Width of the drop down combo box in the export dialog is now stretched to 100% to fit all options.
  • Issue #460158: Fixed IME window displacement.
  • Fixed syntax highlighting on line breaks, including for Unicode.
  • Issue #463362: Fixed theme preview thumbnail sizes on HiDPI screens.

[2.2.0] - 2022-09-17

Fixed

  • Issue #813: Opening the app after a fresh install no longer complains of a file backup error when text is entered.
  • Issue #815: Invoking the app from the command line with a non-existent file path specified will now create an empty file for the path.
  • Spaces are now properly underlined in emphasized text when emphasis style option is set to underline.

Added

  • A line break symbol is now drawn at the end of lines having two trailing spaces to designate a line break.

[2.1.6] - 2022-09-13

Fixed

  • Changed Classic theme's dark mode selection color from the light mode's color to the appropriate dark color.
  • Changed live preview's code block styling to scroll on overflow.
  • Fixed regression in translations failing to load.

[2.1.5] - 2022-09-09

Fixed

  • When renaming a file, file will now be saved even if the new file name already exists, provided the user chooses to proceed from the warning dialog.
  • Spell check dialog no longer eats HTML angle brackets when showing the context around a misspelled word.
  • Application now supports Qt 6 while maintaining backward compatibility with Qt 5.
  • Various under-the-hood refactoring/improvements have been added.
  • CSS and QSS style sheets now support SASS-style variables.
  • Hover and pressed button effects have been added to improve visibility.
  • User interface component icons and text have had their coloring adjusted to better meet WCAG accessibility standards.
  • Issues #790, 803, and 809: To prevent the equation and typing duplication in math equations, math rendering has been restricted to the Pandoc processor. All other Markdown processors will no longer render math, since special preprocessing is required that only Pandoc does.
  • Added a command line option --disable-gpu to disable GPU acceleration to allow users to bypass a Windows bug in Qt 6 where full screen windows having an OpenGL component (in this case, QWebEngineView) cannot display menus (popups, menus from the menu bar).

[2.1.4] - 2022-06-18

Fixed

  • Replaced whole word icon in find/replace due to Windows 10 not rendering Unicode characters used for old icon.
  • Changed selection color for Plainstraction Dark theme to be brighter.
  • Issues #772, 773, and 777: Added workaround for segmentation fault on GTK/Gnome 42 at startup.

[2.1.3] - 2022-05-28

Fixed

  • Issue #751: Fixed various sidebar and HTML preview size issues.
  • Issue #724: App waits longer for Pandoc to finish reporting version on Windows before timing out.
  • Issue #762: Fixed typo in Brazilian Portuguese translation.
  • Fixed editor margins on resize and on sidebar hide/show.
  • Updated Russian translation.

[2.1.2] - 2022-03-12

Fixed

  • Issue #624: Text on line breaks is now correctly highlighted.
  • Issue #708: Removing large portions of text no longer freezes the app.
  • Issue #732: User-defined width of sidebar is now restored on load.
  • Issue #738: App waits longer for Pandoc to start up on Windows before timing out.

[2.1.1] - 2021-12-24

Fixed

  • Untitled documents are no longer created upon opening or closing a new, empty document.
  • Updated Chinese translation.
  • Fix compilation issue with Ubuntu 18.04.

[2.1.0] - 2021-11-20

Added

  • Untitled documents are now autosaved to a draft folder when autosave is enabled.
  • Added preferences button to open the draft folder location where untitled documents are autosaved.
  • Added check box option to load last opened file on startup. If left unchecked, a new file will be opened on startup
  • Added ability to word count indicator in status bar to display a different statistic. (The indicator is now a combo box.)
  • Updated Brazilian Portuguese translation.

[2.0.2] - 2021-06-27

Fixed

  • Issue #615: Unicode characters are properly displayed in the sidebar's Outline.
  • Issue #619: Chinese and other languages with unicode characters now display properly in the HTML preview.

[2.0.1] - 2021-05-16

Fixed

  • Issue #598: Unicode characters no longer shifts syntax highlighting.
  • Sidebar now properly hides itself after the Ctrl+J Outline command if it was previously hidden on initial launch.
  • New Norwegian translation added.
  • Spanish and Italian translations updated.

[2.0.0] - 2021-05-08

Added

  • cmark-gfm now replaces Sundown as the default Markdown processor for live previews an export.
  • Syntax highlighting now utilizes cmark-gfm for better accuracy, especially with nested blocks.
  • HUDs have been replaced with a side bar.
  • Theming has been revamped to include more color options, but to exclude background images.
  • CSS for HTML Preview now adaptively changes colors based on the current theme.
  • Fonts can be customized for the HTML preview in the Preview Options dialog.
  • Themes are now composed of two color schemes: a light mode and a dark mode.
  • A new dark mode button in the status bar allows users to switch to the current theme's dark mode.
  • Find and replace dialog has been revamped into a panel at the bottom of the application.
  • Find and replace now supports highlighting all matches.
  • Export dialog now uses native file selector dialog.
  • Any two spaces at the end of a line are marked with dots by default.
  • Selected text now reveals tabs and spaces.
  • Source code has been refactored to follow KDE Frameworks and Qt coding style guides.
  • ghostwriter now uses React to update only what changed in the live preview since the last keystroke, significantly reducing the live preview rendering time for large documents.

Fixed

  • Issue #281: Removal of HUD windows will facilitate Alt+Tab switching.
  • Issue #382, #539: IME selection window/IBUS candidate window should no longer be displaced.
  • Issue #401: Single column tables are now highlighted.
  • Issue #439: README file was updated to remove the installation of qt5-default on Debian-based systems.
  • Issue #480: Menu bar is now accessible on relaunching ghostwriter in full screen mode.
  • Issue #494: MathJax JavaScript syntax error that was being printed to the terminal and which prevented inline math from being displayed with the $ sign has been fixed.
  • Issue #500: Preview Options dialog will now only open once.
  • Issue #507: Multilevel lists are highlighted correctly in the editor with the switch to cmark-gfm handling the syntax highlighting.
  • Issue #508: HUD windows have been replaced with a side bar for compatibility with Wayland.
  • Issue #517: README.md has been updated with correct instructions location for building on MacOS.
  • Issue #503: MathJax has now been included inside the application rather than fetching it externally.
  • Issue #532: Insert spaces for tabs now works on startup.
  • Issue #536: Added missing Markdown file extensions to file dialog filter when opening and saving files.

Removed

  • Discount support was removed due to its conflicting executable name with MultiMarkdown.

[1.8.1] - 2020-02-22

Fixed

  • Issue #443: MathJax 3.0 is now built into the HTML preview. Note that this feature works best with Pandoc and requires an Internet connection. Other Markdown processors are not currently supported.
  • Issue #447: Cursor is no longer shown when editor is not in focus.
  • Issue #461: Fixed Cheat Sheet to have correct image example.
  • Issue #471: HUD window styling is fixed for Qt 5.13.
  • Issue #472: Fixed typing paused timers for session statistics and for hiding HUD windows.
  • Discount is not listed as an available Markdown processor if MultiMarkdown is installed.
  • New application translations are available for the following languages:
    • Arabic
    • Dutch

[1.8.0] - 2019-04-28

Added

  • HTML preview has been ported from QtWebKit to QtWebEngine (Chromium).

Fixed

  • Issue #206: ghostwriter now has right-to-left language support.
  • Issue #391: mathml option for pandoc is now used to render math equations for preview and export.
  • Issue #411: Fixed crash when adding a new theme with no theme selected.
  • Issue #412: Fixed export to PDF (wkhtmltopdf) failure with Pandoc.
  • Issue #430: Fixed issue extra spaces appearing between <br/> tags in the HTML preview.
  • Removed print support, since it has some odd bugs on some platforms, and most users would want to print their exported content anyway.
  • Removed graphics fade effect for the bottom of the editor, as it is a risky feature that has caused bugs in the past and does not work on HiDPI screens.

[1.7.4] - 2018-11-11

Fixed

  • Issue #178: Only use --quiet option for Pandoc version 2 or greater.
  • Fixed words-per-minute calculations to not be jumpy or overly high.
  • Fixed issue where creating a new theme resulted in inconsistent selection and display of themes in the Theme Selection dialog.
  • Fixed broken icon when running under Wayland.
  • Fixed screenshots in appdata.
  • Issue #385: Updated resource files license to CC BY-SA 4.0.

[1.7.3] - 2018-08-11

Fixed

  • Issue #369: Fixed segfault that occurred when changing the theme or interface style after opening the Preview Options dialog.

[1.7.2] - 2018-07-28

Fixed

  • Fixed issue where the --quiet option was mistakenly used with older Pandoc versions that did not support its use.
  • Worked around Qt 5.11 qinstall bug where running qmake and make would fail when installing the translation files

[1.7.1] - 2018-07-21

Fixed

  • Fixed regression in full screen mode where menu bar was not showing on mouse-over.
  • Fixed regression where wrong theme was shown as selected on opening the Theme Selection dialog.
  • Fixed issue #366 where warnings from Pandoc that were resulting in error dialogs on successful export.
  • Fixed issue #292 where saving a document under Windows resulted in end-of-line characters being written as \n instead of \r\n.
  • Fixed issue #360 where a graphical glitch under MacOS disabled the Theme Selection dialog's remove theme button.

[1.7.0] - 2018-07-08

Added

  • Added light and dark built-in themes based on the community Ulysses III theme Plainstraction.
  • Live preview has been optimized to show the preview for typed characters immediately on smaller documents.
  • Added ODT and EPUB 3 as export options for MultiMarkdown 6.
  • Theme selection dialog now displays a grid instead of a list.

Fixed

  • The menu bar is now hidden again in full screen mode when the user presses Alt+Tab to switch to a different application.
  • Fixed issue #354 to disable hard line breaks for Pandoc's Github-flavored Markdown.
  • Worked around issue in Qt 5.11 where changing the theme causes the app to crash.
  • Worked around issue in Qt 5.10 where opening a new document with a document already loaded can cause the app to crash.

[1.6.2] - 2018-04-15

Fixed

  • Issue #315: Worked around slow load of QPrinter constructor in Fedora 27 by lazy loading the printer settings only when needed for printing or print preview rather than during application startup.
  • Fixed line break tokenizing to not include paragraph breaks.

[1.6.1] - 2018-04-08

Fixed

  • 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.

[1.6.0] - 2018-04-07

Added

  • 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.

Fixed

  • 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 compatibility 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 &gt;).
  • ghostwriter will now search in the mozilla-dicts installation location for dictionaries on OpenBSD.

[1.5.0] - 2017-05-13

Added

  • HUD windows can now be closed using the Esc key when they have focus.
  • A new option has been added to highlight double spaces at the end of a line.
  • Github-style task lists can now be made using the * and + bullet point characters, in addition to the - character.
  • Support for ConTeXt and wkhtmltopdf when exporting to PDF with Pandoc has been added.
  • Auto-matching characters for selected text now respects the existing preferences for the matching done while typing without text selected.
  • Typing a single quote (') will no longer result in a second quote being automatically inserted after the cursor if the cursor is positioned in the middle of a word.
  • Most settings have been moved into a new Preferences dialog to accommodate the ever increasing number of application options.
  • Font size can now be increased by pressing Ctrl+= or decreased by pressing Ctrl+-. It can also be changed by using Ctrl and the mouse wheel.
  • When exporting to other file formats, the output file will be opened after export with its default application.
  • E-books created using Pandoc will now also be generated with a table of contents.
  • When passing in a file path via the command line, a new file will be created with that path if it does not already exist.
  • When typing a * character, ghostwriter would auto-insert a second * character in anticipation of emphasized text. The auto-inserted second * will now be removed if a space is typed to accommodate a bullet list instead.
  • Rudimentary support for HiDPI has been added. See notes below.
  • Various performance enhancements and tweaks have been made under the hood.

Fixed

  • Issue #128: Hyphenated words are now considered one word for spell checking.
  • Issue #131: ghostwriter can now be built from its source tarball without needing git to be installed.
  • Issue #132: Linux desktop file now specifies that ghostwriter can open only one file from the command line rather than multiple files.
  • Issue #170: Ctrl+M now opens the HTML Preview instead of Ctrl+W. This is to avoid a conflict with closing windows in Linux.
  • Issue #219: Copy and paste no longer makes the word count jump.
  • Sundry minor fixes have been added.

[1.4.2] - 2016-08-24

Fixed

  • Issue #113: Full screen clock now displays time based on locale.
  • Issue #119: Null characters, which had been breaking the HTML preview, are no longer inserted when typing over selecting text.
  • Issue #121: Code fences are now correctly highlighted when they contain blank lines.
  • Issue #123: Statistics HUDs now have proper padding when alternating row colors is enabled.
  • Issue #125: The translations folder has been moved up one folder for the portable distribution of ghostwriter.
  • Sundry minor fixes have been added.

[1.4.1] - 2016-08-14

Fixed

  • Issue #115: Pressing backspace at the end of a line no longer deletes adjacent line breaks.
  • Issue #116: Renaming a theme no longer removes its background image.
  • Issue #107: Main window is now rendered correctly when transitioning between full screen mode and maximized. Main window also remembers its normal size upon being restored from maximized after having been in full screen mode previously.

[1.4.0] - 2016-07-23

Added

  • The time of day optionally displays in full screen mode.
  • The recent file history size has been increased to 10.
  • The menu bar will optionally auto-hide in full screen mode when the mouse is not hovering over it.
  • All new Hemingway mode button will disable backspace and delete keys.
  • Two new HUDs display statistical information on the current writing session and document.
  • Auto-matched characters can be customized.
  • High DPI scaling has been enabled for Qt 5.6 and above.
  • Classic Light and Classic Dark themes have new color palettes.
  • Various aesthetics have been added to the main window.
  • New application translations are available for the following languages:
    • German
    • Italian
    • Japanese
    • Portuguese (Brazil)
    • Russian

Fixed

  • Pandoc PDF export now has better defaults for margins and hyperlinks.
  • Shortcut keys using Alt now use Ctrl to avoid conflicts with OS shortcut keys and to better accommodate non-USA keyboards.
  • Dragging and dropping an image into the editor will now insert the image link at the mouse location.
  • Sundry other fixes have been added.

[1.3.1] - 2016-02-27

Added

  • Added a new Markdown cheat sheet HUD window.
  • Added proper English translation ts and qm files to support plurals.
  • Updated ghostwriter to select application translation to use based on OS locale.

Fixed

  • Fixed DPI scaling for HTML Preview and Quick Reference Guide.
  • Fixed Qt 5 API call that was causing ghostwriter to fail compilation under Qt 4.

[1.2.5] - 2015-12-13

Fixed

  • Fixed an issue where export of Markdown document using Pandoc or other command line tools failed when spaces were in the output file path.
  • Fixed an issue where numbered lists that were sublists to a bullet point list were not highlighted properly.

[1.2.4] - 2015-11-28

Fixed

  • Fixed an issue where anchor tags for headings inserted for HTML Preview were conflicting with Pandoc's heading anchor tags.

[1.2.3] - 2015-10-31

Fixed

  • Fixed an issue on Windows where UTF-8 encoding was not being detected on opening a file unless there was a BOM present. The application now defaults to UTF-8 when opening a file.

[1.2.2] - 2015-10-10

Fixed

  • Fixed an issue where spelling suggestions were not always displayed in the context menu if the menu key was pressed on the keyboard.

[1.2.1] - 2015-10-02

Fixed

  • Corrected a regression where the application stopped going to the last known cursor position upon opening a file.
  • Fixed an issue where the context menu was showing up in the wrong position on the screen when the user pressed the keyboard's menu key for a misspelled word.
  • Fixed an issue where spelling suggestions were not always being displayed in the context menu depending on which line in the text block the mouse was clicked.

[1.2.0] - 2015-09-27

Added

  • More intelligent list handling
  • New Format menu
  • Pipe table highlighting
  • GitHub mentions highlighting

Fixed

  • Sundry fixes have been added

[1.1.0] - 2015-09-06

Added

  • Export dialog now categorizes export options by Markdown processor.
  • Export dialog displays a checkbox option for smart typography.
  • Support for the latest Pandoc version's CommonMark input format option has been added both to the export dialog and to the HTML preview window.
  • Support for cmark has been added to the export dialog and HTML preview window. ghostwriter will automatically detect if cmark is installed (i.e., if its location is in the system's PATH environment variable).
  • Font dialog's combo box now shows fonts WYSIWYG-style.

Fixed

  • Word counting is more accurate and does not regard markup text as separate words.

[1.0.1] - 2015-08-29

Fixed

  • Internal enhancements to Markdown parsing class names, with comments added to the code.
  • Updated the .pro file to be able to get the software version number through git even if there are only unannotated tags.

[1.0.0] - 2015-08-22

Initial release. Happy birthday, ghostwriter!