Compare commits

...

2549 Commits
v0.4 ... v1.3.2

Author SHA1 Message Date
Veronica Berglyd Olsen
616fe35ed5 Merge pull request #797 from vkbo/release_1.3.2
Release 1.3.2
2021-05-30 12:17:58 +02:00
Veronica Berglyd Olsen
577a3c6c6a Bump version to 1.3.2 and update changelog 2021-05-30 12:14:41 +02:00
Veronica Berglyd Olsen
e937267eb0 Merge pull request #796 from vkbo/split_tool
Fix split tool dropping last line (#795)
2021-05-30 11:58:28 +02:00
Veronica Berglyd Olsen
2c1e1b94e7 Fix split tool dropping last line (#795) 2021-05-30 11:55:56 +02:00
Veronica Berglyd Olsen
60736ce04c Update readme 2021-05-25 19:23:34 +02:00
Veronica Berglyd Olsen
e1bc1222c4 Merge pull request #784 from vkbo/xdg_setup
Add entry in xdg-install to remove old desktop icon
2021-05-22 10:55:53 +02:00
Veronica Berglyd Olsen
0bff4a3d21 Add entry in xdg-install to remove old desktop icon 2021-05-22 10:50:21 +02:00
Veronica Berglyd Olsen
cfd80645e2 Merge pull request #782 from vkbo/meta_stats
Clear handle when tree details panel is cleared
2021-05-17 20:25:36 +02:00
Veronica K. B. Olsen
4b7f7887c8 Clear handle when tree details panel is cleared 2021-05-17 20:07:56 +02:00
Veronica Berglyd Olsen
486676baa5 Merge pull request #777 from vkbo/release_1.3.1
Release 1.3.1
2021-05-06 22:26:25 +02:00
Veronica K. B. Olsen
542cbf13ff Update changelog and release notes 2021-05-06 22:23:22 +02:00
Veronica K. B. Olsen
62630eb519 Merge branch 'main' into release_1.3.1 2021-05-06 22:08:11 +02:00
Veronica Berglyd Olsen
b1d597e63f Merge pull request #776 from vkbo/issue769_handles_on_windows
Issue #769: Generating handles on Windows
2021-05-06 22:07:36 +02:00
Veronica Berglyd Olsen
887eee01fc Merge branch 'main' into issue769_handles_on_windows 2021-05-06 22:05:34 +02:00
Veronica K. B. Olsen
f605f1fc75 Solve an unwante error message when creating a new project 2021-05-06 22:02:59 +02:00
Veronica K. B. Olsen
cc8fc38734 Update the handle generator test 2021-05-06 21:58:35 +02:00
Veronica K. B. Olsen
5797b8655d {#769) Fix problem with handle collisions when generated rapidly in Windows 2021-05-06 21:58:08 +02:00
Veronica K. B. Olsen
fd4d663a1c Bump version to 1.3.1 2021-05-06 21:43:43 +02:00
Veronica Berglyd Olsen
88263d55f2 Merge pull request #774 from vkbo/issue773_qtranslate_filepath
Issue #773: Fix QTranslate() filePath issue
2021-05-06 12:52:58 +02:00
Veronica Berglyd Olsen
5c4398f948 Some more tweaks to Linux workflow 2021-05-06 12:50:00 +02:00
Veronica Berglyd Olsen
9ff397dfbc Build translation on Linux workflow 2021-05-06 12:44:58 +02:00
Veronica Berglyd Olsen
1c9ebfd11c Improve feedback and documentation for i18n 2021-05-06 12:33:15 +02:00
Veronica Berglyd Olsen
22e8d7ee71 (#773) Fix Qt 5.15 only call in Config 2021-05-06 10:35:16 +02:00
Veronica K. B. Olsen
35458a7e37 Fix wrong location of parameter in setup.cfg 2021-05-05 19:50:17 +02:00
Veronica Berglyd Olsen
c4e87435dd Merge pull request #766 from vkbo/release_1.3
Release 1.3
2021-05-02 16:58:48 +02:00
Veronica K. B. Olsen
9980d225f5 Fix test that failed due to change in version number 2021-05-02 16:54:25 +02:00
Veronica K. B. Olsen
9c0f596c0d Release 1.3 2021-05-02 16:49:08 +02:00
Veronica Berglyd Olsen
ff8cca6d8b Merge pull request #765 from vkbo/minimal_setup
Minimal Setup and i18n
2021-05-02 16:08:09 +02:00
Veronica K. B. Olsen
0e5e263dea Merge branch 'main' into minimal_setup 2021-05-02 15:57:48 +02:00
Veronica K. B. Olsen
166732946e Add a custom long description for PyPi 2021-05-02 15:57:38 +02:00
Veronica K. B. Olsen
cccdab45dc Add novelwriter banner png 2021-05-02 15:50:26 +02:00
Veronica K. B. Olsen
190ca7cf2d Merge branch 'main' into minimal_setup 2021-05-02 15:41:08 +02:00
Veronica K. B. Olsen
009160b6bf Add a paragraph break 2021-05-02 15:40:45 +02:00
Veronica K. B. Olsen
851f67d86f Update badges 2021-05-02 15:39:34 +02:00
Veronica K. B. Olsen
b8be2277c4 Merge linux workflows 2021-05-02 15:34:09 +02:00
Veronica K. B. Olsen
14e266b938 Update i18n README 2021-05-02 15:28:38 +02:00
Veronica K. B. Olsen
94f070f096 Fix setup entries for i18n files for minimal packages 2021-05-02 15:20:32 +02:00
Veronica Berglyd Olsen
0c28664ced Merge pull request #764 from vkbo/i18n_pip
I18n and PyPi
2021-05-02 15:05:21 +02:00
Veronica K. B. Olsen
754863e42c Fix setup message 2021-05-01 17:18:15 +02:00
Veronica K. B. Olsen
fb5e4a5f17 Update translations 2021-05-01 17:14:13 +02:00
Veronica K. B. Olsen
03e9fb93c7 Update readmes 2021-05-01 17:14:04 +02:00
Veronica K. B. Olsen
3e77e24b1f The i18n files are no read from assets, while the ts files remain in the root folder 2021-05-01 17:12:59 +02:00
Veronica Berglyd Olsen
d97809e4b0 Merge pull request #762 from vkbo/issue761_lastpath
Issue #761: lastpath in build + test coverage
2021-04-26 23:57:34 +02:00
Veronica K. B. Olsen
551fd0aaf9 This line should not have been changed 2021-04-26 23:54:32 +02:00
Veronica K. B. Olsen
2fc36f8355 Fix timestamp format in odt generator 2021-04-26 23:47:47 +02:00
Veronica K. B. Olsen
13cc2feb3f Improve build class test 2021-04-26 23:41:40 +02:00
Veronica K. B. Olsen
e2b62fc9f6 Fix alternative save path in build, and also add in project wizard 2021-04-26 18:22:16 +02:00
Veronica Berglyd Olsen
6ecf0ecd88 Merge pull request #759 from vkbo/index_alert
Remove duplicate error message in index class
2021-04-25 18:24:09 +02:00
Veronica K. B. Olsen
c940d9d8a4 Remove duplicate error message in index class 2021-04-25 18:20:31 +02:00
Veronica K. B. Olsen
efef172658 Another round of edits to the main README 2021-04-25 18:18:36 +02:00
Veronica K. B. Olsen
70425c77ea Clarigy the second paragraph of the README 2021-04-25 13:21:28 +02:00
Veronica K. B. Olsen
8520409459 Shorten the first paragraph of the README 2021-04-25 13:18:39 +02:00
Veronica K. B. Olsen
67a81400ff Clarify a few things about markup in the main readme 2021-04-25 11:25:30 +02:00
Veronica Berglyd Olsen
2a0183c838 Merge pull request #754 from vkbo/restructure_code
Restructure Code
2021-04-23 22:01:36 +02:00
Veronica K. B. Olsen
e222915a37 Update tests readme 2021-04-23 21:54:03 +02:00
Veronica K. B. Olsen
b698ccbc1d Move qutae symbol dialog source file to the dialogs folder 2021-04-23 21:49:20 +02:00
Veronica K. B. Olsen
03a80beebe Move tools source files to their own folder 2021-04-23 21:34:45 +02:00
Veronica K. B. Olsen
1c072e9f32 Move dialog source files to their own folder 2021-04-23 21:24:09 +02:00
Veronica Berglyd Olsen
01576f941f Merge pull request #753 from vkbo/update_readmes
Cleanup of setup instructions and scripts
2021-04-19 20:20:37 +02:00
Veronica K. B. Olsen
4af80286d5 Minor corrections to the main README 2021-04-19 20:15:36 +02:00
Veronica K. B. Olsen
c9785bc57b Cleanup the setup instructions and rename the windows setup scripts 2021-04-19 20:02:58 +02:00
Veronica Berglyd Olsen
71f9f3d230 Merge pull request #751 from vkbo/release_1.3rc1
Release 1.3 RC 1
2021-04-18 17:58:36 +02:00
Veronica K. B. Olsen
500a01b46d Bump version to 1.3-rc1 and update changelog and release notes 2021-04-18 17:55:06 +02:00
Veronica K. B. Olsen
dea2ac22e1 Merge branch 'main' into testing 2021-04-18 17:33:29 +02:00
Veronica Berglyd Olsen
1cae46a936 Merge pull request #750 from vkbo/release_1.2.3
Release 1.2.3
2021-04-18 16:05:18 +02:00
Veronica K. B. Olsen
ac22838ded Bump version to 1.2.3 and update changelog and release notes 2021-04-17 23:44:49 +02:00
Veronica Berglyd Olsen
93875d667c Merge pull request #749 from vkbo/win_uninstall
Windows Uninstall
2021-04-17 18:02:21 +02:00
Veronica K. B. Olsen
41043e4dc1 Fix wrong progress message in setup script 2021-04-17 17:59:35 +02:00
Veronica K. B. Olsen
2e8425d4b1 Improve the setup/uninstall text a bit for windows 2021-04-17 17:57:13 +02:00
Veronica K. B. Olsen
fcac28c69f Improve the windows uninstall script a little 2021-04-17 17:45:28 +02:00
Veronica K. B. Olsen
a14b319ada Update the docs 2021-04-17 17:37:22 +02:00
Veronica K. B. Olsen
6763ebdd66 Don't use import to read version number during setup 2021-04-17 17:18:47 +02:00
Veronica K. B. Olsen
421f2dd688 Add uninstall script for windows 2021-04-17 16:35:13 +02:00
Veronica K. B. Olsen
19b21a3e8a Add win-uninstall command to the setup script 2021-04-17 16:13:13 +02:00
Veronica K. B. Olsen
f02bba5630 Merge branch 'main' into testing 2021-04-06 17:49:11 +02:00
Veronica Berglyd Olsen
12fa295506 Merge pull request #742 from vkbo/update_i18n
Update i18n
2021-04-06 17:46:39 +02:00
Veronica K. B. Olsen
1054bbdf8b Refresh translation files 2021-04-06 17:42:26 +02:00
Bruno Meneguello
b47436ec59 Update Portuguese translation 2021-04-06 17:42:05 +02:00
Veronica K. B. Olsen
856534cb81 Fix reference to moved file in translation files 2021-04-06 17:39:54 +02:00
Veronica Berglyd Olsen
3ee07c7da7 Merge pull request #736 from vkbo/xdg_setup
XDG Setup and Uninstall
2021-04-02 16:17:57 +02:00
Veronica K. B. Olsen
96fb892465 Update docs 2021-04-02 16:13:18 +02:00
Veronica K. B. Olsen
3a48a124e2 Linux tests 3.6 and 3.7 should also push to codecov 2021-04-02 16:02:40 +02:00
Veronica K. B. Olsen
b391d47a40 Add xdg-uninstall option to setup 2021-04-02 15:50:20 +02:00
Veronica K. B. Olsen
a3c4d7c7b6 Remove desktop icon for xdg install 2021-04-02 15:37:55 +02:00
Veronica K. B. Olsen
2ce1134b8b Merge branch 'main' into testing 2021-03-31 19:03:28 +02:00
Veronica Berglyd Olsen
641ff441b5 Merge pull request #734 from vkbo/issue733_project_wordlist
Fix failed initial project dictionary
2021-03-31 19:02:21 +02:00
Veronica K. B. Olsen
7687259381 Non-existing project dictionary file shouldn't prevent the vraiable from being set 2021-03-31 18:53:54 +02:00
Veronica K. B. Olsen
7484542af2 Merge branch 'main' into testing 2021-03-29 18:52:23 +02:00
Veronica K. B. Olsen
1e64a3f94c Further clarifications on installation 2021-03-29 18:51:43 +02:00
Veronica K. B. Olsen
923e00ad19 Merge branch 'main' into testing 2021-03-29 18:39:17 +02:00
Veronica K. B. Olsen
518be4e630 Merge REaDME from testing branch and rename some tests in workflows 2021-03-29 18:36:15 +02:00
Veronica Berglyd Olsen
72aa82c8ed Merge pull request #731 from vkbo/release_1.3b1
Release 1.3 Beta 1
2021-03-28 17:59:34 +02:00
Veronica K. B. Olsen
b8a136e0ad Typo in changelog 2021-03-28 17:58:00 +02:00
Veronica K. B. Olsen
38ba214327 Updated changelog and release notes 2021-03-28 17:54:22 +02:00
Veronica K. B. Olsen
c23ec06ce6 Bumped version to 1.3b1 2021-03-28 17:54:06 +02:00
Veronica Berglyd Olsen
c495098582 Merge pull request #730 from vkbo/cleanup
Source Cleanup
2021-03-28 17:25:30 +02:00
Veronica Berglyd Olsen
499d095f81 Merge branch 'testing' into cleanup 2021-03-28 17:18:30 +02:00
Veronica Berglyd Olsen
2ed9367dc8 Merge pull request #729 from vkbo/i18n_setup
I18n Setup
2021-03-28 17:18:22 +02:00
Veronica K. B. Olsen
820e6fcfa3 Update tests 2021-03-28 17:15:35 +02:00
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
4b3795671d Update lanaguage files 2021-03-28 16:37:23 +02:00
Veronica K. B. Olsen
bff5ff79bd Added i18n instructions to the docs 2021-03-28 16:30:08 +02:00
Veronica K. B. Olsen
21056c5cb8 Clean up and update the main README 2021-03-28 16:22:03 +02:00
Veronica K. B. Olsen
a4567939d6 Include i18n files in the minimal zip files 2021-03-28 15:42:58 +02:00
Veronica K. B. Olsen
90871d5859 Merge branch 'main' into testing 2021-03-28 15:23:02 +02:00
Veronica Berglyd Olsen
cb299d145b Merge pull request #725 from vkbo/release_1.2.2
Release 1.2.2
2021-03-28 15:08:17 +02:00
Veronica K. B. Olsen
6afc34e47e Update changelog and release notes 2021-03-27 22:31:15 +01:00
Veronica K. B. Olsen
f6bcbbd962 Merge branch 'main' into release_1.2.2 2021-03-27 22:22:02 +01:00
Veronica Berglyd Olsen
55f1129a24 Merge pull request #728 from vkbo/issue727_pyw_file
Fix Win-Install from Source
2021-03-27 22:16:22 +01:00
Veronica K. B. Olsen
a2c48492ee Make sure the novelWriter.pyw file exists on win-install 2021-03-27 22:12:33 +01:00
Veronica K. B. Olsen
cb0591fe5f Bump version to 1.2.2 and update changelog 2021-03-27 15:38:48 +01:00
Veronica Berglyd Olsen
2f269c3e17 Merge pull request #724 from vkbo/setup_shasum
SHA 256 Sum for setup files
2021-03-27 15:37:50 +01:00
Veronica K. B. Olsen
d1a15f07d5 Add sha256sum to setup script 2021-03-23 21:21:29 +01:00
Veronica Berglyd Olsen
3cb0c95278 Merge pull request #717 from vkbo/issue716_focus_shortcuts
Issue #716: Focus Mode Improvement and Bugfix
2021-03-22 19:01:42 +01:00
Veronica K. B. Olsen
74910a6b56 Use an enum for switching focus instead of hard coded numbers 2021-03-22 18:57:57 +01:00
Veronica K. B. Olsen
5ab32326c1 Update tests 2021-03-22 18:39:25 +01:00
Veronica K. B. Olsen
7dc184f05f Rename the main GUi setFocus function so that it doesn't override the internal one 2021-03-22 18:35:02 +01:00
Veronica K. B. Olsen
dbdb3931f4 Fix search shortcuts in Focus Mode and stop hiding buttons 2021-03-22 18:34:18 +01:00
Veronica K. B. Olsen
8798afc41c Merge branch 'main' into testing 2021-03-21 17:18:29 +01:00
Veronica Berglyd Olsen
e67c911c97 Merge pull request #710 from vkbo/release_1.2.1
Release 1.2.1
2021-03-21 17:10:31 +01:00
Veronica K. B. Olsen
88d69f6fd4 Update changelog and release notes 2021-03-21 17:08:51 +01:00
Veronica Berglyd Olsen
99555f7dd0 Merge branch 'main' into release_1.2.1 2021-03-21 17:01:14 +01:00
Veronica Berglyd Olsen
b3ec77c631 Merge pull request #715 from vkbo/issue714_install_docs
Issue #714: Linux Setup
2021-03-21 17:01:02 +01:00
Veronica K. B. Olsen
d4c61e7ec9 Update Linux setup for consistency and add more details for macOS 2021-03-21 16:54:53 +01:00
Veronica K. B. Olsen
48bbe288b7 Clarify the install instructions for Linux 2021-03-21 16:50:10 +01:00
Veronica Berglyd Olsen
a1f7ab1562 Merge pull request #713 from vkbo/update_french_again
Update french again
2021-03-17 22:57:48 +01:00
Veronica K. B. Olsen
5f95c745e2 Update positions in translation files 2021-03-17 22:40:07 +01:00
jyhelle
1f735d8739 Remove French translations for Qt base, submitted by email 2021-03-17 22:39:46 +01:00
Veronica K. B. Olsen
551fa28b27 Fix typo in i18n readme 2021-03-17 21:19:48 +01:00
Veronica Berglyd Olsen
a4e55a0664 Merge pull request #711 from vkbo/update_french
Update French + Bugfix
2021-03-17 21:12:57 +01:00
Veronica K. B. Olsen
86e196808e Fix bug saving quote settings in Preferences 2021-03-17 21:06:58 +01:00
jyhelle
0a4e15de31 Update French translation submitted by email 2021-03-17 21:06:32 +01:00
Veronica K. B. Olsen
cd1f52c6b5 Update translation files 2021-03-17 21:05:57 +01:00
Veronica K. B. Olsen
b63449bffd Merge branch 'main' into testing 2021-03-17 17:25:00 +01:00
Veronica K. B. Olsen
93965138da Bump version and update changelog for patch 1.2.1 2021-03-17 17:23:20 +01:00
Veronica Berglyd Olsen
fae1bd791f Merge pull request #709 from vkbo/issue708_focus
Issue #708: Search bar focus
2021-03-17 17:12:53 +01:00
Veronica K. B. Olsen
35855d2d71 Add a section about search in the docs 2021-03-17 17:09:24 +01:00
Veronica K. B. Olsen
c374534d9e Fix test 2021-03-17 16:43:51 +01:00
Veronica K. B. Olsen
f6c92dab24 Make the editor search/replace bypass the docAction pipeline and be called directly 2021-03-17 16:43:45 +01:00
Veronica K. B. Olsen
4ee81501a9 Merge branch 'testing' into dev 2021-03-14 18:28:50 +01:00
Veronica K. B. Olsen
3b92c3d75c Wrong docs link on PyPi 2021-03-14 18:22:22 +01:00
Veronica Berglyd Olsen
814876f8df Merge pull request #699 from vkbo/release_1.2
Release 1.2
2021-03-14 18:11:44 +01:00
Veronica K. B. Olsen
567d1ae104 Improve the text for new Preferences options 2021-03-14 15:00:31 +01:00
Veronica Berglyd Olsen
7b7f028d74 Merge pull request #704 from vkbo/french_space
French space padding
2021-03-14 14:52:32 +01:00
Veronica K. B. Olsen
0e53524f2e Update translation files 2021-03-14 14:49:56 +01:00
Veronica K. B. Olsen
0f0e0951ec Add padding options to Preferences 2021-03-14 14:43:12 +01:00
Veronica K. B. Olsen
a172c4b725 Move quote symbols to new Preferences tab 2021-03-14 14:32:05 +01:00
Veronica K. B. Olsen
9f979c02f8 Use free string entries for padding instead of many switches 2021-03-14 14:23:44 +01:00
Veronica K. B. Olsen
1d59a67d6e Fix tests 2021-03-13 23:41:39 +01:00
Veronica K. B. Olsen
5837a4602a Add optional padding for large punctuation symbols 2021-03-13 23:38:12 +01:00
Veronica K. B. Olsen
e07a7ac496 Add optional padding to single and double quotes 2021-03-13 23:25:20 +01:00
Veronica K. B. Olsen
de57d0b027 Merge branch 'main' into dev 2021-03-13 17:00:07 +01:00
Veronica K. B. Olsen
32bcb52f14 Properly update release notes 2021-03-13 16:54:02 +01:00
Veronica K. B. Olsen
612ec06262 Updated changelog and release notes 2021-03-13 16:44:59 +01:00
Veronica K. B. Olsen
93dea90970 Merge branch 'main' into release_1.2 2021-03-13 16:35:27 +01:00
Veronica Berglyd Olsen
47ece1f285 Merge pull request #700 from vkbo/manual_updates
Updates for the documentation
2021-03-13 16:33:17 +01:00
Veronica Berglyd Olsen
64378419d0 Merge branch 'main' into manual_updates 2021-03-13 16:27:15 +01:00
Veronica K. B. Olsen
00a201181d Updated documentation for release 1.2 2021-03-13 16:25:59 +01:00
Veronica Berglyd Olsen
b3f9a14c85 Merge pull request #702 from vkbo/empty_trash
Empty Trash Fix
2021-03-09 12:06:51 +01:00
Veronica K. B. Olsen
065e3828b1 Update test and always ask before moving to trash 2021-03-09 11:02:44 +01:00
Veronica K. B. Olsen
63e91f0ee5 Fix broken emptu trash feature (#701) 2021-03-09 10:52:27 +01:00
jyhelle
182ef5c8f7 Corrections received by email 2021-03-05 19:10:59 +01:00
Veronica Berglyd Olsen
2f790140e0 Merge pull request #698 from vkbo/about_dialog
About dialog updates
2021-03-03 23:04:45 +01:00
Veronica K. B. Olsen
a8bf247d01 Consistency 2021-03-03 22:56:03 +01:00
Veronica K. B. Olsen
e2b3e06077 Merge branch 'dev' into about_dialog 2021-03-03 22:53:45 +01:00
Veronica Berglyd Olsen
43332d8752 Merge pull request #697 from bkmeneguello/pt
Update portuguese translation
2021-03-03 22:52:12 +01:00
Veronica K. B. Olsen
b410ef5d08 Update translations 2021-03-03 22:51:13 +01:00
Veronica K. B. Olsen
1e97a9a872 Use tables instead of lists in About dialog 2021-03-03 22:50:55 +01:00
Veronica K. B. Olsen
26c49e7c22 Add a translations credit section to the About dialog 2021-03-03 21:52:30 +01:00
Veronica B. Olsen
b0f000acfd Bumped version for 1.2 2021-03-03 09:21:52 +01:00
Bruno Kühnen Meneguello
89269b848d Update portuguese translation 2021-03-02 09:04:21 -03:00
Veronica K. B. Olsen
7a55af405b Update outdated info in README 2021-03-02 12:31:22 +01:00
Veronica K. B. Olsen
a3343bc738 Backport .gitignore from dev branch 2021-03-02 11:42:07 +01:00
Veronica K. B. Olsen
dd10486f27 Merge branch 'main' into dev 2021-03-02 11:38:36 +01:00
Veronica Berglyd Olsen
a324ad2dd8 Merge pull request #696 from vkbo/testing
Testing to Main
2021-03-02 11:36:30 +01:00
Veronica Berglyd Olsen
38b4653cb3 Merge pull request #671 from vkbo/release_1.2rc1
Release 1.2 RC 1
2021-03-02 10:29:51 +01:00
Veronica K. B. Olsen
fdd9186ae9 Update release notes and bumped release date 2021-03-02 10:26:55 +01:00
Veronica Berglyd Olsen
81302e3ca5 Merge pull request #695 from vkbo/projsettings_update
Project Settings update
2021-02-27 17:37:01 +01:00
Veronica K. B. Olsen
cf99b4f8b9 Fix flake8 error 2021-02-27 17:19:39 +01:00
Veronica K. B. Olsen
12d39550a8 Use constants for column indices 2021-02-27 17:18:30 +01:00
Veronica K. B. Olsen
9c3e063635 Update en_US and nb_NO translations 2021-02-27 17:08:28 +01:00
Veronica K. B. Olsen
bc0f3e343b Merge branch 'dev' into projsettings_update 2021-02-27 17:02:23 +01:00
Veronica K. B. Olsen
d3eabd8d8f Fix test and revealed bug in main code 2021-02-27 17:00:17 +01:00
Veronica K. B. Olsen
bfa8f97e7e Make the Importance and Status tabs look consistent with Auto-Replace 2021-02-27 16:49:54 +01:00
Veronica K. B. Olsen
4136328a36 Improve the layout of Project Settings > Auto-Replace 2021-02-27 16:21:03 +01:00
Veronica K. B. Olsen
2fd2c18dfc Remove the colour range function as it will not be used 2021-02-27 16:06:24 +01:00
Veronica K. B. Olsen
0a32f9405a Merge branch 'testing' into dev 2021-02-24 22:45:41 +01:00
Veronica K. B. Olsen
7125e9ecd5 Updated changelog 2021-02-24 22:44:01 +01:00
Veronica K. B. Olsen
869e4a0b9d Merge branch 'testing' into release_1.2rc1 2021-02-24 22:38:05 +01:00
Veronica K. B. Olsen
dc0e5c218f Merge branch 'main' into testing 2021-02-24 22:37:44 +01:00
Veronica Berglyd Olsen
7fe3238339 Merge pull request #693 from vkbo/translations
Translations Rondup
2021-02-24 22:34:04 +01:00
Veronica K. B. Olsen
f491f5bf49 Fix broken test 2021-02-24 22:29:49 +01:00
Veronica K. B. Olsen
17070b88d3 Add American English translation 2021-02-24 22:23:35 +01:00
Veronica K. B. Olsen
36fd23b264 Fix some typos and inconsistencies in GUI texts 2021-02-24 22:19:17 +01:00
Veronica K. B. Olsen
fcd1d400f8 Fix spelling of the word "licence" 2021-02-24 21:39:21 +01:00
Veronica K. B. Olsen
dbbec86a13 Merge branch 'dev' into projsettings_update 2021-02-24 20:57:11 +01:00
Veronica K. B. Olsen
67bd23a027 Workflow updates and file cleanup 2021-02-24 20:47:00 +01:00
Veronica Berglyd Olsen
f22a350938 Create FUNDING.yml 2021-02-24 20:38:51 +01:00
Veronica Berglyd Olsen
2f0388d692 Merge pull request #692 from vkbo/french_translation
Add French translation
2021-02-24 20:06:36 +01:00
Jan Lüdke
d7922c6330 Add French translation 2021-02-24 20:00:53 +01:00
Veronica K. B. Olsen
b383142c14 Set maximum height for author box on project settings 2021-02-24 19:47:49 +01:00
Veronica K. B. Olsen
c42b0caf0f Clean up the Project Settings classes 2021-02-23 23:29:18 +01:00
Veronica Berglyd Olsen
6ba286087d Merge pull request #690 from vkbo/issue688_testing
Issue #688: Keyword indexing
2021-02-23 22:35:07 +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 Berglyd Olsen
21d3ed61ef Merge pull request #689 from vkbo/issue688_wrong_tag
Issue #688: Indexing of invalid keywords
2021-02-23 21:14:03 +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 Berglyd Olsen
2560b4d336 Merge pull request #687 from vkbo/gui_tweaks
Make settings layouts more responsive
2021-02-23 17:38:44 +01:00
Veronica K. B. Olsen
66282d4ed0 Add Preferences window size to Config and update tests 2021-02-22 20:23:14 +01:00
Veronica K. B. Olsen
2152f54066 Make use of the improved layout class in Project Settings and Preferences 2021-02-22 20:22:49 +01:00
Veronica K. B. Olsen
c89cb32871 Make the QConfigLayout custom class more responsive to the length of labels due to translations 2021-02-22 20:21:22 +01:00
Veronica K. B. Olsen
59eaf9177e Remove some debug print statements 2021-02-22 19:29:01 +01:00
Veronica B. Olsen
36aa58b38e Update changelog 2021-02-22 09:36:09 +01:00
Veronica B. Olsen
2f4fccfb2c Merge branch 'testing' into release_1.2rc1 2021-02-22 09:14:46 +01:00
Veronica B. Olsen
d251ebb995 Fix typo in changelog 2021-02-22 09:13:52 +01:00
Veronica K. B. Olsen
0cc1573503 Merge remote-tracking branch 'origin/dev' into dev 2021-02-21 20:37:04 +01:00
Veronica Berglyd Olsen
2ad3f2c1ab Merge pull request #686 from bkmeneguello/pt
Update portuguese translation
2021-02-21 17:49:28 +01:00
Bruno Kühnen Meneguello
6cca26b914 Updates portuguese translation 2021-02-21 13:34:00 -03:00
Veronica K. B. Olsen
0c946516e8 Merge branch 'testing' into release_1.2rc1 2021-02-21 16:27:04 +01:00
Veronica K. B. Olsen
7b417929e6 Merge branch 'testing' into dev 2021-02-21 16:24:33 +01:00
Veronica K. B. Olsen
c77ef4e4ce Merge branch 'main' into testing 2021-02-21 16:23:50 +01:00
Veronica Berglyd Olsen
a9d90da5c8 Merge pull request #672 from vkbo/release_1.1.1
Release 1.1.1
2021-02-21 16:09:27 +01:00
Veronica K. B. Olsen
4071c2ca43 Last changes to release notes 2021-02-21 16:01:15 +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
a850e5b74e Merge latest changes in main and update changelog and release notes 2021-02-20 17:40:17 +01:00
Veronica K. B. Olsen
71aa1fa113 Merge branch 'main' into release_1.1.1 2021-02-20 17:37:01 +01:00
Veronica Berglyd Olsen
24eef2dc0b Merge pull request #685 from vkbo/session_log_short
Drop short sessions from the log file
2021-02-20 17:35:53 +01:00
Veronica K. B. Olsen
5977c8c8e2 Fix test 2021-02-20 17:31:31 +01:00
Veronica K. B. Olsen
dcd4c19b21 Drop logging quick open and close sessions to the session log 2021-02-20 17:28:05 +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
ad92e2e5eb Update changelog 2021-02-20 17:09:47 +01:00
Veronica K. B. Olsen
254845d71f Update changelog and release notes 2021-02-20 16:41:33 +01:00
Veronica Berglyd Olsen
89ab97076c Merge pull request #684 from vkbo/qt_translations
Qt Widget Translations
2021-02-20 13:48:57 +01:00
Veronica K. B. Olsen
dd444ccc8a Update TS files 2021-02-20 13:44:37 +01:00
Veronica K. B. Olsen
c9cab47ce0 Minor code changes for consistency 2021-02-20 13:40:26 +01:00
Veronica K. B. Olsen
b868477406 Change minimum Qt version to 5.3 2021-02-20 13:39:48 +01:00
Veronica K. B. Olsen
71ad3fc51d Fix flake8 error 2021-02-19 17:21:49 +01:00
Veronica K. B. Olsen
837ad7e39c Fix tests 2021-02-19 17:19:10 +01:00
Veronica Berglyd Olsen
898c589e2b Merge branch 'dev' into qt_translations 2021-02-19 16:46:48 +01:00
Veronica K. B. Olsen
49c90a4455 Add a dummy file for translating Qt widgets used in nW for languages with no qtbase localised file 2021-02-19 16:40:52 +01:00
Veronica K. B. Olsen
d315f37c88 Remove translations of standard buttons and switch to native file dialogs 2021-02-19 16:38:56 +01:00
Veronica Berglyd Olsen
799c1dc804 Merge pull request #683 from Number042/dev
Add German translation.
2021-02-19 16:30:00 +01:00
Marian Lückhof
3d457e757d Add German translation. 2021-02-19 16:06:19 +01:00
Veronica K. B. Olsen
f74d575d6a Update the i18n readme 2021-02-18 21:42:46 +01:00
Veronica Berglyd Olsen
d4e0bacde9 Merge pull request #682 from vkbo/project_language
Project Language
2021-02-18 21:26:43 +01:00
Veronica K. B. Olsen
844c3ab26f Allow Build language to not be set at all 2021-02-18 21:18:14 +01:00
Veronica K. B. Olsen
97c884de42 Fix a potential bug 2021-02-18 20:53:31 +01:00
Veronica K. B. Olsen
6cc974a8e9 Fix tests 2021-02-18 20:47:22 +01:00
Veronica K. B. Olsen
5f3822ac1a The word "Synopsis" should be translated to GUI language when it appears in document viewer 2021-02-18 20:46:27 +01:00
Veronica K. B. Olsen
e9763f4ec6 Add language option to the Build tool 2021-02-18 20:45:18 +01:00
Veronica K. B. Olsen
e4d03f9581 Fix tests for variable change, and change monkeypatches to use the context manager 2021-02-18 19:21:46 +01:00
Veronica K. B. Olsen
8b0ac6e81e Rename projLang to spellLang 2021-02-18 19:19:50 +01:00
Veronica Berglyd Olsen
a73eba8916 Merge pull request #681 from bkmeneguello/pt
Updates portuguese translations
2021-02-18 09:10:32 +01:00
Bruno Kühnen Meneguello
c74d761a4b Updates portuguese translations 2021-02-17 21:41:45 -03:00
Veronica Berglyd Olsen
e60cc7b544 Merge pull request #679 from vkbo/norwegian_locale
Norwegian Localisation
2021-02-17 23:25:19 +01:00
Veronica K. B. Olsen
515e53b220 Fix indentation 2021-02-17 23:20:20 +01:00
Veronica K. B. Olsen
8948c3f435 Final translation pass for Norwegian 2021-02-17 23:16:23 +01:00
Veronica K. B. Olsen
3a1367a1d8 Finish the first iteration of the Norwegian translation 2021-02-17 21:55:23 +01:00
Veronica K. B. Olsen
e114873e4c Remove deprecated meta entry support in project files 2021-02-17 21:54:56 +01:00
Veronica K. B. Olsen
be8f98f6c7 Add more translations 2021-02-17 19:10:50 +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
185974a3ea Add a basic project_pt.json file 2021-02-17 16:30:29 +01:00
Veronica K. B. Olsen
6c87711595 Add internationalisation README 2021-02-17 12:32:00 +01:00
Veronica K. B. Olsen
35b8e389a3 The project language files should obviously also be in the i18n folder 2021-02-17 12:14:57 +01:00
Veronica K. B. Olsen
51564d1adc Rename nb-NO to nb_NO 2021-02-17 10:08:48 +01:00
Veronica K. B. Olsen
88df06ee47 Merge branch 'dev' into norwegian_locale 2021-02-17 10:06:12 +01:00
Veronica Berglyd Olsen
770c746444 Merge pull request #680 from bkmeneguello/Languages-GUI
Adds language selector to preferences
2021-02-17 10:04:41 +01:00
Veronica K. B. Olsen
47215ddb13 Fix instantiation of DummyApp 2021-02-17 09:59:53 +01:00
Veronica K. B. Olsen
fb09066679 Remove debug print and add test coverage 2021-02-17 09:53:27 +01:00
Veronica K. B. Olsen
7591095f2a Rewrite listLanguages function to add more checks and fix misidentification of default language 2021-02-17 09:28:25 +01:00
Bruno Kühnen Meneguello
48575c09ca Adds languages combo to preferences 2021-02-16 23:07:13 -03:00
Veronica K. B. Olsen
5fc01fe685 Add the updated translation files 2021-02-17 01:43:12 +01:00
Veronica Berglyd Olsen
df94dd2cf5 Merge branch 'dev' into norwegian_locale 2021-02-17 01:39:07 +01:00
Veronica Berglyd Olsen
ae53ce5544 Merge pull request #676 from vkbo/tokenizer_localisation
Tokenizer Localisation
2021-02-17 01:37:58 +01:00
Veronica K. B. Olsen
1f0e6c0426 Fix a bunch of missing translation tags and fix a few default strings 2021-02-17 01:37:28 +01:00
Veronica K. B. Olsen
7f84c3c71c Ignore compiled linguistics files 2021-02-17 01:36:06 +01:00
Veronica K. B. Olsen
8a050810c1 Update translation file after removing no longer needed Tokenizer translations 2021-02-17 00:01:07 +01:00
Veronica K. B. Olsen
4033f7a47d Fix tests 2021-02-16 23:58:25 +01:00
Veronica K. B. Olsen
62cc64d912 Remove the old numberToWord functions and clean up the translation files 2021-02-16 23:47:49 +01:00
Veronica K. B. Olsen
290ca2178d Merge branch 'dev' into tokenizer_localisation 2021-02-16 23:13:36 +01:00
Veronica Berglyd Olsen
b935f8a3f3 Merge pull request #673 from bkmeneguello/i18n
Project basic internationalization support
2021-02-16 23:08:34 +01:00
Bruno Kühnen Meneguello
65e31115a1 Final translations 2021-02-16 18:48:15 -03:00
Veronica K. B. Olsen
19d536ea8b Add norwegian project translation files 2021-02-16 22:45:17 +01:00
Veronica K. B. Olsen
8aa2401134 Make sure the project translation map is loaded correctly 2021-02-16 22:42:18 +01:00
Veronica K. B. Olsen
4699d9404b Add the project localisation to the converter classes 2021-02-16 22:18:14 +01:00
Veronica K. B. Olsen
b50132e255 Add support for project language file 2021-02-16 22:02:59 +01:00
Veronica K. B. Olsen
8f1c4af9fa Fix a bug in Build and Constants, and clean up some more nested translates 2021-02-16 19:42:50 +01:00
Veronica K. B. Olsen
d5bd816676 Last round of changes to localisation 2021-02-16 18:14:04 +01:00
Bruno Kühnen Meneguello
8093528694 Update portuguese translation 2021-02-15 22:22:05 -03:00
Veronica K. B. Olsen
7b7bf5d390 Fix a bug in parsing orphaned file names 2021-02-16 00:38:15 +01:00
Veronica K. B. Olsen
8db140fe89 Make the number to word function ready for multiple langauges, and make some minor changes to tooltips in build and status bar 2021-02-15 23:43:56 +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
Bruno Kühnen Meneguello
ed356ba85d Merge branch 'i18n' of https://github.com/bkmeneguello/novelWriter into i18n 2021-02-15 15:48:52 -03:00
Bruno Kühnen Meneguello
cf79fef0bc Update portuguese translation 2021-02-15 15:47:14 -03:00
Bruno Kühnen Meneguello
d4b4451a48 Improved list and quote handling, also fix a typo 2021-02-15 15:46:48 -03:00
Veronica K. B. Olsen
2f57a4f86f Resolve comment about numbered format string in dialog 2021-02-15 18:03:36 +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
6d56bc7c0c Fix flake8 complaints 2021-02-15 17:01:38 +01:00
Veronica K. B. Olsen
89cf28fade Make tests work on github actions default language code 2021-02-15 16:57:56 +01:00
Veronica K. B. Olsen
8087e8ad75 Fix tests and a bug in GuiMain 2021-02-15 16:48:12 +01:00
Veronica K. B. Olsen
df19ced50c Rewrap self.tr and fix a few bugs 2021-02-15 16:47:57 +01:00
Veronica K. B. Olsen
dba8865d75 Revert some changes to how languages are loaded and remove iso.py 2021-02-15 16:32:20 +01:00
Bruno Meneguello
d506cf2d2a Fix typo and left back "print" 2021-02-15 09:37:45 -03:00
Veronica K. B. Olsen
5e30e1a2ee Just use Qt's own facility for loading localisation files 2021-02-15 11:35:19 +01:00
Veronica K. B. Olsen
af6d96843d Add docstrings and help info for the i18n tools in setup.py 2021-02-15 00:03:14 +01:00
Veronica K. B. Olsen
c0acc1d087 Move the i18n initialisation to the Config class 2021-02-15 00:02:45 +01:00
Bruno Kühnen Meneguello
98e3343808 novelWriter i18n and portuguese translation 2021-02-14 17:16:43 -03:00
Veronica K. B. Olsen
3c72f195ba Bumped version for release 1.1.1 2021-02-13 12:54:16 +01:00
Veronica K. B. Olsen
f3f46858c9 Bumped version for release 1.2 RC 1 2021-02-13 12:48:41 +01:00
Veronica K. B. Olsen
861a847692 Merge branch 'testing' into dev 2021-02-12 22:07:46 +01:00
Veronica K. B. Olsen
d4631229af Merge branch 'main' into testing 2021-02-12 22:07:32 +01:00
Veronica Berglyd Olsen
a78f7d5789 Merge pull request #669 from vkbo/user_dict
Tool to Edit User Dictionary
2021-02-12 22:05:06 +01:00
Veronica K. B. Olsen
fca5c77089 Add GuiWordList test 2021-02-12 22:00:22 +01:00
Veronica Berglyd Olsen
fe828a1c49 Merge pull request #670 from Symbian9/patch-1
Fix installation guide links order
2021-02-12 21:04:42 +01:00
app4soft
11e3573ebd Fix installation guide links order 2021-02-12 22:00:09 +02:00
Veronica K. B. Olsen
ff1d625dc8 Fix logging of exception 2021-02-12 20:26:37 +01:00
Veronica K. B. Olsen
bd9691532f Merge branch 'testing' into user_dict 2021-02-12 20:25:05 +01:00
Veronica K. B. Olsen
133b597093 Merge branch 'main' into testing 2021-02-12 20:23:50 +01:00
Veronica Berglyd Olsen
d4d540bc33 Merge pull request #668 from vkbo/spelling_speedup
Simple Spell Check Speedup
2021-02-12 20:22:11 +01:00
Veronica K. B. Olsen
d08322c1a3 No point making a list to convert to a set 2021-02-12 20:18:32 +01:00
Veronica K. B. Olsen
ec1c664ed6 Fix test 2021-02-12 20:15:38 +01:00
Veronica K. B. Olsen
a3b46581b0 Make the simple spell checker use a set instead of a list 2021-02-12 20:15:28 +01:00
Veronica K. B. Olsen
b115d4f02d Finish the word list dialog and make it possible to reload the user dictionary with pyenchant 2021-02-12 19:40:10 +01:00
Veronica K. B. Olsen
6e64ede90b Add a starting widget for the word liste ditor and connect it to the GUI 2021-02-12 17:01:46 +01:00
Veronica K. B. Olsen
1917c2ce38 Merge branch 'testing' into dev 2021-02-11 23:14:50 +01:00
Veronica K. B. Olsen
c06c2422a9 Merge branch 'main' into testing 2021-02-11 23:13:32 +01:00
Veronica K. Berglyd Olsen
14d205f845 Merge pull request #666 from vkbo/ctrl_del
Change Delete Item Shortcut
2021-02-11 22:06:39 +00:00
Veronica K. B. Olsen
a57ce557e8 Clean up lisence header of main init file 2021-02-11 22:59:19 +01:00
Veronica K. B. Olsen
23c200f333 Update docs 2021-02-11 22:53:58 +01:00
Veronica K. B. Olsen
bf6a3adc06 Change the delete item shortcut 2021-02-11 22:53:14 +01:00
Veronica K. Berglyd Olsen
60a8c8212c Merge pull request #664 from vkbo/minor_fixes
Minor Fixes for 1.2 Beta 1
2021-02-11 21:51:15 +00:00
Veronica K. B. Olsen
525c9c8fd8 Revert last commit and instead change delete item shortcut 2021-02-11 19:27:35 +01:00
Veronica K. B. Olsen
08651685d4 Allow Ctrl+Del to be propagated to the document editor 2021-02-11 19:11:41 +01:00
Veronica K. B. Olsen
3a60abaeee F2 should only edit item if project tree has focus, and edit current document meta if editor has focus 2021-02-11 18:57:44 +01:00
Veronica K. B. Olsen
1e5d980b85 Fix the label of the idle time switch on Writing Statistics 2021-02-11 18:42:28 +01:00
Veronica K. B. Olsen
f9e97735e6 Merge branch 'testing' into dev 2021-02-11 17:19:53 +01:00
Veronica K. Berglyd Olsen
df36aceddb Merge pull request #663 from vkbo/release_1.2beta1
Release 1.2 Beta 1
2021-02-11 16:08:31 +00:00
Veronica K. B. Olsen
600e1cdbfb Added release notes 2021-02-11 17:04:48 +01:00
Veronica K. B. Olsen
d0f11db700 Fix main init source file header 2021-02-10 23:08:47 +01:00
Veronica K. B. Olsen
27de8138f5 Bumped version to 1.3 alpha0 for next dev cycle 2021-02-10 23:00:40 +01:00
Veronica K. B. Olsen
bc0cd2332c Changelog clarifications and corrected typos 2021-02-10 22:59:13 +01:00
Veronica K. B. Olsen
c1b5287ba0 Bumped version to 1.2beta1 and updated changelog 2021-02-10 22:49:32 +01:00
Veronica K. Berglyd Olsen
a2a43b3996 Merge pull request #662 from vkbo/issue605_focus_char
Issue #605: Focus Character
2021-02-10 21:07:25 +00:00
Veronica K. B. Olsen
6c07ecb700 Fix a typo 2021-02-10 22:03:25 +01:00
Veronica K. B. Olsen
2d3f848ab3 Update documentation with references to the @focus keyword 2021-02-10 21:58:25 +01:00
Veronica K. B. Olsen
fdd188516b Update sample project and test 2021-02-10 21:47:42 +01:00
Veronica K. B. Olsen
4c95b1d7ad Add Focus reference to the GUI elements 2021-02-10 21:47:23 +01:00
Veronica K. B. Olsen
19b7b51eea Add the @focus keyword to the base constant classes 2021-02-10 21:46:55 +01:00
Veronica K. Berglyd Olsen
3c355e2d75 Merge pull request #660 from vkbo/build_tool
Build Tool Updates
2021-02-10 19:30:40 +00:00
Veronica K. Berglyd Olsen
290c2f7b62 Merge branch 'dev' into build_tool 2021-02-10 18:34:51 +00:00
Veronica K. Berglyd Olsen
be7bcd03e1 Merge pull request #661 from vkbo/fix_idle_stats
Fix idle Time in Writing Stats
2021-02-10 18:34:04 +00:00
Veronica K. B. Olsen
0965f4213e Fix an issue with summing up idle time when grouping writing stats by day 2021-02-10 19:27:32 +01:00
Veronica K. B. Olsen
bb9ca6e40f Reorder HTML cache file 2021-02-10 18:48:13 +01:00
Veronica K. B. Olsen
672ea6d6f2 Fix and update tests 2021-02-10 16:57:32 +01:00
Veronica K. B. Olsen
ec189a4867 Clean up the Build dialog and connect new options 2021-02-10 16:57:15 +01:00
Veronica K. B. Olsen
f67a50c064 Change the way Unicode is handled in HTML, and clean up the class a bit 2021-02-10 16:56:52 +01:00
Veronica K. B. Olsen
a0fba34ff6 Apply line height and margins to HTML output 2021-02-10 16:55:46 +01:00
Veronica K. B. Olsen
7ea45ac3d2 Cleanup Build dialog and add line height to HTML 2021-02-10 10:39:25 +01:00
Veronica K. B. Olsen
78a58617c1 Connect line height to Build dialog 2021-02-10 10:38:22 +01:00
Veronica K. Berglyd Olsen
f098aeb622 Merge pull request #656 from vkbo/session_idle
Session Idle Time
2021-02-09 20:36:10 +00:00
Veronica K. B. Olsen
6904afc5e7 Updated tests 2021-02-09 21:09:03 +01:00
Veronica K. B. Olsen
b079b30694 Merge branch 'dev' into session_idle 2021-02-09 20:55:26 +01:00
Veronica K. B. Olsen
3e8a425684 Merge branch 'main' into dev 2021-02-09 20:54:31 +01:00
Veronica K. Berglyd Olsen
b47c4c8f71 Merge pull request #659 from vkbo/writing_stats_calc
Make writing stats word calculation more intuitive
2021-02-09 19:54:03 +00:00
Veronica K. B. Olsen
6d3097ae76 Update test 2021-02-09 20:48:48 +01:00
Veronica K. B. Olsen
09e521c2c2 Make writing stats word calculation more intuitive 2021-02-09 19:57:14 +01:00
Veronica K. B. Olsen
2439cf4633 Writing Stats tool should show idle time as either percantage or actual time 2021-02-09 19:46:00 +01:00
Veronica K. B. Olsen
f1b31f26d0 Add preferences for controlling session timer behaviour 2021-02-09 18:54:44 +01:00
Veronica K. B. Olsen
b1eca89a05 Switch icon when session timer is paused 2021-02-09 18:28:22 +01:00
Veronica K. B. Olsen
09bf2a0fe0 Forgot to consider GUI scale 2021-02-08 23:51:03 +01:00
Veronica K. B. Olsen
2d754641b5 Add a switch to hide the idle time column 2021-02-08 23:40:21 +01:00
Veronica K. B. Olsen
871a0dfc6c Fix tests 2021-02-08 23:26:40 +01:00
Veronica K. B. Olsen
3521d4a4f7 Add idle time to session log and writing stats dialog 2021-02-08 23:17:33 +01:00
Veronica K. B. Olsen
407f12760c Record idle time 2021-02-08 21:58:38 +01:00
Veronica K. B. Olsen
479975fdff Move clock tick timer to main GUI 2021-02-08 21:33:06 +01:00
Veronica K. B. Olsen
98fae8a6de Merge branch 'main' into dev 2021-02-08 17:35:41 +01:00
Veronica K. Berglyd Olsen
2e94104ff8 Merge pull request #655 from vkbo/improvements
Various Improvements
2021-02-08 16:34:48 +00:00
Veronica K. B. Olsen
039c13fc0a Add some clarifications to the changelog 2021-02-08 17:29:58 +01:00
Veronica K. B. Olsen
de266e8c88 Add branching policy to the contributing guide 2021-02-08 17:08:48 +01:00
Veronica K. B. Olsen
ada99077a4 Fix some issues with resolving paths for a packaged single executable 2021-02-08 09:44:10 +01:00
Veronica K. B. Olsen
f5588f94db Tweak the project config files 2021-02-08 09:19:53 +01:00
Veronica K. B. Olsen
2a325ae4cc GUI font on Windows should default to Arial first, and fall back to Cantarell 2021-02-07 21:43:32 +01:00
Veronica K. B. Olsen
ac9345419e Merge branch 'main' into dev 2021-02-07 21:14:34 +01:00
Veronica K. B. Olsen
b3fb020dfa Drop using the __status__ variable 2021-02-07 21:12:31 +01:00
Veronica K. Berglyd Olsen
4b885a6e30 Merge pull request #648 from vkbo/release_1.1
Release 1.1
2021-02-07 19:09:48 +00:00
Veronica K. B. Olsen
fa814d64de Updated release notes 2021-02-07 19:45:46 +01:00
Veronica K. B. Olsen
8aa376de25 Merge branch 'main' into release_1.1 2021-02-07 19:43:39 +01:00
Veronica K. Berglyd Olsen
14e7f2d986 Merge pull request #652 from vkbo/odt_header
Add Header to Open Document export
2021-02-07 14:14:44 +00:00
Veronica K. B. Olsen
f816f3d29b Turn document margins into settings 2021-02-06 23:28:41 +01:00
Veronica K. B. Olsen
3db9987966 Add a default header to Open Document files 2021-02-06 23:22:23 +01:00
Veronica K. B. Olsen
5e40bd5deb Change text on build tool print button 2021-02-06 18:31:37 +01:00
Veronica K. B. Olsen
74a9ddbe47 Fix wrong version in ToOdt class header 2021-02-06 18:29:59 +01:00
Veronica K. Berglyd Olsen
188c2ae7ea Merge pull request #650 from vkbo/markdown_export
Markdown Export
2021-02-06 17:05:11 +00:00
Veronica K. B. Olsen
e645c19761 Fix flake8 error 2021-02-06 18:01:03 +01:00
Veronica K. B. Olsen
baf9cab66c Fix a few other docs sections about export 2021-02-06 17:55:29 +01:00
Veronica K. B. Olsen
2fd940bcde Update documentation 2021-02-06 17:48:59 +01:00
Veronica K. B. Olsen
f4988c5d86 Clean up build tool and extend export tests 2021-02-06 17:40:39 +01:00
Veronica K. B. Olsen
b59b3a3a74 Use the old converter for nwd file, not the markdown class 2021-02-06 17:19:30 +01:00
Veronica K. B. Olsen
c677db70b4 Fix a few issues with markdown export 2021-02-06 16:38:06 +01:00
Veronica K. B. Olsen
9861f294b7 Connect markdown exporter to build tool 2021-02-06 15:20:03 +01:00
Veronica K. B. Olsen
c7a42a1641 Basic to markdown class added 2021-02-06 15:07:08 +01:00
Veronica K. B. Olsen
e2a721b209 Merge branch 'main' into dev 2021-02-06 14:35:09 +01:00
Veronica K. Berglyd Olsen
66090e3926 Merge pull request #649 from vkbo/branch_and_ci
Branch and Actions
2021-02-06 13:18:31 +00:00
Veronica K. B. Olsen
60395fb16d Change badges in readme 2021-02-06 14:14:47 +01:00
Veronica K. B. Olsen
54881facf8 Change release branch to testing, and bump mac and windows action to Python 3.9 2021-02-06 14:07:08 +01:00
Veronica K. B. Olsen
9f2f131df9 Merge branch 'main' into dev 2021-02-06 14:03:22 +01:00
Veronica K. B. Olsen
70ab4122a3 Updated version to 1.1 and updated changelog 2021-02-06 13:59:54 +01:00
Veronica K. Berglyd Olsen
7302fb951e Merge pull request #639 from vkbo/minor_tweaks
Minor Tweaks
2021-02-06 12:38:48 +00:00
Veronica K. B. Olsen
dee8ccd8b3 Search box should select the text on open #645 2021-02-06 13:35:53 +01:00
Veronica K. B. Olsen
40b2efb339 Remove some redundant line breaks 2021-02-06 13:35:20 +01:00
Veronica K. B. Olsen
190e74b4d2 Clarify and cross-reference the two sections of the docs describing references and tags 2021-02-06 01:41:56 +01:00
Veronica K. B. Olsen
8bec08799e Merge branch 'release' into dev 2021-02-05 23:08:48 +01:00
Veronica K. B. Olsen
003b056301 Merge branch 'release' into minor_tweaks 2021-02-05 23:08:35 +01:00
Veronica K. B. Olsen
97fd58f793 Merge branch 'main' into release 2021-02-05 23:08:05 +01:00
Veronica K. Berglyd Olsen
aa70d410f8 Merge pull request #644 from vkbo/packaging_cleanup
Packaging Cleanup
2021-02-05 22:07:12 +00:00
Veronica K. B. Olsen
ab21a9238d Update Windows Setup documentation 2021-02-05 17:28:16 +01:00
Veronica K. B. Olsen
be080b1463 Remove the pyinstaller setup functions 2021-02-05 17:27:56 +01:00
Veronica K. B. Olsen
f8ef3e6754 Add flag to tailor minimal zip package to different OSes 2021-02-05 16:52:23 +01:00
Veronica K. Berglyd Olsen
e4e8b939e2 Merge pull request #643 from vkbo/minimal_zip
Minimal Zip Package
2021-02-04 22:20:59 +00:00
Veronica K. B. Olsen
020f122647 Add size 192 scaled icons 2021-02-04 23:16:31 +01:00
Veronica K. B. Olsen
ab0626720a Add setup files to the minimal zip packager in setup.py 2021-02-04 23:16:14 +01:00
Veronica K. B. Olsen
637c05466a Compress minimal zip file 2021-02-03 21:45:22 +01:00
Veronica K. B. Olsen
08b98739f7 Fix typo 2021-02-03 21:37:35 +01:00
Veronica K. B. Olsen
920a835344 Merge branch 'release' into dev 2021-02-03 21:33:42 +01:00
Veronica K. B. Olsen
88e27e315f Merge branch 'release' into minor_tweaks 2021-02-03 21:33:25 +01:00
Veronica K. B. Olsen
7d3427474d Merge branch 'main' into release 2021-02-03 21:32:29 +01:00
Veronica K. Berglyd Olsen
d77183fd48 Merge pull request #635 from vkbo/release_1.0.4
Release 1.0.4
2021-02-03 19:55:38 +00:00
Veronica K. B. Olsen
caa601c9aa Update of release notes and changelog before release 1.0.4 2021-02-03 20:52:36 +01:00
Veronica K. B. Olsen
b9a0152000 Merge branch 'main' into release_1.0.4 2021-02-03 20:41:32 +01:00
Veronica K. Berglyd Olsen
5c5e4e3464 Merge pull request #642 from vkbo/minimal_zip
Minimal Zip Package
2021-02-03 19:40:42 +00:00
Veronica K. B. Olsen
044f987ecd Include the CHANGELOG in the minimal zip 2021-02-03 20:37:04 +01:00
Veronica K. B. Olsen
295351d3e9 Fix a few issues with the minimal zip file and update README 2021-02-03 20:33:32 +01:00
Veronica K. B. Olsen
ab7ca411a4 Add setup command to build a minimal zip file 2021-02-03 20:13:15 +01:00
Veronica K. B. Olsen
c0dee497cd Updated readme and changelog 2021-02-03 19:38:34 +01:00
Veronica K. B. Olsen
247e51478b Merge branch 'main' into release_1.0.4 2021-02-03 17:49:35 +01:00
Veronica K. Berglyd Olsen
a0540e0452 Merge pull request #641 from vkbo/win_install_cont
Windows Install Continued
2021-02-03 16:48:41 +00:00
Veronica K. B. Olsen
515d421dc0 Fix a couple of setup issues and add a note to the docs about updating python 2021-02-03 17:36:25 +01:00
Veronica K. B. Olsen
6032f52798 Update documentation 2021-02-03 16:59:07 +01:00
Veronica K. B. Olsen
05989fdc58 Improve setup for Windows 2021-02-03 16:58:42 +01:00
Veronica K. B. Olsen
b62fafe520 Add source headers to setup and start files, and keep windows start file 2021-02-03 15:21:01 +01:00
Veronica K. B. Olsen
4562a0130a Add a button to the Project Open to remove listed projects, and clarify the dialog message 2021-02-02 22:06:02 +01:00
Veronica K. B. Olsen
6949481198 Stop lookup error on none in project tree meta panel 2021-02-02 16:36:45 +01:00
Veronica K. B. Olsen
5654170278 Let the main gui handle the novel tree refresh decision 2021-02-02 16:36:19 +01:00
Veronica K. Berglyd Olsen
735a324f5a Merge pull request #638 from vkbo/fix_duplicate_from_issue636
Fix Duplicate Code from PR #637
2021-02-01 22:25:47 +00:00
Veronica K. B. Olsen
2cb51f5b58 Backport a small fix from the dev branch 2021-02-01 23:24:02 +01:00
Veronica K. B. Olsen
3baeef4f44 Drop the whole firstTitle index again 2021-02-01 23:20:07 +01:00
Veronica K. B. Olsen
cada78ca4d use what was added in #637 to replace first title lookup in editor saveText 2021-02-01 23:19:24 +01:00
Veronica K. B. Olsen
a2929ef441 Merge branch 'release' into dev 2021-02-01 23:02:40 +01:00
Veronica K. Berglyd Olsen
6c7c8b43b9 Merge pull request #637 from vkbo/issue636_noveltab_wcount
Issue #636: Novel Tab Word Count
2021-02-01 21:59:06 +00:00
Veronica K. B. Olsen
d0940708b0 Add a header structure record to the editor, and force an update of te novel tree if header levels change 2021-02-01 22:49:11 +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
dd18040232 Fix some source file headers 2021-02-01 21:52:51 +01:00
Veronica K. B. Olsen
c72e3a1585 Bumped version to 1.0.4 and updated changelog 2021-02-01 21:17:30 +01:00
Veronica K. B. Olsen
888a47e7a9 Merge branch 'release' into dev 2021-02-01 17:53:40 +01:00
Veronica K. B. Olsen
0df51d2d7c Merge branch 'main' into release 2021-02-01 17:53:17 +01:00
Veronica K. Berglyd Olsen
022945b0d1 Merge pull request #634 from vkbo/win_install
Windows Installation Improvements
2021-02-01 16:51:52 +00:00
Veronica K. B. Olsen
0e62284671 Allow the win-install option to keep icons for both stable and testing version 2021-02-01 17:30:21 +01:00
Veronica K. B. Olsen
704103f9f1 Reorganised and update install instruction in the docs 2021-02-01 17:12:59 +01:00
Veronica K. B. Olsen
1f2ffe7e76 Add win-install command to setup script 2021-02-01 14:14:38 +01:00
Veronica K. Berglyd Olsen
b763abdc76 Merge pull request #632 from vkbo/actions_refactoring
Menu Actions Refactoring and Extension
2021-01-31 22:07:09 +00:00
Veronica K. B. Olsen
af2fcbc059 Add a simple test for now 2021-01-31 23:01:36 +01:00
Veronica K. B. Olsen
0c4d278de2 Extract duplicate code into a new function 2021-01-31 22:53:58 +01:00
Veronica K. B. Olsen
9596d24cca Some final tweaks to the drag and drop feature 2021-01-31 22:29:39 +01:00
Veronica K. B. Olsen
a52b71ef43 Remove ToC.txt files from repo 2021-01-31 22:06:13 +01:00
Veronica K. B. Olsen
216289455e Merge branch 'dev' into actions_refactoring 2021-01-31 19:48:43 +01:00
Veronica K. B. Olsen
019d8cf756 Merge branch 'release' into dev 2021-01-31 19:47:22 +01:00
Veronica K. Berglyd Olsen
3a1c09f89c Merge pull request #596 from vkbo/release_1.1rc1
Release 1.1 RC1
2021-01-31 17:17:23 +00:00
Veronica K. B. Olsen
e9ed4a3f93 Updated changelog and added release notes 2021-01-31 18:12:35 +01:00
Veronica K. B. Olsen
164d6b1b6c Merge branch 'release' into release_1.1rc1 2021-01-31 17:46:37 +01:00
Veronica K. B. Olsen
2307dfaaac Add feature to undo last project tree move 2021-01-31 17:44:28 +01:00
Veronica K. B. Olsen
3cecc1229f Fix GUI blocking in tests 2021-01-31 13:44:44 +01:00
Veronica K. B. Olsen
cca895e418 Cleanup in main menu and move the Move Up/Down entries to the project menu 2021-01-31 13:35:40 +01:00
Veronica K. B. Olsen
ddda934eed Fix tests 2021-01-31 12:56:58 +01:00
Veronica K. B. Olsen
1d8c9ecfc4 Merge branch 'dev' into actions_refactoring 2021-01-31 12:53:03 +01:00
Veronica K. B. Olsen
1f20574520 Merge branch 'release' into dev 2021-01-31 12:51:57 +01:00
Veronica K. B. Olsen
da81bc3ba5 Merge branch 'main' into release 2021-01-31 12:51:36 +01:00
Veronica K. B. Olsen
013fb58267 Block document action if editor does not have focus 2021-01-31 12:50:42 +01:00
Veronica K. B. Olsen
f4f2feae3c Merge branch 'main' into actions_refactoring 2021-01-31 12:45:57 +01:00
Veronica K. Berglyd Olsen
ffad6e47ec Merge pull request #631 from vkbo/issue629_ctrl_del_action
Issue #629: ctrl del action
2021-01-31 11:27:40 +00:00
Veronica K. Berglyd Olsen
2b8f884c12 Merge pull request #630 from vkbo/revert-626-doc_meta
Revert "Add timestamp to document meta"
2021-01-31 11:20:21 +00:00
Veronica K. Berglyd Olsen
2df0d81d29 Revert "Add timestamp to document meta" 2021-01-31 11:59:24 +01:00
Veronica K. B. Olsen
b02c4904a9 Fix tests 2021-01-31 11:58:56 +01:00
Veronica K. B. Olsen
f73cdac9e2 Only allow the delete item command in the project tree if it has focus 2021-01-31 11:53:38 +01:00
Veronica K. Berglyd Olsen
de848511af Merge pull request #628 from vkbo/various_improvements
Various Improvements
2021-01-30 22:39:00 +00:00
Veronica K. B. Olsen
9e294529cf When a new file is added, automatically add the title line 2021-01-30 23:31:19 +01:00
Veronica K. B. Olsen
96d6accbde Add layout and class info to editor footer bar 2021-01-30 22:55:38 +01:00
Veronica K. B. Olsen
86e276ea94 Merge branch 'release' into dev 2021-01-30 22:38:55 +01:00
Veronica K. B. Olsen
8566d62aee Merge branch 'main' into release 2021-01-30 22:37:06 +01:00
Veronica K. Berglyd Olsen
0ccc78e90a Merge pull request #626 from vkbo/doc_meta
Add timestamp to document meta
2021-01-30 18:59:55 +00:00
Veronica K. Berglyd Olsen
3c86207d63 Merge pull request #627 from vkbo/load_project_order_bug
Fix "Open Project" list sorting issue
2021-01-30 18:59:24 +00:00
Veronica K. B. Olsen
c2a37c814d Fix Open Project list sorting issue 2021-01-30 19:43:00 +01:00
Veronica K. B. Olsen
4727866b15 Update test projects 2021-01-30 19:00:12 +01:00
Veronica K. B. Olsen
7a3c33fde3 Fix tests 2021-01-30 18:54:30 +01:00
Veronica K. B. Olsen
087735a08f Add timestamp to document meta data 2021-01-30 18:54:13 +01:00
Veronica K. B. Olsen
a3077d91ec Updated changelog 2021-01-30 15:21:16 +01:00
Veronica K. B. Olsen
649763f2b1 Merge branch 'release' into release_1.1rc1 2021-01-30 15:18:10 +01:00
Veronica K. Berglyd Olsen
f9b988a232 Merge pull request #620 from vkbo/item_layouts
Automatic Item Layouts
2021-01-30 14:16:14 +00:00
Veronica K. B. Olsen
ab45bcb121 Merge branch 'dev' into item_layouts 2021-01-30 15:13:13 +01:00
Veronica K. B. Olsen
e9190d01dc Merge branch 'release' into dev 2021-01-30 15:12:32 +01:00
Veronica K. B. Olsen
ba0e98fd4b Merge branch 'main' into release 2021-01-30 15:11:51 +01:00
Veronica K. Berglyd Olsen
40cc5b379b Merge pull request #624 from vkbo/prefs_fixes
Preferences Fixes
2021-01-30 14:06:37 +00:00
Veronica K. Berglyd Olsen
b1cb48aa9b Merge pull request #625 from vkbo/issue623_justify_prefs
Fix issue #623
2021-01-30 14:06:23 +00:00
Veronica K. B. Olsen
82d9165d92 Fix test 2021-01-30 15:00:51 +01:00
Veronica K. B. Olsen
39d4ee9ad8 More Preferences clarifications 2021-01-30 14:59:17 +01:00
Veronica K. B. Olsen
2cdd444e29 Fix issue #623 2021-01-30 14:48:47 +01:00
Veronica K. B. Olsen
d492f0f41f Rename Preferences variables to match those in the Config class 2021-01-30 14:41:04 +01:00
Veronica K. B. Olsen
943e085d37 Fix a bug and some misleading labels in Preferences 2021-01-30 14:24:06 +01:00
Veronica K. B. Olsen
0624f9103f Get test coverage of NWTree back to 100% 2021-01-30 01:28:05 +01:00
Veronica K. B. Olsen
cab1530afc Add debug log output for layout change 2021-01-30 01:03:54 +01:00
Veronica K. B. Olsen
90e63f1898 Merge branch 'dev' into item_layouts 2021-01-30 00:57:42 +01:00
Veronica K. B. Olsen
b2fdd92f9c Merge branch 'release' into dev 2021-01-30 00:57:22 +01:00
Veronica K. Berglyd Olsen
91701b484a Merge pull request #621 from vkbo/issue608_cursor_in_blank_doc
Issue #608: Missing Cursor
2021-01-29 22:08:59 +00:00
Veronica K. B. Olsen
9fdae1ac45 Fix missing cursor when opening empty document 2021-01-29 22:38: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. Berglyd Olsen
a3bec4d5fc Merge pull request #619 from vkbo/index_check
More thorough index check
2021-01-29 19:18:06 +00:00
Veronica K. B. Olsen
d8cc091f94 Also use the new nwItem checkers in the NWItem class 2021-01-29 18:39:48 +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
286efade59 Add more check functions 2021-01-29 13:22:38 +01:00
Veronica K. B. Olsen
4e7888259f Add logging wrapper for exceptions 2021-01-29 13:17:31 +01:00
Veronica K. B. Olsen
8e3fa892e1 Modify conditions according to #618 2021-01-29 11:55:36 +01:00
Veronica K. B. Olsen
8de0c55b68 Fix broken tests 2021-01-29 01:14:58 +01:00
Veronica K. B. Olsen
4c27d2600a Update document layout during editor save process 2021-01-29 01:09:04 +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
6f7cf4f186 Bump dev version to 1.2-alpha0 2021-01-28 22:09:28 +01:00
Veronica K. B. Olsen
52454c50b7 Updated changelog 2021-01-28 21:49:29 +01:00
Veronica K. B. Olsen
c56219f5b4 Merge branch 'release' into release_1.1rc1 2021-01-28 21:41:35 +01:00
Veronica K. B. Olsen
99b6e1f93c Merge branch 'release' into dev 2021-01-28 21:35:43 +01:00
Veronica K. Berglyd Olsen
6ff1549d2e Merge pull request #616 from vkbo/issue610_save_doc_on_build
Issue #610: Save document before build
2021-01-28 20:33:20 +00:00
Veronica K. B. Olsen
1b05e8ddc9 Save current document before building project 2021-01-28 21:26:51 +01:00
Veronica K. Berglyd Olsen
4745877a63 Merge pull request #615 from vkbo/issue612_change_focus
Issue #612: Change Focus
2021-01-28 20:17:43 +00:00
Veronica K. B. Olsen
c81c7f5a33 Fix syntax check for release branch 2021-01-28 21:13:19 +01:00
Veronica K. B. Olsen
a23beddc66 Update documentation with new shortcut key 2021-01-28 21:07:58 +01:00
Veronica K. B. Olsen
045929681d Add Alt+4 focus key, and switch main tab on focus change 2021-01-28 21:04:22 +01:00
Veronica K. Berglyd Olsen
cf0cf52298 Merge pull request #607 from vkbo/odt_format
Open Document Export
2021-01-28 19:54:00 +00:00
Veronica K. B. Olsen
1ff7c8bdd5 Update reference files for build test 2021-01-28 20:48:49 +01:00
Veronica K. B. Olsen
7254f766d5 Remove div tags from HTML output and bring Tokenizer and ToHtml tests back to 100% 2021-01-28 20:42:39 +01:00
Veronica K. B. Olsen
83e07ec76c Fix tests 2021-01-28 17:04:33 +01:00
Veronica K. B. Olsen
c3a1f25894 Reshuffle build and preview in Build Novel Project tool 2021-01-28 17:04:14 +01:00
Veronica K. B. Olsen
750d8b0a25 Clean up ODT code and add some comments 2021-01-28 01:23:48 +01:00
Veronica K. B. Olsen
2e4558a5d3 Bypass html cache when not building html doc 2021-01-28 00:40:10 +01:00
Veronica K. B. Olsen
3e5813323b Drop the manifest.rdf file 2021-01-28 00:22:53 +01:00
Veronica K. B. Olsen
ecd858251f Add code for writing ODT files 2021-01-28 00:21:39 +01:00
Veronica K. B. Olsen
ac0847ffe3 Predefine some XML tags 2021-01-27 21:54:14 +01:00
Veronica K. B. Olsen
d1bf49790e Add exports for comments, synopsis and keywords 2021-01-27 21:48:20 +01:00
Veronica K. B. Olsen
815f24fbf5 Add release branch for release candidates 2021-01-27 19:53:53 +01:00
Veronica K. B. Olsen
d83352e16f Fix Build Novel Project test on Ubuntu 2021-01-27 19:49:21 +01:00
Veronica K. B. Olsen
8715ab9322 Add logic to apply formatting to text 2021-01-27 19:36:34 +01:00
Veronica K. B. Olsen
4df294f0a2 Add customised margin sizes 2021-01-27 16:22:59 +01:00
Veronica K. B. Olsen
cbbe1b4f47 Add ODT meta namespace, add font format to HTML, and merge page break settings 2021-01-27 13:36:09 +01:00
Veronica K. B. Olsen
8ccd6a8ed3 Fix setting font setting for ODT export 2021-01-27 12:38:31 +01:00
Veronica K. B. Olsen
cbd222fe30 Add code to save tabs and line breaks to ODT file 2021-01-27 02:35:19 +01:00
Veronica K. B. Olsen
1683567dda Restructure Build Novel Project tool to allow ODT save 2021-01-27 01:12:34 +01:00
Veronica K. B. Olsen
da2e40db4d Add ODT auto-style logic 2021-01-27 01:12:09 +01:00
Veronica K. B. Olsen
e3c37f003b Add main ODT style XML 2021-01-26 20:22:32 +01:00
Veronica K. B. Olsen
c9eebafb2d Add core structure for ODT class 2021-01-26 16:25:14 +01:00
Veronica K. Berglyd Olsen
751da877ee Merge pull request #604 from vkbo/insert_symbols
More Insert Symbols
2021-01-26 15:09:08 +00:00
Veronica K. B. Olsen
14d19b5117 Fix indentation of Project Details source file header 2021-01-26 16:06:36 +01:00
Veronica K. B. Olsen
41d4c883a3 Add horizontal bar 2021-01-26 16:03:30 +01:00
Veronica K. B. Olsen
09504508d9 Add proper minus sign, and change a few shortcuts to more sensible ones 2021-01-26 14:03:19 +01:00
Veronica K. B. Olsen
94c755a0e6 Fix tests and clean up a couple of minor things in HTML generator 2021-01-26 13:12:38 +01:00
Veronica K. B. Olsen
f21cff335b Drop the triangle bullet as it's not always available in fonts 2021-01-26 13:11:26 +01:00
Veronica K. B. Olsen
6947996c9a Correct name of HTML constant for cross symbol 2021-01-25 23:50:47 +01:00
Veronica K. B. Olsen
0756090081 Update documentations on new symbols 2021-01-25 23:45:28 +01:00
Veronica K. B. Olsen
95e03d2684 Add triangle and hyphen bullets 2021-01-25 23:45:11 +01:00
Veronica K. B. Olsen
fab5833cdf Add degree, times and divide symbols to insert menu, and simply the editor insert function 2021-01-25 23:05:41 +01:00
Veronica K. Berglyd Olsen
a011c10d4d Merge pull request #603 from vkbo/various_changes
Various Minor Changes
2021-01-25 16:24:50 +00:00
Veronica K. B. Olsen
14584bef55 Update docs and tests 2021-01-25 17:15:12 +01:00
Veronica K. B. Olsen
907a371bd4 Some minor improvements to the logging system 2021-01-25 17:11:05 +01:00
Veronica K. B. Olsen
a420c1749a Add more insert menu entries 2021-01-25 17:09:39 +01:00
Veronica K. B. Olsen
c29e9bb68d Project Details Content tree should not have selectable rows 2021-01-25 11:28:18 +01:00
Veronica K. B. Olsen
fd965e6022 Updated changelog 2021-01-25 11:24:37 +01:00
Veronica K. B. Olsen
2e8d7a20d0 Merge branch 'dev' into release_1.1rc1 2021-01-25 11:20:02 +01:00
Veronica K. Berglyd Olsen
8084ed191e Merge pull request #598 from vkbo/improve_details
Improve Project Details
2021-01-25 10:18:20 +00:00
Veronica K. B. Olsen
0b51e50c19 Add a title to the Contents tab in project Details 2021-01-24 22:57:32 +01:00
Veronica K. B. Olsen
659e056eeb Fix flake8 complaint 2021-01-24 22:54:40 +01:00
Veronica K. B. Olsen
c70023c066 Fix tests 2021-01-24 22:49:23 +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
57330bb2cd Make sure project tree is updated before Project Details dialog is opened 2021-01-24 22:47:49 +01:00
Veronica K. B. Olsen
16fdef2d55 Merge branch 'dev' into release_1.1rc1 2021-01-24 14:52:59 +01:00
Veronica K. B. Olsen
31928d5ebb Merge branch 'main' into dev 2021-01-24 14:52:35 +01:00
Veronica K. Berglyd Olsen
8370b99302 Merge pull request #594 from vkbo/release_1.0.3
Release 1.0.3
2021-01-24 13:19:53 +00:00
Veronica K. B. Olsen
13f98e1675 Update changelog and release notes 2021-01-24 14:14:43 +01:00
Veronica K. B. Olsen
615804333e Merge branch 'main' into release_1.0.3 2021-01-24 13:56:26 +01:00
Veronica K. Berglyd Olsen
e1b9e113b1 Merge pull request #597 from vkbo/build_tweaks
HTML conversion tweaks
2021-01-24 12:55:56 +00:00
Veronica K. B. Olsen
dfbde3e41c Fix broken tests 2021-01-24 13:41:40 +01:00
Veronica K. B. Olsen
034b4feff4 HTML divs should end in a line break, and use hex values for binary flags 2021-01-24 13:41:26 +01:00
Veronica K. B. Olsen
949439361e Bump version to 1.1 RC1 and update changelog 2021-01-23 16:27:17 +01:00
Veronica K. Berglyd Olsen
163b6b3725 Merge pull request #577 from vkbo/issue546_multipar_quotes
Issue #546: Multi-Paragraph Quotes
2021-01-23 15:05:38 +00:00
Veronica K. B. Olsen
bdc6addf81 Fix a minor issue in the Preferences test 2021-01-23 16:00:06 +01:00
Veronica K. B. Olsen
fd7c1e24a3 Merge branch 'dev' into issue546_multipar_quotes 2021-01-23 15:44:01 +01:00
Veronica K. B. Olsen
a16ecbcebd Merge branch 'main' into dev 2021-01-23 15:43:24 +01:00
Veronica K. B. Olsen
0a1f6be4a5 Bump version and update changelog 2021-01-23 15:39:41 +01:00
Veronica K. Berglyd Olsen
98bf462e02 Merge pull request #593 from vkbo/minor_fixes
Minor Fixes
2021-01-23 14:21:20 +00:00
Veronica K. B. Olsen
86fa59e5e1 Easier to just make the scroll past end feature go to 90% 2021-01-23 15:19:01 +01:00
Veronica K. B. Olsen
1ddadeba5d Make the autoscroll feature also work for a very short document 2021-01-23 15:12:25 +01:00
Veronica K. B. Olsen
2e1d5d4d13 Windows installer for pyz should have a different name than the regular installer 2021-01-23 15:11:52 +01:00
Veronica K. Berglyd Olsen
31b29abf5f Merge pull request #584 from vkbo/simple_pack
Package for Windows without an .exe file
2021-01-23 13:55:22 +00:00
Veronica K. B. Olsen
16c428dbd5 Update docs to reflect that make.py has been merged into setup.py 2021-01-23 14:51:27 +01:00
Veronica K. Berglyd Olsen
54bc6550ee Merge branch 'main' into simple_pack 2021-01-23 13:46:31 +00:00
Veronica K. B. Olsen
a698cb6ef7 Automatically download the correct Python embed version 2021-01-23 14:43:54 +01:00
Veronica K. B. Olsen
5f86ab27bb Complete the zipapp packaging for Windows 2021-01-23 14:25:12 +01:00
Veronica K. Berglyd Olsen
f0b2c08a9e Merge pull request #592 from vkbo/update_texts
Update README.md and CONTRIBUTING.md
2021-01-23 13:22:00 +01:00
Veronica K. B. Olsen
3f8c705989 Fix some typos and reword some bits in README and CONTRIBUTING 2021-01-23 13:14:50 +01:00
Veronica K. B. Olsen
6f84574511 Also updated docs 2021-01-23 12:12:45 +01:00
Veronica K. B. Olsen
6a131977d3 Reorganise and update README 2021-01-23 11:43:22 +01:00
Veronica K. B. Olsen
4df0075b42 Add note on line length to contributing guide 2021-01-23 11:10:59 +01:00
Veronica K. B. Olsen
e3972c6205 Merge branch 'main' into simple_pack 2021-01-22 20:18:52 +01:00
Veronica K. B. Olsen
4e949f542c Re-organised the Preferences dialog as some pages were growing quite long 2021-01-22 20:18:03 +01:00
Veronica K. Berglyd Olsen
af38fd3ba3 Merge pull request #590 from mgrhm/setup-typo-fix
fix: Typos in setup.py file.
2021-01-22 19:53:57 +01:00
Mike Graham
d00ac278c6 Fixed typos in setup.py. 2021-01-22 18:24:19 +00:00
Veronica K. Berglyd Olsen
0e01303921 Merge pull request #587 from vkbo/issue581_os_relpath
Issue #581: os.path.relpath on Windows
2021-01-22 00:41:51 +01:00
Veronica K. B. Olsen
39eeaf06e5 Add explicit reference directory for os relpath calls to avoid issue #581 on Windows 2021-01-22 00:35:43 +01:00
Veronica K. B. Olsen
7c2c4b26b3 Merge make.py into setup.py 2021-01-21 17:24:54 +01:00
Veronica K. B. Olsen
2ea0703701 Preserve both methods for building Inno Setup installers 2021-01-21 16:45:16 +01:00
Veronica K. B. Olsen
d425cdc27d Added alternative packaging method for windows 2021-01-21 00:50:13 +01:00
Veronica K. B. Olsen
799c833a66 Add a simple packaging function 2021-01-20 18:25:51 +01:00
Veronica K. B. Olsen
96bc88d045 Added some smart filters for quote settings 2021-01-20 00:08:49 +01:00
Veronica K. Berglyd Olsen
da7bbc2b20 Merge pull request #578 from nullbasis/main
Added new GUI and editor themes
2021-01-19 23:39:03 +01:00
Null
7b4f6c3222 Add files via upload 2021-01-19 16:34:36 -06:00
Null
e3bc528647 Add files via upload 2021-01-19 16:32:32 -06:00
Null
29665203c0 Add files via upload 2021-01-19 16:19:16 -06:00
Null
7beb9afc36 Added Solarized Dark and Light GUI themes 2021-01-19 15:24:29 -06:00
Null
2fcb3a0131 Added Solarized Dark and Light editor themes 2021-01-19 15:23:44 -06:00
Veronica K. B. Olsen
0a9749726f Merge branch 'dev' into issue546_multipar_quotes 2021-01-19 21:34:23 +01:00
Veronica K. B. Olsen
c1e6d9c633 Merge branch 'main' into dev 2021-01-19 21:33:59 +01:00
Veronica K. Berglyd Olsen
4767d49e4d Fixed duplicate word in README 2021-01-19 21:25:02 +01:00
Veronica K. Berglyd Olsen
2bf7e8506c Merge pull request #564 from vkbo/release_1.0.2
Release 1.0.2
2021-01-19 20:59:38 +01:00
Veronica K. B. Olsen
447966e3b8 Changed release date and updated release notes 2021-01-19 20:56:29 +01:00
Veronica K. B. Olsen
adc17272dc Updated changelog with latest changes 2021-01-19 20:17:15 +01:00
Veronica K. B. Olsen
6e54f34419 Merge branch 'main' into release_1.0.2 2021-01-19 20:02:43 +01:00
Veronica K. Berglyd Olsen
4b4051a823 Merge pull request #576 from vkbo/issue570_install_docs
Issue #570: Clarify install instructions
2021-01-19 20:01:28 +01:00
Veronica K. B. Olsen
5c4e230f69 No need to duplicate instructions, but added a TLDR section 2021-01-19 19:55:25 +01:00
Veronica K. B. Olsen
2c191a9bd3 Minor modification to the macOS workflow 2021-01-19 19:30:35 +01:00
Veronica K. B. Olsen
ed9313759b Clarify install instructions on dependency install 2021-01-19 19:30:14 +01:00
Veronica K. Berglyd Olsen
70a7a72baa Merge pull request #575 from vkbo/issue574_user_dict_no_suggest
Issue #574: Show "Add Word to Dictionary" when there are no spell suggestions
2021-01-19 19:20:54 +01:00
Veronica K. B. Olsen
4d69025250 Fix lambda function syntax 2021-01-19 19:09:37 +01:00
Veronica K. B. Olsen
9f9028b7ce Fix "Add Word to Dictionary" missing when there are no spell suggestions 2021-01-19 19:08:51 +01:00
Veronica K. Berglyd Olsen
e9be3242b2 Merge pull request #573 from stranger-danger-zamu/patch-1
Issue #570
2021-01-19 18:37:57 +01:00
Veronica K. B. Olsen
6868b683d8 Added new quote setting to Preferences and updated tests 2021-01-19 18:37:19 +01:00
Veronica K. B. Olsen
4934ec2ea1 Add syntax highlighting for open-ended quotes 2021-01-19 18:36:47 +01:00
stranger-danger-zamu
211a06e9bc Issue #570 2021-01-19 11:44:44 -05:00
Veronica K. Berglyd Olsen
debca0a82d Merge pull request #565 from vkbo/gui_tweaks
GUI Tweaks
2021-01-18 19:05:55 +01:00
Veronica K. B. Olsen
92da954229 Drop the showGUI debug flag, removing test mode from beyond the main function 2021-01-18 18:55:32 +01:00
Veronica K. B. Olsen
91d96b162e Fixed and imrpoved margin calculations on GUI elements 2021-01-18 17:52:32 +01:00
Veronica K. B. Olsen
0907bf195e Bump version to 1.0.2 and update changelog 2021-01-17 21:11:51 +01:00
Veronica K. B. Olsen
f30b14a3da Merge branch 'main' into dev 2021-01-17 20:58:15 +01:00
Veronica K. B. Olsen
2030793a02 Latest release notes check should use hex version number instead of string version number 2021-01-17 20:52:34 +01:00
Veronica K. Berglyd Olsen
d09f561ef6 Merge pull request #563 from vkbo/source_code_maintenance
Source code maintenance
2021-01-16 18:14:38 +01:00
Veronica K. B. Olsen
2d1bede57e Fix test file header titles 2021-01-16 18:10:47 +01:00
Veronica K. B. Olsen
a947ec10e4 Move test files into subfolders with similar structure as source code 2021-01-16 17:59:29 +01:00
Veronica K. B. Olsen
fd04f94b76 Also update the newest test 2021-01-16 17:55:11 +01:00
Veronica K. B. Olsen
6881446e67 Merge branch 'dev' into source_code_maintenance 2021-01-16 17:53:58 +01:00
Veronica K. B. Olsen
bd0a9952ff Merge branch 'main' into dev 2021-01-16 17:53: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
5e71e7d04d Add license header to test files 2021-01-16 17:50:14 +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. Berglyd Olsen
e7e2176e64 Merge pull request #561 from vkbo/issue560_window_title
Issue #560: Window Title
2021-01-15 19:44:45 +01:00
Veronica K. B. Olsen
ecb9e92c48 Clear statusbar on new project, and change colors of saved indicators on light desktop 2021-01-15 19:27:19 +01:00
Veronica K. B. Olsen
053c2eb379 Set window title after new project is created, and also automatically call close if a project is open. 2021-01-15 10:47:50 +01:00
Veronica K. B. Olsen
bde2810c08 Clear window title when closing a project 2021-01-15 10:40:41 +01:00
Veronica K. B. Olsen
692159219e Fix an issue with generated files in test projects in the test suite 2021-01-15 10:40:19 +01:00
Veronica K. Berglyd Olsen
71b194cbcb Merge pull request #555 from vkbo/project_details
Project Details Dialog
2021-01-14 20:14:22 +01:00
Veronica K. B. Olsen
fb81c7e8e0 Minimal docs update, and add test for Project Details 2021-01-14 20:09:18 +01:00
Veronica K. B. Olsen
84878315d5 Minor GUI tweaks to Project Details and related items 2021-01-14 18:58:11 +01:00
Veronica K. B. Olsen
1bd675cce9 Merge branch 'dev' into project_details 2021-01-14 18:47:37 +01:00
Veronica K. B. Olsen
e77a0a9385 Merge branch 'main' into dev 2021-01-14 18:47:14 +01:00
Veronica K. Berglyd Olsen
d63da05e87 Merge pull request #559 from vkbo/fix_clear_treemeta
Backport from 1.1: clear project tree meta panel on close
2021-01-14 18:45:36 +01:00
Veronica K. B. Olsen
dece58faf6 Backport from 1.1: clear project tree meta panel on close 2021-01-14 18:36:39 +01:00
Veronica K. B. Olsen
0bfc166899 Added a few buttons below the project tree now that the tabs make room for it 2021-01-14 18:31:27 +01:00
Veronica K. B. Olsen
3bc8006028 Some minor improvements to the Project Detals dialog 2021-01-13 23:52:48 +01:00
Veronica K. B. Olsen
f6b7a35c81 Add some more unicode constants and rename thin non-breaking space variable 2021-01-13 23:52:09 +01:00
Veronica K. B. Olsen
5f17b28e05 Remove old details panel in Project Settings 2021-01-13 23:51:24 +01:00
Veronica K. B. Olsen
138099f11d Merge branch 'dev' into project_details 2021-01-11 21:21:16 +01:00
Veronica K. B. Olsen
beb425bbd0 Merge branch 'main' into dev 2021-01-11 21:19:56 +01:00
Veronica K. Berglyd Olsen
b5631aa1df Merge pull request #558 from vkbo/index_note_bug
Duplicate index entry issue
2021-01-11 21:16:14 +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
b5e11f2303 Added more info to the forst tab of the Project Details dialog 2021-01-11 19:47:42 +01:00
Veronica K. Berglyd Olsen
6a159aa631 Merge pull request #557 from vkbo/docs_spelling
Spelling, typo, and wording update of the docs
2021-01-10 18:56:53 +01:00
Veronica K. B. Olsen
4b14a4bc50 Extend the texhnical doc to cover project meta data and cache 2021-01-10 18:52:23 +01:00
Veronica K. B. Olsen
2ca4b15154 Fix typos, grammars and improve wording of the docs 2021-01-10 18:30:58 +01:00
Veronica K. Berglyd Olsen
e02d602341 Merge pull request #553 from vkbo/release_1.0.1
Release 1.0.1
2021-01-10 16:04:16 +01:00
Veronica K. B. Olsen
8d218db35f Project Details page Overview populated 2021-01-10 15:54:36 +01:00
Veronica K. B. Olsen
f96d78e9b8 Contents tab now fully working 2021-01-10 15:09:34 +01:00
Veronica K. B. Olsen
28dd7e4ca7 Add Chapters tab to Project Details tool 2021-01-10 00:14:03 +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
f2b2952909 Added heading level 0 icon 2021-01-09 23:52:07 +01:00
Veronica K. B. Olsen
adc82bea85 Merge branch 'dev' into project_details 2021-01-09 22:25:57 +01:00
Veronica K. B. Olsen
778adc2f39 Merge branch 'main' into dev 2021-01-09 21:42:18 +01:00
Veronica K. B. Olsen
a92895d09d Update changelog and release notes 2021-01-09 20:40:09 +01:00
Veronica K. B. Olsen
dfb66cc41f Merge branch 'main' into release_1.0.1 2021-01-09 20:30:59 +01:00
Veronica K. Berglyd Olsen
065180e86c Merge pull request #554 from vkbo/doc_modified
Doc and Project Modified Status
2021-01-09 20:29:38 +01:00
Veronica K. B. Olsen
73cd7f7513 Improve doc changed checking and some code cleanup 2021-01-09 20:26:05 +01:00
Veronica K. B. Olsen
e2d5534959 Some minor code cleanup and redundant code removed 2021-01-09 20:21:32 +01:00
Veronica K. B. Olsen
a6cbdfc559 Fix initial setting of project word count 2021-01-09 20:07:09 +01:00
Veronica K. B. Olsen
7c643ea698 Make sure document edit status is not set on non-text changes 2021-01-09 19:53:42 +01:00
Veronica K. B. Olsen
39be3d0958 Merge branch 'main' into dev 2021-01-09 15:33:03 +01:00
Veronica K. B. Olsen
e693141f50 Bumped version to 1.0.1 and updated changelog 2021-01-07 22:31:58 +01:00
Veronica K. Berglyd Olsen
927dad4ff5 Merge pull request #552 from vkbo/edit_item_fix
Item Editor fixes
2021-01-07 21:38:47 +01:00
Veronica K. B. Olsen
885caa52db Code cleanup in the Item Settings constructor 2021-01-07 21:15:03 +01:00
Veronica K. B. Olsen
88776b4e00 Fix max length bug in Item Editor and let input boxes expand with dialog width 2021-01-06 22:09:20 +01:00
Veronica K. B. Olsen
8b963f3fe4 Use new novel class list to select status or importance list in Item Editor 2021-01-06 22:08:34 +01:00
Veronica K. B. Olsen
4a4ac1d6c8 Add a new constants class named nwLists 2021-01-06 21:53:42 +01:00
Veronica K. Berglyd Olsen
b5eef748b4 Merge pull request #551 from vkbo/install_instructions
Install instructions
2021-01-05 00:02:37 +01:00
Veronica K. B. Olsen
6ebe235dc3 Rewritten "Getting Started" section in the documentation 2021-01-04 23:58:57 +01:00
Veronica K. B. Olsen
bbde3159bb Updated install intructions in readme 2021-01-04 23:45:47 +01:00
Veronica K. B. Olsen
7e65aea6d9 Connected new dialog to menu 2021-01-03 21:46:53 +01:00
Veronica K. B. Olsen
e377675897 Added basic project details dialog 2021-01-03 18:14:00 +01:00
Veronica K. Berglyd Olsen
c3d40c9fb9 Merge pull request #538 from vkbo/novel_tab
Novel Tree Tab [v1.1]
2021-01-03 17:23:25 +01:00
Veronica K. B. Olsen
5efc61b155 Updated changelog 2021-01-03 17:21:06 +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
b6e18e70bc Merge branch 'main' into dev 2021-01-03 17:14:16 +01:00
Veronica K. Berglyd Olsen
1496d9d931 Merge pull request #550 from vkbo/update_status
Update status of novelWriter to stable, from beta
2021-01-03 17:00:52 +01:00
Veronica K. B. Olsen
e0e35f5abf Update status of novelWriter to stable, from beta 2021-01-03 16:47:30 +01:00
Veronica K. Berglyd Olsen
e6a4a6c882 Merge pull request #547 from vkbo/release_1.0
Release 1.0
2021-01-03 16:39:02 +01:00
Veronica K. B. Olsen
24f0f99c84 Updated changelog with last fixes 2021-01-03 15:22:38 +01:00
Veronica K. B. Olsen
418d45cd8d Merge branch 'main' into release_1.0 2021-01-03 15:12:56 +01:00
Veronica K. Berglyd Olsen
9253872b5b Merge pull request #549 from vkbo/fixes
Minor Fixes
2021-01-03 15:12:30 +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
89b6b26d5a Ensure outline tree items don't end up under the wrong parent item 2021-01-03 01:45:37 +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
0b7e4d594e Fix a minor issue in the outline details class 2021-01-02 22:34:52 +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
a57e8f3a5d Remove GUI block in test 2021-01-02 22:05:17 +01:00
Veronica K. B. Olsen
4cb86b76e8 Add test of novel tree 2021-01-02 22:04:25 +01:00
Veronica K. B. Olsen
24f9511726 Prevent items from ending up in the wrong order in outline and novel tree 2021-01-02 22:04:08 +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
21d91193a2 Keep project tree and outline tree in sync 2021-01-02 17:33:53 +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
ad5f3f2450 Merge branch 'dev' into novel_tab 2021-01-02 13:18:08 +01:00
Veronica K. B. Olsen
a84fc734ff Merge branch 'main' into dev 2021-01-02 13:17:39 +01:00
Veronica K. B. Olsen
b9e28a5f09 Updated changelog and release notes 2021-01-02 02:41:08 +01:00
Veronica K. B. Olsen
57636a31ce Merge branch 'main' into release_1.0 2021-01-02 02:26:48 +01:00
Veronica K. Berglyd Olsen
9a4b357bcd Merge pull request #548 from vkbo/update_docs
Updated Documentation
2021-01-01 21:37:57 +01:00
Veronica K. B. Olsen
a9b5d96d65 Further docs edits 2021-01-01 21:23:41 +01:00
Veronica K. B. Olsen
8ad2da30ca Updated the remaining sections of the docs 2021-01-01 19:44:17 +01:00
Veronica K. B. Olsen
92f44f0aaa Updated the introduction section of the docs 2021-01-01 18:37:11 +01:00
Veronica K. B. Olsen
b2d3b2cf72 Bump copyright year to 2021 2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen
2fdc840fa6 Bump version to 1.0 2021-01-01 15:12:46 +01:00
Veronica K. B. Olsen
3d5a5e4d86 Selecting outline item should also select it in project tree 2021-01-01 15:08:11 +01:00
Veronica K. Berglyd Olsen
176c25004c Merge pull request #544 from gedakc/fix-typos-and-grammar-in-docs
Fix minor grammar and typo issues in documentation
2020-12-24 00:22:24 +01:00
Curtis Gedak
962409a9b3 Fix minor grammar and typo issues in documentation 2020-12-23 13:58:46 -07:00
Veronica K. B. Olsen
2d14a74ec2 Merge branch 'main' into dev 2020-12-21 21:51:35 +01:00
Veronica K. B. Olsen
942a604b5b Merge branch 'main' into novel_tab 2020-12-21 21:51:17 +01:00
Veronica K. Berglyd Olsen
11c75c9905 Merge pull request #543 from vkbo/orphaned_files
Orphaned files handling
2020-12-21 21:49:07 +01:00
Veronica K. B. Olsen
a881fb8bd7 Update docs 2020-12-21 21:41:26 +01:00
Veronica K. B. Olsen
fa319391c0 Remove some now redundant checks 2020-12-21 21:25:04 +01:00
Veronica K. B. Olsen
d008113eec Remove some more test flags in the main code 2020-12-21 21:08:49 +01:00
Veronica K. B. Olsen
6ad132e12d Clean up the logic of creating new project tree items, and improve test coverage 2020-12-21 21:08:13 +01:00
Veronica K. B. Olsen
4509545214 Some minor cleanup and fixes 2020-12-21 11:03:47 +01:00
Veronica K. B. Olsen
dc16077205 Fix test 2020-12-21 01:42:57 +01:00
Veronica K. B. Olsen
414f4d3a6e Remove code related to orphaned files 2020-12-21 01:39:18 +01:00
Veronica K. B. Olsen
6a188a5906 Orphaned files are now put back in the tree, or rejected if nowhere to put them 2020-12-21 01:28:19 +01:00
Veronica K. B. Olsen
1ea12fedb9 Don't force string format on file meta data (must be able to handle NoneType) 2020-12-20 22:08:27 +01:00
Veronica K. B. Olsen
cf3350c6b6 Trash and Orphaned folders shouldn't be editable 2020-12-20 22:07:10 +01:00
Veronica K. B. Olsen
e5ea8074d2 Copy the mouse press behaviour from the project tree to the novel tree 2020-12-20 17:18:54 +01:00
Veronica K. B. Olsen
2779c8e69f Use build time to update novel tree, and restore last selected item on tab change 2020-12-20 16:50:01 +01:00
Veronica K. B. Olsen
1d12014399 The basic functionality of the novel tree view is now in place 2020-12-20 16:27:42 +01:00
Veronica K. B. Olsen
d4b26025ed Add the basic structure for a novel tree 2020-12-20 15:50:01 +01:00
Veronica K. B. Olsen
597f177d5b Bump version for next stage of dev branch to 1.1 alpha 0 2020-12-20 14:40:25 +01:00
Veronica K. Berglyd Olsen
8435d866ca Merge pull request #535 from vkbo/minor_fixes
Minor Fixes
2020-12-20 14:30:59 +01:00
Veronica K. Berglyd Olsen
d16f7e0941 Merge branch 'main' into minor_fixes 2020-12-20 14:25:48 +01:00
Veronica K. B. Olsen
fa6b7d0d42 Wrong reason stated in flake8 listing 2020-12-20 00:01:07 +01:00
Veronica K. Berglyd Olsen
a5715e76c4 Merge pull request #537 from gedakc/fix-typos-in-contributions
Fix minor typos in Contributing guidelines
2020-12-19 23:54:19 +01:00
Veronica K. B. Olsen
299998e8ff Update flake8 settings in CONTRIBUTING file to those currently in use 2020-12-19 23:50:50 +01:00
Curtis Gedak
4e90f82af3 Fix minor typos in Contributing guidelines 2020-12-19 14:36:05 -07:00
Veronica K. B. Olsen
8d71ee30d4 Use the main gui askQuestion function for yes/no dialogs 2020-12-19 20:21:43 +01:00
Veronica K. B. Olsen
5b746af4bd Merge branch 'tree_menu_move_item' into minor_fixes 2020-12-18 21:58:15 +01:00
Veronica K. B. Olsen
885c62990a Add move item up and down to the project tree context menu 2020-12-18 21:57:46 +01:00
Veronica K. B. Olsen
d9cccc8752 The Writing Stats tool should not pop an error message if there is no satistics log 2020-12-17 18:52:56 +01:00
Veronica K. B. Olsen
1d9c4430f7 Correct placeholder text in Build Novel Project tool 2020-12-17 18:50:37 +01:00
Veronica K. Berglyd Olsen
0e8cb1059f Merge pull request #534 from vkbo/readme_line_len
Apply max line length to markdown files
2020-12-16 23:25:43 +01:00
Veronica K. B. Olsen
b5caba6ecf Also re-wrap the readme files 2020-12-16 23:24:00 +01:00
Veronica K. B. Olsen
f78b491849 Wrapped changelog lines to <= 99 characters 2020-12-16 23:17:53 +01:00
Veronica K. Berglyd Olsen
81347d370d Merge pull request #532 from vkbo/distraction_free_mode_toggle
Fix the Focus Mode checkbox not updating in the menu
2020-12-13 20:17:55 +01:00
Veronica K. B. Olsen
9a5f87073f Fix the Focus Mode checkbox not updating in the menu 2020-12-13 20:10:24 +01:00
Veronica K. Berglyd Olsen
939cc80851 Merge pull request #504 from vkbo/release_1.0rc2
Release 1.0 RC2
2020-12-13 16:00:05 +01:00
Veronica K. B. Olsen
5067d75fa0 Added release notes 2020-12-13 15:57:23 +01:00
Veronica K. B. Olsen
0c15fffd9c Updated changelog 2020-12-12 19:36:44 +01:00
Veronica K. B. Olsen
3aa68907e4 Merge branch 'main' into release_1.0rc2 2020-12-12 19:35:15 +01:00
Veronica K. Berglyd Olsen
30c2d3a3dc Merge pull request #527 from vkbo/refactor_gui_tests
Refactor and Extend GUI Tests
2020-12-12 19:33:18 +01:00
Veronica K. B. Olsen
27696d65e4 Remove some unnecessary branches and unused functions 2020-12-12 19:22:38 +01:00
Veronica K. B. Olsen
585287b487 Reorganise remainin GUI tests, but no improved coverage 2020-12-12 18:58:05 +01:00
Veronica K. B. Olsen
325c8dc68d Split up the main gui test file 2020-12-12 17:39:28 +01:00
Veronica K. B. Olsen
c37d4013f8 Refactored build, merge, split, and item editor tests 2020-12-12 16:56:15 +01:00
Veronica K. B. Olsen
9eb8158c36 Separated out about test and updated it 2020-12-12 15:59:35 +01:00
Veronica K. B. Olsen
e258ff60d0 Separated out project settings test and updated it 2020-12-12 15:51:03 +01:00
Veronica K. B. Olsen
70eadd11cb Separated out writing stats test and updated it 2020-12-12 14:44:33 +01:00
Veronica K. B. Olsen
a270de6e4e Updated changelog 2020-12-12 11:52:06 +01:00
Veronica K. B. Olsen
64154286e0 Merge branch 'main' into release_1.0rc2 2020-12-12 11:32:22 +01:00
Veronica K. Berglyd Olsen
22cb1669e1 Merge pull request #526 from vkbo/github_templates
Updated the GitHub templates
2020-12-12 10:19:48 +01:00
Veronica K. B. Olsen
0fdee99227 Updated the github templates 2020-12-12 10:19:05 +01:00
Veronica K. Berglyd Olsen
56cf3418ff Merge pull request #522 from vkbo/issue521_move_item_crash
Issue 521: Move Tree Item Crash
2020-12-09 23:27:22 +01:00
Veronica K. B. Olsen
15c5ffcb76 Break up another nested if statement 2020-12-09 23:22:15 +01:00
Veronica K. B. Olsen
c2321c502f Ensure that the moveTreeItem function exits properly if no item to be moved is selected 2020-12-09 23:19:02 +01:00
Veronica K. Berglyd Olsen
e129319faa Merge pull request #520 from vkbo/add_discussions_link
Add the GitHub Discussions link to the Help menu
2020-12-09 10:09:13 +01:00
Veronica K. B. Olsen
5108c03fec Add the GitHub Discussions link to the Help menu 2020-12-09 10:03:44 +01:00
Veronica K. Berglyd Olsen
d5a6683c26 Merge pull request #519 from vkbo/issue517_new_files_in_outtakes
Allow creating files in the 'Outtakes' root folder
2020-12-09 09:43:52 +01:00
Veronica K. B. Olsen
e12c41d7e7 Clarify docstring of project tree context menu filterAction 2020-12-09 09:26:21 +01:00
Veronica K. B. Olsen
8ea153da54 Allow creating files in the 'Outtakes' root folder 2020-12-09 09:21:37 +01:00
Veronica K. Berglyd Olsen
dc0be12084 Merge pull request #516 from vkbo/gui_fixes
GUI Changes
2020-12-08 17:44:35 +01:00
Veronica K. B. Olsen
cd675b23d1 Change some preferences help lines 2020-12-08 17:41:09 +01:00
Veronica K. B. Olsen
9ffb5e6a16 Add grey syntax themes and fix automatic update when changing them 2020-12-08 17:33:34 +01:00
Veronica K. B. Olsen
5cc6e4c543 Update text on About and Preferences dialogs 2020-12-08 17:32:42 +01:00
Veronica K. Berglyd Olsen
1572778761 Merge pull request #514 from vkbo/base_tests
Refactor Base Tests
2020-12-08 00:03:47 +01:00
Veronica K. B. Olsen
1469953b5e Updated test README 2020-12-07 23:45:14 +01:00
Veronica K. B. Olsen
330ee77e58 Fix flake8 fail 2020-12-07 23:39:54 +01:00
Veronica K. B. Olsen
9772c85ece Rewritten Config class test 2020-12-07 23:34:12 +01:00
Veronica K. B. Olsen
a4ee1e112c Updated and extended the testing of the main function 2020-12-07 20:00:58 +01:00
Veronica K. B. Olsen
ee7a5e1681 Moved the launch test from main to init 2020-12-06 13:27:31 +01:00
Veronica K. B. Olsen
cdeee65505 Also remove the gui blocking from the error handler 2020-12-06 13:21:47 +01:00
Veronica K. B. Olsen
33c2dda471 Cleaned up error tests and removed testmode from error handler 2020-12-06 13:01:49 +01:00
Veronica K. B. Olsen
730b572d4f Updated the Common tests to new format 2020-12-06 12:46:10 +01:00
Veronica K. B. Olsen
7c95e6dffa Updated existing Error test 2020-12-06 01:06:37 +01:00
Veronica K. B. Olsen
d70ee34429 Rename project test reference files 2020-12-06 00:29:38 +01:00
Veronica K. Berglyd Olsen
d0979d693b Merge pull request #512 from vkbo/refactor_tests
Rewrite Core Tests
2020-12-06 00:17:27 +01:00
Veronica K. B. Olsen
bd9ed0d5d3 Fix testCoreProject_Methods test on Windows 2020-12-05 21:24:19 +01:00
Veronica K. B. Olsen
51cb9814d2 Rename GUI test files 2020-12-05 21:10:34 +01:00
Veronica K. B. Olsen
d274c418d1 Remove nwFuncTemp fixture 2020-12-05 21:08:42 +01:00
Veronica K. B. Olsen
c353e9ffb1 Updated and new tests for NWProject class 2020-12-05 21:06:57 +01:00
Veronica K. B. Olsen
c17d4de0a5 Remove QMessageBox dependency in NWProject class 2020-12-05 19:13:36 +01:00
Veronica K. B. Olsen
57397fa2bc Updated existing NWProject tests 2020-12-04 21:28:35 +01:00
Veronica K. B. Olsen
91ece2b7f2 New test for ToHtml class 2020-12-04 20:58:44 +01:00
Veronica K. B. Olsen
b687ffe696 New test for Tokenizer class 2020-12-04 00:46:29 +01:00
Veronica K. B. Olsen
0cb36c02f3 New test for NWStatus class 2020-12-03 20:22:22 +01:00
Veronica K. B. Olsen
c7c70a35a0 Updated tests for NWSpell* classes 2020-12-03 18:37:52 +01:00
Veronica K. B. Olsen
c13bd18271 Remove nw prefix from common test files 2020-12-03 17:39:42 +01:00
Veronica K. B. Olsen
fba4d5d04d New test for OptionsState class 2020-12-01 23:27:29 +01:00
Veronica K. B. Olsen
7ec43e42fd Fix flake8 and windows test 2020-12-01 22:32:48 +01:00
Veronica K. B. Olsen
8cc6fa6030 New test for NWDoc class 2020-12-01 22:19:18 +01:00
Veronica K. B. Olsen
2018d44ba8 Some changes to fixtures and added tests README 2020-12-01 21:00:31 +01:00
Veronica K. B. Olsen
afea7b66bd Rename nwRef to refDir 2020-12-01 10:50:41 +01:00
Veronica K. B. Olsen
deededb0d9 Updated NWIndex tests 2020-12-01 10:49:06 +01:00
Veronica K. B. Olsen
2c0eaeb557 Fix old tests 2020-12-01 10:23:35 +01:00
Veronica K. B. Olsen
b4b359475d Revert some changes to the NWTree.append class 2020-12-01 09:41:56 +01:00
Veronica K. B. Olsen
2a642ea405 New test for NWTree class 2020-12-01 01:15:06 +01:00
Veronica K. B. Olsen
dd943116af New test for core tools functions 2020-11-30 22:46:55 +01:00
Veronica K. B. Olsen
6a1dc8b5ae New test for NWItem class 2020-11-30 22:28:01 +01:00
Veronica K. Berglyd Olsen
78c738c5ab Merge pull request #511 from vkbo/tweaks
Release Tweaks
2020-11-29 20:16:07 +01:00
Veronica K. B. Olsen
f943b956f0 Remove windows line endings from SVG files 2020-11-29 17:01:25 +01:00
Veronica K. B. Olsen
eb35e4d642 Cleanup and registry fixes for mime icon 2020-11-29 16:24:35 +01:00
Veronica K. B. Olsen
d3fa849dee Add mime icon and setting to windows build 2020-11-29 15:58:52 +01:00
Veronica K. B. Olsen
df29c71ecb Minor changes to the Help menu 2020-11-29 12:27:46 +01:00
Veronica K. Berglyd Olsen
6c78594e82 Merge pull request #508 from vkbo/latest_release
Release Notes
2020-11-24 20:14:55 +01:00
Veronica K. Berglyd Olsen
1b0e64dacb Merge branch 'main' into latest_release 2020-11-24 20:09:52 +01:00
Veronica K. Berglyd Olsen
e398e233d1 Merge pull request #509 from vkbo/menu_updates
Menu Updates
2020-11-24 19:55:09 +01:00
Veronica K. B. Olsen
36db4b5d59 A few minor updates to the main menu 2020-11-24 19:13:31 +01:00
Veronica K. B. Olsen
b28556cd40 Fix broken test 2020-11-24 18:51:20 +01:00
Veronica K. B. Olsen
434a0c6056 Updated release notes 2020-11-24 18:48:32 +01:00
Veronica K. B. Olsen
1510a5af74 Fix and update tests 2020-11-24 18:36:30 +01:00
Veronica K. B. Olsen
00f6277eb7 Add config option and set up menu action 2020-11-24 18:36:08 +01:00
Veronica K. B. Olsen
12c2d93968 Added release notes from website 2020-11-23 13:05:53 +01:00
Veronica K. B. Olsen
41bbd7b259 Added releases URL 2020-11-23 12:48:08 +01:00
Veronica K. B. Olsen
6921070ed6 Updated sample project 2020-11-21 15:36:00 +01:00
Veronica K. B. Olsen
73eb2e474d Bump version and updated changelog for 1.0 RC2 release 2020-11-21 15:35:26 +01:00
Veronica K. Berglyd Olsen
5715247de9 Merge pull request #503 from vkbo/issue501_insert_kewords
Issue #501: Insert Keywords from Menu
2020-11-21 15:25:29 +01:00
Veronica K. B. Olsen
75ef523bc5 Updated docs and clarified a insert menu entry 2020-11-21 15:22:13 +01:00
Veronica K. B. Olsen
22d268c6e1 Add test coverage for keyword insert feature 2020-11-21 15:16:18 +01:00
Veronica K. B. Olsen
108b99f99b Improve the insert keyword feature when in the middle of a paragraph 2020-11-21 15:16:02 +01:00
Veronica K. B. Olsen
6087506cf0 Split insert menu into groups, and add keywords to distraction free mode 2020-11-21 14:51:37 +01:00
Veronica K. B. Olsen
67063e089c Added insert menu entries for keywords 2020-11-21 14:46:01 +01:00
Veronica K. Berglyd Olsen
6d630d3a1b Merge pull request #502 from vkbo/issue499_editor_scaling
High DPI Header & Footer Scaling
2020-11-21 13:47:23 +01:00
Veronica K. B. Olsen
a70d14b589 Fix scaling of item editor margins on high DPI 2020-11-21 13:42:27 +01:00
Veronica K. B. Olsen
f7bd793d93 Fix scaling of QSwitch on high DPI 2020-11-21 13:30:26 +01:00
Veronica K. B. Olsen
0b065ea76b Fixed high DPI issue in QConfigLayout class 2020-11-21 13:16:50 +01:00
Veronica K. B. Olsen
ba0658ed48 Force a minimum height for document headers and footers 2020-11-21 13:10:52 +01:00
Veronica K. Berglyd Olsen
562ca919e0 Merge pull request #488 from vkbo/release_1.0rc1
Release 1.0 RC 1
2020-11-16 19:51:42 +01:00
Veronica K. B. Olsen
e7ffff12b3 Set release date and make some clarifications in the changelog 2020-11-16 19:48:49 +01:00
Veronica K. B. Olsen
c3696f5425 Postpone release ill next weekend and update changelog 2020-11-08 18:19:12 +01:00
Veronica K. B. Olsen
b4d6626b2d Merge branch 'main' into release_1.0rc1 2020-11-08 18:11:50 +01:00
Veronica K. Berglyd Olsen
95c25dec40 Merge pull request #495 from vkbo/close_dialog
Clarify the dialog messages when closing a project or novelWriter
2020-11-08 00:44:27 +01:00
Veronica K. B. Olsen
18bc4fb520 Clarify the dialog messages when closing a project or novelWriter 2020-11-08 00:41:04 +01:00
Veronica K. Berglyd Olsen
1910463e8f Merge pull request #493 from vkbo/remove_toc_json
Remove ToC.json
2020-11-03 21:38:41 +01:00
Veronica K. B. Olsen
bc87337b35 Remove unused import 2020-11-03 21:35:51 +01:00
Veronica K. B. Olsen
aed0af8772 Remove commented out code 2020-11-03 21:20:03 +01:00
Veronica K. B. Olsen
82a5fdb796 Updated docs 2020-11-03 21:17:06 +01:00
Veronica K. B. Olsen
b79f485af0 Remove the ToC.json file and change the format of the ToC.txt file a little 2020-11-03 21:11:40 +01:00
Veronica K. Berglyd Olsen
342d6a07c0 Merge pull request #492 from vkbo/fixes
Action fixes for no project or document open
2020-11-01 18:47:49 +01:00
Veronica K. B. Olsen
ccc119ed8b Fixed test 2020-11-01 18:40:35 +01:00
Veronica K. B. Olsen
2a0be718d7 Added more checks on actions for project or document being open 2020-11-01 18:39:12 +01:00
Veronica K. B. Olsen
98be2bd5b4 Block a bunch more main GUI actions when no project is open 2020-11-01 18:25:00 +01:00
Veronica K. B. Olsen
f35b1c0ad6 Don't allow inserts when no document is open 2020-11-01 18:14:43 +01:00
Veronica K. B. Olsen
ea5bab31e6 Update changelog and change release date 2020-11-01 17:13:40 +01:00
Veronica K. B. Olsen
42e55b8e49 Merge branch 'main' into release_1.0rc1 2020-11-01 17:08:44 +01:00
Veronica K. Berglyd Olsen
4102f5cc97 Merge pull request #491 from vkbo/clear_outline
Clear the outline details panel when closing a project
2020-10-31 19:44:09 +01:00
Veronica K. B. Olsen
967037ff89 Clear the outline details panel when closing a project 2020-10-31 17:49:32 +01:00
Veronica K. Berglyd Olsen
6650333143 Merge pull request #489 from vkbo/gui_tweaks
GUI Tweaks
2020-10-29 19:41:31 +01:00
Veronica K. B. Olsen
90ed47b836 Make the setup script a bit more helpful! 2020-10-29 13:00:38 +01:00
Veronica K. B. Olsen
805161ff71 Fixed typos and grammar in the changelog 2020-10-27 22:14:15 +01:00
Veronica K. B. Olsen
e2ab9ed6cf All constants should be upper case 2020-10-27 20:36:04 +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
91e2092674 Move the spell check class constants to the nwConst class 2020-10-27 20:21:39 +01:00
Veronica K. B. Olsen
6e029f56a4 Remove line endings from logged ignored doc meta lines 2020-10-25 14:51:15 +01:00
Veronica K. B. Olsen
42700a2325 More sensible default values for tree column widths 2020-10-25 14:31:23 +01:00
Veronica K. B. Olsen
02b79248ec Make build panels non-collapsible and fix spacing values 2020-10-25 14:22:44 +01:00
Veronica K. B. Olsen
cde0d6dff5 Only run word counter when a document is open 2020-10-25 14:14:40 +01:00
Veronica K. B. Olsen
5aaafa45c8 Updated changelog 2020-10-25 11:40:03 +01:00
Veronica K. B. Olsen
1ab57e4bc2 Bumped version to 1.0 rc1 2020-10-25 11:26:24 +01:00
Veronica K. Berglyd Olsen
d5ec44a2b8 Merge pull request #487 from vkbo/fix_syntax_theme_switch
Fix Syntax Theme Switching
2020-10-25 11:23:29 +01:00
Veronica K. B. Olsen
a07bfec433 Palette no longer needs to be a class variable in headers and footers 2020-10-25 11:18:02 +01:00
Veronica K. B. Olsen
5edee1be0b Also update colours on headers and footers 2020-10-25 11:14:04 +01:00
Veronica K. B. Olsen
dbab60d064 Properly update document colours when switching syntax theme 2020-10-25 10:57:20 +01:00
Veronica K. B. Olsen
f23294c898 Change badge order 2020-10-24 19:36:06 +02:00
Veronica K. Berglyd Olsen
6bebe673fe Merge pull request #461 from vkbo/python_39
Adding Python 3.9 Workflow
2020-10-24 19:34:58 +02:00
Veronica K. B. Olsen
f504287aef Add Python 3.9 badge to main README 2020-10-24 19:31:32 +02:00
Veronica K. B. Olsen
0545bc6557 Update python 3.9 coverage now that lxml supports it 2020-10-24 19:27:48 +02:00
Veronica K. B. Olsen
9d5b542603 Merge branch 'main' into python_39 2020-10-24 19:26:44 +02:00
Veronica K. Berglyd Olsen
39a502cadd Merge pull request #486 from vkbo/doc_meta
Change Document Meta Format
2020-10-24 19:24:54 +02:00
Veronica K. B. Olsen
f083ada3b3 Add coverage of else condition in doc meta parser 2020-10-24 19:13:39 +02:00
Veronica K. B. Olsen
de8ee126cf Add some debug output to the document meta parser 2020-10-24 19:08:26 +02:00
Veronica K. B. Olsen
79d345e0f8 Updated sample project 2020-10-24 18:57:22 +02:00
Veronica K. B. Olsen
538009eff6 Updated tests 2020-10-24 18:56:01 +02:00
Veronica K. B. Olsen
a9b264227a Merge branch 'main' into doc_meta 2020-10-24 18:32:49 +02:00
Veronica K. Berglyd Olsen
90f885b5ac Merge pull request #485 from vkbo/code_improvements
Code Improvements
2020-10-24 18:32:30 +02:00
Veronica K. B. Olsen
f13bd87702 Allow more than one meta data line in documents, and split the current line into three 2020-10-24 18:31:18 +02:00
Veronica K. Berglyd Olsen
0c4bbc4a82 Merge branch 'main' into code_improvements 2020-10-24 18:01:00 +02:00
Veronica K. B. Olsen
8d31428a9d Improve a few functions in common and item 2020-10-24 17:54:02 +02:00
Veronica K. B. Olsen
3b14aacc0f Fix icon link 2020-10-24 12:06:42 +02:00
Veronica K. B. Olsen
c0ad631039 Updated source file descriptions 2020-10-23 21:05:41 +02:00
Veronica K. B. Olsen
8db7c17798 Drop using formatting a few places where it isn't necessary 2020-10-23 20:56:44 +02:00
Veronica K. B. Olsen
170c2dc19c Added a new formatTime function to common, and replaced similar functions in other classes 2020-10-23 20:26:29 +02:00
Veronica K. Berglyd Olsen
78a0a595b9 Merge pull request #484 from vkbo/xdg-install
XDG Install
2020-10-22 23:04:45 +02:00
Veronica K. B. Olsen
bfcbf66044 Some minor tweaks of the xdg install 2020-10-22 23:00:06 +02:00
Veronica K. B. Olsen
299b8cde1b Update readmes with the XDG changes 2020-10-22 22:40:54 +02:00
Veronica K. B. Olsen
56cbf86df4 Flake8 tag 2020-10-22 22:34:31 +02:00
Veronica K. B. Olsen
92610ca88a Move the import of setuptools to where it's used 2020-10-22 22:33:32 +02:00
Veronica K. B. Olsen
eca2869894 Install launcher and icons the right way 2020-10-22 22:25:44 +02:00
Veronica K. Berglyd Olsen
dfbbdf10f6 Merge pull request #483 from vkbo/json_format
JSON File Changes
2020-10-21 20:32:15 +02:00
Veronica K. B. Olsen
20e44ad7ae Update tests 2020-10-21 20:06:08 +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
f69c37fe91 Cleanup of document viewer stylesheet 2020-10-19 23:46:15 +02:00
Veronica K. Berglyd Olsen
8a8644804b Merge pull request #482 from vkbo/typewriter_mode
Updated Typewriter Mode
2020-10-18 20:06:31 +02:00
Veronica K. B. Olsen
eed349ab85 Added more comments and tweaked the scroll features 2020-10-18 19:56:24 +02:00
Veronica K. B. Olsen
dc4257bbf4 Renamed the typewriter config settings 2020-10-18 19:37:32 +02:00
Veronica K. B. Olsen
8e222c1e67 Change typewriter mode to scroll at any point 2020-10-18 19:25:12 +02:00
Veronica K. Berglyd Olsen
7473c4272a Merge pull request #477 from vkbo/release_1.0rc1
Release 1.0 Beta 5
2020-10-18 14:41:53 +02:00
Veronica K. B. Olsen
947f5b79de This will be beta 5 release instead 2020-10-18 11:58:44 +02:00
Veronica K. B. Olsen
b54527e9a5 Updated changelog with latest changes 2020-10-18 11:53:44 +02:00
Veronica K. B. Olsen
89a2d8db74 Merge branch 'main' into release_1.0rc1 2020-10-18 11:45:37 +02:00
Veronica K. B. Olsen
50cc135dde Fixed lots of top-of-file docstrings that were out of date 2020-10-17 23:46:54 +02:00
Veronica K. B. Olsen
4584a4b8b4 Renamed setup/BUILD.md to setup/README.md 2020-10-17 23:35:33 +02:00
Veronica K. B. Olsen
3045275ab5 Updated the main docstrings in the setup and make scripts 2020-10-17 17:45:34 +02:00
Veronica K. B. Olsen
95db7faf8a Fixed wrong heading type 2020-10-17 17:32:07 +02:00
Veronica K. Berglyd Olsen
b63891a7c5 Merge pull request #480 from vkbo/setup
Setup and Install
2020-10-17 17:28:47 +02:00
Veronica K. B. Olsen
2ffca7db48 Updated and cleaned up the readme 2020-10-17 17:26:04 +02:00
Veronica K. B. Olsen
139293b21c Added a launcher option to setup.py, and updated documentation 2020-10-17 16:58:47 +02:00
Veronica K. B. Olsen
3378b387cf Reduce size of freeze build and added more documentation 2020-10-17 15:52:40 +02:00
Veronica K. B. Olsen
614572ca80 Minor modifications to make.py, and made Inno Setyp 64 bit 2020-10-17 15:05:58 +02:00
Veronica K. B. Olsen
db2eb98c27 Minor changes to the windows inno setup 2020-10-17 14:09:32 +02:00
Veronica K. B. Olsen
a20296cded Rnamed make_windows.py to make.py, and deleted install.py 2020-10-17 13:57:19 +02:00
Veronica K. B. Olsen
f0adc59d4c Rewritten make_windows.py script 2020-10-17 13:56:27 +02:00
Veronica K. B. Olsen
3b63dd49dc Cleanup of the setup script 2020-10-17 13:03:32 +02:00
Veronica K. B. Olsen
a5201d79cb Fix typo 2020-10-17 01:46:50 +02:00
Veronica K. B. Olsen
ede9d034c7 Make sample.zip before pyinstaller runs, and make sure the make_windows script is windows only 2020-10-17 01:43:47 +02:00
Veronica K. B. Olsen
0665b9b032 Added temp iss file to gitignore, and fiex a bug in windows make 2020-10-17 01:30:13 +02:00
Veronica K. B. Olsen
115cef3ffb Added more comments to windows script 2020-10-17 01:05:49 +02:00
Veronica K. B. Olsen
70086f5ca6 Added python and iss script for making setup.exe releases on Windows 2020-10-17 00:58:48 +02:00
Veronica K. B. Olsen
403066a83f Moe settings from setup.py to setup.cfg, and add pyproject.toml 2020-10-16 18:53:29 +02:00
Veronica K. Berglyd Olsen
7a25186634 Merge pull request #479 from vkbo/gnome_setup
Gnome Setup
2020-10-16 17:19:25 +02:00
Veronica K. B. Olsen
0888bd70e1 Renamed the root assets folder to setup to avoid mixing it with nw/assets 2020-10-16 14:22:10 +02:00
Veronica K. B. Olsen
062ec44890 Some minor fixes to the debian and ubuntu install scripts 2020-10-16 14:11:02 +02:00
Veronica K. Berglyd Olsen
db13c96d04 Merge pull request #478 from vkbo/code_cleanup
Code Cleanup and Improvements
2020-10-15 22:57:32 +02:00
Veronica K. B. Olsen
487a116795 Removed some redundant parantheses 2020-10-15 22:52:16 +02:00
Veronica K. B. Olsen
7deee064d0 More improvements, mostly string formatting 2020-10-15 22:44:47 +02:00
Veronica K. B. Olsen
e0d15a882e Further improvements to the status bar clock 2020-10-15 20:56:09 +02:00
Veronica K. B. Olsen
bf7429f028 Update format statements and improve status bar clock 2020-10-15 20:33:10 +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
d973f28755 Code and comment cleanup in main GUI 2020-10-15 18:39:15 +02:00
Veronica K. B. Olsen
8e9fb58677 Swapped lines in source code 2020-10-15 17:43:58 +02:00
Veronica K. B. Olsen
bd9463fe58 Added version scheme comment to main package init file 2020-10-15 17:36:28 +02:00
Veronica K. B. Olsen
5f8e4b5316 Updated changelog 2020-10-15 14:39:23 +02:00
Veronica K. B. Olsen
4fdc0ba9db Bumped version and update changelog from last release 2020-10-15 10:07:53 +02:00
Veronica K. Berglyd Olsen
1ce2165717 Merge pull request #476 from vkbo/syntax
Syntax Highlighting of Strikethrough
2020-10-14 18:33:42 +02:00
Veronica K. B. Olsen
bf1f22e7dd Merge branch 'main' into syntax 2020-10-14 18:24:50 +02:00
Veronica K. Berglyd Olsen
55125491e4 Merge pull request #475 from vkbo/multipar_format
Formatting with mulitple paragraphs selected
2020-10-14 18:23:58 +02:00
Veronica K. B. Olsen
0dc07de77d Also handle multi-paragraph formatting for quotes 2020-10-14 18:20:41 +02:00
Veronica K. B. Olsen
1a0f37fa45 Rename the regex constants 2020-10-14 18:13:42 +02:00
Veronica K. B. Olsen
366d601983 Change the strikethrough colour to the color labelled as 'hidden' 2020-10-14 16:06:51 +02:00
Veronica K. B. Olsen
1c27a8e0da Minor fix to the select word and select all functions 2020-10-14 14:13:59 +02:00
Veronica K. B. Olsen
8d64a6672f Only apply format to the first block when multiple blocks are selected 2020-10-14 13:43:18 +02:00
Veronica K. Berglyd Olsen
1f957a2817 Merge pull request #474 from vkbo/editor_tweaks
Document Editor Tweaks
2020-10-13 22:57:10 +02:00
Veronica K. B. Olsen
25b77c91db Add 'Follow Tag' to the context meny when right clicking a tag, and disable spell check for it 2020-10-13 22:46:39 +02:00
Veronica K. B. Olsen
3fbe5e218c Make sure the scroll bar anim cannot go past 650 ms, and add a percentage of total to the line counter 2020-10-13 22:14:17 +02:00
Veronica K. B. Olsen
10e97a567b Make sure the scrolling effect is covered by test 2020-10-13 21:59:02 +02:00
Veronica K. B. Olsen
7d1e85c0d4 Animate the scroll bar movement when following cursor 2020-10-13 21:51:49 +02:00
Veronica K. Berglyd Olsen
3e26c926fa Merge pull request #472 from vkbo/build_qtversion_bug
Fix a bug in build tool for lower Qt versions
2020-10-13 20:31:12 +02:00
Veronica K. B. Olsen
2861f4be36 Fix a bug in build tool for lower Qt versions 2020-10-13 20:16:06 +02:00
Veronica K. Berglyd Olsen
9667a0a5de Merge pull request #470 from vkbo/python_version
Change Python minimal version to 3.6
2020-10-13 19:43:25 +02:00
Veronica K. B. Olsen
7c5a098cab Update docs 2020-10-13 19:37:53 +02:00
Veronica K. B. Olsen
e5b24e39ee Don't import nw in setup.py 2020-10-13 19:27:50 +02:00
Veronica K. B. Olsen
d2325c57a3 Change minimum Python version to 3.6 2020-10-13 11:00:13 +02:00
Veronica K. Berglyd Olsen
f3949dea40 Merge pull request #469 from vkbo/scroll_tweaks
Tweaks for the scrolling changes
2020-10-11 23:18:47 +02:00
Veronica K. B. Olsen
d0bda15b0a Change name of scroll position variable and fix calculation of it 2020-10-11 23:03:37 +02:00
Veronica K. B. Olsen
322be33ac4 Fix flake8 test 2020-10-11 22:53:38 +02:00
Veronica K. B. Olsen
c76c2df925 Simplify the typewriter mode 2020-10-11 22:52:06 +02:00
Veronica K. B. Olsen
77ec41a820 Make sure scroll past end margin cannot be negative 2020-10-11 21:43:26 +02:00
Veronica K. B. Olsen
9c75ed5b06 Leave scroll bar on build tool document, and don't scroll too far past end in doc editor 2020-10-11 21:39:42 +02:00
Veronica K. Berglyd Olsen
2990616a5c Merge pull request #468 from vkbo/scrolling
Scrolling Options
2020-10-11 21:27:53 +02:00
Veronica K. B. Olsen
870c5d8343 Fix flake8 test 2020-10-11 21:23:39 +02:00
Veronica K. B. Olsen
6ee326e716 Hardcode the values of the session stats log 2020-10-11 21:21:33 +02:00
Veronica K. B. Olsen
92c87872ad Try to fix writing stats test that keeps randomly failing 2020-10-11 20:58:45 +02:00
Veronica K. B. Olsen
5ff9cf43df Merge branch 'word_counts' into scrolling 2020-10-11 20:36:30 +02:00
Veronica K. B. Olsen
710ad598d9 Count words when saving editor text 2020-10-11 20:34:51 +02:00
Veronica K. B. Olsen
2382118dad Add test coverage of the new options 2020-10-11 20:18:58 +02:00
Veronica K. B. Olsen
ae8ec555fd Connected the new settings to the Preferences dialog 2020-10-11 20:13:39 +02:00
Veronica K. B. Olsen
fa55983f3a Split General tab in Preferences into General and Projects 2020-10-11 19:57:00 +02:00
Veronica K. B. Olsen
0c0ef6916b Save new config settings and update tests 2020-10-11 19:41:06 +02:00
Veronica K. B. Olsen
1234c9feb6 Attemt to scroll upwards like a typewriter 2020-10-11 18:21:49 +02:00
Veronica K. B. Olsen
fe71353198 Add option to hide scrollbars on all major GUI areas 2020-10-11 16:40:54 +02:00
Veronica K. B. Olsen
80e8788baa Added scroll past end feature by setting a large root frame margin of the document 2020-10-11 16:20:47 +02:00
Veronica K. B. Olsen
4a47be89de Setup script should fail when help docs build fails 2020-10-11 15:41:14 +02:00
Veronica K. Berglyd Olsen
ea4c5a8e49 Merge pull request #456 from vkbo/release_1.0b4
Release 1.0b4
2020-10-11 15:16:02 +02:00
Veronica K. B. Olsen
dee3972e3b Updated changelog 2020-10-11 15:13:22 +02:00
Veronica K. B. Olsen
3aaeffee5f Merge branch 'main' into release_1.0b4 2020-10-11 15:09:18 +02:00
Veronica K. Berglyd Olsen
549995cc2b Merge pull request #466 from vkbo/line_stats
Line Counter
2020-10-10 18:04:08 +02:00
Veronica K. B. Olsen
e9868744f4 Remove the total line count, and trigger the update *after* the key/mouse events 2020-10-10 17:58:22 +02:00
Veronica K. B. Olsen
7105cd637f Added line counter to document footer 2020-10-10 17:52:37 +02:00
Veronica K. B. Olsen
788bec4567 Added line status icons 2020-10-10 17:52:18 +02:00
Veronica K. B. Olsen
1f3d33c60a Updated changelog 2020-10-08 00:56:06 +02:00
Veronica K. B. Olsen
b20dada9af Merge branch 'main' into release_1.0b4 2020-10-08 00:14:23 +02:00
Veronica K. Berglyd Olsen
321b980c81 Merge pull request #464 from vkbo/gui_improvements
GUI Improvements (Integers)
2020-10-08 00:13:44 +02:00
Veronica K. B. Olsen
b40e4635d9 Further number formatting improvements 2020-10-08 00:06:17 +02:00
Veronica K. B. Olsen
214323fa6e Add spin cursor to build tool print, and add formatting to project tree words column 2020-10-07 23:50:34 +02:00
Veronica K. B. Olsen
d9b1363788 Use markContentsDirty when possible also for document viewer 2020-10-07 23:35:09 +02:00
Veronica K. Berglyd Olsen
22909b3390 Merge pull request #462 from vkbo/editor_features
Various Document Editor and Related Improvements
2020-10-07 20:58:21 +02:00
Veronica K. B. Olsen
014b970982 Change a few checks to use built-in features 2020-10-07 20:33:34 +02:00
Veronica K. B. Olsen
8bbdbde7ca Minor changes to document re-highlighting 2020-10-07 20:20:59 +02:00
Veronica K. B. Olsen
dc5da378ed Merge branch 'main' into editor_features 2020-10-07 19:32:56 +02:00
Veronica K. Berglyd Olsen
585be8fb57 Merge pull request #463 from vkbo/macos_improvements
Improvements mainly for macOS
2020-10-07 19:29:46 +02:00
Veronica K. B. Olsen
8e5664c9ae Minor changes to imort document feature 2020-10-07 19:26:38 +02:00
Veronica K. B. Olsen
e22f99cffb handle tuple returns from file dialog properly 2020-10-07 19:19:36 +02:00
Veronica K. B. Olsen
48742ceb0e Updated readme with more install information 2020-10-07 19:01:03 +02:00
Veronica K. B. Olsen
87baabeaa5 Minor fixes to dialogs, partially related to macOS 2020-10-07 18:38:43 +02:00
Veronica K. B. Olsen
357a407116 Fix the main menu look on macOS 2020-10-07 15:51:12 +02:00
Veronica K. B. Olsen
0c1aaecd78 Qt threading done right (thread pool for word counter) 2020-10-07 15:04:13 +02:00
Veronica K. B. Olsen
b6a4568254 Merge branch 'main' into better_spellcheck 2020-10-06 22:10:21 +02:00
Veronica K. B. Olsen
049392db8f Add dependencies for lxml for python 3.9 2020-10-06 20:53:35 +02:00
Veronica K. B. Olsen
0d9f2f2ae9 Use setup-python v2 2020-10-06 20:46:58 +02:00
Veronica K. B. Olsen
a77b30b93f Python 3.9 action 2020-10-06 20:42:22 +02:00
Veronica K. Berglyd Olsen
68d84ae2c8 Merge pull request #460 from vkbo/editor_performance
Editor Performance Improvements
2020-10-06 20:41:13 +02:00
Veronica K. B. Olsen
bd33b28d2d Fix dialog test method and make appropriate changes to the project load tool 2020-10-06 20:34:12 +02:00
Veronica K. B. Olsen
8d66875ebc Performance improvements to Build and Writing Stats, and making sure only one of each can be opened 2020-10-06 20:28:00 +02:00
Veronica K. B. Olsen
23d5e33864 Added large size handling to build tool 2020-10-06 14:29:33 +02:00
Veronica K. B. Olsen
3893892927 Enforce a maximum document size of the document editor of 5 MB 2020-10-06 13:18:42 +02:00
Veronica K. B. Olsen
b3b3c581f0 Speedup of word counter for very large documents 2020-10-06 13:18:08 +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
93851d84bf Delayed cursor move for large documents speeds up loading significantly 2020-10-06 01:14:14 +02:00
Veronica K. B. Olsen
003d28f9db Updating the index now only rehighlights lines with meta keywords 2020-10-05 22:55:21 +02:00
Veronica K. B. Olsen
efdf88be66 Drop the doceditor reloadText function as it resets undo stack 2020-10-05 20:54:19 +02:00
Veronica K. B. Olsen
96a5b9e4ae More descriptive spell check tooltip 2020-10-04 21:21:30 +02:00
Veronica K. B. Olsen
ac96636f8a Add dictionary information function to the spell check classes 2020-10-04 20:46:38 +02:00
Veronica K. B. Olsen
e8383d1850 Fix spell checking for words with a dash 2020-10-04 20:32:55 +02:00
Veronica K. Berglyd Olsen
eb67582313 Merge pull request #459 from vkbo/build_tool_improvements
Build Tool Improvements
2020-10-04 19:23:14 +02:00
Veronica K. B. Olsen
ee0b6ad2f5 Updated tests 2020-10-04 19:12:09 +02:00
Veronica K. B. Olsen
4f0d368f4f Added replace tabs with spaces option 2020-10-04 18:44:42 +02:00
Veronica K. B. Olsen
61359f746c Make the whole build tool dialog more dynamic in sizes and areas 2020-10-04 18:23:48 +02:00
Veronica K. B. Olsen
bb66541c81 Fix the formatting of white spaces on html export 2020-10-04 17:20:54 +02:00
Veronica K. Berglyd Olsen
557c0a2c7f Merge pull request #457 from vkbo/fixes
Minor Fixes
2020-10-04 16:58:56 +02:00
Veronica K. B. Olsen
c7cf4c0704 flake8 fixes 2020-10-04 16:52:07 +02:00
Veronica K. B. Olsen
2cc12490d8 Block cluttering of the user's home folder 2020-10-04 16:38:53 +02:00
Veronica K. B. Olsen
eaf8e83d40 Drop the QtSvg dependency as it is no longer used 2020-10-04 16:22:11 +02:00
Veronica K. B. Olsen
381370079b Updated changelog 2020-10-02 00:02:24 +02:00
Veronica K. B. Olsen
5e57f02fb6 Bumped version to 1.0-beta4 2020-10-01 23:38:01 +02:00
Veronica K. B. Olsen
2682314c6a Updated badges 2020-10-01 23:26:57 +02:00
Veronica K. Berglyd Olsen
69648098f6 Merge pull request #453 from vkbo/test_coverage
Even More Test Coverage
2020-10-01 23:21:50 +02:00
Veronica K. B. Olsen
1bf5c2de91 Just disable the wizard test for macOS 2020-10-01 23:17:43 +02:00
Veronica K. B. Olsen
a460c3d682 Use the same wizard dialog for all four tests 2020-10-01 23:09:21 +02:00
Veronica K. B. Olsen
79620ebc19 Attempt to fix the wizard test 2020-10-01 22:22:58 +02:00
Veronica K. B. Olsen
401b9df57f Typo in coverage switch 2020-10-01 22:05:25 +02:00
Veronica K. B. Olsen
4b1c45ddb4 Fixed coverage in actions and updated launch test 2020-10-01 22:01:41 +02:00
Veronica K. B. Olsen
d63c741cfe Remove logfile related launch options 2020-10-01 21:00:37 +02:00
Veronica K. B. Olsen
f1d8265a02 A couple of fixes to tests breaking on windows and mac 2020-10-01 20:44:52 +02:00
Veronica K. B. Olsen
26ebcd496d Improve itemEditor test, and refactor actions 2020-10-01 20:34:48 +02:00
Veronica K. B. Olsen
0179965a8d Improve project wizard test 2020-10-01 14:31:05 +02:00
Veronica K. B. Olsen
ff0ee1f020 Add mac test 2020-10-01 14:03:50 +02:00
Veronica K. Berglyd Olsen
0bd76c10bd Merge branch 'main' into test_coverage 2020-10-01 12:01:02 +02:00
Veronica K. B. Olsen
dfb09802d5 Added release badge and updated test badge in docs 2020-10-01 11:58:24 +02:00
Veronica K. B. Olsen
3010b65a3f Merge branch 'main' into test_coverage 2020-10-01 11:52:58 +02:00
Veronica K. B. Olsen
54f43b911b Added a line break in badges list 2020-10-01 11:52:25 +02:00
Veronica K. Berglyd Olsen
61ff6a88a2 Merge pull request #454 from vkbo/tests_and_badges
Split pytest jobs up into one per python version
2020-10-01 10:56:43 +02:00
Veronica K. B. Olsen
5a913a8b74 Update readme with badges 2020-10-01 10:53:14 +02:00
Veronica K. B. Olsen
39f34769fd Split pytest jobs up into one per python version 2020-10-01 10:45:56 +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
1a70a4ec1c Get that one last line in the About dialog test 2020-09-30 23:10:47 +02:00
Veronica K. B. Olsen
86d5a6f6b2 Coverage of index class 100% 2020-09-30 22:57:00 +02:00
Veronica K. B. Olsen
9bf50cae34 Improved test coverage of index class 2020-09-30 21:51:16 +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
d382e70d72 Fix a potential issue in the test suite 2020-09-30 19:53:00 +02:00
Veronica K. B. Olsen
1dc2a49581 Fixed code style error (too long line) 2020-09-29 23:51:13 +02:00
Veronica K. B. Olsen
e721fbbdb7 Add coverage of some partially covered functions 2020-09-29 23:47:06 +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
0b7cd71b92 Complete coverage of new project function and remove test code from main app 2020-09-29 21:49:00 +02:00
Veronica K. B. Olsen
0c9849b906 Various test changes, and improvements to project wizard test 2020-09-29 21:10:21 +02:00
Veronica K. B. Olsen
9f8dd4abf3 Monkeypatched a couple more file dialogs 2020-09-28 23:40:49 +02:00
Veronica K. B. Olsen
5152d80ac4 Fixed a bug in project open where old projects were converted before asking permision 2020-09-28 23:39:43 +02:00
Veronica K. B. Olsen
28ef1d12b0 All message box questions are now handled in test suite, so no need to check for showGUI 2020-09-28 22:22:29 +02:00
Veronica K. B. Olsen
678a31855f Improved coverage of dialogs tools, and import document feature 2020-09-28 20:29:52 +02:00
Veronica K. B. Olsen
fc096ddb0b Significant improvements to dialog tests 2020-09-28 18:17:14 +02:00
Veronica K. B. Olsen
bd5c011cd9 Better test coverage of project tree view 2020-09-27 00:12:42 +02:00
Veronica K. B. Olsen
efd34ded63 Fix bug in old project test 2020-09-26 17:21:54 +02:00
Veronica K. B. Olsen
f013662e20 Add test of zipped projects for backup 2020-09-26 17:17:34 +02:00
Veronica K. B. Olsen
fa72b9b0d0 Added test to convert older project to new format 2020-09-26 16:48:43 +02:00
Veronica K. B. Olsen
31c642b8bc Added test for QuotesDialog 2020-09-26 16:10:07 +02:00
Veronica K. B. Olsen
8697604f2b Drop icon theme dependency in test 2020-09-26 15:36:11 +02:00
Veronica K. B. Olsen
711e27f048 Try to add icon theme to github action setup 2020-09-26 15:30:04 +02:00
Veronica K. B. Olsen
ee14dd6e2d Added better coverage of themes class 2020-09-26 15:25:30 +02:00
Veronica K. B. Olsen
3c21a39cee Extended build tool test 2020-09-26 13:49:08 +02:00
Veronica K. B. Olsen
be9253e388 Added test for the main function 2020-09-26 13:31:04 +02:00
Veronica K. B. Olsen
635a52fd31 More import and file cleanup 2020-09-26 13:08:48 +02:00
Veronica K. B. Olsen
eb66b879c5 Imports cleanup 2020-09-26 13:02:51 +02:00
Veronica K. B. Olsen
e36892ed38 Improve index class test 2020-09-24 23:31:13 +02:00
Veronica K. B. Olsen
008117fece Remove unused code and reuse a few lines in split/merge tools 2020-09-24 23:30:59 +02:00
Veronica K. B. Olsen
ad50ef6e8c Fix bug in document section stats 2020-09-24 23:24:15 +02:00
Veronica K. B. Olsen
a9fd68a249 Merge branch 'main' into test_coverage 2020-09-24 22:24:44 +02:00
Veronica K. B. Olsen
16a7d47f58 Modify the codecov configuration 2020-09-24 22:23:58 +02:00
Veronica K. B. Olsen
19aa3c0739 Don't use the link click path 2020-09-24 22:14:56 +02:00
Veronica K. B. Olsen
3c4c60da45 Add a delay after mouse click 2020-09-24 22:10:24 +02:00
Veronica K. B. Olsen
0e3aba3b0d Increase docViewer test coverage 2020-09-24 21:43:49 +02:00
Veronica K. B. Olsen
67f8a36272 Change copyright year to year-range 2020-09-22 23:13:46 +02:00
Veronica K. B. Olsen
3f30923d12 Add objectName to all dialogs and made some other minor fixes 2020-09-22 23:01:09 +02:00
Veronica K. B. Olsen
9a9cfe1ce5 Rename showGUI variable to blockGUI and added some comments in Config class 2020-09-22 21:37:00 +02:00
Veronica K. B. Olsen
7a9124ca58 Finished Search/Replace test 2020-09-21 22:25:22 +02:00
Veronica K. B. Olsen
24e336cd77 Try to fix xvfb display 2020-09-21 22:10:22 +02:00
Veronica K. B. Olsen
de3b35fa6d Add Search/Replace test 2020-09-21 22:07:21 +02:00
Veronica K. B. Olsen
191895507b Improved coverage of Edit, Insert and Format menus and document editor 2020-09-21 20:17:07 +02:00
Veronica K. B. Olsen
4f11e0bf32 Fixed some typos 2020-09-20 15:48:14 +02:00
Veronica K. Berglyd Olsen
3310dfb0ab Merge pull request #450 from vkbo/release_1.0b3
Release 1.0b3
2020-09-20 15:37:41 +02:00
Veronica K. B. Olsen
476a5bedb6 Updated changelog 2020-09-20 15:33:39 +02:00
Veronica K. B. Olsen
8dc6c6d045 Merge branch 'main' into release_1.0b3 2020-09-20 15:29:25 +02:00
Veronica K. Berglyd Olsen
6634210063 Merge pull request #452 from vkbo/gui_tweaks
Tree Context Menu Fix and Project Load Improvement
2020-09-20 15:28:51 +02:00
Veronica K. B. Olsen
4c82a195af Turn off codecov patch check again 2020-09-20 15:23:51 +02:00
Veronica K. B. Olsen
3b1c03329a Fix a couple of issues with the project tree context menu where the new file/folder was not showing if the trash folder was None, and isArch was wrong for files in subfolders 2020-09-20 12:39:35 +02:00
Veronica K. B. Olsen
b9f983a348 Moved fixed with definition to themes class, made time column in project load fixed width and added thin space between words and multiplier 2020-09-20 11:44:33 +02:00
Veronica K. B. Olsen
5bb8ac0ef8 Updated changelog 2020-09-19 23:32:11 +02:00
Veronica K. B. Olsen
0fe4d0bf18 Bumped version to 1.0 beta 3 2020-09-19 23:13:48 +02:00
Veronica K. Berglyd Olsen
a73c5b3776 Merge pull request #449 from vkbo/test_coverage
More Test Coverage
2020-09-19 20:49:47 +02:00
Veronica K. B. Olsen
9203c32412 Fix flake8 failure 2020-09-19 20:32:44 +02:00
Veronica K. B. Olsen
67083ca148 Renamed preferences test reference file 2020-09-19 20:31:41 +02:00
Veronica K. B. Olsen
5810ba68b5 Added test for main preferences and improved the Preferences dialog a bit 2020-09-19 20:30:04 +02:00
Veronica K. B. Olsen
4338580d2c Minor improvements to existing tests to increase coverage 2020-09-19 18:51:45 +02:00
Veronica K. B. Olsen
149fc1a9c5 Pass None as traceback object for error handling test 2020-09-19 17:47:36 +02:00
Veronica K. B. Olsen
bebb2f8e9d Cleanup 2020-09-19 17:44:04 +02:00
Veronica K. B. Olsen
c311271f30 Added check for orphaned files 2020-09-19 17:38:58 +02:00
Veronica K. B. Olsen
17173f65d3 Also added basic check of exceptinHandler 2020-09-19 17:38:25 +02:00
Veronica K. B. Olsen
ffab0b35a8 Merge branch 'main' into test_coverage 2020-09-19 16:57:20 +02:00
Veronica K. Berglyd Olsen
43bf3a1f77 Merge pull request #448 from vkbo/bug_fixes
Bug Fixes: Edit Item, Merge Tool, Orphaned Files
2020-09-19 16:56:47 +02:00
Veronica K. B. Olsen
f2e6c86c79 Fixed an issue with adding empty orphaned files to the project 2020-09-19 16:47:24 +02:00
Veronica K. B. Olsen
2ae6646885 Added a check in merge documents that there is actually something to merge 2020-09-19 16:38:31 +02:00
Veronica K. B. Olsen
43fc829c4f Made most menu entries lambda functions 2020-09-19 16:36:41 +02:00
Veronica K. B. Olsen
adbbe3fc83 No spaces before colon after lambda 2020-09-19 16:14:37 +02:00
Veronica K. B. Olsen
2136e85ac7 Fix edit item bug 2020-09-19 16:14:15 +02:00
Veronica K. B. Olsen
a87f5bab7f Working error test, but cannot properly test exception handler 2020-09-19 16:09:05 +02:00
Veronica K. B. Olsen
d978900590 Split gui tests and dialog tests into separate source files 2020-09-19 13:15:05 +02:00
Veronica K. B. Olsen
365e2676fb Add test for the main error handler 2020-09-19 13:06:58 +02:00
Veronica K. B. Olsen
e9fd293689 Run tests on push to main and dev branch 2020-09-18 18:57:32 +02:00
Veronica K. Berglyd Olsen
c4fc31e735 Merge pull request #447 from vkbo/code_improvements
Code Improvements
2020-09-18 18:55:55 +02:00
Veronica K. B. Olsen
de72d93b9c Minor cleanup, and made status class properties private 2020-09-18 18:50:13 +02:00
Veronica K. B. Olsen
4e03fdca31 Added tests for core tools functions 2020-09-18 18:30:52 +02:00
Veronica K. B. Olsen
bb59891310 Cleanup in index and options and improved options test coverage 2020-09-18 17:57:31 +02:00
Veronica K. B. Olsen
86bb1fc9a4 Made some the properties of the NWDoc class internal 2020-09-18 17:10:33 +02:00
Veronica K. B. Olsen
d7feece887 Improvements to commenst and logtext 2020-09-18 15:20:27 +02:00
Veronica K. B. Olsen
904bdd9001 Minor code improvements and consistent naming of XML functions 2020-09-17 14:05:51 +02:00
Veronica K. B. Olsen
27ee82aad0 Improve the way the project tree is managed and elements deleted. 2020-09-17 14:03:51 +02:00
Veronica K. Berglyd Olsen
9bca006a45 Merge pull request #440 from vkbo/release_1.0b2
Release 1.0 beta 2
2020-09-13 15:47:01 +02:00
Veronica K. B. Olsen
33e77fd840 Updated changelog 2020-09-11 12:32:17 +02:00
Veronica K. Berglyd Olsen
3681d4ed5f Merge branch 'main' into release_1.0b2 2020-09-11 09:29:35 +02:00
Veronica K. Berglyd Olsen
890a13a936 Merge pull request #446 from vkbo/test_coverage
Improved Test Coverage
2020-09-10 23:06:57 +02:00
Veronica K. B. Olsen
00c4404f9d Added spell check test 2020-09-10 23:02:12 +02:00
Veronica K. B. Olsen
b79e63c9d3 Added a last check on doc meta 2020-09-10 22:43:43 +02:00
Veronica K. B. Olsen
61b9567e3a Added test for document meta 2020-09-10 22:40:45 +02:00
Veronica K. B. Olsen
8603c59815 Added more tests for common functions 2020-09-10 22:28:52 +02:00
Veronica K. Berglyd Olsen
99bf4ea58c Merge branch 'main' into release_1.0b2 2020-09-10 21:46:30 +02:00
Veronica K. B. Olsen
68bf363010 Updated codecov settings file 2020-09-10 21:45:37 +02:00
Veronica K. B. Olsen
6e50d4cc0a Updated codecov settings file 2020-09-10 21:41:28 +02:00
Veronica K. Berglyd Olsen
734706a567 Merge branch 'main' into release_1.0b2 2020-09-10 21:33:16 +02:00
Veronica K. B. Olsen
35af9772bf Fixed a few issues in README and CONTRIBUTING 2020-09-09 23:13:37 +02:00
Veronica K. B. Olsen
90811d67fb A couple of improvements after PR #445 2020-09-09 22:49:18 +02:00
Veronica K. Berglyd Olsen
28bdf82bfb Merge pull request #445 from vkbo/edit_search_buttons
Header and Footer Buttons (Edit, Search, Comments, Synopsis)
2020-09-09 21:19:35 +02:00
Veronica K. B. Olsen
8c72bf8ba8 Removed commented out line 2020-09-09 21:15:18 +02:00
Veronica K. B. Olsen
af0937cbcc Corrected a label in Preferences 2020-09-09 21:10:39 +02:00
Veronica K. B. Olsen
88d924f784 Removed the render options from Preferences 2020-09-09 21:07:17 +02:00
Veronica K. B. Olsen
e2e82dba03 Added buttons to toggle comments and synopsis in the viewer footer 2020-09-09 21:05:42 +02:00
Veronica K. B. Olsen
6451e3b986 Added bullet on and off icons 2020-09-09 21:04:58 +02:00
Veronica K. B. Olsen
f1ffb4fc22 Added edit and search button to document editor header 2020-09-09 20:22:36 +02:00
Veronica K. B. Olsen
1ff0e831aa Updated changelog 2020-09-08 23:25:07 +02:00
Veronica K. B. Olsen
a9f592ddec Merge branch 'main' into release_1.0b2 2020-09-08 23:21:33 +02:00
Veronica K. Berglyd Olsen
ceef077811 Merge pull request #443 from vkbo/middle_button
Middle Mouse Button
2020-09-08 23:20:15 +02:00
Veronica K. B. Olsen
6067c9af0e Middle mouse clicking a document in the tree view opens it for viewing 2020-09-08 23:13:49 +02:00
Veronica K. Berglyd Olsen
ab1b3aaaff Merge pull request #442 from vkbo/issue441_back-nav
Issue #441: Document Viewer History Navigation
2020-09-08 22:45:35 +02:00
Veronica K. B. Olsen
ad8d384537 Add fallback icons 2020-09-08 22:42:18 +02:00
Veronica K. B. Olsen
b67a518b98 Renamed menu entries and updated docs 2020-09-08 22:25:37 +02:00
Veronica K. B. Olsen
d8aa29f656 Added test coverage of navigation buttons and class 2020-09-08 22:10:08 +02:00
Veronica K. B. Olsen
a7a345f05c Added backward and forward nav buttons 2020-09-08 22:00:07 +02:00
Veronica K. B. Olsen
7bd1907261 Added icons for backward and forward navigation buttons 2020-09-08 21:59:44 +02:00
Veronica K. B. Olsen
e30064ba0b Nav history in doc viewer now works 2020-09-08 21:20:38 +02:00
Veronica K. B. Olsen
2a3df92b20 Added starte view history class and connected mouse, menu and keyboard 2020-09-08 18:44:08 +02:00
Veronica K. B. Olsen
6ebc4ca268 Cleaned up the way navigation is done in the document viewer 2020-09-08 18:19:22 +02:00
Veronica K. B. Olsen
7d9172c377 Merge branch 'main' into release_1.0b2 2020-09-06 14:59:13 +02:00
Veronica K. B. Olsen
f32ec659bf Updated changelog with changes so far for beta 2 2020-09-06 14:58:47 +02:00
Veronica K. Berglyd Olsen
82b064fe37 Merge pull request #439 from vkbo/issue438_copy-paste
Issue #438: Editor cut/copy/paste
2020-09-06 14:48:32 +02:00
Veronica K. B. Olsen
4d603aecf3 Version bump for 1.0 beta 2 2020-09-06 14:48:07 +02:00
Veronica K. B. Olsen
2c2fe125ea Minor fix to test that sometimes fails in a place it shouldn't 2020-09-06 14:44:05 +02:00
Veronica K. B. Olsen
70d96f3fdb Added test coverage of context menus and selection functions 2020-09-06 14:30:59 +02:00
Veronica K. B. Olsen
af34bb4f38 Added custom context menu also to document viewer 2020-09-06 14:01:08 +02:00
Veronica K. B. Olsen
a6a65fb7d2 Added selection functions to the context menu 2020-09-06 13:46:00 +02:00
Veronica K. B. Olsen
d4f7d8eb67 Added cut/copy/paste to document context menu 2020-09-06 13:24:33 +02:00
Veronica K. Berglyd Olsen
3457037908 Merge pull request #437 from vkbo/issue368_project-lang
Issue #368: Project language setting
2020-09-05 18:11:52 +02:00
Veronica K. B. Olsen
9a7f514f4a Try to fix test build 2020-09-05 18:08:08 +02:00
Veronica K. B. Olsen
58264bb65c Fixed tests 2020-09-05 17:35:41 +02:00
Veronica K. B. Olsen
ba4bc54c9f Added the handling of project dictionary in the editor as well 2020-09-05 17:30:50 +02:00
Veronica K. B. Olsen
6e949b975f Added spell check language setting to project class and project settings 2020-09-05 17:18:18 +02:00
Veronica K. Berglyd Olsen
f2bb0fcea6 Merge pull request #436 from vkbo/split_tool
Split and Merge improvements
2020-09-01 23:39:39 +02:00
Veronica K. B. Olsen
af0d578555 Also have the merge tool preserve item status of the source item 2020-09-01 23:33:13 +02:00
Veronica K. B. Olsen
123b986a07 Split document now preserves item status of the source item 2020-09-01 23:27:48 +02:00
Veronica K. B. Olsen
9aa0e259fe Added a message box before the document split process is completed 2020-09-01 23:24:29 +02:00
Veronica K. Berglyd Olsen
f4ba9e8304 Merge pull request #434 from vkbo/issue433_move-footer-on-hscroll
Issue #433: Move footer if horisontal scroll bar appears
2020-08-31 17:44:49 +02:00
Veronica K. B. Olsen
aefb4e782c Use more compact notation 2020-08-31 17:41:06 +02:00
Veronica K. B. Olsen
bcd8f94b2c Move footer if horisontal scroll bar appears 2020-08-31 17:37:26 +02:00
Veronica K. Berglyd Olsen
abd777026e Merge pull request #422 from vkbo/release_1.0b1
Release 1.0-beta1
2020-08-30 17:10:40 +02:00
Veronica K. B. Olsen
4fec7136af Changed the release date before release 2020-08-30 17:07:34 +02:00
Veronica K. B. Olsen
e6830f10bb Updated changelog 2020-08-28 16:39:24 +02:00
Veronica K. B. Olsen
68f1d996c6 Merge branch 'main' into release_1.0b1 2020-08-28 16:32:28 +02:00
Veronica K. Berglyd Olsen
4a5c760215 Merge pull request #432 from vkbo/issue431_test-dependency
Issue #431: Test Dependency
2020-08-28 16:23:28 +02:00
Veronica K. B. Olsen
7e830c9aab Cleanup unneeded stuff 2020-08-28 16:20:31 +02:00
Veronica K. B. Olsen
64cd356c34 Decoupled gui tests 2020-08-28 16:10:47 +02:00
Veronica K. B. Olsen
3869d8670c Decouple item tests 2020-08-28 13:16:22 +02:00
Veronica K. B. Olsen
b065e4d52b Decoupled config tests 2020-08-28 12:56:03 +02:00
Veronica K. B. Olsen
8340c0665d Made project tests independent 2020-08-28 12:31:38 +02:00
Veronica K. Berglyd Olsen
447ddb73de Merge pull request #430 from vkbo/drop_double_apos
Quote symbols and highlighting
2020-08-23 21:07:59 +02:00
Veronica K. B. Olsen
9567e3dc4a Improve regex matches for quote strings 2020-08-23 20:56:15 +02:00
Veronica K. B. Olsen
f1f7697df2 Clean up docs and test 2020-08-23 20:55:54 +02:00
Veronica K. B. Olsen
5f033a98bf Remove the alternative double apostrophe again 2020-08-23 20:55:30 +02:00
Veronica K. Berglyd Olsen
cb1eb0f5a3 Merge pull request #429 from vkbo/apostrophe_proper
Alternative Apostrophes
2020-08-22 14:21:11 +02:00
Veronica K. B. Olsen
42fa913be5 Shorter menu entries 2020-08-22 14:17:18 +02:00
Veronica K. B. Olsen
6c367a4b58 Added prefixes to documentation files 2020-08-22 14:10:22 +02:00
Veronica K. B. Olsen
bc1c54b643 Updated documentation 2020-08-22 14:06:57 +02:00
Veronica K. B. Olsen
21d68eb1dc Added the new insert menu entries to the corresponding test 2020-08-22 13:20:39 +02:00
Veronica K. B. Olsen
995685241a The html converter should strip these out again 2020-08-22 13:20:19 +02:00
Veronica K. B. Olsen
377c9a3d41 Added insert menu entries and insert action code 2020-08-22 13:20:01 +02:00
Veronica K. B. Olsen
27c36f3880 Added the modifier apostrophe characters to the Unicode list and doc actions 2020-08-22 13:19:25 +02:00
Veronica K. Berglyd Olsen
dbd6e8ed6d Merge pull request #428 from vkbo/issue_427
Issue #427: Spell check highlighting and forward slash
2020-08-22 12:40:37 +02:00
Veronica K. B. Olsen
ca818bc497 Fix detecting slashes in spell check hihglighting 2020-08-22 12:36:17 +02:00
Veronica K. B. Olsen
eb1407ed62 Changed date format in docs 2020-08-20 23:38:12 +02:00
Veronica K. Berglyd Olsen
683b4507e6 Merge branch 'main' into release_1.0b1 2020-08-20 22:00:02 +02:00
Veronica K. B. Olsen
55a6afd022 Updated changelog 2020-08-20 21:59:07 +02:00
Veronica K. B. Olsen
97bed81c9e Updated badges on readme and in docs 2020-08-20 21:59:06 +02:00
Veronica K. B. Olsen
df50ef8877 Use lower case test names 2020-08-20 21:59:06 +02:00
Veronica K. B. Olsen
c2685f4df7 Don't runn full tests on push to master 2020-08-20 21:59:06 +02:00
Veronica K. B. Olsen
8c9f674050 Updated badges again 2020-08-20 21:59:05 +02:00
Veronica K. B. Olsen
114824e5c8 Renamed Flake8 Checks to Flake8 2020-08-20 21:59:05 +02:00
Veronica K. B. Olsen
197c370beb Also include push to main 2020-08-20 21:59:05 +02:00
Veronica K. B. Olsen
0e5f0cb6e6 Fixed badge 2020-08-20 21:59:04 +02:00
Veronica K. Berglyd Olsen
66a992582f Merge pull request #426 from vkbo/pytest_action
More actions stuff
2020-08-20 21:54:11 +02:00
Veronica K. B. Olsen
cde43a25ff Updated badges on readme and in docs 2020-08-20 21:50:33 +02:00
Veronica K. B. Olsen
f5c750520c Use lower case test names 2020-08-20 21:46:01 +02:00
Veronica K. B. Olsen
0ded954efd Don't runn full tests on push to master 2020-08-20 21:42:48 +02:00
Veronica K. Berglyd Olsen
690bca5e03 Merge pull request #425 from vkbo/pytest_action
PyTest: Fix badge
2020-08-20 21:41:39 +02:00
Veronica K. B. Olsen
8210a78b1f Updated badges again 2020-08-20 21:35:06 +02:00
Veronica K. B. Olsen
326dfb44f1 Renamed Flake8 Checks to Flake8 2020-08-20 21:33:53 +02:00
Veronica K. Berglyd Olsen
896ce13f57 Merge branch 'main' into pytest_action 2020-08-20 21:32:27 +02:00
Veronica K. B. Olsen
bf14e626e0 Also include push to main 2020-08-20 21:31:33 +02:00
Veronica K. B. Olsen
4bff145394 Fixed badge 2020-08-20 21:30:56 +02:00
Veronica K. Berglyd Olsen
4e039164f7 Merge branch 'main' into release_1.0b1 2020-08-20 21:28:18 +02:00
Veronica K. Berglyd Olsen
6d2b1a7330 Merge pull request #424 from vkbo/pytest_action
GitHub action using pytest
2020-08-20 21:28:05 +02:00
Veronica K. B. Olsen
b3da2b7029 Final version of pytest workflow 2020-08-20 21:24:35 +02:00
Veronica K. B. Olsen
305e5cdf55 That didn't work ... trying something else 2020-08-20 21:21:00 +02:00
Veronica K. B. Olsen
c3da3e3cce Added test dependencies and dropped Python 3.5 2020-08-20 21:18:43 +02:00
Veronica K. B. Olsen
3fa21688aa Added second job step with other python versions 2020-08-20 21:14:39 +02:00
Veronica K. B. Olsen
15757a745b Add codecov part tp action 2020-08-20 21:07:11 +02:00
Veronica K. B. Olsen
fe15a335a9 Change item selection method 2020-08-20 20:59:40 +02:00
Veronica K. B. Olsen
be0b9ef358 Fixed typo in test 2020-08-20 20:52:47 +02:00
Veronica K. B. Olsen
aef093a3e5 Try calling the function directly 2020-08-20 20:48:07 +02:00
Veronica K. B. Olsen
cff7463a7c Make sure the correct item is selected 2020-08-20 20:43:19 +02:00
Veronica K. B. Olsen
d4052568be Make sure new replace items in project settings are inserted at the top 2020-08-20 20:36:33 +02:00
Veronica K. B. Olsen
8b2d7e2917 test other packages and add delays to project editor test 2020-08-20 20:24:40 +02:00
Veronica K. B. Olsen
c0769581ea Add more packages 2020-08-20 20:09:42 +02:00
Veronica K. B. Olsen
dc0d80c622 Disable travis while we do this 2020-08-20 20:05:39 +02:00
Veronica K. B. Olsen
d723529708 Fix workflow file error 2020-08-20 20:04:57 +02:00
Veronica K. B. Olsen
e08bd436d7 Added pytest workflow 2020-08-20 20:03:12 +02:00
Veronica K. B. Olsen
d4ccb369f4 nw and tests folders only 2020-08-20 09:56:39 +02:00
Veronica K. B. Olsen
9d2563c72b Minor changes to flake8 check 2020-08-20 09:54:36 +02:00
Veronica K. Berglyd Olsen
da04be1761 Merge pull request #423 from vkbo/more_tests
Adding Tests for Project Load and Outline View
2020-08-20 00:22:55 +02:00
Veronica K. B. Olsen
d1f5703369 Drop the mouseclick and just pass the value 2020-08-20 00:11:05 +02:00
Veronica K. B. Olsen
d32451be1c Add a delay for loading the document view ite from outline 2020-08-20 00:02:56 +02:00
Veronica K. B. Olsen
7941cbbd34 Added test for outline panel 2020-08-19 23:55:23 +02:00
Veronica K. B. Olsen
d9b092b593 Fixed bug where word and paragraph count was swapped in outline details panel 2020-08-19 22:50:37 +02:00
Veronica K. B. Olsen
bd430d61e3 Added test for the project load dialog 2020-08-19 22:33:33 +02:00
Veronica K. Berglyd Olsen
cdc3155734 Merge branch 'main' into release_1.0b1 2020-08-19 21:39:47 +02:00
Veronica K. Berglyd Olsen
0469754da7 Merge pull request #421 from vkbo/max_depth
Make sure the Split Document tool doesn't go past the maximum folder depth
2020-08-18 21:54:50 +02:00
Veronica K. B. Olsen
5ee0b640bd Make sure the doc split doesn't go past the maximum folder depth 2020-08-18 21:47:50 +02:00
Veronica K. B. Olsen
0839662e68 Updated changelog 2020-08-18 21:40:17 +02:00
Veronica K. B. Olsen
5e00ef5052 Bumped version to 1.0b1 2020-08-18 21:09:09 +02:00
Veronica K. Berglyd Olsen
dbe7b80e07 Merge pull request #420 from vkbo/issue_418
Issue #418: Error printout in the logger
2020-08-18 20:59:56 +02:00
Veronica K. B. Olsen
b404a10285 Fix the error message about the lookup for a None handle - issue #418 2020-08-18 20:37:46 +02:00
Veronica K. Berglyd Olsen
752be16772 Merge pull request #419 from vkbo/viewer_tabs
Tab Stop in Document Viewer and Build
2020-08-18 20:18:00 +02:00
Veronica K. B. Olsen
95dd867d47 Bring the readme file up to date 2020-08-18 20:11:57 +02:00
Veronica K. B. Olsen
4a20a0eb01 Use markContentsDirty on the QTextDocument instead of the textWidth hack 2020-08-18 08:50:08 +02:00
Veronica K. B. Olsen
b80ff750fb A bit less aggressive version off the redraw text hack 2020-08-18 00:33:33 +02:00
Veronica K. B. Olsen
a9ac3a2aa1 Removed commented out code 2020-08-18 00:29:18 +02:00
Veronica K. B. Olsen
2f177c50fc Improved the tab handling and added the same fix to the build tool 2020-08-18 00:21:25 +02:00
Veronica K. B. Olsen
10936b6910 Implement the same tab stop code in the editor as for the viewer 2020-08-17 22:40:04 +02:00
Veronica K. B. Olsen
1d9cd3ee49 Add a workaround for getting tabs through the html parsing and setHtml function in QTextBrowser 2020-08-17 22:39:38 +02:00
Veronica K. Berglyd Olsen
4a706b6f90 Merge pull request #417 from vkbo/error_handling
Updated Error Handling
2020-08-17 20:53:05 +02:00
Veronica K. B. Olsen
4c91c08b22 More appropriate logging entries for final error shutdown 2020-08-17 20:46:58 +02:00
Veronica K. B. Olsen
0e0032e020 Some minor cleanup of the code 2020-08-17 20:39:39 +02:00
Veronica K. B. Olsen
1ac2503190 Removed the try/except around the main GUI call 2020-08-17 20:33:33 +02:00
Veronica K. B. Olsen
35ed4a1c8d Created a new error handler and dialog class 2020-08-17 20:32:52 +02:00
Veronica K. Berglyd Olsen
7df2f83202 Merge pull request #416 from vkbo/fixes
Outtake/Archive Fixes
2020-08-16 22:05:21 +02:00
Veronica K. B. Olsen
619810544a Reduce the defacto maximum folder depth from ~200 to a hard 30 and enforce it 2020-08-16 21:55:36 +02:00
Veronica K. B. Olsen
850ac2b2f3 Put back the edit item popup as it blocks runaway file or folder creation 2020-08-16 21:35:22 +02:00
Veronica K. B. Olsen
f21036d1f0 Minor tweaks in docs 2020-08-16 21:26:31 +02:00
Veronica K. B. Olsen
efc7078a22 Updated documentation 2020-08-16 21:24:04 +02:00
Veronica K. B. Olsen
c19c624652 Allow folders in Outtakes root folder as it seems to be working as intended with the current logic 2020-08-16 21:17:58 +02:00
Veronica K. B. Olsen
8cd4a6cc27 Use integer time for the index 2020-08-16 18:57:59 +02:00
Veronica K. B. Olsen
e4ad4f38c8 Indexer should still count words for trash and archived files 2020-08-16 18:39:34 +02:00
Veronica K. Berglyd Olsen
5fb0b9cfb1 Merge pull request #415 from vkbo/outtakes
Outtakes (Archive) Feature
2020-08-16 18:29:29 +02:00
Veronica K. B. Olsen
f1b2b1766d Updated documentation 2020-08-16 18:17:33 +02:00
Veronica K. B. Olsen
00f3909e19 Fix bug in update available root list when deleting root item 2020-08-16 17:58:40 +02:00
Veronica K. B. Olsen
7b39bc0780 Updated sample project with an example of archived files 2020-08-16 17:51:33 +02:00
Veronica K. B. Olsen
3f47aef77b Added an icon for the outtakes folder 2020-08-16 17:45:36 +02:00
Veronica K. B. Olsen
cc3c938e16 Fix build to exclude archived files 2020-08-16 17:39:18 +02:00
Veronica K. B. Olsen
68a7dd4390 Fixed menu entries and drop options for trash and archive folders 2020-08-16 17:25:11 +02:00
Veronica K. B. Olsen
65131e87c7 The deleted and outtake files are now properly handled by the index 2020-08-16 16:51:07 +02:00
Veronica K. B. Olsen
e0a824cfb6 Drag and drop of archived files now works 2020-08-16 16:28:51 +02:00
Veronica K. B. Olsen
b62cfc017b Added the archive root folder type 2020-08-16 16:10:30 +02:00
Veronica K. Berglyd Olsen
ce21670931 Merge pull request #413 from vkbo/editor_focus
Also capture the return key for the replace box
2020-08-16 15:16:36 +02:00
Veronica K. Berglyd Olsen
cb14ae5013 Merge branch 'main' into editor_focus 2020-08-16 15:11:43 +02:00
Veronica K. B. Olsen
accae5e074 Also capture the return key for the replace box 2020-08-16 15:10:02 +02:00
Veronica K. Berglyd Olsen
54274417d7 Merge pull request #412 from vkbo/editor_focus
Editor Focus and Enter Key Behaviour
2020-08-16 14:59:42 +02:00
Veronica K. B. Olsen
fa1c79a1da Add the alternative redo sequence Ctrl+Shift+Z to the documentation 2020-08-16 14:28:04 +02:00
Veronica K. B. Olsen
3f6737a3b8 Better capture of the tab, return and enter keys in the editor and search function 2020-08-16 14:27:20 +02:00
Veronica K. B. Olsen
0acea8877a Added the option to replace 3 hypens with emdash, not just endash+hyphen 2020-08-16 13:15:25 +02:00
Veronica K. Berglyd Olsen
1a9e54d11b Merge pull request #411 from vkbo/test_and_release_0.12.1
Release 0.12.1
2020-08-16 12:01:59 +02:00
Veronica K. Berglyd Olsen
48ee32ddde Merge branch 'main' into test_and_release_0.12.1 2020-08-16 11:57:13 +02:00
Veronica K. Berglyd Olsen
b6fd859dc4 Merge pull request #408 from vkbo/bugfixes
Various Minor Fixes
2020-08-16 11:57:03 +02:00
Veronica K. Berglyd Olsen
2c023e4733 Merge branch 'main' into bugfixes 2020-08-16 11:52:22 +02:00
Veronica K. B. Olsen
6af156af39 Added test for insert menu functionality 2020-08-16 11:48:46 +02:00
Veronica K. B. Olsen
8513e6a6c2 Updated changelog 2020-08-16 11:20:28 +02:00
Veronica K. B. Olsen
617192a6d9 set version to 0.12.1 2020-08-16 11:20:15 +02:00
Veronica K. Berglyd Olsen
9b7bf1918d Merge pull request #410 from vkbo/issue_409
Issue #409: Accidental tuple in insert menu
2020-08-16 10:41:29 +02:00
Veronica K. B. Olsen
bb0bcdd406 Removed an additional comma in some of the insert menu items that changed the type to tuple 2020-08-16 10:35:07 +02:00
Veronica K. B. Olsen
2a62998479 Use 1.0-beta1 as version number instead of 1.0b1 2020-08-15 22:26:04 +02:00
Veronica K. B. Olsen
287e083b0a QSysInfo.kernelversion doesn't exist in older versions of Qt 2020-08-15 20:49:35 +02:00
Veronica K. Berglyd Olsen
702a10fff5 Merge pull request #406 from vkbo/unnum_chapter_heading
Unnumbered Chapter: Alternative Syntax
2020-08-15 20:14:21 +02:00
Veronica K. B. Olsen
2ddbb628a4 Updated changelog 2020-08-15 20:09:06 +02:00
Veronica K. B. Olsen
1d83e0d678 Merge branch 'main' into unnum_chapter_heading 2020-08-15 20:05:58 +02:00
Veronica K. Berglyd Olsen
515e166006 Merge pull request #407 from vkbo/release_1.0b1
Version bump on main to 1.0b1
2020-08-15 20:05:24 +02:00
Veronica K. B. Olsen
0927c11798 Updated changelog 2020-08-15 20:00:04 +02:00
Veronica K. B. Olsen
4b60c879f1 Bumped version to 1.0 beta 1 2020-08-15 19:55:39 +02:00
Veronica K. B. Olsen
0252922cb7 Merge branch 'main' into unnum_chapter_heading 2020-08-15 19:42:12 +02:00
Veronica K. Berglyd Olsen
eb31076c4e Merge pull request #405 from vkbo/issue_396
Issue #396: Select Paragraph Fix
2020-08-15 19:41:47 +02:00
Veronica K. B. Olsen
29d19c6f10 Updated documentation accordingly 2020-08-15 19:40:48 +02:00
Veronica K. B. Olsen
19b97bf8a6 Added an override for unnumbered chapters based on a leading asterisk 2020-08-15 19:40:17 +02:00
Veronica K. B. Olsen
609572bbb8 Modify the paragraph selection behaviour of Qt to not select paragraph separator 2020-08-15 17:56:23 +02:00
Veronica K. Berglyd Olsen
e13aea684c Merge pull request #393 from vkbo/release_0.12
Release 0.12
2020-08-15 15:35:13 +02:00
Veronica K. B. Olsen
df65d2a959 Merge branch 'main' into release_0.12 2020-08-15 15:30:09 +02:00
Veronica K. Berglyd Olsen
77fefff1fe Merge pull request #403 from vkbo/issue_395
Issue 395: Check colour return value in Project Settings
2020-08-15 15:29:48 +02:00
Veronica K. B. Olsen
bc1d238965 Updated changelog with issue 395 fix 2020-08-15 15:27:01 +02:00
Veronica K. B. Olsen
1a4fd45803 Check that the colour returned for a status icon in project settings is valid 2020-08-15 15:22:40 +02:00
Veronica K. B. Olsen
0b8e5e3ef2 Changed release date to today 2020-08-15 15:17:27 +02:00
Veronica K. B. Olsen
774eb8edf7 Updated changelog with latest PR 2020-08-14 20:21:59 +02:00
Veronica K. B. Olsen
882f91adca Merge branch 'main' into release_0.12 2020-08-14 20:20:51 +02:00
Veronica K. B. Olsen
da747b2849 Added action badge to main readme 2020-08-14 20:17:42 +02:00
Veronica K. Berglyd Olsen
59f6b48a83 Merge pull request #401 from vkbo/flake_actions
Flake + actions
2020-08-14 20:10:39 +02:00
Veronica K. B. Olsen
a3f2487622 Fixed travis yml config warnings 2020-08-14 20:05:35 +02:00
Veronica K. B. Olsen
dcbe726170 Bumped travis ubuntu distro to focal 2020-08-14 19:57:52 +02:00
Veronica K. B. Olsen
593afdd823 Updated actions and templates 2020-08-14 19:52:02 +02:00
Veronica K. B. Olsen
77b1d50e31 Cleaned up tests for syntax 2020-08-14 19:50:29 +02:00
Veronica K. B. Olsen
2c04130e27 Updated changelog with PR 397 and 398 2020-08-13 22:38:20 +02:00
Veronica K. B. Olsen
54551a3498 Merge branch 'main' into release_0.12 2020-08-13 22:36:40 +02:00
Veronica K. Berglyd Olsen
559f2e53e4 Merge pull request #397 from vkbo/more_cleanup
More Code Cleanup (flake8)
2020-08-13 22:00:55 +02:00
Veronica K. Berglyd Olsen
c273f3f67e Merge branch 'main' into more_cleanup 2020-08-13 21:55:40 +02:00
Veronica K. Berglyd Olsen
3398bcec12 Merge pull request #398 from vkbo/templates
Update issue templates
2020-08-13 21:54:38 +02:00
Veronica K. B. Olsen
9d71cade2e Updated templates 2020-08-13 21:53:18 +02:00
Veronica K. Berglyd Olsen
5041f9be2a Update issue templates 2020-08-13 21:50:41 +02:00
Veronica K. B. Olsen
00e321a6bf Added link to the contributing file in readme 2020-08-13 21:42:04 +02:00
Veronica K. B. Olsen
4ca2edd25f Updated the contributing file 2020-08-13 21:40:02 +02:00
Veronica K. B. Olsen
fcd2b732c3 Renamed style.md file to CONTRIBUTING/md 2020-08-13 21:11:01 +02:00
Veronica K. Berglyd Olsen
29f6af7638 Merge branch 'main' into more_cleanup 2020-08-13 21:09:10 +02:00
Veronica K. B. Olsen
67ef5a89dd Removed additional spaces in enum file 2020-08-13 21:07:25 +02:00
Veronica K. B. Olsen
832b5747df Fiexd more formatting errors 2020-08-13 21:01:52 +02:00
Veronica K. B. Olsen
4cf49bd80a Updated flake8 settings 2020-08-13 21:01:15 +02:00
Veronica K. Berglyd Olsen
e1f3b15cf4 Create CODE_OF_CONDUCT.md 2020-08-13 10:25:31 +02:00
Veronica K. B. Olsen
bfb5f55e24 Updated changelog with PR #394 2020-08-12 22:05:14 +02:00
Veronica K. B. Olsen
0d68b8bb11 Merge branch 'main' into release_0.12 2020-08-12 22:04:45 +02:00
Veronica K. Berglyd Olsen
47b06dac1b Merge pull request #394 from vkbo/code_cleanup
Code Cleanup
2020-08-12 21:57:54 +02:00
Veronica K. B. Olsen
133b15957d Disabled codecov patch coverage check 2020-08-12 21:52:27 +02:00
Veronica K. B. Olsen
cccd3eacf1 Fixed syntax error in DummyMain class in tests 2020-08-12 21:50:43 +02:00
Veronica K. B. Olsen
f958f68302 Added style checks to action 2020-08-12 21:42:01 +02:00
Veronica K. B. Olsen
00f0a6887c Fixed flake8 W and F errors 2020-08-12 21:41:37 +02:00
Veronica K. B. Olsen
72cb1ed60f Fixed pycodestyle E7 errors 2020-08-12 21:11:25 +02:00
Veronica K. B. Olsen
95ee2bf874 Fixed pycodestyle E231 errors 2020-08-12 20:51:22 +02:00
Veronica K. B. Olsen
28ab689dab Fixed pycodestyle E1 errors 2020-08-12 20:28:42 +02:00
Veronica K. B. Olsen
827e84f731 Rewritten number to word function 2020-08-12 20:26:20 +02:00
Veronica K. B. Olsen
900bde6b9d That didn't work ... 2020-08-12 19:38:57 +02:00
Veronica K. B. Olsen
9fcfc38753 Added tests to flake8 action 2020-08-12 19:38:03 +02:00
Veronica K. Berglyd Olsen
b016c5d142 Update syntax.yml 2020-08-12 19:31:53 +02:00
Veronica K. Berglyd Olsen
58458e1036 Flake 8 check 2020-08-12 19:21:14 +02:00
Veronica K. B. Olsen
7f0bff29d2 Added config file for readthedocs 2020-08-12 13:12:54 +02:00
Veronica K. B. Olsen
b4497b133c Updated changelog 2020-08-11 23:05:54 +02:00
Veronica K. B. Olsen
8425c8c9be Bumped version to 0.12 2020-08-11 23:03:10 +02:00
Veronica K. Berglyd Olsen
ae997c3236 Merge pull request #366 from vkbo/new_project_wizard
New Project Wizard
2020-08-11 23:00:48 +02:00
Veronica K. B. Olsen
033c3e63c2 Some final tweaks 2020-08-11 22:55:38 +02:00
Veronica K. B. Olsen
e05aada76a Turning on codecov patch feature again 2020-08-11 22:29:46 +02:00
Veronica K. B. Olsen
dbdef444a1 Added project wizard gui test 2020-08-11 22:14:48 +02:00
Veronica K. B. Olsen
a46803232c Added tests for new sample and new custom project 2020-08-11 00:02:02 +02:00
Veronica K. B. Olsen
3acabdf74e Better title page 2020-08-10 22:26:37 +02:00
Veronica K. B. Olsen
72e4656a57 Have the new project function also set titles in files added 2020-08-10 22:16:46 +02:00
Veronica K. B. Olsen
7bc62db5e3 Updated project tests 2020-08-10 21:33:53 +02:00
Veronica K. B. Olsen
7d803a2eb7 Updated GUI tests 2020-08-10 21:25:45 +02:00
Veronica K. B. Olsen
8a50590a5d Update the new project code and add title page 2020-08-10 21:05:26 +02:00
Veronica K. B. Olsen
bf35bda942 Fixed tests 2020-08-09 20:53:38 +02:00
Veronica K. B. Olsen
9044ab4c3f Added setup command to create sample.zip file 2020-08-09 20:37:48 +02:00
Veronica K. B. Olsen
10067921f6 Fixed a few issues 2020-08-09 20:20:10 +02:00
Veronica K. B. Olsen
3c1e2727ad Extratcing the example project now works 2020-08-09 19:57:45 +02:00
Veronica K. B. Olsen
b5b657650a Creating a custom project now works 2020-08-09 18:17:46 +02:00
Veronica K. B. Olsen
ebec7c22a0 Wizard can now make a minimal project 2020-08-09 17:59:40 +02:00
Veronica K. B. Olsen
2702edced4 Completed the last couple of pages 2020-08-09 17:23:25 +02:00
Veronica K. B. Olsen
8ae491ddbc Merge branch 'main' into new_project_wizard 2020-08-09 16:17:40 +02:00
Veronica K. Berglyd Olsen
c74c733396 Merge pull request #392 from vkbo/release_0.11.1
Release 0.11.1
2020-08-09 16:01:29 +02:00
Veronica K. B. Olsen
fff03b8986 Updated changelog 2020-08-09 15:56:19 +02:00
Veronica K. B. Olsen
1215995531 Bumped version to 0.11.1 2020-08-09 15:42:58 +02:00
Veronica K. B. Olsen
c38951cf54 Force timezone for docs 2020-08-08 22:09:59 +02:00
Veronica K. Berglyd Olsen
42743fb891 Merge pull request #391 from vkbo/code_cleanup
Code Cleanup
2020-08-08 22:01:34 +02:00
Veronica K. B. Olsen
56b2cbee10 Code cleanup and added comments 2020-08-08 21:54:32 +02:00
Veronica K. B. Olsen
a9b6e00ba7 Cleanup of unused imports 2020-08-08 20:55:45 +02:00
Veronica K. Berglyd Olsen
a47c212b79 Merge pull request #390 from vkbo/docs_build_time
Add build date to docs
2020-08-08 20:09:00 +02:00
Veronica K. B. Olsen
aa8b2a7f23 Add build date to docs 2020-08-08 19:17:32 +02:00
Veronica K. Berglyd Olsen
1e3f006430 Merge pull request #389 from vkbo/dialog_modality
Dialog Modality
2020-08-08 18:48:41 +02:00
Veronica K. B. Olsen
16cfa13abb Removed show() from a few dialogs 2020-08-08 18:39:03 +02:00
Veronica K. B. Olsen
d1982c0abb Moved the about dialog functions to main gui class 2020-08-08 18:37:25 +02:00
Veronica K. B. Olsen
76fcc74342 Make writing stats and buid dialogs non-modal 2020-08-08 18:27:16 +02:00
Veronica K. Berglyd Olsen
1abff1e816 Merge pull request #388 from vkbo/travis_tweak
Travis tweaks
2020-08-08 17:32:29 +02:00
Veronica K. B. Olsen
6a664a1890 Drop 3.9 for now as it takes too long to build dependencies 2020-08-08 17:27:15 +02:00
Veronica K. Berglyd Olsen
1a76e13a00 Merge branch 'main' into travis_tweak 2020-08-08 17:19:28 +02:00
Veronica K. B. Olsen
d5b7c027fb Added conditional for future test stage 2020-08-08 17:18:42 +02:00
Veronica K. B. Olsen
7eabb7a1f4 That did not work 2020-08-08 17:09:30 +02:00
Veronica K. B. Olsen
9922efda77 Trying different packages 2020-08-08 17:06:05 +02:00
Veronica K. B. Olsen
59e588ebf5 Move the install commands back 2020-08-08 16:58:01 +02:00
Veronica K. B. Olsen
71d908fa3e Fixed 3.6 and added 3.9 2020-08-08 16:52:28 +02:00
Veronica K. B. Olsen
e8ad068a42 Another try at getting 3.7 to run 2020-08-08 16:43:06 +02:00
Veronica K. Berglyd Olsen
79186c2ccc Merge pull request #387 from vkbo/stats_hist_max
Writing Stats Histogram Cap
2020-08-08 16:31:24 +02:00
Veronica K. B. Olsen
d6e91df208 Updates to the travis script 2020-08-08 16:30:57 +02:00
Veronica K. B. Olsen
364aa77454 Added some info about the writing statistics tool in the docs 2020-08-08 16:19:47 +02:00
Veronica K. B. Olsen
5c1abfd220 Fix the slot for the various update signals 2020-08-08 16:11:16 +02:00
Veronica K. B. Olsen
ceabf50cf9 The histogram cap setting is now saved to the options file 2020-08-08 16:01:33 +02:00
Veronica K. B. Olsen
cd0f67d900 Prevent the enter key from closing the stats dialog 2020-08-08 15:57:45 +02:00
Veronica K. B. Olsen
2f9645491c The histogram bar of the writing stats dialog can now be capped 2020-08-08 15:51:59 +02:00
Veronica K. B. Olsen
43a7ea8f78 Merge branch 'main' into new_project_wizard 2020-08-08 15:26:27 +02:00
Veronica K. Berglyd Olsen
e927f88121 Merge pull request #386 from vkbo/doc_menu
Help Menu Improvements
2020-08-08 15:09:13 +02:00
Veronica K. B. Olsen
2d9a9c2b22 Updated documentation on shortcuts 2020-08-08 15:03:09 +02:00
Veronica K. B. Olsen
6bcf46191d better checking before launching local help 2020-08-08 14:58:19 +02:00
Veronica K. Berglyd Olsen
49bd828be0 Merge pull request #385 from vkbo/release_0.11
Release 0.11
2020-08-08 14:28:52 +02:00
Veronica K. B. Olsen
298df58808 Updated the sample file 2020-08-08 14:25:52 +02:00
Veronica K. B. Olsen
ff9acf8e6e Updated changelog 2020-08-08 14:24:57 +02:00
Veronica K. B. Olsen
9431af6330 Bumped version to 0.11 2020-08-08 14:06:45 +02:00
Veronica K. B. Olsen
edb556ba91 Shorten the first paragraph a bit 2020-08-08 11:08:44 +02:00
Veronica K. Berglyd Olsen
967f8360ed Merge pull request #384 from vkbo/update_readme
Update the readme file
2020-08-08 11:05:40 +02:00
Veronica K. B. Olsen
11ea0fb08f Update the readme file to match new docs 2020-08-08 11:02:22 +02:00
Veronica K. B. Olsen
96342e633d Fix another broken link 2020-08-07 23:29:43 +02:00
Veronica K. B. Olsen
58d4b24df5 Fix broken link 2020-08-07 23:28:16 +02:00
Veronica K. Berglyd Olsen
3ed98c7fed Merge pull request #375 from vkbo/docs_updates
Documentation Updates
2020-08-07 23:13:23 +02:00
Veronica K. B. Olsen
d7c1e47113 Made another pass of editing of the entire documentation 2020-08-07 23:06:35 +02:00
Veronica K. B. Olsen
566c704c87 Added docs logo 2020-08-07 20:55:30 +02:00
Veronica K. B. Olsen
050c08ea77 Trying a different header breakdown of the main document ... again 2020-08-06 23:52:02 +02:00
Veronica K. B. Olsen
62908adac6 Trying a different header breakdown of the main document 2020-08-06 23:48:46 +02:00
Veronica K. B. Olsen
38fb4a8184 Split up the toctree 2020-08-06 23:32:53 +02:00
Veronica K. B. Olsen
f820b8159e Fixed the layout of the export docs file 2020-08-06 23:18:03 +02:00
Veronica K. B. Olsen
4e7e888a53 Edited the remaining documentation files 2020-08-06 23:06:51 +02:00
Veronica K. B. Olsen
f227099eb4 Rewritten the structure page 2020-08-06 22:35:56 +02:00
Veronica K. B. Olsen
f600ad0759 Merge branch 'main' into docs_updates 2020-08-06 22:08:46 +02:00
Veronica K. B. Olsen
21eebbb88f Made a new pass of all the previously updated documentation files 2020-08-06 22:08:36 +02:00
Veronica K. Berglyd Olsen
8b1e9b2fbe Merge pull request #382 from vkbo/update_readme
Switch default branch
2020-08-06 10:34:06 +02:00
Veronica K. B. Olsen
80b8b3ec17 Updated readme with new default branch 2020-08-06 10:28:13 +02:00
Veronica K. B. Olsen
cb8e0231d7 Remove references to symspell 2020-08-05 00:09:37 +02:00
Veronica K. B. Olsen
c58b5e71d0 Use shutil.which to check for existence of executable instead 2020-08-04 21:36:24 +02:00
Veronica K. B. Olsen
565be8c580 Merge branch 'master' into docs_updates 2020-08-04 21:23:32 +02:00
Veronica K. B. Olsen
3708b3486b Make sure the assistant executable also exists 2020-08-04 21:23:25 +02:00
Veronica K. B. Olsen
bf184c4e5a The local documentation can now be opened if installed, otherwise go to online docs 2020-08-04 18:49:48 +02:00
Veronica K. B. Olsen
c695ae903f Added setup option to build qthelp documentation 2020-08-04 16:46:36 +02:00
Veronica K. Berglyd Olsen
a14b459664 Merge pull request #381 from vkbo/test_import_path
Added project root path to sys.path for test suite
2020-08-04 14:08:50 +02:00
Veronica K. B. Olsen
df61101ac3 Added project root path to sys.path for test suite 2020-08-04 12:59:24 +02:00
Veronica K. B. Olsen
0664e49ca2 Use release instead of version for docs 2020-08-04 12:57:19 +02:00
Veronica K. Berglyd Olsen
00160acf28 Merge branch 'master' into docs_updates 2020-08-03 23:53:01 +02:00
Veronica K. B. Olsen
9b9a3dd5bb Finished rewriting the project docs file 2020-08-03 23:33:05 +02:00
Veronica K. B. Olsen
2abe214b2f Added anchors to the already updated files 2020-08-03 22:52:25 +02:00
Veronica K. B. Olsen
9e2fe92c83 Added custom css and rewrote the interfaces docs file 2020-08-03 22:46:43 +02:00
Veronica K. Berglyd Olsen
c8ac0f0fc4 Merge pull request #380 from vkbo/fix_install
Fix install.py
2020-08-02 22:39:34 +02:00
Veronica K. B. Olsen
de7ba23a25 Fixed some problems with the install.py script 2020-08-02 22:27:01 +02:00
Veronica K. B. Olsen
c6c47866d1 Updated the getting started page 2020-08-02 22:26:01 +02:00
Veronica K. B. Olsen
5e414d5730 Merge branch 'master' into docs_updates 2020-08-02 21:46:08 +02:00
Veronica K. Berglyd Olsen
ffb65f8393 Merge pull request #379 from vkbo/about_tweaks
About and Setup Tweaks
2020-08-02 21:45:14 +02:00
Veronica K. B. Olsen
56528d0f98 Add source url variable to nw init 2020-08-02 21:36:09 +02:00
Veronica K. B. Olsen
4d0777b02e Remove duplicate settings from setup, and add more classifiers 2020-08-02 21:35:45 +02:00
Veronica K. B. Olsen
b6e06a81d5 Setup file should get version from nw/__init__.py 2020-08-02 21:25:45 +02:00
Veronica K. B. Olsen
148c3530e2 Split up author and credit entries in icon theme config files 2020-08-02 21:23:16 +02:00
Veronica K. B. Olsen
61190284be About box shoud now point to the new website URL 2020-08-02 21:22:50 +02:00
Veronica K. Berglyd Olsen
9a069eea8d Merge pull request #378 from vkbo/exceptions
Exception Handling
2020-08-02 19:17:20 +02:00
Veronica K. B. Olsen
d3ab1caf3a Block the error handler dialog in test mode 2020-08-02 15:14:46 +02:00
Veronica K. B. Olsen
46c9f0fb5f Added more infor to the error dialog 2020-08-02 15:03:17 +02:00
Veronica K. B. Olsen
95a5ee7b8a Set up global error handler and modified error handling for initial GUI build 2020-08-02 14:34:44 +02:00
Veronica K. B. Olsen
e5cdb2e8ca Added error.py file for error handling functions 2020-08-02 14:34:09 +02:00
Veronica K. Berglyd Olsen
5f64d55f5b Merge pull request #376 from vkbo/package_structure
Python Package Structure
2020-07-31 21:58:29 +02:00
Veronica K. B. Olsen
350d5beed7 Some minor last tweaks to the exception handler 2020-07-31 21:46:23 +02:00
Veronica K. B. Olsen
9233cdd014 Added exception handling for the main app itself 2020-07-31 17:49:10 +02:00
Veronica K. B. Olsen
fc017cd8da Changed how the application name is passed around 2020-07-31 16:41:46 +02:00
Veronica K. B. Olsen
02f85bd5d7 Set __package__ to nw and added variable __appname__ 2020-07-31 14:48:37 +02:00
Veronica K. B. Olsen
d848827e58 Updating documentation 2020-07-30 21:53:57 +02:00
Veronica K. B. Olsen
57f199ef17 Some updates to the docs config file 2020-07-30 00:18:08 +02:00
Veronica K. Berglyd Olsen
f5cc67d33f Merge pull request #374 from vkbo/release_0.10.2
Release 0.10.2
2020-07-29 16:44:17 +02:00
Veronica K. B. Olsen
2b3190400c Updated changelog and bumped version to 0.10.2 2020-07-29 16:34:42 +02:00
Veronica K. Berglyd Olsen
62e8750b18 Merge pull request #373 from vkbo/search_replace
Search/Replace Fix
2020-07-27 20:28:49 +02:00
Veronica K. B. Olsen
c506212efd Some minor code tweaks 2020-07-27 20:14:23 +02:00
Veronica K. B. Olsen
01e1ab3f68 Found a better way to validate a search/replace when using RegEx 2020-07-27 20:09:39 +02:00
Veronica K. Berglyd Olsen
a55552e132 Merge pull request #372 from vkbo/issue_371
Bugfix: RegEx Search/Replace Crash
2020-07-26 22:29:08 +02:00
Veronica K. B. Olsen
a4db7f934d Typo and clarification 2020-07-26 22:25:33 +02:00
Veronica K. B. Olsen
cacb0f2db8 Try to capture some user edge cases 2020-07-26 22:24:12 +02:00
Veronica K. B. Olsen
2dc225ae1f Revert that ... 2020-07-26 22:21:35 +02:00
Veronica K. B. Olsen
41b6ffa67b Drop the whole case check in replace 2020-07-26 22:19:29 +02:00
Veronica K. B. Olsen
45e762567b Fix for issue 371, regex search replace crash 2020-07-26 22:13:09 +02:00
Veronica K. Berglyd Olsen
f08743b338 Merge pull request #370 from vkbo/escape_warnings
Kill invalid escape sequence warning in Tokenizer class
2020-07-26 20:00:56 +02:00
Veronica K. B. Olsen
595218835e Kill invalid escape sequence warning in Tokenizer class 2020-07-26 19:55:31 +02:00
Veronica K. Berglyd Olsen
f0504f13f3 Merge pull request #369 from vkbo/screenshots
Updated screenshots
2020-07-26 19:51:23 +02:00
Veronica K. B. Olsen
d67e4fa48a Updated screenshots 2020-07-26 19:45:38 +02:00
Veronica K. Berglyd Olsen
5a813c9bc5 Merge pull request #367 from vkbo/insert_quotes
Insert Quotes in Text
2020-07-26 14:49:32 +02:00
Veronica K. B. Olsen
3c4a2f83e3 Updated documentation 2020-07-26 14:36:12 +02:00
Veronica K. B. Olsen
d17e9466d2 Removed the constant class for document insert values as they are no longer all static 2020-07-26 14:33:53 +02:00
Veronica K. B. Olsen
646562cdf8 Rewritten the doc editors insertText function 2020-07-26 14:33:12 +02:00
Veronica K. B. Olsen
0d179a6208 Added menu entries for insert quotes 2020-07-26 14:20:43 +02:00
Veronica K. B. Olsen
32878a336d Uncommited changes 2020-07-26 14:14:49 +02:00
Veronica K. B. Olsen
9db7550d30 Added populate project page, and two more dummy pages 2020-07-12 18:11:56 +02:00
Veronica K. B. Olsen
5749b1948f Changed a bit how novelWriter icon and dialog decoration is loaded 2020-07-12 17:30:40 +02:00
Veronica K. B. Olsen
8c895319e5 Added the wizard project location page 2020-07-11 15:48:31 +02:00
Veronica K. B. Olsen
1277e5025d Added first page to wizard 2020-07-11 15:07:11 +02:00
Veronica K. B. Olsen
8cc75fcbd4 Added project wizard class file 2020-07-11 13:49:48 +02:00
Veronica K. B. Olsen
efaa3b6719 Typo in changelog 2020-07-11 13:39:48 +02:00
Veronica K. Berglyd Olsen
e1a4265964 Merge pull request #365 from vkbo/release_0.10.1
Release 0.10.1
2020-07-11 13:17:05 +02:00
Veronica K. B. Olsen
81013c29d8 Updated changelog 2020-07-11 13:14:15 +02:00
Veronica K. B. Olsen
c174386e04 Bumped version to 0.10.1 2020-07-11 12:58:26 +02:00
Veronica K. Berglyd Olsen
202a413503 Merge pull request #364 from vkbo/fixes
Build Fixes
2020-07-11 12:50:11 +02:00
Veronica K. B. Olsen
8d1938922d Set the correct categories for the .desktop file 2020-07-10 14:36:25 +02:00
Veronica K. Berglyd Olsen
aa2706fa87 Merge branch 'master' into fixes 2020-07-10 14:32:12 +02:00
Veronica K. B. Olsen
0330b3a0b4 Added root folder assets to the manifest file 2020-07-10 14:26:39 +02:00
Veronica K. B. Olsen
fa08276dd5 Some fixed to the install scripts and launcher template 2020-07-09 12:23:39 +02:00
Veronica K. Berglyd Olsen
324445cab4 Merge pull request #363 from vkbo/fixes
Minor Fixes
2020-07-06 08:20:33 +02:00
Veronica K. B. Olsen
a14850de65 Improved the roman number function and fixed a bug in it 2020-07-06 08:16:22 +02:00
Veronica K. B. Olsen
57c7fdcf6d Fixed typo in tooltip 2020-07-05 23:25:29 +02:00
Veronica K. Berglyd Olsen
74dcf67dd9 Merge pull request #362 from vkbo/roman_numbers
Roman Numbers in Build Tool
2020-07-05 17:01:45 +02:00
Veronica K. B. Olsen
f805b0ccae Updated documentation 2020-07-05 16:56:21 +02:00
Veronica K. B. Olsen
7816bf5b87 Connected the Roman numbers function to the build tool 2020-07-05 16:56:06 +02:00
Veronica K. B. Olsen
1cb17733c6 Adding a numberToRoman function for converting integers to Roman number strings 2020-07-05 16:55:31 +02:00
Veronica K. Berglyd Olsen
e4b454c9c7 Merge pull request #361 from vkbo/minor_changes
Minor GUI Changes
2020-07-04 20:01:45 +02:00
Veronica K. B. Olsen
731fd4e139 Add tooltip to some more main gui buttons 2020-07-04 19:55:38 +02:00
Veronica K. B. Olsen
f179738b69 Reorder menu items and rename some features 2020-07-04 19:46:39 +02:00
Veronica K. B. Olsen
4cc295e0f2 Minor reordering of log output during init 2020-07-04 19:25:40 +02:00
Veronica K. Berglyd Olsen
5dd7befc82 Merge pull request #360 from vkbo/regex_update_search
Search/Replace Regular Expression Update
2020-07-03 23:13:34 +02:00
Veronica K. B. Olsen
a2b2910bd7 If running with Qt 5.13 or higher, search/replace uses the QRegularExpression class instead of just QRegExp 2020-07-03 23:06:56 +02:00
Veronica K. Berglyd Olsen
9130db1fe2 Merge pull request #359 from vkbo/fixes
Minor Fixes
2020-07-02 21:25:35 +02:00
Veronica K. B. Olsen
b119db0ee1 Add note about required Qt version for regex search/replace 2020-07-02 21:07:53 +02:00
Veronica K. B. Olsen
7bdfbc4ce7 Fixed error reporting for legacy project folder converter 2020-07-02 20:56:50 +02:00
Veronica K. Berglyd Olsen
eb985280ed Merge pull request #358 from vkbo/release_0.10
Release 0.10
2020-06-30 18:51:20 +02:00
Veronica K. B. Olsen
8081351ad6 Updated changelog 2020-06-29 22:29:29 +02:00
Veronica K. B. Olsen
e6a392481c Bumped version to 0.10 2020-06-29 21:33:36 +02:00
Veronica K. B. Olsen
8a06400f2a Made a note of the addition of GuiDocEditFooter in the source file 2020-06-29 21:32:08 +02:00
Veronica K. B. Olsen
2d82526bd1 Remove some out of date infor in docs 2020-06-29 19:19:23 +02:00
Veronica K. Berglyd Olsen
0d1bd5355a Merge pull request #357 from vkbo/option_highlight_emph
Optional Colour Highlighting of Emphasised Text
2020-06-29 19:05:50 +02:00
Veronica K. B. Olsen
fbd367c1b0 Fixed tests 2020-06-29 17:36:55 +02:00
Veronica K. B. Olsen
e190ef146e Moved writing guides settings to Editor tab in Preferences 2020-06-29 17:34:05 +02:00
Veronica K. B. Olsen
a6a28b41d1 Added option to disable colour highlighting of emphasised text 2020-06-29 17:33:36 +02:00
Veronica K. Berglyd Olsen
89591561fd Merge pull request #356 from vkbo/selectable_path
Select Path in Project Settings
2020-06-29 17:17:54 +02:00
Veronica K. Berglyd Olsen
85db807e3b Merge branch 'master' into selectable_path 2020-06-29 17:04:24 +02:00
Veronica K. Berglyd Olsen
ca9fb03803 Merge pull request #355 from vkbo/markdown-fixes
Markdown fixes
2020-06-29 17:04:12 +02:00
Veronica K. B. Olsen
a8b2a34438 Make project path selectable, issue #354 2020-06-29 13:49:36 +02:00
Veronica K. B. Olsen
4355d5fd77 Put back the non-breaking space in the sample 2020-06-29 13:28:15 +02:00
Veronica K. B. Olsen
fdf7f58d5f Updated docs 2020-06-29 13:14:47 +02:00
Veronica K. B. Olsen
70078be145 Fixed tests and updated sample 2020-06-29 12:56:36 +02:00
Veronica K. B. Olsen
564a15968c Fixed menu and shortcut action for bold/italic 2020-06-29 12:52:56 +02:00
Veronica K. B. Olsen
ceadfe1e5c Improved regex, highlighting and HTML conversion of bold and italic text. Reverting to old syntax for italic. 2020-06-29 12:15:49 +02:00
Veronica K. Berglyd Olsen
c572eb0d16 Merge pull request #351 from vkbo/hide_doc_footer
Hide docFooter in Zen Mode
2020-06-27 21:27:01 +02:00
Veronica K. B. Olsen
6b70d9677d Fixed tests 2020-06-27 21:21:49 +02:00
Veronica K. B. Olsen
c67e5f444a Added the code to hide document footer 2020-06-27 21:21:13 +02:00
Veronica K. B. Olsen
3d682e154e Added the hideZenFooter config option 2020-06-27 21:17:41 +02:00
Veronica K. B. Olsen
dad4677791 Fixed typo in enum 2020-06-27 21:06:19 +02:00
Veronica K. Berglyd Olsen
9f8963d6d2 Merge pull request #350 from vkbo/emphasis
Emphasis instead of Italic, Bold, etc
2020-06-27 21:04:47 +02:00
Veronica K. B. Olsen
2ac4e2ce26 Updated documentation 2020-06-27 20:52:48 +02:00
Veronica K. B. Olsen
e5180e1398 Fixed tests 2020-06-27 20:45:39 +02:00
Veronica K. B. Olsen
a15af30578 Renamed italic and bold to emphasis and strong emphasis 2020-06-27 20:45:24 +02:00
Veronica K. Berglyd Olsen
4d88b20fc1 Merge pull request #349 from vkbo/writing_stats
Writing Stats
2020-06-27 20:23:24 +02:00
Veronica K. B. Olsen
a89b3cbde3 Updated documentation 2020-06-27 20:17:23 +02:00
Veronica K. B. Olsen
1dce9b185b Fixed tests 2020-06-27 20:17:11 +02:00
Veronica K. B. Olsen
7d6d0cc195 Renamed Session Log to Writing Statistics 2020-06-27 20:16:21 +02:00
Veronica K. Berglyd Olsen
c78c0c82b3 Merge pull request #348 from vkbo/editor_footer
Editor Footer
2020-06-27 20:00:20 +02:00
Veronica K. B. Olsen
e9d21db263 Updated test 2020-06-27 19:56:38 +02:00
Veronica K. B. Olsen
c0074ca269 Update count and infor separately, and make sure info is updated on item edit 2020-06-27 19:49:06 +02:00
Veronica K. B. Olsen
243d9dd85a Remove doc word count from main statusbar, and added support for session word count for documents 2020-06-27 19:41:41 +02:00
Veronica K. B. Olsen
7d30a2c044 Added word count to the document footer 2020-06-27 19:29:41 +02:00
Veronica K. B. Olsen
ed1f30662c Merge branch 'master' into editor_footer 2020-06-27 18:12:45 +02:00
Veronica K. Berglyd Olsen
e930fb203c Merge pull request #347 from vkbo/fixes
Session Log Fix
2020-06-27 17:56:11 +02:00
Veronica K. Berglyd Olsen
6f89b1a9a5 Merge branch 'master' into fixes 2020-06-27 17:46:57 +02:00
Veronica K. B. Olsen
40e7213a39 And another fix, plus some cleanup 2020-06-27 17:44:48 +02:00
Veronica K. Berglyd Olsen
6cb10a3896 Merge pull request #346 from vkbo/fixes
Session Log Fixes and Project File Version Bump
2020-06-27 17:34:38 +02:00
Veronica K. B. Olsen
c241e5f52e Do it right! 2020-06-27 17:31:33 +02:00
Veronica K. B. Olsen
3d162b880a Alert the user to which novelWriter version the file was saved with. 2020-06-27 17:29:47 +02:00
Veronica K. B. Olsen
f4625647e1 Updated changelog 2020-06-27 17:21:03 +02:00
Veronica K. B. Olsen
1b773c1b44 Bump the version of the project XML file to prevent data loss if going back to an older version of novelWriter 2020-06-27 17:20:47 +02:00
Veronica K. B. Olsen
e6a8488e08 Some minor tweaks to the session log filter logic 2020-06-27 17:00:41 +02:00
Veronica K. Berglyd Olsen
91b2e1e57e Merge pull request #343 from vkbo/dev
Dev to Master for 0.10
2020-06-27 16:54:09 +02:00
Veronica K. B. Olsen
24582f4c2c Deleted the lib folder 2020-06-26 21:36:30 +02:00
Veronica K. B. Olsen
5f15b06303 Merge branch 'master' into dev 2020-06-26 21:32:19 +02:00
Veronica K. Berglyd Olsen
d40aab951f Merge pull request #345 from vkbo/release_0.9.2
Release 0.9.2
2020-06-26 21:28:18 +02:00
Veronica K. B. Olsen
c495825018 Grammatical error 2020-06-26 21:23:39 +02:00
Veronica K. B. Olsen
9126a1de2b Updated changelog 2020-06-26 21:21:25 +02:00
Veronica K. B. Olsen
9609095790 Bumped version number to 0.9.2 2020-06-26 21:21:08 +02:00
Veronica K. Berglyd Olsen
48c72b3755 Merge pull request #344 from vkbo/autoreplace_xml
Auto-Replace XML Format
2020-06-26 19:44:16 +02:00
Veronica K. B. Olsen
a0d07409d4 Fixed test 2020-06-26 19:33:42 +02:00
Veronica K. B. Olsen
e2f5ddf5f5 Change the storage format of auto-replace in the XML 2020-06-26 19:30:51 +02:00
Veronica K. Berglyd Olsen
216d3f2ce4 Merge pull request #339 from vkbo/session_log
Session Log Updates
2020-06-26 19:11:40 +02:00
Veronica K. B. Olsen
f78fbcbc8f Added test for the session log tool 2020-06-26 19:07:00 +02:00
Veronica K. B. Olsen
198836c261 No need to set the session log offset value if it's 0 2020-06-26 18:37:17 +02:00
Veronica K. B. Olsen
b05d6f2dc1 Remove some unused data and variables from the code 2020-06-26 18:28:36 +02:00
Veronica K. B. Olsen
bdedc7a11c The session data can now be exported to JSON and CSV files with the filters applied 2020-06-26 18:23:44 +02:00
Veronica K. B. Olsen
d316277f72 Merge branch 'dev' into session_log 2020-06-26 11:21:19 +02:00
Veronica K. B. Olsen
3258621456 No dash before rc1 in version number 2020-06-26 11:21:01 +02:00
Veronica K. B. Olsen
98b822fa47 Fix tests 2020-06-26 11:19:40 +02:00
Veronica K. B. Olsen
09be23a11e Brand new session stats log with saved counts for novel and notes seperately, and new parsing code 2020-06-25 21:11:37 +02:00
Veronica K. B. Olsen
9e6feb6b05 Session log entries can be grouped by day 2020-06-24 23:39:20 +02:00
Veronica K. B. Olsen
2749569482 Added histogram bars for relative word count in session log 2020-06-24 22:49:08 +02:00
Veronica K. B. Olsen
9f1826cb59 Replaced checkboxes with switches 2020-06-24 21:53:31 +02:00
Veronica K. B. Olsen
935971fa0c Give the session log class a shorter name 2020-06-24 21:45:41 +02:00
Veronica K. B. Olsen
1110f40231 Restructured the session log class and made it consistent with other source files 2020-06-24 21:36:08 +02:00
Veronica K. B. Olsen
a5c83a45f5 First some code cleanup and fix of the filtered total 2020-06-24 21:20:22 +02:00
Veronica K. B. Olsen
996bffb21b Bumped version for dev branch 2020-06-24 21:01:32 +02:00
Veronica K. Berglyd Olsen
b5afe8703b Merge pull request #338 from vkbo/update_docs
Update Docs
2020-06-23 22:43:18 +02:00
Veronica K. B. Olsen
5913c944d9 Make a note in the docd about bold/italic etc formatting 2020-06-23 22:40:16 +02:00
Veronica K. Berglyd Olsen
4043f81065 Merge pull request #337 from vkbo/built_time
Built Time – A Few Tweaks
2020-06-23 22:08:06 +02:00
Veronica K. Berglyd Olsen
2d9c92a156 Merge branch 'master' into built_time 2020-06-23 22:05:29 +02:00
Veronica K. B. Olsen
a1d7f8296f Set a default build doc header 2020-06-23 22:02:57 +02:00
Veronica K. B. Olsen
ca04f31309 Just let the fuzzy time run till it counts years 2020-06-23 22:02:19 +02:00
Veronica K. Berglyd Olsen
6d65c7a827 Merge pull request #336 from vkbo/built_time
Age of Project Build
2020-06-23 20:53:00 +02:00
Veronica K. B. Olsen
918d9c6470 Forgot to clean up imports 2020-06-23 20:45:34 +02:00
Veronica K. B. Olsen
c19c93d60c Some last tweaks 2020-06-23 20:41:10 +02:00
Veronica K. B. Olsen
bc8873fdd4 Also added a fuzzy time string to the build doc header to make it easier to see the age of the build 2020-06-23 20:23:52 +02:00
Veronica K. B. Olsen
b47d6b6546 Added a document header to the build tool document stating when it was generated 2020-06-23 19:55:19 +02:00
Veronica K. Berglyd Olsen
e83717f286 Merge pull request #335 from vkbo/word_counts
Word Counts
2020-06-22 19:34:52 +02:00
Veronica K. Berglyd Olsen
65df802a0a Merge branch 'master' into word_counts 2020-06-22 19:26:55 +02:00
Veronica K. Berglyd Olsen
34fbdae50d Merge pull request #334 from vkbo/reveal_in_tree
Scroll to Reveal in Tree Settings
2020-06-22 19:26:45 +02:00
Veronica K. B. Olsen
bce23c69e1 Also remove word count when a file is permamently deleted 2020-06-22 19:22:26 +02:00
Veronica K. B. Olsen
bc6751ba00 Move to trash and drag'n'drop items now updates word counts 2020-06-22 19:07:30 +02:00
Veronica K. B. Olsen
a57242d26f Different policy for scrolling to reveal tree item for different ways of opening a document 2020-06-22 18:37:22 +02:00
Veronica K. Berglyd Olsen
64e2521974 Merge pull request #329 from vkbo/release_0.9.1
Release 0.9.1 (Bugfix)
2020-06-21 22:33:18 +02:00
Veronica K. B. Olsen
56aba17bb9 Fixed typo 2020-06-21 21:38:03 +02:00
Veronica K. B. Olsen
8b0e14e8ac Bumped version to 0.9.1 and updated changelog 2020-06-21 21:36:49 +02:00
Veronica K. Berglyd Olsen
fe3c231071 Merge pull request #328 from vkbo/replace_bugfix
Fixed bug in search replace
2020-06-21 21:32:10 +02:00
Veronica K. B. Olsen
dac3643de6 Fixed bug in search replace 2020-06-21 21:28:05 +02:00
Veronica K. Berglyd Olsen
76e369905a Merge pull request #326 from vkbo/release_0.9
Release 0.9
2020-06-21 12:57:37 +02:00
Veronica K. B. Olsen
afd6c46609 Updated docs 2020-06-20 20:43:12 +02:00
Veronica K. B. Olsen
02da62f120 Fixed typo 2020-06-20 20:31:50 +02:00
Veronica K. B. Olsen
5eda8ddd13 Bumped version to 0.9 and updated changelog 2020-06-20 20:24:31 +02:00
Veronica K. Berglyd Olsen
9e5140ddb5 Merge pull request #315 from vkbo/dev
Dev to Master for 0.9
2020-06-20 20:15:19 +02:00
Veronica K. B. Olsen
51ddfb3cee Fixed a typo 2020-06-20 20:12:12 +02:00
Veronica K. B. Olsen
24d79ade58 Updated changelog 2020-06-20 20:10:31 +02:00
Veronica K. Berglyd Olsen
df473ad4d2 Merge pull request #325 from vkbo/project_tree_stay_put
Don't Auto-Scroll Project Tree
2020-06-20 19:50:18 +02:00
Veronica K. B. Olsen
b46177b40b Fixed test 2020-06-20 19:47:39 +02:00
Veronica K. B. Olsen
1d6f346955 Don't scroll project tree every time a document is opened 2020-06-20 18:17:48 +02:00
Veronica K. Berglyd Olsen
6c872596b7 Merge pull request #324 from vkbo/project_settings_settings
Project Settings Dimensions
2020-06-19 23:24:22 +02:00
Veronica K. Berglyd Olsen
14ae67c94c Merge branch 'dev' into project_settings_settings 2020-06-19 23:19:47 +02:00
Veronica K. Berglyd Olsen
f2e1be38cd Merge pull request #323 from vkbo/preview_tweaks
Preview Edit Doc Before Selected Doc
2020-06-19 23:19:37 +02:00
Veronica K. B. Olsen
5a373f1cda Save the window size and replace column width in project settings 2020-06-19 23:18:17 +02:00
Veronica K. B. Olsen
747ff63a92 Also save first if pressing the relaod button from the doc viewer header bar 2020-06-19 23:01:22 +02:00
Veronica K. B. Olsen
b19c106b45 CHange the order of preference for the view document action 2020-06-19 22:46:22 +02:00
Veronica K. Berglyd Olsen
6a95f1e960 Merge pull request #321 from vkbo/replace_quotes
Replace Quotes and Undo History Behaviour
2020-06-19 22:27:26 +02:00
Veronica K. B. Olsen
d6dd776056 Delete unused variable 2020-06-19 22:17:57 +02:00
Veronica K. B. Olsen
03f1142e40 Added replace quotes function, and cleaned up some buggy behaviour with undo and how changes are tracked 2020-06-19 21:56:37 +02:00
Veronica K. B. Olsen
b0380adc5f Added line and paragraph separatir unicodes back into nwUnicode class 2020-06-19 21:55:43 +02:00
Veronica K. Berglyd Olsen
38511b18ba Merge pull request #319 from vkbo/more_space
Document Insert Feature
2020-06-19 20:01:29 +02:00
Veronica K. B. Olsen
ee23f937f2 Added issues tracker menu entry, and made a few minor changes 2020-06-19 19:51:23 +02:00
Veronica K. B. Olsen
fdf7915747 Updated sample text with extra descriptions 2020-06-19 17:35:35 +02:00
Veronica K. B. Olsen
0fc0851def Added insert options and key bindings for seven different symbol and space inserts 2020-06-19 17:35:14 +02:00
Veronica K. B. Olsen
61856cec5b Added new constants for document insert feature 2020-06-19 17:34:41 +02:00
Veronica K. B. Olsen
3bfe214682 Added thin space and thin non-breaking space to unicode class 2020-06-18 23:45:23 +02:00
Veronica K. Berglyd Olsen
69170aad3e Merge pull request #318 from vkbo/test_coverage
Increase Test Coverage
2020-06-18 23:12:21 +02:00
Veronica K. B. Olsen
1135ca7f87 Added document action test 2020-06-18 23:00:47 +02:00
Veronica K. B. Olsen
8ff54ceaa4 Added some more checks in the gui tests for writing documents 2020-06-18 22:36:36 +02:00
Veronica K. B. Olsen
70ce2b1226 Update codecov settings 2020-06-18 21:58:38 +02:00
Veronica K. B. Olsen
4dd27ba58c Updated changelog 2020-06-18 21:37:34 +02:00
Veronica K. Berglyd Olsen
c1e89db0a8 Merge pull request #317 from vkbo/quotes
Quote Symbols Dialog
2020-06-18 21:23:26 +02:00
Veronica K. B. Olsen
28641a7b13 Fixed test and cleaned up imports 2020-06-18 21:20:15 +02:00
Veronica K. B. Olsen
670f1c0b35 Added the quote selection dialog to Preferences 2020-06-18 19:30:34 +02:00
Veronica K. B. Olsen
a64d867ed4 Added a quote symbol selection dialog 2020-06-18 19:30:02 +02:00
Veronica K. B. Olsen
bbd6e70868 Forgot to save the file ... 2020-06-17 22:39:52 +02:00
Veronica K. B. Olsen
1978d50e7e Some minor cleanup in doceditor 2020-06-17 22:39:01 +02:00
Veronica K. B. Olsen
399b13dd3d Make both panes use viewportmargin 2020-06-17 22:27:06 +02:00
Veronica K. B. Olsen
8896bbb4b9 Merge branch 'dev' into editor_footer 2020-06-17 22:20:36 +02:00
Veronica K. Berglyd Olsen
1d9493f1f5 Merge pull request #314 from vkbo/update_search_replace
Update Search Replace
2020-06-17 21:51:27 +02:00
Veronica K. B. Olsen
c2b55530be Renamed a variable, and fixed the document margins of search box change of size 2020-06-17 21:46:59 +02:00
Veronica K. B. Olsen
c264e6100d Replaced one of the icons on the search bar 2020-06-17 21:46:23 +02:00
Veronica K. B. Olsen
5832d3db71 This seemed to fix the test on the local machine 2020-06-17 21:28:22 +02:00
Veronica K. B. Olsen
b2747baf6d Pin exact version then ... 2020-06-17 20:50:22 +02:00
Veronica K. B. Olsen
7994491c5d Force tests to run with qt<5.15 2020-06-17 20:45:34 +02:00
Veronica K. B. Olsen
deec57c9c6 Another attempt at forcing the test word counter 2020-06-17 20:23:20 +02:00
Veronica K. B. Olsen
f2c1ce1cca Second attempt at fixing test where the word counter suddenly isn't working 2020-06-17 20:05:30 +02:00
Veronica K. B. Olsen
22341c5e21 Fixed test and cleaned up imports 2020-06-17 19:56:19 +02:00
Veronica K. B. Olsen
79d6e3594c Fixed tests 2020-06-17 19:47:44 +02:00
Veronica K. B. Olsen
6712a7dfcd The state of the search buttons is now saved between sessions 2020-06-17 19:47:25 +02:00
Veronica K. B. Olsen
32052b1bc3 Searching through files can now loop back to first file again 2020-06-17 19:29:25 +02:00
Veronica K. B. Olsen
ad21c6e3a4 Continue search in next file is now working 2020-06-17 19:16:32 +02:00
Veronica K. B. Olsen
0ddb7ad1de Preserve case repalce now works 2020-06-17 17:15:30 +02:00
Veronica K. B. Olsen
c3c0bd7abe Added search options as a toolbar instead 2020-06-17 16:57:49 +02:00
Veronica K. B. Olsen
ef0d1fc89c Added icons for the search tool 2020-06-17 16:57:20 +02:00
Veronica K. B. Olsen
abc14db7d1 Search options can now be set in a popup menu 2020-06-16 23:07:18 +02:00
Veronica K. B. Olsen
f28a9f4523 Regex searching also works now 2020-06-16 22:32:08 +02:00
Veronica K. B. Olsen
ad8463543e Merged find next and prev functions, and added optrions for case sensitivity and whole words 2020-06-16 21:35:57 +02:00
Veronica K. B. Olsen
8755434f76 Fix weird issue with text editor capturing enter key without having focus 2020-06-16 20:44:24 +02:00
Veronica K. B. Olsen
2c5692085e Use viewport margins for all scaling of editor doc margins 2020-06-16 00:20:59 +02:00
Veronica K. B. Olsen
a4108222b0 Search functionality mostly working again 2020-06-15 22:24:50 +02:00
Veronica K. B. Olsen
65492b13b7 Some cleanup of unneeded code in main gui 2020-06-15 22:24:26 +02:00
Veronica K. B. Olsen
bbb0f5f9dd Moved the search bar code into a new class 2020-06-15 21:36:04 +02:00
Veronica K. B. Olsen
7374d0513e Some minor changes for code consistency 2020-06-15 16:39:31 +02:00
Veronica K. B. Olsen
aad35e2d7b First some cleanup of the document widgets 2020-06-15 16:35:24 +02:00
Veronica K. B. Olsen
8d71a2385b Minimal doc editor footer bar 2020-06-14 22:01:58 +02:00
Veronica K. B. Olsen
094da13c49 Merge branch 'master' into dev 2020-06-14 16:10:51 +02:00
Veronica K. Berglyd Olsen
8e7e8b5a84 Merge pull request #307 from vkbo/release_0.8
Release 0.8
2020-06-14 16:06:24 +02:00
Veronica K. B. Olsen
d6b95b56da Merge branch 'master' into release_0.8 2020-06-13 23:14:41 +02:00
Veronica K. Berglyd Olsen
bd1bea28a4 Merge pull request #311 from vkbo/view_comments
Comment Rendering in Document Viewer
2020-06-13 23:14:25 +02:00
Veronica K. B. Olsen
c7f69faca9 Updated changelog with PR #311 2020-06-13 23:14:11 +02:00
Veronica K. B. Olsen
181ff99277 Fixed tests 2020-06-13 23:07:35 +02:00
Veronica K. B. Olsen
a85222fdb8 Updated rendering of preview text to include synopsis 2020-06-13 22:59:31 +02:00
Veronica K. B. Olsen
21742ff494 Removed view comments toggle from the menu, as it is in preferences now 2020-06-13 22:59:02 +02:00
Veronica K. B. Olsen
3321b744d5 Added viewSyopsis option to config, and added both viewComments and viewSynopsis to Preferences 2020-06-13 22:58:26 +02:00
Veronica K. Berglyd Olsen
55b8fd20c6 Merge pull request #310 from vkbo/tidy_formatting
Standard Markdown Text Emphasis
2020-06-13 21:17:08 +02:00
Veronica K. B. Olsen
bd8a6afd91 Minor tweaks in text parsing and highlighting 2020-06-13 21:14:04 +02:00
Veronica K. B. Olsen
ff6b4bcfa7 Improve the word saparation detection of the spell check highlighting 2020-06-13 20:44:27 +02:00
Veronica K. B. Olsen
95268a8ca5 Updated changelog and documentation 2020-06-13 10:46:58 +02:00
Veronica K. B. Olsen
d2b1b8b57e Added back in strikethrough support 2020-06-13 10:27:02 +02:00
Veronica K. B. Olsen
31ca1718a0 Also in the tokenizer 2020-06-13 10:08:35 +02:00
Veronica K. B. Olsen
49049e19d8 Moved the emphasis regexes to a constants class 2020-06-13 10:08:00 +02:00
Veronica K. B. Olsen
6951b3d2fa Fixed tests 2020-06-13 00:39:57 +02:00
Veronica K. B. Olsen
8adda0c4a9 Fix regexes to be exclusive for 1, 2 and 3 stars 2020-06-13 00:14:34 +02:00
Veronica K. B. Olsen
63656e637f Improved the emphasis function for alternating between levels 2020-06-12 22:47:54 +02:00
Veronica K. B. Olsen
013b737452 Updated syntax highlighter 2020-06-12 22:47:13 +02:00
Veronica K. B. Olsen
1f434718ec Replaced underline format with bold-italic, and all formats now use star, not underscore 2020-06-12 22:00:14 +02:00
Veronica K. B. Olsen
3c8cf6829a Added changelog entry for PR #309 2020-06-12 20:28:54 +02:00
Veronica K. Berglyd Olsen
501fc6cf77 Merge pull request #309 from vkbo/load_updates
Project Load Updates (++)
2020-06-12 20:27:01 +02:00
Veronica K. B. Olsen
ee303491e4 Only one standard icon size 2020-06-12 20:18:58 +02:00
Veronica K. B. Olsen
19474dbc5e Pop a dialog box before removing an item from the recent entries list 2020-06-12 20:10:00 +02:00
Veronica K. B. Olsen
f7363c8465 Added PR #308 to yhe changelog 2020-06-12 17:51:04 +02:00
Veronica K. Berglyd Olsen
bff56aa100 Merge pull request #308 from vkbo/more_meta
More Meta
2020-06-12 17:48:32 +02:00
Veronica K. B. Olsen
5358bf5e6b Trying another method of parsing the meta string 2020-06-12 17:45:27 +02:00
Veronica K. B. Olsen
06ac3bdaba Fixed tests 2020-06-12 17:22:57 +02:00
Veronica K. B. Olsen
ad0ccf8a56 Fixed return of no meta data 2020-06-12 17:22:48 +02:00
Veronica K. B. Olsen
66c8931ece Updated sample project 2020-06-12 17:22:32 +02:00
Veronica K. B. Olsen
3fc17c5439 Save more meta data to the top of files 2020-06-12 17:08:18 +02:00
Veronica K. B. Olsen
8e38637250 No ned to explicitly declare sets 2020-06-12 17:07:55 +02:00
Veronica K. B. Olsen
2c48e02558 Bumped dev branch to version 0.9rc1 2020-06-11 22:52:11 +02:00
Veronica K. B. Olsen
929b34843a Updated version and changelog 2020-06-11 22:25:01 +02:00
Veronica K. Berglyd Olsen
b6e7220495 Merge pull request #306 from vkbo/tweaks
Minor Tweaks and Fixes
2020-06-11 18:11:27 +02:00
Veronica K. B. Olsen
20ff46b8d2 Fixed issue with following tag link when doc viewer is closed. 2020-06-11 18:02:23 +02:00
Veronica K. B. Olsen
9671db0b42 Some cleanup in the doc view header 2020-06-11 17:57:58 +02:00
Veronica K. B. Olsen
c3e6007f76 Some cleanup in the doc edit header 2020-06-11 17:54:43 +02:00
Veronica K. B. Olsen
2b878777d4 Moved the header bar for the editor into the doceditor file 2020-06-11 17:49:39 +02:00
Veronica K. B. Olsen
fcd887a67e Updated the look of the doc view footer 2020-06-11 17:37:17 +02:00
Veronica K. B. Olsen
e4f2949d3d All the DocViewer elements now live in the docviewer file 2020-06-11 16:47:54 +02:00
Veronica K. B. Olsen
e58c00b610 Use frameWidth instead of lineWidth for positioning document title bars 2020-06-11 16:33:57 +02:00
Veronica K. B. Olsen
29950e34a4 Some completeness in logger output 2020-06-10 17:19:52 +02:00
Veronica K. Berglyd Olsen
b88fc2f1ca Merge pull request #304 from vkbo/ref_panel_update
Redesign of References Panel
2020-06-09 23:47:13 +02:00
Veronica K. B. Olsen
566bf20d97 Updated the header of the file 2020-06-09 23:30:06 +02:00
Veronica K. B. Olsen
9da434d03a Fixed tests 2020-06-09 23:25:10 +02:00
Veronica K. B. Olsen
b61402a373 Completed redesign of doc viewer details panel 2020-06-09 23:25:01 +02:00
Veronica K. B. Olsen
4a69948aa8 More icons 2020-06-09 23:24:07 +02:00
Veronica K. B. Olsen
1bd5b16def Merge branch 'master' into ref_panel_update 2020-06-09 21:48:05 +02:00
Veronica K. B. Olsen
a24134d4d6 Viewer footer now works and references button shows/hides the references 2020-06-09 21:47:39 +02:00
Veronica K. B. Olsen
ef70e63814 Moved doc details to a splitter and added a footer bar to the viewer 2020-06-09 21:01:08 +02:00
Veronica K. Berglyd Olsen
e82777857f Merge pull request #303 from vkbo/docbar_again
Update Doc Title Bar Buttons
2020-06-09 20:33:20 +02:00
Veronica K. B. Olsen
f096bbef26 Renamed splitView to splitDocs 2020-06-09 17:54:56 +02:00
Veronica K. B. Olsen
8bb992bfb8 Made the document icon a bit darker for darker themes 2020-06-09 17:31:47 +02:00
Veronica K. B. Olsen
9fd14cc14f Using toolbar buttons instead on the document bar 2020-06-09 17:31:18 +02:00
Veronica K. Berglyd Olsen
c8577fb070 Merge pull request #302 from vkbo/icon_update
Icon Update
2020-06-09 16:39:33 +02:00
Veronica K. Berglyd Olsen
0ce74cef04 Merge branch 'master' into icon_update 2020-06-09 16:36:24 +02:00
Veronica K. B. Olsen
621e1a4d2a Fixed tests 2020-06-09 16:32:59 +02:00
Veronica K. B. Olsen
691c8fe89b Clarified the naming of some menu entries 2020-06-09 16:31:15 +02:00
Veronica K. B. Olsen
f14ebb5512 Updated icons in outline and project tree 2020-06-09 16:30:58 +02:00
Veronica K. B. Olsen
e0ea8871d0 Added new icons for orphaned folder and heading levels 2020-06-09 16:30:12 +02:00
Veronica K. Berglyd Olsen
44d8555d38 Merge pull request #300 from vkbo/various_fixes
Various fixes
2020-06-08 19:03:25 +02:00
Veronica K. B. Olsen
0a6e89e2f6 Fixed conf with None path 2020-06-08 18:58:41 +02:00
Veronica K. B. Olsen
aa81009760 Drop the alignment settings 2020-06-08 17:59:24 +02:00
Veronica K. B. Olsen
ad38550c32 Tweaked the doc title bar sizes a bit more 2020-06-08 17:56:59 +02:00
Veronica K. B. Olsen
f24ec180b2 Fixed the size of the doc title bar when the scroll bar is present 2020-06-08 17:40:34 +02:00
Veronica K. B. Olsen
3dc59d393c Fixed clipping of document bar 2020-06-08 17:28:17 +02:00
Veronica K. B. Olsen
b1b30fb828 Fixed typo in docs 2020-06-08 17:09:23 +02:00
Veronica K. B. Olsen
a15e73cf48 Proper handling of files with configparser 2020-06-08 17:07:35 +02:00
Veronica K. Berglyd Olsen
367a5e8c1c Merge pull request #299 from vkbo/doc_view_bugfix
Markdown to HTML Converter Bug
2020-06-08 09:45:20 +02:00
Veronica K. B. Olsen
a62a7711be Added a printout of the version at the very start of the log 2020-06-08 09:41:15 +02:00
Veronica K. B. Olsen
9045269f34 Also added bug-capturing in build tool for conversion errors 2020-06-08 09:27:21 +02:00
Veronica K. B. Olsen
2c304b2bdd Made the doc viewer more fail tolerant 2020-06-08 09:21:08 +02:00
Veronica K. B. Olsen
05014cb4c9 Fixed out of bounds crash in HTML converter 2020-06-08 09:12:45 +02:00
Veronica K. Berglyd Olsen
c5b00ce0c0 Merge pull request #293 from vkbo/docbar_icons
Document Title Bar Buttons
2020-06-08 00:39:22 +02:00
Veronica K. B. Olsen
87ee7206a2 The close/refresh/minmax buttons are now connected 2020-06-08 00:35:03 +02:00
Veronica K. B. Olsen
2c337e5938 Added the document tile buttons and icons 2020-06-08 00:24:23 +02:00
Veronica K. B. Olsen
36933de973 Merge branch 'master' into docbar_icons 2020-06-07 23:39:12 +02:00
Veronica K. B. Olsen
8abfb5f983 Convert the doc title bar to a widget with a layout 2020-06-07 23:37:59 +02:00
Veronica K. Berglyd Olsen
6a5c850bff Merge pull request #292 from vkbo/no_read_only
Drop Read Only
2020-06-07 23:37:27 +02:00
Veronica K. B. Olsen
6cb17a185a Drop the noticebar class as well 2020-06-07 23:21:27 +02:00
Veronica K. B. Olsen
1fc76b0d95 Remove the whole document read only logic 2020-06-07 23:19:28 +02:00
Veronica K. Berglyd Olsen
df0a80ed96 Merge pull request #291 from vkbo/compact_icons
Remove inkscape meta data from SVG icons
2020-06-07 22:28:28 +02:00
Veronica K. B. Olsen
d1ffe2cff3 Remove inkscape meta data from SVG icons 2020-06-07 22:19:21 +02:00
Veronica K. Berglyd Olsen
8f4d18d0f3 Merge pull request #290 from vkbo/display_edit_time
Also display edit time on the project settings details panel
2020-06-07 19:02:32 +02:00
Veronica K. B. Olsen
b15156da83 Also display edit time on the project settings details panel 2020-06-07 18:58:56 +02:00
Veronica K. Berglyd Olsen
e5076b27ed Merge pull request #284 from vkbo/dev
Dev Branch to Master for 0.8
2020-06-07 18:09:50 +02:00
Veronica K. B. Olsen
02c8e032c9 Updated readme 2020-06-07 18:06:10 +02:00
Veronica K. B. Olsen
8773098beb Theme class should report logical DPI, not physical 2020-06-07 17:15:36 +02:00
Veronica K. Berglyd Olsen
0595d543b9 Merge pull request #289 from vkbo/project_split
Project File Split
2020-06-06 15:36:44 +02:00
Veronica K. B. Olsen
260b2aa7b9 Some final cleanup 2020-06-06 15:31:17 +02:00
Veronica K. B. Olsen
da0d4017cc Moved OptionState to core/options.py 2020-06-06 15:27:23 +02:00
Veronica K. B. Olsen
59795e62f7 Moved NWStatus to core/status.py 2020-06-06 15:23:03 +02:00
Veronica K. B. Olsen
017d9c3801 Moved NWTree to core/tree.py 2020-06-06 15:18:49 +02:00
Veronica K. B. Olsen
fa8d3ff816 Moved NWItem to core/item.py 2020-06-06 15:14:13 +02:00
Veronica K. B. Olsen
3cdbe84c5d Merge branch 'master' into dev 2020-06-06 12:34:29 +02:00
Veronica K. Berglyd Olsen
4ffa841953 Merge pull request #283 from vkbo/release_0.7.1
Release 0.7.1
2020-06-06 12:31:07 +02:00
Veronica K. B. Olsen
a5fabc77c9 Moved up the release date to today 2020-06-06 12:28:31 +02:00
Veronica K. B. Olsen
b4cd0332c0 Updated changelog 2020-06-06 12:27:53 +02:00
Veronica K. Berglyd Olsen
4b5ce289c6 Merge branch 'master' into release_0.7.1 2020-06-06 12:21:13 +02:00
Veronica K. B. Olsen
0e667b060e Merge branch 'master' into dev 2020-06-06 12:17:12 +02:00
Veronica K. Berglyd Olsen
84412d9796 Merge pull request #287 from vkbo/tweaks
Minor Tweaks
2020-06-06 12:16:43 +02:00
Veronica K. B. Olsen
3e5263338b Added link style colour to the build output 2020-06-06 12:13:23 +02:00
Veronica K. B. Olsen
70bc9facf2 Merge branch 'tweaks' into dev 2020-06-06 11:52:43 +02:00
Veronica K. B. Olsen
7b12e911e4 Replaced the time icon with a calendar icon 2020-06-06 11:52:02 +02:00
Veronica K. B. Olsen
b176f21eb7 Some cleanup of themes folder and the source 2020-06-06 10:38:05 +02:00
Veronica K. B. Olsen
7723f24c12 The correct fix for tree widget font sizes, issue #273 2020-06-06 10:36:50 +02:00
Veronica K. B. Olsen
152cf60f05 Updated changelog 2020-06-05 21:19:03 +02:00
Veronica K. B. Olsen
3228d1723b Updated changelog 2020-06-05 21:18:47 +02:00
Veronica K. Berglyd Olsen
a559526d11 Merge pull request #288 from vkbo/project_options
Project XML Modifications
2020-06-05 21:18:21 +02:00
Veronica K. Berglyd Olsen
2b985976c1 Merge branch 'dev' into project_options 2020-06-05 21:12:28 +02:00
Veronica K. Berglyd Olsen
4987413180 Merge pull request #286 from vkbo/fixes
Fixes for Dev Branch
2020-06-05 21:12:17 +02:00
Veronica K. B. Olsen
a05f77e6c0 Fix tests 2020-06-05 21:09:04 +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
213889e9d5 Added open and view document to the project tree context menu 2020-06-05 19:46:51 +02:00
Veronica K. B. Olsen
896d7f1257 No focus shift on open document from tree 2020-06-05 19:38:03 +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. Berglyd Olsen
a051e77be0 Merge pull request #285 from vkbo/high_dpi
High DPI Support
2020-06-05 16:44:33 +02:00
Veronica K. B. Olsen
f029a0ff5f Fixed tests 2020-06-05 16:20:49 +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
0a3751046b A few improvements here and there 2020-06-04 22:49:27 +02:00
Veronica K. B. Olsen
10ef9d3453 QSwitch now scales 2020-06-04 22:36:47 +02:00
Veronica K. B. Olsen
ba4922a426 Scale factor calculated from logical dpi 2020-06-04 22:36:31 +02:00
Veronica K. B. Olsen
8b22deb1f4 All fixed sizes should no be passed through the pxInt function 2020-06-04 21:58:35 +02:00
Veronica K. B. Olsen
0e467d5fb1 Added functions for calculating scaled sizes 2020-06-04 21:27:56 +02:00
Veronica K. B. Olsen
8e7c3dcb4b Remove debug message 2020-06-04 20:44:51 +02:00
Veronica K. Berglyd Olsen
27130a018e Merge branch 'master' into dev 2020-06-04 20:24:28 +02:00
Veronica K. B. Olsen
d23a9d941a Release 0.7.1 2020-06-04 20:20:50 +02:00
Veronica K. Berglyd Olsen
27d259779e Merge pull request #282 from vkbo/tree_context
Project Tree Context Menu
2020-06-04 20:19:10 +02:00
Veronica K. B. Olsen
4c9e3f3440 New files are now inserted after the file selected, if a file is selected 2020-06-04 19:15:22 +02:00
Veronica K. B. Olsen
f75028e4a7 Updated changelog 2020-06-04 18:04:40 +02:00
Veronica K. B. Olsen
1d708a3460 Merge branch 'dev' into tree_context 2020-06-04 18:03:40 +02:00
Veronica K. B. Olsen
322665680c Bumped dev branch to 0.8rc1 and updated changelog 2020-06-04 18:03:18 +02:00
Veronica K. B. Olsen
fa769650a7 Merge branch 'dev' into tree_context 2020-06-04 17:58:39 +02:00
Veronica K. Berglyd Olsen
91fdb71674 Merge pull request #281 from vkbo/outline_details
Outline Details Panel
2020-06-04 17:56:55 +02:00
Veronica K. B. Olsen
e775103c81 Clarified a few things in the changelog 2020-06-04 17:14:24 +02:00
Veronica K. B. Olsen
72e5778e4f Context menu now works for basic functions 2020-06-04 17:09:36 +02:00
Veronica K. B. Olsen
0c18f1d3c9 Added project tree context menu 2020-06-04 10:57:30 +02:00
Veronica K. B. Olsen
184d0f62f9 Made a few minor improvements to outline details 2020-06-03 23:01:15 +02:00
Veronica K. B. Olsen
81d03d86e7 Replace QFrame with QWidget on main gui 2020-06-03 22:40:01 +02:00
Veronica K. B. Olsen
e402789892 Made the outline details panel a scroll area 2020-06-03 22:14:19 +02:00
Veronica K. B. Olsen
4167d2e854 Fixed tests 2020-06-03 20:43:12 +02:00
Veronica K. B. Olsen
4334e62148 Details panel now has all the data 2020-06-03 20:40:25 +02:00
Veronica K. Berglyd Olsen
981d521f12 Create CODE_OF_CONDUCT.md 2020-06-03 10:38:18 +02:00
Veronica K. B. Olsen
8199c2f4e9 Added outline details panel, and removed project in constructor of GUI classes 2020-06-02 22:00:23 +02:00
Veronica K. Berglyd Olsen
3a22863875 Merge pull request #278 from vkbo/tweaks
GUI Tweaks
2020-06-02 20:57:06 +02:00
Veronica K. B. Olsen
e8db673db8 Reorganised the options on the Build tool a little bit so they're more reasonably grouped 2020-06-02 20:46:52 +02:00
Veronica K. B. Olsen
9af412e29a Added some icons to the outline view 2020-06-02 20:32:47 +02:00
Veronica K. B. Olsen
807937caa9 And renamed doctree to projecttree 2020-06-02 12:02:36 +02:00
Veronica K. B. Olsen
0ca197e283 Also renamed viewdetails to docdetails for consistency 2020-06-02 12:00:12 +02:00
Veronica K. B. Olsen
1dff34779e Renamed tje two project dialog files to something a bit shorter 2020-06-02 11:58:08 +02:00
Veronica K. B. Olsen
73b02be9b3 Removed handle column from outline 2020-06-02 11:55:21 +02:00
Veronica K. B. Olsen
91ad4bb07d Renamed docdetails file to itemdetails 2020-06-02 11:54:59 +02:00
Veronica K. B. Olsen
d2616c8af8 Fix faulty column width calculation by Qt for the Ubunut font 2020-06-02 10:05:15 +02:00
Veronica K. B. Olsen
6cd76ff60b Don't change focus from project tree to editor when selecting file with enter key 2020-06-02 09:25:52 +02:00
Veronica K. B. Olsen
2bd2c81eae Drop the hidden column in the project tree that holds the item handle, and use the data setting instead 2020-06-02 09:23:23 +02:00
Veronica K. Berglyd Olsen
afdd07b6e9 Merge pull request #277 from vkbo/less_files
Merge a bunch of source files and folders
2020-06-01 23:57:25 +02:00
Veronica K. B. Olsen
49141ac8de Moved all gui files to the root gui folder 2020-06-01 23:47:37 +02:00
Veronica K. B. Olsen
3f069ac794 Merged all document bars into one file 2020-06-01 23:39:04 +02:00
Veronica K. B. Olsen
bd3f6d39e7 Moved dochighlight up one level 2020-06-01 23:30:58 +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
a76562e025 Moved WordCounter class into doceditor file 2020-06-01 23:23:11 +02:00
Veronica K. B. Olsen
61831d9c0e Moved the custom widgets classes to the root gui folder 2020-06-01 23:13:08 +02:00
Veronica K. B. Olsen
6f7d66cb31 Merged the custom widgets and layouts into one file 2020-06-01 23:08:40 +02:00
Veronica K. B. Olsen
d08843afc7 Merged icons and themes files 2020-06-01 22:59:44 +02:00
Veronica K. Berglyd Olsen
d5d7abd4c3 Merge pull request #276 from vkbo/no_format_export
Export w/o Styling
2020-06-01 22:51:15 +02:00
Veronica K. B. Olsen
ae84a4def6 Added the noStyles option to the Build Novel Project tool 2020-06-01 22:37:46 +02:00
Veronica K. B. Olsen
322a114ce5 Added a cssStyles flag that is needed to add styles at all to generated HTML 2020-06-01 22:37:10 +02:00
Veronica K. B. Olsen
87a4b26a62 Cleanup 2020-06-01 13:06:08 +02:00
Veronica K. B. Olsen
88222e69cf Fixed some typos 2020-06-01 13:04:35 +02:00
Veronica K. Berglyd Olsen
54b3966423 Merge pull request #266 from vkbo/release_0.7
Release 0.7
2020-06-01 12:54:29 +02:00
Veronica K. B. Olsen
7f963ac817 Added a mention of the JSON export option in the docs. 2020-06-01 12:49:10 +02:00
Veronica K. B. Olsen
cc300956e4 Updated changelog with the latest changes 2020-06-01 12:44:03 +02:00
Veronica K. B. Olsen
3fa25aa9e6 Merge branch 'master' into release_0.7 2020-06-01 12:36:53 +02:00
Veronica K. Berglyd Olsen
73e383b7f7 Merge pull request #275 from vkbo/font_sizes
Font Sizes – Continued
2020-06-01 12:36:06 +02:00
Veronica K. B. Olsen
16d1357c73 Also scale '...' buttons 2020-06-01 12:28:31 +02:00
Veronica K. B. Olsen
b50125172b Also scale the icons 2020-06-01 12:23:41 +02:00
Veronica K. B. Olsen
d59a164d25 Missed a spot ... 2020-06-01 12:19:18 +02:00
Veronica K. B. Olsen
ca5a6ad8aa All trewwidgets needs font set ... 2020-06-01 12:17:07 +02:00
Veronica K. B. Olsen
4464171cb4 ... and the same for outline tree 2020-06-01 12:10:07 +02:00
Veronica K. Berglyd Olsen
292329a25f Merge pull request #274 from vkbo/font_sizes
GUI Font Size Issue
2020-06-01 12:01:49 +02:00
Veronica K. B. Olsen
b26ee7ae15 Fix project tree text font and size on some systems 2020-06-01 11:56:45 +02:00
Veronica K. B. Olsen
91acfb569f Updated changelog 2020-05-31 17:35:17 +02:00
Veronica K. B. Olsen
a270973fa3 Merge branch 'master' into release_0.7 2020-05-31 17:04:07 +02:00
Veronica K. Berglyd Olsen
8e3d236e13 Merge pull request #272 from vkbo/gui_tweaks
Minor Improvements, Changes and Additions
2020-05-31 16:01:18 +02:00
Veronica K. B. Olsen
9cd4df1d88 Added some comments 2020-05-31 14:41:49 +02:00
Veronica K. B. Olsen
72ed6dec6e Fixed a bug caused by a hardcoded project tree index (just added a column) 2020-05-31 14:40:10 +02:00
Veronica K. B. Olsen
6fc1d09a06 Remember to set correct font in build tool before loading previous content 2020-05-31 14:14:09 +02:00
Veronica K. B. Olsen
ce19de31f5 Added build files to JSON with HTML or markdown formatting 2020-05-31 14:11:35 +02:00
Veronica K. B. Olsen
199ecc28e3 The build dialog should show the result from last build when opening 2020-05-31 13:38:16 +02:00
Veronica K. B. Olsen
e9fd3f6fa4 Merge branch 'master' into gui_tweaks 2020-05-31 13:09:49 +02:00
Veronica K. Berglyd Olsen
b1ac6734d1 Merge pull request #271 from vkbo/no_monospace
Remove monospace fonts from main GUI
2020-05-31 13:07:48 +02:00
Veronica K. B. Olsen
e49678eaa5 Some improvements to the word count update 2020-05-31 13:07:28 +02:00
Veronica K. B. Olsen
c11682dcf9 Use minimum width, not fixed with for status bar clock 2020-05-31 12:21:16 +02:00
Veronica K. B. Olsen
685af710a6 Remove monospace fonts from main GUI 2020-05-31 12:17:34 +02:00
Veronica K. Berglyd Olsen
e74b8ec6ce Merge pull request #270 from vkbo/embed_font
Font Options
2020-05-31 11:23:14 +02:00
Veronica K. B. Olsen
e5b6d3828e Fixed some issues, and added font dialog to build tool as well 2020-05-31 11:17:23 +02:00
Veronica K. B. Olsen
1cd7986bfb Using QFontDialog instead of QFontComboBox, and GUI font is no selectable 2020-05-31 10:52:25 +02:00
Veronica K. B. Olsen
688c0e853a Added cantarell font family and a function to add them to the qApp 2020-05-30 22:43:48 +02:00
Veronica K. Berglyd Olsen
c95fa4c332 Merge pull request #269 from vkbo/gui_font_size
GUI Font Size Settings
2020-05-30 22:09:39 +02:00
Veronica K. B. Olsen
521ab956d9 Fixed tests 2020-05-30 22:05:21 +02:00
Veronica K. B. Olsen
be89dd6238 Added the option to change GUI font size 2020-05-30 22:01:55 +02:00
Veronica K. Berglyd Olsen
1696fa5e13 Merge pull request #268 from vkbo/export_column
Export Icon Column
2020-05-30 21:31:33 +02:00
Veronica K. B. Olsen
31b742aff4 Fixed a mistake ... 2020-05-30 21:27:44 +02:00
Veronica K. B. Olsen
0af58aabad Fixed some float to int warnings 2020-05-30 21:20:12 +02:00
Veronica K. B. Olsen
99d361ad9a Some further text, icon and column size tweaks. 2020-05-30 21:12:51 +02:00
Veronica K. B. Olsen
59bdc375a6 Split the include in build flag into its own column in the project tree, and updated etails pane accordingly 2020-05-30 20:55:53 +02:00
Veronica K. B. Olsen
98757bc241 Replaced the scaling variables on document titlebar 2020-05-30 20:55:13 +02:00
Veronica K. B. Olsen
97ad9aba9e Replaced fixed icon size values on the status bar. 2020-05-30 20:52:48 +02:00
Veronica K. B. Olsen
586535de92 Added variables for font metrics to theme class 2020-05-30 20:52:19 +02:00
Veronica K. B. Olsen
3487817065 Added check and cross icons to icon themes 2020-05-30 20:40:17 +02:00
Veronica K. Berglyd Olsen
9f7d9415ab Merge pull request #267 from vkbo/bugfixes
Bugfixes
2020-05-30 15:43:47 +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
25aedc398b Add a couple of checks that handles are valid 2020-05-30 14:56:06 +02:00
Veronica K. B. Olsen
f825e10146 Set release date to 2020-06-01 2020-05-30 14:21:41 +02:00
Veronica K. B. Olsen
c82a3efcbf Bumped version to 0.7 2020-05-30 14:21:18 +02:00
Veronica K. B. Olsen
c9083675ad Updated changelog 2020-05-30 14:19:40 +02:00
Veronica K. Berglyd Olsen
7084367919 Merge pull request #265 from vkbo/typicons_colour_light
Icon Theme: Typicons Colour Light
2020-05-30 14:14:43 +02:00
Veronica K. B. Olsen
e130e4cecc Adapted the icon colours to light background 2020-05-30 14:08:29 +02:00
Veronica K. B. Olsen
668a3f1f51 Copied the dark colour icon theme to make light theme 2020-05-30 13:45:07 +02:00
Veronica K. Berglyd Olsen
54b9b376e9 Merge pull request #264 from vkbo/dialog_tests
More Tests of GUI Dialogs
2020-05-30 13:28:43 +02:00
Veronica K. B. Olsen
ee5cdc1d41 Consitent end of file line endings for merge and split tools 2020-05-30 13:17:21 +02:00
Veronica K. B. Olsen
bee82dd735 added split document test 2020-05-30 13:16:57 +02:00
Veronica K. B. Olsen
6856e30b8c Added folder merge test 2020-05-30 12:46:54 +02:00
Veronica K. B. Olsen
6bb8428ef1 Added test for the about box 2020-05-30 12:45:32 +02:00
Veronica K. Berglyd Olsen
f49e773782 Merge pull request #263 from vkbo/build_test
Test for Build Novel Project
2020-05-30 12:19:27 +02:00
Veronica K. B. Olsen
67b369b532 Chache dir is not commited, so doesn't exist when running CI 2020-05-30 12:16:45 +02:00
Veronica K. B. Olsen
ec0dc54e55 Cleare meta data when running test on lipsum project, and add the correct reference files 2020-05-30 12:08:56 +02:00
Veronica K. B. Olsen
c7533c165f Fixed a bug in the tokenizer for root folder headings 2020-05-30 11:43:08 +02:00
Veronica K. B. Olsen
7451ac4585 Added a couple of flags to allow the build tool to be run without user interaction 2020-05-30 11:42:49 +02:00
Veronica K. B. Olsen
5861892b2d Added a test for the Build Novel Project tool 2020-05-30 11:42:09 +02:00
Veronica K. B. Olsen
017797667c Added a Lorem Ipsum test project for the pytests 2020-05-30 11:41:23 +02:00
Veronica K. Berglyd Olsen
576e1c37a4 Merge pull request #262 from vkbo/bugfix
Bugfix for merging error
2020-05-30 00:48:58 +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
867ea7bfed Droped the entry for 0.6.4 in te changelog since there won't be such a release 2020-05-30 00:33:34 +02:00
Veronica K. Berglyd Olsen
670b1ec114 Merge pull request #257 from vkbo/dev
Dev to Master for Release 0.7
2020-05-30 00:31:51 +02:00
Veronica K. B. Olsen
d2ab6a4934 Updated changelog 2020-05-30 00:28:39 +02:00
Veronica K. Berglyd Olsen
1c320dd202 Merge pull request #261 from vkbo/project_updates
Project Class Updates
2020-05-30 00:23:13 +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
a7bca8486f Added the ToC files as well to the repo 2020-05-30 00:16:53 +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
421c40c288 Fixed tests 2020-05-29 23:08:27 +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
2b36ed3617 Merge branch 'master' into dev 2020-05-29 21:11:13 +02:00
Veronica K. B. Olsen
5fe521d2e9 Updated changelog 2020-05-29 21:10:13 +02:00
Veronica K. Berglyd Olsen
63c3ca1535 Merge pull request #260 from vkbo/fixes
Fixes
2020-05-29 21:07:55 +02:00
Veronica K. B. Olsen
4de02698d9 Preferences doc size limit unit is kB, not kb 2020-05-29 20:40:29 +02:00
Veronica K. B. Olsen
dd14a38889 An update to how text is extracted from the text editor, conforms to the description in the Qt docs. 2020-05-29 20:38:46 +02:00
Veronica K. B. Olsen
055ffdaac9 Split document section headers should be SCENE files not PAGE 2020-05-28 23:19:12 +02:00
Veronica K. Berglyd Olsen
397ecfeb13 Merge pull request #256 from vkbo/gui_tweaks
Minor GUI Tweaks
2020-05-28 23:11:27 +02:00
Veronica K. B. Olsen
834ed1f0b6 Updated changelog 2020-05-28 23:11:13 +02:00
Veronica K. B. Olsen
fb4a1ca266 Renamed the preferences class to GuiPreferences 2020-05-28 23:07:56 +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
6f5a30092e Clean up imports 2020-05-28 22:10:03 +02:00
Veronica K. B. Olsen
611d81a1c6 Moving around buttons on the build tool 2020-05-28 22:07:58 +02:00
Veronica K. B. Olsen
4e1fe109f3 Bumped the default timeout for the status bar to 20 seconds 2020-05-28 22:01:32 +02:00
Veronica K. B. Olsen
0c75f24c5d Updated the status reporting on index rebuild 2020-05-28 22:00:42 +02:00
Veronica K. Berglyd Olsen
d18eece715 Merge pull request #234 from vkbo/view_details
View Details, and Link Navigation
2020-05-28 21:08:25 +02:00
Veronica K. B. Olsen
e6cb49bca8 Merge branch 'dev' into view_details 2020-05-28 21:05:00 +02:00
Veronica K. B. Olsen
56df009817 Fixed Python versions for PyPi 2020-05-28 20:57:35 +02:00
Veronica K. B. Olsen
b8a77ac339 Merge branch 'dev' into view_details 2020-05-28 20:49:49 +02:00
Veronica K. B. Olsen
2d7708a51a Bumped version to 0.7 RC1 2020-05-28 20:46:14 +02:00
Veronica K. B. Olsen
aa2ccb0adb Merge branch 'master' into dev 2020-05-28 20:43:38 +02:00
Veronica K. Berglyd Olsen
49e70f1bf6 Merge pull request #255 from vkbo/bugfix
Fixed build tool crash
2020-05-28 20:29:47 +02:00
Veronica K. B. Olsen
ebe5b8f4ed Bumped version for PyPi 2020-05-28 20:27:08 +02:00
Veronica K. B. Olsen
62e630aa0d Fixed build tool crash 2020-05-28 20:21:36 +02:00
Veronica K. B. Olsen
2bbde2c445 Improved the tokenizer class a bit 2020-05-28 20:19:55 +02:00
Veronica K. B. Olsen
65f74e6fdc Fixed typo in changelog 2020-05-28 20:01:44 +02:00
Veronica K. Berglyd Olsen
22d80046f8 Merge branch 'dev' into view_details 2020-05-28 20:00:15 +02:00
Veronica K. B. Olsen
28a74d8029 Fixed the text in the changelog a bit 2020-05-28 20:00:01 +02:00
Veronica K. B. Olsen
2cbba95245 Merge branch 'master' into dev 2020-05-28 19:57:48 +02:00
Veronica K. B. Olsen
c44162410d Fixed typos and such in changelog 2020-05-28 19:56:47 +02:00
Veronica K. B. Olsen
12d50e1d71 Merge branch 'master' into dev 2020-05-28 19:50:47 +02:00
Veronica K. Berglyd Olsen
3265ea3a4d Merge pull request #254 from vkbo/release_0.6.2
Release 0.6.2
2020-05-28 19:47:51 +02:00
Veronica K. B. Olsen
bf9194c1bb Bumped version to 0.6.2 2020-05-28 19:44:20 +02:00
Veronica K. B. Olsen
abe549c65a Updated changelog 2020-05-28 19:40:11 +02:00
Veronica K. B. Olsen
3704956112 Merge branch 'dev' into view_details 2020-05-28 19:34:22 +02:00
Veronica K. Berglyd Olsen
9682c4756c Merge pull request #253 from vkbo/project_structure
Project File Structure
2020-05-28 19:32:54 +02:00
Veronica K. B. Olsen
7b15dc7867 Updated technical docs 2020-05-28 19:25:57 +02:00
Veronica K. B. Olsen
66b2fad0ae Merge branch 'dev' into project_structure 2020-05-28 19:23:38 +02:00
Veronica K. B. Olsen
35f575a5bc Merge branch 'master' into dev 2020-05-28 19:23:14 +02:00
Veronica K. B. Olsen
f7fb98cde5 Updated changelog 2020-05-28 19:23:00 +02:00
Veronica K. Berglyd Olsen
49732d4b3d Merge pull request #252 from vkbo/update_docs
Update Docs
2020-05-28 19:14:21 +02:00
Veronica K. B. Olsen
bdbfa1d3c3 Some more cleanup 2020-05-28 19:13:51 +02:00
Veronica K. B. Olsen
18132277c3 Fixed tests 2020-05-28 19:10:33 +02:00
Veronica K. B. Olsen
7373f9636b Updated orphan file check 2020-05-28 19:03:59 +02:00
Veronica K. B. Olsen
6fac354f69 Added the converted sample project 2020-05-28 18:56:58 +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
604aa84987 Merge branch 'master' into dev 2020-05-28 18:05:24 +02:00
Veronica K. B. Olsen
672b0fc912 Removed doc temp files and updated gitignore 2020-05-28 17:59:26 +02:00
Veronica K. B. Olsen
a2890edd3c Updated the documentation 2020-05-28 17:56:25 +02:00
Veronica K. B. Olsen
923e212960 Renamed document files to .rst for easier preview and highlight 2020-05-28 10:49:08 +02:00
Veronica K. Berglyd Olsen
058bd0d068 Merge pull request #249 from vkbo/build_updates
Build Tool Updates
2020-05-28 10:14:29 +02:00
Veronica K. B. Olsen
6487352787 Updated changelog 2020-05-28 10:08:18 +02:00
Veronica K. B. Olsen
9809e57e26 Replaced Help button with descriptive tooltips instead. 2020-05-28 10:02:14 +02:00
Veronica K. B. Olsen
f9e2d57fa7 This is even better 2020-05-28 00:29:45 +02:00
Veronica K. B. Olsen
5be945b901 Updated documentation 2020-05-28 00:25:33 +02:00
Veronica K. B. Olsen
bfaddabf8d Changed the formatting codes for titles 2020-05-28 00:25:20 +02:00
Veronica K. B. Olsen
24f47c9446 Make the title format boxes a bit bigger 2020-05-28 00:15:20 +02:00
Veronica K. B. Olsen
2c98683aff Path should be read only, not disabled 2020-05-27 23:43:16 +02:00
Veronica K. B. Olsen
4f7d144163 Merge branch 'dev' into view_details 2020-05-27 22:05:24 +02:00
Veronica K. B. Olsen
86a02da565 Merge branch 'dev' of github.com:vkbo/novelWriter into dev 2020-05-27 22:04:23 +02:00
Veronica K. B. Olsen
43892d5c04 Fixed Travis build 2020-05-27 22:03:47 +02:00
Veronica K. Berglyd Olsen
1e07cc6c4f Merge pull request #248 from vkbo/doc_bak_files
Get rid of Document .bak files
2020-05-27 22:02:03 +02:00
Veronica K. B. Olsen
492023fed5 Seems to be an issue with PyVirtualDisplay in the build 2020-05-27 21:52:44 +02:00
Veronica K. B. Olsen
a758bae4e7 Updated chaneglog 2020-05-27 21:32:10 +02:00
Veronica K. B. Olsen
03751c5ff9 No more document .bak files, .nwd~ works just fine. 2020-05-27 20:31:09 +02:00
Veronica K. B. Olsen
bb5f39e5aa Merge branch 'dev' into view_details 2020-05-27 20:22:54 +02:00
Veronica K. Berglyd Olsen
118ffc81e5 Merge pull request #246 from vkbo/fix_qt55_support
Fix Qt 5.5 Support
2020-05-27 18:42:38 +02:00
Veronica K. B. Olsen
b78c393883 Merge branch 'master' into fix_qt55_support 2020-05-27 18:38:45 +02:00
Veronica K. Berglyd Olsen
e02ed61770 Merge pull request #239 from vkbo/gui_tweaks
Minor GUI Fixes
2020-05-27 18:34:52 +02:00
Veronica K. B. Olsen
3f84782edb Fixed tests 2020-05-27 18:31:23 +02:00
Veronica K. B. Olsen
fd886597bf Updated changelog 2020-05-27 18:21:46 +02:00
Veronica K. B. Olsen
480a03b0c4 QActin must have a parent set for Qt < 5.7 2020-05-27 18:13:50 +02:00
Veronica K. B. Olsen
3688e1c6db Updated changelog 2020-05-27 18:11:02 +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
8a98123735 Some fixes in the QConfigLayout class 2020-05-27 17:23:02 +02:00
Veronica K. B. Olsen
fd1940301c Also renamed the file 2020-05-27 16:48:16 +02:00
Veronica K. B. Olsen
d61abdd955 Renamed GuiProjectEditor to GuiProjectSettings 2020-05-27 16:47:17 +02:00
Veronica K. B. Olsen
f7232aac13 Updated changelog 2020-05-27 16:44:40 +02:00
Veronica K. B. Olsen
6d30310800 Merge branch 'master' into gui_tweaks 2020-05-27 16:41:51 +02:00
Veronica K. Berglyd Olsen
765071b745 Merge pull request #241 from vkbo/backup_bug
Backup Infinite Loop
2020-05-27 16:38:46 +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
e4f2e088bb Need more calls to update document margins due to the document title bar. 2020-05-27 01:18:37 +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
fed2a0508e Updated changelog 2020-05-26 22:51:23 +02:00
Veronica K. B. Olsen
088b96fd55 Fixed some alignemnt issue and the icon for NO_LAYOUT in the details panel under the tree view 2020-05-26 22:47:48 +02:00
Veronica K. Berglyd Olsen
25981edf1a Merge pull request #238 from vkbo/build_font
Custom Build Font
2020-05-26 22:31:31 +02:00
Veronica K. B. Olsen
fecfa66d2f Updated changelog 2020-05-26 22:25:11 +02:00
Veronica K. B. Olsen
d9df2a532e Renamed the build tool button 2020-05-26 22:15:18 +02:00
Veronica K. B. Olsen
52cbaa24cc Added font family and size selector to the build novel project tool 2020-05-26 22:09:01 +02:00
Veronica K. B. Olsen
9b41f42940 Merge branch 'doctitle_margins' 2020-05-26 18:54:00 +02:00
Veronica K. B. Olsen
69d0a063f1 Wrong margin used ... 2020-05-26 18:53:37 +02:00
Veronica K. Berglyd Olsen
abd4a8143a Merge pull request #236 from vkbo/doctitle_margins
Document Margins and DocTitle Bar
2020-05-26 18:51:57 +02:00
Veronica K. B. Olsen
0f64c1fa7a Fix the document editor and viewer margins to fit better with the document title header 2020-05-26 18:40:58 +02:00
Veronica K. B. Olsen
494997cc20 Fixed tests 2020-05-25 23:31:59 +02:00
Veronica K. B. Olsen
4340b6b8b5 It should now be possible to navigate to positions within the documents when clicking links in various places 2020-05-25 23:31:41 +02:00
Veronica K. B. Olsen
b3e4af1394 Added header anchor tags option to the html generator, and line numbers to the tokens list 2020-05-25 23:30:55 +02:00
Veronica K. B. Olsen
3b7927f0ff Back-references not consideres all tags in a document, not just the first one 2020-05-25 21:14:50 +02:00
Veronica K. Berglyd Olsen
e7f0751275 Merge pull request #232 from vkbo/release_0.6.1
Release 0.6.1
2020-05-25 17:37:39 +02:00
Veronica K. Berglyd Olsen
9d0b3cd505 Merge branch 'master' into release_0.6.1 2020-05-25 17:15:13 +02:00
Veronica K. Berglyd Olsen
1881e15708 Merge pull request #233 from vkbo/ubuntu_install
Added Ubuntu install script
2020-05-25 17:15:05 +02:00
Veronica K. B. Olsen
8077b04631 Fixed typos and formatting of the changelog 2020-05-25 17:14:48 +02:00
Veronica K. B. Olsen
8cc31f01f3 Added ubuntu install script 2020-05-25 11:38:58 +02:00
Veronica K. B. Olsen
ded2b49c8d Updated changelog 2020-05-25 10:18:12 +02:00
Veronica K. B. Olsen
4dfdc27c13 Bumped version to 0.6.1 2020-05-25 10:07:52 +02:00
Veronica K. Berglyd Olsen
845b25ba1b Merge pull request #231 from vkbo/bugfixes
Bugfixes
2020-05-25 10:02:17 +02:00
Veronica K. B. Olsen
a71b404717 Fix the justify text setting in build project 2020-05-25 09:57:12 +02:00
Veronica K. B. Olsen
02bb15f598 Fixed copy/paste error in docs about title line breaks in exports 2020-05-25 09:56:56 +02:00
Veronica K. Berglyd Olsen
5213186650 Merge pull request #226 from vkbo/bugfixes
Fixed sorting bug for line numbers in index
2020-05-24 22:15:12 +02:00
Veronica K. B. Olsen
b9ccd94181 Fix tests 2020-05-24 22:12:40 +02:00
Veronica K. B. Olsen
4672bc444b Fixed sorting bug for line numbers in index 2020-05-24 22:04:36 +02:00
Veronica K. Berglyd Olsen
d011e5615d Merge pull request #225 from vkbo/loadproject_updates
Project Load Dialog Updates
2020-05-24 19:46:54 +02:00
Veronica K. B. Olsen
c107a86e25 Some minor cleanup in main window code 2020-05-24 19:41:43 +02:00
Veronica K. B. Olsen
1252d9728a Moved the code for browsing for projects to the open projects dialog 2020-05-24 19:37:59 +02:00
Veronica K. B. Olsen
f020447166 Connected the delete key to remove entries from recent projects list 2020-05-24 19:14:35 +02:00
Veronica K. Berglyd Olsen
01f9b85ef4 Merge pull request #224 from vkbo/fixes
Various fixes for 0.6
2020-05-24 18:41:47 +02:00
Veronica K. B. Olsen
0dbcaacaeb Added comment 2020-05-24 18:37:32 +02:00
Veronica K. B. Olsen
fb6e3f692e Fixed the formatting of novel page layout 2020-05-24 18:33:58 +02:00
Veronica K. B. Olsen
52269faadd Drop the double folder for the sample project 2020-05-24 18:26:06 +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
e1ce93416c Outline should not show non-exported items 2020-05-24 15:38:58 +02:00
Veronica K. B. Olsen
d998900a3a Pin some dependency versions now that some of the limits are known 2020-05-24 13:44:32 +02:00
Veronica K. Berglyd Olsen
76e0e72a85 Merge pull request #222 from vkbo/release_0.6
Release 0.6
2020-05-24 13:23:46 +02:00
Veronica K. Berglyd Olsen
f60f7e42f8 Merge branch 'master' into release_0.6 2020-05-24 13:20:53 +02:00
Veronica K. Berglyd Olsen
84be27aea5 Merge pull request #223 from vkbo/fixes
Fixes
2020-05-24 13:20:44 +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
10215dfb83 Fix item selection for project loader 2020-05-24 11:48:57 +02:00
Veronica K. B. Olsen
1b5c670189 Removing mention of no ,onger needed dependencies 2020-05-23 21:32:35 +02:00
Veronica K. B. Olsen
e2e4d7836c Updated version and changelog 2020-05-23 21:30:58 +02:00
Veronica K. B. Olsen
a5e4f89d50 Fixed a typo 2020-05-23 21:24:12 +02:00
Veronica K. Berglyd Olsen
4e9985cc54 Merge pull request #221 from vkbo/build_updates
Build Project Updates
2020-05-23 21:21:35 +02:00
Veronica K. B. Olsen
fd27f8d1e8 Added note root headings, changed some formatting, and improved export 2020-05-23 21:15:08 +02:00
Veronica K. B. Olsen
cf58823f37 Now the page breaks render properly on print 2020-05-23 19:30:01 +02:00
Veronica K. B. Olsen
a5729cf0a9 Cleaned up html export 2020-05-23 17:59:07 +02:00
Veronica K. B. Olsen
fabcd1e631 As the ToHTML class now can be reused, move the regex stuff to the contructor 2020-05-23 15:25:39 +02:00
Veronica K. B. Olsen
dd9ec4772b Lines with hard line breaks should not have a justify property 2020-05-23 14:35:41 +02:00
Veronica K. B. Olsen
2d2974a4af Added a bugfix that was missing in the changelog 2020-05-21 23:23:43 +02:00
Veronica K. Berglyd Olsen
fcd9a00947 Merge pull request #220 from vkbo/docs
Updated Docs
2020-05-21 21:26:07 +02:00
Veronica K. B. Olsen
cd74e471ae Updated the help file for export 2020-05-21 21:25:12 +02:00
Veronica K. B. Olsen
67dcb5027e Updated the README file as it was a bit out of date. 2020-05-21 21:00:04 +02:00
Veronica K. Berglyd Olsen
23b350d6c2 Merge pull request #206 from vkbo/dev_0.6
Large GUI changes ready for release 0.6
2020-05-21 20:47:50 +02:00
Veronica K. Berglyd Olsen
8b60266ee6 Merge pull request #219 from vkbo/tweaks
GUI Tweaks
2020-05-21 20:43:04 +02:00
Veronica K. B. Olsen
2f1bc456c0 Changed some help text a bit 2020-05-21 20:39:21 +02:00
Veronica K. B. Olsen
2a9bdd1985 Moved document stats to the details panel below the tree 2020-05-21 20:29:40 +02:00
Veronica K. B. Olsen
8aacad8ce0 Made the item editor dialog less cluttered 2020-05-21 20:13:50 +02:00
Veronica K. B. Olsen
7f3e9c0f31 Updated changelog 2020-05-21 20:13:10 +02:00
Veronica K. Berglyd Olsen
66b74a1e55 Merge pull request #218 from vkbo/gui-updates
Preferences and Open Project changes
2020-05-21 20:00:22 +02:00
Veronica K. B. Olsen
cc340d721b Session word count should just be a +/- number in brackets 2020-05-21 19:56:31 +02:00
Veronica K. B. Olsen
0bbd7de805 Redesigned the open project dialog 2020-05-21 19:45:00 +02:00
Veronica K. B. Olsen
a9ff0e8c2b Fallnack icon should still work if no dark icon is specified 2020-05-21 19:44:35 +02:00
Veronica K. B. Olsen
4c775f101a Moved syntax highlight options to the Editor tab in Preferences 2020-05-21 18:01:44 +02:00
Veronica K. Berglyd Olsen
78f5d3dacb Merge pull request #217 from vkbo/about_box
About Dialog
2020-05-21 17:48:36 +02:00
Veronica K. B. Olsen
68b8d8b469 Rewritten about dialog 2020-05-21 17:16:14 +02:00
Veronica K. B. Olsen
bd99eb4817 Added licensing info to themes 2020-05-21 17:15:57 +02:00
Veronica K. B. Olsen
4588addaef Added basic about dialog 2020-05-21 15:51:45 +02:00
Veronica K. B. Olsen
cb36e90149 Merge branch 'master' into dev_0.6 2020-05-21 15:41:17 +02:00
Veronica K. Berglyd Olsen
9f003abcc3 Merge pull request #216 from vkbo/release_0.5.2
Release 0.5.2
2020-05-21 15:17:39 +02:00
Veronica K. B. Olsen
35f6d8dbe7 Forgot to bump hex version 2020-05-21 15:14:48 +02:00
Veronica K. B. Olsen
64ce12e220 Updated changelog 2020-05-21 15:13:43 +02:00
Veronica K. B. Olsen
6a94a03cd0 Bumped version to 0.5.2 2020-05-21 15:02:09 +02:00
Veronica K. Berglyd Olsen
36292bec56 Merge pull request #215 from vkbo/fixes
Minor Fixes
2020-05-21 14:59:20 +02:00
Veronica K. B. Olsen
9c2a52a9a1 Fixed tests 2020-05-21 14:53:58 +02:00
Veronica K. B. Olsen
d3c95887e6 Added an option to turn off syntax highlighting for text in quotes 2020-05-21 14:52:26 +02:00
Veronica K. B. Olsen
d263de0205 Ensure setSelectedhandle also makes the item visible in the scroll view 2020-05-21 14:45:00 +02:00
Veronica K. Berglyd Olsen
cc35704899 Merge pull request #214 from vkbo/icons_again
Less flat icons
2020-05-21 14:28:41 +02:00
Veronica K. B. Olsen
acda380a8c Also updated the in-app icon 2020-05-21 14:24:15 +02:00
Veronica K. B. Olsen
e320b984cc Updated the main icon files 2020-05-21 14:23:52 +02:00
Veronica K. B. Olsen
fc5a7ef6a4 Made the icons less flat 2020-05-21 14:21:20 +02:00
Veronica K. B. Olsen
2792b71a89 typo ... 2020-05-20 23:56:28 +02:00
Veronica K. B. Olsen
fc21ce0869 Added a line break 2020-05-20 23:55:27 +02:00
Veronica K. Berglyd Olsen
e9a3fff56c Merge pull request #213 from vkbo/nw_icons
App Icon and Install Assets
2020-05-20 23:53:00 +02:00
Veronica K. B. Olsen
36b4321345 Added a bit more info, including license, to README 2020-05-20 23:50:02 +02:00
Veronica K. B. Olsen
c8656d6324 Added icon to README 2020-05-20 23:33:31 +02:00
Veronica K. B. Olsen
8e49368c46 Added an install assets folder 2020-05-20 23:21:33 +02:00
Veronica K. B. Olsen
8cf7183b18 Replaced the app icon 2020-05-20 21:38:46 +02:00
Veronica K. B. Olsen
59e6b725ba Made some fixes to the index (including a highlighting bug), some cleanup, and added more tests 2020-05-19 00:03:52 +02:00
Veronica K. B. Olsen
0ae853618c Updated changelog for the dev branch 2020-05-17 20:17:53 +02:00
Veronica K. Berglyd Olsen
d08fdaa7f7 Merge pull request #212 from vkbo/dialog_design
Paged Dialogs
2020-05-17 19:11:18 +02:00
Veronica K. B. Olsen
dec7e51a77 Cleaned up item editor, and removed some redundant imports here and there 2020-05-17 18:23:27 +02:00
Veronica K. B. Olsen
7be78f6e1e Cleaned up the split and merge dialogs 2020-05-17 18:04:48 +02:00
Veronica K. B. Olsen
6868795bc3 consistency ... 2020-05-17 16:37:35 +02:00
Veronica K. B. Olsen
0d34a71f3c Some minor cleanup in project settings and preferences 2020-05-17 16:34:51 +02:00
Veronica K. B. Olsen
c06b632111 Import cleanup and fixed test 2020-05-17 16:16:43 +02:00
Veronica K. B. Olsen
80872feceb Paged dialog with vertical tabs now working 2020-05-17 16:08:58 +02:00
Veronica K. B. Olsen
bd9b40a1ca Added PagedDialog base class, and applied it to project settings 2020-05-17 12:56:58 +02:00
Veronica K. B. Olsen
cfeadc9b59 Merge branch 'master' into dev_0.6 2020-05-17 12:25:23 +02:00
Veronica K. Berglyd Olsen
15a4e76a7b Merge pull request #211 from vkbo/icon_tweaks
Icon Tweaks
2020-05-17 11:56:58 +02:00
Veronica K. B. Olsen
de8c2b75ae fromTheme call should check first 2020-05-17 11:51:48 +02:00
Veronica K. B. Olsen
4a047b2098 Some minor cleanuo of icon themes, fallback icons and default theme 2020-05-17 11:47:00 +02:00
Veronica K. B. Olsen
3a199b79c9 Merge branch 'master' into dev_0.6 2020-05-17 00:23:45 +02:00
Veronica K. Berglyd Olsen
0f054bc606 Merge pull request #210 from vkbo/improvements
Minor Improvements
2020-05-17 00:22:50 +02:00
Veronica K. B. Olsen
e70a057188 Index rebuild dialog box was blocking test. 2020-05-17 00:16:25 +02:00
Veronica K. B. Olsen
c1b508aae8 Fix the dependency checks 2020-05-17 00:09:49 +02:00
Veronica K. B. Olsen
3b231978bf Several improvements to the status bar 2020-05-16 23:58:55 +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
92fc81d4ec Reduced hard requirement of python version 2020-05-16 20:39:58 +02:00
Veronica K. B. Olsen
bb894926d0 With a few modifications, novelWriter now starts wuth Qt 5.2.1 and Python 3.4.3 2020-05-16 20:18:39 +02:00
Veronica K. B. Olsen
24596f28d6 Some more tuning of the documents margin function 2020-05-16 19:04:52 +02:00
Veronica K. B. Olsen
752ec8a52b Clean up the launcher script, and some other bits. 2020-05-15 23:43:32 +02:00
Veronica K. B. Olsen
5d7dfd3cea Moved some package checks into the main function so we can pop an error dialog for non-command line users. 2020-05-15 23:40:20 +02:00
Veronica K. B. Olsen
69b101ce55 Merge branch 'master' into dev_0.6 2020-05-14 22:01:38 +02:00
Veronica K. Berglyd Olsen
a8bd8e63d5 Merge pull request #209 from vkbo/release_0.5.1
Release 0.5.1
2020-05-14 21:55:46 +02:00
Veronica K. B. Olsen
f6f0832b4c Merge branch 'master' into release_0.5.1 2020-05-14 21:51:33 +02:00
Veronica K. B. Olsen
e6594a9049 Updated changelog 2020-05-14 21:51:03 +02:00
Veronica K. Berglyd Olsen
86ad158059 Merge pull request #208 from vkbo/bugfix
Bugfix: Text of large document not always visible in editor
2020-05-14 21:33:05 +02:00
Veronica K. B. Olsen
6bd4361b5a Bumped version number to 0.5.1 2020-05-14 21:32:26 +02:00
Veronica K. B. Olsen
cff1529e71 Restored the gear SVG decoration for some dialogs until they're redesigned 2020-05-14 21:26:56 +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
07714168ff Fixed an issue with rendering large documents where some of the text wasn't visible 2020-05-14 21:19:03 +02:00
Veronica K. B. Olsen
82c24d75ef Merge branch 'master' into dev_0.6 2020-05-14 18:57:55 +02:00
Veronica K. Berglyd Olsen
b6fe4bf83b Merge pull request #207 from vkbo/icon_themes
Icon Themes
2020-05-14 18:49:45 +02:00
Veronica K. B. Olsen
544a9d56bd Updated the about box to credit the icon creator. Temporary solution until the box is redesigned. 2020-05-14 18:46:30 +02:00
Veronica K. B. Olsen
0eb4319fc1 Finished the code for icon themes 2020-05-14 18:38:41 +02:00
Veronica K. B. Olsen
0566df433b Updated colour icon theme 2020-05-14 16:44:14 +02:00
Veronica K. B. Olsen
8603bf8af8 Added dark icon coloured theme as well 2020-05-14 00:16:21 +02:00
Veronica K. B. Olsen
e865e5b448 Added support for icon themes in the source. Still need to add it to preferences. 2020-05-13 23:23:13 +02:00
Veronica K. B. Olsen
405ef48237 Updated the license text file in assets 2020-05-13 19:45:00 +02:00
Veronica K. B. Olsen
d78dd24291 Some minor fixes, add qApp info, and a PNG app icon 2020-05-12 21:51:57 +02:00
Veronica K. Berglyd Olsen
8d78be357b Merge pull request #204 from vkbo/compile_novel
Compile Novel Tools
2020-05-12 20:07:29 +02:00
Veronica K. B. Olsen
a9550f98ed Merge branch 'master' into compile_novel 2020-05-12 20:01:14 +02:00
Veronica K. Berglyd Olsen
8d1e6264d5 Merge pull request #205 from vkbo/fixes
Fixes and Updates for 0.5
2020-05-12 19:59:39 +02:00
Veronica K. B. Olsen
aa342a7f19 Dropped Qt html export, and added nw markdown export 2020-05-12 19:44:30 +02:00
Veronica K. B. Olsen
aa4778d4cd Preserve markdown during build, and use lists instead of strings 2020-05-12 18:41:08 +02:00
Veronica K. B. Olsen
2a67b69d32 Replaced 'Outline Mode' with an 'Exclude body text' option instead. 2020-05-12 18:10:45 +02:00
Veronica K. B. Olsen
8dca20e3aa Added printing and save to PDF, and made some changes to the tohtml class 2020-05-12 00:10:03 +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
7c1f3144bd Reworked the title formatting functionality. All keywords can be used in all headings, and also added scene numbers. 2020-05-11 19:00:01 +02:00
Veronica K. B. Olsen
4dead91af2 Extended the style formatting of tokenizer and tohtml to allow multiple styles for a block 2020-05-11 18:18:19 +02:00
Veronica K. B. Olsen
3ad4e26dbc Cleanup of unneeded imports 2020-05-11 00:20:46 +02:00
Veronica K. B. Olsen
aba7b452e5 Merge branch 'fixes' into compile_novel 2020-05-11 00:07:16 +02:00
Veronica K. B. Olsen
aab0b4a846 Fixed help text and added date to the version and help output 2020-05-11 00:03:28 +02:00
Veronica K. B. Olsen
41808ea9b8 Changed __status__ to Pre-Release 2020-05-10 23:58:44 +02:00
Veronica K. B. Olsen
c3f1581acf oopsie 2020-05-10 23:56:41 +02:00
Veronica K. B. Olsen
df782e823d Reduced the number of command line switches 2020-05-10 23:55:56 +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
a7d2ca24a5 Deleted the rest of the no longer needed code 2020-05-10 22:56:30 +02:00
Veronica K. B. Olsen
eecf1e000d Finished cleaning up formatting on export and connected all dialog options 2020-05-10 22:51:50 +02:00
Veronica K. B. Olsen
52eb51b44b Deleted the rest ov the convert submodule 2020-05-10 21:29: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
26b8379ada Updated tests again 2020-05-10 19:37:38 +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
2eaa707f4e Some cleanup of the tokenizer and tohtml classes 2020-05-10 14:44:44 +02:00
Veronica K. B. Olsen
33f4626aec Moved the convert classes we want to keep to the core folder. The rest will be deleted. 2020-05-10 13:51:22 +02:00
Veronica K. B. Olsen
1ad156054c Make sure information is synced properly when item label is changed 2020-05-09 21:49:05 +02:00
Veronica K. B. Olsen
91dd15ab57 Rewritten the tree details pane to show more info 2020-05-09 21:48:35 +02:00
Veronica K. B. Olsen
ef40d4f2de Added the new exported option to project tree and item editor 2020-05-09 20:51:27 +02:00
Veronica K. B. Olsen
42b819acd9 Added exported option to NWItem 2020-05-09 20:05:42 +02:00
Veronica K. B. Olsen
3b136bddbb Added document to build GUI 2020-05-09 20:02:19 +02:00
Veronica K. B. Olsen
3089c798dc Added the Build Project dialog and connected it to the GUI in place of the Export tool 2020-05-09 19:26:28 +02:00
Veronica K. B. Olsen
3e0bcfdb1c Added appPath and homePath to debug output 2020-05-09 18:37:38 +02:00
Veronica K. Berglyd Olsen
7f6c808c97 Merge pull request #203 from vkbo/release_0.5
Release 0.5
2020-05-09 17:55:31 +02:00
Veronica K. B. Olsen
e60a05bc70 Updated changelog 2020-05-09 17:46:06 +02:00
Veronica K. B. Olsen
04728b74d4 Bump version 2020-05-09 16:45:31 +02:00
Veronica K. Berglyd Olsen
8c8000b8f9 Merge pull request #202 from vkbo/docs
Updated documentation
2020-05-09 16:25:24 +02:00
Veronica K. B. Olsen
1a348b347a Updated documentation 2020-05-09 16:20:59 +02:00
Veronica K. Berglyd Olsen
e774a3546f Merge pull request #201 from vkbo/minor_things
Minor Refactoring and Restore Orphan File Label
2020-05-09 14:07:10 +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. Berglyd Olsen
c35dff921d Merge pull request #200 from vkbo/doc_meta
Document Meta Data
2020-05-08 23:10:34 +02:00
Veronica K. B. Olsen
5a1ff7e7d3 Opening a document now seems to reset dynamic margins. Added a temporary fix. 2020-05-08 23:02:16 +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
3c9b25bb49 Updated tests 2020-05-08 22:48:38 +02:00
Veronica K. B. Olsen
23520fef9b Updated sample text 2020-05-08 22:48:29 +02:00
Veronica K. B. Olsen
67562b19b6 Added meta data reading and writing to the document class 2020-05-08 22:44:50 +02:00
Veronica K. Berglyd Olsen
75090a94f8 Merge pull request #199 from vkbo/code_improvements
Code Refactoring
2020-05-08 21:49:23 +02:00
Veronica K. B. Olsen
76b4ffe0f2 Add back some file history from deleted files 2020-05-08 21:40:56 +02:00
Veronica K. B. Olsen
aea39ba1aa Renamed the textanalyse file 2020-05-08 21:33:59 +02:00
Veronica K. B. Olsen
894bc41f51 Moved the additions folder into the gui folder as it only contains gui elements 2020-05-08 21:32:38 +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
9b049b6469 Moved spell checker classes to core folder 2020-05-08 21:02:30 +02:00
Veronica K. B. Olsen
386020bcf8 Renamed 'project' folder to 'core' 2020-05-08 20:58:34 +02:00
Veronica K. B. Olsen
5cc036e125 Fixed a bug in language lookup for enchant spelling 2020-05-08 20:57:03 +02:00
Veronica K. B. Olsen
704d9a11e4 Merged the spell checking classes into one file 2020-05-08 20:41:39 +02:00
Veronica K. B. Olsen
7f41daf518 Merge branch 'master' into code_improvements 2020-05-08 20:33:07 +02:00
Veronica K. Berglyd Olsen
9241cbe2ce Merge pull request #198 from vkbo/backup_class
Backup Updates
2020-05-08 20:32:41 +02:00
Veronica K. B. Olsen
9204003f57 Add some pyqtSlot decorators as they apparently improve perforamce a tiny bit 2020-05-08 20:09:51 +02:00
Veronica K. B. Olsen
8d4fa4b627 Added a try/except to the creation of backup folder 2020-05-08 18:28:13 +02:00
Veronica K. B. Olsen
3d910041cd Moved the backup function to the project class since it was only one function anyway 2020-05-08 18:19:09 +02:00
Veronica K. Berglyd Olsen
a39b28332a Merge pull request #196 from vkbo/project_structure
Project Class Restructure
Merging into `dev` for further testing and code restructuring before we merge to master.
2020-05-08 10:22:20 +02:00
Veronica K. B. Olsen
d75243418f Moved a couple more functions to the NWTree class, and cleaned up the source file a bit 2020-05-07 23:59:32 +02:00
Veronica K. B. Olsen
5b3291e4ee Updated tests to work with new project tree class 2020-05-07 23:08:43 +02:00
Veronica K. B. Olsen
58eb8e78ba Moved the project tree into its own iterable class NWTree 2020-05-07 23:08:15 +02:00
Veronica K. B. Olsen
64ae52e7aa Moved NWItem and NWStatus into the project file as the classes are no longer called from elsewhere 2020-05-07 20:02:49 +02:00
Veronica K. B. Olsen
323b46a559 Added direct testing of the NWItem class 2020-05-07 19:43:55 +02:00
Veronica K. B. Olsen
3cb45d0dc3 Added some more checks on item setters 2020-05-07 19:43:22 +02:00
Veronica K. B. Olsen
1a521758d1 Moved the unpacking of XML data into the NWItem class 2020-05-07 01:25:09 +02:00
Veronica K. B. Olsen
d5775a7838 Improved lookup of enums 2020-05-07 00:59:05 +02:00
Veronica K. B. Olsen
8037b3a311 Some improvements to the NWItem class, and removal of unused imports of it in the code 2020-05-07 00:38:25 +02:00
Veronica K. Berglyd Olsen
5306b6fd60 Merge pull request #195 from vkbo/gui_fixes
Gui Fixes
2020-05-04 21:25:25 +02:00
Veronica K. B. Olsen
020a4c548a Fixed formatting of URL in license docstring 2020-05-04 21:20:55 +02:00
Veronica K. B. Olsen
ed6d6515fe Some more corrections to Preferences help text 2020-05-04 21:18:58 +02:00
Veronica K. B. Olsen
35891e6663 Some bugfixes and text changes in the preferences dialog 2020-05-04 20:59:29 +02:00
Veronica K. B. Olsen
c6ba779b05 Some further tweaks to the switch widget to make it consistent between GUI themes 2020-05-04 20:58:50 +02:00
Veronica K. B. Olsen
1148936af6 Let's use a character that definitely exists for the document path 2020-05-04 20:31:00 +02:00
Veronica K. B. Olsen
ee8c91c3ee Reduce the QSwitch class to only what's needed 2020-05-04 17:59:51 +02:00
Veronica K. B. Olsen
85751851f0 Add some path check to the backup class 2020-05-04 17:59:31 +02:00
Veronica K. B. Olsen
9a1f846c6f Render the document title path separator as HTML 2020-05-04 17:59:00 +02:00
Veronica K. B. Olsen
e2b9e01c44 Replace the arrow unicodes with some more universal ones 2020-05-04 17:58:17 +02:00
Veronica K. Berglyd Olsen
d706b54785 Merge pull request #193 from vkbo/gui_changes
New Preferences Dialog
2020-05-03 20:24:18 +02:00
Veronica K. B. Olsen
9daa77486c Remove some unneeded imports 2020-05-03 20:16:13 +02:00
Veronica K. B. Olsen
cbf0c265b9 Connected the full path in header option to the config gui 2020-05-03 20:04:51 +02:00
Veronica K. B. Olsen
c1c67f026b Finished the last tab of the config editor 2020-05-03 19:52:54 +02:00
Veronica K. B. Olsen
4885216395 Fnisished main config editing tab 2020-05-03 19:24:25 +02:00
Veronica K. B. Olsen
0e0b61be8c Moved config of spell check and qriting guides 2020-05-03 19:10:00 +02:00
Veronica K. B. Olsen
6c0c908989 Added Layout tab to main config dialog 2020-05-03 18:02:27 +02:00
Veronica K. B. Olsen
3d0cd5a71c Move a bunch of settings to a new tab in main settings using the new config layout 2020-05-03 16:56:03 +02:00
Veronica K. B. Olsen
bf9e365d25 Added a custom class for forms 2020-05-03 16:55:24 +02:00
Veronica K. B. Olsen
1fe9ff0af7 Updated the switch class to match code standard 2020-05-03 12:45:58 +02:00
Veronica K. B. Olsen
e088b03c04 Added original switch code from stack overflow 2020-05-03 12:04:36 +02:00
Veronica K. Berglyd Olsen
c0f24b9ba7 Merge pull request #192 from vkbo/title_bar
Document Title Bar
2020-05-02 20:31:41 +02:00
Veronica K. B. Olsen
b44669a3b5 Some minor tweaks, and added option for showing full path 2020-05-01 21:30:18 +02:00
Veronica K. B. Olsen
bf3ecfbef4 Moved the document title element into the document instead of main GUI 2020-05-01 20:51:46 +02:00
Veronica K. B. Olsen
cc1113ea6c Tie things together to ensure title is always updated, and add some needed comments here and there 2020-05-01 18:11:32 +02:00
Veronica K. B. Olsen
7d91a15841 The document title bar is no populated on document open 2020-05-01 17:36:02 +02:00
Veronica K. B. Olsen
0387ce67b7 Base document title class ready. 2020-04-26 21:35:58 +02:00
Veronica K. B. Olsen
3a9de4af38 Remove dummy text from notixe bar class 2020-04-26 20:43:22 +02:00
Veronica K. B. Olsen
9263348b25 Add lock file to git ignore 2020-04-26 20:39:02 +02:00
Veronica K. Berglyd Olsen
a48047905a Merge pull request #191 from vkbo/outline_step2
Outline Feature - Step 2
2020-04-26 18:15:16 +02:00
Veronica K. B. Olsen
c934532ea2 Loosened the restriction on the synopsis tag a bit 2020-04-26 18:06:57 +02:00
Veronica K. B. Olsen
946331145f Added a hidden handle column to the outline tree, and connected the double click to open a document 2020-04-26 17:48:14 +02:00
Veronica K. Berglyd Olsen
7c2ca13e4f Merge pull request #190 from vkbo/bugfixes
Fixed bug in loading of dictionary without enchant installed
2020-04-22 10:27:17 +02:00
Veronica K. B. Olsen
a03350269e Removed additional empty line 2020-04-22 10:18:07 +02:00
Veronica K. B. Olsen
4b99cad20d Fixed bug in loading of dictionary without enchant installed 2020-04-22 10:15:58 +02:00
Veronica K. Berglyd Olsen
dbeabdc087 Merge pull request #189 from vkbo/license
Added license info to command line help message
2020-04-20 22:42:34 +02:00
Veronica K. B. Olsen
51ddaaf9ba Merge branch 'master' into license 2020-04-20 22:39:45 +02:00
Veronica K. B. Olsen
f0e8982753 Added license info to command line help message 2020-04-20 22:39:04 +02:00
Veronica K. Berglyd Olsen
9207b71817 Merge pull request #188 from vkbo/license
Add license blob to source files
2020-04-20 22:37:50 +02:00
Veronica K. B. Olsen
5ab85a38bb Revert header to say 'About' 2020-04-20 22:33:21 +02:00
Veronica K. B. Olsen
6d138d054a Updated the about box 2020-04-20 22:24:56 +02:00
Veronica K. B. Olsen
ba3c765ba8 Added license text to source files 2020-04-20 21:50:20 +02:00
Veronica K. Berglyd Olsen
67a3c384fd Merge pull request #183 from vkbo/tweaks
Tweaks (Open Project and Outline)
2020-04-15 21:10:11 +02:00
Veronica K. B. Olsen
b4a90f4b02 Fixed tests 2020-04-14 22:49:40 +02:00
Veronica K. B. Olsen
4abec49b0a The opren recent project dialog now remembers column width and projects can be opened with double click 2020-04-14 22:49:25 +02:00
Veronica K. B. Olsen
5e90b1ff77 Clear the outline header between projects 2020-04-14 22:20:40 +02:00
Veronica K. Berglyd Olsen
6a9ff4c46b Merge pull request #182 from vkbo/switches
Command Line Switches
2020-04-14 20:34:51 +02:00
Veronica K. B. Olsen
c942718575 Some further cleanup of switch parsing 2020-04-14 20:30:20 +02:00
Veronica K. B. Olsen
f856a520d0 Some minor changes to command line switches 2020-04-14 10:22:34 +02:00
Veronica K. Berglyd Olsen
6a5d4e4d0b Merge pull request #181 from vkbo/fixes
Outline Fixes
2020-04-13 17:04:50 +02:00
Veronica K. B. Olsen
7b9da12aa4 Fixed a bug where outline header state from previous seession was restored on outline update 2020-04-13 16:57:43 +02:00
Veronica K. Berglyd Olsen
861556d32a Merge pull request #140 from vkbo/project_outline
Synopsis and Outline Feature
2020-04-13 16:07:10 +02:00
Veronica K. B. Olsen
f62a8a45db Added new option to test project files 2020-04-13 16:02:55 +02:00
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
ac3adade18 Some Outline class cleanup and restructuring 2020-04-11 18:24:01 +02:00
Veronica K. B. Olsen
b11ae8ec9f Updated sample project xml 2020-04-11 17:58:35 +02:00
Veronica K. B. Olsen
0991d1b1a8 The menu for selecting columsn and storing column width now works 2020-04-11 17:58:13 +02:00
Veronica K. B. Olsen
9678a49f22 Drop the Outline settings from teh main Preferences 2020-04-11 17:57:40 +02:00
Veronica K. B. Olsen
8d34c68be0 Merge branch 'master' into project_outline 2020-04-09 19:51:37 +02:00
Veronica K. B. Olsen
15ade8d28c Various changes and fixes to the outline class 2020-04-09 19:48:09 +02:00
Veronica K. B. Olsen
ff69667ab5 Added tab for Outline settings to config dialog 2020-04-09 19:46:56 +02:00
Veronica K. B. Olsen
61ed3ee721 Added Outline enums and column labels to constants submodule 2020-04-09 19:46:10 +02:00
Veronica K. Berglyd Olsen
63fe9ef926 Merge pull request #180 from vkbo/tweaks
Minor tweaks: save counter and meta checks
2020-03-23 18:52:13 +01: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
32c6d80efb Restructured the way column state is preserved in the Outline tree 2020-03-10 23:18:58 +01:00
Veronica K. B. Olsen
c9657a3515 Outline class should just be a sunclass of the central QTreeWidget, like other main GUI classes 2020-03-07 17:10:35 +01:00
Veronica K. B. Olsen
d8a44e63e7 Some minor cleanup in the outline class 2020-02-27 22:29:57 +01:00
Veronica K. B. Olsen
fdda0ddc74 Fixed a few issues with loading and saving of outline settings, and fixed zen mode 2020-02-27 21:54:26 +01:00
Veronica K. B. Olsen
717e4aba78 Fix merge conflicts 2020-02-27 00:19:18 +01:00
Veronica K. Berglyd Olsen
2fcbcae446 Merge pull request #179 from vkbo/lockfile
Project Lockfile
2020-02-26 22:26:58 +01:00
Veronica K. B. Olsen
144ddef579 Backup tool should not back up the lock file 2020-02-26 22:18:34 +01:00
Veronica K. B. Olsen
8f1c2daddf Fixed tests 2020-02-26 22:10:09 +01:00
Veronica K. B. Olsen
9903461963 Added lockfile check and dialog box to main GUI 2020-02-26 22:09:59 +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. Berglyd Olsen
8d1e4a2778 Merge pull request #177 from vkbo/splash_screen
Project Load Screen
2020-02-26 20:30:41 +01:00
Veronica K. B. Olsen
6a330afc22 Increase test coverage of Config class and fix a couple of bugs in the process 2020-02-26 20:26:01 +01:00
Veronica K. B. Olsen
0696ef79e4 Fix tests and added --data option to command line 2020-02-26 18:27:07 +01:00
Veronica K. B. Olsen
0587099d36 A few tweaks to the dialog and code 2020-02-26 18:02: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
6867f38637 Added the main dialog class for project management, and made some changes to the icon class. 2020-02-26 15:30:08 +01:00
Veronica K. Berglyd Olsen
cce65a6e93 Merge pull request #176 from vkbo/config_error
Config Error Handling
2020-02-23 20:39:15 +01:00
Veronica K. B. Olsen
39db69f199 Add error handling and reporting for the Config class, whichs is initialised before the GUI 2020-02-23 17:15:20 +01:00
Veronica K. Berglyd Olsen
5d129379a3 Merge pull request #175 from vkbo/dialog_options
Saving of Dialog Options
2020-02-19 20:12:51 +01:00
Veronica K. Berglyd Olsen
54fda113e0 Merge branch 'master' into dialog_options 2020-02-19 20:10:16 +01:00
Veronica K. B. Olsen
10dcbe6ee5 Also saving options for DocSplit dialog 2020-02-19 20:08:27 +01:00
Veronica K. B. Olsen
b90f96643e Updated sample project xml 2020-02-19 19:58:03 +01:00
Veronica K. B. Olsen
4977ffd843 Clean up old json files 2020-02-19 19:57:08 +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
ecb739425b Added new class to save dialog optins 2020-02-19 18:58:19 +01:00
Veronica K. Berglyd Olsen
e691933578 Merge pull request #173 from countjocular/countjocular-typos
Fix some typos
2020-02-18 13:59:54 +01:00
Veronica K. Berglyd Olsen
cc3705153d Merge branch 'master' into countjocular-typos 2020-02-18 13:57:27 +01:00
Veronica K. Berglyd Olsen
98452870b4 Merge pull request #174 from countjocular/countjocular-patch-install
Update install.py with correct paths
2020-02-18 13:56:29 +01:00
Count Jocular
a1f5398003 Fix typo in technical help
Fix a 1-character typo
2020-02-18 11:27:39 +00:00
Count Jocular
6d69370ce1 Fix typos in projects help
Just a couple of typos.
2020-02-18 11:14:00 +00:00
Count Jocular
64b02947c0 Correct spelling mistake in interface help
s/renderred/rendered/g
2020-02-18 11:07:21 +00:00
Count Jocular
4eaaf97af2 Update install.py with correct paths
Update install.py with correct joined paths for the `themes` folder and the `graphics` folder. This bug prevented pyInstaller from building successfully under Windows.
2020-02-18 09:53:22 +00:00
Count Jocular
4f0f36aa95 Update started.txt with correct download links
Update Getting Started to point to the correct source archives (.zip and .tar.gz) for 0.4.5 release.
2020-02-18 09:23:22 +00:00
Veronica K. B. Olsen
08abdeabb0 Minor fix in README 2020-02-17 21:51:10 +01:00
Veronica K. Berglyd Olsen
dc4f8e1e3b Merge pull request #172 from vkbo/release_0.4.5
Release 0.4.5
2020-02-17 14:51:49 +01:00
Veronica K. B. Olsen
ef377f5952 Bumped version again to fix botched release 2020-02-17 14:50:43 +01:00
Veronica K. Berglyd Olsen
d2bd2e9d69 Merge pull request #171 from vkbo/release_0.4.4
Release 0.4.4
2020-02-17 14:12:36 +01:00
Veronica K. B. Olsen
2094d67c38 Updated changelog 2020-02-17 14:08:45 +01:00
Veronica K. B. Olsen
e325aa4bb0 A few more places to bump stuff 2020-02-17 13:48:23 +01:00
Veronica K. B. Olsen
7c1f613014 Bumped version and removed -t command line argument 2020-02-17 13:43:05 +01:00
Veronica K. B. Olsen
110d27d067 Cleanup of imports 2020-02-17 13:30:26 +01:00
Veronica K. Berglyd Olsen
92f32beab2 Merge pull request #169 from vkbo/drop_appdirs
Drop appdirs dependency
2020-02-15 22:01:46 +01:00
Veronica K. B. Olsen
c991795f0d Some additional tweaks for Windows 2020-02-15 21:57:05 +01:00
Veronica K. B. Olsen
aab9805bc6 Remove dependency on appdirs package for finding config dir as this is provided by Qt 2020-02-15 21:39:21 +01:00
Veronica K. Berglyd Olsen
5c376dd276 Merge pull request #168 from vkbo/fixes
Various Fixes
2020-02-15 19:55:55 +01:00
Veronica K. B. Olsen
ca18fe5461 Added some fixes for bugs discovered when testing with PySide2 2020-02-15 17:59:40 +01:00
Veronica K. Berglyd Olsen
872fc87ab8 Merge pull request #166 from vkbo/fixes
Fixes
2020-02-15 13:25:30 +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. Berglyd Olsen
ac13838aa8 Merge pull request #165 from vkbo/file_save_update
File saving and opening
2020-02-13 21:27:26 +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
c28a246d23 Make document saving consistent with how project file is saved 2020-02-13 19:16:29 +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. Berglyd Olsen
f6d1dc68be Merge pull request #164 from vkbo/cli_open
Open project from command line
2020-02-13 15:51:41 +01:00
Veronica K. B. Olsen
6e6c9b98f7 Additional unparsed command line options are assumed to be a project path to open 2020-02-13 00:36:30 +01:00
Veronica K. Berglyd Olsen
723489b67b Merge pull request #163 from vkbo/split_merge
Tweaks to file split, trash and drag'n'drop
2020-02-09 21:38:45 +01:00
Veronica K. B. Olsen
7858412419 Added check to make sure items are not dropped on the oprhaned folder 2020-02-09 21:25:20 +01:00
Veronica K. B. Olsen
963c819f85 Removed debug print and added logging stuff 2020-02-09 21:20:34 +01:00
Veronica K. B. Olsen
f2eedff6d2 Added empty trash option 2020-02-09 21:17:57 +01:00
Veronica K. B. Olsen
b03b80961b Clarified dropdown options on split document dialog 2020-02-09 20:45:36 +01:00
Veronica K. Berglyd Olsen
5abe981bfe Merge pull request #160 from vkbo/build_update
CI updates
2020-02-05 01:40:15 +01:00
Veronica K. B. Olsen
833bc5ffd2 Set minimum Python version to 3.6 2020-02-05 01:33:43 +01:00
Veronica K. Berglyd Olsen
bc98e4d4c8 Merge pull request #159 from vkbo/split_merge
Split, merge, and delete functionality
2020-02-05 01:28:21 +01:00
Veronica K. B. Olsen
123d64bba9 Dropping Python 3.5 support 2020-02-05 01:27:17 +01:00
Veronica K. B. Olsen
cac75abcaf Switch ubutu distro on travis builds 2020-02-05 01:22:19 +01:00
Veronica K. B. Olsen
5d97150842 trying to make travis run again 2020-02-05 01:13:07 +01:00
Veronica K. B. Olsen
f58b7afd43 trying to make travis run again 2020-02-05 01:10:01 +01:00
Veronica K. B. Olsen
6cfa2853fe trying to make travis run again 2020-02-05 01:02:18 +01:00
Veronica K. B. Olsen
643a301e2d Some cleanup in the new doc split dialog 2020-02-05 00:10:29 +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
068674e63d Remove the change of selected item when deleting, and let the tree widget handle it 2020-02-04 23:57:29 +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
605541c87d Some cleanup of the merge document dialog 2020-02-01 12:49:45 +01:00
Veronica K. B. Olsen
6b79b7a423 Merging a folder of documents into one file now works 2020-01-31 17:17:07 +01:00
Veronica K. B. Olsen
6cac679458 Added merge documents dialog and related code 2020-01-23 15:52:27 +01:00
Veronica K. B. Olsen
a111247a3c Added split and merge icons 2020-01-21 11:51:49 +01:00
Veronica K. B. Olsen
1eb6b59c32 Allow tags in files with no title 2019-12-10 19:05:57 +01:00
Veronica K. B. Olsen
06031ab7d5 Started adding split amd merge functions 2019-12-01 16:26:37 +01:00
Veronica K. Berglyd Olsen
a310daf2fd Merge pull request #158 from vkbo/spell_check_loader
Spinning cursor when loading and spell checking
2019-11-27 18:33:14 +01:00
Veronica K. B. Olsen
a2defebe94 The replace text method should only be used for large documents 2019-11-27 00:58:52 +01:00
Veronica K. B. Olsen
9ab64627f3 Added a spinning cursor for spell checker and open document 2019-11-26 23:07:18 +01:00
Veronica K. Berglyd Olsen
947108872f Merge pull request #157 from vkbo/zen_shortcuts
Block shortcuts in distraction free mode
2019-11-24 18:15:47 +01:00
Veronica K. B. Olsen
7bc4116df8 New block format shortcuts were not working in distraction free mode 2019-11-24 17:59:51 +01:00
Veronica K. Berglyd Olsen
04ab861cfd Merge pull request #156 from vkbo/release_0.4.3
Release 0.4.3
2019-11-24 17:49:08 +01:00
Veronica K. B. Olsen
43449c2508 Bumped version and updated changelog 2019-11-24 17:45:52 +01:00
Veronica K. B. Olsen
f358cc64e1 Merge branch 'master' into project_outline 2019-11-21 15:31:43 +01:00
Veronica K. Berglyd Olsen
c98858bd87 Merge pull request #155 from vkbo/shortcut_fixes
Shortcut fixes and additions
2019-11-21 15:30:39 +01:00
Veronica K. B. Olsen
f21e85534d Handle comments with and without an initial space 2019-11-21 15:25:48 +01:00
Veronica K. B. Olsen
ba3497a130 Updated documentation 2019-11-21 14:36:07 +01:00
Veronica K. B. Olsen
1711e5c615 Block formatting now complete 2019-11-21 14:31:12 +01:00
Veronica K. B. Olsen
20e1c2f6f2 Added the menu entry and handling of block formats 2019-11-21 14:00:55 +01:00
Veronica K. B. Olsen
8396e237c0 Moved a few slot functions around in docedit 2019-11-21 13:45:54 +01:00
Veronica K. B. Olsen
5b7e3fabde Cut/Copy/Select shortcuts now also work in doc viewer if it has focus 2019-11-21 13:37:11 +01:00
Veronica K. B. Olsen
4739959c4e Visible columns and column width in outline is now saved and loaded 2019-11-20 21:17:43 +01:00
Veronica K. B. Olsen
f9a06f3425 Fix the highlighting of synopsis tag 2019-11-20 19:09:32 +01:00
Veronica K. B. Olsen
c0828c7f1d Fix merge conflicts 2019-11-20 18:56:18 +01:00
Veronica K. Berglyd Olsen
bd301bd5cc Merge pull request #154 from vkbo/hlight_improvements
Highlighter Improvements
2019-11-19 22:10:10 +01:00
Veronica K. B. Olsen
8320f82c7e Made a mistake in header highlighting 2019-11-19 22:07:24 +01:00
Veronica K. B. Olsen
d4a33aba9f Wrong logic ... 2019-11-19 22:04:28 +01:00
Veronica K. B. Olsen
98636a18e0 Fix test 2019-11-19 21:51:43 +01:00
Veronica K. B. Olsen
eb68f3efc0 Change the method the document is rehighlighted. This is significantly faster 2019-11-19 21:49:11 +01:00
Veronica K. B. Olsen
2758c587af Added spell check size limit to preferences 2019-11-19 21:12:40 +01:00
Veronica K. B. Olsen
3c6350a4da Disable initial spell checking for large documents 2019-11-19 18:48:44 +01:00
Veronica K. B. Olsen
2217f1d89c Improved highlighter performance and disabled initial spell checking 2019-11-19 18:19:38 +01:00
Veronica K. Berglyd Olsen
aee7a1a66d Merge pull request #153 from vkbo/large_text_performance
Prevent re-highlight on resize
2019-11-19 10:44:40 +01:00
Veronica K. Berglyd Olsen
af5159cdaf Merge branch 'master' into large_text_performance 2019-11-19 10:42:05 +01:00
Veronica K. B. Olsen
78a8f5bb9c Make sure a contentsChange signal is not emitted when document margins change 2019-11-19 10:36:43 +01:00
Veronica K. Berglyd Olsen
e9c60cad9d Merge pull request #152 from vkbo/bug_fix
Bug Fixes
2019-11-18 20:29:29 +01:00
Veronica K. B. Olsen
5f104f9c48 Fixed hard line breaks in markdown export 2019-11-18 20:15:29 +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
a5df5a151e Fixed crash in project countStatus when tree contains orphaned item 2019-11-18 19:51:31 +01:00
Veronica K. B. Olsen
a5d692d1f8 Merge branch 'master' of github.com:vkbo/novelWriter 2019-11-18 10:49:22 +01:00
Veronica K. B. Olsen
0a1d436301 Updated readme to clarify that this is not a full-featured markdown editor 2019-11-18 10:49:04 +01:00
Veronica K. B. Olsen
1659d2a110 Disable opaque resize of splitters 2019-11-18 10:30:07 +01:00
Veronica K. Berglyd Olsen
efc29c152a Merge pull request #149 from vkbo/insert_from_file_fix
Fixed a minor issue when insert from file was cancelled.
2019-11-17 22:15:29 +01:00
Veronica K. B. Olsen
ba9f471695 Fixed a minor issue when insert from file was cancelled. 2019-11-17 22:10:33 +01:00
Veronica K. Berglyd Olsen
d63e07becb Merge pull request #147 from vkbo/release_0.4.2
Release 0.4.2
2019-11-17 17:56:33 +01:00
Veronica K. B. Olsen
34f14b005d Release 0.4.2 2019-11-17 17:54:02 +01:00
Veronica K. B. Olsen
dd96432c6e Deleted tests from removed code 2019-11-17 16:30:33 +01:00
Veronica K. B. Olsen
cff0d86d90 Some minor imrpovements 2019-11-17 16:23:18 +01:00
Veronica K. B. Olsen
d533d91adc Added a sanity check on the titleKey 2019-11-17 16:11:26 +01:00
Veronica K. B. Olsen
d1417ceea0 Reworked the way the outline is built with the new index in place 2019-11-17 16:08:55 +01:00
Veronica K. B. Olsen
612c2ef328 Merged the indices so we have a minimum of dictionaries 2019-11-17 15:45:38 +01:00
Veronica K. B. Olsen
6500d23bd7 Cleaned up index, and fixed data extraction 2019-11-17 14:05:09 +01:00
Veronica K. B. Olsen
816c708853 Remove timeline view so we can clean up the indexing class 2019-11-17 13:09:21 +01:00
Veronica K. B. Olsen
19ebedd8b3 Most columns now available in outline 2019-11-16 17:23:32 +01:00
Veronica K. B. Olsen
d09fb50bfc Restructured the index a bit, and added more columns to the outline 2019-11-16 16:29:38 +01:00
Veronica K. B. Olsen
2b3e95ce73 Fixed merge conflict in sample project 2019-11-16 14:46:20 +01:00
Veronica K. B. Olsen
7ed60ab97b Added outline tab and started populating outline tree 2019-11-16 14:43:23 +01:00
Veronica K. B. Olsen
297a71d132 Fixed merge conflicts 2019-11-16 12:36:29 +01:00
Veronica K. Berglyd Olsen
ef48c11abc Merge pull request #145 from vkbo/language_status
Language on Status Bar
2019-11-16 12:34:18 +01:00
Veronica K. B. Olsen
2ab7828179 Added more characters as valid word separators to the highlighter regex 2019-11-16 12:31:49 +01:00
Veronica K. B. Olsen
82aa1ad0a9 Merge branch 'master' into language_status 2019-11-16 12:16:15 +01:00
Veronica K. Berglyd Olsen
cd6f1d8b89 Merge pull request #146 from vkbo/pytest_profiling
Collecting Profiling Data
2019-11-16 12:15:45 +01:00
Veronica K. B. Olsen
dde8102cc5 Added script for plotting profiling data 2019-11-16 12:09:51 +01:00
Veronica K. B. Olsen
e0fff7673d Added some more comments and debug output 2019-11-15 23:00:12 +01:00
Veronica K. B. Olsen
ed0c4c6e49 Fixed a recursion issue, and added more comments 2019-11-15 22:36:44 +01:00
Veronica K. B. Olsen
ec0f4880fa Let the document editor handle the status of spell checking, and let it set all other classes from there 2019-11-15 22:16:58 +01:00
Veronica K. B. Olsen
e841e0211a We should read back the language dictionary setting from the spell class before updating status bar 2019-11-15 21:39:06 +01:00
Veronica K. Berglyd Olsen
653c7bbe80 Merge pull request #142 from vkbo/actions
Actions
2019-11-14 18:35:11 +01:00
Veronica K. B. Olsen
651d903705 Fix test 2019-11-14 18:31:31 +01:00
Veronica K. B. Olsen
6d79ff1033 Connect document editor actions also to the main window, and let Esc disable Zen Mode if activated. 2019-11-14 11:39:59 +01:00
Veronica K. B. Olsen
7551d49235 Made all action class variables 2019-11-14 11:23:47 +01:00
Veronica K. Berglyd Olsen
bb8dd6b1eb Merge pull request #141 from vkbo/spell_highlight_fix
Spell Check Fixes
2019-11-12 21:43:15 +01:00
Veronica K. B. Olsen
bc43e924fe Strip non-word characters when adding to user dictionary 2019-11-12 21:24:13 +01:00
Veronica K. B. Olsen
3089c560e5 Ensure the window is normal size before we might maximise it 2019-11-12 21:05:48 +01:00
Veronica K. B. Olsen
e10a386b6a Some fixed to the spell checking part of the highlighter 2019-11-12 20:20:45 +01:00
Veronica K. B. Olsen
231b0b8c53 Added synopsis keyword and a meta file and dictiopnaries to hold the data 2019-11-10 17:09:35 +01:00
Veronica K. Berglyd Olsen
f9ead10245 Merge pull request #139 from vkbo/release_0.4.1
Release 0.4.1
2019-11-10 15:21:17 +01:00
Veronica K. B. Olsen
033afd455c Updated the changelog text a bit 2019-11-10 15:18:25 +01:00
Veronica K. B. Olsen
37a80b747e Added sample project to pip script 2019-11-10 15:12:13 +01:00
Veronica K. B. Olsen
d8b159ff93 Bumped version and updated changelog 2019-11-10 15:05:54 +01:00
Veronica K. Berglyd Olsen
32ac757edc Merge pull request #138 from vkbo/cleanup_imports
Code Cleanup
2019-11-09 21:07:54 +01:00
Veronica K. B. Olsen
154e91ede8 Remove unused imports 2019-11-09 21:01:43 +01:00
Veronica K. Berglyd Olsen
b778cab875 Merge pull request #137 from vkbo/zen_mode
Zen mode
2019-11-09 15:00:51 +01:00
Veronica K. B. Olsen
6eff01504a Added keyboard shortcuts to documentation 2019-11-09 14:42:09 +01:00
Veronica K. B. Olsen
0db96bc1b2 Fixed test 2019-11-09 14:39:52 +01:00
Veronica K. B. Olsen
be2f812945 Fix a few minor issues related to opening and resizing of window panes 2019-11-09 14:34:02 +01:00
Veronica K. B. Olsen
fab20c6c26 Added a separate text width parameter for zen mode 2019-11-09 14:24:59 +01:00
Veronica K. B. Olsen
8a30f8a98e That didn't work, trying a better approach to save full screen state 2019-11-09 14:11:03 +01:00
Veronica K. B. Olsen
90613b857b Finished the zen mode functionality, and added full screen F11 shortcut 2019-11-09 13:52:08 +01:00
Veronica K. B. Olsen
fedcf247e0 Let's label it 'distraction free mode' instead 2019-11-09 12:22:36 +01:00
Veronica K. B. Olsen
9c239f77dc Don't save splitter positions if exiting when in zen mode 2019-11-09 12:17:42 +01:00
Veronica K. B. Olsen
472205f1a6 Added menu entry and function for Zen mode, and cleaned up editor resizing 2019-11-09 01:19:17 +01:00
Veronica K. Berglyd Olsen
ee34e0e395 Merge pull request #136 from vkbo/language_status
Language Info on Status Bar
2019-11-08 20:43:41 +01:00
Veronica K. B. Olsen
f01c2f9dee Updated icon and font for session timer, and added language info for status bar 2019-11-08 19:56:38 +01:00
Veronica K. B. Olsen
7fcd0731bf Added a function to create a readable spell language string for the status bar 2019-11-08 19:56:08 +01:00
Veronica K. B. Olsen
79aa33da94 Added more GUi icons 2019-11-08 19:55:29 +01:00
Veronica K. B. Olsen
3df6a519af Fix merge conflicts 2019-11-08 19:09:29 +01:00
Veronica K. Berglyd Olsen
86d55f917d Merge pull request #135 from vkbo/assets_themes
Assets and Themes
2019-11-08 19:07:51 +01:00
Veronica K. B. Olsen
7e9b80ea12 Add dark icons checkbox to preferences 2019-11-08 19:04:10 +01:00
Veronica K. B. Olsen
ae0399d298 Add a separate class to handle icons 2019-11-08 18:49:20 +01:00
Veronica K. B. Olsen
7b3d42918d Move around icons and add an icons folder to assets 2019-11-08 18:48:56 +01:00
Veronica K. B. Olsen
69bfb4a209 Moved theme class to gui folder 2019-11-08 15:41:24 +01:00
Veronica K. B. Olsen
e7561cb3e3 Some updates to the theme class 2019-11-08 14:04:30 +01:00
Veronica K. B. Olsen
2c4c711a43 Moved graphics and themes folders to assets 2019-11-08 13:40:07 +01:00
Veronica K. B. Olsen
aef6b339e1 Minor changes to statusbar layout 2019-11-08 13:38:08 +01:00
Veronica K. Berglyd Olsen
a7da476c9e Merge pull request #130 from vkbo/difflib_spelling
Simple Spell Check
2019-11-08 09:08:18 +01:00
Veronica K. B. Olsen
441ea517c8 Fixed test 2019-11-08 00:29:38 +01:00
Veronica K. B. Olsen
1a423fce60 Merge branch 'master' into difflib_spelling 2019-11-08 00:27:34 +01:00
Veronica K. Berglyd Olsen
76512ba454 Merge pull request #132 from vkbo/sample_update
Sample Project Cleanup
2019-11-07 22:37:36 +01:00
Veronica K. B. Olsen
a4473b4a3f Update the sample project to reflect current usage and have explanatory files in them 2019-11-07 22:05:57 +01:00
Veronica K. B. Olsen
f4accab93f Spell checking tools and project word lists now cooperate 2019-11-07 22:05:03 +01:00
Veronica K. B. Olsen
f2265abf32 Finished the GUI option for spell check provider 2019-11-07 20:00:19 +01:00
Veronica K. B. Olsen
334903daa9 Added combo box for spell tools 2019-11-06 20:47:35 +01:00
Veronica K. B. Olsen
f5af3fb293 Cleaned up initialisation and config settings for spell checking 2019-11-06 11:45:17 +01:00
Veronica K. B. Olsen
9a8b97abd6 Fixed listing of internal dictionaries 2019-11-06 00:03:45 +01:00
Veronica K. B. Olsen
cf1083caeb Updated english dictionaries to 2019-10-06 version 2019-11-05 23:46:05 +01:00
Veronica K. B. Olsen
d5d58804e1 Added copyright notice for aspell dictionaries 2019-11-05 23:30:35 +01:00
Veronica K. B. Olsen
60afb1f7ee Added en, en_GB and en_US dctionaries 2019-11-05 23:23:19 +01:00
Veronica K. B. Olsen
b4dd1d1a9e Added simple spell chacking using difflib 2019-11-05 23:22:53 +01:00
Veronica K. Berglyd Olsen
d61e7a6ae6 Merge pull request #129 from vkbo/language_codes
Language Codes
2019-11-05 19:02:55 +01:00
Veronica K. B. Olsen
1aae09463d Fixed code typo 2019-11-05 18:29:44 +01:00
Veronica K. B. Olsen
526edc9902 Remove duplicate dictionary entries 2019-11-05 18:26:30 +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. Berglyd Olsen
993339c96c Merge pull request #126 from vkbo/tweaks
GUI Tweaks
2019-11-05 15:52:32 +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
28d347c848 Some keyboard shortcut tweaks for macOS 2019-11-05 10:38:44 +01:00
Veronica K. B. Olsen
9b48c07e0b Added max length for more user defined string values 2019-11-04 00:12:43 +01:00
Veronica K. B. Olsen
20944367ad Set a maximum label name length of 200 characters 2019-11-03 23:42:43 +01:00
Veronica K. Berglyd Olsen
8cdcd07846 Merge pull request #122 from vkbo/details_panel_max_size
Fix growing tree details panel on long labels
2019-11-03 23:20:57 +01:00
Veronica K. B. Olsen
ae89cbd7ad Fix growing tree details panel on long labels 2019-11-03 23:14:31 +01:00
Veronica K. Berglyd Olsen
9f92c0e80c Merge pull request #119 from vkbo/tweaks
Code Cleanup: Imports
2019-11-03 20:28:16 +01:00
Veronica K. Berglyd Olsen
a3dbf4e185 Merge branch 'master' into tweaks 2019-11-03 19:54:06 +01:00
Veronica K. B. Olsen
b8fd08f339 Cleaned up some minor bits in GuiMain 2019-11-03 19:53:08 +01:00
Veronica K. B. Olsen
0971e43475 Cleaned up some minor bits in GuiMain 2019-11-03 19:51:32 +01:00
Veronica K. B. Olsen
62988df7d2 Clean up imports 2019-11-03 19:44:58 +01:00
Veronica K. Berglyd Olsen
fd97b741b4 Merge pull request #118 from vkbo/tweaks
Code Tweaks
2019-11-03 18:15:08 +01:00
Veronica K. B. Olsen
be7b69dc9a Updated style file 2019-11-03 18:06:24 +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
be78fd201e Added a coding style guide 2019-11-03 15:55:37 +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
5e79ec40f2 Remove milliseconds from debug verbose logging 2019-11-03 15:09:29 +01:00
Veronica K. B. Olsen
55b0e1d817 The two executables generated for pip should be novelWriter-cli and novelWriter 2019-11-03 15:06:51 +01:00
650 changed files with 456034 additions and 13163 deletions

12
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
# These are supported funding model platforms
# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
# patreon: # Replace with a single Patreon username
# open_collective: # Replace with a single Open Collective username
ko_fi: jadzia626
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
# liberapay: # Replace with a single Liberapay username
# issuehunt: # Replace with a single IssueHunt username
# otechie: # Replace with a single Otechie username
# custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

16
.github/ISSUE_TEMPLATE/bug-report.md vendored Normal file
View File

@@ -0,0 +1,16 @@
---
name: Bug Report
about: Create a report to help us improve
title: ""
labels: bug
---
**Note**: Issues without a description will not be considered.
Please also check if an issue already exists on this problem.
Please provide a description covering the following points, if applicable:
* A clear and concise description of what the bug is.
* Steps to reproduce the behaviour
* A clear and concise description of what you expected to happen.
* If applicable, add screenshots to help explain your problem.
* If the error dialog popped up, copy/paste the content here.

View File

@@ -0,0 +1,15 @@
---
name: Feature Request
about: Suggest an idea for this project
title: ""
labels: enhancement
---
**Note**: Feature requests without a description will not be considered.
Please also check if an issue already exists on this feature.
Please provide a description covering the following points, if applicable:
* A clear and concise description of what the problem is. Ex. I'm always frustrated when ...
* A clear and concise description of what you want to happen.
* A clear and concise description of any alternative solutions or features you've considered.
* If applicable, add screenshots to help explain your request.

29
.github/workflows/syntax.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: flake8
on:
push:
branches: [ main, testing, dev ]
pull_request:
branches: [ main, testing, dev ]
jobs:
checkSyntax:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v2
with:
python-version: 3
architecture: x64
- name: Checkout Source
uses: actions/checkout@v2
- name: Install flake8
run: pip install flake8
- name: Syntax Error Check
run: |
flake8 nw --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 tests --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Coding Style Violations
run: |
flake8 nw --count --max-line-length=99 --ignore E203,E221,E226,E228,E241,E251,E261,E266,E302,E305 --show-source --statistics
flake8 tests --count --max-line-length=99 --ignore E203,E221,E226,E228,E241,E251,E261,E266,E302,E305 --show-source --statistics

42
.github/workflows/test_linux.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: Linux
on:
push:
branches: [ main, testing, dev ]
pull_request:
branches: [ main, testing, dev ]
jobs:
testLinux:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install Packages (apt)
run: |
sudo apt update
sudo apt install libenchant-dev qt5-default qttools5-dev-tools
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies (pip)
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install pytest-timeout
pip install pytest-cov
pip install pytest-qt
pip install codecov
- name: Run Build Commands
run: python setup.py qtlrelease sample
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
pytest -v --cov=nw --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1

37
.github/workflows/test_mac.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: macOS
on:
push:
branches: [ main, testing, dev ]
pull_request:
branches: [ main, testing, dev ]
jobs:
testMac:
runs-on: macos-latest
steps:
- name: Python Setup
uses: actions/setup-python@v2
with:
python-version: 3.9
architecture: x64
- name: Install Packages
run: |
brew install enchant
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install pyobjc
pip install pytest-timeout
pip install pytest-cov
pip install pytest-qt
pip install codecov
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
pytest -v --cov=nw --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1

32
.github/workflows/test_win.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: Windows
on:
push:
branches: [ main, testing, dev ]
pull_request:
branches: [ main, testing, dev ]
jobs:
testWin:
runs-on: windows-latest
steps:
- name: Python Setup
uses: actions/setup-python@v2
with:
python-version: 3.9
architecture: x64
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install pytest-timeout
pip install pytest-cov
pip install pytest-qt
pip install codecov
- name: Run Tests
run: |
pytest -v --cov=nw --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1

50
.gitignore vendored
View File

@@ -1,28 +1,50 @@
# Setup/Install
MANIFEST
dist/
build/
deploy/
/MANIFEST
/dist/
/build/
/deploy/
*.spec
*.egg-info
setup.iss
novelwriter.desktop
novelWriter.pyw
# Translations
/nw/assets/i18n/*.qm
.qmake.stash
i18n/*.qm
i18n/*.qph
# Documentation
docs/build/
/docs/build/
*.qch
*.qhc
# Python Temp
__pycache__
*.pyc
# Sample Project
sample/**/cache
sample/**/wordlist.txt
sample/**/sessionInfo.log
sample/**/*.bak
sample/**/*.json
/nw/assets/sample.zip
/sample/cache
/sample/meta
/sample/versions
*.bak
*.lock
ToC.txt
# PyTest
tests/temp
.pytest_cache
pytestdebug.log
/prof/
/htmlcov/
/tests/temp
/tests/lipsum/cache
/tests/lipsum/meta
/tests/minimal/cache
/tests/minimal/meta
/tests/oldproj/cache
/.pytest_cache
/pytestdebug.log
# Coverage
.coverage
/.coverage
/coverage.*

25
.readthedocs.yml Normal file
View File

@@ -0,0 +1,25 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml
# Optionally build your docs in additional formats such as PDF
formats:
- htmlzip
- epub
- pdf
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/source/requirements.txt

View File

@@ -1,30 +0,0 @@
os: linux
dist: xenial
services:
- xvfb
language: python
cache: bundler
sudo: required
addons:
apt:
packages:
- libenchant-dev
- python3-pyqt5
- python3-pyqt5.qtsvg
python:
- "3.5"
- "3.7"
install:
- pip install -r requirements.txt
# - pip install pytest-faulthandler
- pip install pytest-xvfb
- pip install pytest-cov
- pip install pytest-qt
- pip install codecov
script:
- python -m pytest --cov=nw -m "project|core|gui" -v
after_success:
- codecov
after_failure:
- cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes

File diff suppressed because it is too large Load Diff

76
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project leader at issues (at) novelwriter.io. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq

143
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,143 @@
# Contributing Guide
When contributing to this repository, please first discuss the change you wish to make via the
issue tracker or the discussions page with the owner of this repository before making a change. If
you just want to make a minor correction, like fix a typo or similar, feel free to just make a pull
request directly.
## Branching Structure
There are three protected branches on this repository. They are used in the following way:
* `main` – This is the Stable branch. It is used for releases and subsequent patches. No
development code should be merged into this branch starting from version 1.0.
* `dev` – This is the Unstable (development) branch. It is where new features are merged, and where
pre-releases are taken from.
* `testing` – This is the Testing branch. It is populated from the `dev` branch for pre-releases
that need a longer testing phase.
Stable releases and patches will be tagged in the `main` branch, pre-releases may be tagged from
either `testing` or `dev` branch.
### What Branch to Use for Contributions
* If your contribution is a fix for the latest stable release, branch from the `main` branch.
* If your contribution is a fix for the latest testing release, branch from the `testing` branch.
* If your contribution is a new feature, branch from the `dev` branch.
## Pull Request Process
1. Make sure your code passes all tests and conforms to the style guide. You can check that the
code conforms by running `flake8` from the root of the project folder.
2. Please provide a complete description of the changes in the pull request, and a summary that can
be copied into the [CHANGELOG](CHANGELOG.md). Remember to reference any issue related by
providing the issue number.
3. Do not change the version number. Version numbers are bumped in separate release pull requests
by the maintainer.
## Code of Conduct
There is a code of conduct. Please follow it in all your interactions with the project.
### Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers
pledge to making participation in our project and our community a harassment-free experience for
everyone, regardless of age, body size, disability, ethnicity, gender identity and expression,
level of experience, nationality, personal appearance, race, religion, or sexual identity and
orientation.
Please see the [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) file for the full text.
## Code Style Guide
The source code of novelWriter broadly follows the [PEP8](https://www.python.org/dev/peps/pep-0008)
style guide, but with a few modifications and exceptions listed below.
### Line Length
For this project, source lines should stay within the 79 and 99 character limits described by PEP8.
79 characters is often too restrictive, so 99 character lines are acceptable when that is more
practical. Readability has priority. Generally, if a code statement requires multiple lines, the
lines should wrap at 79 characters, not 99. If wrapping can be avoided by going to 99, then that is
generally preferrable.
For text files, the text should also be wrapped at 99 character. The exception is markdown image
tags and urls.
Please do not submit pull requests that re-wrap existing source or text unless this has been
discussed beforehand.
### Linting with `flake8`
An excellent tool for checking Python code for errors and coding style is `flake8`. The
documentation is available [here](https://flake8.pycqa.org/en/latest/).
The `setup.cfg` file in the root of this project has the following settings for `flake8` that
matches the coding standard:
```conf
[flake8]
ignore = E203,E221,E226,E228,E241,E251,E261,E266,E302,E305
max-line-length = 99
exclude = docs/*
```
The command line equivalent, with reporting, is:
```bash
flake8 . --count --ignore E203,E221,E226,E228,E241,E251,E261,E266,E302,E305 --max-line-length=99 --show-source --statistics
```
Passing this check is required before contributions are merged into the `main` branch. This is
checked automatically when you make a pull request. You can run the `flake8` command locally to
check beforehand. The full command will give you a detailed description of the code lines that do
not conform to the standard.
## Ignored Errors
Some `flake8` error codes are ignored for this project for various reasons. The source also uses
camelCase function and variable names. This is the standard for the Qt libraries novelWriter
integrates with. It also happens to be the author's personal preferences.
The reason behind the other ignored error codes are listed below. Many of them are due to PEP8 not
permitting column alignment as opposed to many other coding styles, like for instance for Go. I
find them useful in regions of bulk value assignments. There's a reason why tables are more
readable than lists. They should be used sparingly though.
The ignored errors are all `pycodestyle` errors, and they are documented
[here](https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes).
**E203:** whitespace before ‘:’
**Reason:** Column alignment.
**E221:** multiple spaces before operator
**Reason:** Column alignment.
**E226:** missing whitespace around arithmetic operator
**Reason:** This doesn't actually follow the PEP8 recommendation of grouping longer equations by
operator precedence like `2*a + 3*b` instead of `a * a + 3 * b`. Generally, don't use spaces around
`*`, `/` and `**`, but _do_ use spaces around `+` and `-`. For appending strings, the spaces can be
dropped. Don't use the `+` operator for appending multiple strings. Use formatting instead.
**E228** missing whitespace around modulo operator
**Reason:** See reason for E226. Formatting `%` like `/` and `*` should be possible.
**E241:** multiple spaces after ‘,’
**Reason:** Column alignment.
**E251:** unexpected spaces around keyword / parameter equals
**Reason:** Column alignment.
**E261:** at least two spaces before inline comment
**Reason:** With syntax highlighting, this one doesn't make much sense.
**E266:** too many leading ‘#’ for block comment
**Reason:** In the source multiple `#`s is sometimes used to indicate importance or heading level,
like markdown headers.
**E302:** expected 2 blank lines, found 0
**Reason:** Applies to classes. Instead, end classes with a comment like `# END Class ClassName` to
make it easier to see which class just ended. The double line break is then redundant.
**E305:** expected 2 blank lines after end of function or class
**Reason:** Instead, _always_ end a function with a `return`, preferably indented at function
level. The end of the function is then clear.

View File

@@ -1,3 +1,6 @@
include setup.py
include LICENSE.md
recursive-include nw/graphics *
recursive-include nw/themes *
include CHANGELOG.md
recursive-include setup *
recursive-include nw/assets *
recursive-include sample *.nwx *.nwd

306
README.md
View File

@@ -1,138 +1,230 @@
# novelWriter
[![Build Status](https://travis-ci.com/vkbo/novelWriter.svg?branch=master)](https://travis-ci.com/vkbo/novelWriter)
[![codecov](https://codecov.io/gh/vkbo/novelWriter/branch/master/graph/badge.svg)](https://codecov.io/gh/vkbo/novelWriter)
[![Documentation Status](https://readthedocs.org/projects/novelwriter/badge/?version=latest)](https://novelwriter.readthedocs.io/en/latest/?badge=latest)
[![Linux](https://github.com/vkbo/novelWriter/actions/workflows/test_linux.yml/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions/workflows/test_linux.yml)
[![Windows](https://github.com/vkbo/novelWriter/actions/workflows/test_win.yml/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions/workflows/test_win.yml)
[![macOS](https://github.com/vkbo/novelWriter/actions/workflows/test_mac.yml/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions/workflows/test_mac.yml)
[![flake8](https://github.com/vkbo/novelWriter/workflows/flake8/badge.svg)](https://github.com/vkbo/novelWriter/actions)
[![codecov](https://codecov.io/gh/vkbo/novelWriter/branch/main/graph/badge.svg)](https://codecov.io/gh/vkbo/novelWriter)
[![docs](https://readthedocs.org/projects/novelwriter/badge/?version=latest)](https://novelwriter.readthedocs.io/en/latest/?badge=latest)
[![release](https://img.shields.io/github/v/release/vkbo/novelwriter)](https://github.com/vkbo/novelWriter/releases)
[![pypi](https://img.shields.io/pypi/v/novelwriter)](https://pypi.org/project/novelWriter)
[![python](https://img.shields.io/pypi/pyversions/novelwriter)](https://pypi.org/project/novelWriter)
novelWriter is a markdown-like text editor designed fro writing novels and larger projects of many smaller plain text documents.
<img align="left" style="margin: 0 16px 4px 0;" src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/icons/scaled/icon-novelwriter-96.png">
The documentation is available here: [novelwriter.readthedocs.io](https://novelwriter.readthedocs.io/).
novelWriter is a plain text editor designed for writing novels assembled from many smaller text
documents. It uses a minimal formatting syntax inspired by Markdown, and adds a meta data syntax
for comments, synopsis, and cross-referencing. It's designed to be a simple text editor that allows
for easy organisation of text and notes, using human readable text files as storage for robustness.
### Note
The project storage is suitable for version control software, and also well suited for file
synchronisation tools. All text is saved as plain text files with a meta data header. The core
project structure is stored in a single project XML file. Other meta data is primarily saved as
JSON files.
The application is under initial development, and not all planned features are included.
The core functionality is, however, in place and has been used for a while by the author and collaborators.
New features are being added regularly, until the core toolset is complete.
When all planned initial features are in place, a release 1.0 will be made.
Until then, novelWriter is in a pre-release alpha state, and should be considered experimental.
If you do use it for real projects, please run backups frequently to avoid data losses.
There is a built in backup feature that can pack the entire project into a zip file on close.
Please check the documentation for further details.
The full documentation is available on [readthedocs.io](https://novelwriter.readthedocs.io).
## Implementation
The application is written in Python3 using Qt5 via PyQt5.
It is developed on Linux, but it should in principle work fine on other operating systems as well as long as dependencies are met.
The application is written in Python 3 (3.6+) using Qt5 and PyQt5 (5.3+). It is developed on Linux,
but should in principle work fine on other operating systems as well as long as dependencies are
met. It is regularly tested on Debian and Ubuntu Linux, Windows, and macOS.
The application can be started from the source folder with the command:
```
./novelWriter.py
```
## Project Contributions
It also takes a few parameters for debugging and such, which can be listed with the switch `--help`.
The project isn't taking feature contributions at the moment. If you have an idea, please make a
feature request in the issue tracker. Fixes and patches are welcome. So are new translations.
Contributions related to packaging and installing novelWriter will also be appreciated.
There are no launcher icons yet.
Consult your operating system documentation for how to make those.
These will be added at some point, and I would appreciate any assistance from people working on Windows and MacOS as I don't use either of those operating systems.
If you want to help translating novelWriter into another language, please see the
[README](https://github.com/vkbo/novelWriter/blob/main/i18n/README.md) in the `nw/assets/i18n`
folder for further details.
## Dependencies
For the apt package manager on Debian systems, the following Python3 packages are needed:
* `python3-pyqt5` for the GUI
* `python3-pyqt5.qtsvg` may need to be installed separately
* `python3-appdirs` for locating the system's config folder
* `python3-lxml` for writing project files
These are optional, but recommended:
* `python3-enchant` for spell checking
* `python3-pycountry` for translating language codes to language names
* `python3-latexcodec` for escaping unicode characters in LaTeX export
* `python3-pandoc` for additional exports to Word, Open Office, eBooks, etc.
Alternatively, the packages can be installed with `pip` by running
```
python3 -m pip install -r requirements.txt
```
in the application folder.
You can also do them one at a time, skipping the ones you don't need:
```
python3 -m pip install pyqt5
python3 -m pip install appdirs
python3 -m pip install lxml
python3 -m pip install pyenchant
python3 -m pip install pycountry
python3 -m pip install latexcodec
python3 -m pip install pypandoc
```
On Windows,`pyenchant` may cause problems.
I'm looking for a good alternative for spell checking.
Note: On Windows, make sure Python3 is in your PATH if you want to launch novelWriter from command line.
You can also right click the `novelWriter.py` file, create a shortcut, then right click again, select "Properties" and change the target to your python executable and `novelWriter.py`.
It should look something like this:
```
C:\...\AppData\Local\Programs\Python\Python38\python.exe novelWriter.py
```
Before contributing any code, please read the full
[Contributing Guide](https://github.com/vkbo/novelWriter/blob/main/CONTRIBUTING.md).
## Key Features
The text documents of novelWriter uses a format similar to markdown, but with a few extensions and a few omissions.
Project meta data is stored as XML.
Some key features of novelWriter are listed below. Consult the
[documentation](https://novelwriter.readthedocs.io) for more information.
### Markdown Flavour
Note that novelWriter is _not_ a proper Markdown editor. It is a plain text editor that uses
Markdown-like syntax to allow for a minimal set of formatting that is useful for the specific task
of writing novels. The formatting is currently limited to:
* Headings levels 1 to 4 using the `#` syntax only.
* Emphasised and strongly emphasised text. These are rendered as italicised and bold text.
* Strikethrough text.
* Hard line breaks using two or more spaces at the end of a line.
That is it. Features not supported in the editor are also not exported when using the export tool.
In addition, novelWriter adds the following syntax used for its additional features:
* A line starting with `%` is treated as a comment and not rendered on exports unless requested.
Comments do not count towards word counts and other statistics.
* If the first word of the comment is `synopsis:`, the comment is indexed and treated as the
synopsis for the section of text where it occurs. These synopsis comments can be used to build an
outline and exported to external documents.
* A set of meta data keyword/values starting with the character `@`. These are used for tagging
and inter-linking documents, and can also be included when generating a project outline.
* A variety of thin and non-breaking spaces are supported. Some of them depend on the system
running at least Qt 5.9. Earlier versions of Qt will unfortunately strip them out when saving.
* Tabs can be used in the text, and should be properly aligned in both editor and viewer. This can
be used to make simple tables and lists. Note that for HTML exports, most browsers will treat a
tab as a space, so it may not show up like expected. Open Document exports should produce the
expected result.
The core export formats of novelWriter are Open Document and HTML5. Open Document is an open
standard for office type documents that is supported by most office applications. See
[Open Document > Application Support](https://en.wikipedia.org/wiki/OpenDocument#Application_support)
for more details.
You can also export the entire project as a single novelWriter-flavour document. These can later be
imported again into novelWriter. In addition, printing and export to PDF is offered through the Qt
library, although with limitations to formatting.
### Colour Themes
The editor has syntax highlighting for the features it supports, and includes a set of different syntax highlighting themes.
The GUI also has an optional dark theme in addition to the default system theme.
Note that the dark theme may not render all elements of the GUI as dark colours if you are running an early version of Qt5.
This is not due to a bug in novelWriter, but due to the fact that the the styling options in the Qt API in some versions were incomplete.
New themes can easily be added to the `nw/themes` folder.
Have a look in the existing folders for examples of how to define the colours.
### Auto-Saving and Document Stats
Open documents and the project file itself is saved regularly on a timer if they have been altered.
The status of this is indicated by two indicators in the right corner of the status bar.
Unsaved changes are in yellow, and saved is indicated by green.
Latest character count, word count, and paragraph count is shown next to these indicators in the status bar.
The counts are updated regularly, but not as-you-type.
The editor has syntax highlighting for the features it supports, and includes a set of different
syntax highlighting themes. Optional GUI themes are also available, including dark themes.
### Easy Organising of Project Files
The structure of the project is shown on the left hand side of the main GUI.
Project files are organised into root folders, indicating what class of file they are.
The most important root folder is the Novel folder, which contains all of the files that makes up the finished novel.
Each root folder can have subfolders.
Folders have no impact on the project structure, they are purely tools for organising the files in whatever way the user needs.
The structure of the project is shown on the left hand side of the main window. Project files are
organised into root folders, indicating what class of file they are. The most important root folder
is the `Novel` folder, which contains all of the files that make up the novel itself. Each root
folder can have subfolders. Subfolders have no impact on the final project structure, they are
there for you to organise your files in whatever way you want.
The editor supports four levels of headings, which determines what level the following text belongs to.
Headings of level one signify a book or partition title.
Headings of level two signify the start of a new chapter.
Headings of level three signify the start of a new scene.
Headings of level four can be used internally in each scene to separate sections.
The editor supports four levels of headings, which determine what level the following text belongs
to. Headings of level one signify a book or partition title. Headings of level two signify the
start of a new chapter. Headings of level three signify the start of a new scene. Headings of level
four can be used internally in each scene to create separate sections.
Each novel file can be assigned a layout format, which shows up as a flag next to the item in the tree view.
These are mostly to help the user see what they contain, but some of them have impact on the format of the exported document.
See the documentation for further details.
Each novel file can be assigned a layout format, which shows up as a flag next to the item in the
project tree. These are mostly to help the user track what they contain, but they also have some
impact on the format of the exported document. See the
[documentation](https://novelwriter.readthedocs.io) for further details.
#### Project Notes
### Project Notes
Supporting note files can be added for the story plot, characters, locations, story timeline, etc.
These have their separate root folders.
These are optional files.
Supporting notes can be added for the story plot, characters, locations, story timeline, etc. These
have their separate root folders and are optional to use.
### Visualisation of Story Elements
The different notes can be assigned tags, which the novel files can refer back to using special meta keywords.
Currently, this information can be used to display a Timeline View of the story, showing where each scene connects to the plot, and which characters, etc. occur in them.
Further features using this meta data will be added in the future.
The different notes can be assigned tags, which other files can refer back to using `@`-prefixed
meta keywords. This information can be used to display an outline of the story, showing where each
scene connects to the plot, and which characters, etc. occur in them. In addition, the tags
themselves are clickable in the document view pane, and control-clickable in the editor. They make
it possible to quickly navigate between the documents while writing.
## Screenshot
## Standard Installation
![Screenshot 1](docs/source/images/screenshot.png)
For a regular installation, it is recommended that you download one of the minimal zip files from
the [Releases](https://github.com/vkbo/novelWriter/releases) page or the
[novelwriter.io](https://novelwriter.io/) website.
The [documentation](https://novelwriter.readthedocs.io/) has detailed install instructions for
[Linux](https://novelwriter.readthedocs.io/en/latest/setup_linux.html),
[Windows](https://novelwriter.readthedocs.io/en/latest/setup_windows.html), and
[macOS](https://novelwriter.readthedocs.io/en/latest/setup_mac.html).
They are pretty straightforward.
## Running from Source
If you want to run novelWriter directly from the source code, you must run the `novelWriter.py`
file from command line.
**Note:** You may need to replace `python` with `python3` and `pip` with `pip3` in the instructions
below on some systems. You may also want to add the `--user` flag for `pip` to install in your user
space only.
### Dependencies
Dependencies can generally be installed from PyPi with:
```bash
pip install -r requirements.txt
```
### Additional Steps for Linux
On Linux, you can most likely find the dependencies in your distribution's repository. On Ubuntu
and Debian, run:
```bash
sudo apt install python3-pyqt5 python3-lxml python3-enchant
```
If you want to set up a launcher and icons on Linux, you can run:
```bash
python setup.py xdg-install
```
### Additional Steps for macOS
First, make sure you have properly set up Python3 with Homebrew. If not, check their
[documentation](https://docs.brew.sh/Homebrew-and-Python).
In addition, the following steps are necessary to install all dependencies:
```bash
brew install enchant
pip3 install --user -r requirements.txt
pip3 install --user pyobjc
```
### Additional Steps for Windows
Windows does not by default come with Python installed. If you haven't installed it already, get it
from [python.org/downloads](https://www.python.org/downloads/). Remember to select "Add Python to
PATH" during the installation.
The script `windows_install.bat` in the `setup` folder can be used to create desktop and start menu
icons for novelWriter. The script will also install dependencies for you from PyPi.
## Internationalisation
If you install from source, you must build the translation files yourself if you want to switch to
a different GUI language than British English. This requires that you have the Qt translation
framework installed. Check the specific instruction in the README in the `i18n` source folder for
how to build the translation files.
## Debugging
If you need to debug novelWriter, you must run it from the command line. It takes a few parameters,
which can be listed with the switch `--help`. The `--info`, `--debug` or `--verbose` flags are
particularly useful for increasing logging output for debugging.
## Licenses
This is Open Source software, and novelWriter is licensed under GPLv3. See the
[GNU General Public License website](https://www.gnu.org/licenses/gpl-3.0.en.html) for more
details, or consult the [LICENSE](https://github.com/vkbo/novelWriter/blob/main/LICENSE.md) file.
Bundled assets have the following licenses:
* The Typicons-based icon themes by Stephen Hutchings are licensed under
[CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/). The icons have been altered in
size and colour for use with novelWriter, and some additional icons added. The original icon set
is available at
[stephenhutchings/typicons.font](https://github.com/stephenhutchings/typicons.font).
* The Cantarell font by Dave Crossland is licensed under
[OPEN FONT LICENSE Version 1.1](http://scripts.sil.org/OFL).
It is available at [Google Fonts](https://fonts.google.com/specimen/Cantarell).
* The Tomorrow syntax themes use colour schemes taken from Chris Kempson's collection of code
editor themes, licensed with the
[MIT License](https://github.com/chriskempson/tomorrow-theme/blob/master/LICENSE.md),
and the main repo is available at
[chriskempson/tomorrow-theme](https://github.com/chriskempson/tomorrow-theme).
* Likewise, the Owl syntax themes use colours from Sarah Drasner's code editor themes, licensed
with the [MIT License](https://github.com/sdras/night-owl-vscode-theme/blob/master/LICENSE), and
the main repo is available at
[sdras/night-owl-vscode-theme](https://github.com/sdras/night-owl-vscode-theme).
## Screenshots
**novelWriter with default system theme:**
![Screenshot 1](https://raw.githubusercontent.com/vkbo/novelWriter/main/docs/source/images/screenshot_default.png)
**novelWriter with dark theme:**
![Screenshot 2](https://raw.githubusercontent.com/vkbo/novelWriter/main/docs/source/images/screenshot_dark.png)

View File

@@ -3,12 +3,14 @@ codecov:
coverage:
precision: 2
round: down
range: "70...100"
round: nearest
range: "70...95"
status:
project: yes
patch: yes
project:
default:
threshold: 1%
patch: no
changes: no
parsers:
@@ -18,5 +20,3 @@ parsers:
loop: yes
method: no
macro: no
comment: false

View File

@@ -0,0 +1,27 @@
/*
* Custom CSS Rules for Sphinx RTD Theme
*/
.kbd {
background-color: #eeeeee;
border: 1px solid #b4b4b4;
border-radius: 3px;
color: #333333;
display: inline-block;
font-size: 0.85em;
font-weight: 400;
line-height: 1;
padding: 2px 4px;
margin-left: 1px;
margin-right: 1px;
white-space: nowrap;
}
.tight-table td {
white-space: normal !important;
vertical-align: text-top;
}
pre span.go {
color: #333333 !important;
}

View File

@@ -12,97 +12,71 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath("."))
import os
import time
import sphinx_rtd_theme # noqa: F401
# -- Project information -----------------------------------------------------
project = "novelWriter"
copyright = "2018-2019, Veronica Berglyd Olsen"
copyright = "2018–2021, Veronica Berglyd Olsen"
author = "Veronica Berglyd Olsen"
# The short X.Y version
version = "0.4.0"
version = "1.3.2"
# The full version, including alpha/beta/rc tags
release = "0.4.0"
release = "1.3.2"
# -- General configuration ---------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
os.environ["TZ"] = "Europe/Oslo"
time.tzset()
# needs_sphinx = "1.0"
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named "sphinx.ext.*") or your custom
# ones.
extensions = [
"sphinx_rtd_theme",
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = [".rst", ".md"]
source_suffix = ".txt"
# The master toctree document.
source_suffix = ".rst"
master_doc = "index"
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
today_fmt = "%A, %d %B %Y at %H:%M"
language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "default"
html_theme = "sphinx_rtd_theme"
html_logo = "images/novelwriter.png"
html_theme_options = {
# Toc options
"collapse_navigation": True,
"sticky_navigation": True,
"navigation_depth": 3,
"includehidden": True,
"titles_only": False,
"logo_only": True,
}
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_css_files = [
"css/custom.css",
]
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#
# The default sidebars (for documents that don"t match any pattern) are
# defined by theme itself. Builtin themes are using these templates by
# default: ``["localtoc.html", "relations.html", "sourcelink.html",
# "searchbox.html"]``.
#
# html_sidebars = {}
# -- Options for HTMLHelp output ---------------------------------------------
# Output file base name for HTML help builder.
htmlhelp_basename = "novelWriterdoc"
htmlhelp_basename = "novelWriterDoc"
# -- Options for LaTeX output ------------------------------------------------
@@ -127,33 +101,28 @@ latex_elements = {
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, "novelWriter.tex", "novelWriter Documentation",
"Veronica Berglyd Olsen", "manual"),
]
latex_documents = [(
master_doc, "novelWriter.tex", "novelWriter Documentation",
author, "manual"
)]
# -- Options for manual page output ------------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, "novelwriter", "novelWriter Documentation",
[author], 1)
]
man_pages = [(
master_doc, "novelwriter", "novelWriter Documentation", [author], 1
)]
# -- Options for Texinfo output ----------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, "novelWriter", "novelWriter Documentation",
author, "novelWriter", "Markdown-like editor for novels.",
"Miscellaneous"),
]
texinfo_documents = [(
master_doc, "novelWriter", "novelWriter Documentation", author,
"novelWriter", "Markdown-like editor for novels.", "Miscellaneous"
)]
# -- Options for Epub output -------------------------------------------------
@@ -162,11 +131,9 @@ epub_title = project
# The unique identifier of the text. This can be a ISBN number
# or the project homepage.
#
# epub_identifier = ""
# A unique identification for the text.
#
# epub_uid = ""
# A list of files that should not be packed into the epub file.

View File

@@ -1,91 +0,0 @@
##################
Exporting Projects
##################
The novelWriter project can be exported in various formats using the export tool available from :menuselection:`Project --> Export Project` or by pressing :kbd:`F5`.
**************
File Selection
**************
Which files are selected for export can be controlled from the "Selection" section.
The check box for "Novel files" will select any file that isn't classified as a note.
This is useful when exporting a document containing the novel itself.
It is also possible to select the "Note files" for export, with or without the "Novel files".
Comments can also optionally be included in the export for those formats that supports this.
**************
Export Formats
**************
Currently, five formats are supported for exporting.
novelWriter Markdown
====================
This is simply a concatenation of the files selected by the filters.
The files in the project are stacked together in the order they appear in the tree view, with comments, tags, etc. included.
This is a useful format for exporting the project for later import back into novelWriter.
Plain Text
==========
The plain text export format writes a simple ``.txt`` file without any formatting at all.
Word-wrapping to a fixed column width is supported.
It does, however, respect the centering of text if the :guilabel:`Fixed width` setting is larger than ``0``.
Markdown
========
The markdown export formats writes a file using the valid markdown formats used by novelWriter, and converts comments to preformatted blocks by indenting it with four spaces.
Word-wrapping to a fixed column width is supported.
HTML5 Document
==============
The html5 export format writes a single ``.htm`` file with a minimal style settings block.
The style setting block sets a maximum page width of ``768px``.
Comments are exported as indented text boxes with a light yellow background.
LaTeX Document
==============
The latex export formats generats a simple ``.tex`` file using a ``report`` document format.
All chapters and sections are exported as unnumbered, and the internal header numbering formatting of novelWriter is used instead.
Word-wrapping to a fixed column width in the LaTeX source is supported.
*****************
Header Formatting
*****************
The chapter, scene and section headers for novel files can receive some special treatment using the formats under :guilabel:`Chapter Headings` and :guilabel:`Other Headings`.
The chapters can either be of numbered or unnumbered type, the latter being suitable for prologues, epilogues, interludes, etc.
The headers can be generated using free text in combination with replace tags.
The tooltip will explain which tags are available for each heading type.
.. note::
Header formatting only applies to novel files.
Headings in note files will will be left as-is, but heading levels 1 through 4 are converted to the correct heading level in the respective output formats.
Numbered Chapters
=================
Numbered chapters can be automatically assigned a number from 1 and upwards.
The number is inserted in place of the ``%num%`` tag.
Alternatively, the number can be translated to a word by using the ``%numword%`` tag.
The word numbers feature is currently only supported in English, and works for the range from "One" to "Nine Hundred and Ninety-Nine".
Unnumbered Chapters
===================
Unnumbered chapters only support the ``%title%`` tag for auto-replacement.
Scenes and Sections
===================
Both scenes and sections support the ``%title%`` tag.
In addition, scenes behave differently than the other headings when the format does not contain any auto-replace tags.
If the text in the box is any static text, the heading formatter will treat it as a scene separator, and insert that text as centred text between scenes, and ignoring the first scene of a chapter if the chapter heading is not followed by any text.
Leaving these fields blank will disable any output of scene and section headers or separators to the exported file.

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 KiB

93
docs/source/index.rst Normal file
View File

@@ -0,0 +1,93 @@
#####################
novelWriter |release|
#####################
.. image:: https://github.com/vkbo/novelWriter/workflows/python%203.8/badge.svg?branch=main
:target: https://github.com/vkbo/novelWriter/actions
:alt: Python Tests
.. image:: https://codecov.io/gh/vkbo/novelWriter/branch/main/graph/badge.svg
:target: https://codecov.io/gh/vkbo/novelWriter
:alt: Code Coverage
.. image:: https://readthedocs.org/projects/novelwriter/badge/?version=latest
:target: https://novelwriter.readthedocs.io/en/latest/?badge=latest
:alt: Documentation
.. image:: https://img.shields.io/github/v/release/vkbo/novelwriter
:target: https://github.com/vkbo/novelWriter/releases
:alt: GitHub Release
.. image:: https://img.shields.io/pypi/v/novelwriter
:target: https://pypi.org/project/novelWriter/
:alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/novelwriter
:target: https://pypi.org/project/novelWriter/
:alt: Python Version
**Last Updated:** |today|
novelWriter is a markdown-like text editor designed for writing novels and larger projects of many
smaller plain text documents. It uses its own flavour of markdown that supports a meta data syntax
for comments, synopsis and cross-referencing between documents. The idea is to have a simple text
editor which allows for easy organisation of text documents and notes, built on a plain text file
project repository for robustness.
The plain text storage is suitable for version control software, and also well suited for file
synchronisation tools. The core project structure is stored in a single project XML file. Other
meta data is primarily saved as JSON files.
Any operating system that can run Python 3 and has the Qt 5 libraries should be able to run
novelWriter. It runs fine on Linux, Windows and macOS, and users have tested it on other platforms
too. novelWriter can be run directly from the Python source, or installed from the pip tool or via
the provided setup script. See :ref:`a_started`, or one or the setup instructions for your
operating system for further details.
**Useful Links**
* Website: https://novelwriter.io
* Documentation: https://novelwriter.readthedocs.io
* Source Code: https://github.com/vkbo/novelWriter
* Source Releases: https://github.com/vkbo/novelWriter/releases
* Issue Tracker: https://github.com/vkbo/novelWriter/issues
* Feature Discussions: https://github.com/vkbo/novelWriter/discussions
* PyPi Project: https://pypi.org/project/novelWriter
.. toctree::
:maxdepth: 2
:caption: Introduction
int_introduction
int_started
setup_linux
setup_mac
setup_windows
.. toctree::
:maxdepth: 2
:caption: Usage
usage_interface
usage_projects
usage_structure
usage_notes
usage_export
usage_typography
.. toctree::
:maxdepth: 2
:caption: Under the Hood
tech_technical
Indices and Tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

View File

@@ -1,25 +0,0 @@
####################################
Welcome to novelWriter Documentation
####################################
This is the documentation for novelWriter |version|.
**Contents**
.. toctree::
:maxdepth: 2
introduction
started
interface
projects
structure
notes
export
technical
**Indices and Tables**
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

View File

@@ -0,0 +1,131 @@
.. _a_intro:
************
Introduction
************
novelWriter is a simple, multi-document plain text editor using a modified markdown syntax to apply
simple formatting to the text. It is designed for writing novels, and allows for the component
documents to be ordered freely to create the desired structure of the novel. More details about how
projects are structured is covered in :ref:`a_struct`.
In addition, the project can contain notes on the various plot elements, characters, locations,
etc, that make up the story. These notes are organised in a set of category-specific top-level
folders referred to as "root" folders, and each entry can be tagged and cross-referenced from
within the novel documents and notes. These tags make it possible to inter-link documents, and
generate an overview of the entire novel project and how the various documents and plot elements
are interconnected. The tag and reference syntax is covered in :ref:`a_proj` and :ref:`a_notes`.
These additional features are not standard in markdown, but are available through special meta
keywords described in :ref:`a_struct_tags`. Syntax highlighting is provided to make it easier to
verify that the markdown tags are used correctly.
An overview of the supported markdown syntax is covered in :ref:`a_ui`.
.. _a_intro_design:
Design Philosophy
=================
The user interface of novelWriter is intended to be as minimalistic as practically possible, while
at the same time provide a complete set of features needed for writing a novel.
.. note::
novelWriter is not intended to be a full office type word processor. It doesn't support images,
links, tables, and other complex structures and objects often needed for such documents.
Formatting is limited to headers, and bold, italicised and strikethrough text.
.. tip::
If you do need to align information in rows and columns in your notes, you can achieve this with
tabs and hard line breaks. The tab stop width can be specified in :guilabel:`Preferences` and
hard line breaks can be inserted by adding to spaces at the end of the line.
The main window does not have a toolbar like many other applications do. This reduces clutter, and
since the documents are formatted with markdown tags, is more or less redundant. However, all
formatting features supported are available through convenient keyboard shortcuts. They are also
available in the main menu so you don't have to look up the syntax every time until you've
memorised it. A full list of shortcuts can be found in the :ref:`a_ui_shortcuts` section.
In addition, novelWriter has a :guilabel:`Focus Mode` where all the user interface elements other
than the document editor itself are hidden away.
The colour scheme of the user interface defaults to that of the host operating system. In addition,
other light and dark themes are provided, and can be enabled in :guilabel:`Preferences` from the
:guilabel:`Tools` menu. A number of syntax highlighting themes are also available in
:guilabel:`Preferences`. A set of icon themes in colour and greyscale are also offered. The icons
are based on the Typicons_ icon set designed by Stephen Hutchings.
The main window is split in two, or optionally three, panels. The left-most panel contains the
project tree and all the documents in your project. The second panel is the document editor, and
the optional third panel is a document viewer which can view any document in your project
independently of the document editor. It is not intended as a preview window, although you can use
it for this, but for viewing your notes next to your editor while you're writing.
A second tab is also available on the main window. This is the :guilabel:`Outline` tab where the
entire novel structure can be displayed, with all the tags and references listed. Depending on how
you structure your novel documents, this outline can be quite different from your project tree.
Your project tree lists individual documents, your Outline tree lists the structure of the novel
itself in terms of partitions, chapters and scenes as it appears in the text of the documents.
.. _Typicons: https://github.com/stephenhutchings/typicons.font
.. _a_intro_project:
Project Layout
==============
You are free to organise your project documents as you wish into subfolders, and split the text
between documents in whatever way suits you. All that matters to novelWriter is the linear order
the documents appear at in the project tree (top to bottom). The chapters, scenes and sections of
the novel are determined by the headings within those documents.
The four heading levels (**H1** to **H4**) are treated as follows:
* **H1** is used for the book title, and for partitions.
* **H2** is used for chapter tiles.
* **H3** is used for scene titles – optionally replaced by separators.
* **H4** is for section titles within scenes, if such granularity is needed.
This header level structure is only taken into account for novel documents. For the project notes,
the header levels have no structural meaning, and the user is free to do whatever they want. See
:ref:`a_struct` and :ref:`a_notes` for more details.
.. _a_intro_export:
Project Export
==============
The project can at any time be exported to a range of different formats through the
:guilabel:`Build Novel Project` tool. Natively, novelWriter supports export to Open Document,
HTML5, and various flavours of Markdown.
The HTML5 export format is suitable for conversion by a number of other tools like Pandoc, or for
importing into word processors if the Open Document format isn't suitable. In addition, printing
and printing to PDF is also possible.
It is also possible to export the content of the project to a JSON file. This is useful if you want
to write your own processing script in for instance Python as the entire novel can be read into a
Python dictionary with a couple of lines of code.
A number of filter options can be applied to the produced document, allowing you to export a draft
manuscript, a reference document of notes, an outline based on chapter and scene titles with a
synopsis each, and so on. See :ref:`a_export` for more details on export features and formats.
.. _a_intro_screenshots:
Screenshots
===========
**novelWriter with default system theme:**
.. image:: images/screenshot_default.png
:width: 800
**novelWriter with dark theme:**
.. image:: images/screenshot_dark.png
:width: 800

170
docs/source/int_started.rst Normal file
View File

@@ -0,0 +1,170 @@
.. _a_started:
***************
Getting Started
***************
.. _main website: https://novelwriter.io
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _PyPi: https://pypi.org/project/novelWriter/
This section contains brief guides to how you can get novelWriter running on your computer. These
are the methods currently supported by the developer. Packages may also be available in other
package managers, but those are not managed by the developer. No installers are provided at this
time, but it is fairly straightforward to set up novelWriter with the provided install scripts.
As novelWriter matures, more options for how to install it and get it running will be added. For
non-Windows users the install process is at the present time best suited for people used to working
with the command line. But even if you're not, the install process is fairly straightforward.
The next pages have specific install instructions for the various operating systems novelWriter can
run on. The instructions below are supplementary information, instructions for alterbative methods,
and additional build options.
.. note::
The text below assumes the command ``python`` corresponds to a Python 3 executable. Python 2 is
now deprecated, but many systems still have both Python 2 and 3. For such systems, the command
``python3`` may be needed instead. On Linux, the scripts can also be made executable and run
without the ``python`` command. Likewise, ``pip`` may need to be replaced with ``pip3``.
.. _a_started_depend:
Dependencies
============
novelWriter has been designed to rely on as few dependencies as possible. Aside from the packages
needed to communicate with the Qt GUI libraries, only one package is required for handling the XML
format of the main project file. Everything else is handled with standard Python libraries.
The following Python packages are needed to run novelWriter:
* ``pyqt5`` – needed for connecting with the Qt5 libraries.
* ``lxml`` – needed for full XML support.
* ``pyenchant`` – needed for efficient spell checking (optional).
PyQt/Qt should be at least 5.3, but ideally 5.10 or higher for nearly all features to work. For
instance, searching using regular expressions with full Unicode support requires 5.13. There is no
known minimum version requirement for package ``lxml``, but the code was originally written with
4.2, which is therefore set as the minimum. It may work on lower versions. You have to test it.
Optionally, a package can be installed to interface with the Enchant spell checking libaries, but
this isn't strictly required. If no external spell checking library is available, novelWriter falls
back to using the internal ``difflib`` of Python to check spelling. This is a slower and less
sophisticated spell checker than the full spell checking libaries. The spell check library must be
at least 3.0 to work with Windows. On Linux, 2.0 also works fine.
If you install from PyPi, these dependencies should be installed automatically. If you install from
source, dependencies can still be installed from PyPi with:
.. code-block:: console
pip install -r requirements.txt
.. _a_started_install:
Installing via PyPi
===================
The application is written in Python 3 using Qt5 via PyQt5. It is developed on Linux, but it should
in principle work fine on other operating systems as long as dependencies are met.
You can download the latest version of novelWriter from the source repository on GitHub_.
novelWriter is also hosted on PyPi_, and can be installed on all operating systems that support Qt5
and Python 3. It is regularly tested on Linux, Windows and macOS. The latest version of novelWriter
is |release|.
To install from PyPi you must first have the ``python`` and ``pip`` commands available on your
system. If you don't, see specific instructions for your operating system in this documentation.
To install novelWriter from PyPi, use the following command:
.. code-block:: console
pip install novelwriter
To upgrade an existing installation, use:
.. code-block:: console
pip install --upgrade novelwriter
When installing via pip, novelWriter can be launched from command line with:
.. code-block:: console
novelWriter
Make sure the install location for pip is in your PATH variable. This is not always the case by
default.
.. _a_started_i18n:
Building the Translation Files
==============================
If you installed novelWriter from a package, the translation files should be pre-built and
included. If you're running novelWriter from the source code, you will need to generate the files
yourself. The files you need will be written to the ``nw/assets/i18n`` folder, and will have the
``.qm`` file extension.
You can build the ``.qm`` files with:
.. code-block:: console
python3 setup.py qtlrelease
This requires that the Qt Linguist tool is installed on your system. On Ubuntu and Debian, the
needed package is called `qttools5-dev-tools`.
.. note::
If you want to improve novelWriter with translation files for another language, or update an
existing translation, instructions for how to contribute can be found in the README file in the
``i18n`` folder of the source code.
.. _a_started_docs:
Building the Documentation
==========================
If you installed novelWriter from a package, the documentation should be bre-built and included. If
you're running novelWriter from the source code, a local copy of this documentation can be
generated. It requires the following Python packages on Debian and Ubuntu.
* ``python3-sphinx``
* ``python3-sphinx-rtd-theme``
* ``python3-sphinxcontrib.qthelp``
Or from PyPi:
.. code-block:: console
pip install sphinx sphinx-rtd-theme sphinxcontrib-qthelp
The documentation can then be built from the ``docs`` folder in the source code by running:
.. code-block:: console
make html
If successful, the documentation should be available in the ``docs/build/html`` folder and you can
open the ``index.html`` file in your browser.
The documentation can also be built for the Qt Assistant. To build the help packages from the
documentation source, run the following from the root source folder:
.. code-block:: console
python setup.py qthelp
The setup script will copy the generated files into the ``nw/assets/help`` folder, and novelWriter
will detect the presence of the files and redirect the menu help entry to open help locally instead
of sending the user to the website. Pressing the :kbd:`F1` key will in any case try to open help
locally first, then send you to the website as a fallback.
.. note::
In order for the local version of help to work, the Qt Assistant must be installed on the local
computer. If it isn't available, or novelWriter cannot find it, the help feature will fall back
to redirecting you to the documentation website.

View File

@@ -1,111 +0,0 @@
***************
User Interface
***************
The user interface is kept as simple as possible to avoid distractions when writing.
The main window contains a tree view pane with the entire structure of the project, and a small details panel below it to display additional information about the currently selected item.
Editing a document can be done by either double-clicking on it, or hitting the return key when a file is selected.
This will open the document editor, which uses a simplified markdown format, described in the section below.
The document currently being edited can also be viewed in parallel in a right hand side view pane.
To view a document, simply press :kbd:`Ctrl-R`, or select a file and go to :menuselection:`Document --> View Document` in the menu.
The document viewed does not need to be the same document currently being edited.
References to tags can also be opened in the view pane from the document editor by moving the cursor to a reference to a tag and hitting :kbd:`Ctrl-Enter`.
In the view panel, the references become clickable links, and the "Referenced By" panel at the bottom will show links to all documents referring back to it.
.. note::
The "Referenced By" panel relies on an up-to-date index of the project.
If anything is missing, or seems wrong, the index can always be rebuilt from :menuselection:`Tools --> Rebuild Index` or by pressing :kbd:`F9`.
Markdown Format
===============
The document editor uses a simplified markdown format.
That is, it supports basic formatting like bold, italics and underline, as well as four levels of headings.
The formats are listed below.
In addition to these standard markdown features, the editor also allows for comments, that is text that is ignored by the word counter and not exported or, optionally, hidden in the document viewer.
The editor also has a minimal set of keywords used for setting tags and references between files.
.. csv-table:: Formatting Syntax
:header: "Format", "Description"
:widths: 15, 50
"``# Title``", "Heading level one. The space after the # is mandatory."
"``## Title``", "Heading level two. The space after the # is mandatory."
"``### Title``", "Heading level three. The space after the # is mandatory."
"``#### Title``", "Heading level four. The space after the # is mandatory."
"``**text**``", "The text is renderred as bold text."
"``_text_``", "The text is renderred as italics text."
"``__text__``", "The text is renderred as underlined text."
"``% text...``", "A comment. The text is not exported, seen in viewer, or counted towards word counts."
"``@keyword: value``", "A keyword argument followed by a value, or a comma separated list of values."
The editor and viewer also supports markdown standard hard line breaks, and preserves non-breaking spaces.
A hard line break is achieved by leaving two or more spaces at the end of the line.
Alternatively, the user can press :kbd:`Shift-Enter` to insert this.
A non-breaking space is inserted with :kbd:`Shift-Space`.
Both hard line breaks and non-breaking spaces are highlighted by the syntax highlighter as an alternate coloured background, depending on the selected theme.
Keyboard Shortcuts
==================
All features are available as keyboard shortcuts.
These are as following:
.. csv-table:: Keyboard Shortcuts
:header: "Shortcut", "Description"
:widths: 15, 50
":kbd:`Ctrl-.`", "Correct word under cursor."
":kbd:`Ctrl-1`", "Switch focus to tree view pane."
":kbd:`Ctrl-2`", "Switch focus to document editor pane."
":kbd:`Ctrl-3`", "Switch focus to document viewer pane."
":kbd:`Ctrl-A`", "Select all text in document."
":kbd:`Ctrl-B`", "Format selected text, or word under cursor, as bold."
":kbd:`Ctrl-C`", "Copy selected text to clipboard."
":kbd:`Ctrl-D`", "Wrap selected text, or word under cursor, in double quotes."
":kbd:`Ctrl-E`", "If in tree view, edit a document or folder settings."
":kbd:`Ctrl-F`", "Open the search bar and search for selected word, if any is selected."
":kbd:`Ctrl-H`", "Open the search and replace bar and search for selected word, if any is selected."
":kbd:`Ctrl-I`", "Format selected text, or word under cursor, as italic."
":kbd:`Ctrl-N`", "Create new document."
":kbd:`Ctrl-O`", "Open selected document."
":kbd:`Ctrl-Q`", "Exit novelWriter."
":kbd:`Ctrl-R`", "If in tree view, open a document for viewing. If in editor pane, open current document for viewing."
":kbd:`Ctrl-S`", "Save the current document in the editor."
":kbd:`Ctrl-T`", "Show project timeline."
":kbd:`Ctrl-U`", "Format selected text, or word under cursor, as underline."
":kbd:`Ctrl-V`", "Paste text from clipboard to cursor position."
":kbd:`Ctrl-W`", "Close the current document in the editor."
":kbd:`Ctrl-X`", "Cut selected text to clipboard."
":kbd:`Ctrl-Y`", "Redo latest undo."
":kbd:`Ctrl-Z`", "Undo latest changes."
":kbd:`Ctrl-F7`", "Toggle spell checking."
":kbd:`Ctrl-Del`", "If in tree view, move a document to trash, or delete a folder."
":kbd:`Ctrl-Enter`", "Open the tag or reference under the cursor in the view panel."
":kbd:`Ctrl-Shift-,`", "Change project settings."
":kbd:`Ctrl-Shift-1`", "Replace occurrence of word in current document, and search for next occurrence."
":kbd:`Ctrl-Shift-A`", "Select all text in current paragraph."
":kbd:`Ctrl-Shift-D`", "Wrap selected text, or word under cursor, in single quotes."
":kbd:`Ctrl-Shift-I`", "Import text to the current document from a text file."
":kbd:`Ctrl-Shift-N`", "Create new folder."
":kbd:`Ctrl-Shift-O`", "Open a project."
":kbd:`Ctrl-Shift-R`", "Close the document view pane."
":kbd:`Ctrl-Shift-S`", "Save the current project."
":kbd:`Ctrl-Shift-W`", "Close the current project."
":kbd:`Ctrl-Shift-Up`", "Move item one step up in the tree view."
":kbd:`Ctrl-Shift-Down`", "Move item one step down in the tree view."
":kbd:`F1`", "Open documentation."
":kbd:`F2`", "Alternative to :kbd:`Ctrl-E`."
":kbd:`F3`", "Find next occurrence of word in current document."
":kbd:`F5`", "Export project dialog."
":kbd:`F7`", "Re-run spell checker."
":kbd:`F9`", "Re-build project indices."
":kbd:`Shift-Enter`", "Insert a hard line break at the cursor position."
":kbd:`Shift-F3`", "Find previous occurrence of word in current document."
":kbd:`Shift-Space`", "Insert a non-breaking space at the cursor position."
":kbd:`Enter`", "If in tree view, open a document for editing."

View File

@@ -1,49 +0,0 @@
************
Introduction
************
novelWriter is a simple, multi-document plain text editor using a modified markdown syntax to apply simple formatting.
Additional features that are not standard markdown are available through special meta data keywords.
These keywords make it possible to inter-link documents, and generate an overview of the entire novel project and how the various files are interconnected.
Design Philosophy
-----------------
The user interface is intended to be as minimalistic as practically possible, while at the same time provide a complete set of features needed for writing a novel.
.. note::
novelWriter is not intended to be a full office type word processor.
It doesn't support images, links, tables, and its formatting is limited to headers, and bold, italics and underlined text.
Most features are accessible through the menu and through keyboard shortcuts.
The colour scheme of the user interface can be modified with various themes, and new themes are fairly straight forward to add.
The project itself is laid out in a tree view on the left hand side of the main window.
It has various sections, called *root folders*, for the various types of supporting files that the user may want to add to the project.
The novel itself lives under its own root folder.
Project Layout
--------------
The layout of the novel itself is managed through the four supported heading levels, H1 through H4.
H1 is used for the book title, and for partitions.
H2 is used for chapter tiles.
H3 is reserved for scene titles.
H4 is for section titles within scenes, if such granularity is necessary.
For the files designated as project notes, the usage of headers imply no structural meaning, and the user is free to do whatever they want.
Project Export
--------------
The project can at any time be exported to a range of different formats.
Natively, novelWriter supports export to plain text file, html5 document, LaTeX source file, novelWriter flavoured markdown, and standard markdown.
Additional export options are available through `Pandoc <https://pandoc.org/>`_.
Currently, novelWriter will assist in converting the project to Open Office documents, Word documents, and epub.
However, to be able to fully take advantage of the many features of Pandoc, you may want to run it yourself and use the novelWriter html or markdown export as input.
screenshot
----------
.. image:: images/screenshot.png
:width: 800

View File

@@ -1,23 +0,0 @@
************************
Supporting Files (Notes)
************************
Supporting files, or notes, are any files stored in root folders that are not the Novel root folder.
These files are intended for summaries and outlines of the various plot elements, characters, locations, and so on, of the novel.
These are not required, but making at least minimal files for each such element, and add a tag to them, makes it possible to use the timeline view feature to see how each element intersects with each section of the novel itself.
File Tags
=========
Each note file can have a tag associated with it,
The format of a tag is ``@tag: tagname``, where tagname is a unique identifier.
Tags can then be referenced in the novel files and will then show up as dots in the timeline view.
The syntax highlighter will alert the user that the keyword is correctly used and that the tag is allowed.
Duplicate tags should be detected as long as the index is up to date.
The tag is the only part of these files that the application uses.
The rest of the file is there for the writer to use in whatever way they wish.
A note file can also reference other note files in the same way novel files do.
When the note file is opened in the view pane, these become clickable links, making it easier to follow connections in the plot.

View File

@@ -1,130 +0,0 @@
**************
Novel Projects
**************
A novelWriter project requires a dedicated folder for storing its files on the local file system.
See the Technical Information section for further details.
A new project can be created from the Project menu by selecting :menuselection:`Project --> New Project`.
A list of recently opened projects is also maintained and can be selected from the menu.
The project specific settings are available in :menuselection:`Project --> Project Settings`.
See further details below.
Project Structure
=================
Projects are structured into a set of root folders, visible in the left side tree view panel.
The core novel files go into a root folder of type "Novel".
Other supporting files go into root folders of types "Plot", "Characters", "Locations", "Timeline", "Objects", "Entities" or "Custom".
These other root folder types are intended for your notes on the various elements of your story.
Using these is of course entirely optional.
A new project will not have all of the root folders present, but you can add the ones you want from :menuselection:`Project --> Create Root Folder`.
The root folders are intended for the follwing use, but aside from the Novel folder, not restrictions apply.
* **Novel:** The root folder of all text that goes into the final novel.
This class of files have other rules and features than other files in the project.
See the Novel Structure section for more details.
* **Plot:** This is the root folder where main plots can be outlined.
It is optional, but adding at least dummy files can be useful in order to generate the timeline view.
* **Characters:** Character files go in this root folder.
These are especially important if one wants to use the timeline view to see which character appears where and which part of the story is told from a specific character's point-of-view.
* **Locations:** Location is for various scene locations that one wants to track in the timeline view if that applies to the story.
* **Timeline:** If the story jumps in time within the same plot, this class of files can be used to track this.
* **Objects:** Important objects in the story can be tracked here.
* **Entities:** Entities, like organisations or companies, that are part of the plot, can be organised here.
* **Custom:** The custom root folder can be used for tracking anything else not covered by the above options.
Deleted files will be moved into a special "Trash" root folder.
Currently, these files cannot be permanently deleted from the project.
Orphaned Documents
------------------
In the event the editor crashes or otherwise exits without saving the project state, files that have been added to the project tree and are saved to disk will appear in a special "Orphaned Items" root folder next time the application is started.
These orphaned files will not have any meta data associated with them, so the label and other information has to be set again, and the files moved back to the correct location in the project.
Using Folders in the Project Tree
---------------------------------
Folders, aside from root folders, have no structural significance to the project.
They are there purely as a way for the user to organise the files in meaningful sections and to be able to close them in the tree view.
When processing the files in the novel, like for instance during export, the folders are ignored.
Project Settings
================
The project settings can be accessed from the :menuselection:`Project --> Project Settings` menu entry.
This will open a dialog box, with a set of tabs.
Settings Tab
------------
The Settings tab holds the project title and author settings.
Working Title can be set to a different title than the Book Title.
The difference between them is simply that the Working Title is used for the GUI (main window title) and for generating the backup files.
The intention is that the working title should remain unchanged, while changing the final title has no effect on features relying on the project name.
The Book Title is currently not ues for anything, so setting it is just for the benefit of the author.
The Book Authors text box takes one author per line.
Status Tab
----------
Each file of type "Novel" can be given a status level, signified by a coloured icon.
These are purely there for the user's convenience, and you are not required to use them for any other feature to work.
The intention is to use this list to set what stage of writing you are on, although you can in principle make them whatever you want.
.. note::
The status levels currently in use by a file cannot be deleted.
Importance Tab
--------------
Each file of types "Plot", "Character", "World", "Timeline", "Object", "Entity", or "Custom", can be given an importance level, signified by a coloured icon like for status level.
These are also purely there for the user's convenience, and you are not required to use them for any other feature to work.
The intention is to use this list to set how important the character, plot element, or otherwise, is for the story.
Again, these can in principle be used for whatever you want.
.. note::
The importance levels currently in use by a file cannot be deleted.
Auto-Replace Tab
----------------
A set of automatically replaced keywords can be added in this tab.
The keywords in the left column wile be replaced by the text in the right column when documents are opened in the viewer.
This will also be applied to exports when the feature is added.
Note that a keyword cannot contain any spaces.
The angle brackets are added by default, and when used in the text are a part of the keyword to be replaced.
This is to ensure that parts of the text isn't unintentionally replaced by the content of the list.
Writing Files
=============
New document files can be created from the Document menu, or by pressing :kbd:`Ctrl-N` while in the tree view pane.
This will create a new, empty file, and open the item settings dialog where the filename and various other settings can be set.
This dialog can also be opened again later from either the menu, :menuselection:`Project -> Edit` item, or by pressing :kbd:`Ctrl-E` or :kbd:`F2` with the item selected.
The layout of the file is also defined here.
For Novel files, the full list of layout options are available.
For non-Novel files, only "Note" is available.
See the Project Structure section for more details.
Backup
======
An automatic backup system is built into novelWriter.
In order to use it, a backup path to where the backups are to be stored needs to be provided in :menuselection:`Tools --> Preferences`.
Backups can be run automatically when a project is closed, which also implies it is run when the application is closed.
Backups are date stamped zip files of the entire project folder.
The backup feature, when configured, can also be run manually from the Tools menu.
For the backup to be able to run, the Working Title must be set in Project Settings.
This value is used to generate the file name.
It is also possible to dissable automated backup for a given project in its project settings.

View File

@@ -0,0 +1 @@
sphinx_rtd_theme

110
docs/source/setup_linux.rst Normal file
View File

@@ -0,0 +1,110 @@
.. _a_setup_linux:
**************
Setup on Linux
**************
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _main website: https://novelwriter.io
This is a brief guide to how you can get novelWriter running on a Linux computer. There are
currently no install package of novelWriter for Linux, so it is recommended that you download
either the full source or minimal package and extract it to a practical location on your system and
run the ``setup.py`` script.
Running from Source
===================
To run novelWriter from source, download the latest source package from the release page on
GitHub_ or the `main website`_, or if you have git running on your computer, you can also clone the
repository.
Step 1: Installing Dependencies
-------------------------------
The dependencies of novelWriter are generally available from Linux distro repositories. For Debian
and Ubuntu, they can be installed with:
.. code-block:: console
sudo apt install python3-pyqt5 python3-lxml python3-enchant
If you prefer to install dependencies via PyPi, or the repository dependencies are out of date, you
can install them with:
.. code-block:: console
pip3 install --user -r requirements.txt
Step 2: Install Package (Optional)
----------------------------------
You can install novelWriter to the default location for Python packages using ``setuptools``. This
step is optional as you can also just put the novelWriter program folder wherever you like
yourself. For instance in ``/opt/novelWriter``, and then run Step 3 to set up icons and launcher.
To install novelWriter to the default location, it requires that you have ``setuptools`` installed
on your system. If you don't have it installed, it can usually be installed from your distro's
repository. For Debian and Ubuntu this is achieved with:
.. code-block:: console
sudo apt install python3-setuptools
The package is also available from PyPi:
.. code-block:: console
pip3 install --user setuptools
With ``setuptools`` in place, novelWriter can be installed to the user space with:
.. code-block:: console
./setup.py install --user
This should install novelWriter as ``~/.local/bin/novelWriter``. If you instead want to install for
all users, i.e. as ``/usr/local/bin/novelWriter``, run:
.. code-block:: console
sudo ./setup.py install
This is equivalent to what the ``pip`` installer does. It puts novelWriter in the location on your
system where Python packages are usually kept. This is not really the best suited location for a
GUI application like novelWriter, so you may instead copy the entire source to a suiteable location
yourself.
Step 3: Create Launcher Icons
-----------------------------
Regardless of where you extract or install the source files, you can set up a standard icon and a
launcher. To set up this desktop launcher, the needed icons, and the project file association,
run the following from inside the novelWriter folder at the installed or final location:
.. code-block:: console
./setup.py xdg-install
By default, this command installs the launcher and icons for the current user only. To install for
all users, run the script with the ``sudo`` command.
.. tip::
All options of the setup script can be listed with: ``./setup.py help``.
Uninstalling Icons
==================
The steps taken by the ``xdg-install`` step can be reversed by running:
.. code-block:: console
./setup.py xdg-uninstall
This will remove the desktop launcher and icons from the system. As above, whether this is done on
the current user, or system wide, depends on whether this command is called with ``sudo`` or not.

74
docs/source/setup_mac.rst Normal file
View File

@@ -0,0 +1,74 @@
.. _a_setup_mac:
**************
Setup on macOS
**************
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _main website: https://novelwriter.io
.. _brew docs: https://docs.brew.sh/Homebrew-and-Python
This is a brief guide to how you can get novelWriter running on macOS. There are currently no
install package of novelWriter for macOS, so it is recommended that you download either the full
source or minimal package and extract it to a practical location on your system and
run it.
Running from Source
===================
To run novelWriter from source, download the latest source package from the release page on
GitHub_ or the `main website`_, or if you have git running on your computer, you can also clone the
repository.
Step 1: Installing Dependencies
-------------------------------
These instructions assume you're using brew, and have Python and pip set up. If not, see the
`brew docs`_ for help. Main requirements are installed via the requirements file. You also need to
install the ``pyobjc`` package, so you should run:
.. code-block:: console
pip3 install --user -r requirements.txt
pip3 install --user pyobjc
For spell checking you may also need to install the enchant package. It comes with a lot of default
dictionaries.
.. code-block:: console
brew install enchant
With the dependencies in place, you can launch the ``novelWriter.py`` script directly to run
novelWriter.
Step 2: Install Package (Optional)
----------------------------------
You can install novelWriter to the correct location for Python packages with:
.. code-block:: console
./setup.py install --user
This requires that the package ``setuptools`` is installed on your system. If not, it can be
installed with:
.. code-block:: console
pip3 install --user setuptools
This is method of install is equivalent to what the ``pip`` installer does. It puts novelWriter in
the location on your system where Python packages are usually kept. This is not really the best
suited location for a GUI application like novelWriter, so you may instead copy the entire source
to a suiteable location yourself.
After this, you should be able to launch novelWriter by running ``novelWriter`` in a command line
window.
.. note::
Right now there isn't a better integration with macOS available. Contributions from someone more
familiar with macOS would be very much appreciated.

View File

@@ -0,0 +1,149 @@
.. _a_setup_win:
****************
Setup on Windows
****************
This is a brief guide to how you can get novelWriter running on a Windows computer.
Unlike other operating systems, Windows does not come prepared with an environment to run Python
applications, so you must first install Python. After that, running novelWriter is straightforward.
.. tip::
If you have any problems, you can always open a question on the project's discussions_ page.
This requires a GitHub account.
.. _discussions: https://github.com/vkbo/novelWriter/discussions
.. _a_setup_win_installer:
Using the Installer
===================
The installer for Windows is no longer provided. See the `installer issue`_ for more info on why.
You can still create the installer yourself if you want to. It can be generated with the provided
``setup.py`` script. use the script's ``help`` command to get further instructions.
Please use the "Running from Source" option below instead. It has been improved and a script has
been added that does nearly the same thing.
.. _installer issue: https://github.com/vkbo/novelWriter/issues/640
.. _a_setup_win_source:
Running from Source
===================
To run novelWriter from source, download the latest source zip file from the release page on
GitHub_, or from the `main website`_. You can download the "Minimal Windows" zip file. It is a
minimal version of the source that contains only the files needed for running on Windows. You can
also download the full source if you wish.
In order to make novelWriter run on your system, you must first have Python installed (Step 1).
Thereafter, a script will do the rest of the job (Step 2). Alternatively, you can run this step
manually from the command prompt if you wish to.
.. tip::
If your system already has all the dependencies installed, you can run novelWriter directly from
the extracted folder by double-clicking the ``novelWriter.pyw`` file. However, running the
script also adds start icons.
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _main website: https://novelwriter.io
Step 1: Installing Python
-------------------------
If you already have Python installed, you can skip this step. If you don't have it installed, you
can download it from the python.org_ website. novelWriter should work with Python 3.6 or higher,
but it is recommended that you install the latest version of Python.
Make sure you select the "Add Python to PATH" option during installation, otherwise the ``python``
command will not work in the command line window.
.. image:: images/python_win_install.png
:width: 600
.. _python.org: https://www.python.org/downloads/windows
Step 2: Dependencies and Icons
------------------------------
**Alternative A: By Script**
Open the folder where you extracted novelWriter, and double-click the file named
``windows_install.bat``. This should open a command line window and run the setup script to install
dependencies, and add desktop and start menu icons.
.. note::
If you downloaded the full source package, the file may be in the ``setup`` subfolder.
The script will also check that it can find Python on your system and alert you if it cannot run
it. If you are sure you have installed it, but the script cannot find it, you probably didn't
install it with the "Add Python to PATH" option mentioned in Step 1.
.. note::
If you upgrade Python to a newer version and the path to ``pythonw.exe`` has therefore changed,
you may need to run this script again. You can also run it to upgrade dependencies to the latest
version.
**Alternative B: Manual Installation**
The above alternative can also be run manually.
Open the windows command prompt. It can be launched by pressing the :kbd:`Win` key and typing "cmd".
The "Command Prompt" app should then be in the list of applications.
With the command prompt open, navigate to the folder where you extracted the novelWriter source,
and run the following commands:
.. code-block:: console
pip install --user pywin32 -r requirements.txt
python setup.py win-install
The first command will install the dependencies on your system from the `Python Package Index`_,
and the second command will create a desktop icon and a start menu icon. That should be all that
you need.
.. _Python Package Index: https://pypi.org/
Uninstalling
============
**Alternative A: By Script**
Open the folder where you keep the novelWriter files, and double-click the file named
``windows_uninstall.bat``. This should open a command line window and run the setup script to
remove the main dependency packages and remove desktop and start menu icons.
.. note::
If you downloaded the full source package, the file may be in the ``setup`` subfolder.
If you plan to also remove Python from your system, you must run the above script first as it needs
Python in order to run.
.. note::
Due to limitations of the ``pip`` installer, dependencies of the dependencies will not be
removed, only the ones the setup script directly installed.
**Alternative B: Manual Uninstallation**
Like for the install process, the script just runs two commands. You can of course run them
yourself if you wish. They are:
.. code-block:: console
python setup.py win-uninstall
pip uninstall -r requirements.txt
There may be other packages on your system installed by ``pip``. To list all packages, run:
.. code-block:: console
pip freeze --user

View File

@@ -1,88 +0,0 @@
***************
Getting Started
***************
You can download novelWriter from https://github.com/vkbo/novelWriter/releases
Latest version is |version|:
* ZIP file: https://github.com/vkbo/novelWriter/archive/v0.3.2.zip
* TAR file: https://github.com/vkbo/novelWriter/archive/v0.3.2.tar.gz
Extract the archive to a location of your choice.
Installing Dependencies
=======================
If you already have Python installed, all you need to do is install the dependencies.
To do this, your need to open your command line tool, find the folder where you extracted novelWriter, and run:
.. code-block:: console
python -m pip install -r requirements.txt
On some operating systems you need to use ``python3`` instead of ``python``.
The following Python packages are required to run novelWriter:
* ``pyqt5`` for the GUI
* ``appdirs`` for locating the system's config folder
* ``lxml`` for writing project files
.. note::
Sometimes the SVG graphics package for pyqt5 must be installed separately.
The following are optional, but recommended:
* ``pyenchant`` for spell checking
* ``pycountry`` for translating language codes to language names
* ``latexcodec`` for escaping unicode characters in LaTeX export
* ``pypandoc`` for additional exports to Word, Open Office, eBooks, etc.
Running novelWriter
===================
If all the required dependencies are met, you can run novelWriter from the command line:
.. code-block:: console
python novelWriter.py
A few switches are supported from the command line, mostly to assist in debugging if an error is encountered.
To list all options, run:
.. code-block:: console
python novelWriter.py --help
Building a Standalone Executable
================================
A standalone executable can be built with pyinstaller, using the provided python script "install.py" in the source folder.
This script will automatically try to install all dependencies and build the standalone executable of novelWriter.
You can run the script by typing the following into your command prompt:
.. code-block:: console
python install.py
If successful, the executable will be in the "dist" folder.
Additional Instructions for Windows
-----------------------------------
If you don't have Python installed, you can download it from the python.org website.
The installers for Windows are available at https://www.python.org/downloads/windows/
novelWriter should work with Python 3.5 or higher, and the executable installer is the easiest to install.
Please note that the `pyenchant` package for spell checking does not currently work with the x86-64 version, so if you want spell checking, you must install the x86 version.
Also, make sure you select the "Add Python to PATH" option.
.. image:: images/python_win_install.png
:width: 600
Once Python is set up and running, you can either run novelWriter from the folder where you extracted it, or you can build an executable and run that from a desktop icon instead.

View File

@@ -1,101 +0,0 @@
*****************
Project Structure
*****************
This section covers the structure of a novel project.
.. note::
This section concerns files under the Novel type root folder only.
There are some restrictions and features that only applies to these type of files.
Importance of Headings
======================
Subfolders under root folders have no impact on the structure of the novel itself.
The structure is instead dictated by the heading level.
Four levels of headings are supported, signified by the number of hashes preceding the title.
See the Markdown section.
The header levels are not only important when generating the exported novel file, but is also used by the indexer and timeline view.
Each heading starts a new region where new references to tags can be set, and will show up as a new row in the timeline view.
The different header levels are interpreted as specific section types of the novel.
* ``# Header1``: Header level 1 signifies that the text refers to either the novel title or the name of a top level partition.
* ``## Header2``: Header level 2 signifies a chapter level partition.
* ``### Header3``: Header level 3 signifies a scene level partition.
* ``#### Header4``: Header level 4 signifies a sub-scene level partition.
Tag References
==============
Each section, indicated by a heading, can contain references to tags set in the supporting files of the project.
See the File Tags section.
The references are gathered by the indexer and used to generate the timeline view of how the different parts of the novel are connected.
References and tags are also clickable in the view panel, and makes it easy to navigate reference notes while writing.
References are set as keyword and a list of corresponding tags.
The valid keywords are listed below. The format of such a line is ``@keyword: value1, [value2] ... [valueN]``.
Note that not all keywords allow multiple values.
* ``@pov``: The point-of-view character for the current section.
The target must be a note tag in the character root folder.
Only one value is accepted. further values are ignored.
* ``@char``: Other characters in the current section.
The target must be a note tag in the character root folder.
Multiple values are allowed.
This should not include the point-of-view character.
* ``@plot``: The plot timelines touched by the current section.
The target must be a note tag in the plot root folder.
Multiple values are allowed.
* ``@time``: The timelines touched by the current section.
The target must be a note tag in the timeline root folder.
Multiple values are allowed.
* ``@location``: The location the current section takes place in.
The target must be a note tag in the locations root folder.
Multiple values are allowed.
* ``@object``: Objects present in the current section.
The target must be a note tag in the object root folder.
Multiple values are allowed.
* ``@entity``: Entities present in the current section.
The target must be a note tag in the entities root folder.
Multiple values are allowed.
* ``@custom``: Custom references in the current section.
The target must be a note tag in the custom root folder.
Multiple values are allowed.
The syntax highlighter will alert the user that only the correct keywords are used, and that the tags referenced exist.
If the index of defined tags is out of date, press :kbd:`F9` to regenerate it, or select :menuselection:`Tools --> Rebuild Indices` from the menu.
In general, the index for a file is regenerated when a file is saved, so this shouldn't normally be necessary.
Novel File Layout
=================
Files that exist under the Novel type root folder can have a number of layouts set.
See overview below.
These layouts are important when the project is exported, as they indicate how to treat the content in terms of formatting, headings and page breaks.
the layout selected also shows up as flags in the tree view, making it easier to track what kind of files they are.
* **Title Page**: The title page layout.
The title should be formatted as a heading level one.
* **Book**: In principle, the entire novel can be contained in a single file.
In that case, use the Book layout on this file.
The internal structure is then controlled by the heading levels.
* **Plain Page**: A plain page is just that,
It is not included into content and the heading levels are ignored.
* **Partition**: A partition can be used to split a the novel into parts.
Use a level one heading for this.
* **Chapter**: Signifies the start of a new chapter.
If the text itself is contained in scene files, these files should only contain the title and tag references for characters, plot, etc.
The heading for chapters should be level two.
* **Unnumbered**: Same as Chapter, but when exporting the files and automatic chapter numbering is enabled, this file will not receive a number.
* **Scene**: A scene file.
This file should have a header of level three.
Further sections can have headers of level four.
These will not impact the overall structure, but will allow for setting new characters and plot references in parts of a scene if such granularity is needed.
* **Note**: A generic file that is optionally ignored when the novel is exported.
The layout granularity is entirely optional.
In principle, you can write the entire novel in a single file with layout "Book".
You can also have a single file per chapter.

View File

@@ -0,0 +1,145 @@
.. _a_tech:
*********************
Technical Information
*********************
This section contains details of how novelWriter stores and handles the project data.
How Project Data is Stored
==========================
All novelWriter files are written with utf-8 encoding. Since Python automatically converts Unix
line endings to Windows line endings on Windows systems, novelWriter does not make any adaptations
to the formatting on Windows systems. This is handled entirely by the Python standard library.
Python also handles this fairly well when working on the same files on both Windows and Unix-based
operating systems.
Main Project File
-----------------
The project itself requires a dedicated folder for storing its files where novelWriter will create
its own "file system" where the folder and file hierarchy is described in a project XML file. This
is the main project file in the project's root folder with the name ``nwProject.nwx``. This file
also contains all the meta data required for the project, and a number of related project settings.
If this file is lost or corrupted, the structure of the project is lost, although not the text
itself. It is important to keep this file backed up, either through the built-in backup tool, or
your own backup solution.
.. tip::
The novelWriter project folder is structured so that it can easily be added to a version control
system like git. If so, you may want to add a `.gitignore` file to exclude files with the
extensions `.json` as JSON files are used to cache the index and various run-time settings and
are generally large files that change often. You'd also want to exclude the ``cache`` folder.
The project XML file is indent-formatted, suitable for diff tools and version control since most of
the file will stay static, although a timesetamp is set in the meta section on line 2 each time the
file is saved, and various meta data entries are incremented on each save.
Project Documents
-----------------
All the project documents are saved in a folder in the main project folder named ``content``. Each
document has a file handle taken from the first 13 characters of a SHA256 hash of the system time
when the document was first created. The documents are saved with a filename assembled from this
hash and the file extension ``.nwd``.
If you wish to find the file system location of a document in the project, you can either look it
up in the project XML file, select :guilabel:`Show File Details` from the :guilabel:`Document` menu
when having the document open, or look in the ``ToC.txt`` file in the root of the project folder.
The ``ToC.txt`` file has a list of all documents in the project, referenced by their label, and
where they are saved.
The reason for this cryptic file naming is to avoid issues with file naming conventions and
restrictions on different operating systems, and also to have a file name that does not depend on
what the user names the document within the project, or changes it to.
Each document file contains a plain text version of the text from the editor. The file can in
principle be edited in any text editor, and is suitable for diffing and version control if so
desired. Just make sure the file remains in utf-8 encoding, otherwise unicode chatracters may
become mangled when the file is opened in novelWriter again.
The first lines of the file may contain some meta data starting with the characters ``%%~``. These
lines are mainly there to restore some information if it is lost from the project file, and the
information may be helpful if you do open the file in an external editor as it contains the
document label and the document class and layout. The lines can be deleted without any consequences
to the rest of the content of the file, and will be added back the next time the document is saved
in novelWriter.
The File Saving Process
-----------------------
When saving the project file, or any of the documents, the data is first saved to a temporary file.
If successful, the old data file is removed, and the temporary file becomes the new file. This
ensures that the previously saved data is only replaced when the new data has been successfully
saved to the storage medium.
For the project XML file, a ``.bak`` file is in addition kept, which will always contain the
previous version of the file, although when auto-save is enabled, they may have the same content.
If the opening of a project file fails, novelWriter will automatically try to open the ``.bak``
file instead.
Project Meta Data
=================
The project folder contains a subfolder named ``meta``, containing a number of files. The meta
folder contains semi-important files. That is, they can be lost with only minor impact to the
project.
If you use version control software on your project, you can exclude this folder, although you may
want to track the session log file. The JSON files within this folder can safely be ignored as they
will be automatically regenerated if lost.
The Project Index
-----------------
Between writing sessions, the project index is saved in a JSON file in ``meta/tagsIndex.json``.
This file is not critical. If it is lost, it can be rebuilt from within novelWriter from the
:guilabel:`Tools` menu.
The index is maintained and updated whenever a document or note is saved in the editor. It contains
all references and tags in documents and notes, as well as the location of all headers in the
project, and the word counts within each header section.
The integrity of the index is checked when the file is loaded. It is possible to corrupt the index
if the file is manually edited and manipulated, so the check is important to avoid sudden crashes
of novelWriter. if the file contains errors, novelWriter will automatically build it anew. If the
check somehow fails and novelWriter keeps crashing, you can delete the file manually and rebuild
the index. If this too fails, you have likely encountered a bug.
Cached GUI Options
------------------
A file named ``meta/guiOptions.json`` contains the latest state of various GUI buttons, switches,
dialog window sizes, column sizes, etc, from the GUI. These are the GUI settings that are specific
to the project. Global GUI settings are stored in the main config file.
The file is not critical, but if it is lost, all such GUI options will revert back to their default
settings.
Session Stats
-------------
The writing progress is saved in the ``meta/sessionStats.log`` file. This file records the length
and word counts of each writing session on the given project. The file is used by the
:guilabel:`Writing Statistics` tool. If this file is lost, the history it contains is also lost,
but it has otherwise no impact on the project.
Project Cache
=============
The project ``cache`` folder contains non-critical files. If these files are lost, there is no
impact on the functionality of novelWriter or the history of the project. It contains temporary
files, like the preview document in the :guilabel:`Build Novel Project` tool.
It should be excluded from version control tools if such are used.

View File

@@ -1,41 +0,0 @@
*********************
Technical Information
*********************
This section contains details of how novelWriter stores and handles the project data.
How Data is Stored
==================
All novelWriter files are written with utf-8 encoding.
Since Python automatically converts Unix line endings to Windows line endings on Windows systems, novelWriter does not make any adaptations to the formatting on Windows systems.
Main Project File
-----------------
The project itself requires a dedicated folder for storing its files.
The main project file is stored as an XML file with the name ``nwProject.nwx``.
This file contains all the meta data unique for the project.
That includes project settings.
If this file is lost or corrupted, the structure of the project is lost.
It is important to keep this file backed up.
The last 10 versions of the file are kept in backup in the project's ``cache`` folder.
These files are replaced on a rotation from 0 to 9.
The project XML file is suitable for diff tools and version control, although a timesetamp is set in the meta section on line 2 each time the file is saved.
Project Documents
-----------------
The project documents are saved in folders staring with ``data_``.
Each document has a file handle taken from the first 13 characters of a SHA256 hash of the system time when the file was first created.
The documents are saved with a folder and filename derived from this hash.
If you wish to find the physical location of a file in the project, you can either look it up in the project XML file, or select :menuselection:`Document --> Show File Details` in the menu when having the document open.
The reason for this cryptic file naming is to avoid issues with file naming conventions and restrictions on different operating systems, and also to have a file name that does not depend on what the user names the files, or changes it to.
The file name set in the tree view is only saved in the project XML file.
Each document file contains a plain text version of the text from the editor.
The file can in principle be edited in any text editor, and is suitable for diffing and version control if so desired.
Just make sure the file remains in utf-8 encoding, otherwise unicode chatracters may become mangled.

View File

@@ -0,0 +1,157 @@
.. _a_export:
******************
Exporting Projects
******************
The novelWriter project can be exported in various formats using the build tool available from
:guilabel:`Build Novel Project` in the :guilabel:`Tools` menu, or by pressing :kbd:`F5`.
.. _a_export_headers:
Header Formatting
=================
The titles for the five types of titles (the chapter headings come in a numbered and unnumbered
version) of story structure can be formatted collectively in the build tool. This is done through
a series of keyword–replace steps. They are all on the format ``%keyword%``.
``%title%``
This keyword will always be replaced with the title text you put after the ``#`` characters in
your document.
``%ch%``
This will be replaced by a chapter number. The number is incremented by one each time the build
tool sees a new heading of level two in a document with layout :guilabel:`Chapter`. If the
document has layout :guilabel:`Unnumbered`, the counter is *not* incremented. The latter is
useful for for instance Prologue and Epilogue chapters. Adding an asterisk (``*``) in front of
the title text of a level two heading will also disable the chapter counter for that heading.
``%chw%``
Behaves like ``%ch%``, but the number is represented as a number word.
``%chi%``
Begaves like ``%ch%``, but the number is represented as a lower case Roman number.
``%chI%``
Behaves like ``%ch%``, but the number is represented as an upper case Roman number.
``%sc%``
This is the number counter equivalent for scenes. These are incremented each time a heading of
level three is encountered, but reset to 1 each time a chapter is encountered. They can thus be
used for counting scenes within a chapter.
``%sca%``
Behaves like ``%sc%``, but the number is *not* reset to 1 for each chapter. Instead it runs from
1 from the beginning of the novel to produce an absolute scene count.
``\\``
This inserts a line break within the title.
.. note::
Header formatting only applies to novel documents. Headings in notes will be left as-is on
export. However, heading levels 1 through 4 are converted to the correct heading level in the
respective output formats.
**Example**
* The format ``%title%`` just reproduces the title you set in the document.
* The format ``Chapter %ch%: %title%`` produces something like "Chapter 1: My Chapter Title".
* The format ``Scene %ch%.%sc%`` produces something like "Scene 1.2" for scene 2 in chapter 1.
.. _a_export_scenes:
Scene Separators
================
If you don't want any titles for your scenes (or for your sections if you have them), you can leave
the formatting boxes empty. If so, an empty paragraph will be inserted between the scenes or
sections instead.
Alternatively, if you want a separator between them, like the common ``* * *``, you can enter the
desired separator text in the formatting box. In fact, if the format is a piece of static text, it
will always be treated as a separator.
.. _a_export_files:
File Selection
==============
Which documents and notes are selected for export can be controlled from the options on the left
side of the dialog window. The switch for :guilabel:`Include novel files` will select any document
that isn't classified as a note. The switch for :guilabel:`Include note files` will select any
document that *is* a note. This allows for exporting just the novel, just your notes, or both, as
you see fit.
In addition, you can select to export the synopsis comments, regular comments, keywords, and even
exclude the body text itself.
.. tip::
If you for instance want to export a document with an outline of the novel, you can enable
keywords and synopsis export and disable body text, thus getting a document with each heading
followed by the tags and references and the synopsis.
If you need to exclude specific documents from your exports, like draft documents or documents you
want to take out of your manuscript, but don't want to delete, you can un-check the
:guilabel:`Include when building project` option for each document in the project tree. An included
document has a checkmark after the status icon in the :guilabel:`Flags` column. The
:guilabel:`Build Novel Project` tool has a switch to ignore this flag if you need to collectively
override these settings.
.. _a_export_print:
Printing
========
The print button allows you to print the content in the preview window. You can either print to one
of your system's printers, or print directly to file. You can also print to file from the regular
print dialog. The direct to file option is just a shortcut.
.. _a_export_formats:
Export Formats
==============
Currently, six formats are supported for exporting.
Open Document Format
The Build tool can produce either an ``.odt`` file, or an ``.fodt`` file. The latter is just a
flat version of the document format as a single XML file.
novelWriter HTML
The HTML export format writes a single ``.htm`` file with minimal style formatting. The exported
HTML document is suitable for further processing by document conversion tools like Pandoc, for
importing in word processors, or for printing from browser.
novelWriter Markdown
This is simply a concatenation of the project documents selected by the filters. The documents
are stacked together in the order they appear in the project tree, with comments, tags, etc.
included if they are selected. This is a useful format for exporting the project for later
import back into novelWriter.
Standard/GitHub Markdown
The Markdown export format comes in both Standard and GitHub flavour. The *only* difference in
terms of novelWriter functionality is the support of strikethrough text, which is not supported
by the Standard flavour, but *is* supported by the GitHub flavour.
.. _a_export_options:
Additional Export Options
=========================
In addition to the above document formats, the novelWriter HTML and Markdown formats can also be
wrapped in a JSON file. These files will have a meta data entry and a body entry. For HTML, also
the accompanying css styles are exported.
The text body is saved in a two-level list. The outer list contains one entry per exported
document, in the order they appear in the project tree. Each document is then split up into a list
as well, with one entry per paragraph it contains.
These files are mainly intended for scripted post-processing for those who want that option. A JSON
file can be imported directly into a Python dict object or a PHP array, to mentions a few options.

View File

@@ -0,0 +1,537 @@
.. _a_ui:
**************
User Interface
**************
The user interface is kept as simple as possible to avoid distractions when writing. This page
lists all the main GUI elements, and explains what they do.
.. _a_ui_tree:
The Project Tree
================
The main window contains a project tree in the left-most panel. It shows the entire structure of
the project. It has four columns:
:guilabel:`Label`
The first column shows the item icon and its label. The labels can be edited from the
:guilabel:`Project` menu, or by pressing :kbd:`F2` or :kbd:`Ctrl`:kbd:`E`. The label is not the
same as the title you set inside the document, but it will appear in the header above the
document text itself.
:guilabel:`Words`
The second column shows the word count of the document, or the sum of words of the child items
if it is a folder. If the counts seem incorrect, they can be updated by rebuilding the project
index from the :guilabel:`Tools` menu, or by pressing :kbd:`F9`.
:guilabel:`Inc`
The third column indicates whether the document is included in the final project build or not.
You may want to filter out documents that you no longer want to keep in the final manuscript,
but want to keep in the project for reference.
:guilabel:`Flags`
The fourth column shows various meta data flags for the item. The first is an icon indicating
the importance or status of the document. These are colour coded status levels that you control
and define yourself. They can be changed in :guilabel:`Project Settings` from the
:guilabel:`Project` menu. The first character after the icon indicates the class of the item,
that is ``N`` for **Novel**, ``C`` for **Character**, etc (see :ref:`a_struct_tags`). The
characters after the dot indicate the document layout type (see :ref:`a_proj_roots`).
Right-clicking an item in the project tree will open a context menu under the cursor, displaying
a selection of actions that can be performed on the selected item.
Below the project tree you will find a small details panel showing the full information of the
currently selected item. This panel also includes the latest paragraph and character counts in
addition to the word count.
.. _a_ui_tree_novel:
The Novel Tree
--------------
An alternative way to view the project structure is the novel tree. You can switch to this view by
selecting the :guilabel:`Novel` tab under the project tree. This view is a simplified version of
the view in the :guilabel:`Outline`. It is convenient when you want to browse the structure of the
story itself rather than the document files.
.. note::
You cannot reorganise the entries in the novel tree as that would imply restructuring the
content of the document files.
.. _a_ui_tree_status:
Document Importance and Status
------------------------------
Each document or folder in your project can have either a "Status" or "Importance" flag set. These
are flags that you control and define in their respective tabs in :guilabel:`Project Settings`. The
"Status" flag is intended to tag a Novel document as for instance a draft or as completed, and the
"Importance" flag is intended to tag character notes, or other notes, as for instance a main, major
or minor character.
Whether a document uses a "Status" or "Importance" flag depends on which root folder it lives in.
If it's in the :guilabel:`Novel` folder, it uses the "Status" flag, otherwise it uses an
"Importance" flag. Some folders, like :guilabel:`Trash` and :guilabel:`Outtakes` allow both.
.. _a_ui_tree_dnd:
Project Tree Drag & Drop
------------------------
The project tree allows drag & drop to a certain extent. This feature is primarily intended for
rearranging the order of your documents within each root folder, and has only limited support for
moving documents elsewhere in the project tree. In general, bulk actions are not allowed. This is
deliberate to avoid accidentally messing up your project. If you make a mistake, the last move
action can be undone by pressing :kbd:`Ctrl`:kbd:`Shift`:kbd:`Z`.
Documents and their folders can be rearranged freely within their root folders. Novel documents
cannot be moved out of the :guilabel:`Novel` folder, except to :guilabel:`Trash` and the
:guilabel:`Outtakes` folders. Notes can be moved freely between all root folders, but keep in mind
that if you move a note into a :guilabel:`Novel`, its "Importance" setting will be reset to the
default "Status" setting. See :ref:`a_ui_tree_status`.
Folders cannot be moved at all outside their root tree. Neither can a folder containing documents
be deleted. You must first delete the containing documents.
Root folders in the project tree cannot be dragged and dropped at all. If you want to reorder them,
you can move them up or down with respect to eachother from the :guilabel:`Project` menu, the
right-click context menu, or by pressing :kbd:`Ctrl`:kbd:`Shift` and the :kbd:`Up` or :kbd:`Down`
key.
.. _a_ui_edit:
Editing and Viewing Documents
=============================
To edit a document, double-click it in the project tree, or press the :kbd:`Return` key while
having it selected. This will open the document in the document editor. The editor uses a
simplified markdown format. The format is described in the :ref:`a_ui_md` section below. The editor
has a maximise button (toggles the :guilabel:`Focus Mode`) and a close button in the top-right
corner.
Any document in the project tree can also be viewed in parallel in a right hand side document
viewer. To view a document, press :kbd:`Ctrl`:kbd:`R`, or select :guilabel:`View Document` in the
menu. If you have a middle mouse button, middle-clicking on the document will also open it in the
viewer. The document viewed does not have to be the same document currently being edited. However,
If you *are* viewing the same document, pressing :kbd:`Ctrl`:kbd:`R` again will update the document
with your latest changes. You can also press the reload button in the top-right corner of the view
panel next to the close button to achieve the same thing.
Both the document editor and viewer will show the label of the document in the header at the top of
the edit or view panel. Optionally, the full project path to the document can be shown. This can be
set in :guilabel:`Preferences` from the :guilabel:`Tools` menu. Clicking on the document title bar
will select and reveal its location in the project tree, making it easier to locate in a large
project.
Any tag reference in the editor can be opened in the viewer by moving the cursor to the label and
pressing :kbd:`Ctrl`:kbd:`Return`. You can also control-click them with your mouse. In the viewer,
the references become clickable links. Clicking them will replace the content of the viewer with
the content of the document the reference points to. The document viewer keeps a history of viewed
documents, which you can navigate with the arrow buttons in the top-left corner of the viewer. If
your mouse has back and forward navigation buttons, these can be used as well. They work just like
the backward and forward features in a browser.
At the bottom of the view panel there is a :guilabel:`References` panel. (If it is hidden, click
the icon to reveal it.) This panel will show links to all documents referring back to the one
you're currently viewing, if any has been defined. The :guilabel:`Sticky` button will freeze the
content of the panel to the current document, even if you navigate to another document. This is
convenient if you want to quickly look through all documents in the list in the
:guilabel:`References` panel without losing the list in the process.
.. note::
The :guilabel:`References` panel relies on an up-to-date index of the project. The index is
maintained automatically. However, if anything is missing, or seems wrong, the index can always
be rebuilt by selecting :guilabel:`Rebuild Index` from the :guilabel:`Tools` menu, or by
pressing :kbd:`F9`.
.. _a_ui_edit_search:
Search & Replace
----------------
The document editor has a search and replace bar that can be activated with :kbd:`Ctrl`:kbd:`F` for
search mode or :kbd:`Ctrl`:kbd:`H` for search/replace mode.
Pressing :kbd:`Return` while in the search box will search for the next occurrence of the word, and
:kbd:`Shift`:kbd:`Return` for the previous. Pressing :kbd:`Return` in the replace box, will replace
the highlighted text and move to the next word.
There are a number of settings for the search bar available as toggle switches above the search
box. They allows you to search for, in order:,: matched case only, whole word results only, search
using regular expressions, loop search when reaching the end of the document, and move to the next
document when reaching the end. There is also a switch that will try to match the case of the word
when the replacement is made. That is, it will try to keep the word upper, lower, or capitalised to
match the word being replaced.
The regular expression search is somewhat dependant on which version of Qt your system has. If you
have Qt 5.13 or higher, there is better support for unicode symbols in the search.
.. _a_ui_edit_auto:
Auto-Replace as You Type
========================
A few auto-replace features are supported by the editor. You can control every aspect of the
auto-replace feature from :guilabel:`Preferences`. You can also disable this feature entirely if
you wish.
.. tip::
If you don't like auto-replacement, all symbols inserted by this feature are also available in
the :guilabel:`Insert` menu, and via convenient :ref:`a_ui_shortcuts_ins`. You may also be using
a `Compose Key`_ setup, which means you may not need the auto-replace feature.
.. _Compose Key: https://en.wikipedia.org/wiki/Compose_key
The editor is able to replace two and three hyphens with short and long dashes, triple points with
ellipsis, and replace straight single and double quotes with user-defined quote symbols. It will
also try to determine whether to use the opening or closing symbol, although this feature isn't
always accurate. Especially distinguishing between closing single quote and apostrophe can be
tricky for languages that use the same symbol for these.
.. tip::
If the auto-replace feature changes a symbol when you did not want it to change, pressing
:kbd:`Ctrl`:kbd:`Z` immediately after the auto-replacement will undo it without undoing the
character you typed.
.. _a_ui_md:
Markdown Format
===============
The document editor uses a simplified markdown format. That is, it supports basic formatting like
emphasis (italic), strong importance (bold) and strikethrough text, as well as four levels of
headings.
Some non-standard markdown features have been added. For instance, novelWriter allows for comments,
a synopsis tag, and a set of keyword and value sets used for tags and references.
.. _a_ui_md_head:
Headings
--------
Four levels of headings are allowed. For documents of layout ``Note``, they are free to be used as
you see fit, but for all other layouts used for the novel text itself, they indicate the structural
level of the novel. See :ref:`a_struct_heads` for more details.
``# Title``
Heading level one. If the document is a novel file, the header level indicates the start of a
new partition. This heading level can also be used for the title page's novel title.
``## Title``
Heading level two. If the document is a novel file, the header level indicates the start of a
new chapter. Chapter numbers can be inserted automatically when exporting the manuscript.
``### Title``
Heading level three. If the document is a novel file, the header level indicates the start of a
new scene. Scene numbers or scene separators can be inserted automatically when exporting the
manuscript, so you can use the title field as a working title for your scenes if you wish.
``#### Title``
Heading level four. If the document is a novel file, the header level indicates the start of a
new section. Section titles can be replaced by separators or removed when exporting the
manuscript, so you can use the title field as a working title for your sections if you wish.
.. note::
The space after the ``#`` characters is mandatory. The syntax highlighter will change colour and
font size when the heading is correctly formatted.
.. tip::
If you do use the automatic numbering feature for exports, you can tell the export tool to skip
assigning a number to a specific chapter by adding a ``*`` as the first character of the title
itself. See :ref:`a_struct_heads_unnum` for more details.
.. _a_ui_md_emph:
Text Emphasis
-------------
A minimal set of text emphasis styles are supported.
``_text_``
The text is rendered as emphasised text (italicised).
``**text**``
The text is rendered as strongly important text (bold).
``~~text~~``
Strikethrough text.
In markdown guides it is often recommended to differentiate between strong importance and emphasis
by using ``**`` for strong and ``_`` for emphasis, although markdown generally also supports ``__``
for strong and ``*`` for emphasis. However, since the differentiation makes the highlighting and
conversion significantly simpler and faster, in novelWriter this is a rule, not just a
recommendation.
In addition, the following rules apply:
1. The emphasis and strikethrough formatting tags do not allow spaces between the words and the tag
itself. That is, ``**text**`` is valid, ``**text **`` is not.
2. More generally, the delimiters must be on the outer edge of words. That is, ``some **text in
bold** here`` is valid, ``some** text in bold** here`` is not.
3. If using both ``**`` and ``_`` to wrap the same text, the underscore must be the inner wrapper.
This is due to the underscore also being a valid word character, so if they are on the outside,
they violate rule 2.
4. Text emphasis does not span past line breaks. If you need to add emphasis to multiple lines or
paragraphs, you must apply it to each of them in turn.
.. _a_ui_md_comm:
Comments and Synopsis
---------------------
In addition to these standard markdown features, novelWriter also allows for comments in documents.
The text of a comment is ignored by the word counter. The text can also be filtered out when
exporting or viewing the document.
If the first word of a comment is ``Synopsis:`` (with the colon included), the comment is treated
specially and will show up in the :ref:`a_ui_outline` in a dedicated column. The word ``synopsis``
is not case sensitive. If it is correctly formatted, the syntax highlighter will indicate this by
altering the colour of the word.
``% text...``
This is a comment. The text is not exported by default (this can be overridden), seen in the
document viewer, or counted towards word counts.
``% Synopsis: text...``
This is a synopsis comment. It is generally treated in the same way as a regular comment, except
that it is also captured by the indexing algorithm and displayed in the :ref:`a_ui_outline`. It
can also be filtered separately when exporting the project to for instance generate an outline
document of the whole project.
.. note::
Only one comment can be flagged as a synopsis comment for each heading. If multiple comments are
flagged as synopsis comments, the last one will be used and the rest ignored.
.. _a_ui_md_tags:
Tags and References
-------------------
The document editor supports a minimal set of keywords used for setting tags, and making references
between documents. The tags and references can be set once per section defined by a heading. Using
them multiple times under the same heading will just override the previous setting.
``@keyword: value``
A keyword argument followed by a value, or a comma separated list of values.
The available tag and reference keywords are listed in the :ref:`a_struct_tags` section. They can
also be inserted at the cursor position in the editor via the :guilabel:`Insert` menu.
.. _a_ui_md_add:
Additional Markdown and Non-Standard Features
---------------------------------------------
The editor and viewer also support markdown standard hard line breaks, and preserve non-breaking
spaces if running with Qt 5.9 or higher. For older versions, the non-breaking spaces are lost when
the document is saved. This is unfortunately hard-coded into the Qt text editor.
* A hard line break can be achieved by leaving two or more spaces at the end of the line. This is
standard markdown syntax. Alternatively, the user can press :kbd:`Ctrl`:kbd:`K`, :kbd:`Return` to
insert this type of line break.
* A non-breaking space can be inserted with :kbd:`Ctrl`:kbd:`K`, :kbd:`Space`.
* Thin spaces are also supported, and can be inserted with :kbd:`Ctrl`:kbd:`K`,
:kbd:`Shift`:kbd:`Space`.
* Non-breaking thin space can be inserted with :kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`Space`.
These are all insert features, and the :guilabel:`Insert` menu has more. They are also listed
in :ref:`a_ui_shortcuts_ins`.
Both hard line breaks and non-breaking spaces are highlighted by the syntax highlighter as an
alternate coloured background, depending on the selected theme.
.. tip::
Non-breaking spaces are the correct type of space to separate a number from its unit. Generally,
it prevents the line wrapping algorithms from adding line breaks where it shouldn't.
.. _a_ui_outline:
Project Outline View
====================
The project's Outline view is available as the second tab on the right hand side of the main window
labelled :guilabel:`Outline`. The outline provides an overview of the novel structure, displaying a
tree hierarchy of the elements of the novel, that is, the level 1 to 4 headings representing
partitions, chapters, scenes and sections.
The document containing the heading can also be displayed as a separate column, as well as the line
number where it occurs. Double-clicking an entry will open the corresponding document in the
editor.
.. note::
Since the internal structure of the novel does not depend directly on the folder and document
structure of the project tree, these will not necessarily look the same, depending on how you
choose to organise your documents. See the :ref:`a_struct` page for more details.
Various meta data and information extracted from tags can be displayed in columns in the outline.
A default set of such columns is visible, but you can turn on or off more columns by right clicking
the header and selecting the columns you want to show. The order of the columns can also be
rearranged by dragging them to a different position.
.. note::
The :guilabel:`Title` column cannot be disabled or moved.
The information viewed in the outline is based on the project's main index. While novelWriter does
its best to keep the index up to date when contents change, you can always rebuild it manually by
pressing :kbd:`F9` if something isn't right.
The outline view itself can be regenerated by pressing :kbd:`F10`. You can also enable automatic
updating in the :guilabel:`Tools` menu, which will trigger an update whenever the index is updated
and the :guilabel:`Outline` tab is active. You may want to disable this feature if your project is
very large,
The :guilabel:`Synopsis` column of the outline view takes its information from a specially
formatted comment. See :ref:`a_ui_md_comm`.
.. _a_ui_shortcuts:
Keyboard Shortcuts
==================
Most features are available as keyboard shortcuts. These are as follows:
.. csv-table:: Keyboard Shortcuts
:header: "Shortcut", "Description"
:widths: 30, 70
:class: "tight-table"
":kbd:`Alt`:kbd:`1`", "Switch focus to the project tree."
":kbd:`Alt`:kbd:`2`", "Switch focus to document editor."
":kbd:`Alt`:kbd:`3`", "Switch focus to document viewer."
":kbd:`Alt`:kbd:`4`", "Switch focus to outline view."
":kbd:`Alt`:kbd:`Left`", "Move backward in the view history of the document viewer."
":kbd:`Alt`:kbd:`Right`", "Move forward in the view history of the document viewer."
":kbd:`Ctrl`:kbd:`.`", "Open menu to correct word under cursor."
":kbd:`Ctrl`:kbd:`,`", "Open the :guilabel:`Preferences` dialog."
":kbd:`Ctrl`:kbd:`/`", "Change block format to comment."
":kbd:`Ctrl`:kbd:`0`", "Remove block formatting for block under cursor."
":kbd:`Ctrl`:kbd:`1`", "Change block format to header level 1."
":kbd:`Ctrl`:kbd:`2`", "Change block format to header level 2."
":kbd:`Ctrl`:kbd:`3`", "Change block format to header level 3."
":kbd:`Ctrl`:kbd:`4`", "Change block format to header level 4."
":kbd:`Ctrl`:kbd:`A`", "Select all text in the document."
":kbd:`Ctrl`:kbd:`B`", "Format selected text, or word under cursor, with strong emphasis (bold)."
":kbd:`Ctrl`:kbd:`C`", "Copy selected text to clipboard."
":kbd:`Ctrl`:kbd:`D`", "Strikethrough selected text, or word under cursor."
":kbd:`Ctrl`:kbd:`E`", "If in the project tree, edit a document or folder settings. (Same as :kbd:`F2`.)"
":kbd:`Ctrl`:kbd:`F`", "Open the search bar and search for the selected word, if any is selected."
":kbd:`Ctrl`:kbd:`G`", "Find next occurrence of search word in current document. (Same as :kbd:`F3`.)"
":kbd:`Ctrl`:kbd:`H`", "Open the search and replace bar and search for the selected word, if any is selected. (On Mac, this is :kbd:`Cmd`:kbd:`=`.)"
":kbd:`Ctrl`:kbd:`I`", "Format selected text, or word under cursor, with emphasis (italic)."
":kbd:`Ctrl`:kbd:`K`", "Activate the insert commands. The commands are listed in :ref:`a_ui_shortcuts_ins`."
":kbd:`Ctrl`:kbd:`N`", "Create new document."
":kbd:`Ctrl`:kbd:`O`", "Open selected document."
":kbd:`Ctrl`:kbd:`Q`", "Exit novelWriter."
":kbd:`Ctrl`:kbd:`R`", "If in the project tree, open a document for viewing. If the editor has focus, open current document for viewing."
":kbd:`Ctrl`:kbd:`S`", "Save the current document in the document editor."
":kbd:`Ctrl`:kbd:`V`", "Paste text from clipboard to cursor position."
":kbd:`Ctrl`:kbd:`W`", "Close the current document in the document editor."
":kbd:`Ctrl`:kbd:`X`", "Cut selected text to clipboard."
":kbd:`Ctrl`:kbd:`Y`", "Redo latest undo."
":kbd:`Ctrl`:kbd:`Z`", "Undo latest changes."
":kbd:`Ctrl`:kbd:`F7`", "Toggle spell checking."
":kbd:`Ctrl`:kbd:`F10`", "Toggle automatic updating of project outline."
":kbd:`Ctrl`:kbd:`Up`", "Move item one step up in the project tree."
":kbd:`Ctrl`:kbd:`Down`", "Move item one step down in the project tree."
":kbd:`Ctrl`:kbd:`Del`", "Delete next word in editor."
":kbd:`Ctrl`:kbd:`Backspace`", "Delete previous word in editor."
":kbd:`Ctrl`:kbd:`'`", "Wrap selected text, or word under cursor, in single quotes."
":kbd:`Ctrl`:kbd:`""`", "Wrap selected text, or word under cursor, in double quotes."
":kbd:`Ctrl`:kbd:`Retrun`", "Open the tag or reference under the cursor in the Viewer."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`,`", "Open the :guilabel:`Project Settings` dialog."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`/`", "Remove block formatting for block under cursor."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`1`", "Replace occurrence of search word in current document, and search for next occurrence."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`A`", "Select all text in current paragraph."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`G`", "Find previous occurrence of search word in current document. (Same as :kbd:`Shift`:kbd:`F3`.)"
":kbd:`Ctrl`:kbd:`Shift`:kbd:`I`", "Import text to the current document from a text file."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`N`", "Create new folder."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`O`", "Open a project."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`R`", "Close the document viewer."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`S`", "Save the current project."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`W`", "Close the current project."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`Z`", "Undo move of project tree item."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`Del`", "If in the project tree, move a document to trash, or delete a folder."
":kbd:`F1`", "Open the documentation. This will either open the Qt Assistant, if available, or send you to the documentation website."
":kbd:`F2`", "If in the project tree, edit a document or folder settings. (Same as :kbd:`Ctrl`:kbd:`E`)"
":kbd:`F3`", "Find next occurrence of search word in current document. (Same as :kbd:`Ctrl`:kbd:`G`)"
":kbd:`F5`", "Open the :guilabel:`Build Novel Project` dialog."
":kbd:`F6`", "Open the :guilabel:`Writing Statistics` dialog."
":kbd:`F7`", "Re-run spell checker."
":kbd:`F8`", "Activate :guilabel:`Focus Mode`, hiding the project tree and document viewer."
":kbd:`F9`", "Re-build the project index."
":kbd:`F10`", "Re-build the project outline."
":kbd:`F11`", "Activate full screen mode."
":kbd:`Shift`:kbd:`F1`", "Open the online documentation in the system default browser."
":kbd:`Shift`:kbd:`F3`", "Find previous occurrence of search word in current document. (Same as :kbd:`Ctrl`:kbd:`Shift`:kbd:`G`.)"
":kbd:`Shift`:kbd:`F6`", "Open the :guilabel:`Project Details` dialog."
":kbd:`Return`", "If in the project tree, open a document for editing."
.. note::
On macOS, replace :kbd:`Ctrl` with :kbd:`Cmd`.
.. _a_ui_shortcuts_ins:
Insert Shortcuts
----------------
A set of insert features are also available through shortcuts, but they require a double
combination of key sequences. The insert feature is activated with :kbd:`Ctrl`:kbd:`K`, followed by
a key or key combination for the inserted content.
.. csv-table:: Keyboard Shortcuts
:header: "Shortcut", "Description"
:widths: 40, 60
:class: "tight-table"
":kbd:`Ctrl`:kbd:`K`, :kbd:`−`", "Insert a short dash (en dash)."
":kbd:`Ctrl`:kbd:`K`, :kbd:`_`", "Insert a long dash (em dash)."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`_`", "Insert a horizontal bar (quotation dash)."
":kbd:`Ctrl`:kbd:`K`, :kbd:`~`", "Insert a figure dash (same width as a number)."
":kbd:`Ctrl`:kbd:`K`, :kbd:`1`", "Insert a left single quote."
":kbd:`Ctrl`:kbd:`K`, :kbd:`2`", "Insert a right single quote."
":kbd:`Ctrl`:kbd:`K`, :kbd:`3`", "Insert a left double quote."
":kbd:`Ctrl`:kbd:`K`, :kbd:`4`", "Insert a right double quote."
":kbd:`Ctrl`:kbd:`K`, :kbd:`'`", "Insert a modifier apostrophe."
":kbd:`Ctrl`:kbd:`K`, :kbd:`.`", "Insert an ellipsis."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`'`", "Insert a prime."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`""`", "Insert a double prime."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Return`", "Insert a hard line break."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Space`", "Insert a non-breaking space."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Shift`:kbd:`Space`", "Insert a thin space."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`Space`", "Insert a thin non-breaking space."
":kbd:`Ctrl`:kbd:`K`, :kbd:`*`", "Insert a list bullet."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`−`", "Insert a hyphen bullet (alternative bullet)."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`*`", "Insert a flower mark (alternative bullet)."
":kbd:`Ctrl`:kbd:`K`, :kbd:`%`", "Insert a per mille symbol."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`O`", "Insert a degree symbol."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`X`", "Insert a times sign."
":kbd:`Ctrl`:kbd:`K`, :kbd:`Ctrl`:kbd:`D`", "Insert a division sign."
":kbd:`Ctrl`:kbd:`K`, :kbd:`G`", "Insert a ``@tag`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`V`", "Insert a ``@pov`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`F`", "Insert a ``@focus`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`C`", "Insert a ``@char`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`P`", "Insert a ``@plot`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`T`", "Insert a ``@time`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`L`", "Insert a ``@location`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`O`", "Insert an ``@object`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`E`", "Insert an ``@entity`` keyword."
":kbd:`Ctrl`:kbd:`K`, :kbd:`X`", "Insert a ``@custom`` keyword."

View File

@@ -0,0 +1,50 @@
.. _a_notes:
*************
Project Notes
*************
novelWriter doesn't have a database and complicated forms for filling in details about plot
elements, characters, and all sorts of additional information that isn't a part of the novel text
itself. Instead, all such information is saved in notes that are written and maintained just like
all other text in your project.
The relation between all these additional elements is extracted from the documents and notes by the
project indexer, based on the tags and references you set within them.
Using notes is not required, but making at least minimal notes for each plot element, and adding a
tag to them, makes it possible to use the :guilabel:`Outline` feature to see how each element
intersects with each section of the novel itself, and adds clickable cross-references between
documents in the editor and viewer.
.. _a_notes_tags:
Tags in Notes
=============
Each new heading in a note can have a tag associated with it. The format of a tag is
``@tag: tagname``, where tagname is a unique identifier. Tags can then be referenced in the novel
documents, or cross-referenced in other notes, and will show up in the outline view and in the
back-reference panel when a document is being viewed. See :ref:`a_struct_tags` for how to reference
notes.
The syntax highlighter will alert the user that the keyword is correctly used and that the tag is
allowed, that is, the tag is unique. Duplicate tags should be detected as long as the index is up
to date. An invalid tag should have a green wiggly line under it, and will not receive the syntax
colour that valid tags do.
The tag is the only part of these notes that the application uses. The rest of the document content
is there for the writer to use in whatever way they wish. Of course, the content of the documents
can be exported if you want to compile a single document of all your notes, or include them in an
outline.
A note can also reference other notes in the same way novel documents do. When the note is opened
in the view panel, the references become clickable links, making it easier to follow connections in
the plot. Notes don't show up in the outline view though, so referencing between notes is only
meaningful if you want to be able to click-navigate between them.
.. tip::
If you cross-reference between notes and export your project as an HTML document using the
:guilabel:`Build Novel Project` tool, the cross-references become clickable links in the
exported HTML document.

View File

@@ -0,0 +1,335 @@
.. _a_proj:
**************
Novel Projects
**************
A new project can be created from the :guilabel:`Project` menu by selecting
:guilabel:`New Project`. This will open the :guilabel:`New Project Wizard` that will assist you in
creating a barebone project suited to your needs. A novelWriter project requires a dedicated folder
for storing its files on the local file system. See :ref:`a_tech` for further details on how files
are organised.
A list of recently opened projects is maintained, and displayed in the :guilabel:`Open Project`
dialog. A project can be removed from this list by selecting it and pressing the :kbd:`Del` key or
by clicking the :guilabel:`Remove` button.
Project-specific settings are available in :guilabel:`Project Settings` in the :guilabel:`Project`
menu. See further details below in the :ref:`a_proj_settings` section. Details about the project,
including word counts, and a table of contents with word and page counts, is available through the
:guilabel:`Project Details` dialog.
.. _a_proj_roots:
Project Roots
=============
Projects are structured into a set of top level folders called *root folders*. They are visible in
the project tree at the left side of the main window.
The core novel documents go into a root folder of type :guilabel:`Novel`. Other supporting
documents go into the other root folders. These other root folder types are intended for your notes
on the various elements of your story. Using them is of course entirely optional.
A new project may not have all of the root folders present, but you can add the ones you want from
:guilabel:`Create Root Folder` in the :guilabel:`Project` menu.
The root folders are intended for the following use, but aside from the :guilabel:`Novel` folder,
no restrictions are enforced by the application. You can use them however you want.
:guilabel:`Novel`
This is the root folder of all text that goes into the final novel. This class of documents have
other rules and features than other documents in the project. See :ref:`a_struct` for more
details.
:guilabel:`Plot`
This is the root folder where main plots can be outlined. It is optional, but adding at least
dummy notes can be useful in order to tag plot elements for the Outline view. Tags in this
folder can be references using the ``@plot`` keyword.
:guilabel:`Characters`
Character notes go in this root folder. These are especially important if one wants to use the
Outline view to see which character appears where, and which part of the story is told from a
specific character's point-of-view or focusing on a particular character's storyline. Tags in
this folder can be referenced using the ``@pov`` keyword for point-of-view characters,
``@focus`` for a focus character, or the ``@char`` keyword for any other characters.
:guilabel:`Locations`
The locations folder is for various scene locations that you want to track. Tags in this folder
can be references using the ``@location`` keyword.
:guilabel:`Timeline`
If the story has multiple plot timelines or jumps in time within the same plot, this class of
notes can be used to track this. Tags in this folder can be references using the ``@time``
keyword.
:guilabel:`Objects`
Important objects in the story, for instance important objects that change hands often, can be
tracked here. Tags in this folder can be references using the ``@object`` keyword.
:guilabel:`Entities`
Does your plot have many powerful organisations or companies? Or other entities that are part of
the plot? They can be organised here. Tags in this folder can be references using the
``@entity`` keyword.
:guilabel:`Custom`
The custom root folder can be used for tracking anything else not covered by the above options.
Tags in this folder can be references using the ``@custom`` keyword.
The root folders correspond to the categories of tags that can be used to reference them. For more
information about the tags listed, see :ref:`a_struct_tags`.
.. tip::
You can rename root folders to whatever you want. The first character in the :guilabel:`Flags`
column in the project tree will still indicate what type they are, and so will the icon if you
are using one of the optional icon sets.
.. _a_proj_roots_del:
Deleted Documents
-----------------
Deleted documents will be moved into a special :guilabel:`Trash` root folder. Documents in the
trash folder can then be deleted permanently, either individually, or by emptying the trash from
the menu. Documents in the trash folder are removed from the project index and cannot be
referenced.
Folders and root folders can only be deleted when they are empty. Recursive deletion is not
supported. A document or a folder can be deleted from the :guilabel:`Project` menu, or by pressing
:kbd:`Ctrl`:kbd:`Shift`:kbd:`Del`.
.. _a_proj_roots_out:
Archived Documents (Outtakes)
-----------------------------
If you don't want to delete a document, or put it in the :guilabel:`Trash` folder where it may be
deleted, but still want it out of your main project tree, you can create an :guilabel:`Outtakes`
root folder from the :guilabel:`Project` menu. You are not allowed to move entire folders to this
root folder, only documents. If you need folders in it to organise your documents, you can of
course create new ones there.
You can drag any document to this folder and preserve its settings. The document will always be
excluded from the :guilabel:`Build Novel Project` builds. It is also removed from the project
index, so the tags and references defined in it will not show up anywhere else.
.. _a_proj_roots_orph:
Recovered Documents
-------------------
If novelWriter crashes or otherwise exits without saving the project state, or if you're using a
file synchronisation tool that runs out of sync, there may be files in the project folder that
aren't tracked in the core project file. These files, when discovered, are recovered and added back
into the project if possible.
The discovered files are scanned for meta information that gives clues as to where the document may
previously have been located in the project. The project loading routines will try to put them back
as close as possible to this location, if it still exists. Generally, it will be appended to the
end of the folder where it previously was located. If that folder doesn't exist, it will try to add
it to the correct root folder. If it cannot figure out which root folder is correct, the document
will be added to the :guilabel:`Novel` root folder. Only if the :guilabel:`Novel` folder is
missing will it give up.
If the title of the document can be recovered, the word "Recovered:" will be added as a prefix. If
the title cannot be determined, the document will be named "Recovered File N" where N is a
sequential number.
.. _a_proj_roots_lock:
Project Lockfile
----------------
To prevent lost documents caused by file conflicts when novelWriter projects are synced with file
synchronisation tools, a project lockfile is written to the project folder. If you try to open a
project which has such a file present, you will be presented with a warning, and some information
about where else novelWriter thinks the project is also open. You will be give the option to ignore
this warning, and continue opening the project at your own risk.
.. note::
If, for some reason, novelWriter crashes, the lock file may remain even if there are no other
instances keeping the project open. In such a case it is safe to ignore the lock file warning
when re-opening the project.
.. warning::
If you choose to ignore the warning and continue opening the project, and multiple instances of
the project are in fact open, you are likely to cause inconsistencies and create diverging
project files, potentially resulting in loss of data and orphaned files. You are not likely to
lose any actual text unless both instances have the same document open in the editor, and
novelWriter will try to resolve inconsistencies the next time you open the project.
.. _a_proj_roots_dirs:
Using Folders in the Project Tree
---------------------------------
Folders, aside from root folders, have no structural significance to the project. When novelWriter
is processing the documents in the novel, like for instance during export, these folders are
ignored. Only the order of the documents themselves matter.
The folders are there purely as a way for the user to organise the documents in meaningful sections
and to be able to collapse and hide them in the project tree when you're not working on those
documents.
.. tip::
You can use folders to sort your scene documents into chapters. You will still need to add a
chapter document as the first item of your chapter folder, and the scene documents as the
following items. Another way to use folders is to make a folder for each act.
.. _a_proj_files:
Project Documents
=================
New documents can be created from the :guilabel:`Document` menu, or by pressing :kbd:`Ctrl`:kbd:`N`
while in the project tree. This will create a new, empty document, and open the :guilabel:`Item
Settings` dialog where the document label and various other settings can be changed. This dialog
can also be opened again later from either the :guilabel:`Project` menu, selecting :guilabel:`Edit
Project Item`, or by pressing :kbd:`Ctrl`:kbd:`E` or :kbd:`F2` with the item selected.
The layout of the document is also defined here. For Novel documents, the full list of layout
options are available. For non-Novel documents, only :guilabel:`Note` is available. See
:ref:`a_struct_layout` for more details.
You can also select whether the document is by default included when building the project. This
setting can be overridden in the :guilabel:`Build Novel Project` tool if you wish to include them
anyway. This is covered in the :ref:`a_export_files` section. You can also toggle the included
state of a document from the right-click context menu.
.. _a_proj_files_counts:
Word Counts
-----------
A character, word and paragraph count is maintained for each document, as well as for each section
of a document following a header. The word count, and change of words in the current session, is
displayed in the footer of any document open in the editor, and all stats are shown in the details
panel below the project tree for any document selected in the project or novel tree.
The word counts are not updated in real time, but run in the background every five seconds for as
long as the document is being actively edited.
A total project word count is displayed in the status bar. The total count depends on the sum of
the values in the project tree, which again depend on an up to date index. If the counts seem
wrong, a full project word recount can be initiated by rebuilding the project's index. Either form
the :guilabel:`Tools` menu, or by pressing :kbd:`F9`.
.. _a_proj_settings:
Project Settings
================
The :guilabel:`Project Settings` can be accessed from the :guilabel:`Project` menu, or by pressing
:kbd:`Ctrl`:kbd:`Shift`:kbd:`,`. This will open a dialog box, with a set of tabs.
Settings Tab
------------
The :guilabel:`Settings` tab holds the project title and author settings.
The :guilabel:`Working Title` can be set to a different title than the :guilabel:`Book Title`. The
difference between them is simply that the :guilabel:`Working Title` is used for the GUI (main
window title) and for generating the backup files. The intention is that the :guilabel:`Working
Title` should remain unchanged throughout the project, otherwise the name of exported files and
backup files may change too.
The :guilabel:`Book Title` and :guilabel:`Book Authors` settings are currently not used for
anything, so setting then is just for the benefit of the author. Future features may be using them,
and they are exported on some export formats in the :guilabel:`Build Novel Project` tool.
If your project is in a different language than your main spell checking is set to, you can
override the default spell checking language here. You can also override the automatic backup
setting.
Status and Importance Tabs
--------------------------
Each document or folder of type :guilabel:`Novel` can be given a status level, signified by a
coloured icon, and each document or folder of the remaining types can be given an importance level.
These are colour coded icons and labels that can be applied to each document or folder.
These are purely there for the user's convenience, and you are not required to use them for any
other features to work. No other part of novelWriter accesses this information. The intention is to
use these to indicate at what stage of completion each novel document is, or how important the
content of a note is to the plot. You don't have to use them this way, that's just what they were
intended for, but you can make them whatever you want.
See also :ref:`a_ui_tree_status`.
.. note::
The status or importance level currently in use by one or more documents cannot be deleted, but
they can be edited.
Auto-Replace Tab
----------------
A set of automatically replaced keywords can be added in this tab. The keywords in the left column
will be replaced by the text in the right column when documents are opened in the viewer. They will
also be applied to exports.
The auto-replace feature will replace text in angle brackets that are in this list. The syntax
highlighter will add an alternate colour to text marching the syntax, but it doesn't check if the
text is in this list.
.. note::
A keyword cannot contain spaces. The angle brackets are added by default, and when used in the
text are a part of the keyword to be replaced. This is to ensure that parts of the text aren't
unintentionally replaced by the content of the list.
.. _a_proj_backup:
Backup
======
An automatic backup system is built into novelWriter. In order to use it, a backup path to where
the backup files are to be stored must be provided in :guilabel:`Preferences`.
Backups can be run automatically when a project is closed, which also implies it is run when the
application itself is closed. Backups are date stamped zip files of the entire project folder, and
are stored in a subfolder of the backup path. The subfolder will have the same name as the project
:guilabel:`Working Title` set in :ref:`a_proj_settings`.
The backup feature, when configured, can also be run manually from the :guilabel:`Tools` menu.
It is also possible to disable automated backup for a given project in :guilabel:`Project
Settings`.
.. note::
For the backup to be able to run, the :guilabel:`Working Title` must be set in
:guilabel:`Project Settings`. This value is used to generate the folder name for the zip files.
Without it, the backup will not run at all, but it will produce a warning message.
.. _a_proj_stats:
Writing Statistics
==================
When you work on a project, a log file records when you opened it, when you closed it, and the
total word counts of your novel documents and notes at the end of the session. You can view this
file in the ``meta`` folder in the directory where you saved your project. The file is named
``sessionStats.log``.
A tool to view the content of this file is available in the :guilabel:`Tools` menu under
:guilabel:`Writing Statistics`. You can also launch it by pressing :kbd:`F6`.
The tool will show a list of all your sessions, and a set of filters to apply to it. You can also
export the filtered data to a JSON file or to a CSV file that can be opened by a spreadsheet
application like for instance Libre Office Calc.
As of version 1.2, the log file also stores how much of the session time was spent idle. The
definition of idle here is that the novelWriter main window loses focus, and the user hasn't made
any changes to the currently open document in five minutes. The number of minutes can be altered in
:guilabel:`Preferences`.

View File

@@ -0,0 +1,250 @@
.. _a_struct:
***************
Novel Structure
***************
This section covers the structure of a novel project.
It concerns documents under the :guilabel:`Novel` type root folder only. There are some
restrictions and features that only apply to these types of documents.
.. _a_struct_heads:
Importance of Headings
======================
Subfolders under root folders have no impact on the structure of the novel itself. The structure is
instead dictated by the heading level of the headers within the documents.
Four levels of headings are supported, signified by the number of hashes (``#``) preceding the
title. See also the :ref:`a_ui_md` section for more details about the markdown syntax.
.. note::
The header levels are not only important when generating the exported novel file, they are also
used by the indexer when building the outline tree in the :guilabel:`Outline` tab as well as the
:guilabel:`Novel` tab of the project tree. Each heading also starts a new region where new
references and tags can be defined.
The different header levels are interpreted as specific section types of the novel in the following
way:
``# Header1``
Header level one signifies that the text refers to either the novel title or the name of a top
level partition. The latter is useful when you want to split the manuscript up into books,
parts, or acts.
``## Header2``
Header level two signifies a chapter level partition. Each time you want to start a new chapter,
you must add such a heading. If you choose to split your manuscript up into one document per
scene, you need a single chapter document with just the heading. You can of course also add a
synopsis and reference keywords to the chapter document. If you want to open the chapter with a
quote or other introductory text that isn't part of a scene, this is also where you'd put that
text.
``### Header3``
Header level three signifies a scene level partition. You must provide a title text, but the
title text can be replaced with a scene separator or just skipped entirely when you export your
manuscript.
``#### Header4``
Header level four signifies a sub-scene level partition, usually called a "section" in the
documentation and the user interface. These can be useful if you want to change tag references
mid-scene, like if you change the point-of-view character. You are free to use sections as you
wish, and can filter them out of the final manuscript just like with scene titles.
.. tip::
There are multiple options of how to process novel titles when exporting the manuscript. For
instance, chapter numbers can be applied automatically, and so can scene numbers if you want
them in a draft manuscript. See the :ref:`a_export` page for more details.
.. _a_struct_heads_unnum:
Unnumbered Chapter Headings
---------------------------
If you use layout types for your documents, the automatic numbering feature for your chapters is
controlled by whether you use the :guilabel:`Chapter` or :guilabel:`Unnumbered` layout type for
your document. However, if you have a different document layout where this isn't practical, you can
also switch off chapter numbering for a chapter by making the first character of the chapter title
an asterisk (``*``). Like so:
``## *Unnumbered Chapter Title``
The leading asterisk is only considered by the :guilabel:`Build Novel Project` tool, and will be
removed before the title is inserted at the location of the ``%title%`` label. See the
:ref:`a_export` page for more details.
.. note::
If you need the first character of the title to be an actual asterisk, you must escape it:
``\*``.
.. _a_struct_tags:
Tag References
==============
Each text partition, indicated by a heading of any level, can contain references to tags set in the
supporting notes of the project. The references are gathered by the indexer and used to generate an
outline view on the :guilabel:`Outline` tab of how the different parts of the novel are connected.
This section covers how to set references to tags. See :ref:`a_notes_tags` for how to define tags
the references can point to.
References and tags are also clickable in the document editor and viewer, making it easy to
navigate between reference notes while writing. Clicked links are always opened in the view panel.
References are set as a keyword and a list of corresponding tags. The valid keywords are listed
below. The format of a reference line is ``@keyword: value1, [value2] ... [valueN]``. All keywords
allow multiple values.
``@pov``
The point-of-view character for the current section. The target must be a note tag in the
:guilabel:`Character` type root folder.
``@focus``
The character that has the focus for the current section. This can be used in cases where the
focus is not a point-of-view character. The target must be a note tag in the
:guilabel:`Character` type root folder.
``@char``
Other characters in the current section. The target must be a note tag in the
:guilabel:`Character` type root folder. This should not include the point-of-view character.
``@plot``
The plot or subplot advanced in the current section. The target must be a note tag in the
:guilabel:`Plot` type root folder.
``@time``
The timelines touched by the current section. The target must be a note tag in the
:guilabel:`Timeline` type root folder.
``@location``
The location the current section takes place in. The target must be a note tag in the
:guilabel:`Locations` type root folder.
``@object``
Objects present in the current section. The target must be a note tag in the :guilabel:`Object`
type root folder.
``@entity``
Entities present in the current section. The target must be a note tag in the
:guilabel:`Entities` type root folder.
``@custom``
Custom references in the current section. The target must be a note tag in a :guilabel:`Custom`
type root folder.
The syntax highlighter will alert the user that the tags and references are used correctly, and
that the tags referenced exist.
The highlighter may be mistaken if the index of defined tags is out of date. If so, press :kbd:`F9`
to regenerate it, or select :guilabel:`Rebuild Index` from the :guilabel:`Tools` menu. In general,
the index for a document is regenerated when it is saved, so this shouldn't normally be necessary.
.. _a_struct_layout:
Novel Document Layout
=====================
All documents in the project can have a layout format set. These layouts are important when the
project is exported as they indicate how to treat the content in terms of text formatting,
headings, and page breaks. The layout for each document is indicated as the last set of characters
in the :guilabel:`Flags` column of the project tree.
Not all layout types are actually treated differently, they also help to indicate what each
document is intended for in your project. The :guilabel:`Book` layout is a generic novel document
layout that is formatted identically to :guilabel:`Chapter` and :guilabel:`Scene` layout documents,
but may help to indicate what each document does in your project.
You can for instance lay out your project using :guilabel:`Book` documents for each act, and then
later split those into chapter or scene documents by using the :guilabel:`Split Document` tool.
Scenes can also be contained within :guilabel:`Chapter` type documents, but you lose the drag and
drop feature that comes with having them in separate documents if you organise them this way.
Some layouts *do* have implications on how the project is exported. Documents with layout
:guilabel:`Title Page` and :guilabel:`Partition` have all headings and text centred, while the
:guilabel:`Unnumbered` layout disables the automatic chapter numbering feature for everything
contained within it. The latter is convenient for Prologue and Epilogue type chapters.
The above layout formats are only usable in the Novel root folder. Documents that are not a part of
the novel itself should have the :guilabel:`Note` layout. These documents are not getting any
special formatting, and it is possible to collectively filter them out during export. Notes can be
used anywhere in the project, also in the :guilabel:`Novel` root folder.
Below is an overview of all available layout formats.
:guilabel:`Title Page`
The title page layout. The title should be formatted as a heading level one. All text is centred
on export.
:guilabel:`Plain Page`
A plain page layout useful for instance for front matter pages. Heading levels are ignored for
this layout format, and so are formatting options like :guilabel:`Justify Text`. The page is
exported with a page break before it.
:guilabel:`Book`
This is the generic novel format that in principle can be used for all novel documents. Since
the internal structure of the novel is controlled by the heading levels, this layout will
produce the same result as a collection of :guilabel:`Partition`, :guilabel:`Chapter` and
:guilabel:`Scene` layout documents. However, it does not provide the functionality of the
:guilabel:`Unnumbered` layout format by default, but this can still be achieved by prefixing the
chapter title with an asterisk (``*``). See :ref:`a_struct_heads_unnum` for more details.
:guilabel:`Partition`
A partition can be used to split the novel into parts. Partition titles are indicated with a
level one heading. You can also add text and meta data to the page. The :guilabel:`Partition`
layout will in addition force a page break before the heading, and centre all content on the
page.
:guilabel:`Chapter`
Signifies the start of a new chapter. If the text itself is contained in scene documents, these
documents should only contain the title, comments, synopsis, and tag references for characters,
plot, etc. The heading for chapters should be level two. If you need an opening text, like a
quote or other leading text before the first scene, this is also where you'd want to add this
text.
:guilabel:`Unnumbered`
Same as :guilabel:`Chapter`, but when exporting the project, and automatic chapter numbering is
enabled, documents with this layout will not increment and apply a chapter number. It also has a
separate title formatting setting. This makes the layout suitable for Prologue and Epilogue type
chapters.
:guilabel:`Scene`
Used for scenes. This document should have a header of level three. Further sections can have
headers of level four, but there are no layout specifically for sections.
:guilabel:`Note`
A generic document that is optionally ignored when the novel project is exported. Use this
layout for descriptions of content in the supporting root folders. Notes can also be added to
the :guilabel:`Novel` root folder if you need to insert notes there. Note headers receive no
special formatting when building the project. They are always exported as-is.
.. note::
The layout granularity is entirely optional. In principle, you can write the entire novel in a
single document with layout :guilabel:`Book`. You can also have a single document per chapter if
that suits you better. The :guilabel:`Outline` will show your structure of chapters and scenes
regardless of how your documents are organised. So will the novel tree.
.. tip::
You can always start writing with a coarse layout with one or a few documents, and then later
use the split tool to automatically split the documents into separate chapter and scene
documents. The split tool will try to select the correct layout for each of the new documents.
.. _a_struct_layout_auto:
Novel Layout Automation
-----------------------
When a document is saved from the document editor, novelWriter will check if the level of the first
header of the document matches the selected document layout. If the header level is inconsistent
with the layout, the layout will automatically be corrected if it can be unambiguously determined.
This means that for instance saving a document with header level three, when the layout is set to
:guilabel:`Chapter`, the layout will automatically be changed to :guilabel:`Scene`. If, however,
the layout was set to :guilabel:`Book`, no change will be made because the :guilabel:`Book` layout
is not associated with a specific header level.

View File

@@ -0,0 +1,104 @@
.. _a_typ:
*******************
Typographical Notes
*******************
novelWriter has some support for typographical symbols that are not usually easily available in
many text editors. This includes for instance the proper unicode quotation marks, dashes, ellipsis,
thin spaces, etc. All these symbols are available from the :guilabel:`Insert` menu, and via
keyboard shortcuts. See :ref:`a_ui_shortcuts_ins`.
This chapter provides some additional information on how novelWriter handles these symbols.
.. _a_typ_notes:
Special Notes on Symbols
========================
Some additional notes on the available symbols.
Dashes and Ellipsis
-------------------
With the auto-replace feature enabled (see :ref:`a_ui_edit_auto`), multiple hyphens are converted
automatically to short and long dashes, and three dots to ellipsis. The last auto-replace can
always be reverted with the undo command :kbd:`Ctrl`:kbd:`Z`, reverting the text to what you typed
before the automatic replacement occurred.
In addition, "Figure Dash" is available. The Figure Dash is a dash that has the same width as the
numbers of the same font, for most fonts. It helps to align numbers align nicely in columns when
you need to use a dash in them.
Single and Double Quotes
------------------------
All the different quotation marks listed on the `Quotation Mark`_ Wikipedia page are available, and
can be selected as auto-replaced symbols for straight single and double quote key strokes. The
settings can be found in :guilabel:`Preferences`.
Ordinarily, text wrapped in quotes are highlighted by the editor. This is meant as a convenience
for highlighting dialogue between characters. This feature can be disabled in
:guilabel:`Preferences` if this feature isn't wanted.
The editor distinguishes between text wrapped in regular straight quotes and with the user-selected
double quote symbols. This is to help the writer recognise which parts of the text are not using
the chosen quote symbols. Two convenience functions in the :guilabel:`Format` menu can be used to
re-format a selected section of text with the correct quote symbols.
.. _Quotation Mark: https://en.wikipedia.org/wiki/Quotation_mark
Single and Double Prime
------------------------
Both single and double prime symbols are available in the :guilabel:`Insert` menu. These symbols
are the correct symbols to use for unit symbols for feet, inches, minutes and seconds. The usage of
these is described in more detail on the Wikipedia Prime_ page. They look very similar to single
and double straight quotes, and may be renderred similarly by the font, but they have different
codes. Using these correctly will also prevent the auto-replace and dialogue highlighting features
misunderstanding their meaning in the text.
.. _Prime: https://en.wikipedia.org/wiki/Prime_(symbol)
Modifier Letter Apostrophe
--------------------------
The auto-replace feature will consider any right-facing single straight quote as a quote symbol,
even if it is intended as an apostrophe. This also includes the syntax highlighter, which may
assume the first following apostrophe is the closing symbol of a single quoted region of text.
To get around this, an alternative apostrophe is available. It is a special Unicode character that
is not categorised as punctuation, but as a modifier. It is usually renderred the same way as the
right single quotation marks, depending on the font. There is a Wikipedia article for the
`Modifier letter apostrophe`_ with more details.
.. note::
On export with the :guilabel:`Build Novel Project` tool, these apostrophes will be replaced
automatically with the corresponding right hand single quote symbol as is generally recommended.
Therefore it doesn't really matter if you only use them to correct highlighting.
.. _Modifier letter apostrophe: https://en.wikipedia.org/wiki/Modifier_letter_apostrophe
Special Space Symbols
---------------------
A few variations of the regular space character is supported. The correct typographical way to
separate a number from its unit is with a `thin space`_. It is usually 2/3 the width of a regular
space. For numbers and units, this should in addition be a non-breaking space, that is, the text
wrapping should not add a line break on this particular space.
A regular space can also be made into a non-breaking space if needed.
All non-breaking spaces are highlighted with a differently coloured background to make it easier to
spot them in the text. The colour will depend on the selected colour theme.
The thin and non-breaking spaces are converted to their corresponding HTML codes on export to HTML
format.
.. _thin space: https://en.wikipedia.org/wiki/Thin_space

79
i18n/README.md Normal file
View File

@@ -0,0 +1,79 @@
# novelWriter Internationalisation
The `i18n` folder contains the translation files for the Qt5 GUI. There are two types of files
involved: the `nw_XX.ts` and the `nw_XX.qm` files. The `nw_XX.ts` files are located in the `i18n`
folder at the root of the repository, and the `nw_XX.qm` together with the `project_XX.json` files
are located in `nw/assets/i18n`. The latter are JSON files translation maps for the novelWriter
projects, used by the Build Novel Project tool.
## Qt GUI Localisation
The `.qm` files are the actual files used by the application to translate the GUI into another
language other than the default British English. The files are not generated by default. They can
be built with:
```bash
python3 setup.py qtlrelease
```
To add a new translation file, first add a new entry in the `novelWriter.pro` file under the
`TRANSLATIONS` variable. Please use the underscore syntax for file names as the importer expects
this format.
After adding the entry in the `.pro` file, run:
```bash
python3 setup.py qtlupdate
```
This will build a new `i18n/nw_XX.ts` file for the language you just added. The file can then be
edited with the Qt 5 Linguist application provided by Qt. This is by far easier than manually
editing the `.ts` file. Please select "English" and "United Kingdom" as the source langauge when
prompted by Qt 5 Linguist.
When you're done editing, you can build the `nw/assets/i18n/nw_XX.qm` file and test it in
novelWriter. The Preferences dialog should list the newly added language, and you can select it and
test it.
Please do not submit the `.qm` files to the repository. Only the `.ts` files in the `i18n` folder
are needed.
**Note**
These commands require that you have the tools Qt 5 Linguist and the PyQt5 tool `pylupdate5`
installed on your system.
For Ubuntu/Debian, run:
```bash
sudo apt install qttools5-dev-tools pyqt5-dev-tools
```
### Missing QtBase Translations
The default Qt dialogs also have translations, for instance for standard buttons for "Yes", "No",
"Ok", "Cancel", etc. Generally, these translations files are installed with the Qt libraries on
your system, and novelWriter will collect those translations from there. However, these
translations are missing for many languages.
As a starting point, there is no need to translate any entries in the `.ts` files that are under
elements starting with the letter "Q", like "QPlatformTheme", "QWizard", etc. If these turn up in
English in novelWriter after activating a translation, it means they are probably missing in the Qt
library, and you may also need to translate these.
These additional translation entries are generated from a file named `i18n/qtbase.py`, which is not
a file that novelWriter uses. It is there only to generate these additional entries for the `.ts`
files.
## Project Localisation
Projects can have a different language setting than the GUI itself. The files with format
`project_XX.json` in `nw/assets/i18n` are simple translation maps for text that goes into the
exported documents generated by the Build Novel Project tool.
The files are loaded based on the language setting in the build tool. At the present time, no other
parts of the application use these files. Since these are used as replacement lookups, they are
maintained as plain JSON files. The main usage is to generate chapter headers as number words.
Adding new translations for these files is easy. Just copy the `project_en.json` file, rename it to
the appropriate language coded filename, and edit it. Please use the underscore as separator if a
language needs to be localised to a specific country under a language. The importer will for
instance look for `en_US` first, then use `en` if it is not found. If there are no matching files,
the project falls back to using English.

4931
i18n/nw_en_US.ts Normal file

File diff suppressed because it is too large Load Diff

4931
i18n/nw_fr.ts Normal file

File diff suppressed because it is too large Load Diff

4931
i18n/nw_nb_NO.ts Normal file

File diff suppressed because it is too large Load Diff

4931
i18n/nw_pt.ts Normal file

File diff suppressed because it is too large Load Diff

74
i18n/qtbase.py Normal file
View File

@@ -0,0 +1,74 @@
# -*- coding: utf-8 -*-
"""
Qt Base Translation File
========================
This file causes Qt Linguist to generate translation entries for the Qt
elements that need translation in novelWriter for those languages who do
not yet have a qtbase_xx.qm file shipped with Qt.
If a qtbase_xx.qm file already exists, do not add a translation for the
entries generated from this file.
"""
from PyQt5.QtCore import QT_TRANSLATE_NOOP
# QDialogButtonBox
# ================
QT_TRANSLATE_NOOP("QDialogButtonBox", "OK")
# QGnomeTheme
# ===========
QT_TRANSLATE_NOOP("QGnomeTheme", "&OK")
QT_TRANSLATE_NOOP("QGnomeTheme", "&Save")
QT_TRANSLATE_NOOP("QGnomeTheme", "&Cancel")
QT_TRANSLATE_NOOP("QGnomeTheme", "&Close")
QT_TRANSLATE_NOOP("QGnomeTheme", "Close without Saving")
# QGuiApplication
# ===============
QT_TRANSLATE_NOOP("QGuiApplication", (
"Translate this string to the string 'LTR' in left-to-right languages or to "
"'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout."
))
# QPlatformTheme
# ==============
QT_TRANSLATE_NOOP("QPlatformTheme", "OK")
QT_TRANSLATE_NOOP("QPlatformTheme", "Save")
QT_TRANSLATE_NOOP("QPlatformTheme", "Save All")
QT_TRANSLATE_NOOP("QPlatformTheme", "Open")
QT_TRANSLATE_NOOP("QPlatformTheme", "&Yes")
QT_TRANSLATE_NOOP("QPlatformTheme", "Yes to &All")
QT_TRANSLATE_NOOP("QPlatformTheme", "&No")
QT_TRANSLATE_NOOP("QPlatformTheme", "N&o to All")
QT_TRANSLATE_NOOP("QPlatformTheme", "Abort")
QT_TRANSLATE_NOOP("QPlatformTheme", "Retry")
QT_TRANSLATE_NOOP("QPlatformTheme", "Ignore")
QT_TRANSLATE_NOOP("QPlatformTheme", "Close")
QT_TRANSLATE_NOOP("QPlatformTheme", "Cancel")
QT_TRANSLATE_NOOP("QPlatformTheme", "Discard")
QT_TRANSLATE_NOOP("QPlatformTheme", "Help")
QT_TRANSLATE_NOOP("QPlatformTheme", "Apply")
QT_TRANSLATE_NOOP("QPlatformTheme", "Reset")
QT_TRANSLATE_NOOP("QPlatformTheme", "Restore Defaults")
# QWizard
# =======
QT_TRANSLATE_NOOP("QWizard", "Go Back")
QT_TRANSLATE_NOOP("QWizard", "< &Back")
QT_TRANSLATE_NOOP("QWizard", "Continue")
QT_TRANSLATE_NOOP("QWizard", "&Next")
QT_TRANSLATE_NOOP("QWizard", "&Next >")
QT_TRANSLATE_NOOP("QWizard", "Commit")
QT_TRANSLATE_NOOP("QWizard", "Done")
QT_TRANSLATE_NOOP("QWizard", "&Finish")
QT_TRANSLATE_NOOP("QWizard", "Cancel")
QT_TRANSLATE_NOOP("QWizard", "Cancel")
QT_TRANSLATE_NOOP("QWizard", "Help")
QT_TRANSLATE_NOOP("QWizard", "&Help")

View File

@@ -1,85 +0,0 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import getopt
import subprocess
# Defaults
buildWindowed = True
# Parse Options
shortOpt = "hd"
longOpt = [
"help",
"debug",
]
helpMsg = (
"\n"
"novelWriter Install Script\n"
"\n"
"Usage:\n"
" -h, --help Print this message.\n"
" -d, --debug Build novelWriter for debugging. To debug novelwriter after build,\n"
" run it from command line with the debug options. Please check the\n"
" novelWriter --help output for details.\n"
)
try:
inOpts, inArgs = getopt.getopt(sys.argv[1:],shortOpt,longOpt)
except getopt.GetoptError:
print(helpMsg)
sys.exit(2)
for inOpt, inArg in inOpts:
if inOpt in ("-h","--help"):
print(helpMsg)
sys.exit()
elif inOpt in ("-d", "--debug"):
buildWindowed = False
# Run pip
packList = ["pyinstaller"]
with open("requirements.txt",mode="r") as reqFile:
for reqPack in reqFile:
if len(reqPack.strip()) > 0:
packList.append(reqPack)
for packName in packList:
print("Installing package dependency: %s" % packName)
try:
subprocess.call([sys.executable, "-m", "pip", "install", packName])
except Exception as e:
print("Failed with error:")
print(str(e))
# Run pyinstaller
if sys.platform.startswith("win32"):
dotDot = ";"
else:
dotDot = ":"
instOpt = [
"--name=novelWriter",
"--onefile",
"--add-data=%s%s%s" % (os.path.join("nw", "themes"), dotDot,"themes"),
"--add-data=%s%s%s" % (os.path.join("nw", "graphics"),dotDot,"graphics"),
"--icon=%s" % os.path.join("nw", "graphics", "novelWriter.ico"),
]
if buildWindowed:
instOpt.append("--windowed")
instOpt.append("novelWriter.py")
import PyInstaller.__main__
PyInstaller.__main__.run(instOpt)
print("")
print("##################")
print(" Build Finished")
print("##################")
print("")
print("If everything went well, the novelWriter executable should be in the folder named 'dist'")
print("")

38
novelWriter.pro Normal file
View File

@@ -0,0 +1,38 @@
SOURCES += \
i18n/qtbase.py \
nw/core/document.py \
nw/core/project.py \
nw/core/tokenizer.py \
nw/dialogs/about.py \
nw/dialogs/docmerge.py \
nw/dialogs/docsplit.py \
nw/dialogs/itemeditor.py \
nw/dialogs/preferences.py \
nw/dialogs/projload.py \
nw/dialogs/projsettings.py \
nw/dialogs/wordlist.py \
nw/gui/custom.py \
nw/gui/doceditor.py \
nw/gui/docviewer.py \
nw/gui/itemdetails.py \
nw/gui/mainmenu.py \
nw/gui/noveltree.py \
nw/gui/outline.py \
nw/gui/outlinedetails.py \
nw/gui/projdetails.py \
nw/gui/projtree.py \
nw/gui/statusbar.py \
nw/gui/theme.py \
nw/tools/build.py \
nw/tools/projwizard.py \
nw/tools/writingstats.py \
nw/common.py \
nw/constants.py \
nw/error.py \
nw/guimain.py
TRANSLATIONS += \
i18n/nw_en_US.ts \
i18n/nw_fr.ts \
i18n/nw_nb_NO.ts \
i18n/nw_pt.ts

View File

@@ -1,49 +1,22 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
novelWriter – Start Script
==========================
"""
import os
import sys
if sys.hexversion < 0x030500F0:
print("ERROR: At least Python 3.5 is required")
exit(1)
try:
import PyQt5.QtWidgets
import PyQt5.QtGui
import PyQt5.QtCore
except:
print("ERROR: Failed to load dependency python3-pyqt5")
exit(1)
import PyQt5.QtWidgets # noqa: F401
import PyQt5.QtGui # noqa: F401
import PyQt5.QtCore # noqa: F401
except Exception:
print("ERROR: Failed to load dependency PyQt5")
sys.exit(1)
try:
import PyQt5.QtSvg
except:
print("ERROR: Failed to load dependency python3-pyqt5.qtsvg")
exit(1)
try:
import lxml
except:
print("ERROR: Failed to load dependency python3-lxml")
exit(1)
try:
import appdirs
except:
print("ERROR: Failed to load dependency python3-appdirs")
exit(1)
spellPack = None
try:
import enchant
spellPack = "enchant"
except:
print("WARNING: No spell check library found.")
print("Please install python3-enchant if you want to use spell checking")
os.curdir = os.path.abspath(os.path.dirname(__file__))
if __name__ == "__main__":
import nw
inArgs = sys.argv[1:]
if spellPack is not None:
inArgs.append("--spell=%s" % spellPack)
nw.main(inArgs)
nw.main(sys.argv[1:])

View File

@@ -1,41 +1,80 @@
# -*- coding: utf-8 -*-
"""novelWriter Init
"""
novelWriter – Init File
=======================
Application initialisation
novelWriter – Init File
=========================
Application initialisation
File History:
Created: 2018-09-22 [0.0.1]
File History:
Created: 2018-09-22 [0.0.1]
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import sys
import getopt
import logging
from os import path, remove, rename
from PyQt5.QtWidgets import QApplication
from nw.gui.winmain import GuiMain
from nw.config import Config
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QApplication, QErrorMessage
__package__ = "novelWriter"
__author__ = "Veronica Berglyd Olsen"
__copyright__ = "Copyright 2018–2019, Veronica Berglyd Olsen"
from nw.error import exceptionHandler, logException
from nw.config import Config
##
# Version Scheme
# ================
# Generally follows PEP 440
# Hex Version:
# - Digit 1,2 : Major Version (01-ff)
# = Digit 3,4 : Minor Version (01-ff)
# - Digit 5,6 : Patch Version (01-ff)
# = Digit 7 : Release Type (a: aplha, b: beta, c: candidate, f: final)
# - Digit 8 : Release Number (0-f)
#
# Example : Full Short Description
# -------------------------------------------------------------------------
# 0x010200a0 : 1.2-alpha0 1.2a0 Can be used for the dev branch
# 0x010200a1 : 1.2-alpha1 1.2a1 First alpha release
# 0x010200b1 : 1.2-beta1 1.2b1 First beta release
# 0x010200c1 : 1.2-rc1 1.2rc1 First release candidate
# 0x010200f0 : 1.2 1.2 Final release
# 0x010200f1 : 1.2-post1 1.2.post1 Post release, but not a code patch!
# 0x010201f0 : 1.2.1 1.2.1 Patch release
##
__package__ = "nw"
__copyright__ = "Copyright 2018–2021, Veronica Berglyd Olsen"
__license__ = "GPLv3"
__version__ = "0.4.0"
__date__ = "2019-11-03"
__author__ = "Veronica Berglyd Olsen"
__maintainer__ = "Veronica Berglyd Olsen"
__email__ = "code@vkbo.net"
__status__ = "Development"
__url__ = "https://github.com/vkbo/novelWriter"
__version__ = "1.3.2"
__hexversion__ = "0x010302f0"
__date__ = "2021-05-30"
__status__ = "Stable"
__domain__ = "novelwriter.io"
__url__ = "https://novelwriter.io"
__sourceurl__ = "https://github.com/vkbo/novelWriter"
__issuesurl__ = "https://github.com/vkbo/novelWriter/issues"
__helpurl__ = "https://github.com/vkbo/novelWriter/discussions"
__releaseurl__ = "https://github.com/vkbo/novelWriter/releases/latest"
__docurl__ = "https://novelwriter.readthedocs.io"
__credits__ = [
"Veronica Berglyd Olsen (developer)",
"Marian Lückhof (contributor, tester)"
]
#
##
# Logging
# =========
# Standard used for logging levels in novelWriter:
@@ -46,23 +85,23 @@ __credits__ = [
# ----------- SPAM Threshold : Output above should be minimal -----------------
# DEBUG Use for descriptions of main program flow
# VERBOSE Use for outputting values and program flow details
#
##
# Adding verbose logging levels
# Add verbose logging level
VERBOSE = 5
logging.addLevelName(VERBOSE, "VERBOSE")
def logVerbose(self, message, *args, **kws):
if self.isEnabledFor(VERBOSE):
self._log(VERBOSE, message, args, **kws)
logging.Logger.verbose = logVerbose
# Initiating logging
logger = logging.getLogger(__name__)
#
##
# Main Program
# ==============
#
##
# Load the main config as a global object
CONFIG = Config()
@@ -70,141 +109,184 @@ CONFIG = Config()
def main(sysArgs=None):
"""Parses command line, sets up logging, and launches main GUI.
"""
if sysArgs is None:
sysArgs = sys.argv[1:]
# Valid Input Options
shortOpt = "hdDqtl:v"
shortOpt = "hv"
longOpt = [
"help",
"version",
"info",
"debug",
"verbose",
"debuggui",
"quiet",
"time",
"logfile=",
"version",
"config=",
"testmode",
"spell=",
"style=",
"config=",
"data=",
"testmode",
]
helpMsg = (
"{appname} {version} ({status})\n"
"novelWriter {version} ({date})\n"
"{copyright}\n"
"\n"
"This program is distributed in the hope that it will be useful,\n"
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
"GNU General Public Licence for more details.\n"
"\n"
"Usage:\n"
" -h, --help Print this message.\n"
" -v, --version Print program version and exit.\n"
" -d, --debug Print debug output.\n"
" --verbose Increase verbosity of debug output.\n"
" -D, --debuggui Shows additional debug GUI elements. Includes -d.\n"
" -q, --quiet Disable output to command line. Does not affect log file.\n"
" -t, --time Shows time stamp in logging output. Adds milliseconds when --verbose.\n"
" -l, --logfile= Specify log file.\n"
" --style= Set Qt5 style flag. Defaults to Fusion.\n"
" --config= Alternative config file.\n"
" --headless Do not display GUI. Useful for testing scripts.\n"
" -h, --help Print this message.\n"
" -v, --version Print program version and exit.\n"
" --info Print additional runtime information.\n"
" --debug Print debug output. Includes --info.\n"
" --verbose Increase verbosity of debug output. Includes --debug.\n"
" --style= Sets Qt5 style flag. Defaults to 'Fusion'.\n"
" --config= Alternative config file.\n"
" --data= Alternative user data path.\n"
).format(
appname = __package__,
version = __version__,
status = __status__,
copyright = __copyright__
copyright = __copyright__,
date = __date__,
)
# Defaults
debugLevel = logging.WARN
debugStr = "{levelname:8} {message:}"
timeStr = "[{asctime:}] "
logFile = ""
toFile = False
toStd = True
showTime = False
confPath = None
testMode = False
debugGUI = False
spellTool = None
qtStyle = "Fusion"
logLevel = logging.WARN
logFormat = "{levelname:8} {message:}"
confPath = None
dataPath = None
testMode = False
qtStyle = "Fusion"
cmdOpen = None
# Parse Options
try:
inOpts, inArgs = getopt.getopt(sysArgs,shortOpt,longOpt)
except getopt.GetoptError:
inOpts, inRemain = getopt.getopt(sysArgs, shortOpt, longOpt)
except getopt.GetoptError as E:
print(helpMsg)
print("ERROR: %s" % str(E))
sys.exit(2)
if len(inRemain) > 0:
cmdOpen = inRemain[0]
for inOpt, inArg in inOpts:
if inOpt in ("-h","--help"):
if inOpt in ("-h", "--help"):
print(helpMsg)
sys.exit()
sys.exit(0)
elif inOpt in ("-v", "--version"):
print("%s %s Version %s" % (__package__,__status__,__version__))
sys.exit()
elif inOpt in ("-d", "--debug"):
debugLevel = logging.DEBUG
debugStr = "{name:>30}:{lineno:<4d} {levelname:8} {message:}"
elif inOpt in ("-l","--logfile"):
logFile = inArg
toFile = True
elif inOpt in ("-q","--quiet"):
toStd = False
elif inOpt in ("--verbose"):
debugLevel = VERBOSE
timeStr = "[{asctime:}.{msecs:03.0f}] "
elif inOpt in ("-t","--time"):
showTime = True
elif inOpt in ("--style"):
print("novelWriter Version %s [%s]" % (__version__, __date__))
sys.exit(0)
elif inOpt == "--info":
logLevel = logging.INFO
elif inOpt == "--debug":
logLevel = logging.DEBUG
logFormat = "[{asctime:}] {name:>22}:{lineno:<4d} {levelname:8} {message:}"
elif inOpt == "--verbose":
logLevel = VERBOSE
logFormat = "[{asctime:}] {name:>22}:{lineno:<4d} {levelname:8} {message:}"
elif inOpt == "--style":
qtStyle = inArg
elif inOpt in ("--config"):
elif inOpt == "--config":
confPath = inArg
elif inOpt in ("--testmode"):
elif inOpt == "--data":
dataPath = inArg
elif inOpt == "--testmode":
testMode = True
elif inOpt in ("--spell"):
spellTool = inArg
elif inOpt in ("-D","--debuggui"):
debugLevel = logging.DEBUG
debugStr = "{name:>20}:{lineno:<4d} {levelname:8} {message:}"
debugGUI = True
# Set Config Options
CONFIG.showGUI = not testMode
CONFIG.debugGUI = debugGUI
CONFIG.debugInfo = debugLevel < logging.INFO
CONFIG.spellTool = spellTool
CONFIG.cmdOpen = cmdOpen
# Set Logging
if showTime: debugStr = timeStr+debugStr
logFmt = logging.Formatter(fmt=debugStr,datefmt="%Y-%m-%d %H:%M:%S",style="{")
cHandle = logging.StreamHandler()
cHandle.setFormatter(logging.Formatter(fmt=logFormat, style="{"))
if not logFile == "" and toFile:
if path.isfile(logFile+".bak"):
remove(logFile+".bak")
if path.isfile(logFile):
rename(logFile,logFile+".bak")
pkgLogger = logging.getLogger(__package__)
pkgLogger.addHandler(cHandle)
pkgLogger.setLevel(logLevel)
fHandle = logging.FileHandler(logFile)
fHandle.setLevel(debugLevel)
fHandle.setFormatter(logFmt)
logger.addHandler(fHandle)
logger.info("Starting novelWriter %s (%s) %s" % (
__version__, __hexversion__, __date__
))
if toStd:
cHandle = logging.StreamHandler()
cHandle.setLevel(debugLevel)
cHandle.setFormatter(logFmt)
logger.addHandler(cHandle)
# Check Packages and Versions
errorData = []
errorCode = 0
if sys.hexversion < 0x030600f0:
errorData.append(
"At least Python 3.6.0 is required, found %s." % CONFIG.verPyString
)
errorCode |= 4
if CONFIG.verQtValue < 50300:
errorData.append(
"At least Qt5 version 5.3 is required, found %s." % CONFIG.verQtString
)
errorCode |= 8
if CONFIG.verPyQtValue < 50300:
errorData.append(
"At least PyQt5 version 5.3 is required, found %s." % CONFIG.verPyQtString
)
errorCode |= 16
logger.setLevel(debugLevel)
try:
import lxml # noqa: F401
except ImportError:
errorData.append("Python module 'lxml' is missing.")
errorCode |= 32
CONFIG.initConfig(confPath)
if errorData:
errApp = QApplication([])
errMsg = QErrorMessage()
errMsg.resize(500, 300)
errMsg.showMessage((
"<h3>A critical error has been encountered</h3>"
"<p>novelWriter cannot start due to the following issues:<p>"
"<p>&nbsp;-&nbsp;%s</p>"
"<p>Shutting down ...</p>"
) % (
"<br>&nbsp;-&nbsp;".join(errorData)
))
for errMsg in errorData:
logger.critical(errMsg)
errApp.exec_()
sys.exit(errorCode)
# Finish initialising config
CONFIG.initConfig(confPath, dataPath)
if CONFIG.osDarwin:
try:
from Foundation import NSBundle
bundle = NSBundle.mainBundle()
info = bundle.localizedInfoDictionary() or bundle.infoDictionary()
info["CFBundleName"] = "novelWriter"
except ImportError:
logger.error("Failed to set application name")
logException()
# Import GUI (after dependency checks), and launch
from nw.guimain import GuiMain
if testMode:
nwGUI = GuiMain()
return nwGUI
else:
nwApp = QApplication([__package__,("-style=%s" % qtStyle)])
nwApp = QApplication([CONFIG.appName, ("-style=%s" % qtStyle)])
nwApp.setApplicationName(CONFIG.appName)
nwApp.setApplicationVersion(__version__)
nwApp.setWindowIcon(QIcon(CONFIG.appIcon))
nwApp.setOrganizationDomain(__domain__)
# Connect the exception handler before making the main GUI
sys.excepthook = exceptionHandler
# Launch main GUI
CONFIG.initLocalisation(nwApp)
nwGUI = GuiMain()
if not nwGUI.hasProject:
nwGUI.showProjectLoadDialog()
nwGUI.releaseNotes()
sys.exit(nwApp.exec_())
return
# END Function main

12
nw/assets/dict/README.md Normal file
View File

@@ -0,0 +1,12 @@
## Dictionary Conversion
Source: https://ftp.gnu.org/gnu/aspell/dict/0index.html
```
./configure
make
aspell --dict-dir=. -d en dump master > en.dict
aspell --dict-dir=. -d en_GB-ise-w_accents dump master > en_GB.dict
aspell --dict-dir=. -d en_US-w_accents dump master > en_US.dict
```

View File

@@ -0,0 +1,254 @@
This English word list is comes directly from SCOWL 2019.10.06 (up to level 60,
using the speller/make-aspell-dict script, http://wordlist.sourceforge.net/)
and is thus under the same copyright of SCOWL. The affix file (only
included in the aspell6 package) is based on the Ispell one which is
under the same copyright of Ispell. Part of SCOWL is also based on
Ispell thus the Ispell copyright is included with the SCOWL copyright.
The collective work is Copyright 2000-2018 by Kevin Atkinson as well
as any of the copyrights mentioned below:
Copyright 2000-2018 by Kevin Atkinson
Permission to use, copy, modify, distribute and sell these word
lists, the associated scripts, the output created from the scripts,
and its documentation for any purpose is hereby granted without fee,
provided that the above copyright notice appears in all copies and
that both that copyright notice and this permission notice appear in
supporting documentation. Kevin Atkinson makes no representations
about the suitability of this array for any purpose. It is provided
"as is" without express or implied warranty.
Alan Beale <biljir@pobox.com> also deserves special credit as he has,
in addition to providing the 12Dicts package and being a major
contributor to the ENABLE word list, given me an incredible amount of
feedback and created a number of special lists (those found in the
Supplement) in order to help improve the overall quality of SCOWL.
The 10 level includes the 1000 most common English words (according to
the Moby (TM) Words II [MWords] package), a subset of the 1000 most
common words on the Internet (again, according to Moby Words II), and
frequently class 16 from Brian Kelk's "UK English Wordlist
with Frequency Classification".
The MWords package was explicitly placed in the public domain:
The Moby lexicon project is complete and has
been place into the public domain. Use, sell,
rework, excerpt and use in any way on any platform.
Placing this material on internal or public servers is
also encouraged. The compiler is not aware of any
export restrictions so freely distribute world-wide.
You can verify the public domain status by contacting
Grady Ward
3449 Martha Ct.
Arcata, CA 95521-4884
grady@netcom.com
grady@northcoast.com
The "UK English Wordlist With Frequency Classification" is also in the
Public Domain:
Date: Sat, 08 Jul 2000 20:27:21 +0100
From: Brian Kelk <Brian.Kelk@cl.cam.ac.uk>
> I was wondering what the copyright status of your "UK English
> Wordlist With Frequency Classification" word list as it seems to
> be lacking any copyright notice.
There were many many sources in total, but any text marked
"copyright" was avoided. Locally-written documentation was one
source. An earlier version of the list resided in a filespace called
PUBLIC on the University mainframe, because it was considered public
domain.
Date: Tue, 11 Jul 2000 19:31:34 +0100
> So are you saying your word list is also in the public domain?
That is the intention.
The 20 level includes frequency classes 7-15 from Brian's word list.
The 35 level includes frequency classes 2-6 and words appearing in at
least 11 of 12 dictionaries as indicated in the 12Dicts package. All
words from the 12Dicts package have had likely inflections added via
my inflection database.
The 12Dicts package and Supplement is in the Public Domain.
The WordNet database, which was used in the creation of the
Inflections database, is under the following copyright:
This software and database is being provided to you, the LICENSEE,
by Princeton University under the following license. By obtaining,
using and/or copying this software and database, you agree that you
have read, understood, and will comply with these terms and
conditions.:
Permission to use, copy, modify and distribute this software and
database and its documentation for any purpose and without fee or
royalty is hereby granted, provided that you agree to comply with
the following copyright notice and statements, including the
disclaimer, and that the same appear on ALL copies of the software,
database and documentation, including modifications that you make
for internal use or for distribution.
WordNet 1.6 Copyright 1997 by Princeton University. All rights
reserved.
THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON
UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON
UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT-
ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY
THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
The name of Princeton University or Princeton may not be used in
advertising or publicity pertaining to distribution of the software
and/or database. Title to copyright in this software, database and
any associated documentation shall at all times remain with
Princeton University and LICENSEE agrees to preserve same.
The 40 level includes words from Alan's 3esl list found in version 4.0
of his 12dicts package. Like his other stuff the 3esl list is also in the
public domain.
The 50 level includes Brian's frequency class 1, words appearing
in at least 5 of 12 of the dictionaries as indicated in the 12Dicts
package, and uppercase words in at least 4 of the previous 12
dictionaries. A decent number of proper names is also included: The
top 1000 male, female, and Last names from the 1990 Census report; a
list of names sent to me by Alan Beale; and a few names that I added
myself. Finally a small list of abbreviations not commonly found in
other word lists is included.
The name files form the Census report is a government document which I
don't think can be copyrighted.
The file special-jargon.50 uses common.lst and word.lst from the
"Unofficial Jargon File Word Lists" which is derived from "The Jargon
File". All of which is in the Public Domain. This file also contain
a few extra UNIX terms which are found in the file "unix-terms" in the
special/ directory.
The 55 level includes words from Alan's 2of4brif list found in version
4.0 of his 12dicts package. Like his other stuff the 2of4brif is also
in the public domain.
The 60 level includes all words appearing in at least 2 of the 12
dictionaries as indicated by the 12Dicts package.
The 70 level includes Brian's frequency class 0 and the 74,550 common
dictionary words from the MWords package. The common dictionary words,
like those from the 12Dicts package, have had all likely inflections
added. The 70 level also included the 5desk list from version 4.0 of
the 12Dics package which is in the public domain.
The 80 level includes the ENABLE word list, all the lists in the
ENABLE supplement package (except for ABLE), the "UK Advanced Cryptics
Dictionary" (UKACD), the list of signature words from the YAWL package,
and the 10,196 places list from the MWords package.
The ENABLE package, mainted by M\Cooper <thegrendel@theriver.com>,
is in the Public Domain:
The ENABLE master word list, WORD.LST, is herewith formally released
into the Public Domain. Anyone is free to use it or distribute it in
any manner they see fit. No fee or registration is required for its
use nor are "contributions" solicited (if you feel you absolutely
must contribute something for your own peace of mind, the authors of
the ENABLE list ask that you make a donation on their behalf to your
favorite charity). This word list is our gift to the Scrabble
community, as an alternate to "official" word lists. Game designers
may feel free to incorporate the WORD.LST into their games. Please
mention the source and credit us as originators of the list. Note
that if you, as a game designer, use the WORD.LST in your product,
you may still copyright and protect your product, but you may *not*
legally copyright or in any way restrict redistribution of the
WORD.LST portion of your product. This *may* under law restrict your
rights to restrict your users' rights, but that is only fair.
UKACD, by J Ross Beresford <ross@bryson.demon.co.uk>, is under the
following copyright:
Copyright (c) J Ross Beresford 1993-1999. All Rights Reserved.
The following restriction is placed on the use of this publication:
if The UK Advanced Cryptics Dictionary is used in a software package
or redistributed in any form, the copyright notice must be
prominently displayed and the text of this document must be included
verbatim.
There are no other restrictions: I would like to see the list
distributed as widely as possible.
The 95 level includes the 354,984 single words, 256,772 compound
words, 4,946 female names and the 3,897 male names, and 21,986 names
from the MWords package, ABLE.LST from the ENABLE Supplement, and some
additional words found in my part-of-speech database that were not
found anywhere else.
Accent information was taken from UKACD.
The VarCon package was used to create the American, British, Canadian,
and Australian word list. It is under the following copyright:
Copyright 2000-2016 by Kevin Atkinson
Permission to use, copy, modify, distribute and sell this array, the
associated software, and its documentation for any purpose is hereby
granted without fee, provided that the above copyright notice appears
in all copies and that both that copyright notice and this permission
notice appear in supporting documentation. Kevin Atkinson makes no
representations about the suitability of this array for any
purpose. It is provided "as is" without express or implied warranty.
Copyright 2016 by Benjamin Titze
Permission to use, copy, modify, distribute and sell this array, the
associated software, and its documentation for any purpose is hereby
granted without fee, provided that the above copyright notice appears
in all copies and that both that copyright notice and this permission
notice appear in supporting documentation. Benjamin Titze makes no
representations about the suitability of this array for any
purpose. It is provided "as is" without express or implied warranty.
Since the original words lists come from the Ispell distribution:
Copyright 1993, Geoff Kuenning, Granada Hills, CA
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All modifications to the source code must be clearly marked as
such. Binary redistributions based on modified source code
must be clearly marked as modified versions in the documentation
and/or other materials provided with the distribution.
(clause 4 removed with permission from Geoff Kuenning)
5. The name of Geoff Kuenning may not be used to endorse or promote
products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

127250
nw/assets/dict/en.dict Normal file

File diff suppressed because it is too large Load Diff

123295
nw/assets/dict/en_GB.dict Normal file

File diff suppressed because it is too large Load Diff

123592
nw/assets/dict/en_US.dict Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,93 @@
Copyright (c) 2009-2010, Understanding Limited (dave@understandinglimited.com)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -0,0 +1,105 @@
{
"Synopsis": "Synopsis",
"Comment": "Kommentar",
"Notes": "Notizen",
"0": "Null",
"1": "Eins",
"2": "Zwei",
"3": "Drei",
"4": "Vier",
"5": "Fünf",
"6": "Sechs",
"7": "Sieben",
"8": "Acht",
"9": "Neun",
"10": "Zehn",
"11": "Elf",
"12": "Zwölf",
"13": "Dreizehen",
"14": "Vierzehn",
"15": "Fünfzehn",
"16": "Sechzehn",
"17": "Siebzehn",
"18": "Achtzehn",
"19": "Neunzehn",
"20": "Zwanzig",
"21": "Einundzwanzig",
"22": "Zweiundzwanzig",
"23": "Dreiundzwanzig",
"24": "Vierundzwanzig",
"25": "Fünfundzwanzig",
"26": "Sechsundzwanzig",
"27": "Siebenundzwanzig",
"28": "Achtundzwanzig",
"29": "Neunundzwanzig",
"30": "Dreißig",
"31": "Einunddreißig",
"32": "Zweiunddreißig",
"33": "Dreiunddreißig",
"34": "Vierunddreißig",
"35": "Fünfunddreißig",
"36": "Sechsunddreißig",
"37": "Siebenunddreißig",
"38": "Achtunddreißig",
"39": "Neununddreißig",
"40": "Vierzig",
"41": "Einundvierzig",
"42": "Zweiundvierzig",
"43": "Dreiundvierzig",
"44": "Vierundvierzig",
"45": "Fünfundvierzig",
"46": "Sechsundvierzig",
"47": "Siebenundvierzig",
"48": "Achtundvierzig",
"49": "Neunundvierzig",
"50": "Fünfzig",
"51": "Einundfünfzig",
"52": "Zweiundfünfzig",
"53": "Dreiundfünfzig",
"54": "Vierundfünfzig",
"55": "Fünfundfünfzig",
"56": "Sechsundfünfzig",
"57": "Siebenundfünfzig",
"58": "Achtundfünfzig",
"59": "Neunundfünfzig",
"60": "Sechzig",
"61": "Einundsechzig",
"62": "Zweiundsechzig",
"63": "Dreiundsechzig",
"64": "Vierundsechzig",
"65": "Fünfundsechzig",
"66": "Sechsundsechzig",
"67": "Siebenundsechzig",
"68": "Achtundsechzig",
"69": "Neunundsechzig",
"70": "Siebzig",
"71": "Einundsiebzig",
"72": "Zweiundsiebzig",
"73": "Dreiundsiebzig",
"74": "Vierundsiebzig",
"75": "Fünfundsiebzig",
"76": "Sechsundsiebzig",
"77": "Siebenundsiebzig",
"78": "Achtundsiebzig",
"79": "Neunundsiebzig",
"80": "Achtzig",
"81": "Einundachtzig",
"82": "Zweiundachtzig",
"83": "Dreiundachtzig",
"84": "Vierundachtzig",
"85": "Fünfundachtzig",
"86": "Sechsundachtzig",
"87": "Siebenundachtzig",
"88": "Achtundachtzig",
"89": "Neunundachtzig",
"90": "Neunzig",
"91": "Einundneunzig",
"92": "Zweiundneunzig",
"93": "Dreiundneunzig",
"94": "Vierundneunzig",
"95": "Fünfundneunzig",
"96": "Sechsundneunzig",
"97": "Siebenundneunzig",
"98": "Achtundneunzig",
"99": "Neunundneunzig"
}

View File

@@ -0,0 +1,105 @@
{
"Synopsis": "Synopsis",
"Comment": "Comment",
"Notes": "Notes",
"0": "Zero",
"1": "One",
"2": "Two",
"3": "Three",
"4": "Four",
"5": "Five",
"6": "Six",
"7": "Seven",
"8": "Eight",
"9": "Nine",
"10": "Ten",
"11": "Eleven",
"12": "Twelve",
"13": "Thirteen",
"14": "Fourteen",
"15": "Fifteen",
"16": "Sixteen",
"17": "Seventeen",
"18": "Eighteen",
"19": "Nineteen",
"20": "Twenty",
"21": "Twenty-One",
"22": "Twenty-Two",
"23": "Twenty-Three",
"24": "Twenty-Four",
"25": "Twenty-Five",
"26": "Twenty-Six",
"27": "Twenty-Seven",
"28": "Twenty-Eight",
"29": "Twenty-Nine",
"30": "Thirty",
"31": "Thirty-One",
"32": "Thirty-Two",
"33": "Thirty-Three",
"34": "Thirty-Four",
"35": "Thirty-Five",
"36": "Thirty-Six",
"37": "Thirty-Seven",
"38": "Thirty-Eight",
"39": "Thirty-Nine",
"40": "Forty",
"41": "Forty-One",
"42": "Forty-Two",
"43": "Forty-Three",
"44": "Forty-Four",
"45": "Forty-Five",
"46": "Forty-Six",
"47": "Forty-Seven",
"48": "Forty-Eight",
"49": "Forty-Nine",
"50": "Fifty",
"51": "Fifty-One",
"52": "Fifty-Two",
"53": "Fifty-Three",
"54": "Fifty-Four",
"55": "Fifty-Five",
"56": "Fifty-Six",
"57": "Fifty-Seven",
"58": "Fifty-Eight",
"59": "Fifty-Nine",
"60": "Sixty",
"61": "Sixty-One",
"62": "Sixty-Two",
"63": "Sixty-Three",
"64": "Sixty-Four",
"65": "Sixty-Five",
"66": "Sixty-Six",
"67": "Sixty-Seven",
"68": "Sixty-Eight",
"69": "Sixty-Nine",
"70": "Seventy",
"71": "Seventy-One",
"72": "Seventy-Two",
"73": "Seventy-Three",
"74": "Seventy-Four",
"75": "Seventy-Five",
"76": "Seventy-Six",
"77": "Seventy-Seven",
"78": "Seventy-Eight",
"79": "Seventy-Nine",
"80": "Eighty",
"81": "Eighty-One",
"82": "Eighty-Two",
"83": "Eighty-Three",
"84": "Eighty-Four",
"85": "Eighty-Five",
"86": "Eighty-Six",
"87": "Eighty-Seven",
"88": "Eighty-Eight",
"89": "Eighty-Nine",
"90": "Ninety",
"91": "Ninety-One",
"92": "Ninety-Two",
"93": "Ninety-Three",
"94": "Ninety-Four",
"95": "Ninety-Five",
"96": "Ninety-Six",
"97": "Ninety-Seven",
"98": "Ninety-Eight",
"99": "Ninety-Nine"
}

View File

@@ -0,0 +1,105 @@
{
"Synopsis": "Synopsis",
"Comment": "Commentaire",
"Notes": "Notes",
"0": "Zero",
"1": "Un",
"2": "Deux",
"3": "Trois",
"4": "Quatre",
"5": "Cinq",
"6": "Six",
"7": "Sept",
"8": "Huit",
"9": "Neuf",
"10": "Dix",
"11": "Onze",
"12": "Douze",
"13": "Treize",
"14": "Quatorze",
"15": "Quinze",
"16": "Seize",
"17": "Dix-sept",
"18": "Dix-huit",
"19": "Dix-neuf",
"20": "Vingt",
"21": "Vingt et un",
"22": "Vingt-deux",
"23": "Vingt-trois",
"24": "Vingt-quatre",
"25": "Vingt-cinq",
"26": "Vingt-six",
"27": "Vingt-sept",
"28": "Vingt-huit",
"29": "Vingt-neuf",
"30": "Trente",
"31": "Trente et un",
"32": "Trente-deux",
"33": "Trente-trois",
"34": "Trente-quatre",
"35": "Trente-cinq",
"36": "Trente-six",
"37": "Trente-sept",
"38": "Trente-huit",
"39": "Trente-neuf",
"40": "Quarante",
"41": "Quarante et un",
"42": "Quarante-deux",
"43": "Quarante-trois",
"44": "Quarante-quatre",
"45": "Quarante-cinq",
"46": "Quarante-six",
"47": "Quarante-sept",
"48": "Quarante-huit",
"49": "Quarante-neuf",
"50": "Cinquante",
"51": "Cinquante et un",
"52": "Cinquante-deux",
"53": "Cinquante-trois",
"54": "Cinquante-quatre",
"55": "Cinquante-cinq",
"56": "Cinquante-six",
"57": "Cinquante-sept",
"58": "Cinquante-huit",
"59": "Cinquante-neuf",
"60": "Soixante",
"61": "Soixante et un",
"62": "Soixante-deux",
"63": "Soixante-trois",
"64": "Soixante-quatre",
"65": "Soixante-cinq",
"66": "Soixante-six",
"67": "Soixante-sept",
"68": "Soixante-huit",
"69": "Soixante-neuf",
"70": "Soixante-dix",
"71": "Soixante et onze",
"72": "Soixante-douze",
"73": "Soixante-treize",
"74": "Soixante-quatorze",
"75": "Soixante-quinze",
"76": "Soixante-seize",
"77": "Soixante-dix-sept",
"78": "Soixante-dix-huit",
"79": "Soixante-dix-neuf",
"80": "Quatre-vingts",
"81": "Quatre-vingt-un",
"82": "Quatre-vingt-deux",
"83": "Quatre-vingt-trois",
"84": "Quatre-vingt-quatre",
"85": "Quatre-vingt-cinq",
"86": "Quatre-vingt-six",
"87": "Quatre-vingt-sept",
"88": "Quatre-vingt-huit",
"89": "Quatre-vingt-neuf",
"90": "Quatre-vingt-dix",
"91": "Quatre-vingt-onze",
"92": "Quatre-vingt-douze",
"93": "Quatre-vingt-treize",
"94": "Quatre-vingt-quatorze",
"95": "Quatre-vingt-quinze",
"96": "Quatre-vingt-seize",
"97": "Quatre-vingt-dix-sept",
"98": "Quatre-vingt-dix-huit",
"99": "Quatre-vingt-dix-neuf"
}

View File

@@ -0,0 +1,105 @@
{
"Synopsis": "Sammendrag",
"Comment": "Kommentar",
"Notes": "Notat",
"0": "null",
"1": "én",
"2": "to",
"3": "tre",
"4": "fire",
"5": "fem",
"6": "seks",
"7": "sju",
"8": "åtte",
"9": "ni",
"10": "ti",
"11": "elleve",
"12": "tolv",
"13": "tretten",
"14": "fjorten",
"15": "femten",
"16": "seksten",
"17": "sytten",
"18": "atten",
"19": "nitten",
"20": "tjue",
"21": "tjueén",
"22": "tjueto",
"23": "tjuetre",
"24": "tjuefire",
"25": "tjuefem",
"26": "tjueseks",
"27": "tjuesju",
"28": "tjueåtte",
"29": "tjueni",
"30": "tretti",
"31": "trettién",
"32": "trettito",
"33": "trettitre",
"34": "trettifire",
"35": "trettifem",
"36": "trettiseks",
"37": "trettisju",
"38": "trettiåtte",
"39": "trettini",
"40": "førti",
"41": "førtién",
"42": "førtito",
"43": "førtitre",
"44": "førtifire",
"45": "førtifem",
"46": "førtiseks",
"47": "førtisju",
"48": "førtiåtte",
"49": "førtini",
"50": "femti",
"51": "femtién",
"52": "femtito",
"53": "femtitre",
"54": "femtifire",
"55": "femtifem",
"56": "femtiseks",
"57": "femtisju",
"58": "femtiåtte",
"59": "femtini",
"60": "seksti",
"61": "sekstién",
"62": "sekstito",
"63": "sekstitre",
"64": "sekstifire",
"65": "sekstifem",
"66": "sekstiseks",
"67": "sekstisju",
"68": "sekstiåtte",
"69": "sekstini",
"70": "sytti",
"71": "syttién",
"72": "syttito",
"73": "syttitre",
"74": "syttifire",
"75": "syttifem",
"76": "syttiseks",
"77": "syttisju",
"78": "syttiåtte",
"79": "syttini",
"80": "åtti",
"81": "åttién",
"82": "åttito",
"83": "åttitre",
"84": "åttifire",
"85": "åttifem",
"86": "åttiseks",
"87": "åttisju",
"88": "åttiåtte",
"89": "åttini",
"90": "nitti",
"91": "nittién",
"92": "nittito",
"93": "nittitre",
"94": "nittifire",
"95": "nittifem",
"96": "nittiseks",
"97": "nittisju",
"98": "nittiåtte",
"99": "nittini"
}

View File

@@ -0,0 +1,105 @@
{
"Synopsis": "Samandrag",
"Comment": "Kommentar",
"Notes": "Notat",
"0": "null",
"1": "ein",
"2": "to",
"3": "tre",
"4": "fire",
"5": "fem",
"6": "seks",
"7": "sju",
"8": "åtte",
"9": "ni",
"10": "ti",
"11": "elleve",
"12": "tolv",
"13": "tretten",
"14": "fjorten",
"15": "femten",
"16": "seksten",
"17": "sytten",
"18": "atten",
"19": "nitten",
"20": "tjue",
"21": "tjueein",
"22": "tjueto",
"23": "tjuetre",
"24": "tjuefire",
"25": "tjuefem",
"26": "tjueseks",
"27": "tjuesju",
"28": "tjueåtte",
"29": "tjueni",
"30": "tretti",
"31": "trettiein",
"32": "trettito",
"33": "trettitre",
"34": "trettifire",
"35": "trettifem",
"36": "trettiseks",
"37": "trettisju",
"38": "trettiåtte",
"39": "trettini",
"40": "førti",
"41": "førtiein",
"42": "førtito",
"43": "førtitre",
"44": "førtifire",
"45": "førtifem",
"46": "førtiseks",
"47": "førtisju",
"48": "førtiåtte",
"49": "førtini",
"50": "femti",
"51": "femtiein",
"52": "femtito",
"53": "femtitre",
"54": "femtifire",
"55": "femtifem",
"56": "femtiseks",
"57": "femtisju",
"58": "femtiåtte",
"59": "femtini",
"60": "seksti",
"61": "sekstiein",
"62": "sekstito",
"63": "sekstitre",
"64": "sekstifire",
"65": "sekstifem",
"66": "sekstiseks",
"67": "sekstisju",
"68": "sekstiåtte",
"69": "sekstini",
"70": "sytti",
"71": "syttiein",
"72": "syttito",
"73": "syttitre",
"74": "syttifire",
"75": "syttifem",
"76": "syttiseks",
"77": "syttisju",
"78": "syttiåtte",
"79": "syttini",
"80": "åtti",
"81": "åttiein",
"82": "åttito",
"83": "åttitre",
"84": "åttifire",
"85": "åttifem",
"86": "åttiseks",
"87": "åttisju",
"88": "åttiåtte",
"89": "åttini",
"90": "nitti",
"91": "nittiein",
"92": "nittito",
"93": "nittitre",
"94": "nittifire",
"95": "nittifem",
"96": "nittiseks",
"97": "nittisju",
"98": "nittiåtte",
"99": "nittini"
}

View File

@@ -0,0 +1,105 @@
{
"Synopsis": "Sinopse",
"Comment": "Comentários",
"Notes": "Notas",
"0": "Zero",
"1": "Um",
"2": "Dois",
"3": "Três",
"4": "Quatro",
"5": "Cinco",
"6": "Seis",
"7": "Sete",
"8": "Oito",
"9": "Nove",
"10": "Dez",
"11": "Onze",
"12": "Doze",
"13": "Treze",
"14": "Quatorze",
"15": "Quinze",
"16": "Dezesseis",
"17": "Dezesete",
"18": "Dezoito",
"19": "Dezenove",
"20": "Vinte",
"21": "Vinte e Um",
"22": "Vinte e Dois",
"23": "Vinte e Três",
"24": "Vinte e Quatro",
"25": "Vinte e Cinco",
"26": "Vinte e Seis",
"27": "Vinte e Sete",
"28": "Vinte e Oito",
"29": "Vinte e Nove",
"30": "Trinta",
"31": "Trinta e Um",
"32": "Trinta e Dois",
"33": "Trinta e Três",
"34": "Trinta e Quatro",
"35": "Trinta e Cinco",
"36": "Trinta e Seis",
"37": "Trinta e Sete",
"38": "Trinta e Oito",
"39": "Trinta e Nove",
"40": "Quarenta",
"41": "Quarenta e Um",
"42": "Quarenta e Dois",
"43": "Quarenta e Três",
"44": "Quarenta e Quatro",
"45": "Quarenta e Cinco",
"46": "Quarenta e Seis",
"47": "Quarenta e Sete",
"48": "Quarenta e Oito",
"49": "Quarenta e Nove",
"50": "Cinquenta",
"51": "Cinquenta e Um",
"52": "Cinquenta e Dois",
"53": "Cinquenta e Três",
"54": "Cinquenta e Quatro",
"55": "Cinquenta e Cinco",
"56": "Cinquenta e Seis",
"57": "Cinquenta e Sete",
"58": "Cinquenta e Oito",
"59": "Cinquenta e Nove",
"60": "Sessenta",
"61": "Sessenta e Um",
"62": "Sessenta e Dois",
"63": "Sessenta e Três",
"64": "Sessenta e Quatro",
"65": "Sessenta e Cinco",
"66": "Sessenta e Seis",
"67": "Sessenta e Sete",
"68": "Sessenta e Oito",
"69": "Sessenta e Nove",
"70": "Setenta",
"71": "Setenta e Um",
"72": "Setenta e Dois",
"73": "Setenta e Três",
"74": "Setenta e Quatro",
"75": "Setenta e Cinco",
"76": "Setenta e Seis",
"77": "Setenta e Sete",
"78": "Setenta e Oito",
"79": "Setenta e Nove",
"80": "Oitenta",
"81": "Oitenta e Um",
"82": "Oitenta e Dois",
"83": "Oitenta e Três",
"84": "Oitenta e Quatro",
"85": "Oitenta e Cinco",
"86": "Oitenta e Seis",
"87": "Oitenta e Sete",
"88": "Oitenta e Oito",
"89": "Oitenta e Nove",
"90": "Noventa",
"91": "Noventa e Um",
"92": "Noventa e Dois",
"93": "Noventa e Três",
"94": "Noventa e Quatro",
"95": "Noventa e Cinco",
"96": "Noventa e Seis",
"97": "Noventa e Sete",
"98": "Noventa e Oito",
"99": "Noventa e Nove"
}

View File

@@ -0,0 +1,6 @@
## License
All icons in the fallback folder are modified from the Typicons theme by
Stephen Hutchings, released under CC BY-SA 4.0.
See: https://github.com/stephenhutchings/typicons.font

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg5808"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata5814">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs5812" />
<path
style="stroke-width:1.25;fill:#aeaeae;fill-opacity:1"
id="path5806"
d="m 19.5,9.5 h -5 v -5 C 14.5,3.12 13.38,2 12,2 10.62,2 9.5,3.12 9.5,4.5 l 0.08875,5 H 4.5 C 3.12,9.5 2,10.62 2,12 c 0,1.38 1.12,2.5 2.5,2.5 L 9.58875,14.41125 9.5,19.5 c 0,1.38 1.12,2.5 2.5,2.5 1.38,0 2.5,-1.12 2.5,-2.5 V 14.41125 L 19.5,14.5 C 20.88,14.5 22,13.38 22,12 22,10.62 20.88,9.5 19.5,9.5 Z" />
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg5808">
<metadata
id="metadata5814">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs5812" />
<path
d="m 19.5,9.5 h -5 v -5 C 14.5,3.12 13.38,2 12,2 10.62,2 9.5,3.12 9.5,4.5 l 0.08875,5 H 4.5 C 3.12,9.5 2,10.62 2,12 c 0,1.38 1.12,2.5 2.5,2.5 L 9.58875,14.41125 9.5,19.5 c 0,1.38 1.12,2.5 2.5,2.5 1.38,0 2.5,-1.12 2.5,-2.5 V 14.41125 L 19.5,14.5 C 20.88,14.5 22,13.38 22,12 22,10.62 20.88,9.5 19.5,9.5 Z"
id="path5806"
style="stroke-width:1.25;fill:#000000;fill-opacity:0.77999997" />
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg8980"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata8986">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8984" />
<path
style="fill:#aeaeae;fill-opacity:1;stroke-width:1.28574"
id="path8978"
d="m 17.565474,3.7531206 c -1.002875,-1.0041608 -2.63319,-1.0041608 -3.636065,0 L 5.6814051,11.999839 13.929409,20.246558 C 14.430847,20.749281 15.089144,21 15.747442,21 c 0.658297,0 1.316595,-0.250719 1.818032,-0.753442 1.004161,-1.004161 1.004161,-2.631904 0,-3.636065 l -4.609368,-4.610654 4.609368,-4.6106535 c 1.004161,-1.0041608 1.004161,-2.6319041 0,-3.6360649 z" />
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg8980"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata8986">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8984" />
<path
style="fill:#000000;fill-opacity:0.78;stroke-width:1.28574"
id="path8978"
d="m 17.565474,3.7531206 c -1.002875,-1.0041608 -2.63319,-1.0041608 -3.636065,0 L 5.6814051,11.999839 13.929409,20.246558 C 14.430847,20.749281 15.089144,21 15.747442,21 c 0.658297,0 1.316595,-0.250719 1.818032,-0.753442 1.004161,-1.004161 1.004161,-2.631904 0,-3.636065 l -4.609368,-4.610654 4.609368,-4.6106535 c 1.004161,-1.0041608 1.004161,-2.6319041 0,-3.6360649 z" />
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg11603"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata11609">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs11607" />
<path
style="stroke-width:1.5;fill:#aeaeae;fill-opacity:1"
id="path11601"
d="m 12,6 c 3.3075,0 6,2.691 6,6 0,3.309 -2.6925,6 -6,6 C 8.6925,18 6,15.309 6,12 6,8.691 8.6925,6 12,6 m 0,-3 c -4.971,0 -9,4.029 -9,9 0,4.968 4.029,9 9,9 4.968,0 9,-4.032 9,-9 0,-4.971 -4.032,-9 -9,-9 z" />
</svg>

After

Width:  |  Height:  |  Size: 1011 B

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg11603"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata11609">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs11607" />
<path
style="stroke-width:1.5;fill:#000000;fill-opacity:0.78039217"
id="path11601"
d="m 12,6 c 3.3075,0 6,2.691 6,6 0,3.309 -2.6925,6 -6,6 C 8.6925,18 6,15.309 6,12 6,8.691 8.6925,6 12,6 m 0,-3 c -4.971,0 -9,4.029 -9,9 0,4.968 4.029,9 9,9 4.968,0 9,-4.032 9,-9 0,-4.971 -4.032,-9 -9,-9 z" />
</svg>

After

Width:  |  Height:  |  Size: 1020 B

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg10879"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata10885">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10883" />
<path
style="stroke-width:1.5;fill:#aeaeae;fill-opacity:1"
id="path10877"
d="M 21,12 C 21,9.5145 19.992,7.2645 18.3645,5.6355 16.7355,4.008 14.4855,3 12,3 9.516,3 7.266,4.008 5.637,5.6355 4.008,7.2645 3,9.5145 3,12 3,14.484 4.008,16.734 5.637,18.363 7.266,19.992 9.516,21 12,21 14.4855,21 16.7355,19.992 18.3645,18.363 19.992,16.734 21,14.484 21,12 Z" />
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg10879"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata10885">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10883" />
<path
style="stroke-width:1.5;fill:#000000;fill-opacity:0.78039217"
id="path10877"
d="M 21,12 C 21,9.5145 19.992,7.2645 18.3645,5.6355 16.7355,4.008 14.4855,3 12,3 9.516,3 7.266,4.008 5.637,5.6355 4.008,7.2645 3,9.5145 3,12 3,14.484 4.008,16.734 5.637,18.363 7.266,19.992 9.516,21 12,21 14.4855,21 16.7355,19.992 18.3645,18.363 19.992,16.734 21,14.484 21,12 Z" />
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg896">
<metadata
id="metadata902">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs900" />
<path
d="M 19.576035,3.3487939 C 18.237131,2.6038813 16.550693,3.0884898 15.809935,4.4246248 L 10.66893,13.676495 7.726664,10.734229 c -1.0813694,-1.0813704 -2.8342677,-1.0813704 -3.9156371,0 -1.0813693,1.081369 -1.0813693,2.834267 0,3.915637 l 5.538383,5.538383 c 0.523378,0.524762 1.2295221,0.812758 1.9578191,0.812758 l 0.383533,-0.02769 c 0.859834,-0.12046 1.614439,-0.636914 2.03674,-1.397057 L 20.650482,7.1148966 C 21.39401,5.777375 20.91217,4.0923218 19.576035,3.3487939 Z"
id="path894"
style="stroke-width:1.3846;fill:#aeaeae;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg896">
<metadata
id="metadata902">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs900" />
<path
d="M 19.576035,3.3487939 C 18.237131,2.6038813 16.550693,3.0884898 15.809935,4.4246248 L 10.66893,13.676495 7.726664,10.734229 c -1.0813694,-1.0813704 -2.8342677,-1.0813704 -3.9156371,0 -1.0813693,1.081369 -1.0813693,2.834267 0,3.915637 l 5.538383,5.538383 c 0.523378,0.524762 1.2295221,0.812758 1.9578191,0.812758 l 0.383533,-0.02769 c 0.859834,-0.12046 1.614439,-0.636914 2.03674,-1.397057 L 20.650482,7.1148966 C 21.39401,5.777375 20.91217,4.0923218 19.576035,3.3487939 Z"
id="path894"
style="stroke-width:1.3846;fill:#000000;fill-opacity:0.77999997" />
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg8936"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata8942">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8940" />
<path
style="fill:#aeaeae;fill-opacity:1;stroke-width:1.30056"
id="path8934"
d="m 19.0412,4.9586375 c -1.014432,-1.0157327 -2.663535,-1.0157327 -3.677967,0 L 12.000001,8.3218703 8.6367669,4.9586375 c -1.0144323,-1.0157327 -2.663535,-1.0157327 -3.6779673,0 -1.0157327,1.0157328 -1.0157327,2.6622343 0,3.6779673 L 8.3207319,11.999838 4.9587996,15.36307 c -1.0157327,1.015733 -1.0157327,2.662235 0,3.677968 0.5072161,0.508516 1.1730998,0.762124 1.8389836,0.762124 0.6658835,0 1.3317669,-0.253608 1.8389837,-0.762124 l 3.3632341,-3.363233 3.363232,3.363233 c 0.507216,0.508516 1.173099,0.762124 1.838984,0.762124 0.665882,0 1.331765,-0.253608 1.838983,-0.762124 1.015733,-1.015733 1.015733,-2.662235 0,-3.677968 L 15.679268,11.999838 19.0412,8.6366048 c 1.015733,-1.015733 1.015733,-2.6622345 0,-3.6779673 z" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg8936">
<metadata
id="metadata8942">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8940" />
<path
d="m 19.0412,4.9586375 c -1.014432,-1.0157327 -2.663535,-1.0157327 -3.677967,0 L 12.000001,8.3218703 8.6367669,4.9586375 c -1.0144323,-1.0157327 -2.663535,-1.0157327 -3.6779673,0 -1.0157327,1.0157328 -1.0157327,2.6622343 0,3.6779673 L 8.3207319,11.999838 4.9587996,15.36307 c -1.0157327,1.015733 -1.0157327,2.662235 0,3.677968 0.5072161,0.508516 1.1730998,0.762124 1.8389836,0.762124 0.6658835,0 1.3317669,-0.253608 1.8389837,-0.762124 l 3.3632341,-3.363233 3.363232,3.363233 c 0.507216,0.508516 1.173099,0.762124 1.838984,0.762124 0.665882,0 1.331765,-0.253608 1.838983,-0.762124 1.015733,-1.015733 1.015733,-2.662235 0,-3.677968 L 15.679268,11.999838 19.0412,8.6366048 c 1.015733,-1.015733 1.015733,-2.6622345 0,-3.6779673 z"
id="path8934"
style="fill:#000000;fill-opacity:0.78;stroke-width:1.30056" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg8980"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata8986">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8984" />
<path
style="fill:#aeaeae;fill-opacity:1;stroke-width:1.28574"
id="path8978"
d="m 6.4345258,3.7531206 c 1.002875,-1.0041608 2.63319,-1.0041608 3.6360652,0 l 8.248004,8.2467184 -8.248004,8.246719 C 9.5691528,20.749281 8.9108558,21 8.2525578,21 c -0.658297,0 -1.316595,-0.250719 -1.818032,-0.753442 -1.004161,-1.004161 -1.004161,-2.631904 0,-3.636065 L 11.043894,11.999839 6.4345258,7.3891855 c -1.004161,-1.0041608 -1.004161,-2.6319041 0,-3.6360649 z" />
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg8980"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata8986">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8984" />
<path
style="fill:#000000;fill-opacity:0.77999997;stroke-width:1.28574"
id="path8978"
d="m 6.4345258,3.7531206 c 1.002875,-1.0041608 2.63319,-1.0041608 3.6360652,0 l 8.248004,8.2467184 -8.248004,8.246719 C 9.5691528,20.749281 8.9108558,21 8.2525578,21 c -0.658297,0 -1.316595,-0.250719 -1.818032,-0.753442 -1.004161,-1.004161 -1.004161,-2.631904 0,-3.636065 L 11.043894,11.999839 6.4345258,7.3891855 c -1.004161,-1.0041608 -1.004161,-2.6319041 0,-3.6360649 z" />
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg5204">
<metadata
id="metadata5210">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs5208" />
<path
id="rect928"
d="M 7.75 2 C 6.7805 2 6 2.7805 6 3.75 L 6 5.5 L 4.1621094 5.5 C 3.2410844 5.5 2.5 6.2805 2.5 7.25 C 2.5 8.2195 3.2410844 9 4.1621094 9 L 6 9 L 6 15 L 4.1621094 15 C 3.2410844 15 2.5 15.7805 2.5 16.75 C 2.5 17.7195 3.2410844 18.5 4.1621094 18.5 L 6 18.5 L 6 20.25 C 6 21.2195 6.7805 22 7.75 22 C 8.7195 22 9.5 21.2195 9.5 20.25 L 9.5 18.5 L 14.5 18.5 L 14.5 20.25 C 14.5 21.2195 15.2805 22 16.25 22 C 17.2195 22 18 21.2195 18 20.25 L 18 18.5 L 19.837891 18.5 C 20.758916 18.5 21.5 17.7195 21.5 16.75 C 21.5 15.7805 20.758916 15 19.837891 15 L 18 15 L 18 9 L 19.837891 9 C 20.758916 9 21.5 8.2195 21.5 7.25 C 21.5 6.2805 20.758916 5.5 19.837891 5.5 L 18 5.5 L 18 3.75 C 18 2.7805 17.2195 2 16.25 2 C 15.2805 2 14.5 2.7805 14.5 3.75 L 14.5 5.5 L 9.5 5.5 L 9.5 3.75 C 9.5 2.7805 8.7195 2 7.75 2 z M 9.5 9 L 14.5 9 L 14.5 15 L 9.5 15 L 9.5 9 z "
style="fill:#aeaeae;fill-opacity:1;stroke:none;stroke-width:1.7544229;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg5204">
<metadata
id="metadata5210">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs5208" />
<path
id="rect928"
d="M 7.75 2 C 6.7805 2 6 2.7805 6 3.75 L 6 5.5 L 4.1621094 5.5 C 3.2410844 5.5 2.5 6.2805 2.5 7.25 C 2.5 8.2195 3.2410844 9 4.1621094 9 L 6 9 L 6 15 L 4.1621094 15 C 3.2410844 15 2.5 15.7805 2.5 16.75 C 2.5 17.7195 3.2410844 18.5 4.1621094 18.5 L 6 18.5 L 6 20.25 C 6 21.2195 6.7805 22 7.75 22 C 8.7195 22 9.5 21.2195 9.5 20.25 L 9.5 18.5 L 14.5 18.5 L 14.5 20.25 C 14.5 21.2195 15.2805 22 16.25 22 C 17.2195 22 18 21.2195 18 20.25 L 18 18.5 L 19.837891 18.5 C 20.758916 18.5 21.5 17.7195 21.5 16.75 C 21.5 15.7805 20.758916 15 19.837891 15 L 18 15 L 18 9 L 19.837891 9 C 20.758916 9 21.5 8.2195 21.5 7.25 C 21.5 6.2805 20.758916 5.5 19.837891 5.5 L 18 5.5 L 18 3.75 C 18 2.7805 17.2195 2 16.25 2 C 15.2805 2 14.5 2.7805 14.5 3.75 L 14.5 5.5 L 9.5 5.5 L 9.5 3.75 C 9.5 2.7805 8.7195 2 7.75 2 z M 9.5 9 L 14.5 9 L 14.5 15 L 9.5 15 L 9.5 9 z "
style="fill:#000000;fill-opacity:0.78039216;stroke:none;stroke-width:1.7544229;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg7486"
sodipodi:docname="arrow-maximise.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
<metadata
id="metadata7492">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs7490" />
<sodipodi:namedview
inkscape:document-rotation="0"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1370"
id="namedview7488"
showgrid="false"
inkscape:zoom="38.125"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="2560"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="svg7486" />
<path
d="m 15.75,2 c -0.69125,0 -1.25,0.56 -1.25,1.25 0,0.69 0.55875,1.25 1.25,1.25 h 1.9825 l -4.11625,4.11625 c -0.48875,0.48875 -0.48875,1.27875 0,1.7675 C 13.86,10.6275 14.18,10.75 14.5,10.75 c 0.32,0 0.64,-0.1225 0.88375,-0.36625 L 19.5,6.2675 V 8.25 c 0,0.69 0.55875,1.25 1.25,1.25 C 21.44125,9.5 22,8.94 22,8.25 V 2 Z M 8.61625,13.61625 4.5,17.7325 V 15.75 C 4.5,15.06 3.94125,14.5 3.25,14.5 2.55875,14.5 2,15.06 2,15.75 v 6.24875 H 3.245 L 8.25,22 C 8.94,22 9.5,21.44 9.5,20.75 9.5,20.06 8.94125,19.5 8.25,19.5 H 6.2675 l 4.11625,-4.115 c 0.48875,-0.48875 0.48875,-1.27875 0,-1.7675 C 9.895,13.12875 9.105,13.1275 8.61625,13.6163 Z M 5.75,12 C 6.44,12 7,11.44 7,10.75 V 7 h 3.75 C 11.44125,7 12,6.44 12,5.75 12,5.06 11.44125,4.5 10.75,4.5 H 4.50125 L 4.5,10.75 C 4.5,11.44 5.05875,12 5.75,12 Z m 12.5,0 C 17.55875,12 17,12.56 17,13.25 V 17 H 13.25 C 12.55875,17 12,17.56 12,18.25 c 0,0.69 0.55875,1.25 1.25,1.25 H 19.5 V 13.25 C 19.5,12.56 18.94125,12 18.25,12 Z"
id="path7484"
style="stroke-width:1.25;fill:#aeaeae;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg7486"
sodipodi:docname="arrow-maximise.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
<metadata
id="metadata7492">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs7490" />
<sodipodi:namedview
inkscape:document-rotation="0"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1370"
id="namedview7488"
showgrid="false"
inkscape:zoom="38.125"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="2560"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="svg7486" />
<path
d="m 15.75,2 c -0.69125,0 -1.25,0.56 -1.25,1.25 0,0.69 0.55875,1.25 1.25,1.25 h 1.9825 l -4.11625,4.11625 c -0.48875,0.48875 -0.48875,1.27875 0,1.7675 C 13.86,10.6275 14.18,10.75 14.5,10.75 c 0.32,0 0.64,-0.1225 0.88375,-0.36625 L 19.5,6.2675 V 8.25 c 0,0.69 0.55875,1.25 1.25,1.25 C 21.44125,9.5 22,8.94 22,8.25 V 2 Z M 8.61625,13.61625 4.5,17.7325 V 15.75 C 4.5,15.06 3.94125,14.5 3.25,14.5 2.55875,14.5 2,15.06 2,15.75 v 6.24875 H 3.245 L 8.25,22 C 8.94,22 9.5,21.44 9.5,20.75 9.5,20.06 8.94125,19.5 8.25,19.5 H 6.2675 l 4.11625,-4.115 c 0.48875,-0.48875 0.48875,-1.27875 0,-1.7675 C 9.895,13.12875 9.105,13.1275 8.61625,13.6163 Z M 5.75,12 C 6.44,12 7,11.44 7,10.75 V 7 h 3.75 C 11.44125,7 12,6.44 12,5.75 12,5.06 11.44125,4.5 10.75,4.5 H 4.50125 L 4.5,10.75 C 4.5,11.44 5.05875,12 5.75,12 Z m 12.5,0 C 17.55875,12 17,12.56 17,13.25 V 17 H 13.25 C 12.55875,17 12,17.56 12,18.25 c 0,0.69 0.55875,1.25 1.25,1.25 H 19.5 V 13.25 C 19.5,12.56 18.94125,12 18.25,12 Z"
id="path7484"
style="stroke-width:1.25;fill:#000000;fill-opacity:0.77999997" />
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="arrow-minimise.svg"
id="svg8816"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata8822">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8820" />
<sodipodi:namedview
inkscape:current-layer="svg8816"
inkscape:window-maximized="1"
inkscape:window-y="1"
inkscape:window-x="2560"
inkscape:cy="12"
inkscape:cx="12"
inkscape:zoom="38.125"
showgrid="false"
id="namedview8818"
inkscape:window-height="1370"
inkscape:window-width="2560"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff" />
<path
style="fill:#aeaeae;fill-opacity:1;stroke-width:1.24999"
id="path8814"
d="m 4.6514795,13.249863 c -0.6912284,0 -1.2499609,0.560009 -1.2499609,1.25002 0,0.69001 0.5587325,1.250019 1.2499609,1.250019 h 1.8311928 l -4.1161214,4.116314 c -0.4887347,0.488758 -0.4887347,1.27877 0,1.767528 C 2.6102933,21.877498 2.9302833,22 3.2502733,22 c 0.31999,0 0.63998,-0.122502 0.8837224,-0.366256 l 4.2673662,-4.267567 v 2.133784 c 0,0.69001 0.558733,1.250019 1.249961,1.250019 0.6912291,0 1.0987161,-0.560009 1.0987161,-1.250019 v -6.250098 z m 1.0987157,-2.500039 c 0.6899784,0 1.2499609,-0.560009 1.2499609,-1.2500188 V 6.9997658 h 2.4999218 c 0.6912291,0 1.2499611,-0.5600087 1.2499611,-1.2500195 0,-0.6900108 -0.558732,-1.2500195 -1.2499611,-1.2500195 H 4.5014842 l -0.00125,5.0000784 c 0,0.6900098 0.5587325,1.2500188 1.249961,1.2500188 z m 12.4996098,2.500039 c -0.691229,0 -1.249961,0.560009 -1.249961,1.25002 v 2.500039 h -2.499922 c -0.691229,0 -1.249961,0.560008 -1.249961,1.250019 0,0.690011 0.558732,1.25002 1.249961,1.25002 h 4.999844 v -5.000078 c 0,-0.690011 -0.558733,-1.25002 -1.249961,-1.25002 z M 19.866004,2.3659435 15.749883,6.4822577 V 4.4997268 c 0,-0.6900108 -0.558733,-1.2500195 -1.249961,-1.2500195 -0.691229,0 -1.249961,0.5600087 -1.249961,1.2500195 v 6.2500972 h 6.249805 c 0.689978,0 1.249961,-0.560009 1.249961,-1.2500188 0,-0.690011 -0.558733,-1.25002 -1.249961,-1.25002 h -1.982438 l 4.116121,-4.1150641 c 0.488735,-0.4887576 0.488735,-1.2787699 0,-1.7675276 -0.488735,-0.4887576 -1.27871,-0.4900076 -1.767445,-0.00125 z" />
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="arrow-minimise.svg"
id="svg8816"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata8822">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8820" />
<sodipodi:namedview
inkscape:current-layer="svg8816"
inkscape:window-maximized="1"
inkscape:window-y="1"
inkscape:window-x="2560"
inkscape:cy="12"
inkscape:cx="12"
inkscape:zoom="38.125"
showgrid="false"
id="namedview8818"
inkscape:window-height="1370"
inkscape:window-width="2560"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff" />
<path
style="fill:#000000;fill-opacity:0.77999997;stroke-width:1.24999"
id="path8814"
d="m 4.6514795,13.249863 c -0.6912284,0 -1.2499609,0.560009 -1.2499609,1.25002 0,0.69001 0.5587325,1.250019 1.2499609,1.250019 h 1.8311928 l -4.1161214,4.116314 c -0.4887347,0.488758 -0.4887347,1.27877 0,1.767528 C 2.6102933,21.877498 2.9302833,22 3.2502733,22 c 0.31999,0 0.63998,-0.122502 0.8837224,-0.366256 l 4.2673662,-4.267567 v 2.133784 c 0,0.69001 0.558733,1.250019 1.249961,1.250019 0.6912291,0 1.0987161,-0.560009 1.0987161,-1.250019 v -6.250098 z m 1.0987157,-2.500039 c 0.6899784,0 1.2499609,-0.560009 1.2499609,-1.2500188 V 6.9997658 h 2.4999218 c 0.6912291,0 1.2499611,-0.5600087 1.2499611,-1.2500195 0,-0.6900108 -0.558732,-1.2500195 -1.2499611,-1.2500195 H 4.5014842 l -0.00125,5.0000784 c 0,0.6900098 0.5587325,1.2500188 1.249961,1.2500188 z m 12.4996098,2.500039 c -0.691229,0 -1.249961,0.560009 -1.249961,1.25002 v 2.500039 h -2.499922 c -0.691229,0 -1.249961,0.560008 -1.249961,1.250019 0,0.690011 0.558732,1.25002 1.249961,1.25002 h 4.999844 v -5.000078 c 0,-0.690011 -0.558733,-1.25002 -1.249961,-1.25002 z M 19.866004,2.3659435 15.749883,6.4822577 V 4.4997268 c 0,-0.6900108 -0.558733,-1.2500195 -1.249961,-1.2500195 -0.691229,0 -1.249961,0.5600087 -1.249961,1.2500195 v 6.2500972 h 6.249805 c 0.689978,0 1.249961,-0.560009 1.249961,-1.2500188 0,-0.690011 -0.558733,-1.25002 -1.249961,-1.25002 h -1.982438 l 4.116121,-4.1150641 c 0.488735,-0.4887576 0.488735,-1.2787699 0,-1.7675276 -0.488735,-0.4887576 -1.27871,-0.4900076 -1.767445,-0.00125 z" />
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
id="svg8"
version="1.1"
viewBox="0 0 270.93333 270.93334"
height="1024"
width="1024">
<defs
id="defs2">
<linearGradient
id="linearGradient2515">
<stop
style="stop-color:#f7f7f7;stop-opacity:1"
offset="0"
id="stop2511" />
<stop
style="stop-color:#e5e5e5;stop-opacity:1"
offset="1"
id="stop2513" />
</linearGradient>
<rect
x="60.484347"
y="205.79962"
width="130.57787"
height="65.785888"
id="rect852" />
<rect
id="rect1474"
height="28.631245"
width="177.70083"
y="18.019813"
x="13.463703" />
<rect
id="rect852-7"
height="65.785889"
width="130.57787"
y="205.79962"
x="60.484348" />
<rect
id="rect1544"
height="65.785889"
width="130.57787"
y="205.79962"
x="60.484348" />
<rect
x="60.484348"
y="205.79962"
width="130.57787"
height="65.785889"
id="rect1570" />
<rect
x="13.463703"
y="18.019813"
width="177.70083"
height="28.631245"
id="rect1587" />
<filter
id="filter1444"
style="color-interpolation-filters:sRGB">
<feFlood
id="feFlood1434"
result="flood"
flood-color="rgb(0,0,0)"
flood-opacity="0.498039" />
<feComposite
id="feComposite1436"
result="composite1"
operator="in"
in2="SourceGraphic"
in="flood" />
<feGaussianBlur
id="feGaussianBlur1438"
result="blur"
stdDeviation="3"
in="composite1" />
<feOffset
id="feOffset1440"
result="offset"
dy="6"
dx="6" />
<feComposite
id="feComposite1442"
result="composite2"
operator="over"
in2="offset"
in="SourceGraphic" />
</filter>
<filter
id="filter1456"
style="color-interpolation-filters:sRGB">
<feFlood
id="feFlood1446"
result="flood"
flood-color="rgb(0,0,0)"
flood-opacity="0.498039" />
<feComposite
id="feComposite1448"
result="composite1"
operator="in"
in2="SourceGraphic"
in="flood" />
<feGaussianBlur
id="feGaussianBlur1450"
result="blur"
stdDeviation="3"
in="composite1" />
<feOffset
id="feOffset1452"
result="offset"
dy="6"
dx="6" />
<feComposite
id="feComposite1454"
result="composite2"
operator="over"
in2="offset"
in="SourceGraphic" />
</filter>
<radialGradient
xlink:href="#linearGradient2515"
id="radialGradient2517"
cx="605.42725"
cy="623.97186"
fx="605.42725"
fy="623.97186"
r="410"
gradientTransform="matrix(2.4110274,1.7617596,-0.719517,0.98463462,-776.23441,-1372.7537)"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer3"
style="display:inline">
<path
clip-path="none"
transform="scale(0.26458333)"
d="m 192,22 c -44.32,0 -80,35.680002 -80,80 v 820 c 0,44.32002 35.68,80 80,80 h 640 c 44.31999,0 80,-35.67998 80,-80 V 213.44727 L 720.55469,22 Z"
style="fill:url(#radialGradient2517);fill-opacity:1;stroke:#999999;stroke-width:20;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1481" />
<path
id="path1490"
style="display:inline;fill:#e0e0e0;fill-opacity:1;stroke:#999999;stroke-width:5.29167;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 241.30037,56.474215 190.64713,5.8204593 V 35.307549 c 0,11.726333 9.44034,21.166666 21.16667,21.166666 z" />
<g
aria-label=".nwx"
transform="matrix(1.7893481,0,0,1.782571,-45.41919,-191.90571)"
id="text850"
style="font-size:5.64444px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans, Normal';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect852);display:inline;fill:#666666;fill-opacity:1">
<path
d="m 63.088865,241.76928 q 0,-1.36426 0.909505,-2.27376 0.930175,-0.93018 2.480467,-0.93018 1.550291,0 2.459796,0.93018 0.909504,0.9095 0.909504,2.27376 0,1.34359 -0.909504,2.27376 -0.909505,0.9095 -2.459796,0.9095 -1.550292,0 -2.480467,-0.9095 -0.909505,-0.93017 -0.909505,-2.27376 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:42.3333px;font-family:Roboto;-inkscape-font-specification:'Roboto, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#666666;fill-opacity:1"
id="path856" />
<path
d="m 84.75161,226.78312 q -2.542479,0 -3.782712,2.14974 v 15.79231 h -5.973791 v -22.36554 h 5.601721 l 0.206705,2.56314 q 2.397785,-2.97656 6.428544,-2.97656 3.162595,0 5.105627,1.88103 1.943033,1.88102 1.963703,6.55256 v 14.34537 h -5.994461 v -14.26269 q 0,-2.14973 -0.930175,-2.91454 -0.909505,-0.76482 -2.625161,-0.76482 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:42.3333px;font-family:Roboto;-inkscape-font-specification:'Roboto, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#666666;fill-opacity:1"
id="path858" />
<path
d="m 126.96089,222.35963 -5.68441,22.36554 h -5.00227 l -4.25814,-14.07665 -4.23746,14.07665 h -4.9816 l -5.705078,-22.36554 h 5.767088 l 2.95589,14.22134 4.05143,-14.22134 h 4.32014 l 4.09277,14.20067 2.91455,-14.20067 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:42.3333px;font-family:Roboto;-inkscape-font-specification:'Roboto, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#666666;fill-opacity:1"
id="path860" />
<path
d="m 134.77436,222.35963 3.65869,6.65592 3.76204,-6.65592 h 6.3872 l -6.36653,10.93472 6.63525,11.43082 h -6.3872 l -4.01009,-7.04866 -3.94808,7.04866 h -6.42854 l 6.63525,-11.43082 -6.36654,-10.93472 z"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:42.3333px;font-family:Roboto;-inkscape-font-specification:'Roboto, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#666666;fill-opacity:1"
id="path862" />
</g>
</g>
<g
id="g2509"
transform="matrix(1.2371037,0,0,1.2371037,206.3182,37.341857)">
<path
transform="matrix(0.16895991,0,0,0.18329422,-134.6942,-19.491243)"
id="rect1406-1"
style="display:inline;fill:#a11212;fill-opacity:1;stroke:#7e1b1b;stroke-width:9.99999;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter1444)"
d="m 145.18984,56.414257 c -44.32,0 -79.999998,35.68 -79.999998,80.000003 v 199.99805 a 279.99999,279.99999 0 0 0 0,0.002 279.99999,279.99999 0 0 0 0,0.0195 v 199.98242 c 0,44.31999 35.679998,80 79.999998,80 44.32,0 80,-35.68001 80,-80 v -200 a 120,120 0 0 1 120,-120 120,120 0 0 1 120,120 v 282.83592 h 160 V 336.41621 a 279.99999,279.99999 0 0 0 -280,-280.000003 279.99999,279.99999 0 0 0 -0.81055,0 279.99999,279.99999 0 0 0 -133.46484,34.29688 c -14.4245,-20.75262 -38.42829,-34.29883 -65.72461,-34.29883 z M 376.65078,619.64082 c -0.62174,0.0972 -1.2172,0.22317 -1.7793,0.37696 0.5621,-0.15379 1.15756,-0.27973 1.7793,-0.37696 z m -1.7793,0.37696 c -0.5621,0.15378 -1.09071,0.33534 -1.58008,0.53906 0.48937,-0.20372 1.01798,-0.38528 1.58008,-0.53906 z m 338.85742,-0.37696 c 0.62174,0.0972 1.2172,0.22317 1.7793,0.37696 -0.5621,-0.15379 -1.15756,-0.27973 -1.7793,-0.37696 z m 1.7793,0.37696 c 0.5621,0.15378 1.09071,0.33534 1.58008,0.53906 -0.48938,-0.20372 -1.01798,-0.38528 -1.58008,-0.53906 z" />
<path
transform="matrix(0.16895991,0,0,0.18329422,-134.6942,-19.491243)"
id="path897"
style="display:inline;fill:#730d0d;fill-opacity:1;stroke:#590d0d;stroke-width:9.99999;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter1456)"
d="m 465.18984,619.25215 v 0.16406 h -85.58398 c -5.49302,0 -9.91602,2.2329 -9.91602,5.00586 0,0.52294 0.15913,1.02696 0.45117,1.5 h -0.44531 c 0.30916,2.03607 1.24102,3.99791 2.81641,5.57227 l 165.59961,165.49414 c 3.92061,3.91808 10.23371,3.91812 14.15429,0 L 717.86757,631.49434 c 1.57569,-1.57463 2.50725,-3.53578 2.81641,-5.57227 h -0.44531 c 0.29216,-0.47304 0.45117,-0.97706 0.45117,-1.5 0,-2.77296 -4.42304,-5.00586 -9.91602,-5.00586 h -85.58398 v -0.16406 z" />
<rect
style="display:inline;fill:#c32222;fill-opacity:1;stroke:none;stroke-width:1.75982;stroke-linejoin:round;stroke-opacity:1"
id="rect914"
width="6.7583966"
height="82.482399"
x="-118.27303"
y="1.2969339"
rx="3.3791983"
ry="3.6658845" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg1321"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata1327">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs1325" />
<path
style="stroke-width:1.25;fill:#aeaeae;fill-opacity:1"
id="path1319"
d="M 12,2 C 6.48625,2 2,6.48625 2,12 c 0,5.51375 4.48625,10 10,10 2.02,0 3.965,-0.59875 5.62375,-1.73 0.57,-0.39 0.7175,-1.1675 0.32875,-1.7375 -0.38875,-0.57125 -1.165,-0.715 -1.7375,-0.32875 C 14.9725,19.0525 13.515,19.5 12,19.5 7.86375,19.5 4.5,16.13625 4.5,12 4.5,7.86375 7.86375,4.5 12,4.5 c 4.13625,0 7.5,3.36375 7.5,7.5 v 0.625 c 0,0.69 -0.56,1.25 -1.25,1.25 -0.69,0 -1.25,-0.56 -1.25,-1.25 v -3.75 c 0,-0.69125 -0.55875,-1.25 -1.25,-1.25 -0.55125,0 -1.00625,0.3625 -1.1725,0.86 C 13.8525,7.95125 12.96625,7.625 12,7.625 9.5875,7.625 7.625,9.5875 7.625,12 c 0,2.4125 1.9625,4.375 4.375,4.375 1.30625,0 2.46875,-0.5875 3.27,-1.49875 0.685,0.90375 1.76,1.49875 2.98,1.49875 2.0675,0 3.75,-1.6825 3.75,-3.75 V 12 C 22,6.48625 17.51375,2 12,2 Z m 0,11.875 c -1.03375,0 -1.875,-0.84125 -1.875,-1.875 0,-1.03375 0.84125,-1.875 1.875,-1.875 1.03375,0 1.875,0.84125 1.875,1.875 0,1.03375 -0.84125,1.875 -1.875,1.875 z" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg1321"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata1327">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs1325" />
<path
style="stroke-width:1.25;fill:#000000;fill-opacity:0.78039217"
id="path1319"
d="M 12,2 C 6.48625,2 2,6.48625 2,12 c 0,5.51375 4.48625,10 10,10 2.02,0 3.965,-0.59875 5.62375,-1.73 0.57,-0.39 0.7175,-1.1675 0.32875,-1.7375 -0.38875,-0.57125 -1.165,-0.715 -1.7375,-0.32875 C 14.9725,19.0525 13.515,19.5 12,19.5 7.86375,19.5 4.5,16.13625 4.5,12 4.5,7.86375 7.86375,4.5 12,4.5 c 4.13625,0 7.5,3.36375 7.5,7.5 v 0.625 c 0,0.69 -0.56,1.25 -1.25,1.25 -0.69,0 -1.25,-0.56 -1.25,-1.25 v -3.75 c 0,-0.69125 -0.55875,-1.25 -1.25,-1.25 -0.55125,0 -1.00625,0.3625 -1.1725,0.86 C 13.8525,7.95125 12.96625,7.625 12,7.625 9.5875,7.625 7.625,9.5875 7.625,12 c 0,2.4125 1.9625,4.375 4.375,4.375 1.30625,0 2.46875,-0.5875 3.27,-1.49875 0.685,0.90375 1.76,1.49875 2.98,1.49875 2.0675,0 3.75,-1.6825 3.75,-3.75 V 12 C 22,6.48625 17.51375,2 12,2 Z m 0,11.875 c -1.03375,0 -1.875,-0.84125 -1.875,-1.875 0,-1.03375 0.84125,-1.875 1.875,-1.875 1.03375,0 1.875,0.84125 1.875,1.875 0,1.03375 -0.84125,1.875 -1.875,1.875 z" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg6649"
sodipodi:docname="refresh.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
<metadata
id="metadata6655">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6653" />
<sodipodi:namedview
inkscape:document-rotation="0"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1370"
id="namedview6651"
showgrid="false"
inkscape:zoom="38.125"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="2560"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="svg6649" />
<path
d="M 13.162667,12.25611 H 20 V 5.4213831 C 19.989333,3.9083317 19.105333,3.5443996 18.036,4.6148668 L 16.497333,6.1585791 C 15.144,5.0987766 13.488,4.5188846 11.742667,4.5188846 9.676,4.5188846 7.7306667,5.3240679 6.2706667,6.7864621 4.8053333,8.242191 4,10.189828 4,12.25611 4,14.326391 4.8053333,16.271361 6.268,17.731089 7.7306667,19.193484 9.674667,20 11.742667,20 c 2.066666,0 4.012,-0.806516 5.474666,-2.270244 0.394667,-0.395926 0.744,-0.827845 1.04,-1.286427 C 18.72,15.72213 18.510667,14.763642 17.790667,14.303728 17.072,13.842481 16.113333,14.051775 15.652,14.770308 c -0.177333,0.275948 -0.389333,0.533234 -0.624,0.773189 -0.878667,0.87717 -2.045333,1.359747 -3.285333,1.359747 -1.24,0 -2.406667,-0.481244 -3.285334,-1.359747 -0.8759997,-0.87717 -1.3599997,-2.043619 -1.3599997,-3.286054 0,-1.239769 0.4826667,-2.406219 1.3599997,-3.280722 0.878667,-0.87717 2.045334,-1.36108 3.285334,-1.36108 0.917333,0 1.794666,0.26795 2.545333,0.762525 l -1.930667,1.934306 c -1.070666,1.069134 -0.706666,1.943638 0.805334,1.943638 z"
id="path6647"
style="fill:#aeaeae;fill-opacity:1;stroke-width:1.33321" />
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg6649"
sodipodi:docname="refresh.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
<metadata
id="metadata6655">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6653" />
<sodipodi:namedview
inkscape:document-rotation="0"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1370"
id="namedview6651"
showgrid="false"
inkscape:zoom="38.125"
inkscape:cx="12"
inkscape:cy="12"
inkscape:window-x="2560"
inkscape:window-y="1"
inkscape:window-maximized="1"
inkscape:current-layer="svg6649" />
<path
d="M 13.162667,12.25611 H 20 V 5.4213831 C 19.989333,3.9083317 19.105333,3.5443996 18.036,4.6148668 L 16.497333,6.1585791 C 15.144,5.0987766 13.488,4.5188846 11.742667,4.5188846 9.676,4.5188846 7.7306667,5.3240679 6.2706667,6.7864621 4.8053333,8.242191 4,10.189828 4,12.25611 4,14.326391 4.8053333,16.271361 6.268,17.731089 7.7306667,19.193484 9.674667,20 11.742667,20 c 2.066666,0 4.012,-0.806516 5.474666,-2.270244 0.394667,-0.395926 0.744,-0.827845 1.04,-1.286427 C 18.72,15.72213 18.510667,14.763642 17.790667,14.303728 17.072,13.842481 16.113333,14.051775 15.652,14.770308 c -0.177333,0.275948 -0.389333,0.533234 -0.624,0.773189 -0.878667,0.87717 -2.045333,1.359747 -3.285333,1.359747 -1.24,0 -2.406667,-0.481244 -3.285334,-1.359747 -0.8759997,-0.87717 -1.3599997,-2.043619 -1.3599997,-3.286054 0,-1.239769 0.4826667,-2.406219 1.3599997,-3.280722 0.878667,-0.87717 2.045334,-1.36108 3.285334,-1.36108 0.917333,0 1.794666,0.26795 2.545333,0.762525 l -1.930667,1.934306 c -1.070666,1.069134 -0.706666,1.943638 0.805334,1.943638 z"
id="path6647"
style="fill:#000000;fill-opacity:0.77999997;stroke-width:1.33321" />
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg5204"
viewBox="0 0 24 24"
height="24"
width="24"
version="1.2">
<metadata
id="metadata5210">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs5208" />
<path
style="stroke-width:1.25;fill:#aeaeae;fill-opacity:1"
id="path5202"
d="M 19.5,9.5 H 4.5 C 3.12,9.5 2,10.62 2,12 c 0,1.38 1.12,2.5 2.5,2.5 h 15 C 20.88,14.5 22,13.38 22,12 22,10.62 20.88,9.5 19.5,9.5 Z" />
</svg>

After

Width:  |  Height:  |  Size: 936 B

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg5204">
<metadata
id="metadata5210">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs5208" />
<path
d="M 19.5,9.5 H 4.5 C 3.12,9.5 2,10.62 2,12 c 0,1.38 1.12,2.5 2.5,2.5 h 15 C 20.88,14.5 22,13.38 22,12 22,10.62 20.88,9.5 19.5,9.5 Z"
id="path5202"
style="stroke-width:1.25;fill:#000000;fill-opacity:0.77999997" />
</svg>

After

Width:  |  Height:  |  Size: 945 B

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.2"
width="24"
height="24"
viewBox="0 0 24 24"
id="svg873">
<metadata
id="metadata879">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs877" />
<path
d="M 19.769714,14.460577 19.131808,13.821482 18.240407,12.92889 C 18.510564,12.110086 18.66171,11.238917 18.66171,10.330854 18.66171,5.7381732 14.923537,2 10.330856,2 5.7381752,2 2.000002,5.7381732 2.000002,10.330854 c 0,4.592681 3.7381732,8.330854 8.330854,8.330854 0.908063,0 1.780422,-0.151146 2.599226,-0.421303 l 0.892591,0.891401 1.799465,1.797084 0.07259,0.0726 0.07617,0.06545 C 16.486163,21.669146 17.375184,22 18.274916,22 c 2.054151,0 3.725082,-1.670931 3.725082,-3.726271 0,-0.999704 -0.390359,-1.937519 -1.099672,-2.639692 z M 4.3790558,10.330854 c 0,-3.2811664 2.6694437,-5.9506101 5.9506102,-5.9506101 3.281166,0 5.95061,2.6694437 5.95061,5.9506101 0,3.281166 -2.669444,5.95061 -5.95061,5.95061 -3.2811665,0 -5.9506102,-2.669444 -5.9506102,-5.95061 z"
id="path871"
style="fill:#aeaeae;fill-opacity:1;stroke-width:1.19012" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Some files were not shown because too many files have changed in this diff Show More