From 6ed7c6f5a76a8ff5aa23f1255c4327c3d95fc5d6 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Fri, 10 Feb 2023 21:50:10 +0100 Subject: [PATCH 1/3] Update version and changelog --- CHANGELOG.md | 66 +++++++++++++++++++++++++++++++++-------- novelwriter/__init__.py | 6 ++-- sample/nwProject.nwx | 4 +-- 3 files changed, 58 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd8bae1a..906787ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,45 @@ # novelWriter Changelog +## Version 2.0.5 [2023-02-12] + +### Release Notes + +This is a patch release that fixes a number of minor bugs and usability issues. The Project Details +dialog now properly updates when another project is opened, and the "Total editing time" value has +a less ambiguous time format. The editor no longer inserts blank lines if block formats are applied +to an empty line. The optional last column in the Novel Tree will now show all items of the +selected type, not only the first, and the column size can be adjusted from the same menu where the +column content is selected. + +### Detailed Changelog + +**Bugfixes** + +* Fixed an issue where the Title, Project Name and Author values of the Project Dialog would not + refresh when a project was closed and another opened. The issue is with the Qt library and + caching of the dialog, but novelWriter forces a refresh of the labels. These three were + previously missing though. Issue #1336. PR #1339. +* Add a check to the data storage class that a path exists before it is returned to other classes + that uses them for file I/O. Issue #1317. PR #1342. + +**Usability Fixes** + +* The "Total editing time" label on the Project Details dialog now uses the same time format as the + status bar. That is, HH:MM:SS for times less than 24 hours, and D-HH:MM:SS for times from 24 + hours and above. Issue #1335. PR #1339. +* Fixed an issue where applying block formatting to an empty line would insert a blank line before + it. This is a consequence of the change from #1175. The line break is now only added if the line + is _not_ blank. Issues #1349 and #1350. PR #1354. +* The optional third column in the Novel Tree now shows all references for the selected category + instead of just the first one. The maximum width of the column can also be selected from the + Novel Tree config menu. Issue #1351. PR #1355. + +**Packaging** + +* Added App Bundle and DMG packages for MacOS. Contributed by @Ryex. PRs #1276 and #1340. + +---- + ## Version 2.0.4 [2023-01-29] ### Release Notes @@ -11,8 +51,8 @@ installed and imported. **Bugfixes** -* Fix an issue with the version check against PyQt5, which was imported from the wrong package when - running novelWriter with PyQt5 version 5.15.8, released 2023-01-28. Issue #1324. PR #1325. +* Fixed an issue with the version check against PyQt5, which was imported from the wrong package + when running novelWriter with PyQt5 version 5.15.8, released 2023-01-28. Issue #1324. PR #1325. ---- @@ -32,15 +72,15 @@ dialog box, replacing the Credits section on the main About tab. **Bugfixes** -* Fix an issue with one of the active icons for the project tree. The SVG paths were not properly +* Fixed an issue with one of the active icons for the project tree. The SVG paths were not properly joined. Issue #1297. PR #1299. -* Fix an issue where the new open project routine for 2.0 would not check that a project exists +* Fixed an issue where the new open project routine for 2.0 would not check that a project exists before trying to open it. This resulted in the open process creating all the expected folders in the designated location before realising there was no project there. Issue #1300. PR #1301. -* Fix an issue with the convert folder to document or note functionality was no longer working. The - context menu entries were actually just calling the function for converting a file. Issue #1305. - PR #1306. -* Fix an issue where the app may crash if an item is added as a child of an item that exists, but +* Fixed an issue with the convert folder to document or note functionality was no longer working. + The context menu entries were actually just calling the function for converting a file. + Issue #1305. PR #1306. +* Fixed an issue where the app may crash if an item is added as a child of an item that exists, but has invalid settings such that it is rejected by the project tree builder function when the project is opened. Now, only items with a parent item that has already been added will be allowed into the project tree. The issue was caused by an invalid project file, and is not likely to @@ -52,7 +92,7 @@ dialog box, replacing the Credits section on the main About tab. * The CREDITS.md file has been updated, and its content is now also available in a "Credits" tab in the About dialog in the app. The old credits section of the "About" tab has been removed. PR #1298. -* Fix a usability issue where double-clicking an entry in the Outline that belongs to a document +* Fixed a usability issue where double-clicking an entry in the Outline that belongs to a document that is already open in the editor does nothing. Now, the app switches view to the editor when the heading is clicked. Issue #1291. PR #1306. * Change how the editing of status and importance labels work in Project Settings. The form at the @@ -83,7 +123,7 @@ highlighting preferences were changed. It also fixes an issue that broke the Fre **Bugfixes** -* Fix an issue where changing the Highlighting Preferences for highlighting quotes, emphasis, and +* Fixed an issue where changing the Highlighting Preferences for highlighting quotes, emphasis, and multiple or trailing spaces would not reload the syntax highlighter in the editor. The changes would only take effect after restarting the app. Issue #1274. PR #1278. @@ -105,7 +145,7 @@ updated to include the icon theme setting. The patch also updates the French tra **Bugfixes** -* Fix an issue where starting the app with a custom GUI theme enabled would not load any icons at +* Fixed an issue where starting the app with a custom GUI theme enabled would not load any icons at all if the `icontheme` setting isn't specified. The app now loads the `typicons_light` theme by default if no icon theme is set. Issue #1263. PR #1264. @@ -248,7 +288,7 @@ _These Release Notes also include the changes from 2.0 pre-releases._ **Code Improvements** -* Fix an issue with circular imports mainly triggered from the test suite. PR #1166. +* Fixed an issue with circular imports mainly triggered from the test suite. PR #1166. * Instead of assigning headers in a document a key by its line number, the headings are now assigned sequential keys. This makes it easier to detect actual meta data changes, which would otherwise be triggered by a change of line number as well. PR #1241. @@ -386,7 +426,7 @@ Interface. PR #1146. **Bugfixes** -* Fix a typo in the Lorem Ipsum tool and set a max width for the views bar. PR #1065. +* Fixed a typo in the Lorem Ipsum tool and set a max width for the views bar. PR #1065. * The language set in the Build Tool is now properly exported to Open Document files. Previously, it would be set to English regardless of the user's selection. Issue #1073. PR #1077. * Since the text editor cursor extends to the right of its position in the window, it would diff --git a/novelwriter/__init__.py b/novelwriter/__init__.py index b1621a76..e330d5ab 100644 --- a/novelwriter/__init__.py +++ b/novelwriter/__init__.py @@ -59,9 +59,9 @@ __license__ = "GPLv3" __author__ = "Veronica Berglyd Olsen" __maintainer__ = "Veronica Berglyd Olsen" __email__ = "code@vkbo.net" -__version__ = "2.0.4" -__hexversion__ = "0x020004f0" -__date__ = "2023-01-29" +__version__ = "2.0.5" +__hexversion__ = "0x020005f0" +__date__ = "2023-02-12" __status__ = "Stable" __domain__ = "novelwriter.io" __url__ = "https://novelwriter.io" diff --git a/sample/nwProject.nwx b/sample/nwProject.nwx index 95b57f16..8e735bdc 100644 --- a/sample/nwProject.nwx +++ b/sample/nwProject.nwx @@ -1,6 +1,6 @@ - - + + Sample Project Sample Project Jane Smith From c4fd25ba568297823c0f617d77904cfd7114b201 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 12 Feb 2023 16:03:43 +0100 Subject: [PATCH 2/3] Update changelog and release notes --- CHANGELOG.md | 30 ++++++++++++++++++----- novelwriter/assets/text/release_notes.htm | 12 +++++++++ sample/nwProject.nwx | 4 +-- 3 files changed, 38 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 906787ec..9913126e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,17 @@ ### Release Notes -This is a patch release that fixes a number of minor bugs and usability issues. The Project Details -dialog now properly updates when another project is opened, and the "Total editing time" value has -a less ambiguous time format. The editor no longer inserts blank lines if block formats are applied -to an empty line. The optional last column in the Novel Tree will now show all items of the -selected type, not only the first, and the column size can be adjusted from the same menu where the -column content is selected. +This is a patch release that fixes a number of minor bugs and usability issues. + +The Project Details dialog now properly updates when another project is opened, and the "Total +editing time" value has a less ambiguous time format. The editor no longer inserts blank lines if +block formats are applied to an empty line. The optional last column in the Novel Tree will now +show all items of the selected type, not only the first, and the column size can be adjusted from +the same menu where the column content is selected. The Open Document build output has been updated +to ODF 1.3 extended format, and passes validation. + +An Italian translation has been added, and Russian is currently available for project builds. A +full translation into Russian is on its way. ### Detailed Changelog @@ -21,6 +26,8 @@ column content is selected. previously missing though. Issue #1336. PR #1339. * Add a check to the data storage class that a path exists before it is returned to other classes that uses them for file I/O. Issue #1317. PR #1342. +* Fixed some issues with the Open Document build format as the produced document wasn't compliant + with the standard. It is now compliant with ODF 1.3 extended format. Issue #1359. PR #1360. **Usability Fixes** @@ -33,6 +40,17 @@ column content is selected. * The optional third column in the Novel Tree now shows all references for the selected category instead of just the first one. The maximum width of the column can also be selected from the Novel Tree config menu. Issue #1351. PR #1355. +* The Open Document produced by the build tool now has the necessary title and author meta data set + so that it can be used in LibreOffice. Other meta data has also been added. Issue #1359. + PR #1360. + +**Internationalisation** + +* Existing translations for US English, Norwegian, Brazilian Portuguese, Latin American Spanish, + and German have been updated. French and Dutch are partially updated. PR #1341. +* Russian project variables have been added. Full translation is forthcoming. Contributed by + Aleksey (@SKYnv). PR #1341. +* A complete Italian translation has been added. Contributed by Riccardo Mangili. PR #1341. **Packaging** diff --git a/novelwriter/assets/text/release_notes.htm b/novelwriter/assets/text/release_notes.htm index 6f8d0bd0..984fe27b 100644 --- a/novelwriter/assets/text/release_notes.htm +++ b/novelwriter/assets/text/release_notes.htm @@ -114,5 +114,17 @@ dialog box, replacing the Credits section on the main About tab.

