be5d46fb98
Added CI support.
Veronica K. B. Olsen
2019-05-16 13:53:58 +02:00
f98a292dd3
Check for dependencies before loading
Veronica K. B. Olsen
2019-05-13 10:26:52 +02:00
60e14634ef
Merge branch 'dev' into importance_flag
Veronica K. B. Olsen
2019-05-12 23:27:15 +02:00
e4f277d47e
Bumped version to 0.1.2
Veronica K. B. Olsen
2019-05-12 23:23:32 +02:00
8b9b5f40ad
Use same colours as for status
Veronica K. B. Olsen
2019-05-12 21:59:31 +02:00
53b97e8399
Importance colours added to the GUI
Veronica K. B. Olsen
2019-05-12 21:54:21 +02:00
8d8fc72cc1
Added common function for generating colour ranges, and added test for the common file
Veronica K. B. Olsen
2019-05-12 21:32:09 +02:00
1de245eea7
Updated changelog
Veronica K. B. Olsen
2019-05-12 20:43:41 +02:00
e2895ce4f7
Improved the alert to user interface, and added an enum class for severity flags.
Veronica K. B. Olsen
2019-05-12 20:34:52 +02:00
9d180bf101
Updated changelog with the two bugfixes.
Veronica K. B. Olsen
2019-05-12 20:21:03 +02:00
db8afe344e
Caught an unexpected itemclass None, but can't recreate the bug. Added an extra check.
Veronica K. B. Olsen
2019-05-12 20:13:37 +02:00
a882ad2c22
Bugfix in item editor
Veronica K. B. Olsen
2019-05-12 19:54:49 +02:00
a94715ba71
Bumped version to 0.1.1
Veronica K. B. Olsen
2019-05-12 17:54:53 +02:00
ae3b14a17e
Updated changelog with latest PRs
Veronica K. B. Olsen
2019-05-12 16:31:03 +02:00
237c92da1a
Commented out a debug message
Veronica K. B. Olsen
2019-05-12 16:24:14 +02:00
66e84dc2b9
Merge branch 'dev' of github.com:vkbo/novelWriter into dev
Veronica K. B. Olsen
2019-05-12 16:23:49 +02:00
0509ed53ee
Updated sample project
Veronica K. B. Olsen
2019-05-12 16:23:09 +02:00
74afdfa544
Merge pull request #3 from vkbo/spellcheck_updates
Veronica K. Berglyd Olsen
2019-05-12 16:20:46 +02:00
fbdff8d249
Spell check can now be enabled/disabled and re-run on document
Veronica K. B. Olsen
2019-05-12 16:18:37 +02:00
3ce2bb8a0e
Moved the value check functions to a common.py file
Veronica K. B. Olsen
2019-05-12 15:47:02 +02:00
00cc5617a5
Added spellCheck flag to project settings
Veronica K. B. Olsen
2019-05-12 15:42:42 +02:00
0dd105e828
Merge pull request #2 from vkbo/unit_tests
Veronica K. Berglyd Olsen
2019-05-12 15:01:14 +02:00
c39efc34fd
A good start on project tests. needed some tewaking of the project class.
Veronica K. B. Olsen
2019-05-12 14:54:02 +02:00
72a3e4f9dd
Fixed merge conflicts
Veronica K. B. Olsen
2019-05-12 14:10:41 +02:00
f1d30ae253
Project class should not contain any GUI elements. Status icons moved to main GUI class.
Veronica K. B. Olsen
2019-05-12 14:08:52 +02:00
edab608c3b
Some changes to core classes and files to support the test suite
Veronica K. B. Olsen
2019-05-12 13:29:41 +02:00
223db59e3d
Added test framwork and two simple tests for the config class
Veronica K. B. Olsen
2019-05-12 13:29:18 +02:00
ea34884d8c
Updated config class to split the initialisation into a function
Veronica K. B. Olsen
2019-05-12 11:59:47 +02:00
aeea55e234
Merge branch 'master' into release
Veronica K. B. Olsen
2019-05-11 01:14:21 +02:00
fe05761fe7
Fixed the preview call so it only works on files.
Veronica K. B. Olsen
2019-05-11 01:14:03 +02:00
f3fd51e826
Merge pull request #1 from vkbo/update_spellcheck
Veronica K. Berglyd Olsen
2019-05-11 01:08:50 +02:00
73f1547e9f
Using a better word splitting regex, but need to replace underscores with spaces.
Veronica K. B. Olsen
2019-05-11 00:26:19 +02:00
a59f9fe8cb
Fixed the spell check regex for italics and underscore text
Veronica K. B. Olsen
2019-05-10 23:26:29 +02:00
00bc83543d
Improved the suggestion menu
Veronica K. B. Olsen
2019-05-10 23:16:15 +02:00
d6409a5bf9
Spell checker context menu can now add words to dictionary for current project
Veronica K. B. Olsen
2019-05-10 23:11:46 +02:00
f26cb7c281
Open spell check context menu with ctrl+. shortcut
Veronica K. B. Olsen
2019-05-10 21:16:11 +02:00
87c786975a
Reimplemented the spell check replace word code
Veronica K. B. Olsen
2019-05-10 20:58:05 +02:00
5adb2f9f97
Remove the 'hack' to get a word under cursor position as we can just use self.cursorForPosition()
Veronica K. B. Olsen
2019-05-10 19:56:10 +02:00
780e729c54
Bumped version for first minimal working release
Veronica K. B. Olsen
2019-05-10 18:52:49 +02:00
b50fb0b102
Commented out the non-functioning menu items, and commited the latest changes to the sample project
Veronica K. B. Olsen
2019-05-10 18:51:05 +02:00
23f3e4b5bb
Ctrl+R now previews the document as HTML
Veronica K. B. Olsen
2019-05-10 18:47:57 +02:00
7644df1c52
Added the GuiDocViewer class
Veronica K. B. Olsen
2019-05-10 18:33:32 +02:00
83169d9075
Updated tokenizer, and added html converter as a subclass
Veronica K. B. Olsen
2019-05-07 18:47:55 +02:00
e0936b5f33
Text tokenizer done.
Veronica K. B. Olsen
2019-05-07 18:01:19 +02:00
7166dfbb2e
Started adding framework for document tokenizer.
Veronica K. B. Olsen
2019-05-05 23:16:53 +02:00
fd3b05f118
Some changes to the project did not trigger the project changed flag. Also trimmed some logging output.
Veronica K. B. Olsen
2019-05-05 22:25:53 +02:00
971d8a9a59
Added better tracking of document and project changes and added coloured icons for the status bar
Veronica K. B. Olsen
2019-05-05 01:02:04 +02:00
9565b14d8b
Autosaving works, and document and project tracks whether they have been changed or not.
Veronica K. B. Olsen
2019-05-05 00:11:46 +02:00
9ea70aeeaf
Added spelling language to config, and updated sample project
Veronica K. B. Olsen
2019-05-04 22:25:34 +02:00
a728a7c42e
Updated todo file
Veronica K. B. Olsen
2019-05-04 22:19:53 +02:00
fe4d2f4a85
Some tweaking in the highlichter class, and added the spelling suggestion context menu.
Veronica K. B. Olsen
2019-05-04 22:10:41 +02:00
7c391eb660
Fixed some bits and added spellcheck to the highlighting class using pyenchant
Veronica K. B. Olsen
2019-05-04 21:39:05 +02:00
e55c92d83a
Allow notes also in novel tree
Veronica K. B. Olsen
2019-05-04 17:27:43 +02:00
e8858d4c7c
Bug ...
Veronica K. B. Olsen
2019-05-04 17:26:37 +02:00
edcf9665b5
Folders can now be deleted as well, and depth and haschildren flags removed from item meta data.
Veronica K. B. Olsen
2019-05-04 17:24:17 +02:00
c775636a71
Files can now be moved to trash
Veronica K. B. Olsen
2019-05-04 16:24:38 +02:00
7768335d3f
Added code to create trash folder when needed.
Veronica K. B. Olsen
2019-05-04 15:59:11 +02:00
6331125b0c
Fixed alert for orphaned items, and fixed setting item depth.
Veronica K. B. Olsen
2019-05-04 11:54:24 +02:00
92da5a335b
Added an alert wrapper for both popup box and logger
Veronica K. B. Olsen
2019-05-04 11:46:15 +02:00
ca022c31a6
Fiexd the about entries in the menu
Veronica K. B. Olsen
2019-05-04 10:54:03 +02:00
933c555410
Saving changes to sample project
Veronica K. B. Olsen
2019-05-04 10:25:08 +02:00
faa1fe6efb
Added open and save status messages to the status bar.
Veronica K. B. Olsen
2019-05-04 10:24:40 +02:00
e82eadea3e
Added a ToDo file
Veronica K. B. Olsen
2019-05-03 23:40:58 +02:00
5ae6066eb4
The item editor now selects save on enter key, and highlights name when dialog is opened.
Veronica K. B. Olsen
2019-05-03 22:45:16 +02:00
7092e20e9c
The recent projects menu now properly repopulates after the order of recent items have changed
Veronica K. B. Olsen
2019-05-03 22:44:41 +02:00
574a4bd63c
Drag and drop files into folders now works (didn't set parent item properly)
Veronica K. B. Olsen
2019-05-03 22:43:56 +02:00
eb39b856b1
Fixed both drag and drop and moveTreeItem for top level items.
Veronica K. B. Olsen
2019-05-03 22:16:00 +02:00
2ed9f11716
Fixed the save button of project settings dialog, and setting the window title after saving settings
Veronica K. B. Olsen
2019-05-03 21:59:49 +02:00
116150ef01
Fixed creating new project, opening and saving of projects.
Veronica K. B. Olsen
2019-05-03 21:56:51 +02:00
665fbb04fe
Fixed setting class and parent of a dropped orphaned item.
Veronica K. B. Olsen
2019-05-03 20:46:06 +02:00
418e5115bc
Finished handling of recovered orphaned files
Veronica K. B. Olsen
2019-04-30 20:07:01 +02:00
664efbc6d2
Added handling of orphaned documents.
Veronica K. B. Olsen
2019-04-28 19:37:39 +02:00
880b8905ee
No longer need the nwItemAction enum either
Veronica K. B. Olsen
2019-04-28 13:26:54 +02:00
d11a01d6a1
Removed the context menu code.
Veronica K. B. Olsen
2019-04-28 13:25:41 +02:00
af9aa08fe6
Finished the edit item dialog and now updating tree and project settings.
Veronica K. B. Olsen
2019-04-28 13:17:24 +02:00
e00b3b4c20
Connected the make root menu options.
Veronica K. B. Olsen
2019-04-28 12:32:05 +02:00
cd64b3f917
Morged edit and delete menu items for folders and files.
Veronica K. B. Olsen
2019-04-27 22:15:19 +02:00
65d4fcc968
A bit of shuffling in the menu, and connected a lot more menu items to actions.
Veronica K. B. Olsen
2019-04-27 22:05:01 +02:00
bd24b58926
Added an item editor
Veronica K. B. Olsen
2019-04-27 16:29:00 +02:00
7c6393302a
More reorganisation of the main menu
Veronica K. B. Olsen
2019-04-27 16:09:33 +02:00
fdf41f383a
Moved main menu to its own class, and reshuffled some of the logic in opening and saving projects
Veronica K. B. Olsen
2019-04-27 14:49:54 +02:00
3b43b75b3a
Fixed conflicts
Veronica K. B. Olsen
2019-04-27 10:39:21 +02:00
cba1e5a83e
Removed main menu code from main window class
Veronica K. B. Olsen
2019-04-27 10:36:49 +02:00
65dc1c43e6
Removed main menu code from main window class
Veronica K. B. Olsen
2019-04-27 10:35:37 +02:00
f816005f2b
Moved main menu to separate file
Veronica K. B. Olsen
2019-04-27 10:32:46 +02:00
d639dcd219
Significant restructuring of the main menu
Veronica K. B. Olsen
2019-04-27 00:28:19 +02:00
af062c3160
Added a changelog which lists the currently implemented features.
Veronica K. B. Olsen
2019-04-24 23:39:47 +02:00
c71ff96bf5
Added some more sample text to test some features.
Veronica K. B. Olsen
2019-04-24 23:23:36 +02:00
2f0f39b53e
Added item status, and added icons and flags to the main treeview
Veronica K. B. Olsen
2019-04-24 22:42:57 +02:00
b180971548
Added layout flag to items
Veronica K. B. Olsen
2019-04-24 20:20:11 +02:00
4a3a82a1f7
Made tree column indices constants and swapped count and flags
Veronica K. B. Olsen
2019-04-24 20:02:34 +02:00
96943d316a
Items can now be renamed.
Veronica K. B. Olsen
2019-04-24 18:11:38 +02:00
184c33a59e
Tree items can be moved up and down from the context menu
Veronica K. B. Olsen
2019-04-23 22:41:41 +02:00
30c1241488
Tree context menu can now add files, folders and roots.
Veronica K. B. Olsen
2019-04-23 21:42:11 +02:00
06d1d3c7cc
Get rid of button bar under tree too.
Veronica K. B. Olsen
2019-04-23 18:51:48 +02:00
16f15db6fd
Added select all and select paragraph features.
Veronica K. B. Olsen
2019-04-23 18:38:22 +02:00
91605f225a
Improved highlighting to work for all regex matches by specifying format in a dictionary
Veronica K. B. Olsen
2019-04-23 18:12:46 +02:00
db67816276
Added text size and justify as editor options.
Veronica K. B. Olsen
2019-04-23 17:45:38 +02:00
4176b88437
Removing edit block begin and end seems to help
Veronica K. B. Olsen
2019-04-23 17:12:14 +02:00
5f5088a928
Improved the undo/redo of autoreplace, bgut still not perfect.
Veronica K. B. Olsen
2019-04-23 17:09:23 +02:00