Veronica Berglyd Olsen
2998f2c363
Update tests
2023-11-23 16:45:14 +01:00
Veronica Berglyd Olsen
c585c87633
Remove two annotations in tests that block using older pytest versions
2023-11-18 21:12:09 +01:00
Veronica Berglyd Olsen
c501e12c9d
Remove deprecated config fields and update tests
2023-11-17 16:35:05 +01:00
Veronica Berglyd Olsen
08a012ef8d
Only default to system locale if a translation file exists ( #1564 )
2023-11-02 23:34:42 +01:00
Veronica Berglyd Olsen
0d262c0ae8
Remove the sha256sum function for files and update tests
2023-08-25 16:55:45 +02:00
Veronica Berglyd Olsen
56fc5ec40c
Add spell check languages to Tools menu
2023-08-25 13:09:05 +02:00
Veronica Berglyd Olsen
e1ba66fb87
Fix some missing test coverage
2023-08-23 20:51:42 +02:00
Veronica Berglyd Olsen
af50b219a6
Add test coverage of shared class
2023-08-23 20:19:48 +02:00
Veronica Berglyd Olsen
ddacfc743e
Annotate config class and extensions
2023-08-10 00:49:33 +02:00
Veronica Berglyd Olsen
c40d910b69
Make backup path always set
2023-08-08 19:50:20 +02:00
Veronica Berglyd Olsen
4dfa51855e
Spell check comments and docstrings
2023-07-20 23:25:49 +02:00
Veronica Berglyd Olsen
3996ff8798
Assemble most of the Manuscript Build tool
2023-06-04 20:58:50 +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
af923d6050
Remove references and checks for lxml
2023-05-29 21:52:43 +02:00
Veronica Berglyd Olsen
324b204eaa
Drop all mappings of config object into classes now that tests don't need that
2023-05-16 23:00:30 +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
1437659a4e
Drop the splitVersionNumber function
2023-01-29 02:14:21 +01:00
Veronica Berglyd Olsen
0c75a53e57
Fix wrong inport of PyQt5 version ( #1324 )
2023-01-29 02:13:32 +01:00
Veronica Berglyd Olsen
41a0788b4c
Update copyright year to 2023
2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen
992ed4f36c
Update tests
2022-11-14 17:56:31 +01:00
Veronica Berglyd Olsen
b05028e3c9
Split up the storage of quote symbols in config
2022-11-11 12:50:36 +01:00
Veronica Berglyd Olsen
a1ddc6ce1d
Fix test file comparison filters
2022-11-10 13:24:13 +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
15fec91358
Clean up setters and getters in Config
2022-11-10 09:29:00 +01:00
Veronica Berglyd Olsen
e2f3a44d96
Fix pollution of recent cache from tests
2022-11-09 23:10:30 +01:00
Veronica Berglyd Olsen
03e173634f
Switch to Path objects nearly everywhere
2022-11-09 22:43:48 +01:00
Veronica Berglyd Olsen
cb755ba820
Move recent cache out of config, and update all tests
2022-11-09 20:54:13 +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
47b57172eb
Change lastPath to a Path object
2022-11-09 18:21:40 +01:00
Veronica Berglyd Olsen
9d3291aba6
Change assetPath to a Path object
2022-11-09 17:44:20 +01:00
Veronica Berglyd Olsen
6792c11a71
Change dataPath to a Path object
2022-11-09 00:25:50 +01:00
Veronica Berglyd Olsen
6f5539de90
Change confPath to a Path object
2022-11-09 00:09:40 +01:00
Veronica Berglyd Olsen
26f7bb4b32
Change how spel checking and booleans in general are saved in the XML
2022-11-07 22:46:30 +01:00
Veronica Berglyd Olsen
c6d3f680cc
Add a UUID to projects
2022-11-05 17:03:45 +01:00
Veronica Berglyd Olsen
f41db97860
Clean up the content loading
2022-11-01 13:36:22 +01: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
cfe11f7b54
Make the common module a little simpler
2022-10-19 22:10:23 +02:00
Veronica Berglyd Olsen
e52f0a9e16
Remove verbose logging implementation
2022-10-19 08:29:02 +02:00
Veronica Berglyd Olsen
0f72c45fbc
Update tests
2022-10-18 23:41:41 +02:00
Veronica Berglyd Olsen
33b95b60e3
Fix missing data path issue ( #1180 )
2022-10-18 20:43:33 +02:00
Veronica Berglyd Olsen
30661130ca
Ignore coverage of lines of old Qt versions
2022-10-15 22:56:18 +02:00
Veronica Berglyd Olsen
8c4ecaeee2
Fix tests
2022-06-15 20:01:45 +02:00
Veronica Berglyd Olsen
821833df8e
Fix tests and drop unused function from NWTree class
2022-04-23 17:05:29 +02:00
Veronica Berglyd Olsen
fedb064b1f
Fix other tests
2022-04-16 15:01:55 +02:00
Veronica Berglyd Olsen
011291f225
Drop support for Python 3.6 ( #1004 )
...
* Drop support for Python 3.6
* Remove unused time parsing function
* Use Python 3.7 datetime function for writing stats data conversion
* Test against Python 3.10 on macOS and Windows
2022-02-20 23:35:33 +01:00
Veronica Berglyd Olsen
25038e6cbb
Add support for external translation tools ( #968 )
...
* Make some minor translation fixes
* Remove crowdin file and add import function for crowdin zip file
* Rename fallback project lang file to en_GB
* Update all i18n files from crowdin exports
* Fix tests
* Update docs
2022-01-18 19:17:20 +01:00
Veronica Berglyd Olsen
7024254960
Simplify text width settings ( #943 )
...
* Remove the fixed text width switch, resolves #924
* Update tests
* Clean up code to set text width and add to viewer
2021-12-31 17:17:27 +01:00
Veronica Berglyd Olsen
af3d0d2eb0
Happy new year! ( #941 )
2021-12-31 15:56:43 +01:00
Veronica Berglyd Olsen
e8bb130245
Code and GUI text cleanup ( #926 )
...
* Move int range checkers from options class to common file
* Improve error handling and reporting
* Make some minor improvements to init and test suite
* Fix 'trypewriter' to 'typewriter' typo
* Remove menu path description in dialog help text
* Improve the help text for entries in the Format menu
* Reword a couple of dialog messages
2021-11-07 18:17:17 +01:00
Veronica Berglyd Olsen
1c45331b0a
Fix and optimise code ( #904 )
...
* Fix bug in early error reporting in main init
* Update docstrings and optimise code in GuiMain
* Update docstrings and optimise code in Config
* Update docstrings and optimise code in common module
* Update docstrings and optimise code in main project classes
* Update the OptionState class
* Update the spell checker class
* Update the file converter classes and extend tests
* Update the about, merge, split and item editor classes and extend tests
* Update item editor test
* Update about dialog tests
* Some minor test cleanup
* Fix typo and add clarification in contributing guide
2021-10-14 21:35:42 +02:00