Commit Graph

45 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 57d6b6ac1d Change default macOS font to Helvetica 2023-07-20 01:22:30 +02:00
Veronica Berglyd Olsen 704fffada3 Move all code to set default text font into the Config class 2023-05-31 17:49:31 +02:00
Veronica Berglyd Olsen 59931c804c Replace lxml with standard xml for project files 2023-05-29 17:00:52 +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 cdb501ae26 Improve debug strings in Config class 2023-05-16 00:34:28 +02: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 1664f92cc8 Also allow custom icon themes 2022-12-20 12:50:21 +01:00
Veronica Berglyd Olsen 612034f6be Make the item class non-dynamic, and cache formatting vars in editor 2022-11-11 17:09:03 +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 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 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 58f8f98c6f Use constants for project and config file names 2022-10-20 12:13:29 +02:00
Veronica Berglyd Olsen cfe11f7b54 Make the common module a little simpler 2022-10-19 22:10:23 +02:00
Veronica Berglyd Olsen 8775b360d8 Remove all verbose log entries 2022-10-19 08:27:11 +02:00
Veronica Berglyd Olsen 33b95b60e3 Fix missing data path issue (#1180) 2022-10-18 20:43:33 +02:00
Veronica Berglyd Olsen aadc576d0a Require at least Qt 5.9 2022-10-15 22:47:18 +02:00
Veronica Berglyd Olsen f08345b15e Merge branch 'main' into merge_patches 2022-08-17 23:21:10 +02:00
Veronica Berglyd Olsen c917fc9c9c Fix issue #1096 and remove a couple of error ourputs 2022-08-17 21:49:41 +02:00
Veronica Berglyd Olsen 4fa814a2fa Remove no longer needed config settings, and change default text width 2022-06-15 19:51:13 +02:00
Veronica Berglyd Olsen ca76cb2af3 Make a couple of random, minor fixes 2022-04-20 17:15:55 +02:00
Veronica Berglyd Olsen 6d097f0bcb Add customisation help to docs (#984)
* Make sure user-defined themes folders exist in the data path
* Minor cleanup in shortcuts table
* Add details in docs on how to customise GUI and add dictionaries
* Add spell check reference in docs overview
2022-02-06 13:45:30 +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 0401b8556d Add result count to search and rewrite scroll past end feature (#946)
* Restore colours to dark theme search-replace icon
* Implement a working search result counter
* Disable scroll past end feature and clean up search/replace and update test
* Re-implement scroll past end feature as a static distance
* Stop the search box from resizing on every search
2022-01-01 19:36:04 +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 00eea24e3f Error logging and mutables as function defaults (#930)
* Remove mutable iterables as function defaults
* Improve error reporting and standardise how it's done
2021-11-10 00:32:01 +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
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 3c8cb34b0a Project tree status and total word count changes (#882)
* Fix some inconsistencies in source file docstrings
* Remove the option to show status text in project tree
* Change how total word counts are calculated and propagated
* Fix tests and improve coverage
* Add setting in preferences
* Add missing word count timer to config file
2021-09-10 00:38:45 +02:00
Veronica Berglyd Olsen f6845a9820 Remove the difflib spellchecker (#875)
* Delete simple spell checker
* Clean up the spell checker code
* Update tests
* Delete the bundled dictionaries
* Update documentation
* Use set() for user word list
* Fix tests so they pass also without dictionaries installed
2021-08-30 22:39:27 +02:00
Veronica Berglyd Olsen 4b52f343c1 Packaging Updates (#873)
* Make setup-generated script names lower case
* Change how the manual.pdf file is handled
2021-08-29 16:27:59 +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