This is a patch release that fixes a bug where novelWriter would crash if PyQt5 version 5.15.8 was installed and imported.

+

Patch 2.0.5 – 12 February 2023

+ +

This is a patch release that fixes a number of minor bugs and usability issues.

+

The Project Details dialog now properly updates when another project is opened, and the "Total +editing time" value has a less ambiguous time format. The editor no longer inserts blank lines if +block formats are applied to an empty line. The optional last column in the Novel Tree will now +show all items of the selected type, not only the first, and the column size can be adjusted from +the same menu where the column content is selected. The Open Document build output has been updated +to ODF 1.3 extended format, and passes validation.

+

An Italian translation has been added, and Russian is currently available for project builds. A +full translation into Russian is on its way.

+ diff --git a/sample/nwProject.nwx b/sample/nwProject.nwx index 8e735bdc..feb7e7b0 100644 --- a/sample/nwProject.nwx +++ b/sample/nwProject.nwx @@ -1,6 +1,6 @@ - - + + Sample Project Sample Project Jane Smith From c42f2e755ce0ac1ae7b5908afdd43122cdfbe9bd Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 12 Feb 2023 16:07:36 +0100 Subject: [PATCH 3/3] Make ODT tests ignore version number --- tests/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tools.py b/tests/tools.py index dd6443fd..a9933bc4 100644 --- a/tests/tools.py +++ b/tests/tools.py @@ -27,7 +27,7 @@ from pathlib import Path from PyQt5.QtWidgets import qApp XML_IGNORE = ("