Commit Graph

126 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 154e91ede8 Remove unused imports 2019-11-09 21:01:43 +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 f6bc1f32e5 Also remove the debuggui feature, as the functionality os handled otherwise if still needed 2019-11-03 15:14:34 +01:00
Veronica K. B. Olsen dfb790e73d Added a menu option to show storage details about the currently open file 2019-11-02 22:14:57 +01:00
Veronica K. B. Olsen e94bdd9340 Allow showing comments in document view pane, with a toggle swithc in document menu 2019-11-02 20:08:02 +01:00
Veronica K. B. Olsen a8c0608457 Fix bug in deleting tags in the index for deleted files 2019-11-02 19:44:32 +01:00
Veronica K. B. Olsen a39387d405 Add entity as another root folder type 2019-11-02 14:26:27 +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 93f3e01365 Added check index function 2019-11-02 11:54:18 +01:00
Veronica K. B. Olsen 0a5d1e593c Make sure deleted items are also deleted from the index, so the index is up to date 2019-11-02 11:40:14 +01:00
Veronica K. B. Olsen afb1304e06 Remove some of the restrictions on how files can be linked together 2019-11-02 11:12:41 +01:00
Veronica K. B. Olsen 8a0a3ca612 Updated comments in NWIndex class 2019-10-31 23:31:11 +01:00
Veronica K. B. Olsen c20d5fcc39 The preview now generates clickable links 2019-10-31 21:45:00 +01:00
Veronica K. B. Olsen 8eba853f9e Added document references pane to the bottom of the doc viewer 2019-10-31 20:54:08 +01:00
Veronica K. B. Olsen d447453b8a Added a bunch of files needed for setuptools to work correctly£ 2019-10-31 16:45:18 +01:00
Veronica K. B. Olsen c815a9ce01 Added a noticeBar to the top of the document editor that can display notifications 2019-10-31 14:45:00 +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 489eae2e0d Adding non-breaking space support for editor and html, latex export 2019-10-29 14:49:11 +01:00
Veronica K. B. Olsen 4fcff94b05 Make sure the document isn't overwritten if it exists, but we have an error loading it due to encoding, or otherwise 2019-10-28 14:12:26 +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 1434c2bdf3 Added filters to timeline view GUI 2019-10-21 20:57:46 +02: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 b58994848a Changed how archive names are generated 2019-06-28 13:11:52 +02:00
Veronica K. B. Olsen f11cc452d8 Backup options and settings complete 2019-06-26 18:13:02 +02:00
Veronica K. B. Olsen 44b83532cf Added config options to file 2019-06-23 19:28:49 +02:00
Veronica K. B. Olsen 570b4a2fc4 Added and connected class to handle project backups 2019-06-16 23:31:32 +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 57c03a2c5c Generating the data for the timeline now works. Probably a bit fragile and in need of more checks. 2019-05-31 20:34:31 +02:00
Veronica K. B. Olsen 67c2912c7f Started adding timelibe view GUI 2019-05-31 18:59:53 +02:00
Veronica K. B. Olsen f719266846 Added colour for tag errors 2019-05-30 22:09:08 +02:00
Veronica K. B. Olsen ce96ac9961 tags are now case sensitive, and need to be unique 2019-05-30 22:03:52 +02:00
Veronica K. B. Olsen fa33d42fe2 Can't pop dictionary keys while looping 2019-05-30 20:18:40 +02:00
Veronica K. B. Olsen a2d0f937ae Connected the syntax highlicghter to the index. It now shows valid keywords and values 2019-05-30 19:57:02 +02:00
Veronica K. B. Olsen b526b0f5d9 Got a working version of index builder that seems to do what is needed. 2019-05-30 18:45:17 +02:00
Veronica K. B. Olsen 2962ab4070 Added menu option and function to scan all files to count words and build index 2019-05-30 14:37:25 +02:00
Veronica K. B. Olsen c273198e75 Reduced the index to a single dictionary 2019-05-28 22:18:37 +02:00
Veronica K. B. Olsen 8d871c0252 The index is now built and saved as a json file 2019-05-28 19:44:14 +02:00