Commit Graph

98 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 92f54af894 Added some useful menu option, and settings in project file 2020-04-13 16:02:44 +02:00
Veronica K. B. Olsen cacb28f927 Added a counter for the number of saves and autosaves 2020-03-22 23:26:58 +01:00
Veronica K. B. Olsen af410e0b15 Added functions to read and write project lockfile 2020-02-26 22:09:37 +01:00
Veronica K. B. Olsen 6b3e652440 Delete old recent project code 2020-02-26 17:57:36 +01:00
Veronica K. B. Olsen c688c66d5b Project manager dialog now lists recent projects and lets the user open one of these, or browse for a folder 2020-02-26 17:44:11 +01:00
Veronica K. B. Olsen 5f0b331655 Replace old option state class with new one everywhere 2020-02-19 19:43:44 +01:00
Veronica K. B. Olsen 110d27d067 Cleanup of imports 2020-02-17 13:30:26 +01:00
Veronica K. B. Olsen 0e045eeed6 Make sure we have absoulte path when opening from command line input that may be relative path 2020-02-13 22:54:40 +01:00
Veronica K. B. Olsen beb656267c If opening a project file fails, try to open the backup file instead 2020-02-13 21:22:36 +01:00
Veronica K. B. Olsen 760aee0c8f Added a function to clean out old project files no longer needed 2020-02-13 21:12:28 +01:00
Veronica K. B. Olsen ca7617ad07 Remove the project cache folder as it isn't, and was never really, needed 2020-02-13 19:07:51 +01:00
Veronica K. B. Olsen 3a25e7332b Change the way the project file is saved 2020-02-13 19:03:21 +01:00
Veronica K. B. Olsen c43e121389 Added document split dialog and associated code 2020-02-04 23:59:00 +01:00
Veronica K. B. Olsen f937ebc396 Added code to permanently delete project documents 2020-02-01 14:10:48 +01:00
Veronica K. B. Olsen 06031ab7d5 Started adding split amd merge functions 2019-12-01 16:26:37 +01:00
Veronica K. B. Olsen b667dcc6f7 Added docstring to the counting function 2019-11-18 19:56:12 +01:00
Veronica K. B. Olsen 0e84452533 Reorganise constants, and add ISO language codes in order to drop dependency pycountry 2019-11-05 18:14:40 +01:00
Veronica K. B. Olsen 709689cf55 Added --info flag and modified logging output a bit 2019-11-05 11:25:45 +01:00
Veronica K. B. Olsen 62988df7d2 Clean up imports 2019-11-03 19:44:58 +01:00
Veronica K. B. Olsen b303eb6539 Further PEP8 compliance changes 2019-11-03 18:02:47 +01:00
Veronica K. B. Olsen 7c95af951a Make comments and docstrings comply with PEP8 2019-11-03 17:23:39 +01:00
Veronica K. B. Olsen 33e3b67ba5 Make sure all code lines are within a 100 characters 2019-11-03 15:36:34 +01:00
Veronica K. B. Olsen c0aca6a069 Only make a copy of the project file when not autosaving 2019-11-02 14:11:50 +01:00
Veronica K. B. Olsen f60eeedce8 Clear the project if open fails 2019-11-02 12:56:14 +01:00
Veronica K. B. Olsen dd97aefd60 Added some checks for corrupt novel project files 2019-11-02 12:49:13 +01:00
Veronica K. B. Olsen 4252df9682 Add backups of the project xml file as a rolling version in the cashe folder 2019-11-02 12:25:37 +01:00
Veronica K. B. Olsen 9fea45b7df The editable flag for files is now respected by the editor, and trash files are not editable 2019-10-31 13:37:27 +01:00
Veronica K. B. Olsen 557b86af64 Add the option to expand ~ to user home directory in export and project path 2019-10-30 15:47:12 +01:00
Veronica K. B. Olsen f760eeb544 Set encoding for all text reads and writes to utf8, as windows defaults to latin1 2019-10-28 13:44:13 +01:00
Veronica K. B. Olsen 2fe001b336 Session log is now printed in the table 2019-10-20 15:52:25 +02:00
Veronica K. B. Olsen 77c6caacee When closing a project, it should ask for backup even if the project is saved. 2019-10-20 13:56:21 +02:00
Veronica K. B. Olsen 6a19807310 All xml attributes are now added to the etree class in alphabetical order to ensure it writes the same on different versions 2019-08-11 20:21:06 +02:00
Veronica K. B. Olsen f11cc452d8 Backup options and settings complete 2019-06-26 18:13:02 +02:00
Veronica K. B. Olsen 46bd7a8871 Fixed the loading of dictionaries 2019-06-12 20:33:06 +02:00
Veronica K. B. Olsen ca0a756fe5 Added autosave and theme to preferences dialog 2019-06-10 14:41:32 +02:00
Veronica K. B. Olsen 2d55ec06cc Auto-replace values now loaded and saved. 2019-06-08 20:02:09 +02:00
Veronica K. B. Olsen 76cb03fad8 Some reorganisation of how stuff is opened and closed. 2019-05-26 15:34:34 +02:00
Veronica K. B. Olsen 367d2c5014 Added a log file that appends session stats. 2019-05-26 14:39:13 +02:00
Veronica K. B. Olsen 601bd3dca6 Filenames are set nwFiles now, and deleted some unused file in nw/gui 2019-05-26 14:06:48 +02:00
Veronica K. B. Olsen 49ea321d92 Session word count now works 2019-05-25 23:24:30 +02:00
Veronica K. B. Olsen ad79b60961 Changed the way creating new, and closing projects is done to make it more roubust 2019-05-24 00:37:45 +02:00
Veronica K. B. Olsen 20418f79ca Fix the GUI tests 2019-05-22 21:21:02 +02:00
Veronica K. B. Olsen 823426f4f8 Loading and saving of status and importance now works 2019-05-19 22:49:24 +02:00
Veronica K. B. Olsen fdd9c58235 Document tree is now refreshed when status colours change 2019-05-19 22:20:54 +02:00
Veronica K. B. Olsen edb6c41788 Manipulating statuses now seem to work, and update correctly. 2019-05-19 21:55:50 +02:00
Veronica K. B. Olsen 540aa7fcbc Moved item status recrod keeping into a separate iterable class 2019-05-19 19:03:59 +02:00
Veronica K. B. Olsen 37ec8e6280 Added code to extend the status and importance colour lists 2019-05-19 17:00:05 +02:00
Veronica K. B. Olsen 2a1b371974 Adding a bug trap too ... 2019-05-19 00:20:29 +02:00
Veronica K. B. Olsen f59a815a02 While loops are scary, so just in case ... 2019-05-19 00:15:18 +02:00
Veronica K. B. Olsen 33fe71ae62 Improved tree builing logic to handle out of order items from project file 2019-05-19 00:13:03 +02:00