Skip to content

Commit 15f59c1

Browse files
authored
Release 1.7 Beta 1 (#1064)
2 parents 304d122 + 9eaf240 commit 15f59c1

File tree

13 files changed

+147
-100
lines changed

13 files changed

+147
-100
lines changed

CHANGELOG.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,94 @@
11
# novelWriter Changelog
22

3+
## Version 1.7 Beta 1 [2022-05-17]
4+
5+
### Release Notes
6+
7+
This is a beta release of the next release version, and is intended for testing purposes. Please be
8+
careful when using this version on live writing projects, and make sure you take frequent backups.
9+
10+
Please check the changelog for an overview of changes. The full release notes will be added to the
11+
final release.
12+
13+
### Detailed Changelog
14+
15+
**Features**
16+
17+
* A simple tool to add Lorem Ipsum placeholder text has been added to the Insert menu. PR #1028.
18+
* Status and Importance flags can now be reorganised in Project Settings. Issue #1035. PR #1040.
19+
* It is now possible to create multiple Root Folders of the same kind. This makes it possible to
20+
add multiple Novel root folders in a project, for instance. Issue #967. PR #1031.
21+
* All documents can now be dragged and dropped anywhere in the project tree. The document layout
22+
may be converted in the process. PR #1031.
23+
* Documents in the project tree can now have other documents as child documents. Issue #1002.
24+
PR #1047.
25+
* Folders in the project tree that are not empty, can now be moved to trash. PR #1048.
26+
* Empty folders are deleted on request, and not moved to trash. Issue #1052. PR #1055.
27+
28+
**User Interface**
29+
30+
* The tabs under the project tree and to the right of the main window have been replaced with a
31+
toolbar on the left hand side. The toolbar has a set of buttons to change view between Project,
32+
Novel and Outline. The three buttons that were available under the project tree have been moved
33+
to the bottom of the new toolbar. Issue #1056. PR #1057.
34+
* When a document changes from a project document to a note, and back again, the Status flag
35+
setting is preserved. Previously, the Importance setting would overwrite it during the
36+
conversion. PR #1030.
37+
* Item labels, Status labels, and other labels on the GUI are now run through a "simplify" function
38+
before being accepted. This functions strips out all whitespaces and consecutive whitespaces and
39+
replace them with single plain whitespaces. This is a safer format to store in XML, and also
40+
makes sure there aren't invisible characters floating around in the labels. PR #1038.
41+
* Due to the changes to how drag and drop works, there are no longer any restrictions on folders
42+
and documents. Only root folders remain restricted in terms of moving. Root folders can only be
43+
reordered with the Move Up and Move Down commands. PR #1047.
44+
* The label for the highlighting of redundant spaces in the Preferences dialog has been updated to
45+
better reflect what it does. Issue #1043. PR #1046.
46+
* The New Project Wizard will now try to check if the path selected for the new project can
47+
actually be used before letting the user proceed to the next page. Issue #1058. PR #1062.
48+
49+
**Internationalisation**
50+
51+
* Dutch translations have been added by Martijn van der Kleijn (@mvdkleijn). PR #1027.
52+
53+
**Functionality**
54+
55+
* Documents that are missing in the project index when a project is opened are automatically
56+
re-indexed. This also handles cases where the cached index is missing. PR #1039.
57+
58+
**Installation and Packaging**
59+
60+
* Python 3.6 is no longer supported. PR #1004.
61+
* Ubuntu 18.04 packages will no longer be released, due to dropping Python 3.6. Issue #1005.
62+
PR #1014.
63+
64+
**Project File Format**
65+
66+
* The item nodes in the content section of the main project XML file have been compacted. It now
67+
consists of a main item node and meta and a name node. All settings have been made attributes of
68+
one of these three nodes, except the item label which is the text value of the name node. The
69+
file format version has been bumped to 1.4. Issue #995. PR #993.
70+
* Both Importance and Status flag values are now saved to the project file. This means if a
71+
document changes layout, the value is no longer lost. PR #1030.
72+
73+
**Code Improvements**
74+
75+
* The linting settings have been updated to select between mutually exclusive options in
76+
pycodestyle. PR #1014.
77+
* The Tokenizer class has been converted to an abstract base class. PR #1026.
78+
* The class handling Status and Importance flags has been completely rewritten. The flags are now
79+
handled using a unique random key as reference rather than relying on the text of the label
80+
itself. This makes it a lot easier to rename them as there is no need to update project items.
81+
PR #1034.
82+
* Many of the decisions regarding where items are allowed to belong has been delegated to the
83+
NWItem class that holds the item. Some is also handled by the NWTree class that holds the project
84+
tree. A new maintenance function in the NWTree class will also ensure that the meta data of an
85+
item is correct and up to date. This is especially important after an item has been moved, but is
86+
also checked when items are initially loaded. PRs #1031 and #1054.
87+
* Item handles are now generated using the standard library random number generator. The new
88+
handles have the same format as the old algorithm, so they are compatible. PR #1044.
89+
90+
----
91+
392
## Version 1.6.2 [2022-03-20]
493

594
### Release Notes

CREDITS.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111

1212
## Translations
1313

14+
The default language is English (UK) with English (US) as an option.
15+
16+
* Dutch: Martijn van der Kleijn (@mvdkleijn)
1417
* French: Jan Lüdke (@jyhelle)
18+
* Latin American Spanish: Tommy Marplatt (@tmarplatt)
1519
* Norwegian: Veronica Berglyd Olsen (@vkbo)
1620
* Portuguese: Bruno Meneguello (@bkmeneguello)
1721
* Simplified Chinese: Qianzhi Long (@longqzh)
18-
* Latin American Spanish: Tommy Marplatt (@tmarplatt)
19-
* Dutch: Martijn van der Kleijn (@mvdkleijn)
2022

2123
## Libraries
2224

@@ -32,7 +34,7 @@ The following libraries are dependencies of novelWriter:
3234

3335
Some of the assets bundled with novelWriter were adapted from the following sources:
3436

35-
* [Typicons](https://github.com/stephenhutchings/typicons.font) icons by Stephen Hutchings (CC BY-SA 4.0)
37+
* Typicons icons by [Stephen Hutchings](https://github.com/stephenhutchings/typicons.font) (CC BY-SA 4.0)
3638
* Tomorrow syntax themes by Chris Kempson (MIT License)
3739
* Owl syntax themes by Sarah Drasner (MIT License)
3840
* Solarized themes by Ethan Schoonover, added by @nullbasis (MIT License)

novelwriter/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
__author__ = "Veronica Berglyd Olsen"
6161
__maintainer__ = "Veronica Berglyd Olsen"
6262
__email__ = "[email protected]"
63-
__version__ = "1.7-alpha0"
64-
__hexversion__ = "0x010700a0"
65-
__date__ = "2022-02-20"
63+
__version__ = "1.7-beta1"
64+
__hexversion__ = "0x010700b1"
65+
__date__ = "2022-05-17"
6666
__status__ = "Stable"
6767
__domain__ = "novelwriter.io"
6868
__url__ = "https://novelwriter.io"

novelwriter/assets/text/release_notes.htm

Lines changed: 7 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,16 @@
22
<html>
33
<body>
44

5-
<h2>Release Notes for 1.6</h2>
6-
<p><i>Released on 20 February 2022</i></p>
5+
<h2>Release Notes for 1.7 Beta 1</h2>
6+
<p><i>Released on 17 May 2022</i></p>
77

8-
<p>This release does not introduce any major new features, but is instead a collection of minor
9-
improvements and tweaks based on user requests. There are also a number of changes under the hood
10-
to improve the structure and performance of novelWriter.</p>
11-
<p><u>Some key improvements to the user interface are:</u></p>
12-
<p>&#10003; The max text width setting in Preferences now also applies to the document viewer, and
13-
the setting itself on the Preference dialog has been simplified a bit.</p>
14-
<p>&#10003; When text is selected in the document editor, the number of words selected is displayed
15-
in the editor's footer area.</p>
16-
<p>&#10003; The search tool in the document editor now shows the number of results in the
17-
document.</p>
18-
<p>&#10003; The Enter and Ctrl+O keyboard shortcuts should now work the same way in all tree
19-
views.</p>
20-
<p>&#10003; It is now possible to set a blank section title format on the Build Novel Project tool
21-
and get empty paragraphs in the output. Previously, a blank format would just remove the section
22-
break entirely. This change allows the user to define hard and soft scene breaks using level three
23-
and four headings. The scene and section titles can be hidden completely with two new switches
24-
added to the user interface.</p>
25-
<p><u>Other feature changes include:</u></p>
26-
<p>&#10003; The project index is now automatically rebuilt in the event it is empty or incomplete
27-
when the project is opened.</p>
28-
<p>&#10003; The user can now add their own syntax and GUI theme files in the app folder in their
29-
user area on the host operating system. Where the custom files must be added is described in the
30-
documentation.</p>
31-
<p>&#10003; A Windows installer is yet again provided for novelWriter. If you have novelWriter
32-
installed using another method, make sure you uninstall it properly first as the two methods are
33-
not compatible.</p>
34-
<p>&#10003; Release versions for Ubuntu 21.04 have been dropped, and added for the upcoming Ubuntu
35-
22.04.</p>
36-
<p>&#10003; Most translations have been updated. A Dutch translation is in the works.</p>
8+
<p>This is a beta release of the next release version, and is intended for testing purposes. Please
9+
be careful when using this version on live writing projects, and make sure you take frequent
10+
backups.</p>
11+
<p>Please check the changelog for an overview of changes. The full release notes will be added to
12+
the final release.</p>
3713

3814
<p><i>See also the <a href="https://github.com/vkbo/novelWriter/releases">Releases</a> page.</i></p>
3915

40-
<h2>Patch Notes</h2>
41-
42-
<h3>Patch 1.6.1 &ndash; 16 March 2022</h3>
43-
44-
<p>This is a bugfix and patch release that fixes two recursion/loop issues. One would potentially
45-
cause a crash if the window was resized rapidly, and one would cause a hang with certain search
46-
parameters in the editor's search box. The Latin American Spanish translation has also been
47-
updated.</p>
48-
49-
<h3>Patch 1.6.2 &ndash; 20 March 2022</h3>
50-
51-
<p>This is a bugfix release that fixes a couple of minor issues. Projects containing one or more
52-
empty documents would trigger a rebuild of the index each time the project was opened. This has now
53-
been fixed. Another fix resolves an error message being written to the console logging output when
54-
a new document was created. Both errors were harmless.</p>
55-
5616
</body>
5717
</html>

novelwriter/dialogs/about.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,12 @@ def _fillAboutPage(self):
182182
self.tr("Translations"),
183183
self._wrapTable([
184184
("English", "Veronica Berglyd Olsen"),
185+
("Español Latinoamericano", "Tommy Marplatt"),
185186
("Français", "Jan Lüdke (jyhelle)"),
187+
("Nederlands", "Martijn van der Kleijn"),
186188
("Norsk Bokmål", "Veronica Berglyd Olsen"),
187189
("Português", "Bruno Meneguello"),
188190
("简体中文", "Qianzhi Long"),
189-
("Español Latinoamericano", "Tommy Marplatt"),
190-
("Nederlands", "Martijn van der Kleijn"),
191191
])
192192
)
193193

sample/content/636b6aa9b697b.nwd

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
@char: John
88
@location: Earth
99

10-
A scene is defined by a level three heading, like the one at the top of this page. The scene will be assigned to the chapter preceding it in the project tree.
10+
A scene is defined by a level three heading, like the one at the top of this page. The scene will be assigned to the chapter preceding it in the project tree. The scene document can be sorted after the chapter document, or as a child of the chapter. Both result in the same output in the end, so it is a matter of preference.
1111

1212
Each paragraph in the scene is separated by a blank line. The text supports minimal formatting, like **bold**, _italic_ and **_bold italic_**. You can also ~~strike through~~ text. There is **some support for _nested_ emphasis**, but there are some known limitations. If the syntax highlighter doesn’t show it correctly, the export tool will not either.
1313

14-
In addition, the editor supports automatic formatting of “quotes”, both double and ‘single’. Depending on the syntax highlighter, these can be in different colours. “You can of course use **bold** and _italic_ text inside of quotes too.”
14+
In addition, the editor supports automatic formatting of “quotes”, both double and ‘single’. Depending on the syntax highlighter settings and colour theme, these can be in different colours. “You can of course use **bold** and _italic_ text inside of quotes too.”
1515

16-
If you have the need for it, you can also add text that can be automatically replaced by other text when you generate a preview or export the project. Now, let’s auto-replace this A with <A>, and this C with <C>. While <E> is just <E>. Press Ctrl+R to see what this looks like in the view pane.
16+
If you have the need for it, you can also add text that can be automatically replaced by other text when you generate a preview or export the project. Now, let’s auto-replace this A with <A>, and this C with <C>. While <E> is just <E>. Press Ctrl+R to see what this looks like in the view pane. The list of auto-replaced text is sett in Project Settings.
1717

1818
The editor also supports non breaking spaces, and the spell checker accepts long dashes—like this—as valid word separators. Regular dashes are also supported – and can be automatically inserted when typing two hyphens.
1919

@@ -25,7 +25,7 @@ If you need to split a scene file up into further pieces, you can do so with the
2525

2626
Both scene and section titles can be left out of the final exported document. The formatting of titles can be selected from the Build Novel Project dialog. You can also have them replaced with scene separators like “* * *”.
2727

28-
#### Text Alignment
28+
#### Text Alignment and Indentation
2929

3030
The text by default will have the left or justified alignment in the main text files in your project. You can also specify alignment for a specific paragraph by “pushing” it away from an edge with a set of ‘>>’ or ‘<<’ symbols, like so:
3131

@@ -35,8 +35,6 @@ This text is left-aligned. <<
3535

3636
>> This text is centred. <<
3737

38-
#### Text Indent
39-
4038
You can indent a paragraph from both the left and right margin with ‘>’ and ‘<’ symbols.
4139

4240
> This paragraph is indented from both the left margin and the right margin. This is useful for when you want to quote a large chunk of text for instance. <

sample/content/6a2d6d5f4f401.nwd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%%~name: Chapter One
2-
%%~path: e7ded148d6e4a/6a2d6d5f4f401
2+
%%~path: 7031beac91f75/6a2d6d5f4f401
33
%%~kind: NOVEL/DOCUMENT
44
## So it Begins
55

66
@pov: Jane
77
@location: Earth
88

9-
% Synopsis: We can add a chapter file, but keep the scene files separate. In the chapter file we can set the meta data that applies to the whole chapter if we wish to.
9+
% Synopsis: We can add a chapter document, but keep the scene files separate. In the chapter document we can set the meta data that applies to the whole chapter if we wish to. You can add the scenes as child documents directly under the chapter.
1010

11-
A chapter can also contain leading text before the first scene.
11+
A chapter can contain leading text before the first scene, like this piece of text.

sample/content/8a5deb88c0e97.nwd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%%~name: Old File
22
%%~path: ae9bf3c3ea159/8a5deb88c0e97
3-
%%~kind: NOVEL/DOCUMENT
3+
%%~kind: ARCHIVE/DOCUMENT
44
### Discarded Scene
55

6-
If you have files you no longer want in your main project, you can move them to the “Archive” folder. This is equivalent to turning off the “Include when building project” switch, just that you also put the file away, although the switch can be ignored when building the project, this folder cannot.
6+
If you have files you no longer want in your main project, you can move them to the “Archive” folder. This is equivalent to turning off the “Include when building project” switch, just that you also put the file away.

sample/content/96b68994dfa3d.nwd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%%~name: A Note on Structure
2-
%%~path: e7ded148d6e4a/96b68994dfa3d
2+
%%~path: 7031beac91f75/96b68994dfa3d
33
%%~kind: NOVEL/NOTE
44
# A Note on Structure
55

66
This file is just a note. You can save notes anywhere you like in the project tree. Notes can be filtered out when you export the project.
77

8-
In root folders that isn’t the Novel root folder, you can _only_ add notes. In the Novel root folder, you can choose between a number of layouts. Some of them are just to let yourself know what each file is for.
8+
In root folders that aren’t the Novel or Archive root folders, you can _only_ add notes. In the Novel and Archive folder you can also add Project Documents, which are the documents that make up your actual story.
99

1010
## Headers in Notes
1111

@@ -15,8 +15,10 @@ Unlike in novel files, headers in notes have no particular meaning other than vi
1515

1616
The folders in the tree view have no structural meaning other than they’re a way for you to organise your files into groups in whatever way suits you. They are not intended to represent chapters, but you can of course use them for that. If you do, know that you still need to define chapter headers in your structure so novelWriter knows where you want them.
1717

18+
If you do have separate chapter documents, you can always add scene documents as child document of the chapter instead of using folders.
19+
1820
## Linking Files and Notes
1921

20-
You can link files and notes together by assigning tags to them, and then reference them from other files. The file class of a file determines which reference keywords apply to each file. For instance a file in the Characters root folder can be referenced using either the @char keyword or the @pov keyword.
22+
You can link project documents and notes together by assigning tags to the notes with the @tag keyword, and then reference them from other files using one of the many reference keywords. The file class of a file determines which reference keywords apply to each file. For instance a file in the Characters root folder can be referenced using either the @char keyword or the @pov keyword.
2123

2224
If you want to see the content of the file the reference points to, you can click Ctrl+Enter with the cursor on top of the reference, and the view pane will show you the file. In the view pane, all references are clickable, so you can navigate further. At the bottom of the view pane, a list of files referencing the one your viewing will appear. This panel updates when you navigate, unless you make it sticky by clicking the sticky checkbox.

sample/content/974e400180a99.nwd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
This is a plain page with some text on it.
88

9-
If you want the text to start on a fresh page, add the [NEW PAGE] code above the text. You can also add empty paragraphs with the [VSPACE] code.
9+
If you want the text to start on a fresh page, add the [NEW PAGE] code above the text. You can also add empty paragraphs with the [VSPACE] code. The above code adds two empty paragraphs before the text starts.

0 commit comments

Comments
 (0)