Commit Graph

44 Commits

Author SHA1 Message Date
Veronica K. Berglyd Olsen 2b985976c1 Merge branch 'dev' into project_options 2020-06-05 21:12:28 +02:00
Veronica K. B. Olsen 50630df705 Moved a few settings around in the project xml, but retaining compatibility 2020-06-05 20:58:14 +02:00
Veronica K. B. Olsen 9258d49bc8 Some minor fixes and improvements to the OptionState class 2020-06-05 19:17:00 +02:00
Veronica K. B. Olsen d95e8caa50 Gui sizes should now scale between high and low DPI screens 2020-06-05 16:18:20 +02:00
Veronica K. B. Olsen 98360b2edd Moved optionstate class into project file 2020-06-01 23:28:38 +02:00
Veronica K. B. Olsen 724e597d9c Added some extra checks for deleting files when the file is brand new, and updated the test to check it works 2020-05-30 15:34:28 +02:00
Veronica K. B. Olsen f3f61c43f0 Ensure that all folders exist when a new project has been created, but also check that the project folder was empty 2020-05-30 14:56:47 +02:00
Veronica K. B. Olsen 6413211558 Fixed remnant from conflicting versions of the code that caused a crash 2020-05-30 00:45:45 +02:00
Veronica K. B. Olsen f3cc6359c4 Add an empty line at the end of the ToC.txt file 2020-05-30 00:20:14 +02:00
Veronica K. B. Olsen d27e2dc60f Added code to write contents txt and json files on project close 2020-05-30 00:15:07 +02:00
Veronica K. B. Olsen 7b8a852101 Corrected default title formats, and added editTime meta data 2020-05-29 23:46:13 +02:00
Veronica K. B. Olsen 5d2f6d33b5 Also updated the documen class with new project variables 2020-05-29 23:31:38 +02:00
Veronica K. B. Olsen cae9705e4f Files don't need the expanded flag saved to XML 2020-05-29 23:03:04 +02:00
Veronica K. B. Olsen 36ca2ee309 Cleane dup project open and handling of legacy project content 2020-05-29 23:01:25 +02:00
Veronica K. B. Olsen 1a9b6906c6 Wrap some long or too long code lines 2020-05-28 23:00:20 +02:00
Veronica K. B. Olsen d852a1a144 Some reformatting of error messages, mostly regarding line breaks. 2020-05-28 22:48:37 +02:00
Veronica K. B. Olsen 7373f9636b Updated orphan file check 2020-05-28 19:03:59 +02:00
Veronica K. B. Olsen 192427deaa Changed the data structure of the project folder 2020-05-28 18:55:44 +02:00
Veronica K. B. Olsen 12aa25cc54 Added details tab to the Project Settings dialog 2020-05-27 18:09:55 +02:00
Veronica K. B. Olsen 7c78eff5ea Some more path checks. Should be fine now. 2020-05-27 16:35:09 +02:00
Veronica K. B. Olsen f1e717e6a1 Check that the backup folder is not inside the project path to be backed up 2020-05-27 01:04:10 +02:00
Veronica K. B. Olsen c865dbd59b Added a lot of comments to functions in the source code 2020-05-24 16:42:28 +02:00
Veronica K. B. Olsen 4de2b713f9 Ensure project tree is up to date before building project 2020-05-24 11:57:31 +02:00
Veronica K. B. Olsen 3a199b79c9 Merge branch 'master' into dev_0.6 2020-05-17 00:23:45 +02:00
Veronica K. B. Olsen 4dc768bdd2 Dropped the progress bar for rebuild index, and used statusbar instead 2020-05-16 21:56:26 +02:00
Veronica K. B. Olsen 69b101ce55 Merge branch 'master' into dev_0.6 2020-05-14 22:01:38 +02:00
Veronica K. B. Olsen 83e0a365ae Fixed an issue with orphaned file names sometimes being blank 2020-05-14 21:21:00 +02:00
Veronica K. B. Olsen e1d5951a33 Merge branch 'fixes' into compile_novel 2020-05-11 19:30:47 +02:00
Veronica K. B. Olsen 6754048c2e Added show GUI check as this warning may break tests if not 2020-05-11 19:27:53 +02:00
Veronica K. B. Olsen 6d0b38e38a Added hex version checking to the project file to warn the user if opening a file 'from the future'. 2020-05-11 19:25:06 +02:00
Veronica K. B. Olsen 3ad4e26dbc Cleanup of unneeded imports 2020-05-11 00:20:46 +02:00
Veronica K. B. Olsen 0faf1f9986 The isExported option should only apply to files 2020-05-10 23:24:32 +02:00
Veronica K. B. Olsen 771e44055d Finished save file options for now. Still missing markdown and PDF 2020-05-10 21:27:28 +02:00
Veronica K. B. Olsen 4d9e2d03a3 Done building the buttons etc for BuildNovel dialog 2020-05-10 19:31:53 +02:00
Veronica K. B. Olsen 5ab1402854 Fix tests 2020-05-10 16:12:47 +02:00
Veronica K. B. Olsen cf3fc2ef4f Added title formatting settings to project file 2020-05-10 15:57:50 +02:00
Veronica K. B. Olsen 42b819acd9 Added exported option to NWItem 2020-05-09 20:05:42 +02:00
Veronica K. B. Olsen 59a7be6b89 Imrpoved readability of call 2020-05-09 14:02:20 +02:00
Veronica K. B. Olsen 75adcdf679 Can now restore document label for orphaned files 2020-05-09 13:59:57 +02:00
Veronica K. B. Olsen d44dca6a21 Moved the packing of XML tree into NWTree, and added a function for formatting time stamps 2020-05-09 13:08:11 +02:00
Veronica K. B. Olsen 6cdf203079 Cleanup of comments and a bit of syntax in the project file 2020-05-09 12:17:56 +02:00
Veronica K. B. Olsen 1c98fbcb81 trashRoot handle should be initialised to None 2020-05-08 22:53:58 +02:00
Veronica K. B. Olsen b0c71fb47d Removed the nw/tools folder and moved or merged the code in elsewhere 2020-05-08 21:28:05 +02:00
Veronica K. B. Olsen 386020bcf8 Renamed 'project' folder to 'core' 2020-05-08 20:58:34 +02:00