Veronica Berglyd Olsen
1fb9648c6c
Drop grey icon themes ( #869 )
...
* Add settings translator for icon themes
* Rename `typicons_colour_*` to `typicons_*`
* Delete grey icon themes
* Delete outdated paragraph in main README
* Fix tests
2021-08-26 18:01:52 +02:00
Veronica Berglyd Olsen
3403d98c72
Rename package from 'nw' to 'novelwriter' ( #868 )
...
* Rename nw folder to novelwriter
* Rename nw to novelwriter in auxiliary files
* Rename nw to novelwriter in main app source
* Rename nw to novelwriter in tests
* Make setup script for pdf docs less spammy
2021-08-26 17:33:54 +02:00
Veronica Berglyd Olsen
b5e52b80a3
Add a "Check for Updates" dialog ( #863 )
...
* Add basic dialog for Updates check
* Add GitHub API call and processing
* Finalise the update dialog
* Improve test coverage
2021-08-22 14:33: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
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
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
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
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
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
3246f4bfcc
Add tests for the menu functions
2021-06-13 18:46:35 +02:00
Veronica Berglyd Olsen
0826a2f8a3
Remove trailing space highlight and add highlight of redundant spaces
2021-05-23 16:17:05 +02:00
Veronica Berglyd Olsen
2314777b4b
Add test coverage
2021-05-23 15:04:26 +02:00
Veronica Berglyd Olsen
f1adff82a8
Remove hard line break menu entry
2021-05-23 13:13:03 +02:00
Veronica K. B. Olsen
c6120fcf7c
Make some GuiDocViewer variables private
2021-05-17 16:57:49 +02:00
Veronica K. B. Olsen
ba5e5f4bb5
Make GuiDocEditor variables private
2021-05-15 23:57:31 +02:00
Veronica K. B. Olsen
6c79a1daba
Test terminology update
2021-05-02 17:48:28 +02:00
Veronica K. B. Olsen
b698ccbc1d
Move qutae symbol dialog source file to the dialogs folder
2021-04-23 21:49:20 +02:00
Veronica K. B. Olsen
03a80beebe
Move tools source files to their own folder
2021-04-23 21:34:45 +02:00
Veronica K. B. Olsen
1c072e9f32
Move dialog source files to their own folder
2021-04-23 21:24:09 +02:00
Veronica K. B. Olsen
820e6fcfa3
Update tests
2021-03-28 17:15:35 +02:00
Veronica K. B. Olsen
90871d5859
Merge branch 'main' into testing
2021-03-28 15:23:02 +02:00
Veronica K. B. Olsen
74910a6b56
Use an enum for switching focus instead of hard coded numbers
2021-03-22 18:57:57 +01:00
Veronica K. B. Olsen
5ab32326c1
Update tests
2021-03-22 18:39:25 +01:00
Veronica K. B. Olsen
b63449bffd
Merge branch 'main' into testing
2021-03-17 17:25:00 +01:00
Veronica K. B. Olsen
c374534d9e
Fix test
2021-03-17 16:43:51 +01:00
Veronica K. B. Olsen
a172c4b725
Move quote symbols to new Preferences tab
2021-03-14 14:32:05 +01:00
Veronica K. B. Olsen
de57d0b027
Merge branch 'main' into dev
2021-03-13 17:00:07 +01:00
Veronica K. B. Olsen
065e3828b1
Update test and always ask before moving to trash
2021-03-09 11:02:44 +01:00
Veronica K. B. Olsen
bc0f3e343b
Merge branch 'dev' into projsettings_update
2021-02-27 17:02:23 +01:00
Veronica K. B. Olsen
d3eabd8d8f
Fix test and revealed bug in main code
2021-02-27 17:00:17 +01:00
Veronica K. B. Olsen
f491f5bf49
Fix broken test
2021-02-24 22:29:49 +01:00
Veronica K. B. Olsen
66282d4ed0
Add Preferences window size to Config and update tests
2021-02-22 20:23:14 +01:00
Veronica K. B. Olsen
71ad3fc51d
Fix flake8 error
2021-02-19 17:21:49 +01:00
Veronica K. B. Olsen
837ad7e39c
Fix tests
2021-02-19 17:19:10 +01:00
Veronica K. B. Olsen
e4d03f9581
Fix tests for variable change, and change monkeypatches to use the context manager
2021-02-18 19:21:46 +01:00
Veronica K. B. Olsen
89cf28fade
Make tests work on github actions default language code
2021-02-15 16:57:56 +01:00
Veronica K. B. Olsen
8087e8ad75
Fix tests and a bug in GuiMain
2021-02-15 16:48:12 +01:00
Veronica K. B. Olsen
fca5c77089
Add GuiWordList test
2021-02-12 22:00:22 +01:00
Veronica K. B. Olsen
3a60abaeee
F2 should only edit item if project tree has focus, and edit current document meta if editor has focus
2021-02-11 18:57:44 +01:00
Veronica K. B. Olsen
fdd188516b
Update sample project and test
2021-02-10 21:47:42 +01:00
Veronica K. Berglyd Olsen
290c2f7b62
Merge branch 'dev' into build_tool
2021-02-10 18:34:51 +00:00
Veronica K. B. Olsen
0965f4213e
Fix an issue with summing up idle time when grouping writing stats by day
2021-02-10 19:27:32 +01:00
Veronica K. B. Olsen
672ea6d6f2
Fix and update tests
2021-02-10 16:57:32 +01:00
Veronica K. B. Olsen
6904afc5e7
Updated tests
2021-02-09 21:09:03 +01:00
Veronica K. B. Olsen
b079b30694
Merge branch 'dev' into session_idle
2021-02-09 20:55:26 +01:00
Veronica K. B. Olsen
3e8a425684
Merge branch 'main' into dev
2021-02-09 20:54:31 +01:00