Release 2.0.5 (#1356)

This commit is contained in:
Veronica Berglyd Olsen
2023-02-12 16:10:48 +01:00
committed by GitHub
5 changed files with 89 additions and 19 deletions
+71 -13
View File
@@ -1,5 +1,63 @@
# 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. 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
**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.
* 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**
* 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.
* 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**
* 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 +69,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 +90,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 +110,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 +141,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 +163,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 +306,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 +444,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
+3 -3
View File
@@ -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"
+12
View File
@@ -114,5 +114,17 @@ dialog box, replacing the Credits section on the main About tab.</p>
<p>This is a patch release that fixes a bug where novelWriter would crash if PyQt5 version 5.15.8
was installed and imported.</p>
<h3>Patch 2.0.5 &ndash; 12 February 2023</h3>
<p>This is a patch release that fixes a number of minor bugs and usability issues.</p>
<p>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.</p>
<p>An Italian translation has been added, and Russian is currently available for project builds. A
full translation into Russian is on its way.</p>
</body>
</html>
+2 -2
View File
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<novelWriterXML appVersion="2.0.4" hexVersion="0x020004f0" fileVersion="1.5" timeStamp="2023-01-29 02:33:40">
<project id="e2be99af-f9bf-4403-857a-c3d1ac25abea" saveCount="1468" autoCount="237" editTime="74401">
<novelWriterXML appVersion="2.0.5" hexVersion="0x020005f0" fileVersion="1.5" timeStamp="2023-02-12 16:02:30">
<project id="e2be99af-f9bf-4403-857a-c3d1ac25abea" saveCount="1471" autoCount="237" editTime="74437">
<name>Sample Project</name>
<title>Sample Project</title>
<author>Jane Smith</author>
+1 -1
View File
@@ -27,7 +27,7 @@ from pathlib import Path
from PyQt5.QtWidgets import qApp
XML_IGNORE = ("<novelWriterXML", "<project")
ODT_IGNORE = ("<meta:creation-date", "<dc:date")
ODT_IGNORE = ("<meta:generator", "<meta:creation-date", "<dc:date")
class C: