Commit Graph

69 Commits

Author SHA1 Message Date
Veronica K. B. Olsen f92ef05ee2 Move enum and constants to the root source folder 2021-03-28 17:15:17 +02:00
Veronica K. B. Olsen 0a32f9405a Merge branch 'testing' into dev 2021-02-24 22:45:41 +01:00
Veronica K. B. Olsen c2e3fef7fc Improve keyword indexer and extend test 2021-02-23 22:28:02 +01:00
Veronica K. B. Olsen b9d344c7d9 Make sure the test cheks for issue 688 2021-02-23 22:07:14 +01:00
Veronica K. B. Olsen 320643d2da Merge branch 'testing' into dev 2021-02-23 21:14:48 +01:00
Veronica K. B. Olsen fe04c1af25 Merge branch 'main' into testing 2021-02-23 21:14:30 +01:00
Veronica K. B. Olsen b7f27a2af0 Don't save invalid keyword references to the index 2021-02-23 20:51:43 +01:00
Veronica K. B. Olsen 58eaddf753 Merge branch 'main' into dev 2021-02-20 17:40:44 +01:00
Veronica K. B. Olsen 0a571502ce Merge branch 'main' into testing 2021-02-20 17:40:30 +01:00
Veronica K. B. Olsen 464c7dae0a Fix an issue in index with open a version 1.2 project 2021-02-20 17:27:32 +01:00
Veronica K. B. Olsen 5a685474ff Move the remanining two functions in the tools.py file to other source files 2021-02-17 16:31:37 +01:00
Veronica K. B. Olsen 2e4148a9eb Restore some of the old spell check information in the status bar 2021-02-15 22:29:05 +01:00
Veronica K. B. Olsen 31b665d344 Last pass of fixes and tweaks 2021-02-15 17:52:04 +01:00
Veronica K. B. Olsen df19ced50c Rewrap self.tr and fix a few bugs 2021-02-15 16:47:57 +01:00
Bruno Kühnen Meneguello 98e3343808 novelWriter i18n and portuguese translation 2021-02-14 17:16:43 -03:00
Veronica K. B. Olsen 3baeef4f44 Drop the whole firstTitle index again 2021-02-01 23:20:07 +01:00
Veronica K. B. Olsen a2929ef441 Merge branch 'release' into dev 2021-02-01 23:02:40 +01:00
Veronica K. B. Olsen af21f3c5d8 Add index functions to extract headers and word counts for a given handle 2021-02-01 22:48:07 +01:00
Veronica K. B. Olsen b7766946d8 Update index check and test 2021-01-29 20:43:04 +01:00
Veronica K. B. Olsen 9486749345 Merge branch 'dev' into item_layouts 2021-01-29 20:20:16 +01:00
Veronica K. B. Olsen 89ba4aeeaf Use the logException function in all places where exception messages are written to the error log 2021-01-29 18:29:50 +01:00
Veronica K. B. Olsen a2f223a992 Perform a detailed check of the loaded index to make sure everything is in order 2021-01-29 18:15:00 +01:00
Veronica K. B. Olsen 59cfb14a19 Add a first title index that tracks the level and location of the first title of a file 2021-01-29 00:57:34 +01:00
Veronica K. B. Olsen ba2bdf8ea4 Add page offset spinbox to Contents tab on Project Details dialog 2021-01-24 22:49:13 +01:00
Veronica K. B. Olsen c35255b82b Merge branch 'file_headers' into source_code_maintenance 2021-01-16 17:51:32 +01:00
Veronica K. B. Olsen cdf3c62d17 Reformat and update the source file header docstrings 2021-01-16 17:41:40 +01:00
Veronica K. B. Olsen 2958881343 Fix issue with changing novel doc to note before indexing which produces duplicate entry 2021-01-11 21:05:55 +01:00
Veronica K. B. Olsen 981e26e1b6 Use actual novel word count in project details, and update index test 2021-01-11 21:02:45 +01:00
Veronica K. B. Olsen 8d218db35f Project Details page Overview populated 2021-01-10 15:54:36 +01:00
Veronica K. B. Olsen 14a0e6bd6e Allow indexing of untitled pages, and add a ToC function to the index class 2021-01-10 00:13:26 +01:00
Veronica K. B. Olsen 323ab5498b Merge branch 'dev' into novel_tab 2021-01-03 17:17:30 +01:00
Veronica K. B. Olsen 418d45cd8d Merge branch 'main' into release_1.0 2021-01-03 15:12:56 +01:00
Veronica K. B. Olsen 9615098d76 Some minor improvements to the index 2021-01-03 02:04:31 +01:00
Veronica K. B. Olsen 9d9b64fc3d Fix a couple of broken checks 2021-01-03 01:45:05 +01:00
Veronica K. B. Olsen 1bdf0b5500 Make index dictionaries internal 2021-01-02 22:28:30 +01:00
Veronica K. B. Olsen acb6f1fc87 Add novel data extraction function to index 2021-01-02 22:22:05 +01:00
Veronica K. B. Olsen e4d160ee0b Make novel structure function in index class an iterable function instead 2021-01-02 21:37:46 +01:00
Veronica K. B. Olsen 4d7f925c5a Added timestamp to project tree, and made some class variables internal in various classes 2021-01-02 16:57:12 +01:00
Veronica K. B. Olsen b2d3b2cf72 Bump copyright year to 2021 2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen 8e95728e20 Move the keyword maps into the nwKeyWords constants class where the keywords are defined 2020-10-27 20:30:11 +01:00
Veronica K. B. Olsen c0ad631039 Updated source file descriptions 2020-10-23 21:05:41 +02:00
Veronica K. B. Olsen 37c5ecc755 Skip intermediate steps when loading/saving json files, and always use 2 space indent 2020-10-21 20:05:54 +02:00
Veronica K. B. Olsen 1923a55443 Code cleanup in core classes and rename of parHandle to itemParent in NWItem class 2020-10-15 19:08:35 +02:00
Veronica K. B. Olsen dceb5e62c6 Fixed a typo and downgraded some error messages in the index class to info 2020-10-06 01:37:30 +02:00
Veronica K. B. Olsen 238b3c254e Fixed the monkeypatching of time.time() 2020-09-30 23:43:50 +02:00
Veronica K. B. Olsen 86d5a6f6b2 Coverage of index class 100% 2020-09-30 22:57:00 +02:00
Veronica K. B. Olsen 6fc5dad938 Fixed some potential issues with getting the trash folder handle, and made some minor improvements to index class methods 2020-09-30 21:50:59 +02:00
Veronica K. B. Olsen e251ddacd2 Completed coverage of setProjectPath and made all os imports explicit 2020-09-29 23:27:51 +02:00
Veronica K. B. Olsen eb66b879c5 Imports cleanup 2020-09-26 13:02:51 +02:00
Veronica K. B. Olsen ad50ef6e8c Fix bug in document section stats 2020-09-24 23:24:15 +02:00