Veronica Berglyd Olsen
6f885efb7f
Change how default theme colours are handled
2024-04-13 19:07:15 +02:00
Veronica Berglyd Olsen
20c5993e2d
Clean up a lot more namespace flags
2024-04-03 20:25:54 +02:00
Veronica Berglyd Olsen
3e66968387
Add a more obvious placeholder icon ( #1780 )
2024-03-27 12:32:55 +01:00
Veronica Berglyd Olsen
ead1740f83
Update test
2024-03-09 10:44:24 +01:00
Veronica Berglyd Olsen
fe0098ebbc
Update colour parsing tests
2024-01-19 16:51:27 +01:00
Veronica Berglyd Olsen
b92112e933
Update tests
2024-01-19 16:13:29 +01:00
Veronica Berglyd Olsen
5c99e2186a
Merge branch 'main' into dev
2024-01-05 00:27:32 +01:00
Veronica Berglyd Olsen
df690ceb36
Happy New Year 2024
2024-01-05 00:25:07 +01:00
Veronica Berglyd Olsen
25686e46a8
Fix broken tests
2023-12-29 14:12:46 +01:00
Veronica Berglyd Olsen
bf6cefa840
Update dialog handling of all dialogs
2023-11-28 22:12:30 +01:00
Veronica Berglyd Olsen
e02d2b9298
Add annotations import to all test source files
2023-11-23 20:35:17 +01:00
Veronica Berglyd Olsen
003615c3be
Make some minor modifications to the doc toolbar, and add typings in themes
2023-11-08 21:27:14 +01:00
Veronica Berglyd Olsen
863dcf8b37
Move theme and project instances to new shared data class
2023-08-10 21:13:10 +02:00
Veronica Berglyd Olsen
94c95d6f67
Move GUI theme instance to the config object (after app creation)
2023-08-08 14:35:55 +02:00
Veronica Berglyd Olsen
4dfa51855e
Spell check comments and docstrings
2023-07-20 23:25:49 +02:00
Veronica Berglyd Olsen
d289b41546
Fix test and update paged sidebar hover colour
2023-07-19 17:31:23 +02:00
Veronica Berglyd Olsen
0704812376
Remove titleFormat from project XML and rename mock test file
2023-06-03 18:13:02 +02:00
Veronica Berglyd Olsen
e8c6e50e92
Remove code for mocking CONFIG object and instead reset it for each test
2023-05-16 00:34:11 +02:00
Veronica Berglyd Olsen
41a0788b4c
Update copyright year to 2023
2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen
1664f92cc8
Also allow custom icon themes
2022-12-20 12:50:21 +01:00
Veronica Berglyd Olsen
32d75567e3
Use direct imports everywhere
2022-11-28 18:23:36 +01:00
Veronica Berglyd Olsen
b46ad86c31
Clean up config file format, modify how projects are launched, and add broken theme setting handling
2022-11-10 13:20:26 +01:00
Veronica Berglyd Olsen
8721d53ab2
Clean up the config class names and methods
2022-11-09 18:47:50 +01:00
Veronica Berglyd Olsen
9d3291aba6
Change assetPath to a Path object
2022-11-09 17:44:20 +01:00
Veronica Berglyd Olsen
f76fc95494
Complete coverage of themes classes
2022-10-28 23:26:25 +02:00
Veronica Berglyd Olsen
42f5ea205f
Clean up GUI tests
2022-10-28 22:15:54 +02:00
Veronica Berglyd Olsen
28916afcce
Add test coverage of GUI theme
2022-10-28 00:00:57 +02:00
Veronica Berglyd Olsen
c7999831c9
Remove icon setting from config, and let the theme control it
2022-10-26 22:01:04 +02:00
Veronica Berglyd Olsen
25c4330fd0
Make icon theme a part of the GUI theme (solves #1172 )
2022-10-25 21:27:55 +02:00
Veronica Berglyd Olsen
8c4ecaeee2
Fix tests
2022-06-15 20:01:45 +02:00
Veronica Berglyd Olsen
cff464392a
Use the indenta decorators of the novel tree to indicate type
2022-06-15 16:15:29 +02:00
Veronica Berglyd Olsen
985179bbb9
Rename main theme object
2022-06-11 16:29:49 +02:00
Veronica Berglyd Olsen
fedb064b1f
Fix other tests
2022-04-16 15:01:55 +02:00
Veronica Berglyd Olsen
af3d0d2eb0
Happy new year! ( #941 )
2021-12-31 15:56:43 +01:00
Veronica Berglyd Olsen
15ec1496c5
Update and reorganise themes ( #893 )
...
* Drop the subfolders for GUI themes
* Remove bundled font support
* Add safe file read function
* Allow loading themes from multiple locations
* Clean up unused variables
* Clean up icons class
* Merge icon theme icons
* Update icon theme class
* Remove guiDark config setting
* Fix tests
* Fix handling of default theme
* Update icon readmes
* Add test for getGuiItem common function
2021-09-19 14:09:20 +02:00
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
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
26912f226f
Add double space before in-line comments
2021-06-25 21:36:52 +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
0826a2f8a3
Remove trailing space highlight and add highlight of redundant spaces
2021-05-23 16:17:05 +02:00
Veronica K. B. Olsen
6c79a1daba
Test terminology update
2021-05-02 17:48:28 +02:00
Veronica K. B. Olsen
2d1bede57e
Fix test file header titles
2021-01-16 18:10:47 +01:00
Veronica K. B. Olsen
a947ec10e4
Move test files into subfolders with similar structure as source code
2021-01-16 17:59:29 +01:00