Veronica Berglyd Olsen
eee0f5e4c9
Include HTML docs in minimal installs ( #856 )
...
* Link to stable docs for stable release, otherwise latest docs
* Add build command to setup for making HTML docs
* Change the documentation menu entry to open either online or local HTML
* Update docs build instructions in docs
2021-08-18 00:13:28 +02:00
Veronica Berglyd Olsen
a9368904e5
GUI and code tweaks and fixes ( #852 )
...
* Improve format menu header descriptions
* Ensure that item status is parsed after item class from XML
* Fix column alignment in ToC.txt file
* Rename test variable and fix outdated docstring
* Fix ToC.txt underline
* Rename the Layout label on the item details panel
* Add option to emphasise H1 and H2 labels in the project tree
* Rename the main column of the novel tree to match project tree
* Use the same document icons in the outline as the project tree
* Move project tree settings to Project section of config file
2021-08-17 21:45:18 +02:00
Veronica Berglyd Olsen
f7c768bb91
Add project format documentation and popup box ( #855 )
...
* Add documentation of the various project file formats
* Add an info box for updating to project format 1.3
* Add information on how to access the documentation
* Add a note on file format and rename a few things
* Fix some typos
2021-08-17 20:06:26 +02:00
Veronica Berglyd Olsen
f2b93f90f7
Fix a typo and fix section naming in docs
2021-08-16 18:12:09 +02:00
Veronica Berglyd Olsen
7d5661443f
Improve Docs ( #851 )
...
* Split up the docs a bit more
* Improve documentation
2021-08-16 18:06:00 +02:00
Veronica Berglyd Olsen
460b350d85
Update docs and add menu entries for special titles ( #850 )
...
* Update Introduction chapter
* Update User Interface chapter
* Update Novel Projects chapter
* Update Novel Structure chapter
* Update Exporting Projects chapter
* Drop the asterisk notation for unnumbered chapters
* Add menu entries and tests for Novel Title and Unnumbered Chapter block formats
2021-08-15 23:30:11 +02:00
Veronica Berglyd Olsen
669f013c96
Fix issue with icons not updating when index is rebuilt ( #849 )
2021-08-15 21:40:45 +02:00
Veronica Berglyd Olsen
1bf584f9bf
Add [NEW PAGE] page and [VSPACE] to Insert menu ( #848 )
...
* Add menu entries for inserting new page and vspace codes
* Update tests
2021-08-15 18:58:49 +02:00
Veronica Berglyd Olsen
97aebc5b84
Update Project Tree ( #847 )
...
* Rename index textCounts to fileMeta and add main header level
* Add new icons for document layouts
* Add function in NWItem to describe the item
* Use the icons and description in the project tree and details panel
* Remove flags column and add status column with optional full text
* Update handling and display of header level in editor
* Fix potential bug in project tree
* Update tests
2021-08-15 17:55:57 +02:00
Veronica Berglyd Olsen
cf7cd5502c
Make PyQt5 minimum version requirement consistent ( #846 )
2021-08-15 10:21:37 +02:00
Veronica Berglyd Olsen
cf08ba1d39
ODT Export Fixes ( #843 )
...
* Fix issue with additional line breaks in ODT export
* Improve format handling in ToOdt, and remove some unused code
* Add test for tab in format
* Add class to write text formats to XML
* Simplify the XMLParagraph class a bit
* Correct a breach of ODT standard and add error checking
* Make some final corrections
2021-08-14 12:42:44 +02:00
Veronica Berglyd Olsen
c41e0efc73
Add a warning when opening novelWriter alpha version ( #844 )
2021-08-13 15:26:22 +02:00
Veronica Berglyd Olsen
bb1a778277
Merge Novel Layouts ( #837 )
...
* Merge novel layouts and simplify the Tokenizer class
* Fix core tests
* Delete auto-layout code
* Remove no longer needed item layouts
* Remove references to deleted item layouts in test
* Make some minor changes to Tokenizer class and update tests
* Update test reference files
* Update sample project
* Fix a few issues with the Tokenizer
* Centre some text in the sample documents
* Make some minor changes to how new projects are generated
* Add support for New Page and VSpace commands to the Tokenizer
* Remove Title and Page layouts and add codes for page break and vertical space
* Add document layout and fix some issues in index class with new title formats
* Update tests and reference files
* Bump the project file version and fix a minor issue in items class
* Update tests and test coverage
* Clean up some warnings and issues in tests
2021-08-02 23:44:35 +02:00
Veronica Berglyd Olsen
c6973043e6
Index Updates ( #840 )
...
* Improve the index keyword checker function
* Implement a more compact indented JSON encoder
* Remove timestamp from reference, novel and note indices
* Remove empty entries in reference index
* Merge novel and note indices into a single file index
2021-08-01 18:19:03 +02:00
Veronica Berglyd Olsen
e5c715695e
Config class improvements ( #826 )
...
* Subclass ConfigParser
* Remove redundant variables and update tests
* Update file description
* Move NWConfigParser class to common.py
* Improve coverage of config class
* Use NWConfigParser also in themes.py
* Update config class file header
* Fix comment
* Update the usage of ConfigParser to recommended practice and extend tests
* Improve logging for info level a bit
2021-07-28 00:10:15 +02:00
Veronica Berglyd Olsen
e92506dc07
Bump version to 1.5-alpha0 for next release cycle
2021-07-28 00:05:42 +02:00
Veronica Berglyd Olsen
62344376d7
Bump version to 1.4.1, and update changelog and release notes
2021-07-27 23:46:15 +02:00
Veronica Berglyd Olsen
8cf96c3102
Make a clarification in the changelog
2021-07-27 23:31:04 +02:00
Veronica Berglyd Olsen
16fa8679d0
Bump version to 1.4 final, and update changelog and release notes
2021-07-27 23:30:44 +02:00
Veronica Berglyd Olsen
b517276156
Fix layout margins and z-order of some dialogs ( #834 )
...
* Fix layout margins on paged dialogs
* Make sure non-modal dialogs are only shown once and are on top
2021-07-26 16:40:20 +02:00
Veronica Berglyd Olsen
732450e163
Add CREDITS file and update README ( #833 )
...
* Add CREDITS file and update README
* Fix typo and add note in Libraries section of CREDITS
2021-07-25 16:50:12 +02:00
Veronica Berglyd Olsen
df8e3dd82b
Update Contributing Guide ( #832 )
...
* Update Contributing Guide
* Minor improvements to README and CONTRIBUTING
2021-07-17 17:27:38 +02:00
Veronica Berglyd Olsen and jyhelle
75ddafd31d
Update French translation ( #829 )
...
Co-authored-by: jyhelle <47108022+jyhelle@users.noreply.github.com >
2021-07-13 21:51:30 +02:00
Veronica Berglyd Olsen
4f38a8d16c
Update the formatting section of the README ( #828 )
...
* Update the formatting section of the readme
* Use sup tags for footnotes in readme
2021-07-13 16:13:03 +02:00
Veronica Berglyd Olsen
35746103c7
i18n: Update en_US and nb_NO ( #825 )
...
* Update US English translation file
* Update Norwegian translation file
2021-07-13 15:37:24 +02:00
Veronica Berglyd Olsen
fb5347b8e4
Change the branching model ( #827 )
...
* Update workflows and add requirements-dev.txt
* Remove codecov from dev requirements
* Update readme and contributing guide
* Update PR template
2021-07-13 15:34:10 +02:00
Veronica Berglyd Olsen
6890b278ea
Release 1.4 RC 1 ( #824 )
...
* Bump version to 1.4 RC 1
* Update changelog and release notes
2021-07-12 20:52:35 +02:00
Veronica Berglyd Olsen
9f667a0b35
Update code style to new standard
2021-07-05 16:28:44 +02:00
Veronica Berglyd Olsen
36be7b0b33
Test Coverage of the Editor ( #787 )
...
* Drop the _qDocument class variables
* Split up the current doceditor test file
* Add tests for editor init, load and save
* Add tests for editor meta functions and actions
* Add tests for editor insert functions
* Add tests for editor text manipulation and block formatting
* Fix code style
* Add text coverage for alignment and indent
2021-07-05 16:10:52 +02:00
Veronica Berglyd Olsen
1d16cc2a03
Move the coding of angle brackets in HTML to the innermost function in the chain ( #821 )
2021-07-04 18:05:26 +02:00
Veronica Berglyd Olsen
72fd2990e7
Merge branch 'main' into dev
2021-07-04 17:58:53 +02:00
Veronica Berglyd Olsen
6d7ca2bb86
Cleanup ( #820 )
...
* Update instructions and readmes
* Cleanup in base files
* Cleanup in core files
* Cleanup in gui files
* Cleanup in dialog files
* Cleanup in tools files
* Cleanup in test files
2021-07-04 17:57:54 +02:00
Veronica Berglyd Olsen
f10a8f9589
Update PR template
2021-07-04 17:56:40 +02:00
Veronica Berglyd Olsen
1881b3d32c
Merge branch 'main' into dev
2021-07-02 10:25:56 +02:00
Veronica Berglyd Olsen
1b89d0a4f0
Logger messages ( #818 )
...
* Change the way logger messages are generated by using the printf-like method
* Use single quotes around log values that can be empty strings
* Fix bug in log message
2021-07-02 10:22:00 +02:00
Veronica Berglyd Olsen
50498a7462
Merge pull request #819 from vkbo/update_guides
...
Update guides
2021-07-01 20:28:41 +02:00
Veronica Berglyd Olsen
ecd190987e
Add a pull request template
2021-07-01 20:23:21 +02:00
Veronica Berglyd Olsen
2c000f6808
Update contributing guide and i18n readme
2021-07-01 20:23:09 +02:00
Veronica Berglyd Olsen
c472e40b2b
Fix workflow
2021-06-25 23:28:38 +02:00
Veronica Berglyd Olsen
0575f89ae9
Remove alignments in arguments for format statements
2021-06-25 23:20:15 +02:00
Veronica Berglyd Olsen
e1dcfaa1e3
Drop dictionary alignment by colon
2021-06-25 23:14:13 +02:00
Veronica Berglyd Olsen
486af84107
Merge pull request #816 from vkbo/style
...
Style
2021-06-25 21:56:03 +02:00
Veronica Berglyd Olsen
8acbd8b978
Update contributing guide with new restrictions
2021-06-25 21:48:50 +02:00
Veronica Berglyd Olsen
7f9180e356
Update workflow
2021-06-25 21:39:24 +02:00
Veronica Berglyd Olsen
26912f226f
Add double space before in-line comments
2021-06-25 21:36:52 +02:00
Veronica Berglyd Olsen
0c286231cc
Remove multiple hashes before comments
2021-06-25 21:11:25 +02:00
Veronica Berglyd Olsen
991a61f2f6
Remove encoding line and add spaces between classes and functions, tests
2021-06-25 21:04:48 +02:00
Veronica Berglyd Olsen
edfd7c9770
Remove encoding line and add spaces between classes and functions
2021-06-25 20:53:33 +02:00
Veronica Berglyd Olsen
ad62faaeea
Fix broken links in docs
2021-06-13 20:03:53 +02:00
Veronica Berglyd Olsen
468903bbeb
Merge pull request #812 from vkbo/release_1.4beta1
...
Release 1.4 Beta 1
2021-06-13 20:01:03 +02:00
Veronica Berglyd Olsen
0723f44dc3
Update changelog and release notes
2021-06-13 19:56:16 +02:00
Veronica Berglyd Olsen
831bdabfc6
Bumped version to 1.4-beta1
2021-06-13 19:12:10 +02:00
Veronica Berglyd Olsen
93a3eed530
Merge pull request #804 from vkbo/text_align
...
Text alignment and indent
2021-06-13 19:10:15 +02:00
Veronica Berglyd Olsen
307a52e7f4
Update documentation
2021-06-13 19:07:36 +02:00
Veronica Berglyd Olsen
3246f4bfcc
Add tests for the menu functions
2021-06-13 18:46:35 +02:00
Veronica Berglyd Olsen
fa4f4a8db4
Make the comment format action a toggle feature
2021-06-13 18:32:11 +02:00
Veronica Berglyd Olsen
cb797fe903
Add menu entries for align and indent
2021-06-13 18:28:23 +02:00
Veronica Berglyd Olsen
618461b1ff
Merge branch 'dev' into text_align
2021-06-13 17:59:47 +02:00
Veronica Berglyd Olsen
e2f08d3c76
Merge branch 'main' into dev
2021-06-13 17:58:49 +02:00
Veronica Berglyd Olsen
f39cda729d
Merge pull request #811 from vkbo/release_1.3.3
...
Release 1.3.3
2021-06-13 17:13:54 +02:00
Veronica Berglyd Olsen
b28d826d76
Updated changelog and release notes
2021-06-13 17:11:19 +02:00
Veronica Berglyd Olsen
57ae559723
Merge pull request #810 from vkbo/wcount_when_delete
...
Update project word count when a file is permanently deleted
2021-06-13 16:57:31 +02:00
Veronica Berglyd Olsen
1d1be18689
Bumped version to 1.3.3
2021-06-13 16:56:29 +02:00
Veronica Berglyd Olsen
141b5eb776
Update project word count when a file is permanently deleted
2021-06-13 16:53:40 +02:00
Veronica Berglyd Olsen
3f941bf9fd
Merge branch 'dev' into text_align
2021-06-11 00:11:40 +02:00
Veronica Berglyd Olsen
a48f302531
Merge branch 'main' into dev
2021-06-11 00:11:19 +02:00
Veronica Berglyd Olsen
12d8872973
Merge pull request #809 from vkbo/item_tags
...
Make XML parser for items less picky
2021-06-11 00:10:46 +02:00
Veronica Berglyd Olsen
40ff865989
Make XML parser for items less picky
2021-06-11 00:01:58 +02:00
Veronica Berglyd Olsen
32e9c10702
Fix word counter for align and indent tags
2021-06-10 23:38:11 +02:00
Veronica Berglyd Olsen
804dd3bb7c
Merge branch 'dev' into text_align
2021-06-10 22:52:47 +02:00
Veronica Berglyd Olsen
9f2e3a66cd
Merge branch 'main' into dev
2021-06-10 22:51:45 +02:00
Veronica Berglyd Olsen
960d1967a3
Merge pull request #808 from vkbo/focus_keys
...
Focus keys
2021-06-10 22:45:18 +02:00
Veronica Berglyd Olsen
ad025c3fe4
Merge branch 'main' into focus_keys
2021-06-10 22:42:40 +02:00
Veronica Berglyd Olsen
81212a108e
Merge pull request #807 from vkbo/setup_win_encoding
...
Make the extractVersion function in setup a bit more robust
2021-06-10 22:42:30 +02:00
Veronica Berglyd Olsen
8637a4eb12
Merge branch 'main' into focus_keys
2021-06-10 22:35:55 +02:00
Veronica Berglyd Olsen
0e4489d627
Merge branch 'main' into setup_win_encoding
2021-06-10 22:33:04 +02:00
Veronica Berglyd Olsen
0bfb9d0700
Update docs
2021-06-10 22:18:51 +02:00
Veronica Berglyd Olsen
efe759b94e
Change focus shortcuts on Window as they conflict with alt codes
2021-06-10 22:16:06 +02:00
Veronica Berglyd Olsen
9f89c1f7a4
Merge pull request #806 from vkbo/cleanup_alerts
...
Fix translations and refactor makeAlert calls
2021-06-10 22:10:32 +02:00
Veronica Berglyd Olsen
530d92cc3f
Make the extractVersion function in setup a bit more robust
2021-06-10 22:08:26 +02:00
Veronica Berglyd Olsen
b0225515d2
Remove isinstance check in error reporting
2021-06-10 21:55:40 +02:00
Veronica Berglyd Olsen
d511c69ee7
Rewrap some alert messages
2021-06-10 21:51:52 +02:00
Veronica Berglyd Olsen
6e1e40f13e
Fix translations and refactor makeAlert calls
2021-06-10 21:42:40 +02:00
Veronica Berglyd Olsen
70d3ee07bf
Update sample project
2021-06-10 21:39:58 +02:00
Veronica Berglyd Olsen
e5477f314e
Add support for indented paragraphs in exports
2021-06-10 21:38:58 +02:00
Veronica Berglyd Olsen
80c4826253
Added left/right indentation to Tokenizer class
2021-06-10 00:04:54 +02:00
Veronica Berglyd Olsen
e0de3ff191
Improve test coverage
2021-06-09 23:40:37 +02:00
Veronica Berglyd Olsen
239cff3dee
Fix tests
2021-06-09 23:32:22 +02:00
Veronica Berglyd Olsen
6f9e3168b0
Fix default alignment
2021-06-09 23:05:16 +02:00
Veronica Berglyd Olsen
7d067f807d
Add text alignment tags
2021-06-09 22:08:31 +02:00
Veronica Berglyd Olsen
a7b43699ed
Merge pull request #802 from teymour-aldridge/patch-1
...
Remove redundant assignment.
2021-06-09 19:46:48 +02:00
Veronica Berglyd Olsen
904ba9b1ca
Merge branch 'main' into dev
2021-05-30 12:27:30 +02:00
Veronica Berglyd Olsen
616fe35ed5
Merge pull request #797 from vkbo/release_1.3.2
...
Release 1.3.2
2021-05-30 12:17:58 +02:00
Veronica Berglyd Olsen
577a3c6c6a
Bump version to 1.3.2 and update changelog
2021-05-30 12:14:41 +02:00
Veronica Berglyd Olsen
e937267eb0
Merge pull request #796 from vkbo/split_tool
...
Fix split tool dropping last line (#795 )
2021-05-30 11:58:28 +02:00
Veronica Berglyd Olsen
2c1e1b94e7
Fix split tool dropping last line ( #795 )
2021-05-30 11:55:56 +02:00
Veronica Berglyd Olsen
60736ce04c
Update readme
2021-05-25 19:23:34 +02:00
Veronica Berglyd Olsen
03daa350f8
Merge branch 'main' into dev
2021-05-23 16:37:24 +02:00
Veronica Berglyd Olsen
095cc38122
Merge pull request #786 from vkbo/allow_line_breaks
...
Allow line breaks
2021-05-23 16:35:09 +02:00
Veronica Berglyd Olsen
142d659b70
Fix an issue with markdown export
2021-05-23 16:31:06 +02:00