Commit Graph

63 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 55e91f08dd Add a credits page to the About dialog 2022-12-20 11:54:45 +01:00
Veronica Berglyd Olsen a3ad90f419 Update tests 2022-11-27 16:57:11 +01:00
Veronica Berglyd Olsen 4fa6329eb6 Fix tests and minor issues 2022-11-22 13:05:05 +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 0c7fdc7013 Fix windows vs posix path issue in test 2022-11-09 22:51:12 +01:00
Veronica Berglyd Olsen 03e173634f Switch to Path objects nearly everywhere 2022-11-09 22:43:48 +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 6f5539de90 Change confPath to a Path object 2022-11-09 00:09:40 +01:00
Veronica Berglyd Olsen f1100d4475 Remove minimal project from test suite 2022-11-01 18:32:29 +01:00
Veronica Berglyd Olsen 3a161e90f9 Complete loading project xml via data class 2022-10-31 18:11:46 +01:00
Veronica Berglyd Olsen 522acc479b Move status and importance to data class 2022-10-31 17:01:50 +01:00
Veronica Berglyd Olsen aeef8734b8 Move the remaining project meta settings to project data class 2022-10-31 00:28:10 +01:00
Veronica Berglyd Olsen e887ec6991 Move project name to project data class 2022-10-30 23:18:18 +01:00
Veronica Berglyd Olsen 4a9ea459fa Make some minor changes and update test coverage 2022-10-29 00:38:32 +02:00
Veronica Berglyd Olsen 42f5ea205f Clean up GUI tests 2022-10-28 22:15:54 +02:00
Veronica Berglyd Olsen 7b04d57605 Refactor project settings test 2022-10-25 15:48:29 +02:00
Veronica Berglyd Olsen 5aa5640baa Make all imports in tests explicit 2022-10-14 19:25:21 +02:00
Veronica Berglyd Olsen d619f4a012 Add test coverage of splitter function in project tree 2022-10-13 23:48:52 +02:00
Veronica Berglyd Olsen 3f4d85dcad Rewrite test for split dialog 2022-10-13 18:18:08 +02:00
Veronica Berglyd Olsen 1421ed3bf4 Turn off the old splitter tool test 2022-10-12 23:44:15 +02:00
Veronica Berglyd Olsen 747a1a212c Make some minor improvements to code and tests 2022-10-10 15:48:45 +02:00
Veronica Berglyd Olsen 428dce3e6e Fix doc merge dialog test 2022-10-09 22:47:36 +02:00
Veronica Berglyd Olsen 8c4ecaeee2 Fix tests 2022-06-15 20:01:45 +02:00
Veronica Berglyd Olsen 946656f8c5 Add test for edit label dialog 2022-06-11 18:26:41 +02:00
Veronica Berglyd Olsen 37c3bb8cd2 Replace the item editor with the label editor dialog 2022-06-11 18:19:21 +02:00
Veronica Berglyd Olsen 985179bbb9 Rename main theme object 2022-06-11 16:29:49 +02:00
Veronica Berglyd Olsen 94068e777a Give main GUI elements more identifiable names 2022-06-11 15:49:45 +02:00
Veronica Berglyd Olsen 46bb8e5bcc Populate the add button menu in the project widget 2022-06-06 22:03:42 +02:00
Veronica Berglyd Olsen d07f5dc520 Wrap project tree in an outer widget with a toolbar 2022-06-06 15:50:46 +02:00
Veronica Berglyd Olsen 44926a4e9a Also make tree and options properties of the project 2022-05-28 14:33:25 +02:00
Veronica Berglyd Olsen 06d39ea352 Make tests not depend on minimal project settings 2022-05-21 17:33:58 +02:00
Veronica Berglyd Olsen 607f9409d2 Update tests 2022-04-20 21:50:07 +02:00
Veronica Berglyd Olsen 4cfbbf4c68 Remove max folder depth restriction, and simplify adding folders and files in the tree 2022-04-17 14:44:11 +02:00
Veronica Berglyd Olsen 3ed74f0b02 Add test coverage of status and importance reordering 2022-04-16 18:35:26 +02:00
Veronica Berglyd Olsen fedb064b1f Fix other tests 2022-04-16 15:01:55 +02:00
Veronica Berglyd Olsen 23fd6b815f Save both status and importance flags (#1030)
* Put the status icons in the status object itself
* Allow saving both status and importance values
* Update current tests
* Improve test coverage
* Update sample project file
2022-04-03 22:43:11 +02: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 6ac9e1aec4 Tighten up the item class (#937)
* Protect the attributes of the NWItem class
* Fix test coverage
* Add a type checker function to the tree class
2021-12-31 16:25:20 +01:00
Veronica Berglyd Olsen af3d0d2eb0 Happy new year! (#941) 2021-12-31 15:56:43 +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 8313de692e Fix Project Details dialog update issue (#883)
* Move project details dialog to correct folder
* Add update functions that are run each time the project details dialog is opened
2021-09-10 01:06:40 +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 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