Commit Graph

30 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 73b8e3e0fb Use the new item checker functions instead of equal operator 2022-09-11 17:22:46 +02:00
Veronica Berglyd Olsen ea61db9591 Simplify the novel outline tree 2022-06-14 00:14:51 +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 92924b3288 Make the new item function better at guessing header level of new files 2022-06-05 17:41:29 +02:00
Veronica Berglyd Olsen 2873336dce Allow switching between root novel folders 2022-06-05 15:04:04 +02:00
Veronica Berglyd Olsen 63068f1018 Add full test coverage of index class 2022-06-05 13:17:24 +02:00
Veronica Berglyd Olsen 22099c1b56 Make some minor improvements to handling of tags and references 2022-06-03 11:07:40 +02:00
Veronica Berglyd Olsen eed59a96be Make some fixes to the index class, and improve test coverage 2022-05-30 00:28:43 +02:00
Veronica Berglyd Olsen 865acfd7e9 Clean up imports 2022-05-29 19:40:14 +02:00
Veronica Berglyd Olsen d1b32f1ba1 Move the tags index into a wrapper class 2022-05-29 19:24:41 +02:00
Veronica Berglyd Olsen 77e50a6cee Move the item index into a wrapper class and combine the access functions 2022-05-29 18:58:32 +02:00
Veronica Berglyd Olsen 347d34bf83 Clean up the index code a bit and add index validation 2022-05-29 00:18:48 +02:00
Veronica Berglyd Olsen 94ba7a2f94 Use the new index instead of the old 2022-05-28 21:59:52 +02:00
Veronica Berglyd Olsen 01be8be44f Remove old tagsIndex 2022-05-28 20:16:27 +02:00
Veronica Berglyd Olsen d584f57a3b Loading of new index now works 2022-05-28 19:45:33 +02:00
Veronica Berglyd Olsen b5b0074411 Rewritten index storage using classes instead 2022-05-28 18:48:31 +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 15ede5e14c Make better use of the new NWItem functions and do some cleanup 2022-04-17 19:15:00 +02:00
Veronica Berglyd Olsen da13fbff08 Merge branch 'main' into multi_root 2022-04-16 18:49:46 +02:00
Veronica Berglyd Olsen 17c56440f2 Automatic indexing of un-indexed files (#1039)
* Downgrade rebuild index dialog from warning to info
* Don't flag index as broken if file is missing, just add it again
* Fix log warning
* Drop the return value in the index checker
2022-04-16 17:28:28 +02:00
Veronica Berglyd Olsen bdde6a2080 Clean up handling of root and class info for items 2022-04-03 17:45:17 +02:00
Veronica Berglyd Olsen f9ddcd2f8a Restructure the record of root items in the tree class 2022-04-02 19:13:54 +02:00
Veronica Berglyd Olsen 16ce55ba60 Make sure empty files are indexed (#1022)
* Make sure also empty files are indexed
* Update comments
2022-03-20 15:09:46 +01:00
Veronica Berglyd Olsen 85ea9f5b19 Add automatic index rebuild (#975)
* Rebuild the index automatically if not all files are in the index on open
* Update tests
2022-01-25 17:41:34 +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 5e2ab4f612 Refactor core and base classes (#931)
* Improve the NWIndex class
* Improve the NWItem and NWDoc classes
* Make some optimisations in projects and update tests
* Minor changes to string formatting in main source file
* Add some more protection to core classes
* Make all converter class attributes private
2021-12-18 16:03:45 +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 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 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