Compare commits

...

4219 Commits
v1.0b4 ... v2.6

Author SHA1 Message Date
Veronica Berglyd Olsen
448057edf6 Release 2.6 (#2208) 2025-01-26 20:05:33 +01:00
Veronica Berglyd Olsen
9d993b2992 Fix typo in changelog 2025-01-26 20:05:03 +01:00
Veronica Berglyd Olsen
8ca13f6e08 Update changelog with last changes 2025-01-26 20:01:34 +01:00
Veronica Berglyd Olsen
80fc4c9538 Merge branch 'release' into release_2.6 2025-01-26 19:56:51 +01:00
Veronica Berglyd Olsen
9f8867c1b4 Update i18n for 2.6 final (#2207) 2025-01-26 19:56:32 +01:00
Veronica Berglyd Olsen
481ce883ab Update Italian translation 2025-01-26 18:36:25 +01:00
Veronica Berglyd Olsen
63f184dd60 Update Codecov action to v5 2025-01-26 18:34:44 +01:00
Veronica Berglyd Olsen
3d4d9ed111 Merge branch 'release' into i18n 2025-01-26 18:31:21 +01:00
Veronica Berglyd Olsen
b2ba932735 Update docs for 2.6 (#2210) 2025-01-26 18:31:00 +01:00
Veronica Berglyd Olsen
8c1070b318 Disable flaky test on Windows 2025-01-26 18:26:45 +01:00
Veronica Berglyd Olsen
6c4d8f3ede Update tests with change of default config 2025-01-26 18:19:12 +01:00
Veronica Berglyd Olsen
f2c118776a Update the project sections of the docs to 2.6 2025-01-26 18:15:36 +01:00
Veronica Berglyd Olsen
87890dd249 Update the Introduction section of the docs to 2.6 2025-01-26 16:17:56 +01:00
Veronica Berglyd Olsen
15301c9121 Bump version and update changelog 2025-01-25 22:00:14 +01:00
Veronica Berglyd Olsen
8dc4b661d8 Update final translations for de, en, ja, nb and pl 2025-01-25 21:43:41 +01:00
Veronica Berglyd Olsen
d47ec4157d Update completed translations before #2206 2025-01-25 21:41:44 +01:00
Veronica Berglyd Olsen
9d64a59b70 Update project translations 2025-01-25 21:38:59 +01:00
Veronica Berglyd Olsen
234fc20048 Change chapter heading level to H1 (#2206) 2025-01-25 21:36:13 +01:00
Veronica Berglyd Olsen
8432dfdd1f Extend ODT and DocX tests 2025-01-25 21:18:30 +01:00
Veronica Berglyd Olsen
5fddfd395e Update HTML output 2025-01-25 21:06:20 +01:00
Veronica Berglyd Olsen
11d0e4220f Use alternative level 1 format for titles and partitions for markdown 2025-01-25 20:51:24 +01:00
Veronica Berglyd Olsen
6d4e066810 Update other tests 2025-01-25 16:17:31 +01:00
Veronica Berglyd Olsen
9f1274f953 Update ODT and DocX to work with new chapter headers 2025-01-25 16:17:19 +01:00
Veronica Berglyd Olsen
9ac1692e2a Drop separate types for chapters, scenes and sections as they seem to not be needed 2025-01-25 16:11:57 +01:00
Veronica Berglyd Olsen
6f88357977 Update QTextDocument to work with new chapter headers 2025-01-25 15:35:02 +01:00
Veronica Berglyd Olsen
19bdbf9aca Update build settings margin labels 2025-01-25 15:26:25 +01:00
Veronica Berglyd Olsen
5a25d34ba3 Update HTML to work with new chapter headers 2025-01-25 15:05:11 +01:00
Veronica Berglyd Olsen
13e6199af2 Separate ordinary headers and novel headers in the Tokenizer 2025-01-25 14:58:06 +01:00
Veronica Berglyd Olsen
5be1e2c954 Make some minor code and GUI fixes (#2202) 2025-01-22 01:05:28 +01:00
Veronica Berglyd Olsen
306bd245fc Block tree context menu in blank area 2025-01-22 00:58:55 +01:00
Veronica Berglyd Olsen
7e42d04e36 Drop deleteLater for context menus 2025-01-22 00:53:18 +01:00
Veronica Berglyd Olsen
53dfdb3a2e Fix potential undefined variable in editor 2025-01-22 00:48:59 +01:00
Veronica Berglyd Olsen
eb113a8928 Make sure status label in item details panel can wrap 2025-01-22 00:48:03 +01:00
Veronica Berglyd Olsen
c369ef450f Fix add dicitonary tool (#2189) 2025-01-15 20:56:08 +01:00
Veronica Berglyd Olsen
6674cf99a6 Update spell check dictionary download links 2025-01-15 20:28:53 +01:00
Veronica Berglyd Olsen
70cca405f5 Make sure selection model exists before accessing (#2181) 2025-01-11 18:43:47 +01:00
Veronica Berglyd Olsen
d7d211baf2 Fix empty selection model bug (#2173) 2025-01-11 18:39:23 +01:00
Veronica Berglyd Olsen
d5a35fa86f Fix novel selector bug (#2179) 2025-01-11 18:37:06 +01:00
Veronica Berglyd Olsen
dc265e57f3 Store previous selection before clear in novel selector widget 2025-01-11 18:30:53 +01:00
Veronica Berglyd Olsen
4b79b2bd57 Fix i18n sources (#2169) 2025-01-10 01:06:24 +01:00
Veronica Berglyd Olsen
80c9e54a9a Update translation files 2025-01-10 01:00:16 +01:00
Veronica Berglyd Olsen
eba0b607a4 Fix translation issues 2025-01-10 00:59:53 +01:00
Veronica Berglyd Olsen
04464a2798 Separate some constants due to duplicate words 2025-01-09 23:51:29 +01:00
Veronica Berglyd Olsen
202b5192ed Release 2.6 RC 1 (#2168) 2025-01-09 23:07:24 +01:00
Veronica Berglyd Olsen
62397225f9 Update translations 2025-01-09 22:58:28 +01:00
Veronica Berglyd Olsen
b220fffd6f Bump version to 2.6 RC 1 and update changelog 2025-01-09 22:54:19 +01:00
Veronica Berglyd Olsen
e14f7881a3 Fix search panel theme update bug (#2167) 2025-01-09 22:42:47 +01:00
Veronica Berglyd Olsen
2085fbe107 Drop the wrapper widget for the search tool header (#2162) 2025-01-09 22:36:11 +01:00
Veronica Berglyd Olsen
31a75f044e Fix minor issues with some constants (#2166) 2025-01-09 22:27:08 +01:00
Veronica Berglyd Olsen
5b74125fcd Merge branch 'main' into minor_fixes 2025-01-09 22:22:39 +01:00
Veronica Berglyd Olsen
1cf3cfcf77 Fix typo in constant 2025-01-09 22:15:33 +01:00
Veronica Berglyd Olsen
defaf6c1ee Fix constant in error handler 2025-01-09 22:15:20 +01:00
Veronica Berglyd Olsen
e0f467fa10 Fix minor bug from in editor counter (#2157) 2025-01-04 01:42:21 +01:00
Veronica Berglyd Olsen
362da679b6 Fix minor issue introduced by selection counter update 2025-01-04 01:38:06 +01:00
Veronica Berglyd Olsen
0b35bcfc3b Fix minor issue with editor word counter (#2156) 2025-01-03 23:47:24 +01:00
Veronica Berglyd Olsen
fad162c6c1 Give selection counter priority in editor footer (#2155) 2025-01-03 23:42:41 +01:00
Veronica Berglyd Olsen
97fc64fcae Update copyright (#2154) 2025-01-03 12:02:48 +00:00
Veronica Berglyd Olsen
5224234637 Make sure imported status labels are saved (#2153) 2024-12-31 01:05:38 +01:00
Veronica Berglyd Olsen
b4f1d0ec77 Fix bug in status label import 2024-12-31 00:59:25 +01:00
Veronica Berglyd Olsen
5911c43b5b Add Import/export of status labels (#2152) 2024-12-31 00:40:52 +01:00
Veronica Berglyd Olsen
4f137466c5 Fix test for Windows 2024-12-31 00:38:02 +01:00
Veronica Berglyd Olsen
3836a2a56c Fix column stretch setting 2024-12-31 00:35:52 +01:00
Veronica Berglyd Olsen
49e59d74cc Update tests 2024-12-31 00:28:42 +01:00
Veronica Berglyd Olsen
9461eea03a Add import/export for status labels 2024-12-31 00:14:47 +01:00
Veronica Berglyd Olsen
136939d391 Make some general import/export functionality improvements 2024-12-31 00:14:25 +01:00
Veronica Berglyd Olsen
33aea82e6e Remove "Apply" buttons in Project Settings (#2151) 2024-12-30 17:00:18 +01:00
Veronica Berglyd Olsen
4a6511b39f Add some minor code cleanup 2024-12-30 16:55:54 +01:00
Veronica Berglyd Olsen
6448f05557 Also remove apply button from auto-replace settings 2024-12-30 16:50:34 +01:00
Veronica Berglyd Olsen
c08eca7c3b Update test 2024-12-30 16:39:44 +01:00
Veronica Berglyd Olsen
df6ca2e17b Drop the status/importance Apply button (#2150) 2024-12-30 16:34:54 +01:00
Veronica Berglyd Olsen
c39a5f9708 Hide session timer (#2149) 2024-12-29 18:02:17 +01:00
Veronica Berglyd Olsen
46d69c31d1 Update docs 2024-12-29 17:43:54 +01:00
Veronica Berglyd Olsen
e924d121bf Update tests 2024-12-29 17:38:21 +01:00
Veronica Berglyd Olsen
2fa1dcccac Use correct signal naming 2024-12-29 17:38:03 +01:00
Veronica Berglyd Olsen
dc9413fa7e Show or hide the status bar timer when it is clicked 2024-12-29 17:30:03 +01:00
Veronica Berglyd Olsen
1b34bc30c7 Add a modified label widget that emits a click signal 2024-12-29 17:29:07 +01:00
Veronica Berglyd Olsen
4d33f087df Fix project tree status/importance for folders (#2147) 2024-12-29 16:33:38 +01:00
Veronica Berglyd Olsen
81a4d5fadb Fix wrong check type for single item status label chang (#2145) 2024-12-29 16:15:56 +01:00
Veronica Berglyd Olsen
7682ae0425 Update MacOS DMG build (#2141) 2024-12-23 15:57:46 +01:00
Veronica Berglyd Olsen
677274adb3 Try a different MacOS image 2024-12-23 15:37:28 +01:00
Veronica Berglyd Olsen
83fca9fd94 Release 2.6 Beta 2 (#2139) 2024-12-23 15:06:51 +01:00
Veronica Berglyd Olsen
4150a9740b Bump version and update changelog 2024-12-23 15:00:01 +01:00
Veronica Berglyd Olsen
f7021559d0 Refactor quoted dialogue detection (#2138) 2024-12-23 14:23:53 +01:00
Veronica Berglyd Olsen
00d4c550f1 Update tests 2024-12-23 14:20:02 +01:00
Veronica Berglyd Olsen
97903993c8 Restructure dialogue detection from quotes 2024-12-23 14:19:47 +01:00
Veronica Berglyd Olsen
3d858ed9ab Remove boundary condition in quote dialogue highlighting in most cases (#2131) 2024-12-09 00:23:48 +01:00
Veronica Berglyd Olsen
cc5cd50065 Improve editor auto-replace (#2132) 2024-12-05 23:41:22 +01:00
Veronica Berglyd Olsen
0c0d909dcb Remove debug code 2024-12-05 23:34:12 +01:00
Veronica Berglyd Olsen
8dafaa13c0 Use slots for some of the often called attributes in the editor 2024-12-05 23:01:17 +01:00
Veronica Berglyd Olsen
05385ba73b Improve the text auto-replace class 2024-12-05 22:57:43 +01:00
Veronica Berglyd Olsen
924a2c3381 Move editor auto-replace to a separate class 2024-12-05 22:40:15 +01:00
Veronica Berglyd Olsen
6502c424e2 Align headers to bottom of page margin for ODT and DocX (#2128) 2024-11-29 12:52:50 +01:00
Veronica Berglyd Olsen
243124a4ba Update tests 2024-11-29 00:41:15 +01:00
Veronica Berglyd Olsen
4a2a14bc05 Make header margins similar in ODT and DocX files (#2120) 2024-11-29 00:40:45 +01:00
Veronica Berglyd Olsen
976328c9dc Fix font style and PDF issues (#2122) 2024-11-27 22:59:20 +01:00
Veronica Berglyd Olsen
3b0086e75e Use a frame for page break marker in manuscript preview 2024-11-26 23:56:31 +01:00
Veronica Berglyd Olsen
7c38a748b6 Merge branch 'main' into font_styles 2024-11-26 22:58:32 +01:00
Veronica Berglyd Olsen
4d98689304 Merge release 2.5.3 2024-11-26 22:57:51 +01:00
Veronica Berglyd Olsen
8307822e20 Release 2.5.3 (#2126) 2024-11-26 22:27:30 +01:00
Veronica Berglyd Olsen
f1548dc8ea Fix some issues in the changelog 2024-11-26 22:23:15 +01:00
Veronica Berglyd Olsen
25b33ab4d3 Bump version to 2.5.3 and update changelog 2024-11-26 22:21:30 +01:00
Veronica Berglyd Olsen
4af98dcab5 Add Russian translation 2024-11-26 22:13:55 +01:00
Veronica Berglyd Olsen
3cf916c845 Update translations 2024-11-26 22:10:43 +01:00
Veronica Berglyd Olsen
bcac05ca20 Only use 1200 DPI for scalable fonts 2024-11-26 21:42:54 +01:00
Veronica Berglyd Olsen
07c61450c7 Try forcing resolution for PDF printer 2024-11-26 18:57:07 +01:00
Veronica Berglyd Olsen
43d95462e0 Optimise a few details and add some tests 2024-11-26 17:07:02 +01:00
Veronica Berglyd Olsen
c091e0b9bb Apply the font matcher closer to config read 2024-11-26 17:06:34 +01:00
Veronica Berglyd Olsen
18c70ffe3e Allow setting resolution for ToQTextDocument converter 2024-11-26 02:22:36 +01:00
Veronica Berglyd Olsen
ff470028be Add a font matcher for text fonts (#2118) 2024-11-26 02:03:09 +01:00
Veronica Berglyd Olsen
8463188336 Fix default font in editor 2024-11-26 01:06:47 +01:00
Veronica Berglyd Olsen
2808c36753 Rename tokenizer setFont to setTextFont 2024-11-26 00:40:09 +01:00
Veronica Berglyd Olsen
05b1fdd7f2 Drop relative font weights in ODT output 2024-11-25 23:43:38 +01:00
Veronica Berglyd Olsen
00017e8065 Reset to default font style after emphasis in QTextDocuments (#2121) 2024-11-25 23:36:35 +01:00
Veronica Berglyd Olsen
ff34112532 Rewrite project tree as a model/view set (#2119) 2024-11-25 00:11:53 +01:00
Veronica Berglyd Olsen
4cadd1597e Add coverage to remaining missed lines 2024-11-25 00:07:32 +01:00
Veronica Berglyd Olsen
e30d2cbbf1 Always use forward slash for ToC file 2024-11-24 19:25:46 +01:00
Veronica Berglyd Olsen
0449cf824d Add test coverage of the gui project tree 2024-11-24 18:39:23 +01:00
Veronica Berglyd Olsen
32d899dbfb Fix windows path 2024-11-24 02:53:54 +01:00
Veronica Berglyd Olsen
9ec9c55c3f Add test coverage of the project tree 2024-11-24 02:48:17 +01:00
Veronica Berglyd Olsen
01b2b53fd5 Add test coverage of the item model 2024-11-24 00:43:01 +01:00
Veronica Berglyd Olsen
be6888f8c8 Fix Python 3.9 incompatible type 2024-11-23 20:29:02 +01:00
Veronica Berglyd Olsen
c1ed0647fe Refactor project signal proxies 2024-11-23 19:56:24 +01:00
Veronica Berglyd Olsen
1bf42ceb55 Update tests other than tree-related 2024-11-23 19:30:29 +01:00
Veronica Berglyd Olsen
ca8bd8d271 Disable project tree tests in core and gui 2024-11-22 17:04:53 +01:00
Veronica Berglyd Olsen
bf23a4920f Merge branch 'main' into project_model 2024-11-22 16:46:50 +01:00
Veronica Berglyd Olsen
cfb048ec19 Update log formatting again (#2117) 2024-11-22 16:46:28 +01:00
Veronica Berglyd Olsen
5284bea0f0 Rewrite log colouring 2024-11-22 16:41:11 +01:00
Veronica Berglyd Olsen
1244a4058c Merge branch 'main' into project_model 2024-11-22 02:22:47 +01:00
Veronica Berglyd Olsen
8c51363651 Colourise log output (#2114) 2024-11-22 02:22:10 +01:00
Veronica Berglyd Olsen
893f18c7ad Add test coverage 2024-11-22 02:18:31 +01:00
Veronica Berglyd Olsen
909c97feda Add ANSI colours to log output 2024-11-22 01:47:21 +01:00
Veronica Berglyd Olsen
fea989c1f8 Update comments 2024-11-22 00:56:33 +01:00
Veronica Berglyd Olsen
a64ed405f3 Add some clear data functions 2024-11-22 00:44:14 +01:00
Veronica Berglyd Olsen
ffe6cd0a65 Update item change signals 2024-11-22 00:15:12 +01:00
Veronica Berglyd Olsen
e0b27317f3 Make sure deleted documents are closed if open 2024-11-21 22:24:34 +01:00
Veronica Berglyd Olsen
7ed619cf2e Restore project item emphasis 2024-11-21 01:33:09 +01:00
Veronica Berglyd Olsen
d55f53be0a Clean up item notification and item main icon 2024-11-21 01:18:28 +01:00
Veronica Berglyd Olsen
55eed706fb Re-implement word counters 2024-11-21 00:14:54 +01:00
Veronica Berglyd Olsen
2f71ec68d8 Re-implement row highlight, empty trash, and fix recursive permanent delete 2024-11-20 23:07:40 +01:00
Veronica Berglyd Olsen
a45ab2f017 Remove tooltip for non-checkable items 2024-11-20 22:36:44 +01:00
Veronica Berglyd Olsen
26b4da9eb4 Fix most tests with minor issues 2024-11-20 19:58:34 +01:00
Veronica Berglyd Olsen
4897f6ad69 Update tests 2024-11-20 18:48:54 +01:00
Veronica Berglyd Olsen
bbe8683d59 Re-implement project item duplication 2024-11-20 18:48:14 +01:00
Veronica Berglyd Olsen
072be78991 Re-enable project tree context menu and clean up split and merge 2024-11-20 16:42:08 +01:00
Veronica Berglyd Olsen
3f41e62e21 Move some variables around 2024-11-20 16:41:26 +01:00
Veronica Berglyd Olsen
ec01336c21 Fix active status icon and tooltip 2024-11-20 13:06:49 +01:00
Veronica Berglyd Olsen
5dcfe5c874 Allow drag and drop to open documents 2024-11-20 02:12:28 +01:00
Veronica Berglyd Olsen
72f1bc2d77 Add model support for drag and drop 2024-11-20 01:31:56 +01:00
Veronica Berglyd Olsen
54685c8184 Reimplement item deletion 2024-11-19 23:26:01 +01:00
Veronica Berglyd Olsen
3532306833 Add move to trash functionality 2024-11-19 17:48:01 +01:00
Veronica Berglyd Olsen
442b065834 Handle item consistency in the nodes tree 2024-11-19 17:47:21 +01:00
Veronica Berglyd Olsen
53e70c118c Add back create new project item functionality 2024-11-19 00:22:59 +01:00
Veronica Berglyd Olsen
a5575992d6 Re-enable project tree move item and navigation 2024-11-18 18:04:25 +01:00
Veronica Berglyd Olsen
df0244095f Rewrite how project items are refreshed on the GUI 2024-11-18 17:51:05 +01:00
Veronica Berglyd Olsen
337f05f60e Re-enable item rename 2024-11-18 00:01:40 +01:00
Veronica Berglyd Olsen
4f8e898440 Switch data tree to new model structure 2024-11-17 23:24:49 +01:00
Veronica Berglyd Olsen
7991b9b27c Re-enable item selection 2024-11-17 22:41:45 +01:00
Veronica Berglyd Olsen
ef42e1956c Merge new and old project tree 2024-11-17 22:07:37 +01:00
Veronica Berglyd Olsen
27b3dde6f6 Complete build initial tree and save tree logic 2024-11-17 21:24:55 +01:00
Veronica Berglyd Olsen
cbe557507f Add a basic project tree model 2024-11-17 19:25:55 +01:00
Veronica Berglyd Olsen
7a9da5f219 Merge branch 'release' 2024-11-16 20:58:09 +01:00
Veronica Berglyd Olsen
d944a70063 Fix secondary issues due to Qt tree widget bug (#2109) 2024-11-16 20:35:14 +01:00
Veronica Berglyd Olsen
c20f970405 Block drops on project tree viewport, and allow non-root items on root to be deleted (#2108) 2024-11-16 20:21:57 +01:00
Veronica Berglyd Olsen
49bb7f3a34 Fix default button issue on Build dialog (#2105) 2024-11-15 21:51:25 +01:00
Veronica Berglyd Olsen
021827ff2d Force the Build button to be default on the build dialog (#2101) 2024-11-15 20:49:45 +01:00
Veronica Berglyd Olsen
97312aecf5 Fix PDF formatting (#2104) 2024-11-15 20:25:29 +01:00
Veronica Berglyd Olsen
f3c9a77989 Revert to QPrinter, but update paint device 2024-11-15 19:31:55 +01:00
Veronica Berglyd Olsen
2c031bc093 Skip anchors when generating PDF 2024-11-15 01:34:02 +01:00
Veronica Berglyd Olsen
69147c2480 Correct pixel units 2024-11-15 01:27:49 +01:00
Veronica Berglyd Olsen
22ca0045bc Correct font scaling on PDF output 2024-11-15 00:40:58 +01:00
Veronica Berglyd Olsen
af431a4766 Merge branch 'main' into pdf_format_fixes 2024-11-14 23:20:12 +01:00
Veronica Berglyd Olsen
5a8045131b Update editor toolbar icon (#2103) 2024-11-14 23:18:43 +01:00
Veronica Berglyd Olsen
7c0a6f1d02 Use correct em calculation in qdoc class 2024-11-14 23:18:22 +01:00
Veronica Berglyd Olsen
4fc69ef7c6 Replace printer with Qt's PDF writer 2024-11-14 23:17:54 +01:00
Veronica Berglyd Olsen
91e502deb6 Add a new icon for the editor toolbar 2024-11-14 21:10:33 +01:00
Veronica Berglyd Olsen
1ee191220f Refactor manuscript format text scaling and text margin settings (#2102) 2024-11-13 23:22:28 +01:00
Veronica Berglyd Olsen
a96ccf8422 Add icons for text margins 2024-11-13 23:16:54 +01:00
Veronica Berglyd Olsen
57641ecd7d Make page number work with Office 365 2024-11-13 20:50:47 +01:00
Veronica Berglyd Olsen
ed431aa30f Update tests 2024-11-13 20:40:44 +01:00
Veronica Berglyd Olsen
7a111bb173 Update default margins 2024-11-13 20:24:10 +01:00
Veronica Berglyd Olsen
220be06631 Make HTML margins scale to em units 2024-11-13 20:05:03 +01:00
Veronica Berglyd Olsen
d8c14f6712 Make ODT margins scale to em units 2024-11-13 20:04:52 +01:00
Veronica Berglyd Olsen
e514b1be4f Fix DocX line height setting 2024-11-13 19:51:36 +01:00
Veronica Berglyd Olsen
5e7ef1d25a Minor improvements for 2.6 beta release (#2095) 2024-11-13 18:43:11 +01:00
Veronica Berglyd Olsen
c2b3eb4ac2 Fix issue of alternative unicode symbols being replaced too early 2024-11-13 00:03:38 +01:00
Veronica Berglyd Olsen
1bd8370864 Update dialogue highlighting settings text in Preferences 2024-11-12 23:10:57 +01:00
Veronica Berglyd Olsen
8c952953e3 Release 2.6 Beta 1 (#2092) 2024-11-12 17:42:59 +01:00
Veronica Berglyd Olsen
c065c9b30f Fix a couple of mistakes in the changelog 2024-11-12 17:35:59 +01:00
Veronica Berglyd Olsen
a18eb1158e Bump version to 2.6b1 and update changelog 2024-11-12 00:38:49 +01:00
Veronica Berglyd Olsen
08ef352288 GUI improvements and fixes (#2089) 2024-11-08 22:02:35 +01:00
Veronica Berglyd Olsen
25297b8b0b Add some coverage settings to the main project file 2024-11-08 17:34:06 +01:00
Veronica Berglyd Olsen
ea591fe707 Fix bug in outline view preserving details panel split position 2024-11-08 17:31:23 +01:00
Veronica Berglyd Olsen
b0bcf8605c Fix closing app with no project bug 2024-11-08 17:30:54 +01:00
Veronica Berglyd Olsen
b28921d6c2 Add an edit button to the viewer (#1963) 2024-11-08 17:30:10 +01:00
Veronica Berglyd Olsen
87ae7585e8 Add status column to project outline (#2088) 2024-11-08 00:37:57 +01:00
Veronica Berglyd Olsen
b39b37fb2f Add timing to outline build 2024-11-08 00:34:21 +01:00
Veronica Berglyd Olsen
cd9e0de9dd Update test 2024-11-07 23:59:52 +01:00
Veronica Berglyd Olsen
5107849909 Add status column to outline 2024-11-07 23:55:59 +01:00
Veronica Berglyd Olsen
5c988960f5 Revert a mistake in page break cleanup 2024-11-07 19:05:49 +01:00
Veronica Berglyd Olsen
44792778aa Simplify collection of raw text (#2087) 2024-11-07 19:03:34 +01:00
Veronica Berglyd Olsen
0a7bd68258 Simplify collection of raw text 2024-11-07 18:56:16 +01:00
Veronica Berglyd Olsen
30118eceaa Make page breaks visible in manuscript preview (#2086) 2024-11-07 18:39:10 +01:00
Veronica Berglyd Olsen
87512eb13b Rename variable 2024-11-07 18:33:53 +01:00
Veronica Berglyd Olsen
9919e1a49e Add new features to new project title page 2024-11-07 18:31:08 +01:00
Veronica Berglyd Olsen
d04a21b70f Improve page break handling in the tokenizer 2024-11-07 17:53:19 +01:00
Veronica Berglyd Olsen
fc6e0a577f Add a switch to enable/disable showing page breaks in the manuscript tool 2024-11-07 17:52:56 +01:00
Veronica Berglyd Olsen
0c659422b7 Add page break markers to the QTextDocument format class 2024-11-07 17:52:01 +01:00
Veronica Berglyd Olsen
2018023dc7 Remove redundant if-checks 2024-11-07 14:34:35 +01:00
Veronica Berglyd Olsen
04645cab71 Merge bugfix for #2080 from 2.5 release branch 2024-11-05 18:46:12 +01:00
Veronica Berglyd Olsen
bec082c0ae Fix HTML formatting issue (#2085) 2024-11-05 18:44:05 +01:00
Veronica Berglyd Olsen
83b244a8a3 Fix head tags order in HTML output (#2080) 2024-11-05 18:39:43 +01:00
Veronica Berglyd Olsen
ae261381aa Add build copy feature (#2084) 2024-11-05 18:38:32 +01:00
Veronica Berglyd Olsen
b088b79ee8 Add test coverage 2024-11-05 18:32:02 +01:00
Veronica Berglyd Olsen
0b59ee8634 Add duplicate build feature 2024-11-05 18:17:43 +01:00
Veronica Berglyd Olsen
f62b755903 Add copy button icon 2024-11-05 18:17:21 +01:00
Veronica Berglyd Olsen
04036ef35c Improve dialogue highlighting after feedback (#2082) 2024-11-05 17:34:04 +01:00
Veronica Berglyd Olsen
e4a2ca2d19 Add horizontal bar to em dash conversion in tokenizer 2024-11-04 17:32:22 +01:00
Veronica Berglyd Olsen
89f452f3fc Restructure and improve dialogue highlighting 2024-11-04 17:28:21 +01:00
Veronica Berglyd Olsen
843f8e0d39 Add missing line in dialogue highlighting check 2024-11-04 00:21:25 +01:00
Veronica Berglyd Olsen
8618306230 Update dialogue handling again (#2081) 2024-11-03 22:40:17 +01:00
Veronica Berglyd Olsen
34a3e17326 Fix quotes regex issue and update tests 2024-11-03 22:09:16 +01:00
Veronica Berglyd Olsen
5af49dfc6f Add a separate setting for alternating dialogue/narration 2024-11-03 21:45:00 +01:00
Veronica Berglyd Olsen
837d3060b8 Separate single and double quoted dialogue 2024-11-03 21:14:36 +01:00
Veronica Berglyd Olsen
2754f78083 Merge Spanish and Portuguese narrator break logic 2024-11-03 21:14:11 +01:00
Veronica Berglyd Olsen
1b509ad60b Add a dialogue parser, and horizontal bar auto-complete (#2079) 2024-11-01 22:23:16 +01:00
Veronica Berglyd Olsen
82e923b181 Remove debug code 2024-11-01 22:11:35 +01:00
Veronica Berglyd Olsen
e92b8400c7 Add dialogue parser test coverage 2024-11-01 22:07:47 +01:00
Veronica Berglyd Olsen
1ad6a80682 Update auto-replace in editor, and update tests 2024-11-01 21:17:46 +01:00
Veronica Berglyd Olsen
f355b82bba Add auto-replace for horizontal bar 2024-11-01 20:49:16 +01:00
Veronica Berglyd Olsen
66567b6d6f Allow up to 4 dialogue line symbols 2024-11-01 20:07:35 +01:00
Veronica Berglyd Olsen
d9582436d4 Update tests 2024-11-01 19:55:56 +01:00
Veronica Berglyd Olsen
31c75ea0b1 Add a dialog parser class 2024-11-01 19:55:35 +01:00
Veronica Berglyd Olsen
057fc10565 Refactor and clean up GUI code (#2078) 2024-10-31 18:42:32 +01:00
Veronica Berglyd Olsen
bbb07c9963 Make some minor GUI tweaks 2024-10-31 18:35:28 +01:00
Veronica Berglyd Olsen
dd09d3af2f Refactor outline details panel code 2024-10-31 18:28:58 +01:00
Veronica Berglyd Olsen
ccb5f8418b Remove redundant function in project tree 2024-10-31 18:28:35 +01:00
Veronica Berglyd Olsen
55d2605222 Use the new qtLambda wrapper where appropriate 2024-10-31 17:31:58 +01:00
Veronica Berglyd Olsen
7f49979bc9 Clean up project tree class 2024-10-31 17:30:49 +01:00
Veronica Berglyd Olsen
b529d5b125 Improve document editing and test coverage (#2077) 2024-10-31 00:21:19 +01:00
Veronica Berglyd Olsen
f2e36d9974 Cover missing lines in error module 2024-10-31 00:18:16 +01:00
Veronica Berglyd Olsen
ca2b509d54 Make the test a little safer 2024-10-31 00:11:32 +01:00
Veronica Berglyd Olsen
0ba0674b9e Some code flow improvements and main GUI test coverage 2024-10-31 00:07:48 +01:00
Veronica Berglyd Olsen
a2b09fdfec Update various features in the doc editor using new helper code 2024-10-30 19:13:13 +01:00
Veronica Berglyd Olsen
fa0bef5500 Extend and refactor current open document highlighting 2024-10-30 19:12:09 +01:00
Veronica Berglyd Olsen
92d148b03d Allow inserting stats in documents (#2073) 2024-10-30 00:14:48 +01:00
Veronica Berglyd Olsen
3d935e29eb Update test coverage 2024-10-30 00:08:31 +01:00
Veronica Berglyd Olsen
3749c9f21d Fix variable formatting for DocX and ODT 2024-10-29 17:50:51 +01:00
Veronica Berglyd Olsen
2a3d3e46c2 Pin tests to set locale to en_GB 2024-10-29 17:50:51 +01:00
Veronica Berglyd Olsen
9bc1561e01 Change to use document locale for integers 2024-10-29 17:50:51 +01:00
Veronica Berglyd Olsen
d987246062 Use Qt for int locale 2024-10-29 17:50:50 +01:00
Veronica Berglyd Olsen
c6a22e2d96 Add stats variables to Lipsum test project 2024-10-29 17:50:50 +01:00
Veronica Berglyd Olsen
42f904f1ea Add field value insertion to all formats 2024-10-29 17:50:49 +01:00
Veronica Berglyd Olsen
f92521c93a Process field values in QTextDocuments 2024-10-29 17:50:49 +01:00
Veronica Berglyd Olsen
041183f914 Add processing of fields in the Tokenizer 2024-10-29 17:50:49 +01:00
Veronica Berglyd Olsen
857b6ddc55 Update main menu 2024-10-29 17:50:48 +01:00
Veronica Berglyd Olsen
f2d2b4c4f2 Generalise the manuscript stats count values 2024-10-29 17:47:32 +01:00
Veronica Berglyd Olsen
8725edaf7e Refactor main menu (#2075) 2024-10-29 17:46:16 +01:00
Veronica Berglyd Olsen
4eace705e3 Add a function wrapper that makes the linter happy when used for Qt slots 2024-10-29 17:37:50 +01:00
Veronica Berglyd Olsen
b2d71acd93 Connect menu actions to main GUI in the menu class 2024-10-29 17:36:54 +01:00
Veronica Berglyd Olsen
e424fcfe53 Add support for referencing tags in novel documents (#2072) 2024-10-28 00:18:46 +01:00
Veronica Berglyd Olsen
eefb40cb1f Update tests 2024-10-28 00:12:06 +01:00
Veronica Berglyd Olsen
785cd3aea9 Add support for story reference, and update mention reference in outline details 2024-10-28 00:08:28 +01:00
Veronica Berglyd Olsen
07c700f666 Rewrite narrator break for dialogue highlighting (#2068) 2024-10-27 13:15:57 +01:00
Veronica Berglyd Olsen
8db0928724 Re-order preferences settings and ensure dialog/narrator symbols are single characters 2024-10-27 13:11:50 +01:00
Veronica Berglyd Olsen
b25ba9de27 Add test coverage of the highlighter 2024-10-27 13:05:24 +01:00
Veronica Berglyd Olsen
bf478a6706 Update tests 2024-10-27 02:22:39 +02:00
Veronica Berglyd Olsen
a1a58f51b1 Add new logic for dialogue narrator break to tokenizer 2024-10-27 02:15:06 +02:00
Veronica Berglyd Olsen
8850161641 Add new logic for dialogue narrator break 2024-10-27 01:55:19 +02:00
Veronica Berglyd Olsen
f931148594 Bump version to 2.6 Alpha 3 2024-10-27 00:35:57 +02:00
Veronica Berglyd Olsen
c31b0bcf17 Add Url recognition and formatting (#2067) 2024-10-27 00:17:11 +02:00
Veronica Berglyd Olsen
ba260ac608 Add test coverage of new features, and some other places 2024-10-27 00:13:18 +02:00
Veronica Berglyd Olsen
f2fc19b168 Add test coverage of new features 2024-10-26 23:28:34 +02:00
Veronica Berglyd Olsen
ceabc666c3 Add font table, fix core.xml bug, clean up code, update tests, for DocX 2024-10-26 17:09:50 +02:00
Veronica Berglyd Olsen
6c217c2450 Fix spell checker issue 2024-10-25 23:53:38 +02:00
Veronica Berglyd Olsen
7ff8921420 Add links to DocX 2024-10-25 23:19:23 +02:00
Veronica Berglyd Olsen
fe56c88309 Separate spell checking and link scanning, and add ODT support for links 2024-10-25 23:19:23 +02:00
Veronica Berglyd Olsen
b13b91c8e8 Add url to Lipsum test project 2024-10-25 23:19:22 +02:00
Veronica Berglyd Olsen
d71435df53 Distinguish between anchor ref and href in tokenizer 2024-10-25 23:19:22 +02:00
Veronica Berglyd Olsen
058758122c Add url support in tokenizer and qdoc preview 2024-10-25 23:18:27 +02:00
Veronica Berglyd Olsen
759cfd77e9 Add url handling in editor and viewer 2024-10-25 23:18:27 +02:00
Veronica Berglyd Olsen
37268b873a Add URL regex pattern 2024-10-25 23:18:22 +02:00
Veronica Berglyd Olsen
439a04c603 Add support for mentions references (#2064) 2024-10-25 23:17:36 +02:00
Veronica Berglyd Olsen
9f642d501a Update documentation 2024-10-25 00:20:17 +02:00
Veronica Berglyd Olsen
7f8e2c66a6 Update tests 2024-10-25 00:13:09 +02:00
Veronica Berglyd Olsen
9962fd4a55 Add menu entry and shortcut 2024-10-25 00:13:03 +02:00
Veronica Berglyd Olsen
c27343534f Add mentions to sample project 2024-10-24 23:58:37 +02:00
Veronica Berglyd Olsen
46ecb2cf70 Add mentions to outline 2024-10-24 23:57:39 +02:00
Veronica Berglyd Olsen
88aa3f38c2 Add autocomplete for mentions 2024-10-24 23:57:10 +02:00
Veronica Berglyd Olsen
9214da3756 Add mention keyword 2024-10-24 23:53:48 +02:00
Veronica Berglyd Olsen
41e5152771 Add forced line breaks feature (#2063) 2024-10-24 17:55:56 +02:00
Veronica Berglyd Olsen
6b01bd7ffe Fix title page break issue and add test coverage 2024-10-24 17:47:14 +02:00
Veronica Berglyd Olsen
76a9f8e3df Fix a minor issue, and add test 2024-10-24 14:32:54 +02:00
Veronica Berglyd Olsen
e15941520f Add working forced line break implementation 2024-10-24 01:25:32 +02:00
Veronica Berglyd Olsen
ff7404d01d Add line break shortcode support 2024-10-24 01:07:03 +02:00
Veronica Berglyd Olsen
560540618c Process heading line breaks in the Tokenizer 2024-10-24 00:02:39 +02:00
Veronica Berglyd Olsen
bfa82f6bb3 Add test coverage of title line breaks, and don't break markdown titles 2024-10-24 00:02:39 +02:00
Veronica Berglyd Olsen
f77cd1c752 Fix counting error (#2062) 2024-10-24 00:01:39 +02:00
Veronica Berglyd Olsen
8461b0c15d Fix wrong character count when there is a footnote 2024-10-23 23:57:42 +02:00
Veronica Berglyd Olsen
2938a0f122 Remove version dependency in DocX tests 2024-10-23 17:44:55 +02:00
Veronica Berglyd Olsen
beccd1a7d1 Bump version to 2.6 Alpha 2 2024-10-23 17:41:28 +02:00
Veronica Berglyd Olsen
c6883908f1 Improve text document formatting (#2061) 2024-10-23 17:39:13 +02:00
Veronica Berglyd Olsen
36d8547f78 Correct misspelled variable 2024-10-23 17:36:12 +02:00
Veronica Berglyd Olsen
b01c91c0a3 Remove more redundant code 2024-10-23 17:20:07 +02:00
Veronica Berglyd Olsen
3712b2e93f Combine the different ways of storing generated text data in formats 2024-10-23 17:12:13 +02:00
Veronica Berglyd Olsen
0ddc1131dc Replace heading field with a general meta data field in the text block tuple 2024-10-23 16:20:50 +02:00
Veronica Berglyd Olsen
f4a941cd93 Fix format tag order for HTML validation 2024-10-23 11:01:06 +02:00
Veronica Berglyd Olsen
db72f2a722 Remove redundant code 2024-10-23 10:31:27 +02:00
Veronica Berglyd Olsen
16023676ea Simplify CSS in HTML format 2024-10-23 01:27:36 +02:00
Veronica Berglyd Olsen
52e85835df Flip if statement in Tokenizer 2024-10-23 01:26:48 +02:00
Veronica Berglyd Olsen
fe63770d21 Refactor and standardise text format modules (#2060) 2024-10-22 21:51:19 +02:00
Veronica Berglyd Olsen
bd5442c9e5 Process tags and references in Tokenizer 2024-10-22 21:37:18 +02:00
Veronica Berglyd Olsen
c7554f2b8d Process keyword flag in Tokenizer 2024-10-22 19:33:05 +02:00
Veronica Berglyd Olsen
63f9cd0bac Tokenize dialogue with colour tag 2024-10-22 18:41:34 +02:00
Veronica Berglyd Olsen
c537d0f396 Process comments in the Tokenizer 2024-10-22 17:37:00 +02:00
Veronica Berglyd Olsen
e759aa8d1b Move colour theme to Tokenizer class 2024-10-22 17:07:57 +02:00
Veronica Berglyd Olsen
2d8664b3ce Clean up wrapped code, and rename test variable 2024-10-22 00:40:54 +02:00
Veronica Berglyd Olsen
16076ebfb6 Move shared formats code to separate file, and rename some variables 2024-10-22 00:25:35 +02:00
Veronica Berglyd Olsen
38ca447c8a Convert format codes to enums 2024-10-21 23:37:27 +02:00
Veronica Berglyd Olsen
f91006631d Rename ODT test files 2024-10-21 18:56:37 +02:00
Veronica Berglyd Olsen
3cc5e4cc7a Handle text justify in Tokenizer instead 2024-10-21 18:54:19 +02:00
Veronica Berglyd Olsen
75178b7874 Merge branch 'release' 2024-10-21 17:14:32 +02:00
Veronica Berglyd Olsen
ce3f6dae20 Add DocX support (#2056) 2024-10-21 17:13:42 +02:00
Veronica Berglyd Olsen
bd82392d71 Add Python 3.13 and fix theme issue and broken link (#2059) 2024-10-21 17:12:09 +02:00
Veronica Berglyd Olsen
836a3d353a Update Enchant link (#2042) 2024-10-21 17:08:35 +02:00
Veronica Berglyd Olsen
a4d2a9ea6f Fix swapped colours in default light theme (#2057) 2024-10-21 17:05:19 +02:00
Veronica Berglyd Olsen
b0fc8d63a6 Add Python 3.13 support 2024-10-21 17:03:52 +02:00
Veronica Berglyd Olsen
ec7781fb9f Generalise ODT variables to DOC 2024-10-21 17:00:44 +02:00
Veronica Berglyd Olsen
787e1a46d1 Add DocX test coverage 2024-10-21 16:59:43 +02:00
Veronica Berglyd Olsen
148d46fcbc Add settings to DocX and compression to ODT and DocX 2024-10-20 23:08:14 +02:00
Veronica Berglyd Olsen
7e1a676e0a Add footnote support to DocX 2024-10-20 22:01:13 +02:00
Veronica Berglyd Olsen
e9220c5e77 Add DocX page settings and header support 2024-10-20 21:02:53 +02:00
Veronica Berglyd Olsen
72d41d4883 Refactor XML generation for DocX 2024-10-20 17:07:33 +02:00
Veronica Berglyd Olsen
de6c3e9b45 Fix issue with global justify, and add indentation to DocX 2024-10-19 20:14:01 +02:00
Veronica Berglyd Olsen
a0ab507ed1 Fix DocX tabs in text, and page break before issues 2024-10-19 19:04:16 +02:00
Veronica Berglyd Olsen
3c76d0e7e3 Fix issue with line spacing in DocX 2024-10-19 17:08:24 +02:00
Veronica Berglyd Olsen
34127d78bf Move custom XML sub element function to common 2024-10-19 17:08:08 +02:00
Veronica Berglyd Olsen
ca33f488f1 Get rid of the DocXRun class 2024-10-19 14:43:06 +02:00
Veronica Berglyd Olsen
717aac9dc8 Add remaining code blocks, and add colours 2024-10-18 21:18:59 +02:00
Veronica Berglyd Olsen
4b07dbadb2 Basic DocX text formatting works 2024-10-18 20:31:21 +02:00
Veronica Berglyd Olsen
9bbebd2085 Add DocX text styles 2024-10-18 18:35:56 +02:00
Veronica Berglyd Olsen
d60b29e0a2 make some improvements to the ODT writer 2024-10-18 16:37:42 +02:00
Veronica Berglyd Olsen
80d2dfd9a4 Add structure for DocX documents 2024-10-18 16:37:04 +02:00
Veronica Berglyd Olsen
464454e7a6 Expose text margin settings in Manuscript Build (#2051) 2024-10-17 22:41:42 +02:00
Veronica Berglyd Olsen
d145b65237 Standardise text sizes and margins 2024-10-17 22:34:46 +02:00
Veronica Berglyd Olsen
912198cc40 Add text margin settings 2024-10-17 21:57:04 +02:00
Veronica Berglyd Olsen
bffab79ba7 Merge build settings page layout options 2024-10-17 21:56:35 +02:00
Veronica Berglyd Olsen
c82f7fd9ca Bump version to 2.6 Alpha 1 2024-10-16 17:42:50 +02:00
Veronica Berglyd Olsen
53afe528e8 Add PDF output for manuscripts (#2048) 2024-10-16 17:41:31 +02:00
Veronica Berglyd Olsen
225befe57e Add test coverage 2024-10-16 17:33:32 +02:00
Veronica Berglyd Olsen
40817e73b4 Apply page layout settings to PDF format 2024-10-16 17:26:10 +02:00
Veronica Berglyd Olsen
17c93c2172 Add PDF format 2024-10-16 17:25:46 +02:00
Veronica Berglyd Olsen
c8d7ccadb7 Refactor document builder (#2047) 2024-10-16 00:26:32 +02:00
Veronica Berglyd Olsen
7bb292404a Update Tokenizer tests 2024-10-16 00:23:18 +02:00
Veronica Berglyd Olsen
d2ac0ed53f Pass the Markdown style to the constructor 2024-10-16 00:15:56 +02:00
Veronica Berglyd Olsen
c633a56bfb Simplify JSON and raw text writing 2024-10-15 23:59:25 +02:00
Veronica Berglyd Olsen
34696ba3a8 Merge doc build functions 2024-10-15 23:29:11 +02:00
Veronica Berglyd Olsen
93c105fe86 Extend heading styling options (#2045) 2024-10-15 21:40:21 +02:00
Veronica Berglyd Olsen
29eac0b4e5 Remove type alias for Python 3.9 2024-10-15 21:36:15 +02:00
Veronica Berglyd Olsen
fc27078954 Standardise the save document call for all document classes 2024-10-15 21:25:36 +02:00
Veronica Berglyd Olsen
759a8e84f0 Fix QTextDocument header formatting 2024-10-15 20:59:10 +02:00
Veronica Berglyd Olsen
b2c7da319e Generalise ODT build settings 2024-10-15 20:34:41 +02:00
Veronica Berglyd Olsen
b56095224a Move document format classes to new folder 2024-10-15 19:29:56 +02:00
Veronica Berglyd Olsen
2f12a8cc93 Add settings to style ODT headers 2024-10-15 19:22:08 +02:00
Veronica Berglyd Olsen
140f85f214 Merge branch 'main' into heading_styling 2024-10-14 00:26:55 +02:00
Veronica Berglyd Olsen
7405c7e20f Add Python 3.13 (#2044) 2024-10-14 00:25:07 +02:00
Veronica Berglyd Olsen
f29b13679a List and check support for Python 3.13 (#2040) 2024-10-14 00:21:22 +02:00
Veronica Berglyd Olsen
9b9ed53cf9 Don't use "match" as a variable (#2043) 2024-10-14 00:18:24 +02:00
Veronica Berglyd Olsen
2447ae5cff Replace usage of "match" as a variable name 2024-10-14 00:14:08 +02:00
Veronica Berglyd Olsen
7379b8b521 Remove plain heading style setting again 2024-10-14 00:10:23 +02:00
Veronica Berglyd Olsen
22473823c9 Improve build settings 2024-10-01 14:01:36 +02:00
Veronica Berglyd Olsen
d8bb9950d3 Add plain style setting for headings 2024-10-01 14:00:57 +02:00
Veronica Berglyd Olsen
279fe2ae18 Add title setting 2024-10-01 12:54:38 +02:00
Veronica Berglyd Olsen
1e812f3f06 Update tests 2024-10-01 12:15:42 +02:00
Veronica Berglyd Olsen
0f1401eb71 Rename title format settings to partition 2024-10-01 12:14:39 +02:00
Veronica Berglyd Olsen
57e739c3ef Add word counts to ODT output (#2035) 2024-10-01 12:00:04 +02:00
Veronica Berglyd Olsen
1b457585d9 Update tests 2024-09-30 22:52:39 +02:00
Veronica Berglyd Olsen
c9eab0b01e Add word counts to the ODT file as user fields (#2033) 2024-09-30 22:52:28 +02:00
Veronica Berglyd Olsen
3da5074d14 Refactor build settings (#2031) 2024-09-28 11:58:58 +02:00
Veronica Berglyd Olsen
e97a476c7f Update tests 2024-09-28 11:55:47 +02:00
Veronica Berglyd Olsen
a716f31b17 Fix some minor issues with spell checking 2024-09-28 11:41:26 +02:00
Veronica Berglyd Olsen
b2e760a284 Merge build settings formatting into a single form 2024-09-28 11:36:01 +02:00
Veronica Berglyd Olsen
7cc48aeb7f Improve spell checking (#2030) 2024-09-28 11:31:49 +02:00
Veronica Berglyd Olsen
a6494b4226 Allow words to be ignored by the spell checker (session only) 2024-09-28 11:21:04 +02:00
Veronica Berglyd Olsen
5ed03e29f3 Change regexes to use the pattern object directly 2024-09-28 11:20:09 +02:00
Veronica Berglyd Olsen
5c07148eb2 Replace Qt RegEx with Python RegEx (#2028) 2024-09-22 18:02:17 +02:00
Veronica Berglyd Olsen
17b4a7be4d Use regex end instead of length in tokenizer format processing function 2024-09-22 17:57:13 +02:00
Veronica Berglyd Olsen
9b08ebbbd5 Use Python regex for document search tool 2024-09-22 17:47:49 +02:00
Veronica Berglyd Olsen
37c469dbc7 Move word split to regex pattern class 2024-09-22 17:37:12 +02:00
Veronica Berglyd Olsen
c08033d153 Use stdlib re for dialogue matching 2024-09-22 17:34:04 +02:00
Veronica Berglyd Olsen
9c63f621a8 Use stdlib re for Shortcode matching 2024-09-22 17:06:57 +02:00
Veronica Berglyd Olsen
c3cb12e5e2 Use stdlib re for Markdown matching 2024-09-22 16:56:21 +02:00
Veronica Berglyd Olsen
d3799bc30a Update plain regex patterns to std lib re 2024-09-22 16:37:45 +02:00
Veronica Berglyd Olsen
cb8933b493 Use Python regex for spell checking 2024-09-22 16:23:35 +02:00
Veronica Berglyd Olsen
1aa58c047f Clean up Qt enums (#2025) 2024-09-18 22:18:15 +02:00
Veronica Berglyd Olsen
52b3084bee Fix type annotation 2024-09-18 22:12:39 +02:00
Veronica Berglyd Olsen
70b05c9e07 Use strings for shortcut keys 2024-09-18 22:11:32 +02:00
Veronica Berglyd Olsen
cafa440aee Update menu role enums 2024-09-18 22:06:23 +02:00
Veronica Berglyd Olsen
681cb7226a Fix bug in test 2024-09-18 22:04:06 +02:00
Veronica Berglyd Olsen
b36e49e43f Update scrollbar enums 2024-09-18 22:02:50 +02:00
Veronica Berglyd Olsen
90a6c2d98d Update keyboard and mouse enums 2024-09-18 21:55:59 +02:00
Veronica Berglyd Olsen
21d21846ca Update cursor and messagebox enums 2024-09-18 21:51:23 +02:00
Veronica Berglyd Olsen
cc8d7d9912 Fix ActionEvent enums 2024-09-18 21:46:44 +02:00
Veronica Berglyd Olsen
10527afbda Remove borders 2024-09-18 15:00:55 +02:00
Veronica Berglyd Olsen
d16ece2a81 Use html table instead 2024-09-18 14:59:38 +02:00
Veronica Berglyd Olsen
e7f7dc8d60 Increase sponsor logo size 2024-09-18 14:55:47 +02:00
Veronica Berglyd Olsen
2f2943452f Use px for logo size 2024-09-18 14:55:06 +02:00
Veronica Berglyd Olsen
08ae2b5351 Merge actions updates from 'release' 2024-09-18 14:52:46 +02:00
Veronica Berglyd Olsen
eda1a1c4dd Add sponsor link to readme 2024-09-18 14:52:24 +02:00
Veronica Berglyd Olsen
238abdb567 Update to release certificate for windows build 2024-09-18 14:33:45 +02:00
Veronica Berglyd Olsen
c3f9ceb03a Add version numbers to all build jobs 2024-09-18 14:02:27 +02:00
Veronica Berglyd Olsen
b95e9fcda3 Update for windows runner 2024-09-18 13:39:17 +02:00
Veronica Berglyd Olsen
b3f8a2c18c Add version parameter to windows build 2024-09-18 13:11:08 +02:00
Veronica Berglyd Olsen
18bbf7d86f Switch to test signing for windows setup 2024-09-18 12:14:37 +02:00
Veronica Berglyd Olsen
8e3ad6d874 Merge release 2.5.2 2024-09-17 16:51:06 +02:00
Veronica Berglyd Olsen
7a63ac83d2 Release 2.5.2 (#2021) 2024-09-17 15:49:04 +02:00
Veronica Berglyd Olsen
8dc28ddbee Add signing request to windows build 2024-09-17 15:45:30 +02:00
Veronica Berglyd Olsen
15803cf0a3 Bump version and update changelog 2024-09-17 15:33:37 +02:00
Veronica Berglyd Olsen
5ac001781c Improve documentation (#2015) 2024-09-09 12:03:22 +02:00
Veronica Berglyd Olsen
66986b88f8 Improve the spell checking info a little 2024-09-01 21:41:26 +02:00
Veronica Berglyd Olsen
f4e12a63a5 Merge branch 'release' into improve_docs 2024-09-01 21:37:53 +02:00
Veronica Berglyd Olsen
09b0f34199 Merge branch 'release' 2024-09-01 17:47:36 +02:00
Veronica Berglyd Olsen
095c005c3f Fix bugs in the document viewer (#2014) 2024-09-01 17:45:44 +02:00
Veronica Berglyd Olsen
e414b6458d Refresh tab stop distance after loading document (#1996) 2024-09-01 17:38:04 +02:00
Veronica Berglyd Olsen
ece73784c2 Only highlight dialogue in novel text (#2011 and #2013) 2024-09-01 17:32:37 +02:00
Veronica Berglyd Olsen
8dd9644c13 Fix issue with overlapping formatting (#2012) 2024-09-01 17:22:54 +02:00
Veronica Berglyd Olsen
556e8db104 Add some text about spell checking to editor docs 2024-08-16 09:33:38 +02:00
Veronica Berglyd Olsen
ce979b6c84 Merge branch 'release' 2024-07-28 14:10:36 +02:00
Veronica Berglyd Olsen
d2f422a441 Update Ubuntu releases (#1995) 2024-07-28 14:09:39 +02:00
Veronica Berglyd Olsen
e4daff8956 Drop Ubuntu 23.10 and add 24.10 2024-07-28 14:04:14 +02:00
Veronica Berglyd Olsen
c146c311c1 Merge branch 'release' 2024-07-28 13:46:53 +02:00
Veronica Berglyd Olsen
2e1b17dcdf Release 2.5.1 (#1989) 2024-07-28 13:32:15 +02:00
Veronica Berglyd Olsen
2ef11f56e5 Update changelog 2024-07-28 13:26:34 +02:00
Veronica Berglyd Olsen
fdaeca78a7 Update translations 2024-07-28 13:21:58 +02:00
Veronica Berglyd Olsen
93e7343fe9 Update changelog with latest fix 2024-07-26 00:22:58 +02:00
Veronica Berglyd Olsen
5167608f7a Merge branch 'release' into release_2.5.1 2024-07-26 00:20:11 +02:00
Veronica Berglyd Olsen
7fe3a8520d Merge branch 'release' 2024-07-26 00:19:25 +02:00
Veronica Berglyd Olsen
d4a0881e77 Fix updating of importance labels (#1993) 2024-07-26 00:18:47 +02:00
Veronica Berglyd Olsen
7f42210f2f Add test coverage 2024-07-26 00:15:14 +02:00
Veronica Berglyd Olsen
33497bc92d Simplify how the project tree is populated 2024-07-25 20:47:14 +02:00
Veronica Berglyd Olsen
06aa2e6c07 Only refresh project tree values when status labels change 2024-07-25 20:39:32 +02:00
Veronica Berglyd Olsen
3bffaa01dc Update viewer panel when importance labels change (#1992) 2024-07-25 19:21:52 +02:00
Veronica Berglyd Olsen
66237c35ea Bump version to 2.5.1 and update changelog 2024-07-21 20:05:54 +02:00
Veronica Berglyd Olsen
f532857345 Merge branch 'release' 2024-07-21 19:54:43 +02:00
Veronica Berglyd Olsen
5936e1a68b Improve test coverage 2024-07-21 19:45:40 +02:00
Veronica Berglyd Olsen
17b3b2b770 Navigate to heading when a tag is clicked for editing (#1983) 2024-07-21 19:45:28 +02:00
Veronica Berglyd Olsen
826e805b06 Make sure free form text boxes in Preferences are safe (#1986) 2024-07-21 19:20:51 +02:00
Veronica Berglyd Olsen
5419d76606 Fix test 2024-07-21 19:15:56 +02:00
Veronica Berglyd Olsen
0d84653f7d Process pad before and after settings in Preferences (#1985) 2024-07-21 19:06:45 +02:00
Veronica Berglyd Olsen
b7da56ac42 Merge branch 'release' 2024-07-14 16:43:43 +02:00
Veronica Berglyd Olsen
7140788b48 Lock project only after successful open (#1978) 2024-07-14 16:33:48 +02:00
Veronica Berglyd Olsen
a43bd5a50e Move project lock until all steps in project open are completed (#1977) 2024-07-14 16:28:09 +02:00
Veronica Berglyd Olsen
81dd98e83b Bump main branch to 2.6 alpha 0 2024-07-10 17:30:14 +02:00
Veronica Berglyd Olsen
742f84576e Release 2.5 (#1972) 2024-07-10 16:45:13 +02:00
Veronica Berglyd Olsen
ba81662d6a Bump version to 2.5 and update changelog 2024-07-10 16:41:49 +02:00
Veronica Berglyd Olsen
f669ac1265 Update documentation for 2.5 (#1928) 2024-07-10 16:21:54 +02:00
Veronica Berglyd Olsen
b8a97b1afc Update docs 2024-07-10 16:18:29 +02:00
Veronica Berglyd Olsen
4eb0ed386c Merge branch 'main' into update_docs 2024-07-09 19:58:44 +02:00
Veronica Berglyd Olsen
ece225c355 Fix first line indent between pages (#1971) 2024-07-08 14:07:58 +02:00
Veronica Berglyd Olsen
69d97a3f3e Add additional test coverage 2024-07-08 14:02:05 +02:00
Veronica Berglyd Olsen
dcecaae3af Fix indent info not passed between pages (#1965) 2024-07-08 14:01:42 +02:00
Veronica Berglyd Olsen
1c261ef371 Add focus switch on welcome dialog (#1968) 2024-07-07 20:04:58 +02:00
Veronica Berglyd Olsen
ea89e66a46 Focus project name field when entering new project form on welcome dialog (#1967) 2024-07-07 19:59:35 +02:00
Veronica Berglyd Olsen
dd03c19be2 Fix preview indent and status bar LEDs (#1962) 2024-07-05 15:20:30 +02:00
Veronica Berglyd Olsen
08e6d320df Use text colour for LED border 2024-07-05 15:16:58 +02:00
Veronica Berglyd Olsen
446163c6de Add DPI scaling to status LEDs 2024-07-05 15:14:30 +02:00
Veronica Berglyd Olsen
abd503b5a2 Rename the em variable for clarity 2024-07-05 14:51:12 +02:00
Veronica Berglyd Olsen
2e1c08cbfa Fix em unit calculation in document preview (#1961) 2024-07-05 13:21:39 +02:00
Veronica Berglyd Olsen
7bdadadea1 Minor changes to pkgutils (#1959) 2024-07-04 22:28:13 +02:00
Veronica Berglyd Olsen
bc33a4d0d4 Move build-clean to after the build commands in pkgutils 2024-07-04 22:24:33 +02:00
Veronica Berglyd Olsen
188bc5d16f Restore usage of wrapper functions for read and write in pkgutils 2024-07-04 22:22:41 +02:00
Veronica Berglyd Olsen
3fd0385160 Rewrite build tools (#1958) 2024-07-04 22:11:10 +02:00
Veronica Berglyd Olsen
5f3f55133e Remove manual build from linux tests 2024-07-04 22:08:28 +02:00
Veronica Berglyd Olsen
47b8e12bc7 Fix a few workflow issues 2024-07-04 22:07:33 +02:00
Veronica Berglyd Olsen
cc97129e64 Add description to pkgutils help 2024-07-04 22:01:52 +02:00
Veronica Berglyd Olsen
e40e282837 Fix bug in Windows build script 2024-07-04 21:44:28 +02:00
Veronica Berglyd Olsen
eba0fa58bf Update Windows build job 2024-07-04 21:40:48 +02:00
Veronica Berglyd Olsen
1c0fdd6a17 Update XDG tools, clean up and fix a deb build issue 2024-07-04 21:38:31 +02:00
Veronica Berglyd Olsen
43eb62576c Fix Windows installer and update MacOS PList generator 2024-07-04 21:16:49 +02:00
Veronica Berglyd Olsen
d43a799389 Updated Windows packaging code 2024-07-04 21:00:15 +02:00
Veronica Berglyd Olsen
4d716555af Updated AppImage packaging code 2024-07-04 20:31:53 +02:00
Veronica Berglyd Olsen
7c65d22452 Updated debian packaging code 2024-07-04 19:45:54 +02:00
Veronica Berglyd Olsen
1b8867537e Update all assets commands to pkgutils 2024-07-04 18:34:10 +02:00
Veronica Berglyd Olsen
b91a11980b Split build workflows (#1957) 2024-07-04 16:51:59 +02:00
Veronica Berglyd Olsen
e80a9824f6 Add placeholder Windows build job 2024-07-04 16:47:39 +02:00
Veronica Berglyd Olsen
140b22dc63 Split GitHub build workflows 2024-07-04 16:42:46 +02:00
Veronica Berglyd Olsen
60169b914a Revert main to 2.5 RC1 2024-07-04 16:32:01 +02:00
Veronica Berglyd Olsen
fbe381638a Merge branch 'release' 2024-07-04 16:30:26 +02:00
Veronica Berglyd Olsen
6dcb44c391 Improve open project error message (#1956) 2024-07-04 16:24:16 +02:00
Veronica Berglyd Olsen
54c7c5a463 Add path info to open project error dialogs (#1944) 2024-07-04 16:19:04 +02:00
Veronica Berglyd Olsen
d5bcee14f5 Update translations for 2.5 (#1955) 2024-07-04 16:08:04 +02:00
Veronica Berglyd Olsen
0064b742d3 Update credits and reduce the number of links 2024-07-04 16:05:01 +02:00
Veronica Berglyd Olsen
9f88f3b79e Update translations for 2.5 and add Polish 2024-07-04 15:16:15 +02:00
Veronica Berglyd Olsen
b95d030032 Fix various minor issues (#1954) 2024-07-03 21:13:28 +02:00
Veronica Berglyd Olsen
f4f3f82954 Add a wait statement to check paintEvent in Preferences 2024-07-03 20:29:00 +02:00
Veronica Berglyd Olsen
5e8892ee7c Rewrite the tree view focus switch (#1949) 2024-07-03 19:39:29 +02:00
Veronica Berglyd Olsen
42b1e6a559 Only switch focus between editor and viewer when viewer is visible (#1950) 2024-07-03 18:38:32 +02:00
Veronica Berglyd Olsen
e1bcfcfc05 Convert Preferences dialog to save/cancel like Project Settings 2024-07-03 18:29:38 +02:00
Veronica Berglyd Olsen
069e35565f Refresh coloured labels when theme change (#1951) 2024-07-03 18:18:41 +02:00
Veronica Berglyd Olsen
880b560a39 Bump main branch to 2.6 alpha 0 2024-06-24 16:38:25 +02:00
Veronica Berglyd Olsen
8becc83c05 Update i18n source files (#1943) 2024-06-22 16:13:20 +02:00
Veronica Berglyd Olsen
b5ef62194d Update i18n files 2024-06-22 15:02:29 +02:00
Veronica Berglyd Olsen
a87c287fa6 Release 2.5 RC 1 (#1939) 2024-06-22 14:21:45 +02:00
Veronica Berglyd Olsen
18f5deee82 Change release date and extend changelog 2024-06-22 14:17:44 +02:00
Veronica Berglyd Olsen
53545a0015 Merge branch 'main' into release_2.5rc1 2024-06-21 00:41:03 +02:00
Veronica Berglyd Olsen
f662eaeccc Revert font setting in custom class (#1941) 2024-06-21 00:40:45 +02:00
Veronica Berglyd Olsen
1e6377abaa Revert font setting from SHARED instance in colour label, which caused some weird issues 2024-06-21 00:35:28 +02:00
Veronica Berglyd Olsen
516db26c05 Add latest change to the changelog 2024-06-21 00:33:22 +02:00
Veronica Berglyd Olsen
2df55cf6ee Merge branch 'main' into release_2.5rc1 2024-06-21 00:26:40 +02:00
Veronica Berglyd Olsen
251475197d Add focus widget hinting (#1940) 2024-06-21 00:26:20 +02:00
Veronica Berglyd Olsen
802069b4e5 Try adding deleteLater to i18n test 2024-06-21 00:21:45 +02:00
Veronica Berglyd Olsen
d07543926f Disable failing fast in Linux test matrix 2024-06-21 00:18:10 +02:00
Veronica Berglyd Olsen
5665efd9d7 Update docs and test coverage 2024-06-20 23:32:02 +02:00
Veronica Berglyd Olsen
ea7f3fe51c Add editor/viewer toggle feature 2024-06-19 20:42:23 +02:00
Veronica Berglyd Olsen
c6569b63e5 Add focus indication to editor and viewer header 2024-06-18 22:42:52 +02:00
Veronica Berglyd Olsen
930c60ae4a Add faded colour to theme 2024-06-18 22:42:19 +02:00
Veronica Berglyd Olsen
869cdd2fb0 Extend colour label widget to accept two colour states 2024-06-18 22:41:29 +02:00
Veronica Berglyd Olsen
f7d0adad1b Shuffle around private slots in main GUI 2024-06-18 22:39:33 +02:00
Veronica Berglyd Olsen
d25e2adfb6 Bump version to 2.5rc1 and update changelog 2024-06-18 08:39:28 +02:00
Veronica Berglyd Olsen
cb3a24bcd2 Rehighlight tags on note creation (#1938) 2024-06-16 21:22:44 +02:00
Veronica Berglyd Olsen
6540c56672 Remove no longer needed rehighlighting code 2024-06-16 21:19:42 +02:00
Veronica Berglyd Olsen
efc94a7fd5 Sort signals in main GUI 2024-06-16 21:18:41 +02:00
Veronica Berglyd Olsen
683e81c57b Connect rehighlight tags in editor to index signal on tags change (#1916) 2024-06-16 21:13:50 +02:00
Veronica Berglyd Olsen
f548927b74 Refactor custom widgets (#1937) 2024-06-16 17:37:36 +02:00
Veronica Berglyd Olsen
53522908c8 Improve test coverage 2024-06-16 17:29:29 +02:00
Veronica Berglyd Olsen
43cdc8420c Merge progress bars into single source file 2024-06-16 16:14:11 +02:00
Veronica Berglyd Olsen
45ad0f8c20 Update global search (#1936) 2024-06-16 16:12:51 +02:00
Veronica Berglyd Olsen
59c9783393 Remove commented out line 2024-06-16 16:03:35 +02:00
Veronica Berglyd Olsen
611a6bb80a Include the whole word when displaying search results 2024-06-16 15:58:30 +02:00
Veronica Berglyd Olsen
ee46fdb5b1 Refresh global search when toggling settings, if there is a search 2024-06-16 15:27:46 +02:00
Veronica Berglyd Olsen
7c33c949cb Merge the two methods in the shared class to save editor content 2024-06-16 15:23:22 +02:00
Veronica Berglyd Olsen
e9e7fae40e Support line height in build tool (#1935) 2024-06-16 15:10:39 +02:00
Veronica Berglyd Olsen
ac05b07f10 Add line height formatting to build preview (#1920) 2024-06-16 15:05:45 +02:00
Veronica Berglyd Olsen
aff027b735 Remember last used path for each tool individually (#1934) 2024-06-16 12:05:32 +02:00
Veronica Berglyd Olsen
14f1697428 Rename lastPath in build settings 2024-06-16 11:23:59 +02:00
Veronica Berglyd Olsen
a3381f1f79 Remove fallback parameter for lastPath and remove commented out code 2024-06-16 11:23:42 +02:00
Veronica Berglyd Olsen
1b7d331e41 Update more docstring 2024-06-16 00:55:33 +02:00
Veronica Berglyd Olsen
df34293e74 Update docstring 2024-06-16 00:54:48 +02:00
Veronica Berglyd Olsen
fe27acc3ef Add full test coverage 2024-06-16 00:49:24 +02:00
Veronica Berglyd Olsen
35632abea3 Update current tests 2024-06-16 00:37:21 +02:00
Veronica Berglyd Olsen
ea247c5814 Remember new project folder last used path (#1930) 2024-06-16 00:31:02 +02:00
Veronica Berglyd Olsen
928a116666 Update current usage of last path 2024-06-16 00:22:38 +02:00
Veronica Berglyd Olsen
2a99cafbf2 Add a class to store last used paths 2024-06-16 00:21:54 +02:00
Veronica Berglyd Olsen
2196486454 Update Windows packaging (#1932) 2024-06-14 22:53:16 +02:00
Veronica Berglyd Olsen
f99bd79ce8 Merge branch 'main' into win_installer 2024-06-14 21:37:08 +02:00
Veronica Berglyd Olsen
ddaced1b78 Update the Inno Setup installer script to change compression method and fix some warnings and issues 2024-06-14 16:09:52 +02:00
Veronica Berglyd Olsen
3e8845ab58 Ensure HTML tags are properly closed in output documents (#1926) 2024-06-13 15:56:23 +02:00
Veronica Berglyd Olsen
d5be1e0479 Update text formatting documentation 2024-06-13 15:55:45 +02:00
Veronica Berglyd Olsen
babc39c6a2 Add test coverage 2024-06-13 15:48:09 +02:00
Veronica Berglyd Olsen
5c35ebeffa Rewrite HTML tag insertion to check for correct open and close of tags (#1919) 2024-06-13 01:00:01 +02:00
Veronica Berglyd Olsen
5fbc608c90 Merge Release 2.4.4 into main 2024-06-12 21:40:37 +02:00
Veronica Berglyd Olsen
0c7808a24b Release 2.4.4 (#1924) 2024-06-12 21:19:24 +02:00
Veronica Berglyd Olsen
4aadbdaed2 Bump version to 2.4.4 and update changelog 2024-06-11 22:36:31 +02:00
Veronica Berglyd Olsen
195a7e354b Ensure editor content is saved before using it (#1923) 2024-06-11 22:12:03 +02:00
Veronica Berglyd Olsen
c03e832c7b Make sure editor document is saved before using first title to set item label (#1914) 2024-06-11 22:00:59 +02:00
Veronica Berglyd Olsen
73515c96d8 Add a method in the shared object to ensure document editor is saved 2024-06-11 21:59:58 +02:00
Veronica Berglyd Olsen
e7c0d59809 Allow more characters to be used in file names (#1922) 2024-06-11 21:45:08 +02:00
Veronica Berglyd Olsen
556caea308 Make the file name safe function less restrictive 2024-06-11 21:38:50 +02:00
Veronica Berglyd Olsen
6d54902a08 Fix multiple tools dialog issue (#1921) 2024-06-11 01:02:39 +02:00
Veronica Berglyd Olsen
fb32cea5b5 Update writing stats tests 2024-06-11 00:54:05 +02:00
Veronica Berglyd Olsen
69cd443999 Fix duplicate tool dialogs issue 2024-06-11 00:53:50 +02:00
Veronica Berglyd Olsen
cc61c5321e Extend dialogue highlighting (#1908) 2024-06-11 00:16:32 +02:00
Veronica Berglyd Olsen
7821f099bf Use consistent dialogue colours in preview, ODT and HTML 2024-06-11 00:11:44 +02:00
Veronica Berglyd Olsen
4b0ad6ec48 Add test coverage of ODT dialogue 2024-06-11 00:03:54 +02:00
Veronica Berglyd Olsen
416c580a45 Fix highlighting of multiple dialogue sections 2024-06-10 23:50:59 +02:00
Veronica Berglyd Olsen
0b3488c265 Add processing of dialogue highlight for ODT files 2024-06-10 23:12:54 +02:00
Veronica Berglyd Olsen
f0f5ae6dc9 Add support for dialogue highlighting in HTML output 2024-06-10 17:18:03 +02:00
Veronica Berglyd Olsen
f61ce3919b Add highlight option to build settings and preview 2024-06-10 17:01:40 +02:00
Veronica Berglyd Olsen
67c6497e2a Merge branch 'main' into dialogue_highlight 2024-06-10 13:48:40 +02:00
Veronica Berglyd Olsen
9bcb2479ac Refactor dialog closing (#1918) 2024-06-10 13:48:14 +02:00
Veronica Berglyd Olsen
8a9b038d56 Use the direct insert call 2024-06-10 13:44:47 +02:00
Veronica Berglyd Olsen
eed4721ef0 Make lipusm test more robust 2024-06-10 13:25:20 +02:00
Veronica Berglyd Olsen
b76c866c9d Fix typo in docstring 2024-06-10 01:10:59 +02:00
Veronica Berglyd Olsen
255a4a327e Update tests 2024-06-10 01:05:13 +02:00
Veronica Berglyd Olsen
811db81a86 Use the reject slot for dialogs since close is not actually a slot 2024-06-10 01:04:10 +02:00
Veronica Berglyd Olsen
29b61c07b0 Restore the keyPressEvent overload for Preferences 2024-06-10 01:03:20 +02:00
Veronica Berglyd Olsen
f8c1ee90ce Reimplement the reject slot for the parent dialog class 2024-06-10 01:02:48 +02:00
Veronica Berglyd Olsen
d9c86d56bb Merge branch 'main' into dialogue_highlight 2024-06-09 00:10:14 +02:00
Veronica Berglyd Olsen
cddf63f111 Improve memory handling and fix a few variables (#1913) 2024-06-09 00:08:52 +02:00
Veronica Berglyd Olsen
ca91e6a677 Improve meminfo debug formatting 2024-06-09 00:05:45 +02:00
Veronica Berglyd Olsen
a48fde95a3 Update tests 2024-06-08 23:35:29 +02:00
Veronica Berglyd Olsen
aed4ba4310 Rename the modifier apostrophe constants 2024-06-08 23:35:20 +02:00
Veronica Berglyd Olsen
57ee88059d Remove lambda slots in preferences dialog that blocked freeing memory 2024-06-08 23:34:31 +02:00
Veronica Berglyd Olsen
c8dccbe438 Fix typo in predefined type 2024-06-08 23:34:12 +02:00
Veronica Berglyd Olsen
8a071090e0 Merge branch 'main' into dialogue_highlight 2024-06-04 18:26:12 +02:00
Veronica Berglyd Olsen
cbf76e6575 Move project name first in window title (#1911) 2024-06-04 18:25:27 +02:00
Veronica Berglyd Olsen
83d2cb4f82 Swap project name and app name in window title (#1910) 2024-06-04 18:19:21 +02:00
Veronica Berglyd Olsen
497d4dd7f9 Add stubs file to dev requirements 2024-06-04 17:56:30 +02:00
Veronica Berglyd Olsen
d48f1fa292 Update QTextDocument test 2024-06-02 23:48:42 +02:00
Veronica Berglyd Olsen
7744ae5912 Fix footnote navigation in viewer 2024-06-02 23:36:28 +02:00
Veronica Berglyd Olsen
92b7168363 Add tests for patterns 2024-06-01 23:03:30 +02:00
Veronica Berglyd Olsen
8fc97c263b Try to fix 3.10 test seg fault 2024-06-01 18:18:21 +02:00
Veronica Berglyd Olsen
d190315909 Make a few improvements to regex and remove debug output 2024-06-01 14:16:05 +02:00
Veronica Berglyd Olsen
987740f7e9 Add dialogue highlighting to the viewer 2024-06-01 13:35:22 +02:00
Veronica Berglyd Olsen
2e143071d9 Add dialogue processing to the tokenizer 2024-06-01 13:34:59 +02:00
Veronica Berglyd Olsen
388141aae6 Move text regex patterns to a separate class 2024-06-01 13:06:46 +02:00
Veronica Berglyd Olsen
80811ebf44 Don't highlight dialogue in notes 2024-06-01 12:41:42 +02:00
Veronica Berglyd Olsen
208c4fb8ba Refresh StatusLEDs when theme changes (#1906) 2024-05-30 20:54:01 +02:00
Veronica Berglyd Olsen
38a5fddb9d Update tests 2024-05-30 20:49:55 +02:00
Veronica Berglyd Olsen
f844a5080a Update StatusLED to be theme refreshable and use trinary enum for values (#1893) 2024-05-30 20:49:46 +02:00
Veronica Berglyd Olsen
a11a013d16 Remove deleteLater calls from Manuscript tools (#1905) 2024-05-30 16:48:17 +02:00
Veronica Berglyd Olsen
f34cb567e4 Backport deleteLater fix for Manuscript tools from 2.5 release 2024-05-30 16:43:47 +02:00
Veronica Berglyd Olsen
6cb330b06c Update Portuguese translation (#1904) 2024-05-30 16:37:08 +02:00
Veronica Berglyd Olsen
04cf375725 Update translation sources, and completed Portuguese translation 2024-05-30 16:31:17 +02:00
Veronica Berglyd Olsen
b66686a869 Make some improvements to the viewer and test coverage (#1902) 2024-05-29 21:42:40 +02:00
Veronica Berglyd Olsen
31776a51a7 Add some more easy coverage 2024-05-29 21:37:02 +02:00
Veronica Berglyd Olsen
f1b7257e73 Improve test coverage 2024-05-29 21:27:05 +02:00
Veronica Berglyd Olsen
be7078aa7e Save editor doc before opening same in viewer (#1884) 2024-05-29 21:26:29 +02:00
Veronica Berglyd Olsen
931aed6d78 Update first line indentation (#1898) 2024-05-28 23:25:18 +02:00
Veronica Berglyd Olsen
dc6fe77612 Merge branch 'main' into feature/build_preview 2024-05-28 23:20:51 +02:00
Veronica Berglyd Olsen
b387150d4f Improve dialog memory handling (#1899) 2024-05-28 23:19:39 +02:00
Veronica Berglyd Olsen
9b09b13bf9 Improve Manuscript dialog progress bar position 2024-05-28 21:43:09 +02:00
Veronica Berglyd Olsen
d8693c7afa Remove deleteLater form message boxes, and some redundant ones in tests 2024-05-28 21:23:57 +02:00
Veronica Berglyd Olsen
019dd3e478 Change how dialogs are deleted 2024-05-28 21:16:40 +02:00
Veronica Berglyd Olsen
b01a2f5abd Simplify the About dialog 2024-05-28 21:15:32 +02:00
Veronica Berglyd Olsen
087a9cdd2e Update tests 2024-05-27 23:36:53 +02:00
Veronica Berglyd Olsen
b33bf954bb Convert split and merge dialogs into class method dialogs 2024-05-27 23:36:17 +02:00
Veronica Berglyd Olsen
f7cdc7da0c Add a dialog parent class that handles escape key presses 2024-05-27 22:53:30 +02:00
Veronica Berglyd Olsen
cf14f84652 Fix test coverage 2024-05-27 21:45:31 +02:00
Veronica Berglyd Olsen
6289840a74 Update tests 2024-05-27 21:08:28 +02:00
Veronica Berglyd Olsen
770cccda49 Add some comments and add text indent to HTML 2024-05-27 21:08:09 +02:00
Veronica Berglyd Olsen
aa02c0f15d Add first line indentation to previews 2024-05-27 00:27:08 +02:00
Veronica Berglyd Olsen
ee137b6ffd Parse text indentation in the tokenizer instead 2024-05-27 00:26:53 +02:00
Veronica Berglyd Olsen
206ca6040e Post-release fixes (#1897) 2024-05-26 18:23:29 +02:00
Veronica Berglyd Olsen
16f5670c83 Remove tilde from GitHub package name 2024-05-26 18:19:39 +02:00
Veronica Berglyd Olsen
0fc1af7180 Fix some typos in new section of Preferences 2024-05-26 18:05:11 +02:00
Veronica Berglyd Olsen
55714bbcad Release 2.5 Beta 1 (#1895) 2024-05-26 16:49:07 +02:00
Veronica Berglyd Olsen
6f144c20cd Bump to 2.5 beta 1 and update changelog 2024-05-26 16:42:49 +02:00
Veronica Berglyd Olsen
f23bd3818f Add a QTextDocument format class for previews (#1892) 2024-05-26 00:57:15 +02:00
Veronica Berglyd Olsen
d3ea763d6b Add test coverage of new ToQTextDocument class 2024-05-26 00:51:27 +02:00
Veronica Berglyd Olsen
91222f631f Update manuscript tests 2024-05-25 23:02:34 +02:00
Veronica Berglyd Olsen
aceb344856 Fix a potential segfault issue in main gui and add auto-build on open manuscript tool 2024-05-25 22:43:09 +02:00
Veronica Berglyd Olsen
f11ea8d07e Make various fixes and tweaks, and update tests 2024-05-24 21:39:16 +02:00
Veronica Berglyd Olsen
a4e3bf848b Clean up no longer needed code, and fix text justify setting 2024-05-24 20:38:34 +02:00
Veronica Berglyd Olsen
e74c1057a4 Remove HTML preview mode and manuscript cache 2024-05-24 20:12:13 +02:00
Veronica Berglyd Olsen
6cc046c65c Use preview document class for manuscript preview 2024-05-24 18:52:18 +02:00
Veronica Berglyd Olsen
c97a070e98 Fix module header info 2024-05-23 22:04:19 +02:00
Veronica Berglyd Olsen
b4c0bf3322 Complete all current document viewer features in the qdoc class 2024-05-23 21:29:47 +02:00
Veronica Berglyd Olsen
e998cb634e Add working meta data blocks 2024-05-23 20:48:42 +02:00
Veronica Berglyd Olsen
c8017a1f42 Add text paragraph formatting 2024-05-23 19:43:32 +02:00
Veronica Berglyd Olsen
6d84942746 Update qdocument class to work with merged code from main 2024-05-23 19:02:27 +02:00
Veronica Berglyd Olsen
818f145b62 Merge branch 'main' into feature/preview_generator 2024-05-23 18:50:38 +02:00
Veronica Berglyd Olsen
f92c22ce7e Fix build formatting and font handling (#1891) 2024-05-23 18:49:32 +02:00
Veronica Berglyd Olsen
69b362b9d2 Add native font dialog option and fix tests 2024-05-23 18:44:45 +02:00
Veronica Berglyd Olsen
1fe7ca3db8 Update font description and add native font dialog setting to config 2024-05-22 23:31:28 +02:00
Veronica Berglyd Olsen
cc32674b0f Update tests 2024-05-22 23:13:50 +02:00
Veronica Berglyd Olsen
cf16b57f66 Clean up font handling in HTML and ODT 2024-05-22 23:13:16 +02:00
Veronica Berglyd Olsen
411163f750 Update tests 2024-05-22 17:28:57 +02:00
Veronica Berglyd Olsen
7f3da655c0 Update ODT handling of font 2024-05-22 17:28:29 +02:00
Veronica Berglyd Olsen
76e786d961 Update HTML handling of font 2024-05-22 16:59:44 +02:00
Veronica Berglyd Olsen
7e1f1a725c Switch Tokenizer to use QFont instead of font family and size 2024-05-22 16:57:50 +02:00
Veronica Berglyd Olsen
c63a0c2f58 Add new font and quote button icons 2024-05-22 16:55:36 +02:00
Veronica Berglyd Olsen
04a7e092a9 Clean up Markdown build code 2024-05-22 16:55:05 +02:00
Veronica Berglyd Olsen
309065bcbf Add general keep line breaks setting to build 2024-05-22 09:14:34 +02:00
Veronica Berglyd Olsen
20ae3febef Merge branch 'main' into feature/preview_generator 2024-05-21 23:16:27 +02:00
Veronica Berglyd Olsen
e95d33031c Improve the text tokenizer (#1885) 2024-05-21 23:11:44 +02:00
Veronica Berglyd Olsen
3fd62d0b02 Remove context menu test from main menu tests 2024-05-21 23:06:25 +02:00
Veronica Berglyd Olsen
dc0ddcfa9f Move text blocks first also in stats counter as an optimisation 2024-05-21 22:59:02 +02:00
Veronica Berglyd Olsen
7a13b14c15 Drop empty tokens from the tokenizer data 2024-05-21 22:45:01 +02:00
Veronica Berglyd Olsen
adf0550571 Update tests 2024-05-21 22:32:20 +02:00
Veronica Berglyd Olsen
ba6259f08a Update converter classes to handle only single paragraphs 2024-05-21 22:32:07 +02:00
Veronica Berglyd Olsen
d8bb2ad3ae Merge lines of the same paragraph already in the tokenizer 2024-05-21 21:58:34 +02:00
Veronica Berglyd Olsen
afe4a29fd1 Strip consecutive empty paragraphs when tokenizing 2024-05-21 20:53:45 +02:00
Veronica Berglyd Olsen
1203dd639b Add a QTextDocument generator class 2024-05-21 18:12:08 +02:00
Veronica Berglyd Olsen
aadad6aa8c Define header sizes as constants 2024-05-21 18:02:01 +02:00
Veronica Berglyd Olsen
8ac0440bb3 Rename a few files 2024-05-21 16:33:53 +02:00
Veronica Berglyd Olsen
d2fca3b980 Allow full font style settings for GUI and editor (#1881) 2024-05-20 18:37:42 +02:00
Veronica Berglyd Olsen
d6b4019614 Clean up app construction in main entry point 2024-05-20 18:33:00 +02:00
Veronica Berglyd Olsen
a6eb951361 Add font initialisation, and update tests 2024-05-20 17:36:40 +02:00
Veronica Berglyd Olsen
dce5bdd31d Update tests 2024-05-20 17:14:03 +02:00
Veronica Berglyd Olsen
0b999bd726 Fix font handling in manuscript tool 2024-05-20 17:13:10 +02:00
Veronica Berglyd Olsen
774437f7bb Save all font info for text font 2024-05-20 16:32:10 +02:00
Veronica Berglyd Olsen
c0673b8128 Save all font info for GUI font 2024-05-20 16:12:27 +02:00
Veronica Berglyd Olsen
0bc8a63ccf Add error text colour setting to theme (#1880) 2024-05-20 13:36:37 +02:00
Veronica Berglyd Olsen
192f4507e3 Update documentation 2024-05-20 13:32:13 +02:00
Veronica Berglyd Olsen
2d22adcd2a Update the dictionaries tool to use the new error colour 2024-05-20 13:32:06 +02:00
Veronica Berglyd Olsen
4c4b92fdd4 Add error text colour to theme definition 2024-05-20 13:31:38 +02:00
Veronica Berglyd Olsen
2a727d1c39 Merge branch 'main' into fix/dict_tool_error_colour 2024-05-20 13:09:44 +02:00
Veronica Berglyd Olsen
35693f5433 Fix remaining merge conflict in sample project 2024-05-20 13:09:26 +02:00
Veronica Berglyd Olsen
bf459b4090 Add error text value in themes 2024-05-20 13:08:59 +02:00
Veronica Berglyd Olsen
728f1ce1e3 Merge release 2.4.3 into main 2024-05-20 13:07:14 +02:00
Veronica Berglyd Olsen
7b8021de02 Release 2.4.3 (#1878) 2024-05-20 12:32:32 +02:00
Veronica Berglyd Olsen
60593cde21 Bump version to 2.4.3 and update changelog 2024-05-20 12:29:03 +02:00
Veronica Berglyd Olsen
f9292d61da Fix how document font is set (#1877) 2024-05-20 12:16:41 +02:00
Veronica Berglyd Olsen
9388ce6a46 Fix support for 90% font 2024-05-20 12:00:19 +02:00
Veronica Berglyd Olsen
cb19475409 Add font init to viewer, and update manuscript tool preview 2024-05-20 11:36:30 +02:00
Veronica Berglyd Olsen
09b51badd4 Add an explicit font setting function for text editor that covers all font settings 2024-05-20 11:17:23 +02:00
Veronica Berglyd Olsen
fddd5fda47 Fix crash in dictionaries install tool (#1876) 2024-05-19 21:52:54 +02:00
Veronica Berglyd Olsen
5b0a6f05ed Fix enchant folder missing bug for dictionaries tool (#1874) 2024-05-19 21:47:53 +02:00
Veronica Berglyd Olsen
51f91a27e2 Merge release 2.4.2 into main 2024-05-18 15:57:49 +02:00
Veronica Berglyd Olsen
09018d1214 Release 2.4.2 (#1872) 2024-05-18 15:22:19 +02:00
Veronica Berglyd Olsen
de12b22c97 Bump version and update changelog 2024-05-18 15:19:30 +02:00
Veronica Berglyd Olsen
d1ae7f5fe2 Update Dutch and Chinese translations 2024-05-18 15:08:39 +02:00
Veronica Berglyd Olsen
201d32f6ae Merge branch 'release' 2024-05-14 09:37:59 +02:00
Veronica Berglyd Olsen
6a441b1c6b Fix syntax highlighter init (#1866) 2024-05-14 09:37:00 +02:00
Veronica Berglyd Olsen
0afa15f2db Call highlighter init on editor init (#1865) 2024-05-14 09:29:21 +02:00
Veronica Berglyd Olsen
85eb44da02 Bump main branch to 2.5 alpha 4 2024-05-13 18:48:38 +02:00
Veronica Berglyd Olsen
4856c7a61b Improve dialogue highlighting (#1864) 2024-05-13 18:41:13 +02:00
Veronica Berglyd Olsen
1b4cc933e7 Add test coverage 2024-05-13 18:31:31 +02:00
Veronica Berglyd Olsen
d64acb038b Allow multiple widgets in config form 2024-05-13 18:31:14 +02:00
Veronica Berglyd Olsen
b5def640ed Add alternative dialog style 2024-05-13 18:11:44 +02:00
Veronica Berglyd Olsen
7e35b4c675 Update syntax themes and add alternative dialog colour 2024-05-13 17:57:19 +02:00
Veronica Berglyd Olsen
e5e3066b3d Update preferences 2024-05-13 17:51:16 +02:00
Veronica Berglyd Olsen
e1af21bf88 Add new dialogue highlighting settings 2024-05-13 17:50:18 +02:00
Veronica Berglyd Olsen
8c9d08e46b Merge branch 'release' 2024-05-13 12:33:53 +02:00
Veronica Berglyd Olsen
e4acfb4831 Fix manuscript tool font issue (#1863) 2024-05-13 12:33:22 +02:00
Veronica Berglyd Olsen
a8101c2231 Fix text font for header on build tool 2024-05-13 12:29:18 +02:00
Veronica Berglyd Olsen
a3ce426613 Clean up code style (#1859) 2024-05-10 16:39:26 +02:00
Veronica Berglyd Olsen
161d02cd98 Use python -m to run pytest 2024-05-10 16:36:14 +02:00
Veronica Berglyd Olsen
101400bea3 Clean up some linting errors 2024-05-10 16:22:55 +02:00
Veronica Berglyd Olsen
1ff9fea378 Remove banner comments 2024-05-10 16:14:47 +02:00
Veronica Berglyd Olsen
3f4538a60e Remove all END Test comments 2024-05-10 16:06:23 +02:00
Veronica Berglyd Olsen
142d7c4f3a Remove all END Enum comments 2024-05-10 16:01:44 +02:00
Veronica Berglyd Olsen
2afe0ebbe9 Remove all END Class comments 2024-05-10 16:00:56 +02:00
Veronica Berglyd Olsen
bc71a62199 Improve first line indent (#1857) 2024-05-10 15:49:59 +02:00
Veronica Berglyd Olsen
1e85ce4a84 Update tests 2024-05-10 15:26:46 +02:00
Veronica Berglyd Olsen
39951a5099 Add more settings to first line indent and move to Format section 2024-05-10 15:14:09 +02:00
Veronica Berglyd Olsen
9cbb6f3125 Merge release 2.4.1 into main 2024-05-06 22:27:29 +02:00
Veronica Berglyd Olsen
2dbd3e2534 Release 2.4.1 (#1853) 2024-05-06 21:44:15 +02:00
Veronica Berglyd Olsen
f871a51e5b Bump version number to 2.4.1 and update changelog 2024-05-06 21:40:50 +02:00
Veronica Berglyd Olsen
6ab3c68ebb Update translation files for 2.4.1 (#1850) 2024-05-06 21:29:35 +02:00
Veronica Berglyd Olsen
7243ccd44c Update translation files 2024-05-04 21:00:51 +02:00
Veronica Berglyd Olsen
2a96fa1a2d Update the docs for 2.4.1 2024-05-04 20:54:56 +02:00
Veronica Berglyd Olsen
c05620dddb Refactor Main GUI inheritance (#1849) 2024-05-02 22:36:44 +02:00
Veronica Berglyd Olsen
917977ae13 Force document save when manually calling save document 2024-05-02 22:30:58 +02:00
Veronica Berglyd Olsen
2b8338f537 Clean up Main GUI inheritance 2024-05-02 22:13:35 +02:00
Veronica Berglyd Olsen
e75b5e012c Refactor how editor document is saved, and always save cursor position 2024-05-02 21:45:50 +02:00
Veronica Berglyd Olsen
78e194d8c1 Improve handling of tool dialogs on project close 2024-05-02 21:29:07 +02:00
Veronica Berglyd Olsen
c594e07c8c Merge branch 'release' 2024-05-02 21:16:42 +02:00
Veronica Berglyd Olsen
a3ed079828 Make sure dialogs close when project closes (#1848) 2024-05-02 21:08:46 +02:00
Veronica Berglyd Olsen
976ce16ac2 Update imports 2024-05-02 21:04:39 +02:00
Veronica Berglyd Olsen
5faeb12a74 Close non-modal dialogs when project closes 2024-05-02 21:02:23 +02:00
Veronica Berglyd Olsen
acc463eb76 Prune some unneeded translation strings 2024-05-02 19:38:13 +02:00
Veronica Berglyd Olsen
3b7459ffbc Add usability updates to the build tool (#1846) 2024-05-01 22:18:15 +02:00
Veronica Berglyd Olsen
cfb19a697a Restore build preview scroll bar after update (#1837) 2024-05-01 22:10:54 +02:00
Veronica Berglyd Olsen
ceec43db67 Make sure open document is saved before we update preview or build manuscript (#1835) 2024-05-01 22:09:43 +02:00
Veronica Berglyd Olsen
229fa39436 Fix build settings bug (#1845) 2024-05-01 20:33:22 +02:00
Veronica Berglyd Olsen
2496eb22cb Make sure build map is cleared when list is updated 2024-05-01 20:32:50 +02:00
Veronica Berglyd Olsen
d0a45bceca Make sure build map is cleared when list is updated 2024-05-01 20:30:32 +02:00
Veronica Berglyd Olsen
7180fae453 Improve dialog handling (#1844) 2024-05-01 20:24:31 +02:00
Veronica Berglyd Olsen
e1a1b5980e Make sure build settings are closed before deletion 2024-05-01 20:23:59 +02:00
Veronica Berglyd Olsen
53d410a6ee Make sure build settings are closed before deletion 2024-05-01 20:18:08 +02:00
Veronica Berglyd Olsen
a56b38694c Create subclasses for non-blocking dialogs 2024-05-01 20:08:35 +02:00
Veronica Berglyd Olsen
600b60b441 Remove main gui inheritance in manuscript tools 2024-05-01 19:43:51 +02:00
Veronica Berglyd Olsen
aa7208b602 Merge branch 'release' 2024-05-01 19:38:38 +02:00
Veronica Berglyd Olsen
0092b3ece6 Fix two minor issues (#1843) 2024-05-01 19:30:13 +02:00
Veronica Berglyd Olsen
d01c1e867d Pin MacOS tests to macos-13 image 2024-05-01 19:26:59 +02:00
Veronica Berglyd Olsen
dd3c8dfac8 Use GUI font for the header and footer in the editor and viewer (#1842) 2024-05-01 19:22:22 +02:00
Veronica Berglyd Olsen
7c9c5a9a76 Fix garbage collection blocker in build settings 2024-05-01 19:12:45 +02:00
Veronica Berglyd Olsen
8f9a55c5ca Add tools settings to pyproject 2024-05-01 19:12:27 +02:00
Veronica Berglyd Olsen
ea0b61aa6d Update assets credits 2024-04-29 22:48:25 +02:00
Veronica Berglyd Olsen
b94e7159b8 Add more themes (#1840) 2024-04-29 21:37:35 +02:00
Veronica Berglyd Olsen
2eabca8267 Fix theme test 2024-04-29 21:34:28 +02:00
Veronica Berglyd Olsen
afbe434b59 Add Snazzy Light syntax theme 2024-04-29 21:26:37 +02:00
Veronica Berglyd Olsen
2a50799873 Add dracula syntax and GUI theme 2024-04-29 21:08:25 +02:00
Veronica Berglyd Olsen
77727ad500 Update tango theme 2024-04-29 21:08:11 +02:00
Veronica Berglyd Olsen
e89f1fe5a8 Fix some minor issues on other themes 2024-04-29 21:07:58 +02:00
Veronica Berglyd Olsen
503e7eceb5 Make default syntax themes consistent 2024-04-29 21:07:10 +02:00
Veronica Berglyd Olsen
c15eba8f62 Bump main branch to 2.5 Alpha 3 2024-04-28 23:19:36 +02:00
Veronica Berglyd Olsen
e2f83d5106 Update syntax themes (#1836) 2024-04-28 23:10:32 +02:00
Veronica Berglyd Olsen
937b5cca12 Rename old value colour to tag and add new value colour to all syntax themes 2024-04-28 23:07:20 +02:00
Veronica Berglyd Olsen
1d438d5d76 Separate tags and value colours 2024-04-28 22:43:46 +02:00
Veronica Berglyd Olsen
22a34be21a Fix note colour in viewer and fix tests 2024-04-28 20:08:35 +02:00
Veronica Berglyd Olsen
17a492444e Redesign the default dark colour theme 2024-04-28 19:54:08 +02:00
Veronica Berglyd Olsen
9a714a903d Add a note colour to syntax themes 2024-04-28 19:53:58 +02:00
Veronica Berglyd Olsen
69a99fc97f Add a syntax colour for special notes 2024-04-28 19:53:09 +02:00
Veronica Berglyd Olsen
8beb74689c Add footnotes (#1832) 2024-04-28 19:40:38 +02:00
Veronica Berglyd Olsen
6be7da0305 Clean up a few minor bits in the index tests 2024-04-28 18:43:22 +02:00
Veronica Berglyd Olsen
8a08fe213c Fix more deprecation warnings in xml module 2024-04-28 18:29:15 +02:00
Veronica Berglyd Olsen
205b17aea0 Fix deprecation warning in xml module 2024-04-28 18:26:38 +02:00
Veronica Berglyd Olsen
864172ea50 Add an elide function for shortening text 2024-04-28 18:22:31 +02:00
Veronica Berglyd Olsen
e01e14075c Update editor and highlight, and update tests 2024-04-28 18:05:53 +02:00
Veronica Berglyd Olsen
e9596e1bbc Fix footnote formatting for ODT and update document builder tests 2024-04-27 19:05:13 +02:00
Veronica Berglyd Olsen
db9305c230 Add a footnote to the Lorem Ipsum test project 2024-04-27 16:50:37 +02:00
Veronica Berglyd Olsen
4572d101cf Change to run MacOS test on 13 2024-04-26 22:29:26 +02:00
Veronica Berglyd Olsen
41506911c1 Fix regex flag in highlighter 2024-04-26 22:25:58 +02:00
Veronica Berglyd Olsen
b722224863 Improve comment processing 2024-04-26 22:25:08 +02:00
Veronica Berglyd Olsen
b585b8ecd1 Make the footnote registry per-file 2024-04-26 20:12:57 +02:00
Veronica Berglyd Olsen
52e8ae9cb6 Merge branch 'main' into features/footnotes 2024-04-25 23:35:40 +02:00
Veronica Berglyd Olsen
6d6d0c2d12 Require minimum Python 3.9 (#1833) 2024-04-25 23:35:26 +02:00
Veronica Berglyd Olsen
383640cb7e Drop Python 3.8 support 2024-04-25 23:30:26 +02:00
Veronica Berglyd Olsen
e5ef27dfbf Revert change in test 2024-04-25 23:25:23 +02:00
Veronica Berglyd Olsen
96741fc08b Fix remaining broken tests 2024-04-25 22:58:00 +02:00
Veronica Berglyd Olsen
dc41f495be Fix ODT tests 2024-04-24 18:39:06 +02:00
Veronica Berglyd Olsen
b278d64d0c Fix uninitialised shared class in tests 2024-04-24 18:38:50 +02:00
Veronica Berglyd Olsen
b5e32844f5 Merge branch 'main' into features/footnotes 2024-04-24 18:09:26 +02:00
Veronica Berglyd Olsen
4179d2e515 Add isort and clean up flake8 (#1831) 2024-04-24 18:08:42 +02:00
Veronica Berglyd Olsen
815ba9d553 Update linting and formatting tools 2024-04-24 17:46:00 +02:00
Veronica Berglyd Olsen
0d294f49f9 Merge branch 'main' into features/footnotes 2024-04-21 23:34:56 +02:00
Veronica Berglyd Olsen
a195cfc792 Merge branch 'release' 2024-04-21 13:56:08 +02:00
Veronica Berglyd Olsen
d3c9168ebf Make MacOS build script executable 2024-04-21 13:17:55 +02:00
Veronica Berglyd Olsen
4d153b8d99 Backport ARM build for MacOS from 2.5 branch 2024-04-21 13:14:38 +02:00
Veronica Berglyd Olsen
bf8d224064 Update build scripts (#1829) 2024-04-21 12:59:42 +02:00
Veronica Berglyd Olsen
b7ad2c969a Fix test 2024-04-20 21:49:22 +02:00
Veronica Berglyd Olsen
d78643160c Update MacOS package names and fic another launch script bug 2024-04-20 21:43:31 +02:00
Veronica Berglyd Olsen
221b38c766 Fix escapes in MacOS launch script 2024-04-20 21:36:09 +02:00
Veronica Berglyd Olsen
e8bd9b21b5 Explicitly set python exec and ignore errors from run from source blocks in main 2024-04-20 21:31:04 +02:00
Veronica Berglyd Olsen
c2f0d04a35 Merge branch 'main' into builds/macos_m1 2024-04-20 21:04:09 +02:00
Veronica Berglyd Olsen
54ebcd91cb Fix wrong hex version 2024-04-20 20:13:06 +02:00
Veronica Berglyd Olsen
07411327b6 Add some debug output 2024-04-20 19:50:45 +02:00
Veronica Berglyd Olsen
094ad1a17b Require input arguments 2024-04-20 19:44:50 +02:00
Veronica Berglyd Olsen
c362848b86 Fix bash script bug 2024-04-20 19:41:33 +02:00
Veronica Berglyd Olsen
47a8dfbd93 Go back to macos-12 runner 2024-04-20 19:35:39 +02:00
Veronica Berglyd Olsen
73b8443d7b Let's try this one more time ... 2024-04-20 18:35:31 +02:00
Veronica Berglyd Olsen
48a7929254 Escape forwarding of arguments in MacoS build script 2024-04-20 18:28:57 +02:00
Veronica Berglyd Olsen
2c1abf1519 Change package name 2024-04-20 18:18:11 +02:00
Veronica Berglyd Olsen
e27e066ccc Drop support for deprecated Linux AppImage 2024-04-20 18:12:51 +02:00
Veronica Berglyd Olsen
621e933f63 Make some tweaks to build scripts 2024-04-20 18:02:10 +02:00
Veronica Berglyd Olsen
885974a84e Keep artifacts for 14 days 2024-04-20 17:41:36 +02:00
Veronica Berglyd Olsen
b1d1af2153 Add M1 build for MacOS 2024-04-20 17:41:10 +02:00
Veronica Berglyd Olsen
cb94be5b3c Post-release updates 2024-04-20 17:30:35 +02:00
Veronica Berglyd Olsen
5a202e96fd Post-release updates 2024-04-20 17:27:12 +02:00
Veronica Berglyd Olsen
b80edee225 Merge Release 2.4 into Main 2024-04-20 17:26:12 +02:00
Veronica Berglyd Olsen
af3e2fc6ce Release 2.4 (#1827) 2024-04-20 15:29:38 +02:00
Veronica Berglyd Olsen
795007f3f8 Bump version to 2.4 and update changelog 2024-04-20 15:25:59 +02:00
Veronica Berglyd Olsen
ea3c5fa758 Update translations (#1821) 2024-04-20 15:01:22 +02:00
Veronica Berglyd Olsen
30acf11055 Update German translation and refresh other files 2024-04-20 14:58:42 +02:00
Veronica Berglyd Olsen
48e653a546 Clean up footnote key generation 2024-04-18 18:23:25 +02:00
Veronica Berglyd Olsen
a2d8aefb21 Reduce footnote index storage to keys only 2024-04-18 18:07:17 +02:00
Veronica Berglyd Olsen
ae893be79b Merge branch 'main' into features/footnotes 2024-04-18 00:01:48 +02:00
Veronica Berglyd Olsen
d846811fb9 Merge branch 'release' into i18n/update_translations 2024-04-17 00:24:27 +02:00
Veronica Berglyd Olsen
791080107f Update readme 2024-04-17 00:23:41 +02:00
Veronica Berglyd Olsen
7d22ed1249 Update packaging (#1826) 2024-04-17 00:21:42 +02:00
Veronica Berglyd Olsen
8150edbc43 Clean up and refactor package script 2024-04-17 00:12:06 +02:00
Veronica Berglyd Olsen
5acbfeffa5 Reduce zip build job to Windows only 2024-04-17 00:00:28 +02:00
Veronica Berglyd Olsen
3b763e3460 Remove windows install scripts 2024-04-16 23:54:54 +02:00
Veronica Berglyd Olsen
6dd5f4295d Drop build support for Ubuntu 20.04 2024-04-16 23:46:10 +02:00
Veronica Berglyd Olsen
ac7b0bc9a2 Drop code for pre Qt 5.15 versions 2024-04-16 23:45:59 +02:00
Veronica Berglyd Olsen
1733938eb4 Bump Qt version requirement to 5.15 2024-04-16 23:40:48 +02:00
Veronica Berglyd Olsen
e5c9ed4b80 Fix build errors for old Ubuntu LTSes 2024-04-16 23:34:25 +02:00
Veronica Berglyd Olsen
175b6747ea Fix build errors 2024-04-16 23:33:13 +02:00
Veronica Berglyd Olsen
f45170850c Fix Ubuntu builds for 20.04 and 22.04, and bump to 2.5 alpha 2 2024-04-16 23:25:30 +02:00
Veronica Berglyd Olsen
466eb65a44 Add setup.cfg back for old Ubuntu LTSes 2024-04-16 23:15:39 +02:00
Veronica Berglyd Olsen
bdce0e12c7 Simplify footnote handling in writer classes 2024-04-16 21:54:31 +02:00
Veronica Berglyd Olsen
57f9a0a844 Refactor and improve highlighter class 2024-04-16 21:52:37 +02:00
Veronica Berglyd Olsen
988d969de7 Drop the non-compliant print-orientation attribute from the ODT class 2024-04-16 21:51:54 +02:00
Veronica Berglyd Olsen
17960d286f Add a working ODT footnotes implementation 2024-04-16 00:39:48 +02:00
Veronica Berglyd Olsen
26ac68e98e Block footnotes in footnotes, and only output referenced footnotes 2024-04-16 00:37:26 +02:00
Veronica Berglyd Olsen
0729dd798b Add formatted comments for ODT 2024-04-15 18:49:49 +02:00
Veronica Berglyd Olsen
c65dee1df9 Skip footnote section if there are none 2024-04-15 18:30:07 +02:00
Veronica Berglyd Olsen
92888338f4 Add footnotes to output translation file 2024-04-15 18:25:13 +02:00
Veronica Berglyd Olsen
44192c88f5 Add footnote handling in html and markdown output 2024-04-15 18:22:55 +02:00
Veronica Berglyd Olsen
8d24243d4f Complete footnotes processing in tokenizer 2024-04-15 18:22:29 +02:00
Veronica Berglyd Olsen
7c4d4dec5c Use format list also for marker keys 2024-04-15 01:11:32 +02:00
Veronica Berglyd Olsen
9823677983 Add text marker processing in tokenizer class 2024-04-15 00:42:01 +02:00
Veronica Berglyd Olsen
ec6a5712e5 Update tests 2024-04-14 23:59:57 +02:00
Veronica Berglyd Olsen
ef85b2109f Fix shortcode spellcheck (#1823) 2024-04-14 23:52:47 +02:00
Veronica Berglyd Olsen
8cfeb2ce7d Add test coverage of shortcode spell checking 2024-04-14 23:47:46 +02:00
Veronica Berglyd Olsen
35563373a6 Annotated regex rules in highlighting and add to slots 2024-04-14 23:40:19 +02:00
Veronica Berglyd Olsen
f23164a17b Disable spell checking for shortcodes 2024-04-14 23:39:52 +02:00
Veronica Berglyd Olsen
70033cb0f3 Add insert footnote feature in editor 2024-04-14 23:33:35 +02:00
Veronica Berglyd Olsen
da102d3d5a Merge branch 'main' into features/footnotes 2024-04-14 22:17:23 +02:00
Veronica Berglyd Olsen
5568b43b22 Add key generator to text index 2024-04-14 22:17:00 +02:00
Veronica Berglyd Olsen
52b27b6e56 Increase toolbar label font size in outline 2024-04-14 16:42:46 +02:00
Veronica Berglyd Olsen
99ec268dd9 Increase the icon size of outline toolbar 2024-04-14 16:36:21 +02:00
Veronica Berglyd Olsen
d304c0919f Change job name 2024-04-13 19:59:28 +02:00
Veronica Berglyd Olsen
6f3a11ade3 Change job condition 2024-04-13 19:57:51 +02:00
Veronica Berglyd Olsen
52ffa0b675 Add a job to build i18n file 2024-04-13 19:54:50 +02:00
Veronica Berglyd Olsen
03ee8edda1 Update translation sources, and completed French 2024-04-13 19:47:49 +02:00
Veronica Berglyd Olsen
5da30e6608 Update the status shape feature (#1819) 2024-04-13 19:26:32 +02:00
Veronica Berglyd Olsen
0fb0af5b32 Merge branch 'main' into updates/shapes 2024-04-13 19:22:05 +02:00
Veronica Berglyd Olsen
f5fcc57a06 Merge branch 'release' 2024-04-13 19:19:53 +02:00
Veronica Berglyd Olsen
6dc3e29535 Update default theme (#1820) 2024-04-13 19:15:19 +02:00
Veronica Berglyd Olsen
d35db6e925 Merge branch 'release' into udpates/default_theme 2024-04-13 19:08:32 +02:00
Veronica Berglyd Olsen
fbf0839c73 Update documentation for 2.4 (#1818) 2024-04-13 19:07:39 +02:00
Veronica Berglyd Olsen
6f885efb7f Change how default theme colours are handled 2024-04-13 19:07:15 +02:00
Veronica Berglyd Olsen
df5b391f27 Revert the default theme setting 2024-04-13 19:00:59 +02:00
Veronica Berglyd Olsen
4a1a3013f4 Add missing i18n wrapper to shape labels 2024-04-13 18:34:09 +02:00
Veronica Berglyd Olsen
524b965665 Update the remaining docs 2024-04-13 18:32:29 +02:00
Veronica Berglyd Olsen
a3ebe24eb7 Update project documentation 2024-04-13 18:18:06 +02:00
Veronica Berglyd Olsen
cae0977a01 Update usage documentation 2024-04-13 17:11:34 +02:00
Veronica Berglyd Olsen
ecf94d812d Change default theme to match docs 2024-04-13 16:41:46 +02:00
Veronica Berglyd Olsen
807a50dae4 Update the introduction section 2024-04-13 15:25:06 +02:00
Veronica Berglyd Olsen
cf57a3ead0 Update file format spec 2024-04-13 01:34:12 +02:00
Veronica Berglyd Olsen
39b2ff4a72 Bump main branch to version 2.5a1 (correctly this time) 2024-04-13 01:10:39 +02:00
Veronica Berglyd Olsen
eced026aeb Add shape setting to status and importance icons (#1810) 2024-04-13 01:07:43 +02:00
Veronica Berglyd Olsen
d574b2796f Update translations (#1814) 2024-04-13 01:05:36 +02:00
Veronica Berglyd Olsen
730d09a76c Merge branch 'main' into feature/status_shapes 2024-04-13 01:04:24 +02:00
Veronica Berglyd Olsen
b521b39498 Bump main branch to version 2.5a1 2024-04-13 01:03:58 +02:00
Veronica Berglyd Olsen
1cae0503e7 Merge branch 'main' into uppdate_i18n 2024-04-13 00:59:59 +02:00
Veronica Berglyd Olsen
e4d3e609f8 Fix index error in word counter (#1817) 2024-04-13 00:47:16 +02:00
Veronica Berglyd Olsen
4c86c1a75a Improve test coverage 2024-04-13 00:42:26 +02:00
Veronica Berglyd Olsen
2f55055c75 Fix comment 2024-04-13 00:38:29 +02:00
Veronica Berglyd Olsen
3e711ebe7f Fix word counter bug (#1816) 2024-04-13 00:37:21 +02:00
Veronica Berglyd Olsen
61e634a86c Update minor issues (#1815) 2024-04-13 00:30:57 +02:00
Veronica Berglyd Olsen
afd4aa5d1f Update home path and fix wrong setting fix for scene and chapter count on welcome dialog 2024-04-13 00:13:20 +02:00
Veronica Berglyd Olsen
4b5383f1c7 Add home path getter to config 2024-04-13 00:12:43 +02:00
Veronica Berglyd Olsen
95d91562ec Revert last changes, but keep code improvements 2024-04-13 00:03:08 +02:00
Veronica Berglyd Olsen
a43c351e25 Add a project language setting to manuscript build (#1812) 2024-04-12 23:46:09 +02:00
Veronica Berglyd Olsen
77a90256ed Simplify project language setting in project settings 2024-04-12 23:45:15 +02:00
Veronica Berglyd Olsen
6393ae7621 Default to 0 chapters and scenes for new projects (#1811) 2024-04-12 22:57:49 +02:00
Veronica Berglyd Olsen
6b3742fa56 Update US English. Spanish, Italian, Japanese and Norwegian 2024-04-11 22:46:51 +02:00
Veronica Berglyd Olsen
492bc044fc Make project setting lists behave the same way 2024-04-11 21:53:37 +02:00
Veronica Berglyd Olsen
84ff2f8371 Merge branch 'main' into feature/status_shapes 2024-04-11 21:46:48 +02:00
Veronica Berglyd Olsen
54f26ea06e Update test 2024-04-11 21:42:33 +02:00
Veronica Berglyd Olsen
e10f3a19d3 Add size policy types 2024-04-11 21:36:48 +02:00
Veronica Berglyd Olsen
21a5dbbb52 Redesign status item controls, and clean up auto-replace methods 2024-04-11 21:35:25 +02:00
Veronica Berglyd Olsen
f67d2c5a4c Add pre-calculation of status icons 2024-04-11 19:52:54 +02:00
Veronica Berglyd Olsen
6cf83bb381 Add more status icon shapes 2024-04-11 11:17:03 +02:00
Veronica Berglyd Olsen
6b9c81e8c4 Trigger search update on document save 2024-04-11 00:23:38 +02:00
Veronica Berglyd Olsen
f4decae77f Simplify status class counter reset 2024-04-10 23:44:43 +02:00
Veronica Berglyd Olsen
e47f0c5166 Update GUI test 2024-04-10 23:35:14 +02:00
Veronica Berglyd Olsen
778b65b48c Add shape selector to project settings 2024-04-10 23:24:00 +02:00
Veronica Berglyd Olsen
d1dbb0b378 Add test coverage of status class 2024-04-10 22:19:15 +02:00
Veronica Berglyd Olsen
adfd003532 Update core tests 2024-04-10 21:39:23 +02:00
Veronica Berglyd Olsen
f17302439e Simplify further how status labels are added and updated 2024-04-10 21:38:43 +02:00
Veronica Berglyd Olsen
63d2f5c57d Simplify the status class 2024-04-10 17:57:39 +02:00
Veronica Berglyd Olsen
478db63b30 Update tests 2024-04-10 01:09:11 +02:00
Veronica Berglyd Olsen
127588699e Switch status entries from dict to dataclass 2024-04-10 01:08:57 +02:00
Veronica Berglyd Olsen
29c10542b1 Merge branch 'main' into feature/status_shapes 2024-04-09 23:22:45 +02:00
Veronica Berglyd Olsen
ab33312872 Update codecov action 2024-04-09 23:18:21 +02:00
Veronica Berglyd Olsen
5c9fd471a7 Update codecov token 2024-04-09 23:00:17 +02:00
Veronica Berglyd Olsen
dd15c93f51 Comment out debug print 2024-04-09 22:41:37 +02:00
Veronica Berglyd Olsen
4003ececb2 Update tests 2024-04-09 22:40:14 +02:00
Veronica Berglyd Olsen
ff3cae9db4 Add status icon shape to project XML 2024-04-09 22:39:46 +02:00
Veronica Berglyd Olsen
af44646a77 Add a shape generator to the status class 2024-04-09 21:42:59 +02:00
Veronica Berglyd Olsen
1345bc8fe6 Fix markdown error 2024-04-09 18:25:22 +02:00
Veronica Berglyd Olsen
5d3a5a335f Reduce to only one release branch 2024-04-09 18:23:43 +02:00
Veronica Berglyd Olsen
4d877d411b Add linting of type annotations (#1809) 2024-04-09 17:05:45 +02:00
Veronica Berglyd Olsen
c1154682b5 Fix annotation errors 2024-04-09 17:01:05 +02:00
Veronica Berglyd Olsen
99c4b0acd0 Add flake8-annotations to linting checks 2024-04-09 16:52:26 +02:00
Veronica Berglyd Olsen
80520c075d Fix format toggle issue (#1808) 2024-04-09 16:50:54 +02:00
Veronica Berglyd Olsen
17cf9f006a Update tests 2024-04-09 16:41:12 +02:00
Veronica Berglyd Olsen
a8034b2fb5 Fix toggle and select issue for markdown formatting (#1807) 2024-04-09 16:40:38 +02:00
Veronica Berglyd Olsen
7999251353 Change "hard scene" to "alternative scene" format (#1803) 2024-04-08 21:07:28 +02:00
Veronica Berglyd Olsen
2111af8c0c Update translation file 2024-04-08 20:43:30 +02:00
Veronica Berglyd Olsen
6f7745c46a Update alternative scene label 2024-04-08 20:43:19 +02:00
Veronica Berglyd Olsen
ba42285172 Remove summaries from text index 2024-04-08 00:56:36 +02:00
Veronica Berglyd Olsen
dff2d5996b Add new index classes to store special text comments 2024-04-07 23:56:40 +02:00
Veronica Berglyd Olsen
08b17daec9 Add parsing for terms in comments 2024-04-07 18:06:21 +02:00
Veronica Berglyd Olsen
a7cf236ba5 Fix stylesheet bug (#1800) 2024-04-06 20:43:04 +02:00
Veronica Berglyd Olsen
f22197d494 Fix tooltip colours for the search panel 2024-04-06 20:05:46 +02:00
Veronica Berglyd Olsen
af8af45f39 Update translations (#1799) 2024-04-06 19:17:56 +02:00
Veronica Berglyd Olsen
4b112cf9c0 Update Norwegian and US English translations 2024-04-06 19:10:47 +02:00
Veronica Berglyd Olsen
733bc89a47 Update all translation files 2024-04-06 19:09:35 +02:00
Veronica Berglyd Olsen
17baceb807 Improve a few GUI labels 2024-04-06 19:08:49 +02:00
Veronica Berglyd Olsen
86487ace10 Make some minor fixes to the guide 2024-04-06 17:53:48 +02:00
Veronica Berglyd Olsen
a7422e5bb3 Merge branch 'releases/v2.3' 2024-04-06 17:44:18 +02:00
Veronica Berglyd Olsen
b64418c2e9 Merge branch 'releases/v2.2' 2024-04-06 17:44:15 +02:00
Veronica Berglyd Olsen
8e895bd797 Merge branch 'releases/v2.1' 2024-04-06 17:44:11 +02:00
Veronica Berglyd Olsen
6562f645fe Merge branch 'releases/v2.0' 2024-04-06 17:44:08 +02:00
Veronica Berglyd Olsen
80ebf60ec5 Update readme and contributing guide 2024-04-06 17:42:42 +02:00
Veronica Berglyd Olsen
d569001f32 Move mac and windows tests to python 3.12 2024-04-06 17:16:08 +02:00
Veronica Berglyd Olsen
12318b5c31 Keep windows and mac on Python 3.11 2024-04-06 17:15:20 +02:00
Veronica Berglyd Olsen
de55106961 Add release branch rules 2024-04-06 17:13:19 +02:00
Veronica Berglyd Olsen
edca735f2a Add release branch rules 2024-04-06 17:11:38 +02:00
Veronica Berglyd Olsen
b076de6f81 Add release branch rules 2024-04-06 17:11:07 +02:00
Veronica Berglyd Olsen
6ddc59bc5b Add release branch rules 2024-04-06 17:10:21 +02:00
Veronica Berglyd Olsen
ba4a3c16f3 Change to release branches 2024-04-06 17:07:43 +02:00
Veronica Berglyd Olsen
de0fb2eba8 Update actions for new patch branch 2024-04-06 16:50:51 +02:00
Veronica Berglyd Olsen
e40a0ff4aa Release 2.4 RC 1 (#1797) 2024-04-06 15:58:00 +02:00
Veronica Berglyd Olsen
5b126716f7 Update translation file 2024-04-06 15:54:59 +02:00
Veronica Berglyd Olsen
df3f4e2ef7 Bump version to 2.4 RC 1 and update changelog 2024-04-06 15:52:44 +02:00
Veronica Berglyd Olsen
a081a63ba1 Refactor ODT writer class (#1796) 2024-04-05 18:22:55 +02:00
Veronica Berglyd Olsen
3a631449ed Make a few more simplifications 2024-04-05 18:18:30 +02:00
Veronica Berglyd Olsen
c01c8b2023 Use iterable for checking difference between Odt paragraph styles 2024-04-05 18:10:07 +02:00
Veronica Berglyd Olsen
f7736b87bb Refactor Odt paragraph class further 2024-04-05 17:49:16 +02:00
Veronica Berglyd Olsen
5b8212f2fa Refactor Odt text style class 2024-04-05 17:23:39 +02:00
Veronica Berglyd Olsen
dd539be64e Refactor Odt paragraph style class 2024-04-05 17:23:07 +02:00
Veronica Berglyd Olsen
53e5756745 Refactor the Odt writer code 2024-04-05 17:12:01 +02:00
Veronica Berglyd Olsen
d0d6da3436 Improve persistence of document search button state (#1795) 2024-04-04 23:33:24 +02:00
Veronica Berglyd Olsen
c6423ffc21 Simplify the document search widget 2024-04-04 23:25:04 +02:00
Veronica Berglyd Olsen
cf9a141dc7 Remove caching of doc search options state in the search widget 2024-04-04 23:05:42 +02:00
Veronica Berglyd Olsen
2480c7ae9f Clean up code in preparation for Qt6 (#1792) 2024-04-03 21:20:58 +02:00
Veronica Berglyd Olsen
8fff376076 Clean up flags in all GUI classes 2024-04-03 21:09:49 +02:00
Veronica Berglyd Olsen
20c5993e2d Clean up a lot more namespace flags 2024-04-03 20:25:54 +02:00
Veronica Berglyd Olsen
46c5f1c10d Update Qt namespace flags 2024-04-03 19:28:39 +02:00
Veronica Berglyd Olsen
f95bbb8760 Replace exec_ with exec 2024-04-03 18:41:39 +02:00
Veronica Berglyd Olsen
c8fe5e6620 Drop the qApp macro 2024-04-03 18:36:37 +02:00
Veronica Berglyd Olsen
2744fb2fd4 Move to pyproject.toml (#1791) 2024-04-03 00:45:45 +02:00
Veronica Berglyd Olsen
7fb771eba4 Put dependencies directly in project config 2024-04-03 00:14:46 +02:00
Veronica Berglyd Olsen
760b2dbf0c Remove references to setup.cfg 2024-04-03 00:01:53 +02:00
Veronica Berglyd Olsen
751d0ed857 Drop empty init files 2024-04-02 23:53:19 +02:00
Veronica Berglyd Olsen
55e1233ca5 Move package config to pyproject.toml 2024-04-02 23:53:01 +02:00
Veronica Berglyd Olsen
b83042e456 Use selected text for project search (#1790) 2024-04-02 22:59:43 +02:00
Veronica Berglyd Olsen
c0fd1f1466 Update tests 2024-04-02 22:53:21 +02:00
Veronica Berglyd Olsen
03cb6ccb2b Let project search start with selected text (#1789) 2024-04-02 22:51:04 +02:00
Veronica Berglyd Olsen
3fb5d12487 Improve GUI scaling (#1788) 2024-04-01 20:46:45 +02:00
Veronica Berglyd Olsen
b44072a9fa Use the simplified theme icon setter where possible 2024-04-01 20:38:16 +02:00
Veronica Berglyd Olsen
24e45fb661 Improve how tool buttons are generated 2024-04-01 20:21:34 +02:00
Veronica Berglyd Olsen
c3467d89c2 Collect all alignment flags into a new types module 2024-04-01 18:27:18 +02:00
Veronica Berglyd Olsen
468a0e7416 Clean up item details panel 2024-04-01 18:03:35 +02:00
Veronica Berglyd Olsen
1eafa1c8b6 Make sure all tool buttons scale to base icon size 2024-04-01 17:48:12 +02:00
Veronica Berglyd Olsen
c000307f14 Add a base button size, and make it default for switches and tool buttons 2024-04-01 15:39:54 +02:00
Veronica Berglyd Olsen
cfde84f851 Fix typo in doc viewer stylesheet 2024-03-30 23:52:46 +01:00
Veronica Berglyd Olsen
d261aee1d0 Add search refresh when document changes (#1782) 2024-03-28 14:14:37 +01:00
Veronica Berglyd Olsen
c05463f0ae Update test coverage 2024-03-28 14:10:01 +01:00
Veronica Berglyd Olsen
247cd65bb6 Only update search for documents in current results 2024-03-28 13:54:35 +01:00
Veronica Berglyd Olsen
7149e363b1 Update search result on document change 2024-03-28 13:40:52 +01:00
Veronica Berglyd Olsen
536e828cc6 Refactor doc search class to allow single document search 2024-03-28 13:40:15 +01:00
Veronica Berglyd Olsen
821e3c4be5 Fix tooltip inconsistency 2024-03-27 16:38:16 +01:00
Veronica Berglyd Olsen
a06144730f Remove redundant variable 2024-03-27 14:05:43 +01:00
Veronica Berglyd Olsen
d162b77234 Add a new placeholder icon and clean up project search styling (#1781) 2024-03-27 13:46:31 +01:00
Veronica Berglyd Olsen
ec5352c13c Tweak search toolbar a little more 2024-03-27 13:40:26 +01:00
Veronica Berglyd Olsen
4e5a08d3dd Clean up search layout a little 2024-03-27 13:29:54 +01:00
Veronica Berglyd Olsen
2d9b57b534 Add a function to convert QColor to CSS rgba format 2024-03-27 13:11:37 +01:00
Veronica Berglyd Olsen
3e66968387 Add a more obvious placeholder icon (#1780) 2024-03-27 12:32:55 +01:00
Veronica Berglyd Olsen
1771dd2130 Release 2.4 Beta 1 (#1778) 2024-03-26 12:54:50 +01:00
Veronica Berglyd Olsen
b0a4ac055a Release 2.4 Beta 1 2024-03-26 12:49:21 +01:00
Veronica Berglyd Olsen
8bb0588b2b Add fast document read (#1777) 2024-03-26 12:19:50 +01:00
Veronica Berglyd Olsen
147d6b95d7 Move the quick read function to the document class where it belongs 2024-03-26 12:14:07 +01:00
Veronica Berglyd Olsen
6a7262b817 Use the quick read feature wherever we only need document text 2024-03-26 11:56:31 +01:00
Veronica Berglyd Olsen
738f022212 Add a quick document read function in the storage class 2024-03-26 11:45:29 +01:00
Veronica Berglyd Olsen
9081380255 Add global search feature (#1775) 2024-03-26 10:58:01 +01:00
Veronica Berglyd Olsen
e64fb28d89 Revert some timer changes 2024-03-26 00:29:58 +01:00
Veronica Berglyd Olsen
eb0fac8a43 Improve test coverage 2024-03-26 00:26:24 +01:00
Veronica Berglyd Olsen
bdc1f0a5d4 Handle the caching in the DocSearch class 2024-03-25 22:31:37 +01:00
Veronica Berglyd Olsen
8a12b03a1f Add clocks to shared class and add search cache clearing 2024-03-25 18:13:05 +01:00
Veronica Berglyd Olsen
01a4ec8d76 Make some GUI improvements 2024-03-25 17:37:18 +01:00
Veronica Berglyd Olsen
16954c3bba Add search caching 2024-03-25 16:19:51 +01:00
Veronica Berglyd Olsen
c6944876f1 Save project search toggle state 2024-03-25 11:59:05 +01:00
Veronica Berglyd Olsen
33e0895cdf Improve handling of focus switch with search widget 2024-03-25 11:44:56 +01:00
Veronica Berglyd Olsen
a4d8c22cd0 Add better keyboard navigation support 2024-03-24 16:24:48 +01:00
Veronica Berglyd Olsen
becb404203 Complete handling of search results 2024-03-24 15:56:22 +01:00
Veronica Berglyd Olsen
026aeb3d82 Use regex search instead 2024-03-24 14:52:32 +01:00
Veronica Berglyd Olsen
9153707075 Add basic string search 2024-03-23 23:54:41 +01:00
Veronica Berglyd Olsen
0feac3163f Merge branch 'dev' into global_search 2024-03-23 23:15:07 +01:00
Veronica Berglyd Olsen
7ddb1819f2 Fix two minor typing issues 2024-03-23 20:01:49 +01:00
Veronica Berglyd Olsen
9ddbe2f789 Add basic global search widget 2024-03-21 23:04:47 +01:00
Veronica Berglyd Olsen
102885da6e Add sidebar button for global search 2024-03-21 22:16:40 +01:00
Veronica Berglyd Olsen
ded03e10c5 Add outline to manuscript tool (#1768) 2024-03-21 18:49:55 +01:00
Veronica Berglyd Olsen
991e4fd3e2 Add test coverage 2024-03-21 18:44:15 +01:00
Veronica Berglyd Olsen
c0b1d0ad3d Fix tests 2024-03-21 16:43:36 +01:00
Veronica Berglyd Olsen
5befd244e6 Move outline generation to Tokenizer class instead 2024-03-21 16:42:58 +01:00
Veronica Berglyd Olsen
144ba66d9d Remove redundant variables in tokenizer 2024-03-20 23:44:25 +01:00
Veronica Berglyd Olsen
46c8bedd66 Add outline table to Manuscript tool 2024-03-20 20:43:31 +01:00
Veronica Berglyd Olsen
d42074f8ea Extend HTML anchor to include handle 2024-03-20 20:43:11 +01:00
Veronica Berglyd Olsen
bcadc40998 Make preview mode in HTML build also usable by Manuscript tool 2024-03-20 19:37:55 +01:00
Veronica Berglyd Olsen
ace1df7336 Increase size of some small button icons 2024-03-20 17:27:17 +01:00
Veronica Berglyd Olsen
3a2e2ff478 Add consistent styling of tool buttons and tab widgets 2024-03-20 17:26:36 +01:00
Veronica Berglyd Olsen
cd1f19355a Add additional classes to HTML output (#1767) 2024-03-18 23:13:02 +01:00
Veronica Berglyd Olsen
05174cd84c Add meta data classes in HTML build format (#1134) 2024-03-18 23:05:32 +01:00
Veronica Berglyd Olsen
7247d4dc76 Use correct type hint for generators 2024-03-18 18:37:21 +01:00
Veronica Berglyd Olsen
239ca55ba9 Bump dev to 2.4 alpha 4 2024-03-17 18:25:50 +01:00
Veronica Berglyd Olsen
523aef38cc Add a document outline dropdown (#1764) 2024-03-17 18:19:35 +01:00
Veronica Berglyd Olsen
294bf51f8a Cap outline to 30 items 2024-03-17 18:15:02 +01:00
Veronica Berglyd Olsen
8133e374d1 Add indentation of viewer menu, and move location 2024-03-17 16:57:28 +01:00
Veronica Berglyd Olsen
6bb9ec0dc1 Simplify a few more functions 2024-03-17 16:10:27 +01:00
Veronica Berglyd Olsen
c26cfd5372 Use a signal to handle new note creation 2024-03-17 15:51:16 +01:00
Veronica Berglyd Olsen
8afe3ed039 Let the shared class handle focus mode change to disconnect editor header from main GUI 2024-03-17 15:21:42 +01:00
Veronica Berglyd Olsen
b156eee209 Clean up signals and passing variables 2024-03-17 15:02:42 +01:00
Veronica Berglyd Olsen
add499af89 Add outline navigation to viewer 2024-03-17 14:04:11 +01:00
Veronica Berglyd Olsen
ca3337914c Complete the editor outline feature and update tests 2024-03-17 13:04:54 +01:00
Veronica Berglyd Olsen
5453d2ada1 Add document outline generator for editor 2024-03-17 12:26:25 +01:00
Veronica Berglyd Olsen
c3aa8fec56 Merge branch 'main' into dev 2024-03-17 11:56:34 +01:00
Veronica Berglyd Olsen
cfcf05fdad Release 2.3.1 (#1762) 2024-03-17 11:13:04 +01:00
Veronica Berglyd Olsen
423bde0c03 Bump version to 2.3.1 and update release notes 2024-03-17 11:00:37 +01:00
Veronica Berglyd Olsen
c254581a3f Prepare for release 2.3.1 (#1760) 2024-03-17 10:48:07 +01:00
Veronica Berglyd Olsen
ca27dc65b7 Update translation files, and complete French, Dutch and Spanish 2024-03-17 10:44:40 +01:00
Veronica Berglyd Olsen
cdb84851b2 Revert "Simplify the ODT header format" (#1758) 2024-03-17 10:42:27 +01:00
Veronica Berglyd Olsen
227c30cce3 Bump dev to 2.4 alpha 3 2024-03-15 00:00:01 +01:00
Veronica Berglyd Olsen
b1c6021545 Merge branch 'main' into dev 2024-03-14 23:55:27 +01:00
Veronica Berglyd Olsen
aed843a4f2 Add ODT first line indent (#1761) 2024-03-14 23:48:23 +01:00
Veronica Berglyd Olsen
101c595a48 Update tests 2024-03-14 23:44:56 +01:00
Veronica Berglyd Olsen
cdaae3fb46 Fix tests 2024-03-14 23:31:29 +01:00
Veronica Berglyd Olsen
0ae7694954 Add first line indent switch 2024-03-14 23:22:57 +01:00
Veronica Berglyd Olsen
f79c0b93ab Add first line indent style 2024-03-14 23:07:05 +01:00
Veronica Berglyd Olsen
439938ba58 Update Italian and Japanese translations 2024-03-14 22:11:56 +01:00
Veronica Berglyd Olsen
85cb93b396 Allow hiding all headings in manuscript (#1759) 2024-03-14 22:06:29 +01:00
Veronica Berglyd Olsen
8ef5eea825 Improve paragraph skips in Markdown output 2024-03-14 22:01:44 +01:00
Veronica Berglyd Olsen
b8af6d3990 Make sure the tokenizer can handle skipping separators also when there are no other headings (#1756) 2024-03-14 22:00:53 +01:00
Veronica Berglyd Olsen
f78f59dc2a Allow hiding any header level in novels 2024-03-13 21:38:24 +01:00
Veronica Berglyd Olsen
4defc1d4a3 Simplify the ODT header format (#1758) 2024-03-13 16:34:48 +01:00
Veronica Berglyd Olsen
fb7bf6fb98 Simplify the ODT header format 2024-03-13 16:24:56 +01:00
Veronica Berglyd Olsen
c0f48b91e6 Drop separate token type for unnumbered headings and use heading 2 instead 2024-03-13 15:54:14 +01:00
Veronica Berglyd Olsen
9da99e3183 Apply hide scene/section regardless of format being filled in 2024-03-13 15:53:28 +01:00
Veronica Berglyd Olsen
beaa583bc8 Add hard scene break format (#1753) 2024-03-13 11:11:59 +01:00
Veronica Berglyd Olsen
c7e953fc24 Fix chapter numbering in refactored tokenizer and add test coverage 2024-03-13 11:08:49 +01:00
Veronica Berglyd Olsen
44a0d21b35 Merge branch 'dev' into hard_scene 2024-03-12 22:14:14 +01:00
Veronica Berglyd Olsen
70f748efac Prefer GUI locale for date format (#1755) 2024-03-12 22:12:55 +01:00
Veronica Berglyd Olsen
6e2c5be14e Allow fallback values for appearance preferences 2024-03-12 22:02:23 +01:00
Veronica Berglyd Olsen
7d9040005e Use GUI locale date formats on GUI and dialogs 2024-03-12 22:01:54 +01:00
Veronica Berglyd Olsen
dc2c6d2a0d Add local formatting of dates with fallback to system locale 2024-03-12 22:01:07 +01:00
Veronica Berglyd Olsen
370116718a Merge branch 'main' into dev 2024-03-12 21:07:10 +01:00
Veronica Berglyd Olsen
9a9b2c6d2f Fix i18n issues (#1754) 2024-03-12 21:03:28 +01:00
Veronica Berglyd Olsen
37c935d027 Update US English, Norwegian and German translations 2024-03-12 21:00:46 +01:00
Veronica Berglyd Olsen
1279834849 Improve the custom widget docstring 2024-03-12 20:54:54 +01:00
Veronica Berglyd Olsen
ea50ae3279 Add a custom box layout for the wrapped widget 2024-03-12 19:10:48 +01:00
Veronica Berglyd Olsen
f51720dbd8 Update base translation file 2024-03-12 18:48:26 +01:00
Veronica Berglyd Olsen
d090230b67 Make it optional to split string for chapter and scene count on welcome dialog (#1750) 2024-03-12 18:41:16 +01:00
Veronica Berglyd Olsen
6a3f6048c2 Fix malformed translation string (#1749) 2024-03-12 18:27:15 +01:00
Veronica Berglyd Olsen
1bd82954c2 Add menu entry and update tests 2024-03-12 18:12:47 +01:00
Veronica Berglyd Olsen
44721fc797 Update documentation 2024-03-12 17:55:13 +01:00
Veronica Berglyd Olsen
66cf7cce78 Improve test coverage 2024-03-12 17:40:11 +01:00
Veronica Berglyd Olsen
c5c9726794 Clean up heading processing in tokenizer 2024-03-12 17:28:02 +01:00
Veronica Berglyd Olsen
8f25be8cb2 Update headings settings in manuscript build tool 2024-03-12 17:27:38 +01:00
Veronica Berglyd Olsen
78958ed5cf Add hard scene break formatting 2024-03-11 23:26:16 +01:00
Veronica Berglyd Olsen
bdff3b4ee2 Add support for triple hash alt header format 2024-03-11 23:25:28 +01:00
Veronica Berglyd Olsen
459a8e5cde Bump dev branch to 2.4a2 2024-03-11 22:27:34 +01:00
Veronica Berglyd Olsen
0869f209ab Merge branch 'main' into dev 2024-03-11 22:26:15 +01:00
Veronica Berglyd Olsen
d15e4ebb17 Bump project file format revision (#1748) 2024-03-11 16:39:18 +01:00
Veronica Berglyd Olsen
d6fae17b3b Update tests 2024-03-11 16:34:50 +01:00
Veronica Berglyd Olsen
dd82c935e5 Set new revision number 2024-03-11 16:34:44 +01:00
Veronica Berglyd Olsen
bc414246d2 Update file format spec 2024-03-11 16:34:05 +01:00
Veronica Berglyd Olsen
27ea697b90 Fix i18n issues (#1744) 2024-03-11 08:48:49 +01:00
Veronica Berglyd Olsen
f38f25f65a Update translation files 2024-03-10 16:20:54 +01:00
Veronica Berglyd Olsen
3edb76abbf Fix missing translation in Project Word List 2024-03-10 14:52:10 +01:00
Veronica Berglyd Olsen
91c6e13cbc Merge branch 'main' into dev 2024-03-10 14:09:51 +01:00
Veronica Berglyd Olsen
a5064d6237 Release 2.3 (#1742) 2024-03-10 12:41:19 +01:00
Veronica Berglyd Olsen
483a9aedfd Bump version and update changelog 2024-03-10 12:01:50 +01:00
Veronica Berglyd Olsen
98f94efbdd Update i18n (#1741) 2024-03-10 11:28:45 +01:00
Veronica Berglyd Olsen
3335c08a42 Merge branch 'main' into update_i18n 2024-03-10 11:26:38 +01:00
Veronica Berglyd Olsen
c6aa6d575d Improve GUI text (#1727) 2024-03-09 21:01:08 +01:00
Veronica Berglyd Olsen
013e94afc9 Update documentation (#1703) 2024-03-09 21:00:42 +01:00
Veronica Berglyd Olsen
7829c894ff Add the new additional section 2024-03-09 20:58:43 +01:00
Veronica Berglyd Olsen
924bf67bfb Update the project section 2024-03-09 20:56:44 +01:00
Veronica Berglyd Olsen
7aea468103 Update the usage section 2024-03-09 19:59:12 +01:00
Veronica Berglyd Olsen
9336410180 Update the introduction section 2024-03-09 18:33:37 +01:00
Veronica Berglyd Olsen
22162d3915 Merge branch 'main' into update_docs 2024-03-09 17:39:05 +01:00
Veronica Berglyd Olsen
edf4256648 Refresh translation files 2024-03-09 17:25:55 +01:00
Veronica Berglyd Olsen
29f9ea2a55 Update German and Spanish translations 2024-03-09 17:25:41 +01:00
Veronica Berglyd Olsen
8d614c2aeb Improve Open Project error handling (#1740) 2024-03-09 12:50:48 +01:00
Veronica Berglyd Olsen
604df85e62 Open welcome dialog again if no project was opened 2024-03-09 12:39:11 +01:00
Veronica Berglyd Olsen
075a9bf850 Be a bit more precise on open project errors (#1737) 2024-03-09 12:12:19 +01:00
Veronica Berglyd Olsen
02f20b7a4f Add more syntax themes (#1738) 2024-03-09 11:52:44 +01:00
Veronica Berglyd Olsen
5df369a831 Add Tango syntax colour theme 2024-03-09 11:49:06 +01:00
Veronica Berglyd Olsen
ead1740f83 Update test 2024-03-09 10:44:24 +01:00
Veronica Berglyd Olsen
791eebe8a6 Add custom sorting function so that default themes come first 2024-03-09 10:36:59 +01:00
Veronica Berglyd Olsen
5178c41e54 Add cyberpunk night theme by @alemvigh (#1730) 2024-03-09 10:17:22 +01:00
Veronica Berglyd Olsen
4c55bfe49f Remove the cli entry in setup.cfg (#1734) 2024-03-07 16:18:03 +01:00
Veronica Berglyd Olsen
7137494740 Remove the novelwriter-cli entry point (#1732) 2024-03-07 16:12:38 +01:00
Veronica Berglyd Olsen
569cb68cca Merge branch 'dev' into gui_text 2024-03-03 21:45:03 +01:00
Veronica Berglyd Olsen
fcd94326ef Merge branch 'main' into dev 2024-03-03 21:44:38 +01:00
Veronica Berglyd Olsen
a3bd0d38a4 Fix Trash and Delete entries for multi-select (#1728) 2024-03-03 21:30:59 +01:00
Veronica Berglyd Olsen
925d9fd5ad Update translations 2024-03-03 21:25:49 +01:00
Veronica Berglyd Olsen
d12e626bc4 Update tests 2024-03-03 21:17:18 +01:00
Veronica Berglyd Olsen
c182cc4383 Fix move to trash and permanently delete for multi select menu 2024-03-03 21:16:46 +01:00
Veronica Berglyd Olsen
ee97dce900 Change "Convert Quotes" text in format menu 2024-03-03 20:39:17 +01:00
Veronica Berglyd Olsen
72ba4ae74d Use "Duplicate" for both context menu types in project tree 2024-03-03 20:37:44 +01:00
Veronica Berglyd Olsen
58a7dc0a5a Use "heading" consistently on the UI 2024-03-03 20:28:36 +01:00
Veronica Berglyd Olsen
7799e9f253 Improve editor stats handling and test coverage (#1725) 2024-03-03 17:20:00 +01:00
Veronica Berglyd Olsen
d97ce592f8 Improve test coverage of editor search 2024-03-03 17:14:46 +01:00
Veronica Berglyd Olsen
8859fc7b6b Improve test coverage 2024-03-03 16:31:02 +01:00
Veronica Berglyd Olsen
57b3aa2032 Improve handling of title in doc headers 2024-03-03 16:30:48 +01:00
Veronica Berglyd Olsen
79513bcbe5 Improve the word counter logic of the editor 2024-03-03 15:39:08 +01:00
Veronica Berglyd Olsen
ef9e84f2ce Clean up the line counter logic in the editor 2024-03-03 15:00:12 +01:00
Veronica Berglyd Olsen
9270550364 Clean up some string formatting 2024-03-02 18:47:28 +01:00
Veronica Berglyd Olsen
2af1d60480 Remove redundant if statement in tokenizer class 2024-03-02 18:32:19 +01:00
Veronica Berglyd Olsen
5b5134148b Remove redundant flag in tokenizer class 2024-03-02 18:30:09 +01:00
Veronica Berglyd Olsen
210c1079cd Refactor Tokenizer class (#1724) 2024-03-02 18:27:40 +01:00
Veronica Berglyd Olsen
20c996e87e Remove colons from Manuscript GUI 2024-03-02 18:23:36 +01:00
Veronica Berglyd Olsen
37f56a34f4 Remove the header processing function and add comments to the tokenizer 2024-03-02 18:21:55 +01:00
Veronica Berglyd Olsen
24ea5f2f2b Update tests 2024-03-02 17:51:03 +01:00
Veronica Berglyd Olsen
53a4725d62 Incorporate header formatting into main tokenizer function 2024-03-02 17:50:36 +01:00
Veronica Berglyd Olsen
d932beb37d Bump dev to 2.4 alpha 1 2024-03-02 15:46:21 +01:00
Veronica Berglyd Olsen
868526e806 Add more formatting options for manuscript builds (#1723) 2024-03-02 15:42:12 +01:00
Veronica Berglyd Olsen
bce4a164b8 Add test coverage 2024-03-02 15:35:45 +01:00
Veronica Berglyd Olsen
aea4192213 Add option to ignore certain keywords in manuscript (#1132) 2024-03-02 15:24:07 +01:00
Veronica Berglyd Olsen
415d46d659 Add a specific header styles test 2024-03-02 14:46:10 +01:00
Veronica Berglyd Olsen
c6cbe4cc0d Allow titles in notes as well 2024-03-02 00:32:42 +01:00
Veronica Berglyd Olsen
82349d39b7 Fix broken tests 2024-03-02 00:19:21 +01:00
Veronica Berglyd Olsen
3e3335be39 Add additional styling for headers 2024-03-02 00:19:02 +01:00
Veronica Berglyd Olsen
44adc42fa6 Make sure manuscript preview always preserves tabs 2024-03-01 22:15:28 +01:00
Veronica Berglyd Olsen
ef1fc0943d Add a way to ignore hard line breaks in Markdown builds (#944) 2024-03-01 22:12:45 +01:00
Veronica Berglyd Olsen
bb2c2bb7fe Add preserve tabs setting to HTML builds 2024-03-01 22:09:50 +01:00
Veronica Berglyd Olsen
fa8a954bc0 Merge branch 'main' into dev 2024-03-01 12:18:16 +01:00
Veronica Berglyd Olsen
750ba36d32 Emit clear index signal when project is closed (#1720) 2024-02-29 23:10:05 +01:00
Veronica Berglyd Olsen
72b14ff08c Clean up imports 2024-02-29 23:07:22 +01:00
Veronica Berglyd Olsen
4ac050fe75 Add regression test 2024-02-29 23:06:19 +01:00
Veronica Berglyd Olsen
311b611afe Clear index when closing project (#1718) 2024-02-29 22:58:52 +01:00
Veronica Berglyd Olsen
45ab705175 Add text stats to manuscript tool (#1717) 2024-02-29 22:51:23 +01:00
Veronica Berglyd Olsen
acf8170f29 Update tests 2024-02-29 22:48:17 +01:00
Veronica Berglyd Olsen
6e57bc0fc0 Add manuscript stats panell 2024-02-29 22:41:12 +01:00
Veronica Berglyd Olsen
b3fb1db07c Add show/hide button icons 2024-02-29 22:40:36 +01:00
Veronica Berglyd Olsen
cca309d7d7 Add all words char count to tokenizer 2024-02-29 22:40:14 +01:00
Veronica Berglyd Olsen
dccc442852 Add test coverage of tokenizer stats counter 2024-02-28 19:10:05 +01:00
Veronica Berglyd Olsen
9f7fc90f2d Add documentation of counting rules 2024-02-28 18:20:20 +01:00
Veronica Berglyd Olsen
c3415ade1b Merge branch 'dev' into manuscript_stats 2024-02-28 17:12:37 +01:00
Veronica Berglyd Olsen
30bedb29d6 Merge branch 'main' into dev 2024-02-28 17:12:01 +01:00
Veronica Berglyd Olsen
37e2392237 Update i18n (#1714) 2024-02-28 17:08:49 +01:00
Veronica Berglyd Olsen
a1e6398116 Merge branch 'main' into update_i18n 2024-02-28 16:58:06 +01:00
Veronica Berglyd Olsen
b0b1c0d386 Improve i18n tests 2024-02-28 16:53:29 +01:00
Veronica Berglyd Olsen
29e83da077 Reformat statement 2024-02-28 12:35:00 +01:00
Veronica Berglyd Olsen
56ed4b88f8 Update Dutch translation 2024-02-27 19:44:38 +01:00
Veronica Berglyd Olsen
2a2b12f0a5 Add stats counting to tokenizer class 2024-02-27 19:39:58 +01:00
Veronica Berglyd Olsen
3bd67b4f1d Add body text only counter 2024-02-27 17:54:32 +01:00
Veronica Berglyd Olsen
3c4673724e Move main word counter to new module 2024-02-27 17:02:29 +01:00
Veronica Berglyd Olsen
a87a94ffeb Move highlighting CSS into the ToHtml class 2024-02-27 17:00:38 +01:00
Veronica Berglyd Olsen
f1ac1f7c21 Add highlight text shortcode (#1715) 2024-02-26 22:43:52 +01:00
Veronica Berglyd Olsen
eda054ae11 Add test coverage 2024-02-26 22:40:32 +01:00
Veronica Berglyd Olsen
5fa6c2ad99 Merge branch 'dev' into mark_text 2024-02-26 11:07:21 +01:00
Veronica Berglyd Olsen
a6647a0f4f Merge branch 'main' into dev 2024-02-26 11:07:00 +01:00
Veronica Berglyd Olsen
5f79186d10 Remove scene separator insertion after text (#1716) 2024-02-25 22:56:50 +01:00
Veronica Berglyd Olsen
87a1bb050e Update tests 2024-02-25 22:49:27 +01:00
Veronica Berglyd Olsen
de16d2d6a1 Make plain text not affect scene separator insertion 2024-02-25 22:49:12 +01:00
Veronica Berglyd Olsen
4fa21107ee Update Italian translation 2024-02-25 18:07:33 +01:00
Veronica Berglyd Olsen
fc75bdbebb Add button icon for highlighted text 2024-02-25 18:03:43 +01:00
Veronica Berglyd Olsen
ac549f75b0 Set mark colour in viewer, not in html generator 2024-02-25 17:33:04 +01:00
Veronica Berglyd Olsen
a2b2f70671 Fix broken tests 2024-02-25 17:07:52 +01:00
Veronica Berglyd Olsen
23bd5dfc41 Add a syntax theme colour entry for text highlighting 2024-02-25 16:55:17 +01:00
Veronica Berglyd Olsen
0566fc38af Update document build formats to support text highlighting 2024-02-25 16:34:24 +01:00
Veronica Berglyd Olsen
69bf6a64aa Add text highlight mark format 2024-02-25 16:18:06 +01:00
Veronica Berglyd Olsen
97371533bc Update Japanese translation, and fix line numbers in others 2024-02-25 10:51:42 +01:00
Veronica Berglyd Olsen
c3cf69cbe6 Update Norwegian and US English, and Dutch and Portuguese project translations 2024-02-24 18:22:31 +01:00
Veronica Berglyd Olsen
1353eaa460 Update base translation and fix tr string issues 2024-02-24 18:20:09 +01:00
Veronica Berglyd Olsen
3ca2c6de66 Bump version to 2.4 Alpha 0 on dev branch 2024-02-24 16:15:53 +01:00
Veronica Berglyd Olsen
4273ba5158 Release 2.3 RC 1 (#1712) 2024-02-24 16:00:49 +01:00
Veronica Berglyd Olsen
368cbdc62c Bump version and update changelog 2024-02-24 15:57:33 +01:00
Veronica Berglyd Olsen
b0614e8c25 Fix scene separators and chapter and scene counters (#1711) 2024-02-24 15:32:50 +01:00
Veronica Berglyd Olsen
6ef646acb2 Simplify the scene separator handler 2024-02-24 15:29:58 +01:00
Veronica Berglyd Olsen
6db7f049bc Add test coverage 2024-02-24 15:24:31 +01:00
Veronica Berglyd Olsen
404b102a54 Rename some variables in the tokenizer 2024-02-24 14:44:11 +01:00
Veronica Berglyd Olsen
ef84588145 Make sure scene and chapter info is properly reset on headers in the tokenizer 2024-02-24 14:29:13 +01:00
Veronica Berglyd Olsen
eb105951ac Clean up the tokenizer code a little 2024-02-24 14:28:12 +01:00
Veronica Berglyd Olsen
9f6a1b4bc0 Update design elements (#1709) 2024-02-21 17:47:29 +01:00
Veronica Berglyd Olsen
dfd4df46ce Drop the welcome dialog help text now that the language option has been dropped 2024-02-21 17:45:01 +01:00
Veronica Berglyd Olsen
3c8e3b3653 Rename buttons on welcome dialog 2024-02-21 17:39:28 +01:00
Veronica Berglyd Olsen
6500975cc3 Replace template root folder icon 2024-02-21 17:39:10 +01:00
Veronica Berglyd Olsen
2fb87c415e Fix various issues on the Welcome dialog (#1707) 2024-02-20 23:34:23 +01:00
Veronica Berglyd Olsen
996f48a85f Make some minor fixes to the welcome dialog source 2024-02-20 23:31:18 +01:00
Veronica Berglyd Olsen
1c91ba6fd9 Fix welcome dialog tests 2024-02-20 23:21:02 +01:00
Veronica Berglyd Olsen
10764a2041 Block overwriting when creating sample project 2024-02-20 23:20:49 +01:00
Veronica Berglyd Olsen
576c13d045 Redesign button row on welcome dialog 2024-02-20 23:10:08 +01:00
Veronica Berglyd Olsen
f0e86dad10 Drop language setting on new project form 2024-02-20 23:07:32 +01:00
Veronica Berglyd Olsen
4bf82e4df7 Hide unused controls on new project form 2024-02-20 23:03:57 +01:00
Veronica Berglyd Olsen
eab8bb2351 Block welcome dialog open button when project list is not visible 2024-02-20 12:48:14 +01:00
Veronica Berglyd Olsen
02d805122f Fix typo 2024-02-18 21:14:45 +01:00
Veronica Berglyd Olsen
595fd01863 Fix some typos on the tags and references docs 2024-02-18 18:24:48 +01:00
Veronica Berglyd Olsen
7b8b303886 Use markdown formatting on example text in docs 2024-02-16 21:58:11 +01:00
Veronica Berglyd Olsen
8b701f8651 Post release fixes for 2.3b1 (#1700) 2024-02-16 21:07:11 +01:00
Veronica Berglyd Olsen
e6071e613b Update windows package installer 2024-02-16 21:01:30 +01:00
Veronica Berglyd Olsen
75de1a1888 Release 2.3 Beta 1 (#1698) 2024-02-16 18:39:14 +01:00
Veronica Berglyd Olsen
f25c172705 Bump version to 2.3b1 and update changelog 2024-02-15 22:56:19 +01:00
Veronica Berglyd Olsen
b741b21db8 Add CSV export for Outline View (#1697) 2024-02-15 22:07:32 +01:00
Veronica Berglyd Olsen
a350d38d4e Fix CSV newlines on Windows 2024-02-15 22:04:16 +01:00
Veronica Berglyd Olsen
2e55d28a10 Improve the test file compare function 2024-02-15 21:46:35 +01:00
Veronica Berglyd Olsen
76864f2a2f Update test coverage 2024-02-15 21:34:19 +01:00
Veronica Berglyd Olsen
25b6d1c001 Add CSV export to outline 2024-02-15 21:09:41 +01:00
Veronica Berglyd Olsen
1a635f60a9 Rewrite checking for updates (#1696) 2024-02-14 23:35:32 +01:00
Veronica Berglyd Olsen
c6524d02ea Delete the old updates dialog 2024-02-14 23:22:43 +01:00
Veronica Berglyd Olsen
ed7dde2aaa Add test coverage 2024-02-14 23:19:25 +01:00
Veronica Berglyd Olsen
5917c9da08 Change version checker to use regular GitHub API 2024-02-14 21:46:10 +01:00
Veronica Berglyd Olsen
3a1f77b8f8 Make the new version lookup run in the background 2024-02-14 18:55:01 +01:00
Veronica Berglyd Olsen
bdf100e608 Add more subtle link colours to themes 2024-02-14 18:32:28 +01:00
Veronica Berglyd Olsen
f8d57539d4 Add a version info widget 2024-02-14 18:32:09 +01:00
Veronica Berglyd Olsen
453a228182 Simplify the About dialog (#1695) 2024-02-13 18:26:42 +01:00
Veronica Berglyd Olsen
ea14f06245 Update credits 2024-02-13 18:15:27 +01:00
Veronica Berglyd Olsen
5e9d96788e Update tests 2024-02-13 18:10:24 +01:00
Veronica Berglyd Olsen
b793842f6d Simplify the About dialog to only show credits 2024-02-13 18:04:41 +01:00
Veronica Berglyd Olsen
827702159d Change the new release info to a simple pop-up dialog 2024-02-13 18:04:12 +01:00
Veronica Berglyd Olsen
17aae16345 Fix deprecated typing (#1694) 2024-02-13 14:10:56 +01:00
Veronica Berglyd Olsen
16d2f1cc2a Fix new linting errors 2024-02-13 14:06:32 +01:00
Veronica Berglyd Olsen
e778d05ee3 Add PEP585 checks to linting checks 2024-02-13 14:06:22 +01:00
Veronica Berglyd Olsen
fb92c6c333 Add formatter helper for file extensions filters (#1693) 2024-02-11 21:08:08 +01:00
Veronica Berglyd Olsen
701fe29de9 Add the file filter function where needed 2024-02-11 20:59:29 +01:00
Veronica Berglyd Olsen
642b5e3681 Add a formatting function for file extension filters for file dialogs 2024-02-11 20:57:27 +01:00
Veronica Berglyd Olsen
81a9d51986 Add context menu option to rename item to first heading (#1692) 2024-02-11 20:05:01 +01:00
Veronica Berglyd Olsen
e6efd15b9a Update test 2024-02-11 19:58:51 +01:00
Veronica Berglyd Olsen
f883de6e03 Add context menu option to rename item to header text 2024-02-11 19:56:46 +01:00
Veronica Berglyd Olsen
dc661b7a70 Add import and export to project word list (#1691) 2024-02-11 19:37:35 +01:00
Veronica Berglyd Olsen
edfb4e60c6 Use the same header label style as on other dialogs 2024-02-11 19:15:18 +01:00
Veronica Berglyd Olsen
e185f87875 Add test coverage 2024-02-11 19:09:40 +01:00
Veronica Berglyd Olsen
ce3a8f56c8 Add import icon 2024-02-11 18:55:27 +01:00
Veronica Berglyd Olsen
23b7baf62c Add import and export feature to word list 2024-02-11 00:52:20 +01:00
Veronica Berglyd Olsen
56cb545fab Bump version to 2.3 Alpha 5 2024-02-10 18:42:27 +01:00
Veronica Berglyd Olsen
71c4d7aa94 Update welcome dialog (#1689) 2024-02-10 18:39:36 +01:00
Veronica Berglyd Olsen
c8b1a10f26 Merge branch 'dev' into update_welcome 2024-02-10 18:37:45 +01:00
Veronica Berglyd Olsen
e9e4788602 Add an ignore text format and allow multi-paragraph formatting (#1690) 2024-02-10 18:31:48 +01:00
Veronica Berglyd Olsen
2f20266602 Use regular block format function for single block 2024-02-10 18:26:18 +01:00
Veronica Berglyd Olsen
1c3b252b6b Add test coverage of multi-block formatting 2024-02-10 18:22:21 +01:00
Veronica Berglyd Olsen
bc2f91e54f Allow comment, ignore and clear formatting to be applied to all selected text 2024-02-10 18:20:51 +01:00
Veronica Berglyd Olsen
8a41748173 Refactor block formatting to support multi-block selections 2024-02-10 16:43:12 +01:00
Veronica Berglyd Olsen
c3e6b4e10a Update tests 2024-02-10 15:49:49 +01:00
Veronica Berglyd Olsen
9c1bdef9ad Add block format that completely ignores a line of text in the tokenizer 2024-02-10 15:40:30 +01:00
Veronica Berglyd Olsen
fe22949cb4 Add an indicator for missing project paths in welcome dialog 2024-02-10 12:20:38 +01:00
Veronica Berglyd Olsen
a9bda1deed Update welcome dialog illustration 2024-02-10 00:03:08 +01:00
Veronica Berglyd Olsen
492dd58068 Change the scaling and margins of the welcome dialog 2024-02-09 23:26:53 +01:00
Veronica Berglyd Olsen
186cead603 Remove the width setting from the switch widget 2024-02-09 23:26:26 +01:00
Veronica Berglyd Olsen
467772c489 Add file template feature (#1688) 2024-02-08 23:17:18 +01:00
Veronica Berglyd Olsen
8ff292fec8 Add test coverage of template feature 2024-02-08 23:10:20 +01:00
Veronica Berglyd Olsen
4113be7a4c Allow filtering templates by setting them to inactive 2024-02-08 22:12:05 +01:00
Veronica Berglyd Olsen
0aaf42de21 Connect the bits for the file template feature 2024-02-08 21:49:07 +01:00
Veronica Berglyd Olsen
d9a5db5884 Add file copy feature to project class 2024-02-08 21:37:53 +01:00
Veronica Berglyd Olsen
fe8a112328 Add a custom templates menu to project tree add items 2024-02-08 00:06:01 +01:00
Veronica Berglyd Olsen
bbb23b4bc9 Fix some widgets without parent, and update template file record keeping 2024-02-07 20:37:53 +01:00
Veronica Berglyd Olsen
c420d8ae38 Add template icon 2024-02-07 20:36:39 +01:00
Veronica Berglyd Olsen
e78545fcdb Don't highlight tags in inactive files 2024-02-03 17:00:27 +01:00
Veronica Berglyd Olsen
0a1c5b20ed Merge branch 'dev' into doc_templates 2024-02-03 16:38:09 +01:00
Veronica Berglyd Olsen
321e57a3b7 Add creating new project from zipped existing project (#1684) 2024-02-03 15:40:06 +01:00
Veronica Berglyd Olsen
4d016c3b75 Clean up top level window access and add coverage to shared data class 2024-02-03 15:34:33 +01:00
Veronica Berglyd Olsen
d5064a8333 Add test for new project creation path 2024-02-03 15:34:08 +01:00
Veronica Berglyd Olsen
a11657c145 Allow creating new project from zip archive 2024-02-03 14:54:01 +01:00
Veronica Berglyd Olsen
64889ac5d8 Add a templates root folder 2024-02-02 20:40:57 +01:00
Veronica Berglyd Olsen
8af720cbd6 Improvements functionality of various dialogs (#1681) 2024-02-01 23:43:57 +01:00
Veronica Berglyd Olsen
68a6390868 Add test coverage of modified widgets 2024-02-01 23:35:30 +01:00
Veronica Berglyd Olsen
a8f61f2b98 Add modified combo and spinboxes that don't scroll on mouse wheel 2024-02-01 23:35:14 +01:00
Veronica Berglyd Olsen
c866491910 Remove test lines that sometimes fail, as they cover no additional code 2024-02-01 22:22:22 +01:00
Veronica Berglyd Olsen
c1a14e7aa5 Fix test 2024-02-01 21:28:20 +01:00
Veronica Berglyd Olsen
27fa356846 Make the closing + opening of projects from welcome screen a little smoother 2024-02-01 21:22:12 +01:00
Veronica Berglyd Olsen
54f36d4e8e Improve item auto-select on welcome dialog 2024-02-01 20:49:06 +01:00
Veronica Berglyd Olsen
3b9ef47e0f Make some minor improvements to custom widget highlighting 2024-02-01 20:34:42 +01:00
Veronica Berglyd Olsen
d504c0a7ec Allow creating project from other projects (#1680) 2024-02-01 00:24:16 +01:00
Veronica Berglyd Olsen
58fa3e64ec Add test coverage 2024-02-01 00:15:39 +01:00
Veronica Berglyd Olsen
b0f1db0aea Add copy project feature to project builder class 2024-01-31 23:56:09 +01:00
Veronica Berglyd Olsen
90dda43205 Bump dev version to 2.3 Alpha 4 2024-01-31 22:03:26 +01:00
Veronica Berglyd Olsen
d20af1283c Allow inserting characters in manuscript headers (#1677) 2024-01-31 20:36:25 +01:00
Veronica Berglyd Olsen
2cd6cc299e Merge branch 'dev' into chars_in_build_alt2 2024-01-31 20:25:55 +01:00
Veronica Berglyd Olsen
a227c58d55 Add a 'Create New' menu for documents in project tree context menu (#1679) 2024-01-31 20:23:34 +01:00
Veronica Berglyd Olsen
d23fdf28ad Fix test, again ... 2024-01-31 20:18:17 +01:00
Veronica Berglyd Olsen
9803dc16fd Fix a couple of minor issues with project tree context menu 2024-01-31 20:10:53 +01:00
Veronica Berglyd Olsen
7fcc9a3928 Update test 2024-01-31 20:05:16 +01:00
Veronica Berglyd Olsen
ec7f50b566 Add a 'Create New' submenu to project tree context menu (#1519) 2024-01-31 20:05:10 +01:00
Veronica Berglyd Olsen
76ab9c3908 Change tokenizer parsed data to always use a list for format, even when empty 2024-01-30 23:25:11 +01:00
Veronica Berglyd Olsen
e6193ed858 Update tags documentation 2024-01-30 23:01:12 +01:00
Veronica Berglyd Olsen
5b4ccad19b Improve test coverage 2024-01-30 22:37:43 +01:00
Veronica Berglyd Olsen
e1531009d3 Update Lipsum test project 2024-01-30 22:10:25 +01:00
Veronica Berglyd Olsen
ca188fee08 Implement alternative tag display name format 2024-01-30 21:34:36 +01:00
Veronica Berglyd Olsen
c5edbbfaf6 Improve type checking in common module, and delete unused function 2024-01-30 21:13:38 +01:00
Veronica Berglyd Olsen
f15563cf6e Revert parts of previous implementation 2024-01-30 21:00:04 +01:00
Veronica Berglyd Olsen
e5c6dae080 Fix tests and tag index validation (uncommited changes from yesterday) 2024-01-30 10:42:07 +01:00
Veronica Berglyd Olsen
6952211607 Update docs 2024-01-29 17:47:37 +01:00
Veronica Berglyd Olsen
b396cff9a7 Add a display name filed to index, and improve handling of it 2024-01-29 17:47:30 +01:00
Veronica Berglyd Olsen
ca7ae6b666 Add a syntax colour for optional values 2024-01-29 17:45:53 +01:00
Veronica Berglyd Olsen
cbf5f1ead3 Add POV or Focus char field to manuscript header format 2024-01-29 17:32:43 +01:00
Veronica Berglyd Olsen
a48a4e5674 Add customisation option for ODT build document header (#1675) 2024-01-28 15:58:06 +01:00
Veronica Berglyd Olsen
1ec0bff159 Add page offset option to ODT build (#1505) 2024-01-28 15:52:38 +01:00
Veronica Berglyd Olsen
116409bb8d Sort imports 2024-01-28 15:29:05 +01:00
Veronica Berglyd Olsen
0e41a48ad1 Update tests 2024-01-28 15:25:12 +01:00
Veronica Berglyd Olsen
f732d13807 Add build setting for customising ODT page header (#1505) 2024-01-28 15:15:03 +01:00
Veronica Berglyd Olsen
8e4e6903b1 Clean up variables and formatting 2024-01-28 00:28:01 +01:00
Veronica Berglyd Olsen
97b791511f Bump dev version to 2.3 Alpha 3 2024-01-27 18:20:29 +01:00
Veronica Berglyd Olsen
100989030d Update build settings layout (#1674) 2024-01-27 18:16:33 +01:00
Veronica Berglyd Olsen
6c75bdecdc Update widget flow on preferences dialog 2024-01-27 18:06:41 +01:00
Veronica Berglyd Olsen
51314804bf Update remaining build settings pages and delete old config layouts 2024-01-27 18:06:08 +01:00
Veronica Berglyd Olsen
6b106599dd Merge branch 'dev' into build_settings 2024-01-27 17:07:09 +01:00
Veronica Berglyd Olsen
82d5899f2e Merge branch 'main' into dev 2024-01-27 17:04:44 +01:00
Veronica Berglyd Olsen
11c4428a8a Fix some issues after release 2.2.1 (#1672) 2024-01-27 16:42:56 +01:00
Veronica Berglyd Olsen
c0a5d257ac Fix package name issue with upload artifact version 4 2024-01-27 16:17:20 +01:00
Veronica Berglyd Olsen
6a30ce5fe3 Update artifacts download action 2024-01-27 16:08:12 +01:00
Veronica Berglyd Olsen
3ba345acc8 Update GitHub actions 2024-01-27 16:03:34 +01:00
Veronica Berglyd Olsen
b27589d3d6 Update the help info on Launchpad packages 2024-01-27 16:03:26 +01:00
Veronica Berglyd Olsen
5979503dc8 Release 2.2.1 (#1667) 2024-01-27 15:50:19 +01:00
Veronica Berglyd Olsen
b008721bdb Update changelog and change release date 2024-01-27 15:47:02 +01:00
Veronica Berglyd Olsen
bcd1e7e245 Merge branch 'main' into release_2.2.1 2024-01-27 15:44:16 +01:00
Veronica Berglyd Olsen
d455cb714d Handle non-modal dialogs better (#1671) 2024-01-27 15:43:11 +01:00
Veronica Berglyd Olsen
9311117257 Prevent multiple non-modal dialogs of the same kind from being opened 2024-01-27 15:38:44 +01:00
Veronica Berglyd Olsen
855c525670 Redesign Build Settings tool to match other config dialogs 2024-01-27 15:22:37 +01:00
Veronica Berglyd Olsen
d113b3feb3 Drop the project .bak file (#1670) 2024-01-27 14:55:11 +01:00
Veronica Berglyd Olsen
7a2d239aaa Merge branch 'dev' into project_handling 2024-01-27 14:42:43 +01:00
Veronica Berglyd Olsen
9ae36eaa24 Update Ubuntu release targets 2024-01-27 11:23:28 +01:00
Veronica Berglyd Olsen
a76268743f Update Ubuntu releases 2024-01-26 23:18:36 +01:00
Veronica Berglyd Olsen
7d9ca66fd6 Remove Ubuntu 23.04 release 2024-01-26 23:12:47 +01:00
Veronica Berglyd Olsen
e752a97ea7 Bump dev version to 2.3 Alpha 2 2024-01-26 23:11:13 +01:00
Veronica Berglyd Olsen
ed3e513544 Drop novel title field (#1669) 2024-01-26 23:07:08 +01:00
Veronica Berglyd Olsen
d6eafccde6 Update the docstring in the project XML reader 2024-01-26 23:02:35 +01:00
Veronica Berglyd Olsen
119d572050 Update file format spec document 2024-01-26 23:00:36 +01:00
Veronica Berglyd Olsen
7a1fab0c0a Update test reference files 2024-01-26 22:57:25 +01:00
Veronica Berglyd Olsen
de6fd65664 Update sample project and tests 2024-01-26 22:45:28 +01:00
Veronica Berglyd Olsen
838a2a8062 Drop the Novel Title data from the project and code 2024-01-26 22:45:12 +01:00
Veronica Berglyd Olsen
e03305d601 Update Project Settings dialog (#1668) 2024-01-26 22:40:04 +01:00
Veronica Berglyd Olsen
4c5f68242a Remove unused code in old config layout classes 2024-01-26 22:32:39 +01:00
Veronica Berglyd Olsen
40a8d728bb Update project settings tests 2024-01-26 22:32:20 +01:00
Veronica Berglyd Olsen
a7a2eaff55 Delete the old config dialog base class 2024-01-26 21:36:05 +01:00
Veronica Berglyd Olsen
3761b1729f Make the style of config dialogs consistent 2024-01-26 21:31:14 +01:00
Veronica Berglyd Olsen
0dc4719400 Fix log formatting for longer file names 2024-01-26 19:51:54 +01:00
Veronica Berglyd Olsen
c6ee6746a2 Make layout improvements to Project Settings 2024-01-26 19:51:31 +01:00
Veronica Berglyd Olsen
ee21045ee2 Update the design on the Project Settings dialog 2024-01-26 19:50:17 +01:00
Veronica Berglyd Olsen
5abb8d566a Bump version and update changelog and release notes 2024-01-25 23:45:02 +01:00
Veronica Berglyd Olsen
2772c9bf0b Update i18n (#1666) 2024-01-25 23:31:38 +01:00
Veronica Berglyd Olsen
883ef3457b Update German and Chinese translations 2024-01-25 23:27:11 +01:00
Veronica Berglyd Olsen
a10fff92e7 Fix focus switch bug in project tree (#1649) 2024-01-25 23:22:44 +01:00
Veronica Berglyd Olsen
df4993c38e Drop outdated info in docstring 2024-01-25 23:20:47 +01:00
Veronica Berglyd Olsen
d73763b1f7 Redesign Project Details dialog (#1665) 2024-01-25 23:10:54 +01:00
Veronica Berglyd Olsen
10012054be Remove some unused code 2024-01-25 23:07:10 +01:00
Veronica Berglyd Olsen
b6c9f1160f Add test coverage 2024-01-25 22:59:22 +01:00
Veronica Berglyd Olsen
483528b3b2 Modify some of the custom widgets after writing tests 2024-01-25 22:59:06 +01:00
Veronica Berglyd Olsen
4ef40f2c4d Remove old project details dialog 2024-01-25 21:30:53 +01:00
Veronica Berglyd Olsen
23713bb791 Add table of contents code to novel details panel 2024-01-25 21:25:43 +01:00
Veronica Berglyd Olsen
6b53a2665e Merge branch 'main' into fixes 2024-01-25 12:09:22 +01:00
Veronica Berglyd Olsen
6f5cbea95f Fix typo in documentation (#1664) 2024-01-25 12:07:07 +01:00
Reproog
09855730d7 Replace Misspelling 'Gustom' -> 'Custom' in File 'docs/source/int_customise.rst' 2024-01-25 12:02:00 +01:00
Veronica Berglyd Olsen
6622a7e8e0 Begin to add content to the novel details overview page 2024-01-24 19:26:48 +01:00
Veronica Berglyd Olsen
cc4d92f0f7 Improve novel selector widget and add to novel details dialog 2024-01-24 17:05:14 +01:00
Veronica Berglyd Olsen
a14e544e78 Merge branch 'dev' into project_details 2024-01-23 22:29:46 +01:00
Veronica Berglyd Olsen
269fa700b0 Change in-app version format and .deb package names (#1659) 2024-01-23 22:28:28 +01:00
Veronica Berglyd Olsen
bd45619e2f Modify Debian and Ubuntu packaging version format, and remove snapshots 2024-01-23 21:49:28 +01:00
Veronica Berglyd Olsen
97384ee4bd Update tests and clean up packaging util 2024-01-23 20:48:39 +01:00
Veronica Berglyd Olsen
415f1a1d1a Update build scripts to handle new version format 2024-01-23 19:57:27 +01:00
Veronica Berglyd Olsen
b33a3b480d Use short version format for app version 2024-01-23 19:54:19 +01:00
Veronica Berglyd Olsen
9f2c5379b7 Generalise the custom help label widget 2024-01-22 23:55:37 +01:00
Veronica Berglyd Olsen
f35722ab35 Merge branch 'dev' into project_details 2024-01-19 16:58:57 +01:00
Veronica Berglyd Olsen
8a8a218e6b Convert theme colours to Qt objects (#1656) 2024-01-19 16:58:12 +01:00
Veronica Berglyd Olsen
fe0098ebbc Update colour parsing tests 2024-01-19 16:51:27 +01:00
Veronica Berglyd Olsen
ca02bbf20d Fix slots order 2024-01-19 16:35:49 +01:00
Veronica Berglyd Olsen
e10140b1cd Fix spelling colour in highlighter and make a few improvements 2024-01-19 16:34:57 +01:00
Veronica Berglyd Olsen
b92112e933 Update tests 2024-01-19 16:13:29 +01:00
Veronica Berglyd Olsen
82c63723a4 Make all theme colours actual QColor objects 2024-01-19 16:13:12 +01:00
Veronica Berglyd Olsen
ce2ac9b1a1 Add a novel info dialog 2024-01-18 23:34:27 +01:00
Veronica Berglyd Olsen
97ea3ebc16 Drop the XML backup file 2024-01-16 16:14:10 +01:00
Veronica Berglyd Olsen
ae7c19f923 Add inactive tags filter to viewer panel (#1654) 2024-01-15 16:05:58 +01:00
Veronica Berglyd Olsen
3135bee47d Changes the option text 2024-01-15 16:02:02 +01:00
Veronica Berglyd Olsen
c15ffb0813 Update test coverage 2024-01-15 15:59:46 +01:00
Veronica Berglyd Olsen
a2a62f8b26 Allow hiding inactive tags in document viewer panel 2024-01-15 15:50:19 +01:00
Veronica Berglyd Olsen
ca4aa75880 Rename outdated function parameter in index class 2024-01-15 15:48:45 +01:00
Veronica Berglyd Olsen
427a910ec0 Remove redundant constant in preferences dialog 2024-01-13 18:59:48 +01:00
Veronica Berglyd Olsen
beb01d572f Rewrite Preferences dialog (#1652) 2024-01-13 18:44:36 +01:00
Veronica Berglyd Olsen
16461279cf Remove dependency of i18n files in preferences test 2024-01-13 18:38:34 +01:00
Veronica Berglyd Olsen
f40722d196 Merge branch 'dev' into preferences 2024-01-13 18:33:06 +01:00
Veronica Berglyd Olsen
34eb39e10d Add new test for preferences dialog 2024-01-13 18:29:21 +01:00
Veronica Berglyd Olsen
2cb772847e Update tests 2024-01-13 18:29:06 +01:00
Veronica Berglyd Olsen
7b5b82136f Update preferences dialog and quotes selection dialog 2024-01-13 18:28:41 +01:00
Veronica Berglyd Olsen
fa9d0f3503 Clean up docstrings in conftest 2024-01-11 09:23:05 +01:00
Veronica Berglyd Olsen
4afbd98d6f Add icons to preferences buttons 2024-01-11 09:17:46 +01:00
Veronica Berglyd Olsen
944e2455d5 Fix a bug with editor init on preferences update 2024-01-08 22:13:33 +01:00
Veronica Berglyd Olsen
2504965f8d Add more spacing in preferences layout 2024-01-08 22:06:04 +01:00
Veronica Berglyd Olsen
34fcbdd350 Fix a couple of bugs on the preference dialog 2024-01-08 21:48:51 +01:00
Veronica Berglyd Olsen
671d7130e1 Add search bar to preferences 2024-01-08 21:08:33 +01:00
Veronica Berglyd Olsen
1fbd50334d Complete the rewrite of the Preferences dialog 2024-01-08 20:49:40 +01:00
Veronica Berglyd Olsen
1ed3cea414 Simplify the custom switch widget 2024-01-08 19:14:36 +01:00
Veronica Berglyd Olsen
978a8145a8 Drop the setting to change word count interval 2024-01-08 19:13:58 +01:00
Veronica Berglyd Olsen
1482451e87 Create a scrollable config layout and start adding it to preferences 2024-01-08 19:12:39 +01:00
Veronica Berglyd Olsen
5c99e2186a Merge branch 'main' into dev 2024-01-05 00:27:32 +01:00
Veronica Berglyd Olsen
df690ceb36 Happy New Year 2024 2024-01-05 00:25:07 +01:00
Veronica Berglyd Olsen
10435945db Add a welcome dialog (#1647) 2023-12-31 17:01:18 +01:00
Veronica Berglyd Olsen
df95cd85e8 Add support for dark theme welcome window 2023-12-30 17:23:43 +01:00
Veronica Berglyd Olsen
05e9729c22 Add coverage of some missed lines 2023-12-30 16:52:24 +01:00
Veronica Berglyd Olsen
bc17305c4f Add tests for the welcome window 2023-12-30 16:33:03 +01:00
Veronica Berglyd Olsen
c3ea32a165 Add back in focus switch to ensure #1376 remains resolved 2023-12-30 00:01:12 +01:00
Veronica Berglyd Olsen
9660d82f9b Remove focus switch after creating new tree item (#1648) 2023-12-29 23:53:32 +01:00
Veronica Berglyd Olsen
7feb3ec2f9 Update project builder tests 2023-12-29 14:50:28 +01:00
Veronica Berglyd Olsen
25686e46a8 Fix broken tests 2023-12-29 14:12:46 +01:00
Veronica Berglyd Olsen
53228faaa3 Add a way to delete entries in the recent projects list 2023-12-29 13:41:10 +01:00
Veronica Berglyd Olsen
bbabc41ac2 Remove old open project dialog 2023-12-29 12:16:52 +01:00
Veronica Berglyd Olsen
18b3edbf87 Complete project list and open and browse buttons on welcome dialog 2023-12-28 23:11:11 +01:00
Veronica Berglyd Olsen
63fd7bf06a Add custom painting of project items in the project list 2023-12-22 20:26:34 +01:00
Veronica Berglyd Olsen
ba538920aa Fix sample project creation 2023-12-20 22:20:04 +01:00
Veronica Berglyd Olsen
8b6691c056 Remove the old project wizard 2023-12-20 22:00:52 +01:00
Veronica Berglyd Olsen
41b7495a06 Complete the create new project code path 2023-12-20 21:52:57 +01:00
Veronica Berglyd Olsen
a71d0d8cfe Add project fill options to new project page on welcome dialog 2023-12-20 20:21:51 +01:00
Veronica Berglyd Olsen
956abf3e8e Add project fill box 2023-12-19 20:26:40 +01:00
Veronica Berglyd Olsen
054d4f965e Added most of new project form 2023-12-19 19:31:30 +01:00
Veronica Berglyd Olsen
f26b405f42 Add new project page to welcome dialog 2023-12-19 17:30:11 +01:00
Veronica Berglyd Olsen
8a61d57ce4 Update title on welcome dialog 2023-12-19 17:29:33 +01:00
Veronica Berglyd Olsen
818fa2bf11 Merge branch 'dev' into welcome_window 2023-12-17 18:08:35 +01:00
Veronica Berglyd Olsen
856c14ce76 Bump dev branch to 2.3 alpha 1 2023-12-17 17:49:17 +01:00
Veronica Berglyd Olsen
f9089fd506 Merge branch 'main' into dev 2023-12-17 17:47:00 +01:00
Veronica Berglyd Olsen
b6282772ae Release 2.2 (#1641) 2023-12-17 17:00:05 +01:00
Veronica Berglyd Olsen
bfecebc047 Update release notes 2023-12-17 16:56:43 +01:00
Veronica Berglyd Olsen
904f954d4d Add framework for welcome dialog 2023-12-17 15:14:56 +01:00
Veronica Berglyd Olsen
186737a170 Update file history info 2023-12-13 22:07:53 +01:00
Veronica Berglyd Olsen
f32383ea99 Update changelog 2023-12-13 21:25:26 +01:00
Veronica Berglyd Olsen
4097949c44 Update translations 2023-12-13 21:24:50 +01:00
Veronica Berglyd Olsen
10feafeab4 Bump version for release 2.2 2023-12-10 22:21:25 +01:00
Veronica Berglyd Olsen
399a867836 Update docs with 2.2 features (#1640) 2023-12-10 22:18:03 +01:00
Veronica Berglyd Olsen
6f3702f2df Update docs organising section 2023-12-10 22:12:59 +01:00
Veronica Berglyd Olsen
7dc9e65f68 Update docs using novelWriter section 2023-12-10 21:53:04 +01:00
Veronica Berglyd Olsen
1740bbedbd Update docs introduction section 2023-12-10 18:39:29 +01:00
Veronica Berglyd Olsen
356ecde88a Merge branch 'main' into dev 2023-12-04 10:46:58 +01:00
Veronica Berglyd Olsen
8585334a51 Update buttons in viewer and editor (#1638) 2023-12-04 09:12:30 +01:00
Veronica Berglyd Olsen
553b76cafc Update en_US and nb_NO translations 2023-12-03 18:58:01 +01:00
Veronica Berglyd Olsen
c04e1035a7 Merge branch 'main' into gui_fixes 2023-12-03 18:48:26 +01:00
Veronica Berglyd Olsen
dfbb61a37e Add viewer panel importance info (#1639) 2023-12-03 18:47:09 +01:00
Veronica Berglyd Olsen
cb485c5c86 Revert deleting the view button in viewer panel, but keep the double click change 2023-12-03 18:37:47 +01:00
Veronica Berglyd Olsen
62a94850a6 Add tooltips to all entries in the viewer panel and update translation file 2023-12-03 18:24:55 +01:00
Veronica Berglyd Olsen
99c00f8b93 Update tests 2023-12-03 18:20:23 +01:00
Veronica Berglyd Olsen
cbb000a18f Drop the view column in the viewer panel 2023-12-03 18:18:00 +01:00
Veronica Berglyd Olsen
847d8ab726 Add importance column to document viewer panel (#1620) 2023-12-03 18:15:16 +01:00
Veronica Berglyd Olsen
9f1e2d322e Re-order formats menu to be consistent with toolbar 2023-12-03 17:55:12 +01:00
Veronica Berglyd Olsen
b7c657141f Update translations 2023-12-03 17:43:28 +01:00
Veronica Berglyd Olsen
023f6bed01 Update base translation file 2023-12-03 17:34:08 +01:00
Veronica Berglyd Olsen
fff6ba98bc Rename emph and strong to italic and bold for consistency and add tooltips to editor toolbar 2023-12-03 17:33:15 +01:00
Veronica Berglyd Olsen
776eedc5f2 Drop the markdown/shortcode toggle feature from editor toolbar and update icons (#1636, #1637) 2023-12-03 16:56:36 +01:00
Veronica Berglyd Olsen
f2eaaa09b6 Turn viewer footer button and label into text buttons (#1628) 2023-12-03 16:10:09 +01:00
Veronica Berglyd Olsen
ded91bc3b0 Refactor Storage class (#1635) 2023-12-01 18:22:26 +01:00
Veronica Berglyd Olsen
6d769cb512 Make some minor improvements 2023-12-01 18:18:26 +01:00
Veronica Berglyd Olsen
ecaaffb029 Update tests for project class 2023-12-01 18:02:29 +01:00
Veronica Berglyd Olsen
8952bbab1d Clean up project tests 2023-12-01 17:45:25 +01:00
Veronica Berglyd Olsen
3fe2ee3058 Update tests for storage class 2023-12-01 17:28:56 +01:00
Veronica Berglyd Olsen
f2b35d798b Make some minor corrections 2023-11-30 22:53:52 +01:00
Veronica Berglyd Olsen
d11a8ee789 Remove unneeded storage enum 2023-11-30 22:39:46 +01:00
Veronica Berglyd Olsen
5278eb7895 Update tests 2023-11-30 22:30:12 +01:00
Veronica Berglyd Olsen
4f42407c23 Rewrite project open and creation in storage class 2023-11-30 22:29:54 +01:00
Veronica Berglyd Olsen
60b0a4c901 Update extensions (#1634) 2023-11-29 22:35:02 +01:00
Veronica Berglyd Olsen
a6d346fcb6 Clean up and fix minor issues with GUI extensions 2023-11-29 22:21:56 +01:00
Veronica Berglyd Olsen
78a75d5719 Fix some minor issues (#1632) 2023-11-29 21:59:36 +01:00
Veronica Berglyd Olsen
f59317c2b5 Remove alternative apostrophe from auto select logic because it is already a letter 2023-11-29 21:55:07 +01:00
Veronica Berglyd Olsen
b203bcdcff Include apostrophes when auto selecting in editor (#1624) 2023-11-29 21:48:09 +01:00
Veronica Berglyd Olsen
a31f42b04c Clean up novel view and improve coverage 2023-11-29 21:24:07 +01:00
Veronica Berglyd Olsen
ce666d9d7a Scroll novel view when looping through documents (#1555) 2023-11-29 20:55:05 +01:00
Veronica Berglyd Olsen
ef93b41240 Clean up alert boxes and update event filters (#1631) 2023-11-29 16:12:08 +01:00
Veronica Berglyd Olsen
1118f01c91 Combine all event filters in one module, and apply the status tip filter to the sidebar as well 2023-11-29 16:05:58 +01:00
Veronica Berglyd Olsen
b526315084 Clean up some redundant code and fix annotations 2023-11-29 16:05:14 +01:00
Veronica Berglyd Olsen
1d1dae0c7e Remove caching of the alert object in the shared instance 2023-11-29 16:03:48 +01:00
Veronica Berglyd Olsen
1edfcfcd91 Add debug comment 2023-11-29 08:10:16 +01:00
Veronica Berglyd Olsen
82e9fb0c44 Fix minor optimisation issue 2023-11-29 08:06:56 +01:00
Veronica Berglyd Olsen
1b8d424b27 Filter menu status tips (#1630) 2023-11-29 00:05:06 +01:00
Veronica Berglyd Olsen
4ab2b04e6b Add an event filter to remove status tip updates 2023-11-28 23:57:41 +01:00
Veronica Berglyd Olsen
d291995c0e Add deleteLater to temporary widgets (#1629) 2023-11-28 23:27:36 +01:00
Veronica Berglyd Olsen
54510951de Rename lipsum button 2023-11-28 23:21:35 +01:00
Veronica Berglyd Olsen
52d1d87985 Add the new flag to the command line help 2023-11-28 23:20:49 +01:00
Veronica Berglyd Olsen
62847e55f0 Rewrite how lipsum text is inserted 2023-11-28 23:14:23 +01:00
Veronica Berglyd Olsen
bf6cefa840 Update dialog handling of all dialogs 2023-11-28 22:12:30 +01:00
Veronica Berglyd Olsen
4e1fa01562 Add widget diff info to help debug memory issues 2023-11-28 17:29:34 +01:00
Veronica Berglyd Olsen
83c9fb96e9 Add memory usage debug info for status bar 2023-11-28 16:44:01 +01:00
Veronica Berglyd Olsen
ff7f27ff97 Add closeEvents to dialogs and set the deleteLater command 2023-11-28 16:29:21 +01:00
Veronica Berglyd Olsen
50a9b5b5e2 Fix some annotations and add deleteLater to non-modal dialogs 2023-11-27 21:43:13 +01:00
Veronica Berglyd Olsen
4fa20273f7 Clean up dialogs 2023-11-27 17:10:29 +01:00
Veronica Berglyd Olsen
93b36406f1 Make sure context menus are deleted after use 2023-11-27 16:30:21 +01:00
Veronica Berglyd Olsen
a0e6f9cf82 Fix various bugs and minor issues (#1626) 2023-11-27 16:17:01 +01:00
Veronica Berglyd Olsen
1f9b6d7624 Fix icons not updating on theme switch in viewer panel 2023-11-27 16:08:34 +01:00
Veronica Berglyd Olsen
ccc444f355 Fix section sizes for viewer panel (#1627) 2023-11-27 16:08:00 +01:00
Veronica Berglyd Olsen
ba0198407f Change panel label back to "References" 2023-11-27 07:42:25 +01:00
Veronica Berglyd Olsen
918b077252 Drop the space in front of Synopsis and Short comments inserts 2023-11-26 22:12:23 +01:00
Veronica Berglyd Olsen
b348ba6aff Update Main GUI launch test 2023-11-26 22:02:01 +01:00
Veronica Berglyd Olsen
e521a30612 Remove warning for alpha releases 2023-11-26 21:43:32 +01:00
Veronica Berglyd Olsen
2e2ab5ad6f Update project load dialog 2023-11-26 21:40:51 +01:00
Veronica Berglyd Olsen
47781f981f Fix wrong keyboard shortcut for Short comment insert 2023-11-26 21:40:05 +01:00
Veronica Berglyd Olsen
0676056968 Update translations (#1625) 2023-11-26 20:58:25 +01:00
Veronica Berglyd Olsen
65562ae790 Update base translation, US English, Norwegian, and Japanese 2023-11-26 16:20:14 +01:00
Veronica Berglyd Olsen
623f74019f Fix wrong PR mentioned in changelog 2023-11-26 15:09:43 +01:00
Veronica Berglyd Olsen
55e0dc3030 Release 2.2 RC1 (#1615) 2023-11-26 14:31:53 +01:00
Veronica Berglyd Olsen
9af7ff447b Update changelog 2023-11-26 14:29:53 +01:00
Veronica Berglyd Olsen
c71a5c0997 Merge branch 'dev' into release_2.2rc1 2023-11-26 14:03:05 +01:00
Veronica Berglyd Olsen
efea1a3140 Merge branch 'main' into dev 2023-11-26 14:02:11 +01:00
Veronica Berglyd Olsen
1fcae908ec Add "short description" feature, replace "summary" (#1622) 2023-11-26 14:01:49 +01:00
Veronica Berglyd Olsen
b9b4969b85 Rename once again, and use short instead for short descriptions of notes 2023-11-26 13:58:00 +01:00
Veronica Berglyd Olsen
f919149c58 Rename "brief" to "summary" (#1621) 2023-11-26 00:02:43 +01:00
Veronica Berglyd Olsen
6fd4417350 Fix variable name and test 2023-11-25 23:57:12 +01:00
Veronica Berglyd Olsen
bedd71b105 Add a summary entry to the insert menu (#1619) 2023-11-25 23:51:30 +01:00
Veronica Berglyd Olsen
53aa970427 Rename "brief" to "summary" 2023-11-25 23:42:05 +01:00
Veronica Berglyd Olsen
9fc815abe1 Add project note briefs (#1618) 2023-11-25 19:01:15 +01:00
Veronica Berglyd Olsen
b17b5d32c2 Allow double-clicking in viewer panel 2023-11-25 18:53:11 +01:00
Veronica Berglyd Olsen
05e63cb01e Make the columns in the viewer panel resizeable 2023-11-25 18:45:06 +01:00
Veronica Berglyd Olsen
519e5857d1 Add a column to viewer panel to show the brief 2023-11-25 18:23:09 +01:00
Veronica Berglyd Olsen
6a6b05c338 Update tokenizer and converters 2023-11-25 18:12:45 +01:00
Veronica Berglyd Olsen
8ed85363e2 Add test coverage and update the highlighter 2023-11-25 17:50:59 +01:00
Veronica Berglyd Olsen
887b4379b2 Add comment style processing to the index class 2023-11-25 17:50:25 +01:00
Veronica Berglyd Olsen
3a030c9acb Fix Ctrl+Del regression (#1616) 2023-11-25 16:31:37 +01:00
Veronica Berglyd Olsen
e216f80d64 Revert previous change of keyboard shortcut for item delete in tree made in #1590 2023-11-25 16:27:40 +01:00
Veronica Berglyd Olsen
74c5a66a4c Fix typos in changelog 2023-11-25 16:24:27 +01:00
Veronica Berglyd Olsen
8738bc562e Update alpha version warning, and drop the translation 2023-11-23 23:53:22 +01:00
Veronica Berglyd Olsen
c6f06866bd Bump version for 2.2 RC1 2023-11-23 20:44:47 +01:00
Veronica Berglyd Olsen
b7eede22da Add a context menu entry to set item name from heading (#1614) 2023-11-23 20:39:28 +01:00
Veronica Berglyd Olsen
e02d2b9298 Add annotations import to all test source files 2023-11-23 20:35:17 +01:00
Veronica Berglyd Olsen
de11ea389a Add test coverage of editor context menu 2023-11-23 20:25:18 +01:00
Veronica Berglyd Olsen
3f842c2fbe Add a context menu option to rename a document from any title within it 2023-11-23 19:40:17 +01:00
Veronica Berglyd Olsen
d35dfda92f Change set selection from doc header to use a signal/slot set 2023-11-23 19:04:35 +01:00
Veronica Berglyd Olsen
84eff433fb Clean up Qt enums in doc viewer 2023-11-23 18:52:42 +01:00
Veronica Berglyd Olsen
8c3c85f259 Clean up Qt enums in doc editor 2023-11-23 18:36:08 +01:00
Veronica Berglyd Olsen
39e1c54c33 Add a button to open manuscript build folder (#1613) 2023-11-23 16:55:22 +01:00
Veronica Berglyd Olsen
2998f2c363 Update tests 2023-11-23 16:45:14 +01:00
Veronica Berglyd Olsen
4bd830f0d6 Add an "Open Folder" button to build dialog (#1554) 2023-11-23 16:45:08 +01:00
Veronica Berglyd Olsen
30b4e5511a Add a common function to open file paths externally 2023-11-23 16:43:56 +01:00
Veronica Berglyd Olsen
4f9aab3c81 Add multi selection to project tree (#1612) 2023-11-22 19:00:25 +01:00
Veronica Berglyd Olsen
445414d126 Improve test coverage of project tree 2023-11-22 18:48:10 +01:00
Veronica Berglyd Olsen
62ea54e1ed Add test coverage of tree context menu class 2023-11-22 18:08:34 +01:00
Veronica Berglyd Olsen
ea0358b2ed Move project tree context menu to a separate class 2023-11-22 18:08:07 +01:00
Veronica Berglyd Olsen
d7730fb7c2 Clean up a few bits 2023-11-22 00:12:14 +01:00
Veronica Berglyd Olsen
40f6a108ed Add a multi-select context menu and handlers 2023-11-22 00:03:51 +01:00
Veronica Berglyd Olsen
33a30f3875 Remove tree undo and fix drop on root issue 2023-11-21 23:13:12 +01:00
Veronica Berglyd Olsen
f75ed33cec Add a working implementation of multi-item move 2023-11-21 22:26:10 +01:00
Veronica Berglyd Olsen
1a2bd7d640 Update Qt enums and set selection to multi select 2023-11-21 20:26:19 +01:00
Veronica Berglyd Olsen
afc04514a0 Add a tool to download spell check dictionaries (#1611) 2023-11-20 18:22:09 +01:00
Veronica Berglyd Olsen
d741a75de8 Clean up and add test coverage 2023-11-20 18:14:00 +01:00
Veronica Berglyd Olsen
71d17da483 Complete new Add Dictionaries tool 2023-11-20 17:26:12 +01:00
Veronica Berglyd Olsen
e00e64dc46 Copy changes from download_dicts branch 2023-11-20 17:24:49 +01:00
Veronica Berglyd Olsen
c585c87633 Remove two annotations in tests that block using older pytest versions 2023-11-18 21:12:09 +01:00
Veronica Berglyd Olsen
40c07973ce Disable hidden tab feature for older Qt libs 2023-11-18 21:04:35 +01:00
Veronica Berglyd Olsen
2fca22359b Improve cursor visibility features (#1608) 2023-11-18 15:59:48 +01:00
Veronica Berglyd Olsen
83187c517f Ensure cursor is visible after showing or closing the document viewer (#1302) 2023-11-18 15:56:03 +01:00
Veronica Berglyd Olsen
208b9334e1 Ensure cursor is visible after switching focus mode (#1478) 2023-11-18 15:43:51 +01:00
Veronica Berglyd Olsen
17fc370609 Fix some typos 2023-11-18 14:14:10 +01:00
Veronica Berglyd Olsen
ab35d1a0bf Add a new document viewer panel for tags and references (#1606) 2023-11-17 23:30:11 +01:00
Veronica Berglyd Olsen
69ccb1560c Update index test 2023-11-17 23:20:16 +01:00
Veronica Berglyd Olsen
d4560b3be8 Add test coverage of document viewer panel 2023-11-17 23:01:59 +01:00
Veronica Berglyd Olsen
fca941b726 Merge branch 'dev' into new_ref_panel 2023-11-17 21:39:30 +01:00
Veronica Berglyd Olsen
eda9a076d6 Clean up config and improve project tree test coverage (#1607) 2023-11-17 21:38:42 +01:00
Veronica Berglyd Olsen
1279b0e5b7 Fix bug from project tree test 2023-11-17 21:33:22 +01:00
Veronica Berglyd Olsen
16a56d6f60 Improve test coverage of project tree 2023-11-17 21:28:44 +01:00
Veronica Berglyd Olsen
c501e12c9d Remove deprecated config fields and update tests 2023-11-17 16:35:05 +01:00
Veronica Berglyd Olsen
dd05f6532a Update document viewer tests 2023-11-17 16:22:59 +01:00
Veronica Berglyd Olsen
1098354fca Fix broken test 2023-11-17 07:55:43 +01:00
Veronica Berglyd Olsen
f81c9aa319 Clean up document viewer class 2023-11-17 00:06:29 +01:00
Veronica Berglyd Olsen
9d662a0d40 Rename index signal function 2023-11-16 22:31:41 +01:00
Veronica Berglyd Olsen
123d9df170 Rewrite and improve the index event signal feature 2023-11-16 19:12:01 +01:00
Veronica Berglyd Olsen
844240b5b8 Fix broken tests 2023-11-16 00:23:59 +01:00
Veronica Berglyd Olsen
3d17d8e08c Clean up the viewer panel code a bit 2023-11-15 22:09:18 +01:00
Veronica Berglyd Olsen
f51223e7c3 Rename the tab count function just to be safe 2023-11-15 21:58:41 +01:00
Veronica Berglyd Olsen
b94e012f8f Fix bug with clearing class tag lists 2023-11-15 21:46:32 +01:00
Veronica Berglyd Olsen
2fc8e43e71 Connect the edit and view buttons 2023-11-15 21:38:45 +01:00
Veronica Berglyd Olsen
565350fcfb Clean up tree item updates 2023-11-15 21:14:40 +01:00
Veronica Berglyd Olsen
e82d5277c0 Add signal for re-indexed document 2023-11-15 21:03:12 +01:00
Veronica Berglyd Olsen
6b9d92e75a Add handlers for document label change 2023-11-15 20:13:23 +01:00
Veronica Berglyd Olsen
8508248f12 Add signal for processing tag changes 2023-11-15 20:12:17 +01:00
Veronica Berglyd Olsen
2cb6020cac Added tags changed signal 2023-11-15 18:11:37 +01:00
Veronica Berglyd Olsen
3f8220f350 Added tag data to viewer panels 2023-11-15 18:11:15 +01:00
Veronica Berglyd Olsen
f5901a4c8c Added new icons for the viewer panel 2023-11-15 18:10:29 +01:00
Veronica Berglyd Olsen
f4be38dd65 Populate the back reference panel 2023-11-14 23:56:51 +01:00
Veronica Berglyd Olsen
4d7ef63e83 Connect the new viewer panel and add icon for it 2023-11-14 22:41:39 +01:00
Veronica Berglyd Olsen
1d89e4935f Merge branch 'dev' into new_ref_panel 2023-11-14 11:06:04 +01:00
Veronica Berglyd Olsen
51337ae4e5 Increase button padding in sidebar by 2px 2023-11-14 10:48:47 +01:00
Veronica Berglyd Olsen
66dfe25e17 Fix bug in sidebar tooltip 2023-11-13 22:46:30 +01:00
Veronica Berglyd Olsen
c5322341ec Bring back the "Scroll past end" setting (#1605) 2023-11-13 22:13:39 +01:00
Veronica Berglyd Olsen
a5755c47e5 Add types to the Preferences dialog, and update tests 2023-11-13 22:09:38 +01:00
Veronica Berglyd Olsen
68af4aec86 Add back the scroll past end setting 2023-11-13 22:09:07 +01:00
Veronica Berglyd Olsen
0b35227756 Fix some usability issues in the UI (#1601) 2023-11-12 21:45:18 +01:00
Veronica Berglyd Olsen
a5b2e47098 Don't block auto-replace on keyword lines, and only show completer on single keypresses 2023-11-12 21:27:24 +01:00
Veronica Berglyd Olsen
a3f9d88271 Remove 2 px margin on sidebar 2023-11-12 20:59:00 +01:00
Veronica Berglyd Olsen
28b3046e51 Update editor code history 2023-11-12 20:55:31 +01:00
Veronica Berglyd Olsen
e7ea9d45e5 Improve how formatting is applied in the editor (#1600) 2023-11-12 20:45:37 +01:00
Veronica Berglyd Olsen
45b278f999 Fix an outdated comment 2023-11-12 20:38:38 +01:00
Veronica Berglyd Olsen
37e0319598 Clean up code a bit 2023-11-12 20:38:03 +01:00
Veronica Berglyd Olsen
7cf7eb4a48 Fix test coverage 2023-11-12 20:21:35 +01:00
Veronica Berglyd Olsen
597b788254 Implement a new word auto select feature that is more careful with punctuation 2023-11-12 20:11:31 +01:00
Veronica Berglyd Olsen
e4206bdcc0 Make autoselect and formatting selection a bit smarter 2023-11-12 19:44:24 +01:00
Veronica Berglyd Olsen
5f80a6b400 Update PyPi info 2023-11-12 15:33:05 +01:00
Veronica Berglyd Olsen
09022ba41a Add post-release fixes 2023-11-12 15:31:53 +01:00
Veronica Berglyd Olsen
6c9c1ec088 Release 2.2 Beta 1 (#1595) 2023-11-12 14:47:09 +01:00
Veronica Berglyd Olsen
88ba3b3dfe Bump version to 2.2 Beta 1, and update changelog 2023-11-11 22:48:51 +01:00
Veronica Berglyd Olsen
9e4ac8f9d4 Merge branch 'main' into dev 2023-11-11 22:05:41 +01:00
Veronica Berglyd Olsen
656a5ada61 Clean up main readme a bit 2023-11-11 22:01:25 +01:00
Veronica Berglyd Olsen
96ac87d5ed Rename linting job to match the rest 2023-11-11 21:57:33 +01:00
Veronica Berglyd Olsen
5597c0e172 Replace the icon on the readme page 2023-11-11 21:49:38 +01:00
Veronica Berglyd Olsen
25c4cf695f Add a new logo (#1593) 2023-11-11 17:41:06 +01:00
Veronica Berglyd Olsen
8db71c432d Fix MacOS build and add font credits 2023-11-11 17:08:22 +01:00
Veronica Berglyd Olsen
e1b92d14c3 Change MacOS build to generate icons on the fly 2023-11-11 16:44:23 +01:00
Veronica Berglyd Olsen
1c4fd4ea5a Add MacOS icons 2023-11-11 16:41:06 +01:00
Veronica Berglyd Olsen
b04386b183 Update Windows icons 2023-11-11 16:38:13 +01:00
Veronica Berglyd Olsen
4b2c01dbf1 Update novelWriter text images 2023-11-11 16:37:58 +01:00
Veronica Berglyd Olsen
134cf45199 Add new PNG icons 2023-11-11 15:11:40 +01:00
Veronica Berglyd Olsen
a0ca78b4fd Add new SVG icon designs 2023-11-11 15:10:50 +01:00
Veronica Berglyd Olsen
062b336105 Make it possible to re-order build settings (#1591) 2023-11-10 22:23:07 +01:00
Veronica Berglyd Olsen
2c5947eeaa Make build settings re-orderable (#1542) 2023-11-10 22:03:38 +01:00
Veronica Berglyd Olsen
f9fd3512b7 Improve widget focus keyboard shortcuts (#1590) 2023-11-10 19:14:10 +01:00
Veronica Berglyd Olsen
98c62f0912 Make Ctrl+Del the default for deleting item in project tree 2023-11-10 19:03:30 +01:00
Veronica Berglyd Olsen
a3f63530d7 Update documentation 2023-11-10 18:57:48 +01:00
Veronica Berglyd Olsen
788f46bd7f Improve focus switching and combine with main menu entries 2023-11-10 18:25:32 +01:00
Veronica Berglyd Olsen
2097eaeeaa Add keyboard shortcuts to sidebar tooltips 2023-11-10 17:53:54 +01:00
Veronica Berglyd Olsen
693f3fb656 Add a keyboard shortcut to toggle tree view 2023-11-10 17:53:36 +01:00
Veronica Berglyd Olsen
25697b0957 Add language setting to Project Settings (#1589) 2023-11-09 19:09:36 +01:00
Veronica Berglyd Olsen
76d67dd0aa Clean up build settings and update tests 2023-11-09 19:04:36 +01:00
Veronica Berglyd Olsen
e3997b53aa Add language setting to wizard 2023-11-09 18:55:02 +01:00
Veronica Berglyd Olsen
c7bfb1b21e Change to always use project language for generating documents 2023-11-09 18:44:08 +01:00
Veronica Berglyd Olsen
2cde1b845e Clean up project settings class 2023-11-09 18:26:33 +01:00
Veronica Berglyd Olsen
27f3b8e0f2 Add project translations for Norwegian nynorsk 2023-11-09 18:02:53 +01:00
Veronica Berglyd Olsen
3f0024a6a3 Use GUI language when translating meta data for the viewer 2023-11-09 18:02:33 +01:00
Veronica Berglyd Olsen
fa32ef248b Add a basic doc viewer panel class 2023-11-09 17:49:29 +01:00
Veronica Berglyd Olsen
234b189e3c Add project translations for meta data keywords (#1586) 2023-11-09 17:35:28 +01:00
Veronica Berglyd Olsen
21dd254831 Include already translated project translation files 2023-11-09 17:24:39 +01:00
Veronica Berglyd Olsen
2ed3666b9f Add keyword translations to the project language files for manuscript builds 2023-11-09 17:17:46 +01:00
Veronica Berglyd Olsen
ebe1998b0b Fix initial visibility of editor toolbar 2023-11-08 23:26:00 +01:00
Veronica Berglyd Olsen
3f0de93438 Add an optional editor toolbar (#1584) 2023-11-08 23:18:06 +01:00
Veronica Berglyd Olsen
6d411e17a6 Improve test coverage 2023-11-08 23:12:39 +01:00
Veronica Berglyd Olsen
003615c3be Make some minor modifications to the doc toolbar, and add typings in themes 2023-11-08 21:27:14 +01:00
Veronica Berglyd Olsen
9a1947c0f5 Add colour to sub/superscript icons 2023-11-08 21:26:19 +01:00
Veronica Berglyd Olsen
5fbcca35a5 Make sure toolbar is hidden when document is closed 2023-11-08 18:16:55 +01:00
Veronica Berglyd Olsen
c88fbf629d Update tests 2023-11-08 18:06:19 +01:00
Veronica Berglyd Olsen
711766cf52 Change main menu to emit signals 2023-11-08 18:00:43 +01:00
Veronica Berglyd Olsen
1a6072be2c Add editor toolbar icons 2023-11-08 16:54:42 +01:00
Veronica Berglyd Olsen
9282b39f2a Change the menu icon to three dots 2023-11-08 16:54:15 +01:00
Veronica Berglyd Olsen
b3ae1774a8 Merge branch 'dev' into format_actions 2023-11-07 22:29:21 +01:00
Veronica Berglyd Olsen
f3b6be3100 Add shortcodes to the main menu (#1583) 2023-11-07 22:28:25 +01:00
Veronica Berglyd Olsen
394cdd5dad Add a basic document editor toolbar 2023-11-07 17:48:34 +01:00
Veronica Berglyd Olsen
e236fb30dc Clean up document header signals 2023-11-07 17:47:59 +01:00
Veronica Berglyd Olsen
a07177c153 Clean up main menu code 2023-11-07 13:54:31 +01:00
Veronica Berglyd Olsen
d2a0ff88a6 Add shortcodes to main menu 2023-11-07 13:54:02 +01:00
Veronica Berglyd Olsen
08e67b0190 Add context menu option to create note from tag (#1582) 2023-11-06 22:48:06 +01:00
Veronica Berglyd Olsen
eb5a98f482 Sort imports 2023-11-06 22:45:37 +01:00
Veronica Berglyd Olsen
ccd3122633 Make some improvements and update tests 2023-11-06 22:42:02 +01:00
Veronica Berglyd Olsen
f17e1f38de Add option to create note from tag, and improve auto-completer a bit 2023-11-06 22:25:28 +01:00
Veronica Berglyd Olsen
1ab35b5b63 Add an auto-completer for editor references (#1581) 2023-11-06 19:35:46 +01:00
Veronica Berglyd Olsen
fd1eaa8c47 Add test coverage of completer 2023-11-06 19:15:58 +01:00
Veronica Berglyd Olsen
ce53971836 Improve code flow in completer class 2023-11-06 19:15:43 +01:00
Veronica Berglyd Olsen
d827b5204b Add meta data autocomplete menu 2023-11-06 18:22:39 +01:00
Veronica Berglyd Olsen
09e0d28115 Add tags get function to index class 2023-11-06 18:19:03 +01:00
Veronica Berglyd Olsen
2a40913105 Add sub/superscript and partial word emphasis (#1540) 2023-11-06 11:54:49 +01:00
Veronica Berglyd Olsen
b03603cc9b Update tests and word counter 2023-11-06 11:49:26 +01:00
Veronica Berglyd Olsen
5e41dd9a92 Merge branch 'dev' into sub_super 2023-11-05 21:28:32 +01:00
Veronica Berglyd Olsen
c1272974ed Fix index bug due to lower/upper case mixing (#1578) 2023-11-05 21:12:04 +01:00
Veronica Berglyd Olsen
72e740ccdf Merge branch 'dev' into fix_index 2023-11-05 21:08:56 +01:00
Veronica Berglyd Olsen
a5a2b2c68e Merge branch 'dev' into fix_index 2023-11-05 21:06:39 +01:00
Veronica Berglyd Olsen
654ff3e81d Fix bug from merged branch 2023-11-05 21:00:23 +01:00
Veronica Berglyd Olsen
a2a1e2e6d0 Merge branch 'main' into dev 2023-11-05 18:54:52 +01:00
Veronica Berglyd Olsen
786c1f7d54 Make AppIamge build use Python 3.11 2023-11-05 18:37:09 +01:00
Veronica Berglyd Olsen
38c279b98f Release 2.1.1 (#1574) 2023-11-05 18:26:12 +01:00
Veronica Berglyd Olsen
b126b8cf0a Bumb version and update release notes for v2.1.1 2023-11-04 18:19:57 +01:00
Veronica Berglyd Olsen
a3b60dad0a Fix editor refresh issues (#1573) 2023-11-04 17:54:46 +01:00
Veronica Berglyd Olsen
ee5f340fe2 Refresh spell checking when word list changes (#1559) 2023-11-04 17:46:25 +01:00
Veronica Berglyd Olsen
dd61897d11 Force a rehighlight on theme switch for small documents (#1535) 2023-11-04 17:43:02 +01:00
Veronica Berglyd Olsen
a50e79b155 Set menu parents (#1572) 2023-11-04 17:31:26 +01:00
Veronica Berglyd Olsen
8abcada86e Make sure all QMenu instances have a parent widget set (#1536) 2023-11-04 17:24:43 +01:00
Veronica Berglyd Olsen
ef29571bd9 Add autoscroll feature (#1571) 2023-11-04 17:04:12 +01:00
Veronica Berglyd Olsen
6f8109609c Use the correct margin settings 2023-11-04 16:50:41 +01:00
Veronica Berglyd Olsen
05ddca043a Add comment to explain why autoscroll was added 2023-11-04 16:48:22 +01:00
Veronica Berglyd Olsen
da3747c5f5 Implement autoscroll in project tree, and disable library autoscroll feature (#1561) 2023-11-04 16:45:16 +01:00
Veronica Berglyd Olsen
2322923c4a Add check for illegal drag and drops (#1570) 2023-11-04 16:16:38 +01:00
Veronica Berglyd Olsen
c5baa8d359 Remove commented out code 2023-11-04 10:14:49 +01:00
Veronica Berglyd Olsen
a7e2b51225 Add blockers for illegal drop events on invisible root and for root items (#1569) 2023-11-04 10:05:37 +01:00
Veronica Berglyd Olsen
0413684150 Fix viewer navigation (#1568) 2023-11-03 10:32:36 +01:00
Veronica Berglyd Olsen
b047695501 Update tests 2023-11-03 10:28:54 +01:00
Veronica Berglyd Olsen
52197149a7 Merge branch 'main' into html_anchors 2023-11-03 10:15:12 +01:00
Veronica Berglyd Olsen
4582ef8b83 Fix anchor tags in html output (#1566) 2023-11-03 10:13:35 +01:00
Veronica Berglyd Olsen
0077326274 Fix errors in documentation (#1567) 2023-11-03 08:26:05 +01:00
nisemono-neko
36fd64e1a3 Fix typos 2023-11-03 16:29:30 +10:00
nisemono-neko
552249d145 Fix typos 2023-11-03 16:18:43 +10:00
nisemono-neko
7080703481 Fix typos 2023-11-03 16:16:18 +10:00
nisemono-neko
4c7fbdb77a Fix typos 2023-11-03 16:12:53 +10:00
nisemono-neko
0c249d2010 Fix typos 2023-11-03 16:07:14 +10:00
nisemono-neko
3896d0fbf4 Fix typos 2023-11-03 13:40:24 +10:00
nisemono-neko
b3018bb392 Fix typos 2023-11-03 13:27:03 +10:00
Veronica Berglyd Olsen
d67cef2611 Fix bug where tags were lost in the index when saving a document 2023-11-03 00:39:24 +01:00
Veronica Berglyd Olsen
f9df78a8d4 Fix i18n issues (#1565) 2023-11-02 23:44:53 +01:00
Veronica Berglyd Olsen
12d7512441 Make sure also Preferences defaults to British English 2023-11-02 23:41:34 +01:00
Veronica Berglyd Olsen
08a012ef8d Only default to system locale if a translation file exists (#1564) 2023-11-02 23:34:42 +01:00
Veronica Berglyd Olsen
6df591c803 Fix untranslated strings in Build tool (#1563) 2023-11-02 23:01:41 +01:00
Veronica Berglyd Olsen
2d78312206 Fix Build Settings icon column size issue (#1553) 2023-10-24 00:04:41 +02:00
Veronica Berglyd Olsen
bce6f9543a Make sure icon columns on build settings dialog are narrow (#1551) 2023-10-23 23:58:29 +02:00
Veronica Berglyd Olsen
ddd5e841bf Clean up unneeded docs build settings 2023-10-22 00:13:21 +02:00
Veronica Berglyd Olsen
69af58227a Fix broken docs build 2023-10-21 15:41:49 +02:00
Veronica Berglyd Olsen
c02e7a52a1 Fix keyword section in writing classes 2023-10-21 15:40:33 +02:00
Veronica Berglyd Olsen
ba2250be47 Add shortcodes example text 2023-10-20 22:58:32 +02:00
Veronica Berglyd Olsen
d51bfec090 Fix ToOdt test coverage 2023-10-20 22:55:59 +02:00
Veronica Berglyd Olsen
dc50f4bb3b Fix Tokenizer test coverage 2023-10-20 22:17:28 +02:00
Veronica Berglyd Olsen
b9df625914 Add ODT support for new formats 2023-10-20 21:42:00 +02:00
Veronica Berglyd Olsen
e669560462 Add syntax theme entry for shortcodes 2023-10-20 17:57:35 +02:00
Veronica Berglyd Olsen
1558a11646 Add shortcodes functionality 2023-10-20 17:50:18 +02:00
Veronica Berglyd Olsen
2214b7472b Fix ODT test 2023-10-20 00:06:43 +02:00
Veronica Berglyd Olsen
ae1ed10f25 Add converter support for the new formats 2023-10-20 00:05:17 +02:00
Veronica Berglyd Olsen
0115f1e343 Add tokenizer support for the new formats 2023-10-20 00:04:58 +02:00
Veronica Berglyd Olsen
ef4277437b Add regexes and highlighting for in-line commands 2023-10-20 00:04:23 +02:00
Veronica Berglyd Olsen
bd6e666fdc Add new syntax highlighting for in-line commands 2023-10-19 18:04:06 +02:00
Veronica Berglyd Olsen
181809d34a Update i18n readme (#1539) 2023-10-19 03:01:38 +02:00
Veronica Berglyd Olsen
bc1b5f24a0 Add more information in error output from pkgutils 2023-10-19 02:58:29 +02:00
Veronica Berglyd Olsen
658953df15 Add note about pkgutils dependency on PyQt6 for qtlupdate 2023-10-19 02:54:22 +02:00
Veronica Berglyd Olsen
b0e3cf1a3a Change editor to true plain text (#1525) 2023-10-17 21:03:36 +02:00
Veronica Berglyd Olsen
90ca8f481d Disable checking spelling in tests on Windows 2023-10-17 20:58:57 +02:00
Veronica Berglyd Olsen
b11a3c4bc7 Add editor spell checking test coverage 2023-10-17 20:54:00 +02:00
Veronica Berglyd Olsen
9dd8f65795 Clean up a few bits in the editor code, fix margins, and fix issue in spell checker 2023-10-17 20:25:17 +02:00
Veronica Berglyd Olsen
f8bff62754 Merge branch 'dev' into text_document 2023-10-17 18:16:02 +02:00
Veronica Berglyd Olsen
77108784d9 Merge branch 'main' into dev 2023-10-17 18:13:47 +02:00
Veronica Berglyd Olsen
60b977f8ec Update setup scripts 2023-10-17 18:12:35 +02:00
Veronica Berglyd Olsen
a03bd140db Release 2.1 (#1533) 2023-10-17 16:25:52 +02:00
Veronica Berglyd Olsen
1566fd3ec9 Rename Mac test 2023-10-17 16:24:44 +02:00
Veronica Berglyd Olsen
d6e0517209 Update changelog and release notes 2023-10-17 16:21:40 +02:00
Veronica Berglyd Olsen
f090ffa649 Update Spanish translation 2023-10-17 08:22:44 +02:00
Veronica Berglyd Olsen
2e5cb85410 Update Portuguese translation 2023-10-16 09:32:00 +02:00
Veronica Berglyd Olsen
6a4fa295f2 Update US English, Italian and Norwegian translations 2023-10-15 20:54:00 +02:00
Veronica Berglyd Olsen
dc516bab8b Bump version for 2.1 release 2023-10-15 20:17:52 +02:00
Veronica Berglyd Olsen
ac36ce07ba Update docs for 2.1 release (#1531) 2023-10-15 20:14:55 +02:00
Veronica Berglyd Olsen
ccffa91c49 Make a second apss through the entire documentation to fix issues 2023-10-15 20:11:29 +02:00
Veronica Berglyd Olsen
cceb31aac7 Update the glossary section of the docs 2023-10-15 17:53:51 +02:00
Veronica Berglyd Olsen
b16f4477b8 Update the additional topics section of the docs 2023-10-15 17:41:22 +02:00
Veronica Berglyd Olsen
56b4cd3036 Update the Project section of the docs 2023-10-15 17:27:44 +02:00
Veronica Berglyd Olsen
d68d215420 Merge branch 'main' into dev 2023-10-08 21:18:53 +02:00
Veronica Berglyd Olsen
8e72432db8 Merge branch 'main' into update_docs 2023-10-08 21:08:53 +02:00
Veronica Berglyd Olsen
ed8d4a4c26 Switch CI from 3.12-dev to 3.12 2023-10-08 21:08:08 +02:00
Veronica Berglyd Olsen
328216d9e5 Update the Using novelWriter section of the docs 2023-10-08 20:54:14 +02:00
Veronica Berglyd Olsen
a3fdb3cfc4 Update the introduction section of the docs 2023-10-08 18:50:33 +02:00
Veronica Berglyd Olsen
699bf2292c Clean up import order 2023-09-28 16:41:37 +02:00
Veronica Berglyd Olsen
14a75a421d Merge branch 'dev' into text_document 2023-09-28 16:17:43 +02:00
Veronica Berglyd Olsen
fd76f5a2c4 Do some minor variable cleanup in ToOdt 2023-09-28 14:33:33 +02:00
Veronica Berglyd Olsen
0700dd59bb Clean up variables and typing in doc converters 2023-09-26 18:39:50 +02:00
Veronica Berglyd Olsen
6d7453885b Merge branch 'main' into dev 2023-09-18 15:22:23 +02:00
Veronica Berglyd Olsen
609366076a Merge branch 'dev' into text_document 2023-09-18 15:21:32 +02:00
Veronica Berglyd Olsen
16f57e4c48 Case insensitive tags (#1522) 2023-09-18 08:16:54 +01:00
Veronica Berglyd Olsen
976f73c41c Fix two typos in usage docs (#1524) 2023-09-18 07:07:06 +01:00
Ainali
b891e9ada6 Fix two typos in usage docs 2023-09-17 23:20:14 +02:00
Veronica Berglyd Olsen
2e0204d577 Clean up variables and annotations in index classes 2023-09-17 20:29:33 +02:00
Veronica Berglyd Olsen
29518a33f2 Fix index tests 2023-09-16 10:10:55 +02:00
Veronica Berglyd Olsen
bf592fa706 Clean up outline view code 2023-09-15 22:38:56 +02:00
Veronica Berglyd Olsen
cba1a2c062 Make tags in the index case insensitive 2023-09-15 22:38:39 +02:00
Veronica Berglyd Olsen
cb522c7d50 Fix some layout issues in main gui 2023-09-15 18:40:32 +02:00
Veronica Berglyd Olsen
c3a4b840fb Improve handling of spell check state 2023-09-14 16:26:05 +02:00
Veronica Berglyd Olsen
309c7de5de Clean up variables in editor 2023-09-14 16:20:38 +02:00
Veronica Berglyd Olsen
45a4503fa3 Clean up variables in document editor 2023-09-10 23:43:50 +02:00
Veronica Berglyd Olsen
dea5c54ef0 Make some minor improvements to spell check suggest 2023-09-10 21:52:38 +02:00
Veronica Berglyd Olsen
f1e28e21f8 Cache spell check errors for usage in the editor when correcting 2023-09-10 21:27:34 +02:00
Veronica Berglyd Olsen
3f91f5c506 Use the global thread pool, like the docs suggest 2023-09-10 18:15:16 +02:00
Veronica Berglyd Olsen
e210bca319 Move the thread pool to the shared object instance 2023-09-10 17:46:35 +02:00
Veronica Berglyd Olsen
16e2e0cc83 Add a custom text document in the editor 2023-09-07 19:20:00 +02:00
Veronica Berglyd Olsen
e08790e889 Make the editor actually Plain Text (#1521) 2023-09-06 20:10:09 +01:00
Veronica Berglyd Olsen
915b9da5d0 Remove document size constraint 2023-09-06 20:35:48 +02:00
Veronica Berglyd Olsen
0ef46ef0ea Simplify editor scrolling features 2023-09-06 20:05:13 +02:00
Veronica Berglyd Olsen
0bfa3cb592 Simplify setting cursor position in the editor 2023-09-06 18:20:25 +02:00
Veronica Berglyd Olsen
8c3e906fc5 Remove the big doc limit feature 2023-09-06 17:56:39 +02:00
Veronica Berglyd Olsen
2b98e0d4d2 Make the editor a plain text editor again 2023-09-06 17:47:25 +02:00
Veronica Berglyd Olsen
8275963811 Sidebar cleanup and minor fixes (#1520) 2023-09-05 21:26:20 +01:00
Veronica Berglyd Olsen
4cc402679f Fix typo and move special popup menu class 2023-09-05 22:20:04 +02:00
Veronica Berglyd Olsen
b1095481ef Add test coverage 2023-09-05 22:12:08 +02:00
Veronica Berglyd Olsen
f754c80352 Redesign main sidebar 2023-09-05 21:55:42 +02:00
Veronica Berglyd Olsen
ca3a493932 Fix type checking warning 2023-09-04 20:12:26 +02:00
Veronica Berglyd Olsen
e8b2f3a8f9 Only spell check proper words 2023-09-04 20:12:04 +02:00
Veronica Berglyd Olsen
72b89a6768 Merge branch 'main' into dev 2023-09-04 11:50:21 +02:00
Veronica Berglyd Olsen
be3d642868 Fix minor font size issue (#1518) 2023-09-03 20:17:02 +01:00
Veronica Berglyd Olsen
a358a0007a Fix writing stats font size issue (#1442) 2023-09-03 21:12:54 +02:00
Veronica Berglyd Olsen
a2254512f7 Fix minor issue with translation string 2023-09-03 21:03:21 +02:00
Veronica Berglyd Olsen
b450fa1818 Annotate the doc editor source 2023-09-01 21:36:57 +02:00
Veronica Berglyd Olsen
c03c1c2bbf Bump dev branch to 2.2-alpha1 2023-09-01 20:49:09 +02:00
Veronica Berglyd Olsen
3eb49d32fa Display build details in Manuscript tool (#1516) 2023-09-01 18:50:55 +01:00
Veronica Berglyd Olsen
856e504c26 Improve the ternary if in expand state on manuscript dialog 2023-09-01 18:46:01 +02:00
Veronica Berglyd Olsen
206265b6d3 Update base translation file 2023-09-01 17:39:02 +02:00
Veronica Berglyd Olsen
dee1e9d71b Re-sort imports 2023-09-01 17:37:24 +02:00
Veronica Berglyd Olsen
9c7663996c Fix issues discovered when testing 2023-09-01 17:34:34 +02:00
Veronica Berglyd Olsen
03c4b91682 Make a few improvements to manuscript details panel 2023-09-01 17:19:25 +02:00
Veronica Berglyd Olsen
ecebd69cda Add build details widget to manuscript tool 2023-09-01 16:55:23 +02:00
Veronica Berglyd Olsen
746bd4bf2c Remove Python 3.7 support (#1515) 2023-08-31 18:32:27 +01:00
Veronica Berglyd Olsen
93ffc11f2a Bump MacOS build Python version to 3.11 2023-08-31 19:20:18 +02:00
Veronica Berglyd Olsen
e36eebf09a Add Python 3.12 to setup.cfg 2023-08-31 19:17:20 +02:00
Veronica Berglyd Olsen
baf7bc5866 Add Python 3.12-dev to linux tests, and update mac and windows tests to 3.11 2023-08-31 19:10:37 +02:00
Veronica Berglyd Olsen
e766fa7dcc Remove official Python 3.7 support 2023-08-31 19:09:23 +02:00
Veronica Berglyd Olsen
ee84c635c5 Fix typo in changelog 2023-08-31 19:03:50 +02:00
Veronica Berglyd Olsen
eccb4040b6 Release 2.1 RC 1 (#1513) 2023-08-31 16:44:52 +01:00
Veronica Berglyd Olsen
eca97bb6ff Bump version number and update changelog 2023-08-31 17:40:15 +02:00
Veronica Berglyd Olsen
7c3505cf2a Update US translation 2023-08-31 17:19:53 +02:00
Veronica Berglyd Olsen
fbcb8e121c Update translation files 2023-08-31 17:18:09 +02:00
Veronica Berglyd Olsen
ca95a17a63 Merge branch 'main' into release_2.1rc1 2023-08-31 17:00:34 +02:00
Veronica Berglyd Olsen
73a5dc4693 Update i18n files (#1512) 2023-08-31 16:00:00 +01:00
Veronica Berglyd Olsen
6805be0d26 Update i18n files 2023-08-31 16:55:46 +02:00
Veronica Berglyd Olsen
440256c3f0 Forward all scroll events in text area widgets to parent (#1511) 2023-08-31 15:43:39 +01:00
Veronica Berglyd Olsen
d7c8f97d47 Add test coverage and fix a few minor things 2023-08-31 16:38:51 +02:00
Veronica Berglyd Olsen
94329b334a Forward all scroll events in editor/viewer areas to their text area widgets (#1425) 2023-08-31 11:40:52 +02:00
Veronica Berglyd Olsen
190848ad2e Update the file info dialog box (#1510) 2023-08-30 18:08:00 +01:00
Veronica Berglyd Olsen
9bf43aa40f Update the file info dialog box 2023-08-30 18:57:48 +02:00
Veronica Berglyd Olsen
f41e71199c Add hash and dates to document meta data (#1509) 2023-08-30 17:35:51 +01:00
Veronica Berglyd Olsen
10c7934ae2 Update tests 2023-08-25 18:37:01 +02:00
Veronica Berglyd Olsen
fa7e9b7f33 Update sample project 2023-08-25 17:16:18 +02:00
Veronica Berglyd Olsen
4dfc27f727 Add check that prevHash is actually recorded 2023-08-25 17:16:10 +02:00
Veronica Berglyd Olsen
125d501aaf Fix issue with document hash comparison 2023-08-25 17:13:41 +02:00
Veronica Berglyd Olsen
0d262c0ae8 Remove the sha256sum function for files and update tests 2023-08-25 16:55:45 +02:00
Veronica Berglyd Olsen
b3fcea29da Change how text hash is calculated in documents, and add dates 2023-08-25 16:55:08 +02:00
Veronica Berglyd Olsen
1b98bdf28f Refactor handling of spell checking (#1508) 2023-08-25 12:19:25 +01:00
Veronica Berglyd Olsen
cf2d30895c Remove added test check that fails 2023-08-25 13:12:23 +02:00
Veronica Berglyd Olsen
56fc5ec40c Add spell check languages to Tools menu 2023-08-25 13:09:05 +02:00
Veronica Berglyd Olsen
a72c824d8b Move all handling of spell check instance to shared class 2023-08-24 22:33:53 +02:00
Veronica Berglyd Olsen
b54f81355a Clean up the syntax highlighter class 2023-08-24 20:40:10 +02:00
Veronica Berglyd Olsen
f7ed133b2e Move the spell check instance to the shared class 2023-08-24 20:17:23 +02:00
Veronica Berglyd Olsen
4507489f0b Clean up a few things in project classes 2023-08-24 19:45:08 +02:00
Veronica Berglyd Olsen
f339ec2471 Remove re-usage of project class (#1504)_ 2023-08-23 19:56:58 +01:00
Veronica Berglyd Olsen
e1ba66fb87 Fix some missing test coverage 2023-08-23 20:51:42 +02:00
Veronica Berglyd Olsen
af50b219a6 Add test coverage of shared class 2023-08-23 20:19:48 +02:00
Veronica Berglyd Olsen
8090832f3b Fix weird unitilialised shared class issue 2023-08-20 23:38:14 +02:00
Veronica Berglyd Olsen
55423174ed Make a few minor improvements, including fixing #1495 2023-08-20 22:09:02 +02:00
Veronica Berglyd Olsen
ed3e4bca6c Simplify the class variables of the tree class 2023-08-20 21:36:33 +02:00
Veronica Berglyd Olsen
0b4cfd0037 Move idle time records to the shared class 2023-08-20 21:33:04 +02:00
Veronica Berglyd Olsen
777b1a15fd Clean up no longer needed code 2023-08-14 17:43:47 +02:00
Veronica Berglyd Olsen
a17e73b5a2 Let the shared class handle alert dialogs 2023-08-14 17:08:53 +02:00
Veronica Berglyd Olsen
3441ff38de Remove dependence of main GUI class in project class 2023-08-14 17:08:30 +02:00
Veronica Berglyd Olsen
a3976ab4fb Fix imports 2023-08-14 00:07:38 +02:00
Veronica Berglyd Olsen
156a6fac98 Use a signal for status bar messages 2023-08-14 00:03:55 +02:00
Veronica Berglyd Olsen
c4140d753c Improve handling of project closing 2023-08-13 23:32:10 +02:00
Veronica Berglyd Olsen
150f6603cd Let the shared class handle project open/save/close and recreating the project instance 2023-08-13 20:16:37 +02:00
Veronica Berglyd Olsen
8154293d92 Move the hasProject logic into the shared class 2023-08-13 19:23:32 +02:00
Veronica Berglyd Olsen
fd181b18a6 Rename exception variable in makeAlert 2023-08-13 19:23:03 +02:00
Veronica Berglyd Olsen
863dcf8b37 Move theme and project instances to new shared data class 2023-08-10 21:13:10 +02:00
Veronica Berglyd Olsen
a2f183f147 Add a shared data class 2023-08-10 21:10:08 +02:00
Veronica Berglyd Olsen
a0921d2541 Clean up core structure (#1502) 2023-08-10 11:29:25 +01:00
Veronica Berglyd Olsen
ddacfc743e Annotate config class and extensions 2023-08-10 00:49:33 +02:00
Veronica Berglyd Olsen
71e961ba38 Fix annotations in NWStatus class 2023-08-08 23:32:30 +02:00
Veronica Berglyd Olsen
6e5d991cfe Move TypeGuard to TYPE_CHECKING condition 2023-08-08 23:14:35 +02:00
Veronica Berglyd Olsen
5d817ae51f Move GUI components module to extensions subpackage 2023-08-08 22:47:24 +02:00
Veronica Berglyd Olsen
eeadfc95e3 Annotate core modules 2023-08-08 22:37:48 +02:00
Veronica Berglyd Olsen
d658a993c0 Update source file headers 2023-08-08 21:41:35 +02:00
Veronica Berglyd Olsen
348e62cd3e Change default backup folder to HOME/Backups
Signed-off-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
2023-08-08 20:04:17 +02:00
Veronica Berglyd Olsen
c40d910b69 Make backup path always set 2023-08-08 19:50:20 +02:00
Veronica Berglyd Olsen
12897ff2e1 Make project instance private to main GUI class 2023-08-08 17:21:00 +02:00
Veronica Berglyd Olsen
94c95d6f67 Move GUI theme instance to the config object (after app creation) 2023-08-08 14:35:55 +02:00
Veronica Berglyd Olsen
c50c8ee73a Improve alert boxes (#1501) 2023-08-08 09:45:58 +01:00
Veronica Berglyd Olsen
431bc8d401 Clarify closing dialog on build settings 2023-08-08 10:39:10 +02:00
Veronica Berglyd Olsen
de66f1e21b Switch out some alert icons 2023-08-08 09:33:42 +02:00
Veronica Berglyd Olsen
abfe7ee7ff Clean up a few minor things 2023-08-07 20:57:33 +02:00
Veronica Berglyd Olsen
7cb77e8524 Update comment 2023-08-07 20:49:04 +02:00
Veronica Berglyd Olsen
470017cdea Remove the global APP singleton again 2023-08-07 20:45:25 +02:00
Veronica Berglyd Olsen
7756368113 Fix some minor issues with new alert code 2023-08-07 20:25:51 +02:00
Veronica Berglyd Olsen
3911bc10c6 Clean up code and tests 2023-08-07 20:20:04 +02:00
Veronica Berglyd Olsen
90f9fa4451 Rewrite the makeAlert and askQuestion functions to use recommended interface 2023-08-07 20:19:51 +02:00
Veronica Berglyd Olsen
ec010bf18e Add new icons for alert boxes 2023-08-07 17:02:18 +02:00
Veronica Berglyd Olsen
8959af1f30 Move make alert to separate module and add a global singleton for pointers 2023-08-07 17:01:44 +02:00
Veronica Berglyd Olsen
c3b3120bc1 Improve build settings dialog (#1499) 2023-08-06 22:08:31 +01:00
Veronica Berglyd Olsen
28263dcbac Make build settings dialog a child of main gui, and ensure only one instance can be open for each build 2023-08-06 23:04:59 +02:00
Veronica Berglyd Olsen
4951e4f8fe Automatically select the first build if no builds are selected in the build tool 2023-08-06 22:27:15 +02:00
Veronica Berglyd Olsen
61836c8c04 Change page size preset to Custom when values are changed instead of blocking the spin boxes 2023-08-06 22:04:12 +02:00
Veronica Berglyd Olsen
effe7abdec Fix formatting of line breaks in headers 2023-08-06 21:49:55 +02:00
Veronica Berglyd Olsen
5bc391c6c2 Add file extensions to Outpu tab headers 2023-08-06 19:51:10 +02:00
Veronica Berglyd Olsen
3f951fa61f Move reset button to after included and excluded 2023-08-06 18:20:19 +02:00
Veronica Berglyd Olsen
72de32b126 Add iterative filter action for single selection in build settings 2023-08-06 17:49:11 +02:00
Veronica Berglyd Olsen
2780e722d0 Change icon for filtered items in build settings dialog 2023-08-06 17:28:05 +02:00
Veronica Berglyd Olsen
18d0265515 Fix possibly unbound variable in project tree 2023-08-06 17:25:29 +02:00
Veronica Berglyd Olsen
6168b45c75 Add a triangle arrow to the menu items on the paged side bar 2023-08-06 16:36:34 +02:00
Veronica Berglyd Olsen
7a74165221 Improve section headings on filter tab 2023-08-06 15:39:30 +02:00
Veronica Berglyd Olsen
c480db898c Double the left margin of the button text for the paged side bar 2023-08-06 15:08:57 +02:00
Veronica Berglyd Olsen
762f7c62cd Fix label in syntax check workflow 2023-08-06 14:57:49 +02:00
Veronica Berglyd Olsen
97dccd9d68 Drop saving fullscreen flag (#1498) 2023-08-06 13:57:31 +01:00
Veronica Berglyd Olsen
8778466d42 Annotate main gui 2023-08-06 14:50:11 +02:00
Veronica Berglyd Olsen
6f1aa5b812 Remove fullscreen setting in config file 2023-08-06 14:49:35 +02:00
Veronica Berglyd Olsen
352b70d060 Fix MacOS release for 2.1b1 (#1496) 2023-07-31 00:50:13 +02:00
Veronica Berglyd Olsen
4ce18611bd Remove redundant references to GUI parent 2023-07-31 00:44:30 +02:00
Veronica Berglyd Olsen
f09851b889 Remove beta part of version number for macOS build 2023-07-31 00:18:03 +02:00
Veronica Berglyd Olsen
993205701c Define all non-modal dialogs as tools 2023-07-30 23:39:29 +02:00
Veronica Berglyd Olsen
71b3694399 Try setting build non-modal dialogs as tools 2023-07-30 23:31:05 +02:00
Veronica Berglyd Olsen
9d8d25fbb5 Add a util function to restack the windows 2023-07-30 23:23:07 +02:00
Veronica Berglyd Olsen
c41a104eca Fix version number for mac build 2023-07-30 22:06:25 +02:00
Veronica Berglyd Olsen
1d19a900b1 Handle raise parent on all close events in build tools 2023-07-30 21:57:27 +02:00
Veronica Berglyd Olsen
25f9f0519f Fix raise window issue on Mac 2023-07-30 19:55:47 +02:00
Veronica Berglyd Olsen
b93bc0a295 Allow MacOS build to handle pre-release version 2023-07-30 14:36:47 +02:00
Veronica Berglyd Olsen
7d0e7d7dce Release 2.1 Beta 1 (#1490) 2023-07-30 14:20:51 +02:00
Veronica Berglyd Olsen
4b2b4117a5 Make some minor improvements to the change log 2023-07-30 14:17:34 +02:00
Veronica Berglyd Olsen
2bd519aa5b Update release date, change log and release notes 2023-07-30 14:07:28 +02:00
Veronica Berglyd Olsen
34c5b4fec7 Change tree nav shortcut modifier and update docs (#1489) 2023-07-30 00:06:36 +02:00
Veronica Berglyd Olsen
fd1f4a5dbe Merge branch 'dev' into tree_shortcuts 2023-07-30 00:00:59 +02:00
Veronica Berglyd Olsen
59a31f1c20 Restructure keyboard shortcuts page in docs 2023-07-29 23:59:41 +02:00
Veronica Berglyd Olsen
a79ff09e3b Use alt as modiefier for special project tree move keys 2023-07-29 23:59:18 +02:00
Veronica Berglyd Olsen
ea13f4f9b8 Add project tree navigation shortcuts (#1488) 2023-07-29 22:41:07 +02:00
Veronica Berglyd Olsen
26d97bd234 Update tests and docs 2023-07-29 22:26:13 +02:00
Veronica Berglyd Olsen
c52a37c276 Add shift + arrow navigation feature to project tree (#1348) 2023-07-29 22:25:58 +02:00
Veronica Berglyd Olsen
1dadd1ddb7 Annotate some more functions in project tree source 2023-07-29 20:49:23 +02:00
Veronica Berglyd Olsen
aa64fdbfc3 Annotate and clean up project tree source 2023-07-29 20:45:12 +02:00
Veronica Berglyd Olsen
db892f633a New root folder location (#1487) 2023-07-28 23:23:46 +02:00
Veronica Berglyd Olsen
08648e0a33 Update annotations in related source 2023-07-28 23:17:09 +02:00
Veronica Berglyd Olsen
addacd368d Allow root folders to be created next to selected root 2023-07-28 23:16:20 +02:00
Veronica Berglyd Olsen
925ead775c Try to fix issue with fickly test 2023-07-27 00:33:23 +02:00
Veronica Berglyd Olsen
46cac5cc94 Improve backup feature (#1484) 2023-07-27 00:18:51 +02:00
Veronica Berglyd Olsen
0c04b0ba86 Update test 2023-07-27 00:12:25 +02:00
Veronica Berglyd Olsen
ace037808f Add backups size to pop-up dialog (#1453) 2023-07-27 00:09:05 +02:00
Veronica Berglyd Olsen
d81a90add3 Add project name to backup file (#1476) 2023-07-27 00:08:26 +02:00
Veronica Berglyd Olsen
b837becc58 Remove remaining reference to lxml package 2023-07-26 23:47:49 +02:00
Veronica Berglyd Olsen
d88d07e0b3 Remove setup.py (#1483) 2023-07-26 23:34:04 +02:00
Veronica Berglyd Olsen
2966a709b8 Remove setup.py, and remove sample project from source build 2023-07-26 22:33:05 +02:00
Veronica Berglyd Olsen
7c138d33fc Move requirements file for tests to the tests folder 2023-07-26 22:26:18 +02:00
Veronica Berglyd Olsen
42d8d56636 Update ubuntu releases 2023-07-26 20:00:26 +02:00
Veronica Berglyd Olsen
02312054fb Split up setup.py and move packaging tools to new script 2023-07-26 19:28:34 +02:00
Veronica Berglyd Olsen
a6c0152a68 Improve project item and tree classes (#1482) 2023-07-26 19:06:45 +02:00
Veronica Berglyd Olsen
39ef662807 Add test coverage of the project tree consistency function 2023-07-26 18:57:31 +02:00
Veronica Berglyd Olsen
1752d5c5cb Fix inconsistent clearing of lockfiles in projects 2023-07-24 23:29:39 +02:00
Veronica Berglyd Olsen
7965e3365b Make sure file scan test don't depend on file list order 2023-07-22 23:15:30 +02:00
Veronica Berglyd Olsen
c8d588d6d2 Complete annotations in project class and update tests 2023-07-22 01:06:34 +02:00
Veronica Berglyd Olsen
d382775d1d Make some improvements to the tree consistency check 2023-07-22 01:06:04 +02:00
Veronica Berglyd Olsen
3753f5b829 Rewrite project consistency chech as part of the tree class 2023-07-21 23:56:48 +02:00
Veronica Berglyd Olsen
f0e372b2ba Update tests 2023-07-21 22:53:04 +02:00
Veronica Berglyd Olsen
9a1a2d9ab2 Rewrite NWItem to not allow handle to be None 2023-07-21 22:52:54 +02:00
Veronica Berglyd Olsen
4dfa51855e Spell check comments and docstrings 2023-07-20 23:25:49 +02:00
Veronica Berglyd Olsen
e773884c29 Add duplication of files and folders (#1480) 2023-07-20 21:18:17 +02:00
Veronica Berglyd Olsen
4e448134fc Add test coverage of new function in Document class 2023-07-20 21:14:10 +02:00
Veronica Berglyd Olsen
def846ce4b Clean up imports (missed one) 2023-07-20 21:08:38 +02:00
Veronica Berglyd Olsen
75a840b10b Clean up imports 2023-07-20 21:07:12 +02:00
Veronica Berglyd Olsen
188536d0f6 Add test coverage of duplicate function in project tree 2023-07-20 21:00:11 +02:00
Veronica Berglyd Olsen
b3c744d22e Add test coverage of DocDuplicator class 2023-07-20 20:36:09 +02:00
Veronica Berglyd Olsen
7a72634448 Improve how items are added to project tree, allowing root folders to be added next to specified items 2023-07-20 19:51:01 +02:00
Veronica Berglyd Olsen
1559e3299a Add item duplication functionality to project tree 2023-07-20 18:51:50 +02:00
Veronica Berglyd Olsen
567045e4ff Add document duplication tool and support in item and tree classes 2023-07-20 18:51:26 +02:00
Veronica Berglyd Olsen
1c5466a799 Add annotations to document class 2023-07-20 18:50:53 +02:00
Veronica Berglyd Olsen
fe7e44a3a6 Add annotations to tree and item classes 2023-07-20 16:00:16 +02:00
Veronica Berglyd Olsen
bba46ba042 Add annotations to core tools 2023-07-20 15:14:01 +02:00
Veronica Berglyd Olsen
f2bba55bca Change default font on macOS (#1479) 2023-07-20 01:28:31 +02:00
Veronica Berglyd Olsen
57d6b6ac1d Change default macOS font to Helvetica 2023-07-20 01:22:30 +02:00
Veronica Berglyd Olsen
664d314d3a Improve ODT build (#1477) 2023-07-20 00:35:13 +02:00
Veronica Berglyd Olsen
32a52b2bf1 Update tests 2023-07-20 00:29:11 +02:00
Veronica Berglyd Olsen
dedb86b11d Make paper sizes translatable 2023-07-20 00:29:01 +02:00
Veronica Berglyd Olsen
e1ea285201 Update test reference files 2023-07-19 23:57:45 +02:00
Veronica Berglyd Olsen
3c535ab0ef Make some improvements to the config layout class 2023-07-19 23:55:17 +02:00
Veronica Berglyd Olsen
ac92e5b126 Add support for page layout settings in builds 2023-07-19 23:55:00 +02:00
Veronica Berglyd Olsen
bebf487776 Update tests 2023-07-19 18:17:18 +02:00
Veronica Berglyd Olsen
c123ef9258 Add a separator style to ODT builds 2023-07-19 18:17:03 +02:00
Veronica Berglyd Olsen
7d065659e8 Bump version 2.1-beta1 2023-07-19 18:05:46 +02:00
Veronica Berglyd Olsen
3af60b4b6f Theme updates (#1475) 2023-07-19 17:43:57 +02:00
Veronica Berglyd Olsen
354d299dce Delete redundant colour definition in theme class 2023-07-19 17:40:18 +02:00
Veronica Berglyd Olsen
2670f46941 Don't set an icon theme for the Qt default theme 2023-07-19 17:36:56 +02:00
Veronica Berglyd Olsen
d289b41546 Fix test and update paged sidebar hover colour 2023-07-19 17:31:23 +02:00
Veronica Berglyd Olsen
2c5799679c Add help text colour as separate setting, and annotate theme class 2023-07-19 17:31:02 +02:00
Veronica Berglyd Olsen
795782320c Add default light theme and update other themes 2023-07-19 17:30:35 +02:00
Veronica Berglyd Olsen
734899a543 Improve test coverage of build tools (#1466) 2023-07-18 18:14:07 +02:00
Veronica Berglyd Olsen
8e3a258fd2 Fix sometimes failing backup test 2023-07-18 18:08:17 +02:00
Veronica Berglyd Olsen
36c0349c0a Split print test into separate due to MacOS issues 2023-07-18 17:59:29 +02:00
Veronica Berglyd Olsen
9721c25613 Add test coverage of GuiManuscript tool 2023-07-18 17:52:49 +02:00
Veronica Berglyd Olsen
1997872f71 Comment out blocking call 2023-07-17 20:57:07 +02:00
Veronica Berglyd Olsen
d9e0730ad2 Add test coverage of GuiManuscriptBuild tool 2023-07-17 20:56:31 +02:00
Veronica Berglyd Olsen
839bc778aa Add test coverage of GuiBuildSettings tool 2023-07-17 20:06:46 +02:00
Veronica Berglyd Olsen
f502411079 Complete test coverage of doc build module 2023-06-24 19:14:22 +02:00
Veronica Berglyd Olsen
151e4b2770 Change build filter to skip empty root folders 2023-06-24 18:25:44 +02:00
Veronica Berglyd Olsen
4b194752eb Complete test coverage of build settings module 2023-06-18 19:22:42 +02:00
Veronica Berglyd Olsen
73451faa31 Add test coverage of build settings class 2023-06-17 17:30:37 +02:00
Veronica Berglyd Olsen
a3f0d5b865 Fix bug in options file conversion 2023-06-15 23:54:16 +02:00
Veronica Berglyd Olsen
6193e3191b Fix minor issue in session log conversion 2023-06-15 23:26:27 +02:00
Veronica Berglyd Olsen
0689e977ea Rename and restructure project meta files (#1464) 2023-06-15 23:13:14 +02:00
Veronica Berglyd Olsen
028abc0ce9 Update storage class and test coverage of it 2023-06-15 23:05:21 +02:00
Veronica Berglyd Olsen
ca2964c037 Add test coverage of session log class 2023-06-15 00:19:47 +02:00
Veronica Berglyd Olsen
2a1324e6cc Make error dialog report a monospace font 2023-06-13 23:18:22 +02:00
Veronica Berglyd Olsen
61535b6ab6 Fix minor mistakes in source files from last commits 2023-06-13 22:57:19 +02:00
Veronica Berglyd Olsen
90012aff17 Fix test coverage of writingstats class 2023-06-13 22:32:17 +02:00
Veronica Berglyd Olsen
b2bfaad73d Fix test coverage of outline class 2023-06-13 22:15:14 +02:00
Veronica Berglyd Olsen
26e6845439 Fix test coverage of spell check classes 2023-06-13 21:54:06 +02:00
Veronica Berglyd Olsen
b7bb2988e8 Fix test coverage of options class 2023-06-13 21:11:05 +02:00
Veronica Berglyd Olsen
f33ba03a2f Fix test coverage of wordlist dialog 2023-06-13 21:10:11 +02:00
Veronica Berglyd Olsen
8d38f27eee Update gui options file format to macth others 2023-06-13 17:31:40 +02:00
Veronica Berglyd Olsen
0003f8c24d Change format of wordlist.txt file to json 2023-06-13 17:31:16 +02:00
Veronica Berglyd Olsen
9ac61105f3 Annotate index class and change file format slightly to match others 2023-06-13 17:30:07 +02:00
Veronica Berglyd Olsen
1b85f782a6 Update writing stats dialog to work with new log file 2023-06-13 17:29:15 +02:00
Veronica Berglyd Olsen
eba6783816 Move session log handling to a separate class, and use jsonl format 2023-06-12 01:50:27 +02:00
Veronica Berglyd Olsen
aea41032ef Add one more random error message 2023-06-11 22:51:03 +02:00
Veronica Berglyd Olsen
f572eed5be Update Docs (#1462) 2023-06-10 13:16:23 +02:00
Veronica Berglyd Olsen
9cd3e78043 Merge branch 'main' into update_docs 2023-06-10 13:15:12 +02:00
Veronica Berglyd Olsen
f9a4d7ec1f Make a couple of corrections 2023-06-10 13:13:36 +02:00
Veronica Berglyd Olsen
98692eb2fe Fix some sizing issues in the manuscript tools 2023-06-10 13:07:47 +02:00
Veronica Berglyd Olsen
8e6bb0b3d6 Fix outline margin so last column can be resized 2023-06-10 01:14:25 +02:00
Veronica Berglyd Olsen
6f02f3f74d Simplify how outline column headers are saved 2023-06-10 00:45:25 +02:00
Veronica Berglyd Olsen
00350140d3 Rename index and options meta files 2023-06-10 00:44:52 +02:00
Veronica Berglyd Olsen
a87cc64766 Add a new GUI for the Build Tool (#1389) 2023-06-09 22:18:28 +02:00
Veronica Berglyd Olsen
0eb39d2e0a Clean up a few remnants of old test code 2023-06-09 22:06:38 +02:00
Veronica Berglyd Olsen
112aa8468c Finish up controls on manuscript build tool 2023-06-09 22:06:05 +02:00
Veronica Berglyd Olsen
c344cf441e Add back print functionality to manuscript tool 2023-06-09 21:31:02 +02:00
Veronica Berglyd Olsen
5f4b6009ce Complete the manuscript build dialog, and the doc builder class 2023-06-09 21:07:46 +02:00
Veronica Berglyd Olsen
8b7aab36a2 Add circular progress bar on manuscript preview 2023-06-08 23:33:16 +02:00
Veronica Berglyd Olsen
8ef1a12201 Use enums for build formats 2023-06-08 23:32:32 +02:00
Veronica Berglyd Olsen
4ee452d186 Add a circular progress bar to the manuscript build tool 2023-06-07 22:37:47 +02:00
Veronica Berglyd Olsen
3bcb4a5091 Add back the file name label on manuscript build dialog 2023-06-06 22:47:37 +02:00
Veronica Berglyd Olsen
b09068ab99 Add annotations to odt class 2023-06-06 22:12:56 +02:00
Veronica Berglyd Olsen
6b6c517b1f Add annotations to tokenizer, html and markdown classes 2023-06-06 00:35:57 +02:00
Veronica Berglyd Olsen
850ee73ed4 Simplify core variables in tokenizer 2023-06-06 00:03:46 +02:00
Veronica Berglyd Olsen
67f1dd6677 Clean up variables in doc builder 2023-06-06 00:03:27 +02:00
Veronica Berglyd Olsen
9bc66128a7 Complete the build process in the build tool 2023-06-05 23:39:28 +02:00
Veronica Berglyd Olsen
b0201c58e9 Add Table of Contents to build dialog 2023-06-05 21:49:30 +02:00
Veronica Berglyd Olsen
18df119332 Update build tools icons 2023-06-05 17:19:32 +02:00
Veronica Berglyd Olsen
bc38ea19ba Merge branch 'dev' into feature/build_gui 2023-06-05 17:13:23 +02:00
Veronica Berglyd Olsen
a730e8747f Optimise all SVG icons (#1456) 2023-06-05 17:11:56 +02:00
Veronica Berglyd Olsen
62b0e7f9ca Optimise all SVG icons 2023-06-05 16:52:13 +02:00
Veronica Berglyd Olsen
ee9da2bdf1 Improve the manuscript GUIs a bit 2023-06-05 00:25:02 +02:00
Veronica Berglyd Olsen
2f0ac4fe17 Fix Qt.UserRole access warning 2023-06-05 00:08:11 +02:00
Veronica Berglyd Olsen
033b9f2a59 Update the zipIt function to include new files 2023-06-04 21:25:03 +02:00
Veronica Berglyd Olsen
3996ff8798 Assemble most of the Manuscript Build tool 2023-06-04 20:58:50 +02:00
Veronica Berglyd Olsen
5f6335d8f9 Fix some typing issues 2023-06-04 00:40:04 +02:00
Veronica Berglyd Olsen
135ba3f290 Update the project storage class 2023-06-03 19:05:18 +02:00
Veronica Berglyd Olsen
8ef3b3e09a Add project file revision number, and update all test reference files 2023-06-03 18:37:41 +02:00
Veronica Berglyd Olsen
0704812376 Remove titleFormat from project XML and rename mock test file 2023-06-03 18:13:02 +02:00
Veronica Berglyd Olsen
db8140418e Fix typing and docstrings in Project data and XML classes 2023-06-03 18:05:04 +02:00
Veronica Berglyd Olsen
d915b1b02c Remove old test reference files 2023-06-03 17:13:54 +02:00
Veronica Berglyd Olsen
4c439910dc Remove the old build tool 2023-06-03 17:03:30 +02:00
Veronica Berglyd Olsen
9514578554 Add the build preview functionality from the old build tool 2023-06-03 16:51:45 +02:00
Veronica Berglyd Olsen
3a2733eee5 Make new code pass docstring linting 2023-06-03 15:46:51 +02:00
Veronica Berglyd Olsen
7ff5ffaebd Remove python 3.12-dev tests again 2023-06-01 15:46:39 +02:00
Veronica Berglyd Olsen
dbb8f4fa5a Remove lxml as a test dependency 2023-06-01 15:41:56 +02:00
Veronica Berglyd Olsen
8631ea3d5a Update test CI jobs 2023-06-01 15:39:42 +02:00
Veronica Berglyd Olsen
58dee60297 Merge branch 'dev' into feature/build_gui 2023-06-01 15:29:00 +02:00
Veronica Berglyd Olsen
0a70adeceb Update ignored error codes for flake8 2023-06-01 15:27:29 +02:00
Veronica Berglyd Olsen
31e76e429b Merge branch 'main' into dev 2023-06-01 15:26:08 +02:00
Veronica Berglyd Olsen
277bd783b1 Clean up workflows 2023-06-01 10:56:11 +02:00
Veronica Berglyd Olsen
3e34721b66 Make gui class debug messages consistent 2023-06-01 00:31:42 +02:00
Veronica Berglyd Olsen
8fdec71f4b Improve how manuscript dialog closing is handled 2023-06-01 00:12:27 +02:00
Veronica Berglyd Olsen
510b6ff6d2 Add simple build preview 2023-05-31 18:10:41 +02:00
Veronica Berglyd Olsen
704fffada3 Move all code to set default text font into the Config class 2023-05-31 17:49:31 +02:00
Veronica Berglyd Olsen
74f46f4633 Update broken test by merge from dev 2023-05-29 22:22:18 +02:00
Veronica Berglyd Olsen
c49e743f4d Merge branch 'dev' into feature/build_gui 2023-05-29 22:20:08 +02:00
Veronica Berglyd Olsen
b7eb4d3567 Remove lxml dependency (#1452) 2023-05-29 22:18:46 +02:00
Veronica Berglyd Olsen
ebc3b1f745 Fix redundant line wrapping in ODT header style 2023-05-29 22:12:55 +02:00
Veronica Berglyd Olsen
af923d6050 Remove references and checks for lxml 2023-05-29 21:52:43 +02:00
Veronica Berglyd Olsen
1d90d6d385 Update XML classes and tests 2023-05-29 21:47:13 +02:00
Veronica Berglyd Olsen
a40275c431 Make the xmlIndent function the permanent solution 2023-05-29 21:35:16 +02:00
Veronica Berglyd Olsen
2a82fd628c Fix logging bug in init 2023-05-29 21:34:48 +02:00
Veronica Berglyd Olsen
a7ffbb0965 Update Odt tests 2023-05-29 20:04:40 +02:00
Veronica Berglyd Olsen
22e0f82654 Replaxe lxml with standard library xml in ODT class 2023-05-29 20:04:28 +02:00
Veronica Berglyd Olsen
47a6ae5031 Remove test runs for Python 3.7 2023-05-29 18:23:00 +02:00
Veronica Berglyd Olsen
652013b622 Fix last broken test 2023-05-29 17:58:23 +02:00
Veronica Berglyd Olsen
af67f5081e Fix test reference files 2023-05-29 17:16:58 +02:00
Veronica Berglyd Olsen
59931c804c Replace lxml with standard xml for project files 2023-05-29 17:00:52 +02:00
Veronica Berglyd Olsen
7c9bff71f0 Make sure main logger only creates a single stream handle 2023-05-24 22:39:24 +02:00
Veronica Berglyd Olsen
ad6b517c1d Rename manuscript build tool file and add build dialog 2023-05-24 22:38:47 +02:00
Veronica Berglyd Olsen
a1837d8153 Clean up old heading format usage 2023-05-24 00:50:05 +02:00
Veronica Berglyd Olsen
cd81ea5fbb Fix tests 2023-05-24 00:27:29 +02:00
Veronica Berglyd Olsen
e3744d31aa Move heading formatting into a separate class 2023-05-24 00:27:09 +02:00
Veronica Berglyd Olsen
fda647da54 Fix a few issues with the build settings dialog 2023-05-23 18:39:52 +02:00
Veronica Berglyd Olsen
6ab734b9e7 Add last tab in build settings and tweak filter tab a little 2023-05-23 18:18:15 +02:00
Veronica Berglyd Olsen
c302162d1f Add build settings Content and Format tabs 2023-05-23 16:39:43 +02:00
Veronica Berglyd Olsen
06b46bb0d3 Update config layout extension class 2023-05-23 16:39:05 +02:00
Veronica Berglyd Olsen
2592423637 Update build dialog and make doc build class compatible with build settings 2023-05-22 21:58:05 +02:00
Veronica Berglyd Olsen
854cc77220 Add list of builds to manuscript build dialog 2023-05-22 18:38:58 +02:00
Veronica Berglyd Olsen
0a2355488e Simplify build settings dialog 2023-05-22 16:25:33 +02:00
Veronica Berglyd Olsen
a212900554 Add a Headings format edit form 2023-05-18 19:30:42 +02:00
Veronica Berglyd Olsen
79a28b9e43 Add handling of build settings and build name 2023-05-18 17:41:29 +02:00
Veronica Berglyd Olsen
90a6cecd52 Merge branch 'dev' into feature/build_gui 2023-05-16 23:45:22 +02:00
Veronica Berglyd Olsen
03a19a882b Rewrite config mocking (#1447) 2023-05-16 23:29:56 +02:00
Veronica Berglyd Olsen
4371d123ac Fix docs URL (#1446) 2023-05-16 23:22:20 +02:00
Veronica Berglyd Olsen
70ea5e0bae Fix broken documentation URL 2023-05-16 23:04:24 +02:00
Veronica Berglyd Olsen
db70394af3 Move all URLs to the nwConst class 2023-05-16 23:02:31 +02:00
Veronica Berglyd Olsen
324b204eaa Drop all mappings of config object into classes now that tests don't need that 2023-05-16 23:00:30 +02:00
Veronica Berglyd Olsen
7f8ffb228e Remove dependency on .mainConf class variable in tests 2023-05-16 00:40:56 +02:00
Veronica Berglyd Olsen
cdb501ae26 Improve debug strings in Config class 2023-05-16 00:34:28 +02:00
Veronica Berglyd Olsen
e8c6e50e92 Remove code for mocking CONFIG object and instead reset it for each test 2023-05-16 00:34:11 +02:00
Veronica Berglyd Olsen
35731ca4f7 Make build settings dialog work with single settings object 2023-05-15 15:27:02 +02:00
Veronica Berglyd Olsen
5685963b59 Modify logic so build settings are edited separately 2023-05-13 20:24:33 +02:00
Veronica Berglyd Olsen
26430e642c Add a new Manuscript Build tool 2023-05-13 19:20:31 +02:00
Veronica Berglyd Olsen
ff0a4b03ae Rename GuiBuildManuscript to GuiBuildSettings 2023-05-13 19:02:21 +02:00
Veronica Berglyd Olsen
a4e5a88686 Add heading format fields 2023-05-13 19:00:10 +02:00
Veronica Berglyd Olsen
50f653fefb Add splitter to filter page and save to options 2023-05-13 17:59:43 +02:00
Veronica K. B. Olsen
a9d5974346 Add root class filtering 2023-05-09 22:00:30 +02:00
Veronica Berglyd Olsen
4c4139078a Add icons to document filters 2023-05-07 19:36:52 +02:00
Veronica Berglyd Olsen
46b4e39bf5 Add code to filter items in build tool based on layout and active status 2023-05-07 19:21:07 +02:00
Veronica Berglyd Olsen
e7a148d20d Merge branch 'dev' into feature/build_gui 2023-05-07 16:57:52 +02:00
Veronica Berglyd Olsen
76daa3f463 Update setup files (#1436) 2023-05-05 00:26:28 +02:00
Veronica Berglyd Olsen
9f22c51c8a Add deprecation info to help output 2023-05-04 23:47:01 +02:00
Veronica Berglyd Olsen
023c0da879 Add deprecation warning about setup.py 2023-05-04 23:32:55 +02:00
Veronica Berglyd Olsen
18cc8b91dc Update documentation on how to install novelWriter from source, and improve build script for pip 2023-05-04 23:17:25 +02:00
Veronica Berglyd Olsen
7a855a3520 Update pyproject.toml according to setuptools docs 2023-05-04 23:09:33 +02:00
Veronica Berglyd Olsen
36352d4a17 Fix a few warnings with setup.cfg and add the zip_safe option 2023-05-04 22:05:01 +02:00
Veronica Berglyd Olsen
b9351dba11 Update package build scripts (#1433) 2023-05-03 22:43:03 +02:00
Veronica Berglyd Olsen
8d4e555374 Fix a few help strings in setup 2023-05-03 22:34:53 +02:00
Veronica Berglyd Olsen
934ebcfc7e Switch shasum command on mac build 2023-05-03 13:29:54 +02:00
Veronica Berglyd Olsen
128092e537 Put all build assets in a single zip file 2023-05-03 12:39:51 +02:00
Veronica Berglyd Olsen
ff22722662 Fix artifact names and add shasum files 2023-05-03 12:36:33 +02:00
Veronica Berglyd Olsen
7159a07f91 Fix build action artifact upload 2023-05-02 12:52:22 +02:00
Veronica Berglyd Olsen
0ae42ef876 Simplify package names 2023-05-02 12:46:58 +02:00
Veronica Berglyd Olsen
d66953d3ac Add a bash script to generate a desktop launcher 2023-04-23 17:23:21 +02:00
Veronica Berglyd Olsen
d1c62e4bbc Docs: Add a note about escape characters for text emphasis 2023-04-22 10:06:23 +02:00
Veronica Berglyd Olsen
f1b764761c Fix error in docstring 2023-04-22 09:52:51 +02:00
Veronica Berglyd Olsen
b0c5fe6509 Make some further minor improvements to Mac build script 2023-04-18 18:57:33 +02:00
Veronica Berglyd Olsen
9daf1f1ca0 Clean up Mac build a bit 2023-04-18 18:44:08 +02:00
Veronica Berglyd Olsen
96bed5b3d5 Update copyright year 2023-04-18 18:43:55 +02:00
Veronica Berglyd Olsen
59f0beeba6 Remove the bundled lupdate6 tool and use the PyQt6 package 2023-04-18 18:17:33 +02:00
Veronica Berglyd Olsen
c7ba7b5d3a Add a link to the regular expression Qt docs for the search/replace tool 2023-04-18 11:07:33 +02:00
Veronica Berglyd Olsen
29386e8595 Add a switch box widget and use it for filter options in build 2023-04-16 21:19:09 +02:00
Veronica Berglyd Olsen
b6dceacaf0 Merge branch 'dev' into feature/build_gui 2023-04-16 19:46:54 +02:00
Veronica Berglyd Olsen
58702a8956 Release 2.0.7 (#1419) 2023-04-16 11:35:33 +02:00
Veronica Berglyd Olsen
8cdb7c245c Bump version to 2.0.7 and update changelog 2023-04-15 20:52:40 +02:00
Veronica Berglyd Olsen
1a716d858b Update translation files 2023-04-15 20:28:01 +02:00
Veronica Berglyd Olsen
c45f786066 Fix escaped markdown not being cleaned up for HTML and ODT (#1418) 2023-04-15 18:55:30 +02:00
Veronica Berglyd Olsen
574ed1b2f0 Improve test coverage 2023-04-15 18:46:32 +02:00
Veronica Berglyd Olsen
38f31d6a64 Remove the tokenizer post processing stage and instead run it where needed (Issue #1412) 2023-04-15 18:30:37 +02:00
Veronica Berglyd Olsen
6d0455bf28 Replace underscores with spaces when running spell checker (#1417) 2023-04-13 19:37:25 +02:00
Veronica Berglyd Olsen
b9d149a56a Improve how underscores are treated by spell checker (#1415) 2023-04-13 19:22:21 +02:00
Veronica Berglyd Olsen
4e64d522a1 Merge branch 'dev' into feature/build_gui 2023-04-13 18:21:41 +02:00
Veronica Berglyd Olsen
5460536bbc Fix CI trigger branches 2023-04-13 18:17:12 +02:00
Veronica Berglyd Olsen
239bc886a5 Fix spell check refresh (for small documents) (#1416) 2023-04-13 18:14:43 +02:00
Veronica Berglyd Olsen
0ffb6eee37 Allow clearing the spell check highlighting also on big docs 2023-04-13 18:11:59 +02:00
Veronica Berglyd Olsen
cf770ff77f Remove the condition that spell checking must be enabled to refresh highlighting (Issue #1414) 2023-04-13 17:57:14 +02:00
Veronica Berglyd Olsen
8c9f84d251 Build AppImage for older Linux distros (#1410) 2023-04-04 20:54:12 +02:00
Veronica Berglyd Olsen
5bb78f3f0d Use pip for build dependencies for assets 2023-04-04 19:51:02 +02:00
Veronica Berglyd Olsen
5e985af37b Add additional manylinux version to appimage build 2023-04-04 19:45:27 +02:00
Veronica Berglyd Olsen
f18b8ed7f3 Update i18n (#1407) 2023-04-04 19:36:00 +02:00
Veronica Berglyd Olsen
304d659c9f Merge branch 'main' into update_i18n 2023-04-04 19:33:13 +02:00
Veronica Berglyd Olsen
3a9d8dea27 Add back in RTD pdf build 2023-04-04 19:19:49 +02:00
Veronica Berglyd Olsen
95713f8e09 Update docs (#1409) 2023-04-04 19:13:09 +02:00
Veronica Berglyd Olsen
660c15bfe9 Simplify the main Readme as most user info is now on the website 2023-04-04 19:09:14 +02:00
Veronica Berglyd Olsen
54806ba753 Clean up documentation a little and point to new doc location 2023-04-04 18:35:39 +02:00
Veronica Berglyd Olsen
42dd7ce0d7 Change doc urls to point to main website instead of RTD 2023-04-04 18:34:37 +02:00
Veronica Berglyd Olsen
33b80244ea Merge branch 'main' into update_i18n 2023-04-04 17:50:36 +02:00
Veronica Berglyd Olsen
860125e19a Turn main into only release branch (#1408) 2023-04-04 17:47:52 +02:00
Veronica Berglyd Olsen
835165f012 Restore last version on main branch 2023-04-04 17:44:25 +02:00
Veronica Berglyd Olsen
3c7775aaa2 Remove dev code from main 2023-04-04 17:35:40 +02:00
Veronica Berglyd Olsen
97bf638b6f Merge branch 'patch' into cleanup_main 2023-04-04 17:31:36 +02:00
Veronica Berglyd Olsen
3873be2927 Add Japanese translation 2023-04-04 10:48:02 +02:00
Veronica Berglyd Olsen
48453bb46b Update latest translations 2023-04-04 10:45:25 +02:00
Veronica Berglyd Olsen
6a0a22b164 Merge branch 'patch' into update_i18n 2023-04-03 22:13:36 +02:00
Veronica Berglyd Olsen
590c03c17d Apply 'new item' rules in project tree (#1406) 2023-04-03 22:12:46 +02:00
Veronica Berglyd Olsen
db1cda65c3 Add check for root class before allowing adding novel documents in project tree new item (#1404) 2023-04-03 22:06:57 +02:00
Veronica Berglyd Olsen
bc1861887e Minor GUI Fixes (#1405) 2023-04-03 21:45:33 +02:00
Veronica Berglyd Olsen
7cd5d2740f Update base translation file 2023-04-03 21:34:58 +02:00
Veronica Berglyd Olsen
740e3be74b Fix project tree rename label (#1403) 2023-04-03 21:34:38 +02:00
Veronica Berglyd Olsen
00abb02ac1 Add the desktopFileName setting to the application for better support for Linux desktops 2023-04-03 21:31:07 +02:00
Veronica Berglyd Olsen
489fa20f18 Update latest translations with some minor additions and changes 2023-04-03 17:30:25 +02:00
Veronica Berglyd Olsen
3a569e0268 Fix typo 2023-03-21 09:17:09 +01:00
Veronica Berglyd Olsen
8bada3c468 Clarify instructions on how to download dictionaries on Windows 2023-03-20 22:36:49 +01:00
Veronica Berglyd Olsen
357d1fa83b Update docs theme from main branch 2023-03-10 16:47:47 +01:00
Veronica Berglyd Olsen
0a68ad1b07 Update docs theme (#1395) 2023-03-10 16:44:53 +01:00
Veronica Berglyd Olsen
8f8498ca6d Switch docs theme to Sphinx Book Theme 2023-03-10 16:29:41 +01:00
Veronica Berglyd Olsen
ab4cb93aaa Fix typo in docs 2023-03-07 23:03:30 +01:00
Veronica Berglyd Olsen
51b45de19e Revert mistake in docs about format changes 2023-03-05 11:44:43 +01:00
Veronica Berglyd Olsen
5639df7efd Add buttons to set filter mode on build items 2023-02-28 23:19:57 +01:00
Veronica Berglyd Olsen
9af273bf8f Add functionality to build project tree in build tool 2023-02-28 22:40:23 +01:00
Veronica Berglyd Olsen
cfd1b950d3 Rename item isInactive to isInactiveClass 2023-02-28 22:40:02 +01:00
Veronica Berglyd Olsen
8a4785d9a3 Add build tool icons to theme 2023-02-28 22:39:09 +01:00
Veronica Berglyd Olsen
ba5b4ece30 Change menu entries so tests run properly 2023-02-28 21:22:24 +01:00
Veronica Berglyd Olsen
0a8ed86b7c Finish the build tool pages and add feature to set selected button 2023-02-28 18:24:09 +01:00
Veronica Berglyd Olsen
d166697622 Merge branch 'main' into feature/build_gui 2023-02-28 18:13:46 +01:00
Veronica Berglyd Olsen
9fdfe7616c Change resize behaviour of main splitter (#1388) 2023-02-28 13:32:18 +01:00
Veronica Berglyd Olsen
21db406cf3 Change resize behaviour of main splitter to only scale editor area 2023-02-28 12:45:42 +01:00
Veronica Berglyd Olsen
eb39f5eeba Add tip in docs on how to get the Ubuntu key imported on Debian 2023-02-27 15:09:16 +01:00
Veronica Berglyd Olsen
3125df95d3 Update translations 2023-02-26 21:50:58 +01:00
Veronica Berglyd Olsen
dfcf23cd26 Merge 2.0.6 (#1384) 2023-02-26 21:37:49 +01:00
Veronica Berglyd Olsen
9d11d479a4 Merge branch 'main' into merge_2.0.6 2023-02-26 21:33:37 +01:00
Veronica Berglyd Olsen
86d324a113 Release 2.0.6 (#1382) 2023-02-26 21:02:22 +01:00
Veronica Berglyd Olsen
026f0b921c Complete changelog and update release notes 2023-02-26 12:00:39 +01:00
Veronica Berglyd Olsen
afa9675644 Merge branch 'patch' into release_2.0.6 2023-02-26 11:53:39 +01:00
Veronica Berglyd Olsen
a7ba0ec575 Backport docs from main (#1381) 2023-02-26 11:51:53 +01:00
Veronica Berglyd Olsen
bba605ee5a Fix link format in tech docs 2023-02-26 11:40:46 +01:00
Veronica Berglyd Olsen
09083ac4f5 Backport document changes from main 2023-02-26 11:37:28 +01:00
Veronica Berglyd Olsen
916f782df9 Bump version and update changelog 2023-02-26 11:15:20 +01:00
Veronica Berglyd Olsen
2f3a8f505f Fix GUI bugs and broken reference links (#1379) 2023-02-26 11:09:10 +01:00
Veronica Berglyd Olsen
4ff8c6a26f Don't set project tree focus when setting selected handle (#1369) 2023-02-26 10:56:06 +01:00
Veronica Berglyd Olsen
1952906829 Switch focus to tree when creating new item (#1376) 2023-02-26 10:35:14 +01:00
Veronica Berglyd Olsen
acd4d44a9e Fix reference panel links (#1378) 2023-02-26 10:30:25 +01:00
Veronica Berglyd Olsen
f14098d87b Merge branch 'main' into feature/build_gui 2023-02-25 18:50:59 +01:00
Veronica Berglyd Olsen
a1c3ab688a Update docs and add HowTo (#1377) 2023-02-25 18:48:37 +01:00
Veronica Berglyd Olsen
1648ad2d02 Add a contributing note to the howto docs 2023-02-25 18:48:04 +01:00
Veronica Berglyd Olsen
cc6636fe3c Add a HowTo section 2023-02-25 18:41:40 +01:00
Veronica Berglyd Olsen
e50bb72dc7 Add some more space above sections 2023-02-25 18:35:39 +01:00
Veronica Berglyd Olsen
fd390c2cba Increase font size for admonitions in docs 2023-02-23 08:19:05 +01:00
Veronica Berglyd Olsen
2365bcbcaf Restore main page link in docs 2023-02-22 22:11:51 +01:00
Veronica Berglyd Olsen
d934f2bb6b Fix download link in docs 2023-02-22 21:24:11 +01:00
Veronica Berglyd Olsen
8b2566b9fe Add signal to paged sidebar 2023-02-22 21:07:01 +01:00
Veronica Berglyd Olsen
a507e64163 No need for the mbuild folder 2023-02-21 18:46:10 +01:00
Veronica Berglyd Olsen
9d61432641 Add a basic build settings class, and add the paged sidebar to the mbuild dialog 2023-02-21 18:15:04 +01:00
Veronica Berglyd Olsen
981111d380 Complete the paged sidebar widget 2023-02-21 18:14:20 +01:00
Veronica Berglyd Olsen
0f0c9eacb1 Rename custom to extensions to avoid import issues 2023-02-21 16:47:30 +01:00
Veronica Berglyd Olsen
7a60d8d867 Add a custom widgets subpackage 2023-02-21 16:06:41 +01:00
Veronica Berglyd Olsen
06407a44d3 Add tabs to manuscript build tool 2023-02-13 21:34:40 +01:00
Veronica Berglyd Olsen
1c17bcc981 Add the Build Manuscript tool and connect it to the main menu 2023-02-13 20:00:56 +01:00
Veronica Berglyd Olsen
e92f2a9141 Copy "Getting Started" docs over from main branch 2023-02-13 19:27:30 +01:00
Veronica Berglyd Olsen
c8182c0293 Update "Getting Started" in docs (#1366) 2023-02-13 19:24:35 +01:00
Veronica Berglyd Olsen
d78f13839e Clean up the gettings started document 2023-02-13 08:46:06 +01:00
Veronica Berglyd Olsen
ed892f3f15 Move the section on setting up Python on Windows to the PyPi part 2023-02-13 08:38:19 +01:00
Veronica Berglyd Olsen
902dcc6ba7 Update MacOS install instructions formatting 2023-02-13 08:34:17 +01:00
Veronica Berglyd Olsen
43fd9db038 Merge branch 'main' into docs/getting_started 2023-02-13 08:22:25 +01:00
Veronica Berglyd Olsen
c6da74b21c Update MacOS instructions in the docs (#1365) 2023-02-13 08:21:31 +01:00
Rachel Powers
5362205605 Add Macos install instructions to the docs 2023-02-12 20:38:34 -07:00
Veronica Berglyd Olsen
30d5be44eb Bump version to 2.1-alpha0 2023-02-13 00:23:54 +01:00
Veronica Berglyd Olsen
9a50303068 Merge branch 'patch' 2023-02-13 00:20:51 +01:00
Veronica Berglyd Olsen
9ec8fea5f1 Improve build workflows (#1364) 2023-02-13 00:18:38 +01:00
Veronica Berglyd Olsen
1aecf19a03 Fix environment vars 2023-02-12 23:49:03 +01:00
Veronica Berglyd Olsen
0ab86913a7 Fix AppImage and MacOS builds 2023-02-12 23:32:11 +01:00
Veronica Berglyd Olsen
8448ec7b61 Add AppImage to build workflow 2023-02-12 23:27:15 +01:00
Veronica Berglyd Olsen
d672ec05e9 Fix artifact names 2023-02-12 22:33:40 +01:00
Veronica Berglyd Olsen
d71a277af7 Change order of macos build, and add more output 2023-02-12 22:11:32 +01:00
Veronica Berglyd Olsen
8488a85288 Update docs info on debian install 2023-02-12 21:46:15 +01:00
Veronica Berglyd Olsen
81e23f6a2a Merge 2.0.5 (#1363) 2023-02-12 17:38:40 +01:00
Veronica Berglyd Olsen
955d8c8fe2 Enable short retention time for build 2023-02-12 17:30:40 +01:00
Veronica Berglyd Olsen
d9057b8581 Fix broken doc build test 2023-02-12 17:30:26 +01:00
Veronica Berglyd Olsen
79f39c1bc3 Merge branch 'main' into merge_2.0.5 2023-02-12 17:24:42 +01:00
Veronica Berglyd Olsen
0b9ba78fac Release 2.0.5 (#1356) 2023-02-12 16:10:48 +01:00
Veronica Berglyd Olsen
c42f2e755c Make ODT tests ignore version number 2023-02-12 16:07:36 +01:00
Veronica Berglyd Olsen
2f0018ddfe Merge branch 'patch' into release_2.0.5 2023-02-12 16:04:10 +01:00
Veronica Berglyd Olsen
c4fd25ba56 Update changelog and release notes 2023-02-12 16:03:43 +01:00
Veronica Berglyd Olsen
f6a9fdd7ca Update completed and new translations (#1341) 2023-02-12 15:55:57 +01:00
Veronica Berglyd Olsen
dcadaddedf Merge branch 'patch' into update_i18n 2023-02-12 15:49:41 +01:00
Veronica Berglyd Olsen
b0952a38be Make ODT build pass validation entries (#1360) 2023-02-12 15:33:44 +01:00
Veronica Berglyd Olsen
7638db21ec Fix tests 2023-02-12 15:12:39 +01:00
Veronica Berglyd Olsen
c39e37c799 Add more meta data to supporet adding fields in LibreOffice 2023-02-12 14:44:01 +01:00
Veronica Berglyd Olsen
5796d55531 Title elements should be paragraph, not heading to be valid ODF 2023-02-12 13:27:43 +01:00
Veronica Berglyd Olsen
cce1ef54d8 Fix Open Document warning on settings.xml and bump version to 1.3 2023-02-12 12:54:05 +01:00
Veronica Berglyd Olsen
4b7a4e0789 Fix capitalisation in Portuguese translation 2023-02-12 08:36:30 +01:00
Veronica Berglyd Olsen
c2dd579eb4 Add Italian translation 2023-02-12 08:32:02 +01:00
Veronica Berglyd Olsen
ee550c2213 Update translations 2023-02-12 08:31:55 +01:00
Veronica Berglyd Olsen
6ed7c6f5a7 Update version and changelog 2023-02-10 21:50:10 +01:00
Veronica Berglyd Olsen
cd4bae976f Merge branch 'patch' into update_i18n 2023-02-10 21:16:07 +01:00
Veronica Berglyd Olsen
917a4375db Fix issues with novel tree last column (#1355) 2023-02-10 21:07:27 +01:00
Veronica Berglyd Olsen
7fe85ddfde Update base translation file 2023-02-10 20:59:26 +01:00
Veronica Berglyd Olsen
c1f1013cfd Improve test coverage 2023-02-10 20:55:37 +01:00
Veronica Berglyd Olsen
cf742a89c0 Add a menu entry to change column size for last column in novel tree 2023-02-10 20:49:47 +01:00
Veronica Berglyd Olsen
fd14c682a9 Allow more than one item in extra column 2023-02-10 20:16:49 +01:00
Veronica Berglyd Olsen
032ab630c1 Fix block formatting issues (#1354) 2023-02-10 20:11:26 +01:00
Veronica Berglyd Olsen
aa3fe96158 Add some comments to explain what's going on in the block formatting 2023-02-10 20:07:52 +01:00
Veronica Berglyd Olsen
5b20061607 Only insert line break for block formats if the block already has text (#1349, #1350) 2023-02-10 20:01:46 +01:00
Veronica Berglyd Olsen
e9876b4d42 Update docs and project file format specs (#1353) 2023-02-10 19:40:55 +01:00
Veronica Berglyd Olsen
faa644b274 Also link filr format speck in tech docs 2023-02-10 19:30:07 +01:00
Veronica Berglyd Olsen
709ea059cb Fix a typo in the index page note 2023-02-10 19:25:50 +01:00
Veronica Berglyd Olsen
723b44b6db Fix some issues with the fila format spec document 2023-02-09 17:22:02 +01:00
Veronica Berglyd Olsen
72574dd8a6 Make some modifications to docs config 2023-02-09 17:21:13 +01:00
Veronica Berglyd Olsen
6aafbbae3e Add a document builder class (#1316) 2023-02-06 23:23:41 +01:00
Veronica Berglyd Olsen
0b93e4a61a Merge branch 'main' into feature/build_class 2023-02-06 23:05:59 +01:00
Veronica Berglyd Olsen
5c30e1ae33 Merge branch 'patch' into update_i18n 2023-02-05 18:48:43 +01:00
Veronica Berglyd Olsen
25ab8ccbce Add project content path check (#1342) 2023-02-05 18:39:36 +01:00
Veronica Berglyd Olsen
492d94ee6e Check that content path exists before returning it from storage class (#1317) 2023-02-05 18:12:50 +01:00
Veronica Berglyd Olsen
6d45194253 Update completed translations and add Russian project file 2023-02-05 14:13:21 +01:00
Veronica Berglyd Olsen
cdbfcafc38 Make patch workflow match main 2023-02-05 00:16:30 +01:00
Veronica Berglyd Olsen
437fe010b0 Add a basic build file to main 2023-02-05 00:15:09 +01:00
Veronica Berglyd Olsen
5f6f853336 Only run packaging workflow on certain tags 2023-02-05 00:00:47 +01:00
Veronica Berglyd Olsen
75b20889f4 Changes to MacOS build (#1340) 2023-02-04 23:46:48 +01:00
Veronica Berglyd Olsen
6b1183392f Try using workflow_dispatch instead 2023-02-04 23:44:03 +01:00
Veronica Berglyd Olsen
652ce3848b Try out using environment in workflow 2023-02-04 23:34:00 +01:00
Veronica Berglyd Olsen
1d90ab9fc1 Reverting som changes that didn't matter 2023-02-04 23:12:14 +01:00
Veronica Berglyd Olsen
cc48f8f8aa Try removeing the python3.1 folder 2023-02-04 22:27:16 +01:00
Veronica Berglyd Olsen
44f624faf4 Try the -a option instead 2023-02-04 20:54:51 +01:00
Veronica Berglyd Olsen
b4813f904a Try the preserve symlinks flag in mac bundle build 2023-02-04 20:45:15 +01:00
Veronica Berglyd Olsen
8a5ff3ab85 Turn off short retention time for now 2023-02-04 19:47:10 +01:00
Veronica Berglyd Olsen
76e1d47d14 Merge branch 'patch' into feature/macos-bundle 2023-02-04 19:33:32 +01:00
Veronica Berglyd Olsen
0e529fd72f Rewrite macOS build workflow and make some changes to build script 2023-02-04 19:33:12 +01:00
Veronica Berglyd Olsen
74ead29433 Move MacOS plist info back to a template file, and simplify stuff in setup.py 2023-02-04 19:33:04 +01:00
Veronica Berglyd Olsen
08bc2938df Add MacOS bundle distribution (#1276) 2023-02-04 17:37:47 +01:00
Veronica Berglyd Olsen
a6d9ed0c8c Merge branch 'patch' into macos-appbundle 2023-02-04 17:35:04 +01:00
Veronica Berglyd Olsen
c9d768e138 Project Details dialog fixes (#1339) 2023-02-04 16:48:18 +01:00
Veronica Berglyd Olsen
4ba3297d17 Update base translation file 2023-02-04 16:45:53 +01:00
Veronica Berglyd Olsen
a5d05ab777 Improve time format of editing time on project details dialog (#1335) 2023-02-04 16:32:41 +01:00
Veronica Berglyd Olsen
4e815a5f86 Make sure project name, title and author cannot be set to string "None" 2023-02-04 16:29:51 +01:00
Veronica Berglyd Olsen
b1bc80a0cd Make sure title and author is always refreshed when project details dialog is opened (#1336) 2023-02-04 16:29:23 +01:00
Veronica Berglyd Olsen
b0f38c3e2f Merge branch 'main' into feature/build_class 2023-02-01 16:58:27 +01:00
Rachel Powers
af1233925e fix icns generation and bundle display name.
while the icns *can* be generated on linux it is much preferable to generate it on macos
it is checked in as a convience

this commit fixes the appbundle not displaying the icon corrected
and corrects the app being displayed as "python" in the top bar when the bundle is run

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-31 17:10:36 -07:00
Veronica Berglyd Olsen
71a8e72180 Merge branch 'patch' into macos-appbundle 2023-01-30 12:14:57 +01:00
Veronica Berglyd Olsen
8273fcca1e Update outdated info in main readme 2023-01-30 12:10:04 +01:00
Veronica Berglyd Olsen
9d46dde1c5 Fix typo in 2.0 release notes 2023-01-29 11:53:08 +01:00
Veronica Berglyd Olsen
0702154716 Merge branch 'main' into feature/build_class 2023-01-29 03:15:40 +01:00
Veronica Berglyd Olsen
0ad7dac3d3 Merge 2.0.4 (#1327) 2023-01-29 03:15:12 +01:00
Veronica Berglyd Olsen
f56f990085 Merge branch 'main' into merge_2.0.4 2023-01-29 03:11:30 +01:00
Veronica Berglyd Olsen
4f11990b93 Release 2.0.4 (#1326) 2023-01-29 02:44:08 +01:00
Veronica Berglyd Olsen
e4cc9ef5b5 Bump version to 2.0.4 and update changelog 2023-01-29 02:34:42 +01:00
Veronica Berglyd Olsen
fe6d4de025 Fix PyQt5 version check (#1325) 2023-01-29 02:27:06 +01:00
Veronica Berglyd Olsen
c9fe0cad05 Also fix import in the error handler 2023-01-29 02:22:14 +01:00
Veronica Berglyd Olsen
1437659a4e Drop the splitVersionNumber function 2023-01-29 02:14:21 +01:00
Veronica Berglyd Olsen
0c75a53e57 Fix wrong inport of PyQt5 version (#1324) 2023-01-29 02:13:32 +01:00
Veronica Berglyd Olsen
f04f4a3e04 Update some comments and docstrings in the index class 2023-01-25 15:05:59 +01:00
Veronica Berglyd Olsen
e2f7e77ec2 Mentione Qt SVG dependency for Arch Linux in the docs (#1319) 2023-01-21 23:03:46 +01:00
Veronica Berglyd Olsen
004828f76c Mention Qt SVG dependency for Arch Linux in the docs (#1320) 2023-01-21 23:00:42 +01:00
Veronica Berglyd Olsen
3d4dbd0bb0 Mention Qt SVG dependency for Arch Linux in the docs (#1319)
Signed-off-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
2023-01-21 22:52:43 +01:00
Veronica Berglyd Olsen
3a0bae92be Rename the doc build functions 2023-01-12 10:21:36 +01:00
Veronica Berglyd Olsen
f569c66348 Add test coverage of the doc builder class 2023-01-11 12:30:08 +01:00
Veronica Berglyd Olsen
88cde331df Fix a few issues in the doc builder class 2023-01-11 12:29:52 +01:00
Veronica Berglyd Olsen
72e11601a0 Complete the first version of the doc builder class and add test 2023-01-10 17:59:23 +01:00
Veronica Berglyd Olsen
87256ee62f Merge branch 'main' into feature/build_class 2023-01-10 17:59:04 +01:00
Rachel Powers
beb95c49fa fix: fit artifact uploads
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-09 00:53:15 -07:00
Rachel Powers
f912d55177 refactor: move plist gen into setup.py
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 22:09:32 -07:00
Rachel Powers
b7e7a087f8 fix: remove codesign for now, only build on tags
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
82dd1c46cf fix: force build on this branch for testing
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
a228c4b32a Squashed commit of the following:
commit a1f358b6f0a193be7d3d72fa4082fa09701ebe16
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 11:48:38 2022 -0700

    fix: reneable the res of the build

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 8ed02b09aeb9c302e30023fcbf73c8b5e3bbc8ff
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 11:41:19 2022 -0700

    fix: install qt for tools

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit d68dc29d49f1a2547912fc97867126f4fc6d96c4
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 11:32:07 2022 -0700

    fix: add tex-gyre to texlive install

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit ff654a2a914cd00c867088baf147f8ccd70a185c
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 11:08:46 2022 -0700

    fix: add required latex pkgs

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 1a4babc11c274f69c6c04edddfc5011f9162759e
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 10:17:31 2022 -0700

    fix: install sphinx via pip3

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 4b602b0955fabc2b5067bae46c3408dab0f0dd72
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 10:05:46 2022 -0700

    fix: ensure sphinx is properly installed

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 59ad26f434d6c5391c2448724aa44587c2cf7a46
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 09:59:40 2022 -0700

    feat: install scheme-basic texlive pkg
    run setup.py in proper dir

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 16cd50307fbd4519fd6ebdc719e78e99eb37d02b
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 09:54:42 2022 -0700

    feat: build manual, translations, and sample project zip

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
682986d9b9 fix: add entitlements
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
b29b6d6eef fix: don't remove the python symlink
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
8a9a52da57 fix: pull the version from the python file
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
faf302c6d8 feat: add github workflow to build for macos
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel
f71afb5732 feat: cleanup build script
use python 3.10
use curl over wget (pre-installed)
ensure enchant is installed
cleanup better to limit app bundle size
fix Info.plist

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
0eb7185d40 feat: add a macos build script
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Veronica Berglyd Olsen
286dbff47b Merge 2.0.3 (#1312) 2023-01-08 19:52:09 +01:00
Veronica Berglyd Olsen
a671878e26 Add build for Ubuntu 23.04 2023-01-08 19:26:37 +01:00
Veronica Berglyd Olsen
5f65819f40 Release 2.0.3 (#1311) 2023-01-08 19:14:54 +01:00
Veronica Berglyd Olsen
ef268dc386 Bump version to 2.0.3 and update changelog and release notes 2023-01-08 19:11:26 +01:00
Veronica Berglyd Olsen
41a0788b4c Update copyright year to 2023 2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen
073a945b8e Update translations 2023-01-08 18:42:28 +01:00
Veronica Berglyd Olsen
90721e244b Fix handling of item with missing parent item (#1309) 2023-01-08 18:23:45 +01:00
Veronica Berglyd Olsen
65bfd20ced Update tests 2023-01-08 18:11:06 +01:00
Veronica Berglyd Olsen
22d761dea3 Improve handling of unexpected project items (#1283) 2023-01-08 17:57:47 +01:00
Veronica Berglyd Olsen
5daf4ed6bc Update status/import label form code (#1308) 2023-01-08 17:30:03 +01:00
Veronica Berglyd Olsen
be1894ab97 Clean up the status/import form code a bit 2023-01-08 17:24:36 +01:00
Veronica Berglyd Olsen
9529a79707 Clear the staus/import form when no item is selected (#1290) 2023-01-08 17:16:27 +01:00
Veronica Berglyd Olsen
f6e5293d8e Fix convert folders and open from outline (#1306) 2023-01-05 23:59:19 +01:00
Veronica Berglyd Olsen
31403b4299 Fix it again, but now also for enter key (#1291) 2023-01-05 23:54:51 +01:00
Veronica Berglyd Olsen
3b9e3762d3 Make sure editor/viewer is visible on open doc request (#1291) 2023-01-05 23:50:27 +01:00
Veronica Berglyd Olsen
748d76dca6 Fix converting folder to file (#1305) 2023-01-05 23:45:48 +01:00
Veronica Berglyd Olsen
7e0e18787f Add a check that a non-new project actually exists (#1301) 2022-12-23 12:34:08 +01:00
Veronica Berglyd Olsen
3b95b2838c Update test and translation file 2022-12-23 12:28:48 +01:00
Veronica Berglyd Olsen
8749321614 Block opening a non-new project in a non-existing location (#1300) 2022-12-23 12:28:30 +01:00
Veronica Berglyd Olsen
12c09b1f6c Update icons and allow custom icon themes (#1299) 2022-12-20 12:56:55 +01:00
Veronica Berglyd Olsen
1664f92cc8 Also allow custom icon themes 2022-12-20 12:50:21 +01:00
Veronica Berglyd Olsen
6c76e31e0b Remove Inkscape meta data from a bunch of icons 2022-12-20 12:32:42 +01:00
Veronica Berglyd Olsen
b7744bbda2 Correct paths for input-none icons (#1297) 2022-12-20 12:25:15 +01:00
Veronica Berglyd Olsen
187a75c99a Update i18n and contributor credits (#1298) 2022-12-20 12:10:31 +01:00
Veronica Berglyd Olsen
670aab5224 Remove redundant CSS 2022-12-20 12:06:14 +01:00
Veronica Berglyd Olsen
1c4256ff4c Make links consistent 2022-12-20 12:03:25 +01:00
Veronica Berglyd Olsen
55e91f08dd Add a credits page to the About dialog 2022-12-20 11:54:45 +01:00
Veronica Berglyd Olsen
c581c774e9 Update credits doc 2022-12-20 11:33:51 +01:00
Veronica Berglyd Olsen
bce5025a66 Update Chinese translation 2022-12-20 10:40:08 +01:00
Veronica Berglyd Olsen
66cc3777dc Release 2.0.2 (#1279) 2022-12-01 23:41:38 +01:00
Veronica Berglyd Olsen
b1def7b568 Release 2.0.2 2022-12-01 23:33:16 +01:00
Veronica Berglyd Olsen
1b177ff5b5 Fix highlighting not updating on prefs change (#1278) 2022-12-01 23:24:36 +01:00
Veronica Berglyd Olsen
594ccd45c7 Fix linux workflow 2022-12-01 23:21:00 +01:00
Veronica Berglyd Olsen
2b0216a398 Changing colouring preferences on the highlighting tab needs to re-init the syntax highlighter (#1274) 2022-12-01 23:12:46 +01:00
Veronica Berglyd Olsen
3fa9c29d7a Populate build functions in new build class 2022-12-01 22:56:24 +01:00
Veronica Berglyd Olsen
25f6234cf0 Add a new module for a document build class 2022-12-01 16:12:25 +01:00
Veronica Berglyd Olsen
347266a9bd Post release fix (#1272) 2022-11-29 17:41:16 +01:00
Veronica Berglyd Olsen
e7bce03be4 Add empty init files to subdirs of main package 2022-11-29 17:22:23 +01:00
Veronica Berglyd Olsen
9d08d83c2c Release 2.0.1 (#1270) 2022-11-29 16:37:29 +01:00
Veronica Berglyd Olsen
e0f7e50b64 Release 2.0.1 2022-11-29 16:28:19 +01:00
Veronica Berglyd Olsen
b57d53adcd Update French translation (#1265) 2022-11-28 21:37:22 +01:00
Veronica Berglyd Olsen
875bde2253 Update French translation 2022-11-28 21:30:45 +01:00
Veronica Berglyd Olsen
e77426f364 Add a icon theme fallback value (#1264) 2022-11-28 21:28:37 +01:00
Veronica Berglyd Olsen
9af6fa062c Add more info on custome themes in the docs 2022-11-28 21:25:48 +01:00
Veronica Berglyd Olsen
6bc59eb7de Make the theme class fall back to typicons lighht icon theme (#1263) 2022-11-28 21:05:34 +01:00
Veronica Berglyd Olsen
49cab9ec29 Use direct imports everywhere (#1262) 2022-11-28 18:31:54 +01:00
Veronica Berglyd Olsen
32d75567e3 Use direct imports everywhere 2022-11-28 18:23:36 +01:00
Veronica Berglyd Olsen
a51f0db6fa Release 2.0 (#1261) 2022-11-28 17:27:38 +01:00
Veronica Berglyd Olsen
09eeb28257 Change the release data to today 2022-11-28 17:25:26 +01:00
Veronica Berglyd Olsen
956172af0c Make a minor change to the release notes 2022-11-28 17:23:24 +01:00
Veronica Berglyd Olsen
35ec8e0f12 Update release notes 2022-11-28 17:12:48 +01:00
Veronica Berglyd Olsen
8390615489 Bumped version and updated changelog 2022-11-28 10:59:41 +01:00
Veronica Berglyd Olsen
df499a9776 Update translations (#1254) 2022-11-28 10:35:38 +01:00
Veronica Berglyd Olsen
e027c4fd4c Update partial translations 2022-11-28 10:33:13 +01:00
Veronica Berglyd Olsen
0dd9f49856 Update completed translations 2022-11-27 17:15:04 +01:00
Veronica Berglyd Olsen
8853c73749 Remove some no longer needed strings from translations 2022-11-27 17:12:18 +01:00
Veronica Berglyd Olsen
9cb97f6a15 Merge branch 'main' into i18n 2022-11-27 17:11:08 +01:00
Veronica Berglyd Olsen
f69641c0f8 Simplify author setting (#1258) 2022-11-27 17:10:29 +01:00
Veronica Berglyd Olsen
1ac6e48c23 Update file format spec 2022-11-27 17:00:36 +01:00
Veronica Berglyd Olsen
a3ad90f419 Update tests 2022-11-27 16:57:11 +01:00
Veronica Berglyd Olsen
e5f04e5234 Reduce number of author entries in project to one 2022-11-27 16:55:54 +01:00
Veronica Berglyd Olsen
9d97e26fc1 Clean up the changelog a bit 2022-11-25 23:10:36 +01:00
Veronica Berglyd Olsen
e84b8d4d1d Fix versions in module docstrings, more 2022-11-25 22:57:05 +01:00
Veronica Berglyd Olsen
d0e4c9f822 Fix versions in module docstrings 2022-11-25 22:43:27 +01:00
Veronica Berglyd Olsen
378a805b02 Update German translation 2022-11-25 22:22:36 +01:00
Veronica Berglyd Olsen
6f465e28e2 Merge branch 'main' into i18n 2022-11-24 15:18:14 +01:00
Veronica Berglyd Olsen
1678cd5e96 Update docs (#1255) 2022-11-24 15:18:03 +01:00
Veronica Berglyd Olsen
44c6c136a2 Update docs, second round 2022-11-24 15:13:46 +01:00
Veronica Berglyd Olsen
5538b04d55 Update completed translations 2022-11-22 22:56:57 +01:00
Veronica Berglyd Olsen
febf67179a Fix minor GUI issues (#1253) 2022-11-22 13:19:12 +01:00
Veronica Berglyd Olsen
0a5fa0d190 Update main language file 2022-11-22 13:06:56 +01:00
Veronica Berglyd Olsen
4fa6329eb6 Fix tests and minor issues 2022-11-22 13:05:05 +01:00
Veronica Berglyd Olsen
3a77228aaa Fix retention of selected item of novel tree in the details panel 2022-11-22 12:54:26 +01:00
Veronica Berglyd Olsen
f26a745d0e Use novel selector for project details 2022-11-22 12:45:10 +01:00
Veronica Berglyd Olsen
55f7a91eaf Add a button to open the novel tree root selector 2022-11-22 12:33:32 +01:00
Veronica Berglyd Olsen
b7373688e7 Add a novel selector class (#1252) 2022-11-18 13:28:35 +01:00
Veronica Berglyd Olsen
1b7814e891 Disable tooltip when novel selector is idsabled 2022-11-18 02:07:30 +01:00
Veronica Berglyd Olsen
039b2095f0 Let the novel selector replace the novel tree label 2022-11-18 02:01:55 +01:00
Veronica Berglyd Olsen
5c7c820fef Add a combo box to novel tree 2022-11-18 01:03:44 +01:00
Veronica Berglyd Olsen
11b6ed87d4 Add the novel selector widget and use it for the outline 2022-11-18 00:44:58 +01:00
Veronica Berglyd Olsen
250a41a84a Move StatusLED class to new components module 2022-11-18 00:19:15 +01:00
Veronica Berglyd Olsen
8c5ab9d626 Update all translation files and add test (#1251) 2022-11-17 17:25:50 +01:00
Veronica Berglyd Olsen
281f878a79 Remove build language part of test as this is already done in workflow 2022-11-17 17:19:40 +01:00
Veronica Berglyd Olsen
77489d22cd Add test coverage of language files 2022-11-17 17:15:39 +01:00
Veronica Berglyd Olsen
fa880f5e2a Update all translation files 2022-11-17 16:40:13 +01:00
Veronica Berglyd Olsen
f014d690ea Add German trannslation (#1033 by @HeyMyian) 2022-11-17 16:25:49 +01:00
Veronica Berglyd Olsen
7ece1123a7 Merge branch 'main' into i18n-de_DE-created 2022-11-17 16:23:14 +01:00
Veronica Berglyd Olsen
ecff40dade Add file format specification (#1249) 2022-11-17 11:01:42 +01:00
Veronica Berglyd Olsen
d13e2531e8 Add a link to the file format spec in the docs (#1012) 2022-11-17 10:58:04 +01:00
Veronica Berglyd Olsen
47d2c20bfd Move the file format spec document into the source code 2022-11-17 10:57:19 +01:00
Veronica Berglyd Olsen
18c3e9851e Update docs for 2.0 (#1248) 2022-11-16 23:07:30 +01:00
Veronica Berglyd Olsen
308a1649a5 Update docs project section 2022-11-16 23:04:35 +01:00
Veronica Berglyd Olsen
09c414c991 Update docs usage section 2022-11-16 16:17:22 +01:00
Veronica Berglyd Olsen
af7b46f714 Update docs introduction section 2022-11-16 15:59:21 +01:00
Veronica Berglyd Olsen
9a20eab1b2 Update docs, index and build, and rename viewsbar to sidebar 2022-11-16 15:58:52 +01:00
Veronica Berglyd Olsen
444c168da5 Update closing project procedure, and editor scrolling (#1247) 2022-11-16 11:28:47 +01:00
Veronica Berglyd Olsen
61ab597499 Make go to line in editor work consistently with auto-scrolling 2022-11-16 11:21:16 +01:00
Veronica Berglyd Olsen
62cf9b6184 Sort out status leds and project closing (#1237) 2022-11-16 11:20:40 +01:00
Veronica Berglyd Olsen
9f4b9a4dde Update workflow actions (#1246) 2022-11-16 00:00:54 +01:00
Veronica Berglyd Olsen
af991eb31b Update actions for syntax workflow 2022-11-15 23:43:43 +01:00
Veronica Berglyd Olsen
e6267f32b2 Merge branch 'main' into actions 2022-11-15 23:43:17 +01:00
Veronica Berglyd Olsen
c83b36acfa Set a max column width for novel tree extra column (#1245) 2022-11-15 23:41:38 +01:00
Veronica Berglyd Olsen
b7f99ec95f Update workflow actions 2022-11-15 23:41:04 +01:00
Veronica Berglyd Olsen
1e2920641d Force a max width of extra column in novel view (#1238) 2022-11-15 23:27:54 +01:00
Veronica Berglyd Olsen
a15d25370e Improve project tree iterator 2022-11-15 21:49:15 +01:00
Veronica Berglyd Olsen
7ce2fd29a6 Improve document navigation (#1243) 2022-11-15 17:00:27 +01:00
Veronica Berglyd Olsen
e0ca2e7fb5 Update tests and remove unused functions in viewer 2022-11-15 16:50:41 +01:00
Veronica Berglyd Olsen
a2ea7b40e2 Don't reload document if opening the same (#1242) 2022-11-15 16:49:59 +01:00
Veronica Berglyd Olsen
6560594c49 Fix scrolling when moving to a specific line in editor (#1239) 2022-11-15 16:48:46 +01:00
Veronica Berglyd Olsen
c095cc4bf0 Auto-update novel item meta (#1241) 2022-11-14 20:25:03 +01:00
Veronica Berglyd Olsen
8dbaa6bbd9 Remove no longer needed index function 2022-11-14 18:59:47 +01:00
Veronica Berglyd Olsen
ebc6654069 Improve how the novel tree is refreshed 2022-11-14 18:45:36 +01:00
Veronica Berglyd Olsen
992ed4f36c Update tests 2022-11-14 17:56:31 +01:00
Veronica Berglyd Olsen
b0a0ca089f Rewrite index class to use sequential title keys rather than line numbers 2022-11-14 16:59:51 +01:00
Veronica Berglyd Olsen
e52d8d9ff7 Add novel tree method to refresh metadata for item 2022-11-14 16:59:04 +01:00
Veronica Berglyd Olsen
827ae921a4 Merge branch 'main' into i18n-de_DE-created 2022-11-13 10:52:13 +01:00
Veronica Berglyd Olsen
e9b603d5a5 Release 2.0 RC 2 (#1231) 2022-11-13 10:06:39 +01:00
Veronica Berglyd Olsen
d93b3aa79f Always save project when closing 2022-11-12 18:59:09 +01:00
Veronica Berglyd Olsen
9b6ba891a4 Merge branch 'main' into release_2.0rc2 2022-11-12 18:30:00 +01:00
Veronica Berglyd Olsen
8a9b79abd0 Improve tree class and auto-rebuild index (#1236) 2022-11-12 18:29:49 +01:00
Veronica Berglyd Olsen
d4d23a140f Update changelog 2022-11-12 18:29:20 +01:00
Veronica Berglyd Olsen
e7ce13f647 Rebuild index when opdating project (#1235) 2022-11-12 18:23:13 +01:00
Veronica Berglyd Olsen
74d71f24ca Improve the setOrder method in the NWTree class, and improve tests 2022-11-12 18:22:30 +01:00
Veronica Berglyd Olsen
a1213f1e84 Rename class project variable 2022-11-12 13:08:55 +01:00
Veronica Berglyd Olsen
36cf5c1d76 Merge new changes and update changelog 2022-11-11 17:24:04 +01:00
Veronica Berglyd Olsen
fd85770d4d Merge branch 'main' into release_2.0rc2 2022-11-11 17:22:20 +01:00
Veronica Berglyd Olsen
116ebd8243 Update Config and NWItem class (#1232) 2022-11-11 17:21:32 +01:00
Veronica Berglyd Olsen
612034f6be Make the item class non-dynamic, and cache formatting vars in editor 2022-11-11 17:09:03 +01:00
Veronica Berglyd Olsen
b05028e3c9 Split up the storage of quote symbols in config 2022-11-11 12:50:36 +01:00
Veronica Berglyd Olsen
495209cd1a Fix tests of XML files and version number (again) 2022-11-11 12:16:03 +01:00
Veronica Berglyd Olsen
402cb09bb6 Fix tests of XML files and version number 2022-11-10 18:26:08 +01:00
Veronica Berglyd Olsen
dbfda1e680 Update Norwegian and US English 2022-11-10 18:17:51 +01:00
Veronica Berglyd Olsen
b03b723d25 Update i18n file 2022-11-10 18:01:13 +01:00
Veronica Berglyd Olsen
5a8e8b2221 Release 2.0 RC 2 2022-11-10 17:58:13 +01:00
Veronica Berglyd Olsen
6a664037cf Block toolbars when there is no project (#1230) 2022-11-10 17:11:32 +01:00
Veronica Berglyd Olsen
f556fde848 Make some minor code fixes 2022-11-10 17:04:12 +01:00
Veronica Berglyd Olsen
bbc5be0075 Disable toolbars when no project is open 2022-11-10 16:32:17 +01:00
Veronica Berglyd Olsen
b587ab638c Make further config class updates (#1229) 2022-11-10 13:37:09 +01:00
Veronica Berglyd Olsen
a1ddc6ce1d Fix test file comparison filters 2022-11-10 13:24:13 +01:00
Veronica Berglyd Olsen
b46ad86c31 Clean up config file format, modify how projects are launched, and add broken theme setting handling 2022-11-10 13:20:26 +01:00
Veronica Berglyd Olsen
15fec91358 Clean up setters and getters in Config 2022-11-10 09:29:00 +01:00
Veronica Berglyd Olsen
e2f3a44d96 Fix pollution of recent cache from tests 2022-11-09 23:10:30 +01:00
Veronica Berglyd Olsen
eac7d9b9ee Refactor config class, and switch to pathlib (#1228) 2022-11-09 23:03:03 +01:00
Veronica Berglyd Olsen
0c7fdc7013 Fix windows vs posix path issue in test 2022-11-09 22:51:12 +01:00
Veronica Berglyd Olsen
03e173634f Switch to Path objects nearly everywhere 2022-11-09 22:43:48 +01:00
Veronica Berglyd Olsen
cb755ba820 Move recent cache out of config, and update all tests 2022-11-09 20:54:13 +01:00
Veronica Berglyd Olsen
8721d53ab2 Clean up the config class names and methods 2022-11-09 18:47:50 +01:00
Veronica Berglyd Olsen
47b57172eb Change lastPath to a Path object 2022-11-09 18:21:40 +01:00
Veronica Berglyd Olsen
9d3291aba6 Change assetPath to a Path object 2022-11-09 17:44:20 +01:00
Veronica Berglyd Olsen
6792c11a71 Change dataPath to a Path object 2022-11-09 00:25:50 +01:00
Veronica Berglyd Olsen
6f5539de90 Change confPath to a Path object 2022-11-09 00:09:40 +01:00
Veronica Berglyd Olsen
9500c3bdb2 Make some remaining project class bariables private 2022-11-08 23:09:08 +01:00
Veronica Berglyd Olsen
5999e72592 Add a storage class (#1225) 2022-11-08 22:46:50 +01:00
Veronica Berglyd Olsen
0b44cf9c0a Fix issues with variying file order in zip archive 2022-11-08 22:29:54 +01:00
Veronica Berglyd Olsen
f5a3280565 Add test coverage of storage class 2022-11-08 22:19:22 +01:00
Veronica Berglyd Olsen
ee79d3d6d6 Fix tests for core classes 2022-11-08 19:48:06 +01:00
Veronica Berglyd Olsen
b024c0996d Move zipping of project to storage class 2022-11-08 19:25:56 +01:00
Veronica Berglyd Olsen
262a6c36b7 Rename NWDoc class to NWDocument 2022-11-07 22:51:09 +01:00
Veronica Berglyd Olsen
26f7bb4b32 Change how spel checking and booleans in general are saved in the XML 2022-11-07 22:46:30 +01:00
Veronica Berglyd Olsen
42f2bf3628 Merge branch 'main' into storage_class 2022-11-07 12:24:19 +01:00
Veronica Berglyd Olsen
6f6fe876e2 Fix parameter missing in Python 3.7 2022-11-07 10:45:53 +01:00
Veronica Berglyd Olsen
615ee2958a Remove project path attribute from project class 2022-11-06 00:39:30 +01:00
Veronica Berglyd Olsen
a75424e44b Use storage class to return document objects 2022-11-06 00:29:43 +01:00
Veronica Berglyd Olsen
76a1421fde Remove project content attribute from project class 2022-11-06 00:15:24 +01:00
Veronica Berglyd Olsen
972ed25a8c Remove project cache attribute from project class 2022-11-05 23:33:50 +01:00
Veronica Berglyd Olsen
21ab4e58f9 Remove project meta attribute from project class 2022-11-05 23:29:25 +01:00
Veronica Berglyd Olsen
82b34d9d2c Move lock file code to storage class 2022-11-05 22:14:33 +01:00
Veronica Berglyd Olsen
9cdf840d12 Make some minor improvements to the xml reader 2022-11-05 21:37:10 +01:00
Veronica Berglyd Olsen
72cc0cf0aa Add project file format 1.5 2022-11-05 21:13:18 +01:00
Veronica Berglyd Olsen
c6d3f680cc Add a UUID to projects 2022-11-05 17:03:45 +01:00
Veronica Berglyd Olsen
8b4dac4e13 Split project data class back into a separate file 2022-11-05 16:24:57 +01:00
Veronica Berglyd Olsen
783a849e09 Remove the old legacy format code 2022-11-05 16:19:19 +01:00
Veronica Berglyd Olsen
407e7fa69e Add storage code to handle projecty structure and old projects 2022-11-05 16:15:26 +01:00
Veronica Berglyd Olsen
2b8d51035d Fix version requirements in debian build file 2022-11-03 23:48:30 +01:00
Veronica Berglyd Olsen
2e590b742f Move new project tool to core tools (resolves #1152) 2022-11-03 23:47:51 +01:00
Veronica Berglyd Olsen
bd81ea0880 Make project xml class and tests use pathlib instead of os 2022-11-03 22:17:25 +01:00
Veronica Berglyd Olsen
dfd9e15951 Use storage class to open and save project XML 2022-11-03 21:51:56 +01:00
Veronica Berglyd Olsen
96b011cf70 Rename doctools module to coretools 2022-11-03 21:41:57 +01:00
Veronica Berglyd Olsen
3eee8442a7 Make packing and unpacking item data consistent 2022-11-03 17:30:54 +01:00
Veronica Berglyd Olsen
da4f4b0801 Add prototyype storage class 2022-11-01 22:58:12 +01:00
Veronica Berglyd Olsen
717d516f6a Delegate responsibility for the index to the project class 2022-11-01 22:32:29 +01:00
Veronica Berglyd Olsen
e85bd56f60 Auto-open first document (#1223) 2022-11-01 19:23:35 +01:00
Veronica Berglyd Olsen
a2f92c1223 Auto-open first document on new project (#1219) 2022-11-01 19:15:32 +01:00
Veronica Berglyd Olsen
9dd1a60629 Fix bug with active icon on item details panel 2022-11-01 19:11:38 +01:00
Veronica Berglyd Olsen
5abc9784f1 Refactor project XML handling (#1221) 2022-11-01 18:44:59 +01:00
Veronica Berglyd Olsen
f1100d4475 Remove minimal project from test suite 2022-11-01 18:32:29 +01:00
Veronica Berglyd Olsen
494b94430c Fix tests broken by xml rewrite 2022-11-01 18:31:03 +01:00
Veronica Berglyd Olsen
5b7f2b2b55 Add test coverage of the project xml class 2022-11-01 17:14:57 +01:00
Veronica Berglyd Olsen
f41db97860 Clean up the content loading 2022-11-01 13:36:22 +01:00
Veronica Berglyd Olsen
0cfaf4f021 Drop the total word count value in the XML and rewrite how counts are handled 2022-11-01 12:21:16 +01:00
Veronica Berglyd Olsen
6fd7107675 Remove pre-generatiopn of status and importance items 2022-10-31 23:18:16 +01:00
Veronica Berglyd Olsen
a88a2f5b40 Change file format to save dictionaries consistently 2022-10-31 22:37:05 +01:00
Veronica Berglyd Olsen
13b9e5a434 Move project data class to project file 2022-10-31 21:25:40 +01:00
Veronica Berglyd Olsen
a760aff826 Complete the xml writer class 2022-10-31 20:05:20 +01:00
Veronica Berglyd Olsen
3a161e90f9 Complete loading project xml via data class 2022-10-31 18:11:46 +01:00
Veronica Berglyd Olsen
522acc479b Move status and importance to data class 2022-10-31 17:01:50 +01:00
Veronica Berglyd Olsen
cc2ef85afd CHange how current word counts are handled 2022-10-31 16:19:31 +01:00
Veronica Berglyd Olsen
9d283d2eae Move all remaining trivial project settings to the data class 2022-10-31 15:55:33 +01:00
Veronica Berglyd Olsen
aeef8734b8 Move the remaining project meta settings to project data class 2022-10-31 00:28:10 +01:00
Veronica Berglyd Olsen
192806a46d Fix or disable broken tests 2022-10-30 23:55:58 +01:00
Veronica Berglyd Olsen
e887ec6991 Move project name to project data class 2022-10-30 23:18:18 +01:00
Veronica Berglyd Olsen
ea80fd3c71 Complete the XML parsing 2022-10-30 22:51:31 +01:00
Veronica Berglyd Olsen
6d1734b655 Merge branch 'main' into xml_rw_class 2022-10-30 19:40:12 +01:00
Veronica Berglyd Olsen
72f06620e9 Add version and build info to AppImage build (#1218) 2022-10-30 17:59:08 +01:00
Veronica Berglyd Olsen
aa963dea3d Add version and build info to AppImage build (#1182) 2022-10-30 17:55:38 +01:00
Veronica Berglyd Olsen
16e7df0526 Allow moving split document to trash (#1217) 2022-10-30 17:21:29 +01:00
Veronica Berglyd Olsen
4d5c1b2455 Update split document tests 2022-10-30 17:14:28 +01:00
Veronica Berglyd Olsen
c1988bcc17 Fix bug where split document loses status or importance 2022-10-30 17:07:24 +01:00
Veronica Berglyd Olsen
1784d9ce28 Add move to trash switch on split dialog and processing (#1179) 2022-10-30 17:03:52 +01:00
Veronica Berglyd Olsen
15fd4c51df Fix bug with missing icons in outline view 2022-10-30 16:58:10 +01:00
Veronica Berglyd Olsen
fd92f1c588 Update active/inactive and status/importance icons (#1216) 2022-10-30 15:31:03 +01:00
Veronica Berglyd Olsen
80496ab1ed Improve active/inactive icons again 2022-10-30 15:16:39 +01:00
Veronica Berglyd Olsen
dbade05e46 Generate nicer status icons 2022-10-30 02:33:00 +02:00
Veronica Berglyd Olsen
e80536405e Replace active status icons in project tree 2022-10-30 01:21:07 +02:00
Veronica Berglyd Olsen
ea59379479 Add new checkbox icons 2022-10-30 01:20:31 +02:00
Veronica Berglyd Olsen
18878dd19b Change how item data is stored in the project tree 2022-10-29 17:55:45 +02:00
Veronica Berglyd Olsen
309a58cb18 Fix missing synopsis action in main window 2022-10-29 01:36:31 +02:00
Veronica Berglyd Olsen
64fbc2f4e9 Add format and insert features (#1214) 2022-10-29 01:33:42 +02:00
Veronica Berglyd Olsen
dcb473137b Update documentation and test with synopsis insert feature 2022-10-29 01:26:58 +02:00
Veronica Berglyd Olsen
3a90ee2b0d Add insert menu entry for synopsis comment (#1177) 2022-10-29 01:26:26 +02:00
Veronica Berglyd Olsen
dc401278fb Update tests 2022-10-29 01:05:41 +02:00
Veronica Berglyd Olsen
33eb3efb11 Remove restriction on formatting empty block (#1178) 2022-10-29 01:05:33 +02:00
Veronica Berglyd Olsen
6d15bc5f14 Fix help text in Preferences 2022-10-29 00:56:39 +02:00
Veronica Berglyd Olsen
04c4b9eda5 Update theme system (#1212) 2022-10-29 00:50:26 +02:00
Veronica Berglyd Olsen
4a9ea459fa Make some minor changes and update test coverage 2022-10-29 00:38:32 +02:00
Veronica Berglyd Olsen
9b1c3fece2 Update default themes and remove custom style sheet feature 2022-10-28 23:50:52 +02:00
Veronica Berglyd Olsen
f76fc95494 Complete coverage of themes classes 2022-10-28 23:26:25 +02:00
Veronica Berglyd Olsen
42f5ea205f Clean up GUI tests 2022-10-28 22:15:54 +02:00
Veronica Berglyd Olsen
28916afcce Add test coverage of GUI theme 2022-10-28 00:00:57 +02:00
Veronica Berglyd Olsen
34193021e8 Simplify the themes class a bit 2022-10-27 23:47:29 +02:00
Veronica Berglyd Olsen
c7999831c9 Remove icon setting from config, and let the theme control it 2022-10-26 22:01:04 +02:00
Veronica Berglyd Olsen
8d7ebefa65 Fix updating syntax colours (#1171) 2022-10-25 23:56:07 +02:00
Veronica Berglyd Olsen
88183cdc39 Add updateTheme functions to remaining GUI components 2022-10-25 23:42:43 +02:00
Veronica Berglyd Olsen
52ede26f3d Add updateTheme functions to most GUI components 2022-10-25 23:12:21 +02:00
Veronica Berglyd Olsen
e1ecd3cd27 Fix some code linter complaints in doc editor 2022-10-25 22:01:44 +02:00
Veronica Berglyd Olsen
25c4330fd0 Make icon theme a part of the GUI theme (solves #1172) 2022-10-25 21:27:55 +02:00
Veronica Berglyd Olsen
80ae810e1b Merge 1.6.6 (#1211) 2022-10-25 18:55:52 +02:00
Veronica Berglyd Olsen
719c2aada2 Merge branch 'main' into merge_1.6.6 2022-10-25 18:49:28 +02:00
Veronica Berglyd Olsen
f2e3d95e98 Merge branch 'main' into merge_1.6.6 2022-10-25 18:47:36 +02:00
Veronica Berglyd Olsen
c22354fe4d Release 1.6.6 (#1210) 2022-10-25 18:29:06 +02:00
Veronica Berglyd Olsen
4862ac3857 Bump the version number and update the changelog 2022-10-25 18:26:37 +02:00
Veronica Berglyd Olsen
e93e125a46 Allow lookup of tags with spaces (#1209) 2022-10-25 18:19:19 +02:00
Veronica Berglyd Olsen
dc0f9abdbc Fix lookup of tags with spaces (#1195) 2022-10-25 18:12:29 +02:00
Veronica Berglyd Olsen
455a065285 Updates to status and importance feature (#1207) 2022-10-25 17:18:45 +02:00
Veronica Berglyd Olsen
8b3ec4376d Merge branch 'main' into status_import 2022-10-25 17:12:37 +02:00
Veronica Berglyd Olsen
b69e4e91ac Add Python 3.11 (#1208) 2022-10-25 17:11:21 +02:00
Veronica Berglyd Olsen
a5cbaa7f8c Update requirements and add Python 3.11 to CI 2022-10-25 16:58:46 +02:00
Veronica Berglyd Olsen
b0095b266d Add checkmark for current active status or iumportance value (#1202) 2022-10-25 16:19:25 +02:00
Veronica Berglyd Olsen
7b04d57605 Refactor project settings test 2022-10-25 15:48:29 +02:00
Veronica Berglyd Olsen
2ee6adcf35 Clean up function mappings in project tree class 2022-10-25 15:47:40 +02:00
Veronica Berglyd Olsen
e89f004532 Add a manage labels option to project tree context menu (#1203) 2022-10-25 12:20:18 +02:00
Veronica Berglyd Olsen
624787994a Refactor the projhect tree context menu code 2022-10-25 08:17:18 +02:00
Veronica Berglyd Olsen
550896e795 Merge branch 'main' into xml_rw_class 2022-10-21 10:24:00 +02:00
Veronica Berglyd Olsen
2f926301e6 Update wizard custom page functionality (#1201) 2022-10-20 23:10:18 +02:00
Veronica Berglyd Olsen
34dbf3557c Turn off generating notes if all notes folders are off in the new project wizard (#1192) 2022-10-20 23:00:52 +02:00
Veronica Berglyd Olsen
ae856dda6a Rename exported status to active status (#1200) 2022-10-20 22:48:57 +02:00
Veronica Berglyd Olsen
871cef8af9 Add tooltip to active status icons and update build tool 2022-10-20 22:37:42 +02:00
Veronica Berglyd Olsen
6b16b7c3b7 Rename project file attribute 2022-10-20 18:28:32 +02:00
Veronica Berglyd Olsen
93a79f3605 Rename the access metods of the item class from exported to active 2022-10-20 18:14:40 +02:00
Veronica Berglyd Olsen
5ae96e4d44 Fix various issues in the code (#1197) 2022-10-20 12:30:00 +02:00
Veronica Berglyd Olsen
85e48eb56a Fix a few minor typing issues 2022-10-20 12:14:09 +02:00
Veronica Berglyd Olsen
58f8f98c6f Use constants for project and config file names 2022-10-20 12:13:29 +02:00
Veronica Berglyd Olsen
1da92e997c Fix project tree context menu labels (#1199) 2022-10-20 09:12:31 +02:00
Veronica Berglyd Olsen
734f3d57bf Rename statusBar to mainStatus in main GUI due to conflict with Qt method (#1190) 2022-10-20 00:26:18 +02:00
Veronica Berglyd Olsen
6a6742275f Clean up unused part of header check function in doc editor 2022-10-20 00:22:09 +02:00
Veronica Berglyd Olsen
815c0f1125 Add a bunch of None checks, even if many may be redundant 2022-10-20 00:21:51 +02:00
Veronica Berglyd Olsen
cfe11f7b54 Make the common module a little simpler 2022-10-19 22:10:23 +02:00
Veronica Berglyd Olsen
efb7d12e1d Remove verbose logging (#1191) 2022-10-19 16:21:23 +02:00
Veronica Berglyd Olsen
caf8a75bbc Fix a couple of issues discovered by pylance 2022-10-19 12:06:57 +02:00
Veronica Berglyd Olsen
e52f0a9e16 Remove verbose logging implementation 2022-10-19 08:29:02 +02:00
Veronica Berglyd Olsen
8775b360d8 Remove all verbose log entries 2022-10-19 08:27:11 +02:00
Veronica Berglyd Olsen
54fea1d28e Clean up common module, and fix a few typing issues (#1188) 2022-10-19 00:18:07 +02:00
Veronica Berglyd Olsen
c40ace1290 Fix a few weird dictionary lookups in the index 2022-10-19 00:04:31 +02:00
Veronica Berglyd Olsen
f34d95edaa Simplify the setText method of the Tokenizer class 2022-10-18 23:49:48 +02:00
Veronica Berglyd Olsen
ac05dbc55b Fix a potential bug 2022-10-18 23:46:08 +02:00
Veronica Berglyd Olsen
0f72c45fbc Update tests 2022-10-18 23:41:41 +02:00
Veronica Berglyd Olsen
da820871fd Simplify the check functions in common (#1185) and remove the checkIntRange function 2022-10-18 23:41:29 +02:00
Veronica Berglyd Olsen
1aec49f852 Fix missing data path issue when creating themes folders (#1184) 2022-10-18 21:01:23 +02:00
Veronica Berglyd Olsen
33b95b60e3 Fix missing data path issue (#1180) 2022-10-18 20:43:33 +02:00
Veronica Berglyd Olsen
d232b22501 Always index main heading (#1183) 2022-10-17 21:39:28 +02:00
Veronica Berglyd Olsen
6c06845ed5 Drop the error on level tag in index file 2022-10-17 21:31:57 +02:00
Veronica Berglyd Olsen
5f4a171dff Update lipsum test project 2022-10-17 21:18:42 +02:00
Veronica Berglyd Olsen
38df693987 Update tests 2022-10-17 21:15:52 +02:00
Veronica Berglyd Olsen
e24573f644 Clean out main header data in the index and make it set the item's value instead 2022-10-17 20:22:21 +02:00
Veronica Berglyd Olsen
8fe25d4b43 Update classes and functions to use the item as source of main heading instead of index 2022-10-17 20:15:45 +02:00
Veronica Berglyd Olsen
5a4b7b7264 Add a main heading variable to the NWItem class 2022-10-17 20:08:19 +02:00
Veronica Berglyd Olsen
9b5b00fd2d Release 2.0 RC 1 (#1169) 2022-10-17 16:40:08 +02:00
Veronica Berglyd Olsen
d59c408e44 Merge branch 'main' into release_2.0rc1 2022-10-17 13:34:04 +02:00
Veronica Berglyd Olsen
95b6949da8 Update readme with new minimum Qt version 2022-10-15 23:32:30 +02:00
Veronica Berglyd Olsen
b0e2dbf06e Merge branch 'main' into release_2.0rc1 2022-10-15 23:30:43 +02:00
Veronica Berglyd Olsen
0aadb29ac7 Update changelog 2022-10-15 23:29:12 +02:00
Veronica Berglyd Olsen
559a1791e1 Increase minimum Qt version to 5.10 (#1174) 2022-10-15 23:23:47 +02:00
Veronica Berglyd Olsen
f5dcad8725 Update references to Qt version in the docs 2022-10-15 23:14:34 +02:00
Veronica Berglyd Olsen
97724054ec Require at least Qt 5.10 instead 2022-10-15 23:05:43 +02:00
Veronica Berglyd Olsen
30661130ca Ignore coverage of lines of old Qt versions 2022-10-15 22:56:18 +02:00
Veronica Berglyd Olsen
9c16b58325 Fix document editor test 2022-10-15 22:50:07 +02:00
Veronica Berglyd Olsen
aadc576d0a Require at least Qt 5.9 2022-10-15 22:47:18 +02:00
Veronica Berglyd Olsen
84db544704 Update documentation screen shots 2022-10-15 19:59:02 +02:00
Veronica Berglyd Olsen
49bce76c0d Update changelog 2022-10-15 16:21:41 +02:00
Veronica Berglyd Olsen
20945cfc0d Merge branch 'main' into release_2.0rc1 2022-10-15 16:19:59 +02:00
Veronica Berglyd Olsen
05ad483f06 Update i18n (#1170) 2022-10-15 16:19:47 +02:00
Veronica Berglyd Olsen
98e014f834 Update translations for Norwegian and US English 2022-10-15 16:10:18 +02:00
Veronica Berglyd Olsen
e316270b57 Update base translation file 2022-10-15 16:09:59 +02:00
Veronica Berglyd Olsen
4fe34640f5 Bump version to 2.0 RC 1 and update changelog 2022-10-15 12:13:14 +02:00
Veronica Berglyd Olsen
ca613e83e8 Add a root folder filter to the Build Tool (#1168) 2022-10-14 22:55:09 +02:00
Veronica Berglyd Olsen
72e1180c84 Add a root folder filter to the build tool 2022-10-14 22:41:58 +02:00
Veronica Berglyd Olsen
a582d231e8 Make some minor GUI tweaks (#1167) 2022-10-14 22:16:44 +02:00
Veronica Berglyd Olsen
11ff9567c0 Make the novel combo box on project details always visible 2022-10-14 21:49:42 +02:00
Veronica Berglyd Olsen
64c07e8910 Change a few tooltip labels and remove focus mode checkbox in menu 2022-10-14 21:45:58 +02:00
Veronica Berglyd Olsen
6f257d9b27 Use the main menu entries in the view bar settings menu 2022-10-14 20:47:01 +02:00
Veronica Berglyd Olsen
928c25e742 Fix circular imports (#1166) 2022-10-14 19:45:05 +02:00
Veronica Berglyd Olsen
3c49ccff53 Move the custom gui module to the root of the project 2022-10-14 19:34:37 +02:00
Veronica Berglyd Olsen
5aa5640baa Make all imports in tests explicit 2022-10-14 19:25:21 +02:00
Veronica Berglyd Olsen
91961111d8 Add Quick Links to the Project Tree (#1165) 2022-10-14 17:43:23 +02:00
Veronica Berglyd Olsen
5fcfbf1c75 Add shortcut to docs, and fix broken link 2022-10-14 17:35:10 +02:00
Veronica Berglyd Olsen
77ec0a9eed Add a quick links dropdown menu to the project tree (#1137) 2022-10-14 17:30:28 +02:00
Veronica Berglyd Olsen
bbbad2b170 Add bookmark icon 2022-10-14 17:29:07 +02:00
Veronica Berglyd Olsen
505385b060 Update icons (#1164) 2022-10-14 10:31:25 +02:00
Veronica Berglyd Olsen
07a5def0a9 Change project details to use decoration graphics rather than icons, and delete the no longer used header icons 2022-10-14 10:20:30 +02:00
Veronica Berglyd Olsen
91e6b0671e Add header decoration function to the icon class 2022-10-14 10:19:31 +02:00
Veronica Berglyd Olsen
234a527f25 Add icon for Novel Section documents 2022-10-14 09:40:34 +02:00
Veronica Berglyd Olsen
845a15229d Remove unused icons 2022-10-14 09:37:50 +02:00
Veronica Berglyd Olsen
ab482c4ede Rewrite Split Tool (#1154) 2022-10-14 00:00:16 +02:00
Veronica Berglyd Olsen
d619f4a012 Add test coverage of splitter function in project tree 2022-10-13 23:48:52 +02:00
Veronica Berglyd Olsen
84af87b155 Add test for document splitter 2022-10-13 19:01:06 +02:00
Veronica Berglyd Olsen
3f4d85dcad Rewrite test for split dialog 2022-10-13 18:18:08 +02:00
Veronica Berglyd Olsen
02976c5f12 Add remaining logic to document splitter, and fix bug in recursive permanet delete 2022-10-13 17:11:43 +02:00
Veronica Berglyd Olsen
049190739f Merge branch 'main' into split_tool 2022-10-13 14:57:24 +02:00
Veronica Berglyd Olsen
e11137a90f Merge 1.6.5 (#1160) 2022-10-13 11:14:02 +02:00
Veronica Berglyd Olsen
28ae292703 Merge branch 'main' into merge_1.6.5 2022-10-13 11:07:24 +02:00
Veronica Berglyd Olsen
0e94b1ca88 Patch 1.6.5 (#1159) 2022-10-13 10:47:22 +02:00
Veronica Berglyd Olsen
dbf672224f Bump version to 1.6.5 and update changelog 2022-10-13 10:44:08 +02:00
Veronica Berglyd Olsen
1001140eec Fix preferences dialog window size issue #989 2022-10-13 10:25:38 +02:00
Veronica Berglyd Olsen
038c66258b Backport fix for #1150 2022-10-13 10:24:00 +02:00
Veronica Berglyd Olsen
bb8b0555ae Backport fix for #1149 2022-10-13 10:22:31 +02:00
Veronica Berglyd Olsen
1421ed3bf4 Turn off the old splitter tool test 2022-10-12 23:44:15 +02:00
Veronica Berglyd Olsen
31a5761ba0 Add the core code for the DocSplitter tool 2022-10-12 23:39:56 +02:00
Veronica Berglyd Olsen
baafd5f83c Rewrite the GuiDocSplit dialog 2022-10-12 22:36:06 +02:00
Veronica Berglyd Olsen
4f44374f48 Remove menu entry for split document 2022-10-11 23:41:39 +02:00
Veronica Berglyd Olsen
7403736ae1 Fix minor issues and clean up class inits (#1153) 2022-10-11 23:35:31 +02:00
Veronica Berglyd Olsen
9a0bda9884 Fix tab parents on settings dialogs 2022-10-11 23:27:45 +02:00
Veronica Berglyd Olsen
84104f2267 Include missing file from last commit 2022-10-11 23:18:37 +02:00
Veronica Berglyd Olsen
5d6778be57 Clean up class initialisation 2022-10-11 23:17:58 +02:00
Veronica Berglyd Olsen
1f05e90266 Remove the context menu in the main window (#1147) 2022-10-11 22:49:36 +02:00
Veronica Berglyd Olsen
3a7c3cec3f Reset idle time when creating a new project (#1149) 2022-10-11 22:44:06 +02:00
Veronica Berglyd Olsen
e8f7df9cb4 Add Shift+Enter to auto-replace (#1151) 2022-10-11 22:35:24 +02:00
Veronica Berglyd Olsen
9b5d2b2c2b Resolve issue #1150 2022-10-11 22:26:14 +02:00
Veronica Berglyd Olsen
87f20622f9 Rewrite Merge Tool (#1148) 2022-10-11 22:02:26 +02:00
Veronica Berglyd Olsen
417758a29a Add coverage of new function in project class 2022-10-11 21:48:40 +02:00
Veronica Berglyd Olsen
07c93bcb7d Update test coverage 2022-10-11 21:20:03 +02:00
Veronica Berglyd Olsen
b96c1e9f09 Add test coverage of doc tools 2022-10-10 16:35:13 +02:00
Veronica Berglyd Olsen
747a1a212c Make some minor improvements to code and tests 2022-10-10 15:48:45 +02:00
Veronica Berglyd Olsen
428dce3e6e Fix doc merge dialog test 2022-10-09 22:47:36 +02:00
Veronica Berglyd Olsen
02dc7f5fe0 Make a few more improvements to doc merge 2022-10-09 21:40:50 +02:00
Veronica Berglyd Olsen
d9a59bccda Don't allow merging root folders 2022-10-09 21:30:21 +02:00
Veronica Berglyd Olsen
23b73dd936 Update tests for project tree deleting items 2022-10-09 20:49:25 +02:00
Veronica Berglyd Olsen
0859c14581 Remove the old merge document menu entry 2022-10-09 19:23:55 +02:00
Veronica Berglyd Olsen
2bda53e971 Split up the project tree deleteItem function 2022-10-09 19:21:05 +02:00
Veronica Berglyd Olsen
0f3d598f8d Implement nre doc merge functionality in tree 2022-10-09 17:19:01 +02:00
Veronica Berglyd Olsen
e1c3a12d07 Redesign the Document Merge dialog box 2022-10-09 15:30:02 +02:00
Veronica Berglyd Olsen
43bb5aab5c Rename 1.7 to 2.0 (#1146) 2022-10-06 09:15:48 +02:00
Veronica Berglyd Olsen
b80f5ba057 Rename 1.7 to 2.0 2022-10-06 09:10:58 +02:00
Veronica Berglyd Olsen
9c381c40a5 Remove existing space when auto-inserting space (#1131) 2022-10-01 23:13:07 +02:00
Veronica Berglyd Olsen
47c39e68b7 Remove the no longer needed changes to the test 2022-10-01 22:44:11 +02:00
Veronica Berglyd Olsen
a24d37ffa4 Simplify the auto-insert space check code as this is efficient enough 2022-10-01 22:41:18 +02:00
Veronica Berglyd Olsen
03db815723 Update test coverage 2022-10-01 22:35:26 +02:00
Veronica Berglyd Olsen
1aeb66d9af Make sure existing space is stripped before inserting non-breaking space (#1061) 2022-10-01 22:35:00 +02:00
Veronica Berglyd Olsen
3efbc14d97 Update Project Details for multi-novel projects (#1130) 2022-10-01 22:11:21 +02:00
Veronica Berglyd Olsen
534614d037 Add a root folder combo box to the Project Details dialog 2022-10-01 22:02:24 +02:00
Veronica Berglyd Olsen
479478490e Update the index to generate a ToC for a specific root folder 2022-10-01 22:02:00 +02:00
Veronica Berglyd Olsen
f4eed2bf2c Add Expand/Collapse All functionality to project tree (#1129) 2022-10-01 21:25:19 +02:00
Veronica Berglyd Olsen
ba51fb4c46 Add Expand/Collapse All functionality to project tree 2022-10-01 21:17:47 +02:00
Veronica Berglyd Olsen
bdc7e4dc10 Convert folder to document or note (#1128) 2022-10-01 20:42:43 +02:00
Veronica Berglyd Olsen
25dec2ace8 Add test coverage of convert folder feature 2022-10-01 20:32:47 +02:00
Veronica Berglyd Olsen
7d99d6c40b Merge branch 'main' into convert_folder 2022-10-01 19:06:52 +02:00
Veronica Berglyd Olsen
ba88160deb Rough framework for XML reader/writer classes 2022-09-29 20:07:52 +02:00
Veronica Berglyd Olsen
08289d0675 Merge 1.6.4 (#1121) 2022-09-29 20:05:42 +02:00
Veronica Berglyd Olsen
a64c36221c Fix remaining merge conflict 2022-09-29 20:00:05 +02:00
Veronica Berglyd Olsen
bf2229538e Bring patch 1.6.4 changes into main 2022-09-29 19:59:21 +02:00
Veronica Berglyd Olsen
922d66ff53 Fix typo in release notes and changelog 2022-09-29 19:38:28 +02:00
Veronica Berglyd Olsen
cfb6059027 Add Ubunutu 22.10 to patch build 2022-09-29 19:34:20 +02:00
Veronica Berglyd Olsen
c04715c9ef Release 1.6.4 (#1120) 2022-09-29 19:27:02 +02:00
Veronica Berglyd Olsen
d82c739f01 Release 1.6.4 2022-09-29 19:23:41 +02:00
Veronica Berglyd Olsen
7267490645 Backport fix #1113 2022-09-29 14:33:12 +02:00
Veronica Berglyd Olsen
5adf21e87a Add integration test coverage of insert spaces issue 2022-09-29 14:25:42 +02:00
Veronica Berglyd Olsen
e6b2732281 Fix insert spaces crash (#1118) 2022-09-29 14:11:39 +02:00
Veronica Berglyd Olsen
9c4b3dbc08 Improve the tree change method 2022-09-29 14:09:03 +02:00
Veronica Berglyd Olsen
3d3ac0d05d Allow converting folder to file in project tree (#1071) 2022-09-19 13:33:56 +02:00
Veronica Berglyd Olsen
9434fe2cd7 Fix clipping of cursor due to no document margin (#1113) 2022-09-14 16:57:15 +02:00
Veronica Berglyd Olsen
af55e57ba3 Fix clipping of cursor due to 0 doc margin, issue #1112 2022-09-14 16:48:46 +02:00
Veronica Berglyd Olsen
90fbfc30ad Add Ubuntu 22.10 to setup builds 2022-09-14 13:33:09 +02:00
Veronica Berglyd Olsen
c48d415a9d Update context menu entries in project tree (#1111) 2022-09-11 19:12:49 +02:00
Veronica Berglyd Olsen
874f4f7198 Change a few other project tree context menu labels 2022-09-11 18:51:18 +02:00
Veronica Berglyd Olsen
19c583f615 Fix misleading deletion label in context menu for empty folders 2022-09-11 18:48:15 +02:00
Veronica Berglyd Olsen
76e9c822c9 Make adding new docs smarter (#1110) 2022-09-11 17:40:47 +02:00
Veronica Berglyd Olsen
73b8e3e0fb Use the new item checker functions instead of equal operator 2022-09-11 17:22:46 +02:00
Veronica Berglyd Olsen
5cba10151a Make the add new item feature a little smarter 2022-09-11 17:06:16 +02:00
Veronica Berglyd Olsen
01b66bc62e Add some type and layout checker functions to the item class 2022-09-11 17:04:21 +02:00
Veronica Berglyd Olsen
f14398392a Merge release 1.6.3 into main (#1104) 2022-08-18 22:57:15 +02:00
Veronica Berglyd Olsen
3a7ed1f2f3 Merge branch 'main' into patch_to_main 2022-08-18 22:53:46 +02:00
Veronica Berglyd Olsen
802d1b0132 Improve the build scripts (#1103) 2022-08-18 22:45:43 +02:00
Veronica Berglyd Olsen
d4878525ac Improve the package build pipeline 2022-08-18 22:38:32 +02:00
Veronica Berglyd Olsen
e98e758b5f Fix missing version bump 2022-08-18 22:36:46 +02:00
Veronica Berglyd Olsen
672e3680b7 Release 1.6.3 (#1102) 2022-08-18 20:38:42 +02:00
Veronica Berglyd Olsen
53c1d1b7ee Bumped version and update changelog 2022-08-17 23:49:37 +02:00
Veronica Berglyd Olsen
721d67ac0a Merge patches from 1.6.3 (#1101) 2022-08-17 23:32:43 +02:00
Veronica Berglyd Olsen
2407b61830 Fix typo in docstring and add reference to issue 2022-08-17 23:24:18 +02:00
Veronica Berglyd Olsen
f08345b15e Merge branch 'main' into merge_patches 2022-08-17 23:21:10 +02:00
Veronica Berglyd Olsen
20da33348c Block adding spaces before colon in certain meta data cases (#1099) 2022-08-17 23:09:17 +02:00
Veronica Berglyd Olsen
7e82461aba Fix comment in test 2022-08-17 23:05:26 +02:00
Veronica Berglyd Olsen
fcfe7507d6 Block adding spaces before colon (French language feature) in certain meta data cases 2022-08-17 23:01:03 +02:00
Veronica Berglyd Olsen
90b50fe180 Fix handling of empty spellcheck language string (#1098) 2022-08-17 22:34:45 +02:00
Veronica Berglyd Olsen
3ddbfb061b Make spell ckeck tests run on en_US 2022-08-17 22:29:27 +02:00
Veronica Berglyd Olsen
93194626c7 Add an additional ignore line on main editing test 2022-08-17 22:25:02 +02:00
Veronica Berglyd Olsen
c23a1d224d Install a generic English dictionary on Linux CI 2022-08-17 22:19:32 +02:00
Veronica Berglyd Olsen
2178391bcd Update tests of spell check classes 2022-08-17 21:49:59 +02:00
Veronica Berglyd Olsen
c917fc9c9c Fix issue #1096 and remove a couple of error ourputs 2022-08-17 21:49:41 +02:00
Veronica Berglyd Olsen
15c54224e0 Update the Outline View to be consistent with the Novel Tree (#1094) 2022-08-15 18:09:33 +02:00
Veronica Berglyd Olsen
cc7ae316ad Make some minor changes for consistency between similar classes 2022-08-15 16:08:25 +02:00
Veronica Berglyd Olsen
bf49b1ee50 Merge branch 'main' into outline_updates 2022-07-31 18:55:03 +02:00
Veronica Berglyd Olsen
bb2c78c0f6 Update tests 2022-07-31 18:50:43 +02:00
Veronica Berglyd Olsen
069e3baf67 Add functionality to load and save last selected outline novel, and fix a few inconsistencies 2022-07-31 18:40:16 +02:00
Veronica Berglyd Olsen
b30a4d26ae Appimage Distribution (#1092) 2022-07-15 16:53:37 +02:00
Veronica Berglyd Olsen
338d158bae Make some minor changes to the setup script 2022-07-15 16:39:12 +02:00
Veronica Berglyd Olsen
895beb6aa1 Revert change of spelling from UK to US 2022-07-15 16:36:45 +02:00
Veronica Berglyd Olsen
67aff2550b Change look of outline tree 2022-07-15 14:38:37 +02:00
Rachel Powers
82a5da391f - ensure dist_appimage removed during cleanup
- cleanup
2022-07-08 18:53:01 -07:00
Rachel Powers
3dc4d1443f ensure prefix matching of build-appimage args do not shadow normal setup
move defaults to pyhton 3.10 and manylinux2010 for better compatability
cleanup
2022-07-08 18:40:54 -07:00
Rachel Powers
073a9acfb3 add a method to automate the building of an Appimage package 2022-07-08 15:26:03 -07:00
Rachel Powers
b363259a72 fix spelling 2022-07-08 14:08:13 -07:00
Rachel Powers
211ab290d0 bring .desktop into compliance with Desktop Entry specification 1.1
validated with `desktop-file-validate`
2022-07-08 14:06:56 -07:00
Veronica Berglyd Olsen
f9df358c4f Add the Novel Tree meta data feature (#1088) 2022-06-15 20:46:45 +02:00
Veronica Berglyd Olsen
0d01e108f1 Improve test coverage 2022-06-15 20:37:19 +02:00
Veronica Berglyd Olsen
8c4ecaeee2 Fix tests 2022-06-15 20:01:45 +02:00
Veronica Berglyd Olsen
4fa814a2fa Remove no longer needed config settings, and change default text width 2022-06-15 19:51:13 +02:00
Veronica Berglyd Olsen
bb85232ea7 Add some fixes to keep novel tree active handle up to date 2022-06-15 19:47:04 +02:00
Veronica Berglyd Olsen
469275eea5 Add novel tree highlight of rows of current document 2022-06-15 19:39:07 +02:00
Veronica Berglyd Olsen
ba0ce33cfc Add a tool tip with meta data behind a button on each novel tree item 2022-06-15 19:17:24 +02:00
Veronica Berglyd Olsen
50f299171a Add some convenient tree widget settings to the different trees 2022-06-15 17:33:47 +02:00
Veronica Berglyd Olsen
5c04e79486 Merge branch 'main' into i18n-de_DE-created 2022-06-15 17:18:47 +02:00
Veronica Berglyd Olsen
fb14e978cd Merge branch 'patch' 2022-06-15 17:11:56 +02:00
Veronica Berglyd Olsen
3a455fa1a7 Fix build ODT language, and collapsing of view panel (#1087) 2022-06-15 17:10:35 +02:00
Veronica Berglyd Olsen
ad50ad9b0d Resolve issue #1085 2022-06-15 17:06:18 +02:00
Veronica Berglyd Olsen
7d7c2dba26 Resolve issue #1073 2022-06-15 17:05:48 +02:00
Veronica Berglyd Olsen
0b95804535 Update the novel tree GUI (#1084) 2022-06-15 16:52:42 +02:00
Veronica Berglyd Olsen
6ccbb358b9 Update tests 2022-06-15 16:46:44 +02:00
Veronica Berglyd Olsen
cff464392a Use the indenta decorators of the novel tree to indicate type 2022-06-15 16:15:29 +02:00
Veronica Berglyd Olsen
3a061eec3f Update novel tree menu processing and fix issue with reaload of document 2022-06-15 16:14:28 +02:00
Veronica Berglyd Olsen
538b722bdf Fix tests and a few other bits 2022-06-14 19:33:12 +02:00
Veronica Berglyd Olsen
ea61db9591 Simplify the novel outline tree 2022-06-14 00:14:51 +02:00
Veronica Berglyd Olsen
49ace054bd Make options class handle enums, and add plot column to novel tree 2022-06-12 20:18:24 +02:00
Veronica Berglyd Olsen
8040441757 Allow changing content of last column of the novel tree 2022-06-12 19:59:18 +02:00
Veronica Berglyd Olsen
88b2d61cec Update tests 2022-06-12 17:54:37 +02:00
Veronica Berglyd Olsen
52683d5a21 Add novel tree toolbar and connect actions 2022-06-12 17:47:32 +02:00
Veronica Berglyd Olsen
b3eb276437 Wrap the novel tree in an outer widget 2022-06-12 15:45:39 +02:00
Veronica Berglyd Olsen
ed5c52859d Simplify the conversion of very old project data (#1083) 2022-06-11 23:57:08 +02:00
Veronica Berglyd Olsen
c58868ed39 Simplify the conversion of very old project data 2022-06-11 23:54:20 +02:00
Veronica Berglyd Olsen
5a5a64e3a2 Replace the edit item dialog (#1082) 2022-06-11 18:54:08 +02:00
Veronica Berglyd Olsen
2cc8be5776 Rename the main GUI function for editing an item 2022-06-11 18:48:22 +02:00
Veronica Berglyd Olsen
8d427f40c6 Add a shortcut to open project tree context menu 2022-06-11 18:40:21 +02:00
Veronica Berglyd Olsen
946656f8c5 Add test for edit label dialog 2022-06-11 18:26:41 +02:00
Veronica Berglyd Olsen
37c3bb8cd2 Replace the item editor with the label editor dialog 2022-06-11 18:19:21 +02:00
Veronica Berglyd Olsen
6058423970 Add a new edit label dialog 2022-06-11 18:17:57 +02:00
Veronica Berglyd Olsen
d162be3543 Give main GUI objects better names (#1081) 2022-06-11 16:36:15 +02:00
Veronica Berglyd Olsen
985179bbb9 Rename main theme object 2022-06-11 16:29:49 +02:00
Veronica Berglyd Olsen
db01d85f2e Rename outline components 2022-06-11 15:59:08 +02:00
Veronica Berglyd Olsen
94068e777a Give main GUI elements more identifiable names 2022-06-11 15:49:45 +02:00
Veronica Berglyd Olsen
0181bebd70 Rename ambiguous theParent variable to mainGui 2022-06-11 15:33:32 +02:00
Veronica Berglyd Olsen
b8d557646a Update the Project Tree with major improvements (#1079) 2022-06-11 14:53:45 +02:00
Veronica Berglyd Olsen
025463a28e Improve project tree test coverage 2022-06-11 14:40:03 +02:00
Veronica Berglyd Olsen
f0bef18b63 Re-implement the tree context menu 2022-06-11 13:44:45 +02:00
Veronica Berglyd Olsen
77746f712f Fix inconsistend expand/collapse when tree items are moved 2022-06-11 12:33:37 +02:00
Veronica Berglyd Olsen
ad438e128a Merge branch 'main' into project_tree_updates 2022-06-07 23:41:48 +02:00
Veronica Berglyd Olsen
af39fb98a1 Clean up project tree code and add undo action to the menu 2022-06-07 23:38:17 +02:00
Veronica Berglyd Olsen
ef270bc069 Tweak project toolbar look, and fix shortcuts 2022-06-07 22:38:02 +02:00
Veronica Berglyd Olsen
0909bf7c36 Update code of conduct to v2.1 2022-06-07 10:34:27 +02:00
Veronica Berglyd Olsen
5a6ef5efd3 Add move buttons to project tree toolbar 2022-06-07 00:11:42 +02:00
Veronica Berglyd Olsen
272e7f6e24 Remove redundant menu entries 2022-06-06 22:17:24 +02:00
Veronica Berglyd Olsen
46bb8e5bcc Populate the add button menu in the project widget 2022-06-06 22:03:42 +02:00
Veronica Berglyd Olsen
12a7ec7fe3 Allow the project class to create new files 2022-06-06 22:02:44 +02:00
Veronica Berglyd Olsen
d07f5dc520 Wrap project tree in an outer widget with a toolbar 2022-06-06 15:50:46 +02:00
Veronica Berglyd Olsen
b88cdb7677 Make the project tree columns fixed 2022-06-06 14:11:59 +02:00
Veronica Berglyd Olsen
669eabc7e8 Handle actions in the project tree internally in the class 2022-06-06 13:46:54 +02:00
Veronica Berglyd Olsen
24112f6d8d Merge branch 'main' into i18n-de_DE-created 2022-06-06 13:27:48 +02:00
Veronica Berglyd Olsen
3ff5dfce33 Set build language for Open Document files (#1077) 2022-06-05 22:47:21 +02:00
Veronica Berglyd Olsen
2f81aef0a3 Set build language for Open Document files 2022-06-05 22:42:25 +02:00
Veronica Berglyd Olsen
29739ab210 Update the Outline View panel (#1063)
Add a top level widget that contains the entire Outline View.
Move the details panel code to the outline.py file.
Add a toolbar to the top of the Outline view with a dropdown box to select which Novel folder to view.
Add a refresh button to the tool bar.
Move the context menu for changing columns to a menu button on the tool bar.
Remove the Rebuild Outline and Auto-Update Outline options from the main menu.
2022-06-05 22:34:49 +02:00
Veronica Berglyd Olsen
4d9b94cfe6 Improve test coverage of Outline 2022-06-05 22:31:10 +02:00
Veronica Berglyd Olsen
85f63721e0 Allow showing all novel files in Outline 2022-06-05 18:43:09 +02:00
Veronica Berglyd Olsen
92924b3288 Make the new item function better at guessing header level of new files 2022-06-05 17:41:29 +02:00
Veronica Berglyd Olsen
88976d6800 Streamline how project item changes are reported 2022-06-05 17:25:39 +02:00
Veronica Berglyd Olsen
2873336dce Allow switching between root novel folders 2022-06-05 15:04:04 +02:00
Veronica Berglyd Olsen
de07546e3f Fix tests 2022-06-05 13:41:22 +02:00
Veronica Berglyd Olsen
ac14888e2a Merge branch 'main' into outline_view 2022-06-05 13:36:54 +02:00
Veronica Berglyd Olsen
c28ac37df1 Rewrite index class (#1074)
Rewrites the index class to use objects rather than dictionaries to store indexing information.
Moves the index instance into the main project class instead of the main GUI object.
Makes the project tree and project options classes private to the project class.
2022-06-05 13:21:45 +02:00
Veronica Berglyd Olsen
63068f1018 Add full test coverage of index class 2022-06-05 13:17:24 +02:00
Veronica Berglyd Olsen
22099c1b56 Make some minor improvements to handling of tags and references 2022-06-03 11:07:40 +02:00
Veronica Berglyd Olsen
eed59a96be Make some fixes to the index class, and improve test coverage 2022-05-30 00:28:43 +02:00
Veronica Berglyd Olsen
865acfd7e9 Clean up imports 2022-05-29 19:40:14 +02:00
Veronica Berglyd Olsen
d1b32f1ba1 Move the tags index into a wrapper class 2022-05-29 19:24:41 +02:00
Veronica Berglyd Olsen
77e50a6cee Move the item index into a wrapper class and combine the access functions 2022-05-29 18:58:32 +02:00
Veronica Berglyd Olsen
347d34bf83 Clean up the index code a bit and add index validation 2022-05-29 00:18:48 +02:00
Veronica Berglyd Olsen
94ba7a2f94 Use the new index instead of the old 2022-05-28 21:59:52 +02:00
Veronica Berglyd Olsen
01be8be44f Remove old tagsIndex 2022-05-28 20:16:27 +02:00
Veronica Berglyd Olsen
d584f57a3b Loading of new index now works 2022-05-28 19:45:33 +02:00
Veronica Berglyd Olsen
b5b0074411 Rewritten index storage using classes instead 2022-05-28 18:48:31 +02:00
Veronica Berglyd Olsen
44926a4e9a Also make tree and options properties of the project 2022-05-28 14:33:25 +02:00
Veronica Berglyd Olsen
8bdd09400a Move the project index into the project class 2022-05-28 14:11:58 +02:00
Veronica Berglyd Olsen
8ac30b036a Change how tag links are followed 2022-05-26 12:11:22 +02:00
Veronica Berglyd Olsen
ecc0585c87 Add a toolbar to the Outline view 2022-05-22 23:03:30 +02:00
Veronica Berglyd Olsen
007f2fbff4 Add a menu icon 2022-05-22 22:46:42 +02:00
Veronica Berglyd Olsen
1f66ed3e3b Reduce the list of tag classes in outline view when they are not used 2022-05-22 21:00:49 +02:00
Veronica Berglyd Olsen
eb66b2c175 Merge branch 'main' into outline_view 2022-05-22 18:15:36 +02:00
Veronica Berglyd Olsen
5d86cfb092 Improve GUI look and usability (#1069) 2022-05-22 18:11:25 +02:00
Veronica Berglyd Olsen
b9fcc43ca6 Move highlighting theme setting back to General tab in Preferences 2022-05-22 17:53:46 +02:00
Veronica Berglyd Olsen
3cfc5d9a1a Remove borders from all main GUI widgets 2022-05-22 17:45:54 +02:00
Veronica Berglyd Olsen
25427e8521 Add tooltips to views bar 2022-05-22 17:43:38 +02:00
Veronica Berglyd Olsen
2425af4bfe Add menu to view bar settings, and add build button 2022-05-22 17:00:45 +02:00
Veronica Berglyd Olsen
4a4ed32fe6 Add new view bar icons 2022-05-22 17:00:09 +02:00
Veronica Berglyd Olsen
f7e31bd452 Use "project name" consistently on the GUI 2022-05-22 16:23:49 +02:00
Veronica Berglyd Olsen
adf7357155 Merge branch 'main' into outline_view 2022-05-22 16:19:53 +02:00
Veronica Berglyd Olsen
a541c90690 Add icon name to xdg mime type just in case (#1068) 2022-05-22 15:58:09 +02:00
Veronica Berglyd Olsen
217e184153 Update new project creation (#1067) 2022-05-21 22:22:07 +02:00
Veronica Berglyd Olsen
e14348a05b Fix a few text labels on the wizard 2022-05-21 22:18:16 +02:00
Veronica Berglyd Olsen
78b97ce8fb Remove name as a required parameter for new root folders since no part of the GUI uses it 2022-05-21 22:10:25 +02:00
Veronica Berglyd Olsen
aeaaaaf3af Update test coverage 2022-05-21 21:55:19 +02:00
Veronica Berglyd Olsen
63a3e56cdb Fix ignored lines in XML comparison 2022-05-21 18:15:38 +02:00
Veronica Berglyd Olsen
cea22b6147 Clean up new project creation function 2022-05-21 17:58:47 +02:00
Veronica Berglyd Olsen
06d39ea352 Make tests not depend on minimal project settings 2022-05-21 17:33:58 +02:00
Veronica Berglyd Olsen
b4ea5bc8d0 Update minimal project content 2022-05-21 17:33:36 +02:00
Veronica Berglyd Olsen
ad42a71427 Fix tests 2022-05-21 16:57:09 +02:00
Veronica Berglyd Olsen
46dce17dfe Update new project generation to match wizard 2022-05-21 16:29:41 +02:00
Veronica Berglyd Olsen
7a8c97225b Add a summary page to the wizard 2022-05-21 15:47:21 +02:00
Veronica Berglyd Olsen
5574d8d6c0 Update and clarify the options on the Wizard 2022-05-21 15:11:33 +02:00
Veronica Berglyd Olsen
a166d9a4dd Add a Translation Guidelines section in i18n 2022-05-19 20:04:10 +02:00
Veronica Berglyd Olsen
b863077bfe Make minor changes post 1.7b1 release (#1065) 2022-05-17 20:52:50 +02:00
Veronica Berglyd Olsen
ae2b5d4403 Fix typo and set max width on views bar 2022-05-17 20:22:39 +02:00
Veronica Berglyd Olsen
301d81f987 Update various translation files 2022-05-17 20:22:16 +02:00
Veronica Berglyd Olsen
15f59c1a4e Release 1.7 Beta 1 (#1064) 2022-05-17 18:51:01 +02:00
Veronica Berglyd Olsen
9eaf240674 Release 1.7-beta1 2022-05-17 18:41:01 +02:00
Veronica Berglyd Olsen
a71fa02b0c Sort i18n credits on about and credits doc 2022-05-17 18:40:10 +02:00
Veronica Berglyd Olsen
9add2aaa87 Update the sample project to reflect new functionality 2022-05-17 17:51:40 +02:00
Veronica Berglyd Olsen
a5b2a06f84 Fix tests and add missing methods 2022-05-15 17:56:36 +02:00
Veronica Berglyd Olsen
ca48e37163 Move the outline view into a wrapper widget 2022-05-15 17:45:51 +02:00
Veronica Berglyd Olsen
304d122342 Add valid path check to the New Project Wizard (#1062) 2022-05-15 16:43:43 +02:00
Veronica Berglyd Olsen
7c7e4c2297 Disabled second wizard test on macOS as it too segfaults 2022-05-15 16:39:41 +02:00
Veronica Berglyd Olsen
e2c10f52d2 Disabled wizard test on macOS as it still segfaults 2022-05-15 16:37:09 +02:00
Veronica Berglyd Olsen
c91f19f9f7 Update wizard test coverage 2022-05-15 16:31:51 +02:00
Veronica Berglyd Olsen
1d5c8566d1 Check the sanity of paths during project wizard run (issue #1058) 2022-05-15 15:11:17 +02:00
Veronica Berglyd Olsen
badb768529 Add a "views" toolbar to the main GUI (#1057) 2022-05-14 19:12:02 +02:00
Veronica Berglyd Olsen
d965320b57 Fix broken test 2022-05-14 19:07:34 +02:00
Veronica Berglyd Olsen
096c2dbc83 Add Typicons link to credits 2022-05-14 19:03:51 +02:00
Veronica Berglyd Olsen
88cc4bd5a4 Add new icons for the views bar 2022-05-14 19:00:47 +02:00
Veronica Berglyd Olsen
e8a0a6d5f9 Connect the change of view methods to all relevant actions 2022-05-14 18:27:18 +02:00
Veronica Berglyd Olsen
864b06a0e7 Shift all view changing functionality to the new Views bar 2022-05-10 22:14:35 +02:00
Veronica Berglyd Olsen
ea09a53496 Add the GuiViewsBar class 2022-05-10 20:56:52 +02:00
Veronica Berglyd Olsen
d6ca87868b Add quick delete for empty folders (#1055) 2022-05-08 18:26:25 +02:00
Veronica Berglyd Olsen
14458c7184 Merge branch 'main' into delete_items 2022-05-08 18:23:04 +02:00
Veronica Berglyd Olsen
12cfce758c Force consistency of item settings (#1054) 2022-05-08 18:22:52 +02:00
Veronica Berglyd Olsen
9e9beea83c Fix outdated docstring in project tree class 2022-05-08 18:21:17 +02:00
Veronica Berglyd Olsen
0a5c51ad4b Make deleting empty folders bypass Trash 2022-05-08 18:07:21 +02:00
Veronica Berglyd Olsen
9ee4d1b2cd Reset meta data for folders 2022-05-08 17:52:36 +02:00
Veronica Berglyd Olsen
d833692e27 Merge branch 'main' into item_checks 2022-05-08 17:46:37 +02:00
Veronica Berglyd Olsen
b68280655f Add Mastodon link to main readme and docs 2022-04-28 19:17:16 +02:00
Veronica Berglyd Olsen
1e7d329962 Force conistency of ROOT item settings 2022-04-28 19:04:21 +02:00
Veronica Berglyd Olsen
b35c85e831 Allow deleting non-empty folders (#1048) 2022-04-23 21:44:37 +02:00
Veronica Berglyd Olsen
bb53b2530c Fix error messages when emptying trash 2022-04-23 21:41:14 +02:00
Veronica Berglyd Olsen
9bc7250532 Allow deleting non-empty folders 2022-04-23 21:33:11 +02:00
Veronica Berglyd Olsen
160c3d80f9 Fix the redundant spaces highlight option text in Preferences (#1046) 2022-04-23 20:14:13 +02:00
Veronica Berglyd Olsen
5538c3f995 Merge branch 'main' into issue_1043 2022-04-23 20:03:43 +02:00
Veronica Berglyd Olsen
c7e560ffc5 Allow documents to have child items (#1047) 2022-04-23 20:03:30 +02:00
Veronica Berglyd Olsen
d9e3fd7a01 Make some minor improvements to how expanded status is saved for items 2022-04-23 19:34:40 +02:00
Veronica Berglyd Olsen
732f20a0f1 Fix word count accounting and double click tree expansion 2022-04-23 19:00:11 +02:00
Veronica Berglyd Olsen
a8a34a4a37 Fix drag and drop word propagation 2022-04-23 18:03:03 +02:00
Veronica Berglyd Olsen
821833df8e Fix tests and drop unused function from NWTree class 2022-04-23 17:05:29 +02:00
Veronica Berglyd Olsen
bd5a14b18e Block drag and drop for ROOT items on the widget level, and drop the TRASH item type 2022-04-23 16:57:13 +02:00
Veronica Berglyd Olsen
d96c8ddf85 Remove all restrictions on drag and drop except in ROOT items 2022-04-23 16:21:20 +02:00
Veronica Berglyd Olsen
5cdcda66a5 Update data recursively when moving an item with child items 2022-04-23 16:09:50 +02:00
Veronica Berglyd Olsen
1a47bbaf8c Allow files to have child items 2022-04-23 15:53:14 +02:00
Veronica Berglyd Olsen
64da2793ac Allow file items to save expanded status 2022-04-23 15:38:53 +02:00
Veronica Berglyd Olsen
31fac7bf45 Make the test suite less spammy again 2022-04-23 15:28:26 +02:00
Veronica Berglyd Olsen
147b9a4501 Fix the redundant spaces highlight option text in Preferences: issue #1043 2022-04-23 15:17:20 +02:00
Veronica Berglyd Olsen
b588fdfe1a Use the random generator for item handles (#1044) 2022-04-20 22:00:34 +02:00
Veronica Berglyd Olsen
607f9409d2 Update tests 2022-04-20 21:50:07 +02:00
Veronica Berglyd Olsen
e32eb21fbf Add a mock random number generator for testing 2022-04-20 21:46:53 +02:00
Veronica Berglyd Olsen
8320aab1bf Use the same method to generate item handles as for status keys 2022-04-20 21:44:45 +02:00
Veronica Berglyd Olsen
ca76cb2af3 Make a couple of random, minor fixes 2022-04-20 17:15:55 +02:00
Veronica Berglyd Olsen
e938ea8967 Allow multiple roots of same class (#1031) 2022-04-17 19:35:51 +02:00
Veronica Berglyd Olsen
15ede5e14c Make better use of the new NWItem functions and do some cleanup 2022-04-17 19:15:00 +02:00
Veronica Berglyd Olsen
4eec2926cb Clean up unused code and add more comments 2022-04-17 18:38:25 +02:00
Veronica Berglyd Olsen
3f4356467e Relax moving restrictions in project tree, and improve test coverage of NWItem class 2022-04-17 18:32:22 +02:00
Veronica Berglyd Olsen
50db7fcddb Simplify updating an item after it has been moved 2022-04-17 17:49:47 +02:00
Veronica Berglyd Olsen
d158de5d82 Update test coverage 2022-04-17 17:00:43 +02:00
Veronica Berglyd Olsen
4cfbbf4c68 Remove max folder depth restriction, and simplify adding folders and files in the tree 2022-04-17 14:44:11 +02:00
Veronica Berglyd Olsen
ebee9ff791 Update tests 2022-04-16 20:56:52 +02:00
Veronica Berglyd Olsen
61f5425662 Update new item functions in project class 2022-04-16 20:55:54 +02:00
Veronica Berglyd Olsen
da13fbff08 Merge branch 'main' into multi_root 2022-04-16 18:49:46 +02:00
Veronica Berglyd Olsen
b785128f4c Make status and importance labels sortable again (#1040) 2022-04-16 18:40:10 +02:00
Veronica Berglyd Olsen
3ed74f0b02 Add test coverage of status and importance reordering 2022-04-16 18:35:26 +02:00
Veronica Berglyd Olsen
6aa13e318b Add sorting capability to status and importance labels 2022-04-16 18:17:01 +02:00
Veronica Berglyd Olsen
fd2248de17 Add up and down button icons 2022-04-16 17:44:54 +02:00
Veronica Berglyd Olsen
17c56440f2 Automatic indexing of un-indexed files (#1039)
* Downgrade rebuild index dialog from warning to info
* Don't flag index as broken if file is missing, just add it again
* Fix log warning
* Drop the return value in the index checker
2022-04-16 17:28:28 +02:00
Veronica Berglyd Olsen
b642e4437e Simplify text labels in XML (#1038) 2022-04-16 17:03:44 +02:00
Veronica Berglyd Olsen
2f547033cd Simplify all other strings in main project class 2022-04-16 17:00:08 +02:00
Veronica Berglyd Olsen
72c5a9ee92 Rename some internal variables in the NWItem class 2022-04-16 16:47:57 +02:00
Veronica Berglyd Olsen
048e5faa1f Also simplify item labels, due to XML limitations 2022-04-16 16:44:39 +02:00
Veronica Berglyd Olsen
c9f7fba7dd Re-implement the status and importance flags (#1034) 2022-04-16 16:32:48 +02:00
Veronica Berglyd Olsen
c5f92edaa8 Update the NWProject class test for status and import labels 2022-04-16 16:27:46 +02:00
Veronica Berglyd Olsen
d7a8cb1537 Rewrite NWStatus class tests 2022-04-16 15:38:13 +02:00
Veronica Berglyd Olsen
fedb064b1f Fix other tests 2022-04-16 15:01:55 +02:00
Veronica Berglyd Olsen
cf7e1da96a Fix display text issues in varuious GUI elements 2022-04-16 14:59:59 +02:00
Veronica Berglyd Olsen
e98e942f19 Replace key generator in the NWStatus class 2022-04-16 14:59:25 +02:00
Veronica Berglyd Olsen
ac904ee9fc Update sample project file 2022-04-05 23:15:18 +02:00
Veronica Berglyd Olsen
ddd8b60816 Complete the needed GUI class changes for the new NWStatus class 2022-04-05 23:13:39 +02:00
Veronica Berglyd Olsen
40e7055f16 Rewrite most of the NWStatus class 2022-04-05 22:08:14 +02:00
Veronica Berglyd Olsen
7298e1f438 Add two new utility functions to the common module 2022-04-05 22:07:20 +02:00
Myian
383364b165 Update nw_de_DE.ts 2022-04-05 20:28:27 +02:00
Myian
8e0c42afa9 Update about.py 2022-04-05 20:16:49 +02:00
Veronica K. B. Olsen
9c9408d78a Changing status or importance flags should still update hidden flags 2022-04-05 11:22:41 +02:00
Myian
d1a4fbf3ce Update CREDITS.md 2022-04-04 17:47:29 +02:00
Myian
d28e0743f0 Update about.py 2022-04-04 17:46:56 +02:00
Myian
bf3d89e550 Add files via upload 2022-04-04 17:33:52 +02:00
Veronica Berglyd Olsen
34b5181f34 Merge branch 'main' into multi_root 2022-04-03 22:53:45 +02:00
Veronica Berglyd Olsen
23fd6b815f Save both status and importance flags (#1030)
* Put the status icons in the status object itself
* Allow saving both status and importance values
* Update current tests
* Improve test coverage
* Update sample project file
2022-04-03 22:43:11 +02:00
Veronica Berglyd Olsen
bdde6a2080 Clean up handling of root and class info for items 2022-04-03 17:45:17 +02:00
Veronica Berglyd Olsen
37970bd446 Add root information to project file 2022-04-02 19:43:26 +02:00
Veronica Berglyd Olsen
f9ddcd2f8a Restructure the record of root items in the tree class 2022-04-02 19:13:54 +02:00
Veronica Berglyd Olsen
8ddda4783d Merge branch 'main' into multi_root 2022-04-02 17:42:37 +02:00
Veronica Berglyd Olsen
a04b44d890 Add Lorem Ipsum tool (#1028)
* Add a Lorem Ipsum dialog
* Add the Lorem Ipsum text and insert action
* Add test coverage
2022-04-02 17:41:35 +02:00
Veronica Berglyd Olsen
89558481de Merge branch 'main' into multi_root 2022-04-02 16:03:43 +02:00
Martijn
99cc3635f7 Add Dutch translation (#1027)
* Add @mvdkleijn as translator
* Update about.py
2022-03-23 19:22:44 +01:00
Veronica Berglyd Olsen
6e3262f78e Minor fixes and updates (#1026)
* Make the Tokenizer class an abstract class
* Fix error message when opening non-file project items
2022-03-20 17:00:29 +01:00
Veronica Berglyd Olsen
fbff421de8 Merge 1.6.2 (#1025) 2022-03-20 16:04:18 +01:00
Veronica Berglyd Olsen
cebe20964f Merge branch 'main' into merge_1.6.2 2022-03-20 15:59:12 +01:00
Veronica Berglyd Olsen
203e353e92 Release 1.6.2 (#1024) 2022-03-20 15:44:52 +01:00
Veronica Berglyd Olsen
8c4e5b99fe Only compute shasum of file if it exists (#1023) 2022-03-20 15:22:09 +01:00
Veronica Berglyd Olsen
16ce55ba60 Make sure empty files are indexed (#1022)
* Make sure also empty files are indexed
* Update comments
2022-03-20 15:09:46 +01:00
Veronica Berglyd Olsen
a2d33e9672 Merge 1.6.1 (#1019) 2022-03-16 23:15:39 +01:00
Veronica Berglyd Olsen
6317202626 Merge branch 'main' into merge_1.6.1 2022-03-16 23:11:59 +01:00
Veronica Berglyd Olsen
4cbbae6d2f Release 1.6.1 (#1018) 2022-03-16 23:01:14 +01:00
Veronica Berglyd Olsen
9e76498f65 Update Latin American Spanish translation (#1017) 2022-03-16 22:41:52 +01:00
Veronica Berglyd Olsen
1c7708babd Fix infinite search loop bug (#1016)
* Make sure the search loop in the editor cannot run infinitely
* Add test coverage of infinite search case
* Run GitHub actions against the patch branch
2022-03-16 22:34:29 +01:00
Veronica Berglyd Olsen
ce4d3c0b5c Update linting settings, and drop Ubuntu 18.04 releases (#1014)
* Add E133 and W503 to ignored list for flake8
* Drop making releases for Ubuntu 18.04
2022-03-15 22:07:33 +01:00
Veronica Berglyd Olsen
7f43584ed5 Merge bugfixes (#1009)
* Fix document margin recursion error (#1007)
* Fix project file icon path in Windows installer (#1006)
2022-02-24 21:19:12 +01:00
Veronica Berglyd Olsen
7532fdb1fc Fix project file icon path in Windows installer (#1006) 2022-02-24 21:08:42 +01:00
Veronica Berglyd Olsen
3cdba90bb0 Fix document margin recursion error (#1007) 2022-02-24 21:06:28 +01:00
Veronica Berglyd Olsen
011291f225 Drop support for Python 3.6 (#1004)
* Drop support for Python 3.6
* Remove unused time parsing function
* Use Python 3.7 datetime function for writing stats data conversion
* Test against Python 3.10 on macOS and Windows
2022-02-20 23:35:33 +01:00
Veronica Berglyd Olsen
045a595537 Implement project file format 1.4 (#993)
* Update the item class with more compact item storage format
* Bump version and file version
* Update tests
* Add explicit test coverage for format conversions for item class
* Update the documentation
2022-02-20 22:05:31 +01:00
Veronica Berglyd Olsen
be703c1f46 Merge Release 1.6 (#1003)
* Update Spanish translation
* Bumb version and update changelog and release notes
* Add a note in the changelog
2022-02-20 20:09:24 +01:00
Veronica Berglyd Olsen
45c4f3cb97 Add Out of Cheese Error (#1000)
* Add error dialog window title
* Add more error messages
2022-02-16 17:43:50 +01:00
Veronica Berglyd Olsen
3fdea6e57a Fix tests 2022-02-14 22:18:38 +01:00
Veronica Berglyd Olsen
05aa656e75 Remove checks for unique root 2022-02-14 22:18:16 +01:00
Veronica Berglyd Olsen
f8ddff9bc3 Update en_US, fr_FR, nb_NO and pt_BR (#992)
* Update en_US, fr_FR, nb_NO, pt_BR translations
* Add Dutch project localisation
2022-02-12 18:15:51 +01:00
Veronica Berglyd Olsen
7f2d51bd15 Make some corrections to the docs introduction section (#991) 2022-02-12 18:13:17 +01:00
Veronica Berglyd Olsen
45def4b3b7 Set a default editor font for Windows and macOS (#990)
* Set a specific default editor font for Windows and macOS as GUI font isn't suitable
* Fix wrong reference
2022-02-12 17:36:58 +01:00
Veronica Berglyd Olsen
67c94314ed Remove Ubuntu 21.04 release and add 22.04 (#987) 2022-02-06 23:47:37 +01:00
Veronica Berglyd Olsen
7f320d23ca Release 1.6 RC 1 (#986)
* Bump version, update changelog and base translation file
* Replace svg image for docs due to LaTeX build error
2022-02-06 23:27:10 +01:00
Veronica Berglyd Olsen
6d097f0bcb Add customisation help to docs (#984)
* Make sure user-defined themes folders exist in the data path
* Minor cleanup in shortcuts table
* Add details in docs on how to customise GUI and add dictionaries
* Add spell check reference in docs overview
2022-02-06 13:45:30 +01:00
Veronica Berglyd Olsen
d7f2fec8ad Fix typo in main README 2022-02-06 00:00:20 +01:00
Veronica Berglyd Olsen
5ee857f6f4 Add new docs theme, and restructure (#978)
* Change documentation theme to 'furo'
* Update docs source for new theme
* Update index and split introduction
* Add a Getting Started section to the docs
* Rename getting started docs file
* Reorganise setup instructions
* Update usage sections for consistency
* Update docs references in main README
* Show release in sidebar
2022-02-05 23:59:05 +01:00
Veronica Berglyd Olsen
07c92b4bc3 Simplify windows setup builder a bit (#983)
* Optimise setup file
* Shorten windows setup file name
2022-02-04 23:58:01 +01:00
Veronica Berglyd Olsen
a0cdf44deb Add a windows setup builder (#981)
* Add a package builder for windows install
* Remove old win installer build
* Update setup instructions
* Some minor clarifications to docs and README
2022-02-04 20:37:04 +01:00
Veronica Berglyd Olsen
71419eeda3 Update docs on install and project storage (#976)
* Add note to docs about Ubuntu repo on Debian (issue #956)
* Add section on project storage to docs (covers issue #960)
2022-01-25 18:29:23 +01:00
Veronica Berglyd Olsen
85ea9f5b19 Add automatic index rebuild (#975)
* Rebuild the index automatically if not all files are in the index on open
* Update tests
2022-01-25 17:41:34 +01:00
Veronica Berglyd Olsen
1a9efa4e1e Allow hiding scene and section titles in export builds (#974) 2022-01-23 15:57:51 +01:00
Veronica Berglyd Olsen
ec07cebb51 Handle IO error on document save (#961)
* Add try/except to document replace call
* Try the os.replace command 5 times
* Just use else condition on for loop instead
* Make the exceptions explicitly OSError
* Revert the os.replace loop, as this is not the issue
2022-01-19 19:13:08 +01:00
Veronica Berglyd Olsen
8b603d15a5 Add back in i18n instructions and revert changes to class labels (#970)
* Revert the duplicate class name labels since there was no real need
* Restore i18n instructions
2022-01-19 08:35:59 +01:00
Veronica Berglyd Olsen
074718aedc Clean up GUI text (#969)
* Remove all statustip entries in the menu
* Prune text in Preferences
* Fix class labels
* Remove some redundant tooltips
* Improve some labels and dialogs
* Remove some more tooltips and fix a typo
* Update base ts file
* Fix typo
2022-01-18 22:16:25 +01:00
Veronica Berglyd Olsen
25038e6cbb Add support for external translation tools (#968)
* Make some minor translation fixes
* Remove crowdin file and add import function for crowdin zip file
* Rename fallback project lang file to en_GB
* Update all i18n files from crowdin exports
* Fix tests
* Update docs
2022-01-18 19:17:20 +01:00
Veronica Berglyd Olsen
537bf921d2 Update Crowdin configuration file 2022-01-18 16:42:45 +01:00
Veronica Berglyd Olsen
f06048384d Add a base language file (#965) 2022-01-18 16:40:35 +01:00
Veronica Berglyd Olsen
56e96ec3aa Update Crowdin configuration file 2022-01-18 15:11:47 +01:00
Veronica Berglyd Olsen
95c9e9d695 Update Crowdin configuration file 2022-01-18 14:59:27 +01:00
Veronica Berglyd Olsen
cb587112da Update language files (#964) 2022-01-18 10:17:22 +01:00
Veronica Berglyd Olsen
306edec32d Remove dependency from i18n docs and fix JSON error in Chinese file (#963) 2022-01-18 09:44:49 +01:00
Veronica Berglyd Olsen
c1c6a370a5 Merge patch 1.5.5 (#955)
* Remove os.path.commonpath call (Issue #954)
* Bump version and update changelog and release notes
2022-01-05 16:24:34 +01:00
Veronica Berglyd Olsen
00b3c3e9d2 Release 1.6 Beta 1 (#953) 2022-01-04 22:52:18 +01:00
Veronica Berglyd Olsen
52efbcc89f Merge changes from 1.5.4 (#952)
* Backport fix to issue #950
* Bump version and update changelog and release notes
2022-01-04 21:12:32 +01:00
Veronica Berglyd Olsen
9be2519406 Resolve HTML render bug (#951)
* Fix bug breaking HTML rendering with angle brackets in other blocks than normal text
* Restore cursor if document viewer fails to load
* Improve test coverage
2022-01-04 20:52:36 +01:00
Veronica Berglyd Olsen
59e10fbf0a Make ODT export more LibreOffice friendly (#949)
* Make the ToODT class more LibreOffice friendly
* Update tests
2022-01-02 20:49:12 +01:00
Veronica Berglyd Olsen
79657a9d53 Fix line number update when searching (#947)
* Fix line position in footer not updating when searching
* Update and fix docstrings
2022-01-02 00:12:46 +01:00
Veronica Berglyd Olsen
0401b8556d Add result count to search and rewrite scroll past end feature (#946)
* Restore colours to dark theme search-replace icon
* Implement a working search result counter
* Disable scroll past end feature and clean up search/replace and update test
* Re-implement scroll past end feature as a static distance
* Stop the search box from resizing on every search
2022-01-01 19:36:04 +01:00
Veronica Berglyd Olsen
b0f939af32 Apply open document shortcuts to the tree that has focus (#945)
* Better handling of Enter/Return on GUI trees, resolves #913
* Update test
* Generalise open selected handle functions
* Improve test coverage
* Update docstring
2021-12-31 19:51:26 +01:00
Veronica Berglyd Olsen
7024254960 Simplify text width settings (#943)
* Remove the fixed text width switch, resolves #924
* Update tests
* Clean up code to set text width and add to viewer
2021-12-31 17:17:27 +01:00
Veronica Berglyd Olsen
6ac9e1aec4 Tighten up the item class (#937)
* Protect the attributes of the NWItem class
* Fix test coverage
* Add a type checker function to the tree class
2021-12-31 16:25:20 +01:00
Veronica Berglyd Olsen
af3d0d2eb0 Happy new year! (#941) 2021-12-31 15:56:43 +01:00
Veronica Berglyd Olsen
5afd402c8b Merge 1.5.3 fixes (#940)
* Resolve #918
* Resolve #935
* Bump version and update changelog and release notes
2021-12-31 14:58:17 +01:00
Veronica Berglyd Olsen
5e2ab4f612 Refactor core and base classes (#931)
* Improve the NWIndex class
* Improve the NWItem and NWDoc classes
* Make some optimisations in projects and update tests
* Minor changes to string formatting in main source file
* Add some more protection to core classes
* Make all converter class attributes private
2021-12-18 16:03:45 +01:00
Veronica Berglyd Olsen
2f75d88694 Merge hotfixes from 1.5.2 (#934)
* Backport fix for issue #929
* Make the spell check wrapper more robust, solves #933
* Bump version and update changelog and release notes
2021-12-12 17:30:38 +01:00
Veronica Berglyd Olsen
00eea24e3f Error logging and mutables as function defaults (#930)
* Remove mutable iterables as function defaults
* Improve error reporting and standardise how it's done
2021-11-10 00:32:01 +01:00
Veronica Berglyd Olsen
67d2e266fd Fix greater/lesser symbol bug in HTML conversion (#928)
* Fix issue with greater or lesser symbol in paragraph with formatting
* Add test coverage and make another fix to special case of mixing formats
2021-11-10 00:26:07 +01:00
Tommy Marplatt
32d6583ae3 Complete Latin American Spanish GUI localisation (es_419) (#927)
* Complete Latin American Spanish GUI localisation (es_419)
* LA Spanish localisation credits
2021-11-09 21:20:57 +01:00
Veronica Berglyd Olsen
e8bb130245 Code and GUI text cleanup (#926)
* Move int range checkers from options class to common file
* Improve error handling and reporting
* Make some minor improvements to init and test suite
* Fix 'trypewriter' to 'typewriter' typo
* Remove menu path description in dialog help text
* Improve the help text for entries in the Format menu
* Reword a couple of dialog messages
2021-11-07 18:17:17 +01:00
Veronica Berglyd Olsen
e71121f738 Fix docs build issues (#922)
* Remove python version in rtd config
* Try pinning docutils version
2021-10-31 23:42:25 +01:00
Veronica Berglyd Olsen
c17cec0574 Fix missing translation (#921)
* Fix missing translation of label
* Make some minor fixes to comments and logging
2021-10-31 23:10:29 +01:00
Veronica Berglyd Olsen
f562937e81 Add pylupdate6 tool to i18n (#920)
* Add the pylupdate code from PyQt6 source
* Fix linting errors in pylupdate6
* Update setup script, add readme and update debian copyright file
2021-10-31 22:43:00 +01:00
Tommy Marplatt
508d92c3e8 Improve the i18n readme (#917)
* Improve i18n readme.
* Make some minor clarifications and reformatting of the i18n readme file

Co-authored-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
2021-10-28 23:38:59 +02:00
Veronica Berglyd Olsen
299cde9cdf Improve handling of page breaks (#916)
* Remove page break from title and always allow for partition and chapter
* Move strip of format string into the Tokenizer class
* Fix page breaks in HTML for skip and sep
* Update documentation
* Update tests
* Allow page breaks before scene and section headers
* Never hide the scene header and instead default to skip line
2021-10-24 22:09:41 +02:00
Veronica Berglyd Olsen
da2685131d Update how translation files are built and added (#915)
* Fix wrapping of setup help text
* Fix wrong info in help description in setup
* Drop .pro file and generate lupdate arguments on the fly
* Generate lrelease arguments on the fly
* Update i18n readme file
2021-10-24 16:01:26 +02:00
Veronica Berglyd Olsen
9a484193eb Merge hotfixes from 1.5.1 (#914)
* Fix bug in translation source list and restore lost translations
* Fix shift focus to novel tree on Alt+1 when visible
* Bump version and update changelog and release notes
2021-10-23 16:23:01 +02:00
Veronica Berglyd Olsen
1c45331b0a Fix and optimise code (#904)
* Fix bug in early error reporting in main init
* Update docstrings and optimise code in GuiMain
* Update docstrings and optimise code in Config
* Update docstrings and optimise code in common module
* Update docstrings and optimise code in main project classes
* Update the OptionState class
* Update the spell checker class
* Update the file converter classes and extend tests
* Update the about, merge, split and item editor classes and extend tests
* Update item editor test
* Update about dialog tests
* Some minor test cleanup
* Fix typo and add clarification in contributing guide
2021-10-14 21:35:42 +02:00
Veronica Berglyd Olsen
2a06db0a2b Change how PPA key is added (#910) 2021-10-13 19:24:15 +02:00
Veronica Berglyd Olsen
180deb106b Add Python 3.10 to supported versions (#909)
* Add Python 3.10 to supported versions
* Make Python versions a string in action
2021-10-07 19:31:17 +02:00
Veronica Berglyd Olsen
662aab973c Fix error in debian setup instructions (#908) 2021-10-02 17:45:00 +02:00
Veronica Berglyd Olsen
3f972250d0 Post-release fixes and updates (#903)
* Add an extra pause to the windows scripts
* Update main readme
* Add mention of Linux Mint in docs
2021-09-19 16:04:34 +02:00
Veronica Berglyd Olsen
15ec1496c5 Update and reorganise themes (#893)
* Drop the subfolders for GUI themes
* Remove bundled font support
* Add safe file read function
* Allow loading themes from multiple locations
* Clean up unused variables
* Clean up icons class
* Merge icon theme icons
* Update icon theme class
* Remove guiDark config setting
* Fix tests
* Fix handling of default theme
* Update icon readmes
* Add test for getGuiItem common function
2021-09-19 14:09:20 +02:00
Veronica Berglyd Olsen
be3376272e Add selected words count feature (#899)
* Add a selected words counter in the document editor
* Update and extend test coverage
* Rename the functions to something more sensible
2021-09-19 13:59:36 +02:00
Veronica Berglyd Olsen
c852a5bda3 Add hash check on document read/write (#890)
* Add sha256sum function
* Add hash check to document class
* Make sha256sum test more thorough
* Handle exceptions in the sha256sum function directly
* Update test coverage
* Clarify title on dialog box
* Don't write blank lines in makeAlert
2021-09-19 13:55:54 +02:00
Veronica Berglyd Olsen
d65c5e93b6 Fix wrong format for version number 2021-09-19 13:54:14 +02:00
Veronica Berglyd Olsen
07ac88bfd6 Bump version to 1.6-alpha0 for next release cycle 2021-09-19 13:46:19 +02:00
Veronica Berglyd Olsen
1386be23f4 Setup fixes post 1.5 release (#902)
* The main version must now always include the patch number
* Fix bug in pip build script
* Fix bug in debian sha256 function call
2021-09-19 13:43:20 +02:00
Veronica Berglyd Olsen
18cadf8db5 Release 1.5 (#888)
* Bump version to 1.5 and update changelog and release notes
* Update changelog and release notes
2021-09-19 12:56:45 +02:00
Veronica Berglyd Olsen
cf83b6572e Update French translation (#901)
Co-authored-by: jyhelle <47108022+jyhelle@users.noreply.github.com>
2021-09-18 23:10:03 +02:00
Veronica Berglyd Olsen
22662fd5eb Dialog format error (#889)
* Remove redundant format tags in project class
* Be consistent about internal function mapping
2021-09-11 16:14:35 +02:00
Veronica Berglyd Olsen
3263ce5669 Package building fixes (#887)
* Fix a couple of errors in make scripts
* Fix snapshot versioning for launchpad
2021-09-11 14:30:58 +02:00
Veronica Berglyd Olsen
cbb527c464 Add a shasum function to setup and use it for all packages (#886) 2021-09-10 22:13:00 +02:00
Veronica Berglyd Olsen
9cd2bb232b Release 1.5 RC 1 (#885)
* Bump version and update release notes and changelog
* Delete old release notes
2021-09-10 18:41:40 +02:00
Veronica Berglyd Olsen
dcfb353537 Update en_US and nb_NO translations (#884)
* Update US English translation
* Update Norwegian translation
2021-09-10 17:46:30 +02:00
Veronica Berglyd Olsen
8313de692e Fix Project Details dialog update issue (#883)
* Move project details dialog to correct folder
* Add update functions that are run each time the project details dialog is opened
2021-09-10 01:06:40 +02:00
Veronica Berglyd Olsen
3c8cb34b0a Project tree status and total word count changes (#882)
* Fix some inconsistencies in source file docstrings
* Remove the option to show status text in project tree
* Change how total word counts are calculated and propagated
* Fix tests and improve coverage
* Add setting in preferences
* Add missing word count timer to config file
2021-09-10 00:38:45 +02:00
Veronica Berglyd Olsen
b9311e84ce Fix a few mistakes in the docs (#881) 2021-09-08 20:47:33 +02:00
Veronica Berglyd Olsen
50d0c1eb29 Add PPA support (#880)
* Clean up a few things in various setup function
* Add Launchpad-related setting to Debian build function
* Add signature feature to package builder and fix error in debian/copyright
* Update documentation
* Update README
2021-09-08 20:38:35 +02:00
Veronica Berglyd Olsen
a9cd0b29d4 Fix icon in main README 2021-09-01 23:46:00 +02:00
Veronica Berglyd Olsen
2037ef3eac Setup fixes and tweaks (#879)
* Fix transparency on some of the icons
* Rewrite the setup clean command
* Clean up setup script and remove no longer needed qthelp command
* Add bash scripts for common make build chains
* Update the description files and change how setup writes generated files
* Reduce the number of setup files added to minimal zip packages
2021-09-01 23:41:38 +02:00
Veronica Berglyd Olsen
0582b9718b Debian package builder (#876)
* Add debian build files
* Add debian package build code to setup script
* Update the licenses in debian/copyright
* Fix a typo in windows setup docs
* Remove duplicate files
* Add missing fallback icons to assets
2021-08-31 23:46:03 +02:00
Veronica Berglyd Olsen
bbed05b273 Merge patch 1.4.2 2021-08-31 00:04:40 +02:00
Veronica Berglyd Olsen
30f0e82fba Release 1.4.2 2021-08-30 23:36:42 +02:00
Veronica Berglyd Olsen
bdef9a3955 Fix smart quote issue (#874) 2021-08-30 23:23:47 +02:00
Veronica Berglyd Olsen
f6845a9820 Remove the difflib spellchecker (#875)
* Delete simple spell checker
* Clean up the spell checker code
* Update tests
* Delete the bundled dictionaries
* Update documentation
* Use set() for user word list
* Fix tests so they pass also without dictionaries installed
2021-08-30 22:39:27 +02:00
Veronica Berglyd Olsen
4b52f343c1 Packaging Updates (#873)
* Make setup-generated script names lower case
* Change how the manual.pdf file is handled
2021-08-29 16:27:59 +02:00
Veronica Berglyd Olsen
a00d0820cc Release 1.5 Beta 2 (#871)
* Bump version to 1.5b2 and update changelog and release notes
* Update sample project
2021-08-26 21:10:29 +02:00
Veronica Berglyd Olsen
cdc9ab4ad6 Update US English and Norwegian translations (#870)
* Fix typo in main menu
* Add missing source file to translation list
* Update en_US translation
* Update nb_NO translation
2021-08-26 18:46:55 +02:00
Veronica Berglyd Olsen
1fb9648c6c Drop grey icon themes (#869)
* Add settings translator for icon themes
* Rename `typicons_colour_*` to `typicons_*`
* Delete grey icon themes
* Delete outdated paragraph in main README
* Fix tests
2021-08-26 18:01:52 +02:00
Veronica Berglyd Olsen
3403d98c72 Rename package from 'nw' to 'novelwriter' (#868)
* Rename nw folder to novelwriter
* Rename nw to novelwriter in auxiliary files
* Rename nw to novelwriter in main app source
* Rename nw to novelwriter in tests
* Make setup script for pdf docs less spammy
2021-08-26 17:33:54 +02:00
Veronica Berglyd Olsen
2cf2eb9f55 Simplify the setup instructions for Windows (#865) 2021-08-25 23:24:00 +02:00
Veronica Berglyd Olsen
b5e52b80a3 Add a "Check for Updates" dialog (#863)
* Add basic dialog for Updates check
* Add GitHub API call and processing
* Finalise the update dialog
* Improve test coverage
2021-08-22 14:33:00 +02:00
Veronica Berglyd Olsen
80911af4d2 Release 1.5 Beta 1 (#858)
* Bump version to 1.5-beta1 and update changelog and release notes
2021-08-22 11:35:06 +02:00
Veronica Berglyd Olsen
7a80e6a55c Make Help select correct version of docs (#862) 2021-08-21 18:33:35 +02:00
Veronica Berglyd Olsen
7958cb530f Taskbar icon on windows (#861)
* Give app an unique ID when launching on Windows
* Improve test coverage
2021-08-21 17:10:19 +02:00
Veronica Berglyd Olsen
95c79e1c23 Documentation and ODT exporter updates (#859)
* Clean up a few things in the ODT exporter
* Remove local HTML docs and instead add PDF docs
* Update documentation
2021-08-20 17:16:14 +02:00
Veronica Berglyd Olsen
eee0f5e4c9 Include HTML docs in minimal installs (#856)
* Link to stable docs for stable release, otherwise latest docs
* Add build command to setup for making HTML docs
* Change the documentation menu entry to open either online or local HTML
* Update docs build instructions in docs
2021-08-18 00:13:28 +02:00
Veronica Berglyd Olsen
a9368904e5 GUI and code tweaks and fixes (#852)
* Improve format menu header descriptions
* Ensure that item status is parsed after item class from XML
* Fix column alignment in ToC.txt file
* Rename test variable and fix outdated docstring
* Fix ToC.txt underline
* Rename the Layout label on the item details panel
* Add option to emphasise H1 and H2 labels in the project tree
* Rename the main column of the novel tree to match project tree
* Use the same document icons in the outline as the project tree
* Move project tree settings to Project section of config file
2021-08-17 21:45:18 +02:00
Veronica Berglyd Olsen
f7c768bb91 Add project format documentation and popup box (#855)
* Add documentation of the various project file formats
* Add an info box  for updating to project format 1.3
* Add information on how to access the documentation
* Add a note on file format and rename a few things
* Fix some typos
2021-08-17 20:06:26 +02:00
Veronica Berglyd Olsen
f2b93f90f7 Fix a typo and fix section naming in docs 2021-08-16 18:12:09 +02:00
Veronica Berglyd Olsen
7d5661443f Improve Docs (#851)
* Split up the docs a bit more
* Improve documentation
2021-08-16 18:06:00 +02:00
Veronica Berglyd Olsen
460b350d85 Update docs and add menu entries for special titles (#850)
* Update Introduction chapter
* Update User Interface chapter
* Update Novel Projects chapter
* Update Novel Structure chapter
* Update Exporting Projects chapter
* Drop the asterisk notation for unnumbered chapters
* Add menu entries and tests for Novel Title and Unnumbered Chapter block formats
2021-08-15 23:30:11 +02:00
Veronica Berglyd Olsen
669f013c96 Fix issue with icons not updating when index is rebuilt (#849) 2021-08-15 21:40:45 +02:00
Veronica Berglyd Olsen
1bf584f9bf Add [NEW PAGE] page and [VSPACE] to Insert menu (#848)
* Add menu entries for inserting new page and vspace codes
* Update tests
2021-08-15 18:58:49 +02:00
Veronica Berglyd Olsen
97aebc5b84 Update Project Tree (#847)
* Rename index textCounts to fileMeta and add main header level
* Add new icons for document layouts
* Add function in NWItem to describe the item
* Use the icons and description in the project tree and details panel
* Remove flags column and add status column with optional full text
* Update handling and display of header level in editor
* Fix potential bug in project tree
* Update tests
2021-08-15 17:55:57 +02:00
Veronica Berglyd Olsen
cf7cd5502c Make PyQt5 minimum version requirement consistent (#846) 2021-08-15 10:21:37 +02:00
Veronica Berglyd Olsen
cf08ba1d39 ODT Export Fixes (#843)
* Fix issue with additional line breaks in ODT export
* Improve format handling in ToOdt, and remove some unused code
* Add test for tab in format
* Add class to write text formats to XML
* Simplify the XMLParagraph class a bit
* Correct a breach of ODT standard and add error checking
* Make some final corrections
2021-08-14 12:42:44 +02:00
Veronica Berglyd Olsen
c41e0efc73 Add a warning when opening novelWriter alpha version (#844) 2021-08-13 15:26:22 +02:00
Veronica Berglyd Olsen
bb1a778277 Merge Novel Layouts (#837)
* Merge novel layouts and simplify the Tokenizer class
* Fix core tests
* Delete auto-layout code
* Remove no longer needed item layouts
* Remove references to deleted item layouts in test
* Make some minor changes to Tokenizer class and update tests
* Update test reference files
* Update sample project
* Fix a few issues with the Tokenizer
* Centre some text in the sample documents
* Make some minor changes to how new projects are generated
* Add support for New Page and VSpace commands to the Tokenizer
* Remove Title and Page layouts and add codes for page break and vertical space
* Add document layout and fix some issues in index class with new title formats
* Update tests and reference files
* Bump the project file version and fix a minor issue in items class
* Update tests and test coverage
* Clean up some warnings and issues in tests
2021-08-02 23:44:35 +02:00
Veronica Berglyd Olsen
c6973043e6 Index Updates (#840)
* Improve the index keyword checker function
* Implement a more compact indented JSON encoder
* Remove timestamp from reference, novel and note indices
* Remove empty entries in reference index
* Merge novel and note indices into a single file index
2021-08-01 18:19:03 +02:00
Veronica Berglyd Olsen
e5c715695e Config class improvements (#826)
* Subclass ConfigParser
* Remove redundant variables and update tests
* Update file description
* Move NWConfigParser class to common.py
* Improve coverage of config class
* Use NWConfigParser also in themes.py
* Update config class file header
* Fix comment
* Update the usage of ConfigParser to recommended practice and extend tests
* Improve logging for info level a bit
2021-07-28 00:10:15 +02:00
Veronica Berglyd Olsen
e92506dc07 Bump version to 1.5-alpha0 for next release cycle 2021-07-28 00:05:42 +02:00
Veronica Berglyd Olsen
62344376d7 Bump version to 1.4.1, and update changelog and release notes 2021-07-27 23:46:15 +02:00
Veronica Berglyd Olsen
8cf96c3102 Make a clarification in the changelog 2021-07-27 23:31:04 +02:00
Veronica Berglyd Olsen
16fa8679d0 Bump version to 1.4 final, and update changelog and release notes 2021-07-27 23:30:44 +02:00
Veronica Berglyd Olsen
b517276156 Fix layout margins and z-order of some dialogs (#834)
* Fix layout margins on paged dialogs
* Make sure non-modal dialogs are only shown once and are on top
2021-07-26 16:40:20 +02:00
Veronica Berglyd Olsen
732450e163 Add CREDITS file and update README (#833)
* Add CREDITS file and update README
* Fix typo and add note in Libraries section of CREDITS
2021-07-25 16:50:12 +02:00
Veronica Berglyd Olsen
df8e3dd82b Update Contributing Guide (#832)
* Update Contributing Guide
* Minor improvements to README and CONTRIBUTING
2021-07-17 17:27:38 +02:00
Veronica Berglyd Olsen
75ddafd31d Update French translation (#829)
Co-authored-by: jyhelle <47108022+jyhelle@users.noreply.github.com>
2021-07-13 21:51:30 +02:00
Veronica Berglyd Olsen
4f38a8d16c Update the formatting section of the README (#828)
* Update the formatting section of the readme
* Use sup tags for footnotes in readme
2021-07-13 16:13:03 +02:00
Veronica Berglyd Olsen
35746103c7 i18n: Update en_US and nb_NO (#825)
* Update US English translation file
* Update Norwegian translation file
2021-07-13 15:37:24 +02:00
Veronica Berglyd Olsen
fb5347b8e4 Change the branching model (#827)
* Update workflows and add requirements-dev.txt
* Remove codecov from dev requirements
* Update readme and contributing guide
* Update PR template
2021-07-13 15:34:10 +02:00
Veronica Berglyd Olsen
6890b278ea Release 1.4 RC 1 (#824)
* Bump version to 1.4 RC 1
* Update changelog and release notes
2021-07-12 20:52:35 +02:00
Veronica Berglyd Olsen
9f667a0b35 Update code style to new standard 2021-07-05 16:28:44 +02:00
Veronica Berglyd Olsen
36be7b0b33 Test Coverage of the Editor (#787)
* Drop the _qDocument class variables
* Split up the current doceditor test file
* Add tests for editor init, load and save
* Add tests for editor meta functions and actions
* Add tests for editor insert functions
* Add tests for editor text manipulation and block formatting
* Fix code style
* Add text coverage for alignment and indent
2021-07-05 16:10:52 +02:00
Veronica Berglyd Olsen
1d16cc2a03 Move the coding of angle brackets in HTML to the innermost function in the chain (#821) 2021-07-04 18:05:26 +02:00
Veronica Berglyd Olsen
72fd2990e7 Merge branch 'main' into dev 2021-07-04 17:58:53 +02:00
Veronica Berglyd Olsen
6d7ca2bb86 Cleanup (#820)
* Update instructions and readmes
* Cleanup in base files
* Cleanup in core files
* Cleanup in gui files
* Cleanup in dialog files
* Cleanup in tools files
* Cleanup in test files
2021-07-04 17:57:54 +02:00
Veronica Berglyd Olsen
f10a8f9589 Update PR template 2021-07-04 17:56:40 +02:00
Veronica Berglyd Olsen
1881b3d32c Merge branch 'main' into dev 2021-07-02 10:25:56 +02:00
Veronica Berglyd Olsen
1b89d0a4f0 Logger messages (#818)
* Change the way logger messages are generated by using the printf-like method
* Use single quotes around log values that can be empty strings
* Fix bug in log message
2021-07-02 10:22:00 +02:00
용성지
671888b6ea add language support (Simplified Chinese - initial version) (#817)
* add translator's name in about dialog

* add new CN.ts

* Update nw_zh_CN.ts

* inital version (CN)

* add project_zh_CN.json

* Update project_zh_CN.json

* Revert changes to otherlanguage files

* Change case of first character in 'novelWriter' in Chinese translation

* Update about.py

Change the entry "Simplified Chinese" from English the local name of the language

Co-authored-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
2021-07-02 10:17:58 +02:00
Veronica Berglyd Olsen
50498a7462 Merge pull request #819 from vkbo/update_guides
Update guides
2021-07-01 20:28:41 +02:00
Veronica Berglyd Olsen
ecd190987e Add a pull request template 2021-07-01 20:23:21 +02:00
Veronica Berglyd Olsen
2c000f6808 Update contributing guide and i18n readme 2021-07-01 20:23:09 +02:00
Veronica Berglyd Olsen
c472e40b2b Fix workflow 2021-06-25 23:28:38 +02:00
Veronica Berglyd Olsen
0575f89ae9 Remove alignments in arguments for format statements 2021-06-25 23:20:15 +02:00
Veronica Berglyd Olsen
e1dcfaa1e3 Drop dictionary alignment by colon 2021-06-25 23:14:13 +02:00
Veronica Berglyd Olsen
486af84107 Merge pull request #816 from vkbo/style
Style
2021-06-25 21:56:03 +02:00
Veronica Berglyd Olsen
8acbd8b978 Update contributing guide with new restrictions 2021-06-25 21:48:50 +02:00
Veronica Berglyd Olsen
7f9180e356 Update workflow 2021-06-25 21:39:24 +02:00
Veronica Berglyd Olsen
26912f226f Add double space before in-line comments 2021-06-25 21:36:52 +02:00
Veronica Berglyd Olsen
0c286231cc Remove multiple hashes before comments 2021-06-25 21:11:25 +02:00
Veronica Berglyd Olsen
991a61f2f6 Remove encoding line and add spaces between classes and functions, tests 2021-06-25 21:04:48 +02:00
Veronica Berglyd Olsen
edfd7c9770 Remove encoding line and add spaces between classes and functions 2021-06-25 20:53:33 +02:00
Veronica Berglyd Olsen
ad62faaeea Fix broken links in docs 2021-06-13 20:03:53 +02:00
Veronica Berglyd Olsen
468903bbeb Merge pull request #812 from vkbo/release_1.4beta1
Release 1.4 Beta 1
2021-06-13 20:01:03 +02:00
Veronica Berglyd Olsen
0723f44dc3 Update changelog and release notes 2021-06-13 19:56:16 +02:00
Veronica Berglyd Olsen
831bdabfc6 Bumped version to 1.4-beta1 2021-06-13 19:12:10 +02:00
Veronica Berglyd Olsen
93a3eed530 Merge pull request #804 from vkbo/text_align
Text alignment and indent
2021-06-13 19:10:15 +02:00
Veronica Berglyd Olsen
307a52e7f4 Update documentation 2021-06-13 19:07:36 +02:00
Veronica Berglyd Olsen
3246f4bfcc Add tests for the menu functions 2021-06-13 18:46:35 +02:00
Veronica Berglyd Olsen
fa4f4a8db4 Make the comment format action a toggle feature 2021-06-13 18:32:11 +02:00
Veronica Berglyd Olsen
cb797fe903 Add menu entries for align and indent 2021-06-13 18:28:23 +02:00
Veronica Berglyd Olsen
618461b1ff Merge branch 'dev' into text_align 2021-06-13 17:59:47 +02:00
Veronica Berglyd Olsen
e2f08d3c76 Merge branch 'main' into dev 2021-06-13 17:58:49 +02:00
Veronica Berglyd Olsen
f39cda729d Merge pull request #811 from vkbo/release_1.3.3
Release 1.3.3
2021-06-13 17:13:54 +02:00
Veronica Berglyd Olsen
b28d826d76 Updated changelog and release notes 2021-06-13 17:11:19 +02:00
Veronica Berglyd Olsen
57ae559723 Merge pull request #810 from vkbo/wcount_when_delete
Update project word count when a file is permanently deleted
2021-06-13 16:57:31 +02:00
Veronica Berglyd Olsen
1d1be18689 Bumped version to 1.3.3 2021-06-13 16:56:29 +02:00
Veronica Berglyd Olsen
141b5eb776 Update project word count when a file is permanently deleted 2021-06-13 16:53:40 +02:00
Veronica Berglyd Olsen
3f941bf9fd Merge branch 'dev' into text_align 2021-06-11 00:11:40 +02:00
Veronica Berglyd Olsen
a48f302531 Merge branch 'main' into dev 2021-06-11 00:11:19 +02:00
Veronica Berglyd Olsen
12d8872973 Merge pull request #809 from vkbo/item_tags
Make XML parser for items less picky
2021-06-11 00:10:46 +02:00
Veronica Berglyd Olsen
40ff865989 Make XML parser for items less picky 2021-06-11 00:01:58 +02:00
Veronica Berglyd Olsen
32e9c10702 Fix word counter for align and indent tags 2021-06-10 23:38:11 +02:00
Veronica Berglyd Olsen
804dd3bb7c Merge branch 'dev' into text_align 2021-06-10 22:52:47 +02:00
Veronica Berglyd Olsen
9f2e3a66cd Merge branch 'main' into dev 2021-06-10 22:51:45 +02:00
Veronica Berglyd Olsen
960d1967a3 Merge pull request #808 from vkbo/focus_keys
Focus keys
2021-06-10 22:45:18 +02:00
Veronica Berglyd Olsen
ad025c3fe4 Merge branch 'main' into focus_keys 2021-06-10 22:42:40 +02:00
Veronica Berglyd Olsen
81212a108e Merge pull request #807 from vkbo/setup_win_encoding
Make the extractVersion function in setup a bit more robust
2021-06-10 22:42:30 +02:00
Veronica Berglyd Olsen
8637a4eb12 Merge branch 'main' into focus_keys 2021-06-10 22:35:55 +02:00
Veronica Berglyd Olsen
0e4489d627 Merge branch 'main' into setup_win_encoding 2021-06-10 22:33:04 +02:00
Veronica Berglyd Olsen
0bfb9d0700 Update docs 2021-06-10 22:18:51 +02:00
Veronica Berglyd Olsen
efe759b94e Change focus shortcuts on Window as they conflict with alt codes 2021-06-10 22:16:06 +02:00
Veronica Berglyd Olsen
9f89c1f7a4 Merge pull request #806 from vkbo/cleanup_alerts
Fix translations and refactor makeAlert calls
2021-06-10 22:10:32 +02:00
Veronica Berglyd Olsen
530d92cc3f Make the extractVersion function in setup a bit more robust 2021-06-10 22:08:26 +02:00
Veronica Berglyd Olsen
b0225515d2 Remove isinstance check in error reporting 2021-06-10 21:55:40 +02:00
Veronica Berglyd Olsen
d511c69ee7 Rewrap some alert messages 2021-06-10 21:51:52 +02:00
Veronica Berglyd Olsen
6e1e40f13e Fix translations and refactor makeAlert calls 2021-06-10 21:42:40 +02:00
Veronica Berglyd Olsen
70d3ee07bf Update sample project 2021-06-10 21:39:58 +02:00
Veronica Berglyd Olsen
e5477f314e Add support for indented paragraphs in exports 2021-06-10 21:38:58 +02:00
Veronica Berglyd Olsen
80c4826253 Added left/right indentation to Tokenizer class 2021-06-10 00:04:54 +02:00
Veronica Berglyd Olsen
e0de3ff191 Improve test coverage 2021-06-09 23:40:37 +02:00
Veronica Berglyd Olsen
239cff3dee Fix tests 2021-06-09 23:32:22 +02:00
Veronica Berglyd Olsen
6f9e3168b0 Fix default alignment 2021-06-09 23:05:16 +02:00
Veronica Berglyd Olsen
7d067f807d Add text alignment tags 2021-06-09 22:08:31 +02:00
Veronica Berglyd Olsen
a7b43699ed Merge pull request #802 from teymour-aldridge/patch-1
Remove redundant assignment.
2021-06-09 19:46:48 +02:00
Teymour Aldridge
7d11917d1c Remove redundant assignment. 2021-06-09 18:42:16 +01:00
Veronica Berglyd Olsen
904ba9b1ca Merge branch 'main' into dev 2021-05-30 12:27:30 +02:00
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
03daa350f8 Merge branch 'main' into dev 2021-05-23 16:37:24 +02:00
Veronica Berglyd Olsen
095cc38122 Merge pull request #786 from vkbo/allow_line_breaks
Allow line breaks
2021-05-23 16:35:09 +02:00
Veronica Berglyd Olsen
142d659b70 Fix an issue with markdown export 2021-05-23 16:31:06 +02:00
Veronica Berglyd Olsen
0826a2f8a3 Remove trailing space highlight and add highlight of redundant spaces 2021-05-23 16:17:05 +02:00
Veronica Berglyd Olsen
a3819a7785 Update docs 2021-05-23 15:20:26 +02:00
Veronica Berglyd Olsen
2314777b4b Add test coverage 2021-05-23 15:04:26 +02:00
Veronica Berglyd Olsen
729e97a95d Add function to clean up line breaks 2021-05-23 14:39:02 +02:00
Veronica Berglyd Olsen
5ab60ca4a3 Fix test 2021-05-23 13:15:09 +02:00
Veronica Berglyd Olsen
f1adff82a8 Remove hard line break menu entry 2021-05-23 13:13:03 +02:00
Veronica Berglyd Olsen
96b2d139c9 Allow line breaks in paragraphs 2021-05-23 13:08:10 +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 K. B. Olsen
dfc775c925 Fix merge from main 2021-05-17 20:28:36 +02:00
Veronica K. B. Olsen
dea304d1eb Merge branch 'main' into dev 2021-05-17 20:27:08 +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
9fc640aa59 Merge pull request #780 from vkbo/class_cleanup
GUI Class Cleanup
2021-05-17 17:02:39 +02:00
Veronica K. B. Olsen
d812aab173 Update gitignore with versions files 2021-05-17 16:58:52 +02:00
Veronica K. B. Olsen
39b58711c7 Make some GuiItemDetails variables private 2021-05-17 16:58:07 +02:00
Veronica K. B. Olsen
c6120fcf7c Make some GuiDocViewer variables private 2021-05-17 16:57:49 +02:00
Veronica Berglyd Olsen
45b9215c87 Merge pull request #779 from vkbo/editor_cleanup
Editor Code Improvements
2021-05-16 19:02:57 +02:00
Veronica K. B. Olsen
394f6adf82 Remove no longer needed forward function 2021-05-16 17:35:33 +02:00
Veronica K. B. Olsen
1a5076438d Add a signal for updated word counts 2021-05-16 17:31:12 +02:00
Veronica K. B. Olsen
872b8e7902 Fix broken tests 2021-05-16 16:57:00 +02:00
Veronica K. B. Olsen
0cad96fdca Use an enum to pass values to the status bar LEDs 2021-05-16 16:43:44 +02:00
Veronica K. B. Olsen
e9ef4fd091 Make sure slots and signals are correct type 2021-05-16 16:26:03 +02:00
Veronica K. B. Olsen
4ce8b38acd Add editorDocumentChanged signal in GuiDocEditor 2021-05-16 00:41:44 +02:00
Veronica K. B. Olsen
24ab6f2d3b Make the editor dictionary internal 2021-05-16 00:19:40 +02:00
Veronica K. B. Olsen
ba5e5f4bb5 Make GuiDocEditor variables private 2021-05-15 23:57:31 +02:00
Veronica K. B. Olsen
6ef8611a0a Merge branch 'main' into dev 2021-05-08 21:41:36 +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
c1544ab374 Merge pull request #760 from vkbo/doc_class
Non-Reusable Document Class
2021-05-02 19:53:20 +02:00
Veronica K. B. Olsen
d795eb6f5f Delete no longer needed test reference files 2021-05-02 19:47:39 +02:00
Veronica K. B. Olsen
ce8264b8f2 New split tool test 2021-05-02 19:47:04 +02:00
Veronica K. B. Olsen
c6cbc8a8b1 New merge tool test 2021-05-02 18:52:36 +02:00
Veronica K. B. Olsen
6c79a1daba Test terminology update 2021-05-02 17:48:28 +02:00
Veronica K. B. Olsen
7867965989 Alter the init logic of handles in NWDoc 2021-05-02 17:19:50 +02:00
Veronica K. B. Olsen
348513a248 Merge branch 'dev' into doc_class 2021-05-02 17:14:15 +02:00
Veronica K. B. Olsen
eb62253137 Merge branch 'main' into dev 2021-05-02 17:12:41 +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 K. B. Olsen
6b119cf4b8 Remove the return false on error in doc viewer 2021-04-25 23:58:11 +02:00
Veronica K. B. Olsen
88d198403e Update translations 2021-04-25 23:47:42 +02:00
Veronica K. B. Olsen
5ee39d7ecc Tighten up the use of item and nwdoc objects in editor class 2021-04-25 23:46:09 +02:00
Veronica K. B. Olsen
e7102725bd Update translations 2021-04-25 23:24:21 +02:00
Veronica K. B. Olsen
bd28867804 Update tests 2021-04-25 23:22:05 +02:00
Veronica K. B. Olsen
0eb09a2136 Move error reporting out of the NWDoc class 2021-04-25 23:21:51 +02:00
Veronica K. B. Olsen
470daf0036 Make NWDoc class non-reusable 2021-04-25 23:01:20 +02:00
Veronica K. B. Olsen
fd28cbca4e Merge branch 'main' into dev 2021-04-25 18:25:12 +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 Berglyd Olsen
e865b2c054 Merge pull request #758 from vkbo/class_cleanup
Class Cleanup
2021-04-25 18:02:25 +02:00
Veronica K. B. Olsen
f8243f6934 Update translation files 2021-04-25 17:52:07 +02:00
Veronica K. B. Olsen
746268c3ef GUI classes should only init with main GUI as parent 2021-04-25 17:50:11 +02:00
Veronica K. B. Olsen
48695651e1 Core classes should only init with project class and if needed access main gui via project 2021-04-25 17:39:52 +02:00
Veronica K. B. Olsen
45f726669e Remove the showStatus flag from document handling 2021-04-25 17:16:57 +02:00
Veronica K. B. Olsen
d473615ccf Rename open and save document to read and write in NWDoc 2021-04-25 17:10:12 +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
1e48c6dcfe Merge branch 'main' into dev 2021-04-25 11:27:13 +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 K. B. Olsen
51431169dd Merge branch 'main' into dev 2021-04-23 22:02:59 +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 K. B. Olsen
81e72826ce Merge branch 'main' into dev 2021-04-18 18:18:05 +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
8190c189e5 Merge branch 'testing' into dev 2021-04-18 17:33:54 +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
06dcaff806 Merge branch 'testing' into dev 2021-04-06 17:49:28 +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
4ee5890d90 Merge branch 'testing' into dev 2021-03-31 19:03:42 +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
bd888451ec Merge branch 'testing' into dev 2021-03-29 18:52:36 +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
fd7319b295 Merge branch 'testing' into dev 2021-03-29 18:39:36 +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 K. B. Olsen
06a13557e3 Merge branch 'testing' into dev 2021-03-28 18:15:40 +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
e92ac2b30d Merge branch 'testing' into dev 2021-03-28 15:23:16 +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
56a5559024 Merge branch 'testing' into dev 2021-03-21 17:18:43 +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 K. B. Olsen
3664266eed Merge branch 'testing' into dev 2021-03-17 22:58:28 +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 K. B. Olsen
909114e318 Merge branch 'testing' into dev 2021-03-17 21:13:51 +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
03beae30ca Move dev branch to version 1.4-alpha0 2021-03-17 11:33:37 +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. 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
1066 changed files with 165518 additions and 419266 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']

View File

@@ -5,20 +5,12 @@ title: ""
labels: bug
---
**Describe the Bug**
A clear and concise description of what the bug is.
**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:
**To Reproduce**
Steps to reproduce the behaviour:
**Expected Behaviour**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Error Message**
If the error dialog popped up, copy/paste the content here.
**Additional Context**
Add any other context about the problem here.
* 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

@@ -5,14 +5,11 @@ title: ""
labels: enhancement
---
**Is your feature request related to a problem? Please describe:**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**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:
**Describe the solution you'd like:**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered:**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context:**
Add any other context or screenshots about the feature request here.
* 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.

24
.github/pull_request_template.md vendored Normal file
View File

@@ -0,0 +1,24 @@
<!--
Please check the following before you make a pull request:
* The branch you are making the pull request from (in your own fork) has a unique and descriptive
name. Do not make a pull request directly from your copy of `main`.
* If you are submitting translation files, only submit the files that you have added translations
to, not the other .ts files that may have been updated in the process.
* Make sure your contribution follows the style guide and other requirements mentioned in the
CONTRIBUTING.md file in the repository.
* Fill in the Summary section below, and if relevant, mention the issue numbers related to the PR.
-->
**Summary:**
**Related Issue(s):**
**Reviewer's Checklist:**
* [ ] The header of all files contain a reference to the repository license
* [ ] The overall test coverage is increased or remains the same as before
* [ ] All tests are passing
* [ ] All flake8 checks are passing and the style guide is followed
* [ ] Documentation (as docstrings) is complete and understandable
* [ ] Only files that have been actively changed are committed

39
.github/workflows/build_assets.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: BuildAssets
on: workflow_call
jobs:
buildAssets:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.12"
architecture: x64
- name: Install Packages (apt)
run: |
sudo apt update
sudo apt install qttools5-dev-tools latexmk texlive texlive-latex-extra
- name: Checkout Source
uses: actions/checkout@v4
- name: Install Packages (pip)
run: pip install -r docs/source/requirements.txt
- name: Build Assets
run: |
python pkgutils.py build-assets
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: nw-assets
path: |
novelwriter/assets/manual.pdf
novelwriter/assets/sample.zip
novelwriter/assets/i18n/*.qm
if-no-files-found: error
retention-days: 14

46
.github/workflows/build_linux.yml vendored Normal file
View File

@@ -0,0 +1,46 @@
name: BuildLinux
on: workflow_dispatch
jobs:
buildAssets:
uses: ./.github/workflows/build_assets.yml
buildLinux-AppImage:
needs: buildAssets
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.12"
LINUX_TAG: "manylinux_2_28_x86_64"
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.11"
architecture: x64
- name: Install Packages (pip)
run: pip install python-appimage
- name: Checkout Source
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: nw-assets
path: novelwriter/assets
- name: Build AppImage
id: build
run: |
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $GITHUB_OUTPUT
python pkgutils.py build-appimage --linux-tag $LINUX_TAG --python-version $PYTHON_VERSION
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-Linux-AppImage
path: dist_appimage/*.AppImage*
if-no-files-found: error
retention-days: 14

69
.github/workflows/build_mac.yml vendored Normal file
View File

@@ -0,0 +1,69 @@
name: BuildMacOS
on: workflow_dispatch
jobs:
buildAssets:
uses: ./.github/workflows/build_assets.yml
buildMac-AMD64:
needs: buildAssets
runs-on: macos-latest
env:
PYTHON_VERSION: "3.12"
PACKAGE_ARCH: x86_64
MINICONDA_ARCH: x86_64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: nw-assets
path: novelwriter/assets
- name: Build App Bundle
id: build
run: |
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $GITHUB_OUTPUT
./setup/macos/build.sh $PYTHON_VERSION $PACKAGE_ARCH $MINICONDA_ARCH
- name: Upload DMG
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-MacOS-AMD64-DMG
path: dist_macos/*.dmg*
if-no-files-found: error
retention-days: 14
buildMac-M1:
needs: buildAssets
runs-on: macos-latest
env:
PYTHON_VERSION: "3.12"
PACKAGE_ARCH: aarch64
MINICONDA_ARCH: arm64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: nw-assets
path: novelwriter/assets
- name: Build App Bundle
id: build
run: |
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $GITHUB_OUTPUT
./setup/macos/build.sh $PYTHON_VERSION $PACKAGE_ARCH $MINICONDA_ARCH
- name: Upload DMG
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-MacOS-M1-DMG
path: dist_macos/*.dmg*
if-no-files-found: error
retention-days: 14

62
.github/workflows/build_win.yml vendored Normal file
View File

@@ -0,0 +1,62 @@
name: BuildWindows
on: workflow_dispatch
jobs:
buildAssets:
uses: ./.github/workflows/build_assets.yml
buildWin64:
needs: buildAssets
runs-on: windows-latest
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.12"
architecture: x64
- name: Checkout Source
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: nw-assets
path: novelwriter/assets
- name: Build Setup Installer
id: build
run: |
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $Env:GITHUB_OUTPUT
python pkgutils.py build-win-exe
- name: Upload Unsigned Artifacts
id: upload-unsigned-artifact
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-Win-Setup
path: dist/*.exe
if-no-files-found: error
retention-days: 14
- name: Submit Signing Request
uses: signpath/github-action-submit-signing-request@v1
with:
api-token: "${{ secrets.SIGNPATH_API_TOKEN }}"
organization-id: "0471e52c-66fa-4e9a-bfb9-36167095ca3f"
project-slug: "novelWriter"
signing-policy-slug: "release-signing "
github-artifact-id: "${{ steps.upload-unsigned-artifact.outputs.artifact-id }}"
wait-for-completion: true
output-artifact-directory: "dist/"
parameters: |
version: "${{ steps.build.outputs.BUILD_VERSION }}"
- name: Upload Signed Artifacts
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-Win-Setup-Signed
path: dist/*.exe
if-no-files-found: error
retention-days: 14

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

@@ -0,0 +1,32 @@
name: i18n
on:
push:
branches:
- i18n/*
jobs:
buildI18n:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.11"
architecture: x64
- name: Install Packages (apt)
run: |
sudo apt update
sudo apt install qttools5-dev-tools
- name: Checkout Source
uses: actions/checkout@v4
- name: Build Assets
run: python pkgutils.py qtlrelease
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: nw-i18n
path: |
novelwriter/assets/i18n/*.qm
if-no-files-found: error
retention-days: 7

View File

@@ -1,29 +1,30 @@
name: flake8
name: Flake8
on:
push:
branches: [ main, dev ]
branches:
- main
- release
pull_request:
branches: [ main, dev ]
branches:
- main
- release
jobs:
checkSyntax:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3
architecture: x64
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install flake8
run: pip install flake8
- name: Syntax Error Check
run: pip install -r requirements-dev.txt
- name: Syntax 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,E241,E251,E261,E266,E302,E305 --show-source --statistics
flake8 tests --count --max-line-length=99 --ignore E203,E221,E226,E241,E251,E261,E266,E302,E305 --show-source --statistics
flake8 --version
flake8 novelwriter --count --show-source --statistics
flake8 tests --count --show-source --statistics --extend-ignore ANN

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

@@ -0,0 +1,46 @@
name: Linux
on:
push:
branches:
- main
- release
pull_request:
branches:
- main
- release
jobs:
testLinux:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install Packages (apt)
run: |
sudo apt update
sudo apt install libenchant-2-dev qttools5-dev-tools aspell-en
- name: Checkout Source
uses: actions/checkout@v4
- name: Install Dependencies (pip)
run: |
pip install -U -r requirements.txt -r tests/requirements.txt
- name: Run Build Commands
run: |
python pkgutils.py qtlrelease
python pkgutils.py sample
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
python -m pytest -v --cov=novelwriter --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

View File

@@ -1,33 +0,0 @@
name: Linux (3.6)
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
testLinux36:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v1
with:
python-version: 3.6
architecture: x64
- name: Install Packages
run: |
sudo apt update
sudo apt install libenchant-dev qt5-default
- 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-qt
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
pytest -v --timeout=60

View File

@@ -1,33 +0,0 @@
name: Linux (3.7)
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
testLinux37:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v1
with:
python-version: 3.7
architecture: x64
- name: Install Packages
run: |
sudo apt update
sudo apt install libenchant-dev qt5-default
- 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-qt
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
pytest -v --timeout=60

View File

@@ -1,37 +0,0 @@
name: Linux (3.8)
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
testLinux38:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v1
with:
python-version: 3.8
architecture: x64
- name: Install Packages
run: |
sudo apt update
sudo apt install libenchant-dev qt5-default
- 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: |
export QT_QPA_PLATFORM=offscreen
pytest -v --cov=nw --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1

View File

@@ -1,36 +1,37 @@
name: macOS (3.8)
name: MacOS
on:
push:
branches: [ main, dev ]
branches:
- main
- release
pull_request:
branches: [ main, dev ]
branches:
- main
- release
jobs:
testMac38:
runs-on: macos-latest
testMac:
runs-on: macos-13
steps:
- name: Python Setup
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.12"
architecture: x64
- name: Install Packages
- name: Install Packages (brew)
run: |
brew install enchant
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies
uses: actions/checkout@v4
- 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
pip install -U pyobjc -r requirements.txt -r tests/requirements.txt
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
pytest -v --cov=nw --timeout=60
python -m pytest -v --cov=novelwriter --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

View File

@@ -1,32 +1,33 @@
name: Windows (3.8)
name: Windows
on:
push:
branches: [ main, dev ]
branches:
- main
- release
pull_request:
branches: [ main, dev ]
branches:
- main
- release
jobs:
testWin38:
testWin:
runs-on: windows-latest
steps:
- name: Python Setup
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.12"
architecture: x64
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies
uses: actions/checkout@v4
- 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
pip install -U -r requirements.txt -r tests/requirements.txt
- name: Run Tests
run: |
pytest -v --cov=nw --timeout=60
python -m pytest -v --cov=novelwriter --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

27
.gitignore vendored
View File

@@ -1,26 +1,42 @@
# Setup/Install
/MANIFEST
/dist/
/build/
/deploy/
/dist/
/dist_*/
*.spec
*.egg-info
setup.iss
/novelwriter.desktop
/novelWriter.pyw
/setup/macos/Info.plist
.venv
# Translations
/novelwriter/assets/i18n/*.qm
.qmake.stash
i18n/*.qm
i18n/*.qph
# Documentation
/docs/build/
/novelwriter/assets/help/
/novelwriter/assets/manual.pdf
*.qch
*.qhc
.~lock.*
# Python Temp
__pycache__
*.pyc
# Sample Project
/nw/assets/sample.zip
/novelwriter/assets/sample.zip
/sample/cache
/sample/meta
*.bak
*.lock
ToC.txt
# PyTest
/prof/
@@ -28,11 +44,12 @@ __pycache__
/tests/temp
/tests/lipsum/cache
/tests/lipsum/meta
/tests/minimal/cache
/tests/minimal/meta
/tests/oldproj/cache
/.pytest_cache
/pytestdebug.log
# Coverage
/.coverage
/coverage.*
# Other
/test.py

View File

@@ -1,25 +0,0 @@
# 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

File diff suppressed because it is too large Load Diff

View File

@@ -2,75 +2,131 @@
## 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.
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
Examples of behavior that contributes to a positive environment for our
community 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
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community
Examples of unacceptable behavior by participants include:
Examples of unacceptable behavior include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or 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
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
## Enforcement 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.
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
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.
Community leaders 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, and will communicate reasons for moderation
decisions when appropriate.
## 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.
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## 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.
reported to the community leaders responsible for enforcement at issues (at)
novelwriter.io. All complaints will be reviewed and investigated promptly and
fairly.
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.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of
actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the
community.
## 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
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations

View File

@@ -1,103 +1,131 @@
# Contributing
# Contributing Guide
When contributing to this repository, please first discuss the change you wish to make via the
issue tracker 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.
When contributing to this repository, please first discuss the change you wish to make with the
owner. Either via the issue tracker or on the discussions page. Especially if it is regarding new
features. If you just want to make a minor correction, like fix a typo or similar, feel free to
just make a pull request directly.
There is a code of conduct. Please follow it in all your interactions with the project.
**The following contributions are welcome:**
## Pull Request Process
* Bugfixes for new or existing bugs. Please also report new bugs in the issue tracker even if you
also provide a fix. It makes it easier to keep track of what has been fixed and when.
* Translations made via the [Crowdin project page](https://crowdin.com/project/novelwriter).
* Improvements to the documentation. Particularly if the documentation is unclear. Please don't
make any larger changes to the documentation without discussing if with the maintainer first.
* Adaptations, installation or packaging features targeting specific operating systems.
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 unless asked to do so. Version numbers are bumped in separate
release pull requests by the maintainer.
**Please do not:**
* Make a pull request that restructures or reformats existing code. If you think some part of the
code could be improved, please make an issue thread or start a discussion. The same applies to
any text document in the repository.
## Picking the Correct Branch for a Pull Request
The `main` branch is the default branch. For general changes, please make a new branch in your own
fork from the current `main` branch. Do not make pull requests from your copy of the `main` branch.
As of April 2024, releases are made from the `release` branch. If you are submitting a fix to a
current release you must do so from the `release` branch. If you make such a fix on the `main`
branch, **it cannot be included in a patch release**. This also applies to the documentation for
the latest release published on the main website.
**Also check the following:**
* Make sure your code passes all tests and conforms to the style guide. You can check that the
code generally conforms by running the Python linting tool `flake8` from the root of the project
folder, although it doesn't check everything. The same check is also run on pull requests.
* Please provide a description of the changes in the pull request under the summary section of the
pull request template, and reference any related issues by providing the issue number.
* Do not change the version number.
* Do not submit files that were not actively changed but have otherwise been modified. This is
mostly an issue with translation files. The language tool may update all files in the `i18n`
folder.
## 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.
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.
The source code of novelWriter broadly follows the [PEP8](https://www.python.org/dev/peps/pep-0008)
style guide, but with a few exceptions. Some key points are listed below.
### Linting with flake8
**Line Length:**
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/).
* Source code lines can extend to the upper limit of 99 characters allowed by PEP8. 79 characters
is the recommended line length in PEP8, but this is often too restrictive. 99 characters 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 if possible. If wrapping can be
avoided by going to 99, then that is generally preferable.
* For text files, the text should be wrapped at 99 character. The exception is markdown image tags
and urls which can run past that limit.
**Variable and Function Names**
* PEP8 allows for camelCase for consistency with existing code. The Qt library uses camelCase, so
the novelWriter source code does too.
* The exception to the above is for constants. They should always be in upper snake case, like PEP8
states.
**Spaces, Indentation and Alignment**
* Only indentation by multiples of 4 spaces is allowed.
* No trailing spaces should occur on any line in the source code, including empty lines.
* All common line wrapping methods are allowed in the code, but avoid deep indentations.
* Aligning operators and attributes in columns with multiple spaces is not allowed by PEP8. The
rule is relaxed a bit here. Alignment is allowed when populating large dictionaries or setting
many class attributes. It does improve readability in such cases, but should not be overused.
**Type Annotation**
* All functions must be properly type annotated, and a return type stated in all cases.
* Do not use `List`, `Dict`, `Tuple`, etc, annotations that were deprecated in Python 3.9. You can
install the `flake8-pep585` extension to make sure you don't forget. This is also checked by the
syntax action run on pull requests.
* If annotations require a more recent Python version than the minimum version stated in the
project's `pyproject.toml`, hide it under an `if TYPE_CHECKING` condition so that the code can
still run on older versions. It's OK to require a more recent version for development.
### Linting with `flake8`
A good tool for checking Python code for errors and code style is `flake8`. The documentation is
available [here](https://flake8.pycqa.org/en/latest/).
The `.flake8` file in the root of this project has the following settings for that matches the
required code style:
The `setup.cfg` file in the root of this project has the following settings:
```conf
[flake8]
ignore = E203,E221,E226,E241,E251,E261,E266,E302,E305
ignore = E133,E221,E226,E228,E241,W503
max-line-length = 99
exclude = docs/*
```
The command line equivalent, with reporting, is:
```bash
flake8 . --count --ignore E203,E221,E226,E241,E251,E261,E266,E302,E305 --max-line-length=99 --show-source --statistics
flake8 . --count --ignore E133,E221,E226,E228,E241,W503 --max-line-length=99 --show-source --statistics
```
Passing this check is required before contributuions 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.
Passing this check is required before contributions are merged. 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
Two of the ignored errors are due to the relaxed restriction on column alignment, these are the
E221 and E241 error codes.
Some errors are ignored in novelWriter, for various reasons. In addition, novelWriter sues camelCase
function and variable names due to this being the standard for the Qt libraries, and also because of
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. 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. It is natural to align dictionary columns along the `:` character.
**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.
**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`, preferrably indented at function
level. The end of the function is then clear.
The code E226 is ignored because it doesn't actually follow the
[PEP8 recommendation](https://www.python.org/dev/peps/pep-0008/#other-recommendations)
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 `-`.
The same applies to the modulo operator `%`, hence E228 is also ignored.

76
CREDITS.md Normal file
View File

@@ -0,0 +1,76 @@
# Credits
## Main Developer
* Veronica Berglyd Olsen
## Contributors
* Early Concept: Marian Lückhof
* Internationalisation: Bruno Meneguello
* Setup and Packaging: Rachel Powers
For other contributions, see the project's [Contributors](https://github.com/vkbo/novelWriter/graphs/contributors) page.
## Artwork
The artwork on the Welcome dialog was created by Louis Durrant.
## Translations
The default language is English (UK) with English (US) as an option. These are the original
translators for the languages currently available:
* **Dutch:** Martijn van der Kleijn (mvdkleijn)
* **French:** Jan Lüdke (jyhelle)
* **German:** Myian (HeyMyian)
* **Italian:** Riccardo Mangili
* **Japanese:** hebekeg
* **Latin American Spanish:** Tommy Marplatt (tmarplatt)
* **Norwegian:** Veronica Berglyd Olsen (vkbo)
* **Polish:** Anna Maria Polak (Nauthiz)
* **Portuguese:** Bruno Meneguello (bkmeneguello)
* **Russian:** Konstantin Tan (k1kimosha)
* **Simplified Chinese:** Qianzhi Long (longqzh)
Additional larger translation contributions:
* **French:** Albert Aribaud (aaribaud)
* **Portuguese:** Oli Maia (olimaia)
Translations are managed on [Crowdin](https://crowdin.com/project/novelwriter), and more
contributions are listed on the project's Members page.
## Libraries
The following libraries are dependencies of novelWriter:
* **Qt5** by Qt Company
* **PyQt5** by Riverbank Computing
* **Enchant** by Dom Lachowicz
* **PyEnchant** by Dimitri Merejkowsky
## Assets
Some of the assets bundled with novelWriter were adapted from the following sources:
* **Typicons** icons by Stephen Hutchings (CC BY-SA 4.0)
* **Tomorrow** syntax themes by Chris Kempson (MIT License)
* **Owl** syntax themes by Sarah Drasner (MIT License)
* **Solarized** themes by Ethan Schoonover (MIT License)
* **Cyberpunk Night** theme by Anders Lemvigh (CC BY-SA 4.0)
* **Dracula** theme by Zeno Rocha (MIT License)
* **Snazzy Light** theme by Florian Reuschel (MIT License)
## Fonts
The font used for the main novelWriter logo, mimetype and text banners is Pridi. Other fonts are
used on buttons and icons.
* **Pridi** by Cadson Demak (Open Font License, Version 1.1)
* **Source Sans Pro** by Paul D. Hunt (SIL Open Font License)
## Special Mentions
Additional thanks to John Blommers who was an early user and who has provided a lot of very useful
feedback over the years.

View File

@@ -1,4 +1,6 @@
include pkgutils.py
include LICENSE.md
recursive-include assets *
recursive-include nw/assets *
recursive-include sample *.nwx *.nwd
include CREDITS.md
include CHANGELOG.md
recursive-include novelwriter/assets *
recursive-include setup *

308
README.md
View File

@@ -1,273 +1,81 @@
# novelWriter
[![Linux (3.6)](https://github.com/vkbo/novelWriter/workflows/Linux%20(3.6)/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions)
[![Linux (3.7)](https://github.com/vkbo/novelWriter/workflows/Linux%20(3.7)/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions)
[![Linux (3.8)](https://github.com/vkbo/novelWriter/workflows/Linux%20(3.8)/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions)
[![Windows (3.8)](https://github.com/vkbo/novelWriter/workflows/Windows%20(3.8)/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions)
[![macOS (3.8)](https://github.com/vkbo/novelWriter/workflows/macOS%20(3.8)/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions)
[![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)
[![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)
<img align="left" style="margin: 0 16px 4px 0;" src="https://raw.githubusercontent.com/vkbo/novelWriter/main/assets/icons/96x96/novelwriter.png">
<img align="left" style="margin: 0 0 4px 0;" src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/novelwriter_readme.png">
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 files. It's designed to be a simple text editor
that allows for easy organisation of text files and notes, built on plain text files for
robustness.
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.
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 project XML file. Other meta data
is primarily saved in JSON files.
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 full documentation is available at [novelwriter.readthedocs.io](https://novelwriter.readthedocs.io/).
For more details, and how to install and use novelWriter, please see the main website and
documentation.
The contributing guide is available in [CONTRIBUTING](CONTRIBUTING.md).
**Project Links**
* Website: [novelwriter.io](https://novelwriter.io)
* Documentation: [docs.novelwriter.io](https://docs.novelwriter.io)
* Internationalisation: [crowdin.com/project/novelwriter](https://crowdin.com/project/novelwriter)
* PyPi Project: [pypi.org/project/novelWriter](https://pypi.org/project/novelWriter)
* Social Media: [fosstodon.org/@novelwriter](https://fosstodon.org/@novelwriter)
### Development Status
The application is still under initial development, but all core features have now been added. The
core functionality has been in place for a while, and novelWriter is being used for writing projects
by the author and collaborators.
No new major features will be added at this time, until the application is stable. Until then,
novelWriter is in a _beta_ state. Please report any issues you encounter via the repository's issue
tracker.
You should be able to use novelWriter for real projects, but as with all software, please make
regular backups of your data. There is a built in backup feature that can pack the entire project
into a zip file each time the main window or the project is closed. Please check the documentation
for further details.
## Sponsors
<table style="border: none;">
<tr>
<td><img align="left" style="height: 25px;" src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/signpath_logo.png"></td>
<td>Free code signing on Windows provided by <a href="https://about.signpath.io/">SignPath.io</a>, certificate by <a href="https://signpath.org/">SignPath Foundation</a>.</td>
</tr>
</table>
## Implementation
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 well as long as dependencies are met. The unit
tests are run on the latest versions of Ubuntu Linux, Windows Server and macOS.
novelWriter is written with Python 3 (3.9+) using Qt5 and PyQt5 (5.15 only), and is released on
Linux, Windows and macOS. It can in principle run on any Operating System that also supports Qt,
PyQt and Python.
## Project Contributions
## Installing and Running
Please don't make feature pull requests without first having discussed them with the maintainer.
You can make a feature request in the issue tracker, or if the idea isn't fully formed, start a
discussion on the discussion page. Please also don't make pull requests to reformat or rewrite
existing code unless there is a very good reason for doing so.
You can runt novelWriter either from a downloaded copy of the source code, or by running:
```bash
pip install novelwriter
```
**Note:** On some systems you must use `pip3` instead for the Python 3 version.
Fixes and patches are welcome. Contributions related to packaging and installing novelWriter will
also be appreciated, but please make an issue or a discussion topic first. Before contributing any
code, please also read the full
[Contributing Guide](https://github.com/vkbo/novelWriter/blob/main/CONTRIBUTING.md).
You can update novelWriter to the latest version by running:
```bash
pip install --upgrade novelwriter
```
Project credits are available in [CREDITS.md](https://github.com/vkbo/novelWriter/blob/main/CREDITS.md).
The application can then be started with one of the commands, depending on your Python configuration:
```bash
./novelWriter.py
python novelWriter.py
python3 novelWriter.py
```
**Note:** As of April 2024 only pre-releases are made from the `main` branch. Full releases are
made from the `release` branch. So if you're submitting a fix to a current release, **including
changes to documentation**, they must be made to the `release` branch.
It also takes a few parameters for debugging and such, which can be listed with the switch `--help`.
The `--info`, `--debug` or `--verbose` flags are particularly useful for increasing logging output
for debugging.
### Translations
You can also provide a path to a folder containing a novelWriter project as the last parameter.
New translations are always welcome. This project uses Crowdin to maintain translations, and you
can contribute translations at the [Crowdin project page](https://crowdin.com/project/novelwriter).
If you have any questions, feel free to post them to the
[Translations of novelWriter](https://github.com/vkbo/novelWriter/issues/93) issue thread.
For more details, and how to use Qt Linguist for translations, see the
[i18n instructions](https://github.com/vkbo/novelWriter/blob/main/i18n/README.md).
### Launcher and Icons
## Licence
In the root assets folder there are icons and scripts and a template for setting up a launcher on
Gnome desktops. You may need to modify those scripts slightly, but as they are, they work on Debian
and Ubuntu. For other operating systems, please consult your operating system documentation for how
to make those. Feel free to submit more if you are able to make them.
## Package Dependencies
It is recommended that novelWriter runs with Qt 5.10 or later, and Python 3.6 or later. Running with
Qt as low as 5.2.1 and Python 3.4.3 has been tested, and worked in the past, but there are no
guarantees that this will keep working as these are not a part of the test builds.
### Linux
Generally, dependencies can be installed via `pip` with:
```bash
pip3 install -r requirements.txt
```
You can also install the packages from the distro's own package manager.
For the apt package manager on Debian/Ubuntu systems, the following Python3 packages are needed:
* `python3-pyqt5` for the GUI
* `python3-lxml` for writing project files
* `python3-enchant` for better spell checking (optional)
### macOS
These instructions assume you're using brew, and have Python and pip set up.
If not, see the [brew docs](https://docs.brew.sh/Homebrew-and-Python) for help.
Main requirements are installed via the requirements file.
You also need to install the `pyobjc` package on macOS, so you must run:
```bash
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.
```bash
brew install enchant
```
### Windows
On Windows, the `pip install` command is generally sufficient to install everything you need.
That should also install the Qt libraries and the spell check dictionary dependencies.
**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
```
### Package Versions
PyQt/Qt should be at least 5.3, but ideally 5.10 or higher for nearly all features to work.
Exporting to Markdown requires PyQt/Qt 5.14. There are no known minimum for `lxml`, but the code
was originally written with 4.2. The optional spell check library must be at least 3.0.0 to work
with Windows 64 bit systems. On Linux, 2.0.0 also works fine.
If no external spell checking tool is installed, novelWriter will use a basic spell checker based on
standard Python package `difflib`. Currently, only English dictionaries are available for this spell
checker, but more can be added to the `nw/assets/dict` folder. See the [README](nw/assets/dict/README.md)
file in that folder for how to generate more dictionaries. Note that the difflib-based option is
both slow and limited.
## Key Features
Some features of novelWriter are listed below. Consult the documentation for more information.
### Markdown Flavour
novelWriter is _not_ a full-feature Markdown editor. It allows for a minimal set of formatting
needed for writing text documents for novels. These are currently limited to:
* Headings level 1 to 4 using the `#` syntax only.
* Emphasised and strong text. These are rendered as italicised and bold.
* 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, which is otherwise not supported by Markdown:
* A line starting with `%` is treated as a comment and not rendered on exports unless requested.
Comments do not count towards the word count. If the first word of the comment is `synopsis:`, the
comment is indexed and treated as the synopsis for the section of text under the same header.
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 `@`. This is used for tagging
and inter-linking documents, and can be used to generate a project outline.
* Non-breaking spaces are supported as long as your system is using at least Qt 5.9. For earlier
version, non-breaking spaces are converted to normal spaces when saving the document. This is done
by the Qt library.
* Thin spaces are also supported, as well as non-breaking thin spaces, with the same library version
restriction as above.
* Tabs can be used in the text, and should be properly aligned. The width of a tab in pixels can be
changed in Preferences. Note that for the HTML format, most browsers will treat a tab as a space,
so it may not show up like expected. If you import the HTML file to Libre Office, for instance,
they should appear as expected.
The core export format of novelWriter is HTML5. You can also export the entire project as a single
novelWriter Markdown-flavour document. In addition, other exports to Open Document, PDF, and plain
text is offered through the Qt library, although with limitations to formatting.
The HTML format is well suited for file conversion tools and import into other text editors.
### 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.
New themes can easily be added to the `nw/assets/themes` folder. Have a look in the existing folders
for examples of how to define the colours.
### 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 final project structure, they are purely
tools for organising the files in whatever way the user needs.
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.
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 for further details.
#### 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.
### Visualisation of Story Elements
The different notes can be assigned tags, which other files can refer back to using the `@` 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 editing.
## 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](LICENSE.md) file.
Bundled assets have the following licenses:
* The Typicon-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).
## Screenshot
**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)
This is Open Source software, and novelWriter is licenced 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)
document. Bundled assets and their licences are listed in the
[Credits](https://github.com/vkbo/novelWriter/blob/main/CREDITS.md) document.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

View File

@@ -1,184 +0,0 @@
<?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="linearGradient1470">
<stop
style="stop-color:#7a9cb8;stop-opacity:1"
offset="0"
id="stop1466" />
<stop
style="stop-color:#5978a6;stop-opacity:1"
offset="1"
id="stop1468" />
</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
style="color-interpolation-filters:sRGB;"
id="filter1444">
<feFlood
flood-opacity="0.498039"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood1434" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite1436" />
<feGaussianBlur
in="composite1"
stdDeviation="3"
result="blur"
id="feGaussianBlur1438" />
<feOffset
dx="6"
dy="6"
result="offset"
id="feOffset1440" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite1442" />
</filter>
<filter
style="color-interpolation-filters:sRGB;"
id="filter1456">
<feFlood
flood-opacity="0.498039"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood1446" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite1448" />
<feGaussianBlur
in="composite1"
stdDeviation="3"
result="blur"
id="feGaussianBlur1450" />
<feOffset
dx="6"
dy="6"
result="offset"
id="feOffset1452" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite1454" />
</filter>
<radialGradient
xlink:href="#linearGradient1470"
id="radialGradient1474"
cx="111.19364"
cy="67.111206"
fx="111.19364"
fy="67.111206"
r="130.96873"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.2584252,1.5089457,-0.74487144,1.1148423,-169.6027,-163.93817)" />
</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
style="display:inline"
id="layer1">
<rect
ry="21.166666"
rx="21.166666"
y="5.8208332"
x="5.8208332"
height="259.29166"
width="259.29166"
id="rect1467"
style="display:inline;fill:url(#radialGradient1474);fill-opacity:1;stroke:#517995;stroke-width:2.64583;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
id="layer2"
style="display:inline">
<path
id="rect1406"
style="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 312,200 c -44.32,0 -80,35.68 -80,80 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.68,80 80,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 762.83789 H 792 V 480.00195 a 279.99999,279.99999 0 0 0 -280,-280 279.99999,279.99999 0 0 0 -0.81055,0 279.99999,279.99999 0 0 0 -133.46484,34.29688 C 363.30011,213.54621 339.29632,200 312,200 Z m 231.46094,563.22656 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"
transform="scale(0.26458333)" />
<path
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 632,762.83789 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 884.67773,775.08008 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 792 v -0.16406 z"
transform="scale(0.26458333)" />
<rect
style="fill:#c32222;fill-opacity:1;stroke:none;stroke-width:2.64583;stroke-linejoin:round;stroke-opacity:1"
id="rect914"
width="10.583333"
height="119.0625"
x="69.849998"
y="67.997917"
rx="5.2916665"
ry="5.2916665" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.3 KiB

View File

@@ -1,207 +0,0 @@
<?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>

Before

Width:  |  Height:  |  Size: 9.7 KiB

View File

@@ -1,49 +0,0 @@
#!/bin/bash
cd ..
EXEC=$(pwd)/novelWriter.py
EXEC=$(echo $EXEC | sed 's_/_\\/_g')
sed "s/%%exec%%/$EXEC/g" assets/novelwriter.desktop > /usr/share/applications/novelwriter.desktop
if [ ! -d /usr/share/icons/hicolor/24x24/apps ]; then
mkdir -pv /usr/share/icons/hicolor/24x24/apps
fi
if [ ! -d /usr/share/icons/hicolor/48x48/apps ]; then
mkdir -pv /usr/share/icons/hicolor/48x48/apps
fi
if [ ! -d /usr/share/icons/hicolor/96x96/apps ]; then
mkdir -pv /usr/share/icons/hicolor/96x96/apps
fi
if [ ! -d /usr/share/icons/hicolor/256x256/apps ]; then
mkdir -pv /usr/share/icons/hicolor/256x256/apps
fi
if [ ! -d /usr/share/icons/hicolor/512x512/apps ]; then
mkdir -pv /usr/share/icons/hicolor/512x512/apps
fi
if [ ! -d /usr/share/icons/hicolor/scalable/apps ]; then
mkdir -pv /usr/share/icons/hicolor/scalable/apps
fi
if [ ! -d /usr/share/icons/hicolor/scalable/mimetypes ]; then
mkdir -pv /usr/share/icons/hicolor/scalable/mimetypes
fi
cp -v assets/icons/24x24/novelwriter.png /usr/share/icons/hicolor/24x24/apps/
cp -v assets/icons/48x48/novelwriter.png /usr/share/icons/hicolor/48x48/apps/
cp -v assets/icons/96x96/novelwriter.png /usr/share/icons/hicolor/96x96/apps/
cp -v assets/icons/256x256/novelwriter.png /usr/share/icons/hicolor/256x256/apps/
cp -v assets/icons/512x512/novelwriter.png /usr/share/icons/hicolor/512x512/apps/
cp -v assets/icons/novelwriter.svg /usr/share/icons/hicolor/scalable/apps/
cp -v assets/icons/x-novelwriter-project.svg /usr/share/icons/hicolor/scalable/mimetypes/application-x-novelwriter-project.svg
cp -v assets/mime/x-novelwriter-project.xml /usr/share/mime/packages/
update-mime-database /usr/share/mime/
update-icon-caches /usr/share/icons/hicolor/24x24/apps/
update-icon-caches /usr/share/icons/hicolor/48x48/apps/
update-icon-caches /usr/share/icons/hicolor/96x96/apps/
update-icon-caches /usr/share/icons/hicolor/256x256/apps/
update-icon-caches /usr/share/icons/hicolor/512x512/apps/
update-icon-caches /usr/share/icons/hicolor/1024x1024/apps/
update-icon-caches /usr/share/icons/hicolor/scalable/apps/
update-icon-caches /usr/share/icons/hicolor/scalable/mimetypes/

View File

@@ -1,42 +0,0 @@
#!/bin/bash
cd ..
EXEC=$(pwd)/novelWriter.py
EXEC=$(echo $EXEC | sed 's_/_\\/_g')
sed "s/%%exec%%/$EXEC/g" assets/novelwriter.desktop > /usr/share/applications/novelwriter.desktop
if [ ! -d /usr/share/icons/hicolor/24x24/apps ]; then
mkdir -pv /usr/share/icons/hicolor/24x24/apps
fi
if [ ! -d /usr/share/icons/hicolor/48x48/apps ]; then
mkdir -pv /usr/share/icons/hicolor/48x48/apps
fi
if [ ! -d /usr/share/icons/hicolor/96x96/apps ]; then
mkdir -pv /usr/share/icons/hicolor/96x96/apps
fi
if [ ! -d /usr/share/icons/hicolor/256x256/apps ]; then
mkdir -pv /usr/share/icons/hicolor/256x256/apps
fi
if [ ! -d /usr/share/icons/hicolor/512x512/apps ]; then
mkdir -pv /usr/share/icons/hicolor/512x512/apps
fi
if [ ! -d /usr/share/icons/hicolor/scalable/apps ]; then
mkdir -pv /usr/share/icons/hicolor/scalable/apps
fi
if [ ! -d /usr/share/icons/hicolor/scalable/mimetypes ]; then
mkdir -pv /usr/share/icons/hicolor/scalable/mimetypes
fi
cp -v assets/icons/24x24/novelwriter.png /usr/share/icons/hicolor/24x24/apps/
cp -v assets/icons/48x48/novelwriter.png /usr/share/icons/hicolor/48x48/apps/
cp -v assets/icons/96x96/novelwriter.png /usr/share/icons/hicolor/96x96/apps/
cp -v assets/icons/256x256/novelwriter.png /usr/share/icons/hicolor/256x256/apps/
cp -v assets/icons/512x512/novelwriter.png /usr/share/icons/hicolor/512x512/apps/
cp -v assets/icons/novelwriter.svg /usr/share/icons/hicolor/scalable/apps/
cp -v assets/icons/x-novelwriter-project.svg /usr/share/icons/hicolor/scalable/mimetypes/application-x-novelwriter-project.svg
cp -v assets/mime/x-novelwriter-project.xml /usr/share/mime/packages/
update-mime-database /usr/share/mime/
update-icon-caches /usr/share/icons/*

View File

@@ -1,10 +0,0 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=novelWriter
Comment=Multi-document markdown editor for novels
Exec=%%exec%% %f
Icon=novelwriter
Categories=Qt;Office;WordProcessor;
Terminal=false
MimeType=application/x-novelwriter-project

2339
docs/FileFormatSpec-1.5.fodt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,23 +0,0 @@
/*
* 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;
}

View File

@@ -0,0 +1,14 @@
span.guilabel {
font-weight: 400;
}
.nw-sidebar-title {
height: unset;
max-height: unset;
flex-direction: column;
justify-content: center;
gap: .25rem;
font-size: 1.25rem;
font-weight: normal;
text-align: center;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -0,0 +1,3 @@
{% if docstitle %}
<p class="nw-sidebar-title">{{ docstitle }}</p>
{% endif %}

View File

@@ -1,148 +1,84 @@
# -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
"""
Configuration file for the Sphinx documentation builder.
Documentation: http://www.sphinx-doc.org/en/master/config
"""
# -- Path setup --------------------------------------------------------------
# -- Imports -----------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# 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
import datetime
# -- Project information -----------------------------------------------------
# -- Project Information -----------------------------------------------------
project = "novelWriter"
copyright = "2018-2020, Veronica Berglyd Olsen"
copyright = f"{datetime.date.today().year}"
author = "Veronica Berglyd Olsen"
# The short X.Y version
version = "1.0"
# The full version, including alpha/beta/rc tags
release = "1.0-beta4"
initFile = os.path.join(
os.path.dirname(__file__), os.pardir, os.pardir,
"novelwriter", "__init__.py"
)
with open(initFile) as inFile:
for aLine in inFile:
if aLine.startswith("__version__"):
release = aLine.split('"')[1].strip()
break
else:
release = "unknown"
version = release.partition("-")[0]
# -- General configuration ---------------------------------------------------
# -- General Configuration ---------------------------------------------------
os.environ["TZ"] = "Europe/Oslo"
time.tzset()
# needs_sphinx = "1.0"
extensions = [
"sphinx_rtd_theme",
]
needs_sphinx = "5.0"
extensions = ["sphinx_design"]
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "index"
today_fmt = "%A, %d %B %Y at %H:%M"
language = None
language = "en"
exclude_patterns = []
pygments_style = None
# -- Options for HTML Output -------------------------------------------------
# -- Options for HTML output -------------------------------------------------
html_theme = "sphinx_rtd_theme"
html_logo = "images/novelwriter.png"
html_theme = "sphinx_book_theme"
html_title = f"Version {release}"
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_theme_options = {
# Toc options
"collapse_navigation": True,
"sticky_navigation": True,
"navigation_depth": 3,
"includehidden": True,
"titles_only": False,
"logo_only": True,
"logo": {
"image_light": "_static/novelwriter-light.png",
"image_dark": "_static/novelwriter-dark.png",
},
"show_toc_level": 2,
"show_navbar_depth": 1,
"repository_url": "https://github.com/vkbo/novelwriter",
"navigation_with_keys": True,
"use_repository_button": True,
"use_issues_button": True,
"pygment_light_style": "tango",
"pygment_dark_style": "dracula",
}
html_sidebars = {
"**": ["navbar-logo", "sidebar-title", "sbt-sidebar-nav"],
}
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"
# -- Options for LaTeX output ------------------------------------------------
# -- Options for LaTeX Output ------------------------------------------------
latex_elements = {
# The paper size ("letterpaper" or "a4paper").
#
# "papersize": "letterpaper",
# The font size ("10pt", "11pt" or "12pt").
#
# "pointsize": "10pt",
# Additional stuff for the LaTeX preamble.
#
# "preamble": "",
# Latex figure (float) alignment
#
# "figure_align": "htbp",
"papersize": "a4paper",
"pointsize": "11pt",
"preamble": (
"\\usepackage[utf8]{inputenc}\n"
"\\DeclareUnicodeCharacter{2212}{\\textendash}\n"
),
"figure_align": "htbp",
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_logo = "_static/novelwriter-pdf.png"
latex_documents = [(
master_doc, "novelWriter.tex", "novelWriter Documentation",
author, "manual"
master_doc, "manual.tex", "User Guide", 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
)]
# -- 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"
)]
# -- Options for Epub output -------------------------------------------------
# Bibliographic Dublin Core info.
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.
epub_exclude_files = ["search.html"]

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 KiB

After

Width:  |  Height:  |  Size: 516 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 431 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

View File

@@ -1,88 +1,95 @@
#####################
novelWriter |release|
#####################
######################
novelWriter User Guide
######################
.. image:: https://github.com/vkbo/novelWriter/workflows/python%203.8/badge.svg?branch=main
:target: https://github.com/vkbo/novelWriter/actions
:alt: Python Tests
| **Release Version:** |release|
| **Updated:** |today|
.. image:: https://codecov.io/gh/vkbo/novelWriter/branch/main/graph/badge.svg
:target: https://codecov.io/gh/vkbo/novelWriter
:alt: Code Coverage
novelWriter is an open source plain text editor designed for writing novels assembled from
individual text documents. It uses a minimal formatting syntax inspired by Markdown, and adds a
meta data syntax for comments, synopsis, and cross-referencing. It is 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.
.. image:: https://readthedocs.org/projects/novelwriter/badge/?version=latest
:target: https://novelwriter.readthedocs.io/en/latest/?badge=latest
:alt: Documentation
.. figure:: images/screenshot_multi.png
:class: dark-light
:align: center
:width: 500
.. image:: https://img.shields.io/github/v/release/vkbo/novelwriter
:target: https://github.com/vkbo/novelWriter/releases
:alt: GitHub Release
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, and your project data as standard
data formats in XML and JSON. See :ref:`a_storage` for more details.
.. 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 files. The idea is to have a simple text editor
which allows for easy organisation of text files 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 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 already, and users have tested it on other
platforms too. Since novelWriter is still under development, it is easier to run it if you are
already familiar with how to run Python applications on your platform.
Any operating system that has Python 3 and 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 as well.
See :ref:`a_started` for more details.
**Useful Links**
* Website: https://novelwriter.io
* Documentation: https://novelwriter.readthedocs.io
* Documentation: https://docs.novelwriter.io
* Public Releases: https://releases.novelwriter.io
* Internationalisation: https://crowdin.com/project/novelwriter
* 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
* Social Media: https://fosstodon.org/@novelwriter
.. toctree::
:maxdepth: 2
:caption: First Steps
:hidden:
Main Page <self>
.. toctree::
:maxdepth: 1
:caption: Introduction
:hidden:
int_introduction
int_overview
int_started
int_interface
int_typography
int_howto
int_glossary
.. toctree::
:maxdepth: 2
:caption: Writing Novels
write_projects
write_structure
write_notes
write_export
:maxdepth: 1
:caption: Using novelWriter
:hidden:
usage_breakdown
usage_project
usage_writing
usage_format
usage_shortcuts
usage_typography
.. toctree::
:maxdepth: 2
:caption: Under the Hood
:maxdepth: 1
:caption: Organising Your Project
:hidden:
tech_technical
project_overview
project_structure
project_references
project_manuscript
.. toctree::
:maxdepth: 1
:caption: Additional Details
:hidden:
Indices and Tables
==================
more_customise
more_projectformat
more_counting
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. toctree::
:maxdepth: 1
:caption: Technical Topics
:hidden:
tech_locations
tech_storage
tech_source
tech_tests

View File

@@ -0,0 +1,64 @@
.. _a_glossary:
********
Glossary
********
.. glossary::
:sorted:
Root Folder
A "Root Folder" is a top level folder of the project tree in novelWriter. Each type of root
folder has a specific icon to identify it. For an overview of available root folder types,
see :ref:`a_proj_roots`.
Novel Documents
These are documents that are created under a "Novel" :term:`Root Folder`. They behave
differently than :term:`Project Notes`, and have some more restrictions. For instance, they
can not exist in folders intended only for project notes. See the :ref:`a_struct` chapter for
more details.
Project Notes
Project Notes are unrestricted documents that can be placed anywhere in your project. You
should not use these documents for story elements, only for notes. Project notes are the
source files used by the Tags and References system. See the :ref:`a_references` chapter for
more details on how to use them.
Tag
A tag is a user defined value assigned as a tag to a section of your :term:`Project Notes`.
It is optional, and can be defined once per heading. It is set using the :term:`keyword`
syntax ``@tag: value``, where ``value`` is the user defined part. Each tag can be referenced
in another file using one of the :term:`reference` keywords. See :ref:`a_references` chapter
for more details.
Reference
A reference is one of a set of :term:`keywords<keyword>` that can be used to link to a
:term:`tag` in another document. The reference keywords are specific to the different
:term:`root folder` types. A full overview is available in the :ref:`a_references` chapter.
Project Index
The project index is a record of all headings in a project, with all their meta data like
synopsis comments, :term:`tags<tag>` and :term:`references<reference>`. The project index is
kept up to date automatically, but can also be regenerated manually from the
:guilabel:`Tools` menu or by pressing :kbd:`F9`.
Context Menu
A context menu is a menu that pops up when you right click something in the user interface.
In novelWriter, you can often also open a context menu by pressing the keyboard shortcut
:kbd:`Ctrl+.`.
Headings
Each level of headings in :term:`Novel Documents` have a specific meaning in terms of the
structure of the story. That is, they determine what novelWriter considers a partition, a
chapter, a scene or a text section. For :term:`Project Notes`, the heading levels don't
matter. For more details on headings in novel documents, see :ref:`a_struct_heads`.
Keyword
A keyword in novelWriter is a special command you put in the text of your documents. They are
not standard Markdown, but are used in novelWriter to add information that is interpreted by
the application. For instance, keywords are used for :term:`tags<tag>` and
:term:`references<reference>`.
Keywords must always be on their own line, and the first character of the line must always be
the ``@`` character. The keyword must also always be followed by a ``:`` character, and the
values passed to the command are added after this, separated by commas.

119
docs/source/int_howto.rst Normal file
View File

@@ -0,0 +1,119 @@
.. _a_howto:
*************
Tips & Tricks
*************
.. _Discussions Page: https://github.com/vkbo/novelWriter/discussions
This is a list of hopefully helpful little tips on how to get the most out of novelWriter.
.. note::
This section will be expanded over time. If you would like to have something added, feel free to
contribute, or start a discussion on the project's `Discussions Page`_.
Managing the Project
====================
.. dropdown:: How do I create a project from a template?
:animate: fade-in-slide-down
On the Welcome dialog's **Create New Project** form, you can select to "Prefill Project" from
the content of a different project. This feature is most useful if you copy a project you have
dedicated to be a template project. If you have a structure and settings you want to use for
every new project, this is the best solution.
.. dropdown:: How do I merge multiple documents into one?
:animate: fade-in-slide-down
If you need to merge a selection of documents in your project into a single document, you can
achieve this by first making a new folder for just that purpose, and drag all the documents you
want merged into this folder. Then you can right click the folder, select :guilabel:`Transform`
and :guilabel:`Merge Documents in Folder`.
In the dialog that pops up, the documents will be in the same order as in the folder, but you
can rearrange them here of you wish. See :ref:`a_ui_tree_split_merge` for more details.
.. dropdown:: How do I share status or importance labels between projects?
:animate: fade-in-slide-down
The status or importance labels you have defined in a project can be exported from **Project
Settings** from the respective configuration tabs. You can then import these labels in another
project.
Layout Tricks
=============
.. dropdown:: How do I create a table?
:animate: fade-in-slide-down
The formatting tools available in novelWriter don't allow for complex structures like tables.
However, the editor does render tabs in a similar way that regular word processors do. You can
set the width of a tab in **Preferences**.
The tab key should have the same distance in the editor as in the viewer, so you can align text
in columns using the tab key, and it should look the same when viewed next to the editor.
This is most suitable for your notes, as the result in exported documents cannot be guaranteed
to match. Especially if you don't use the same font in your manuscript as in the editor.
.. dropdown:: How do I force a line break when line breaks are ignored in my manuscript?
:animate: fade-in-slide-down
In the **Manuscript Build Settings** you can choose to ignore line breaks within paragraphs in
your text. However, some times you still need those breaks. Like for instance on the cover page
where you may need to add your name and address. In such cases, you can add ``[br]`` where you
want line breaks. These breaks cannot be ignored by any settings and will always be respected.
.. versionadded:: 2.6
.. dropdown:: How do I turn off first line indent for a specific paragraph?
:animate: fade-in-slide-down
If you have first line indent enabled, but have a specific paragraph that you don't want
indented, you can disable the indentation by explicitly adding text alignment. For instance by
adding ``<<`` to the end to left-align it. Aligned paragraphs are not indented.
See :ref:`a_fmt_align` for more details.
Organising Your Text
====================
.. dropdown:: How do I add introductory text to chapters?
:animate: fade-in-slide-down
Sometimes chapters have a short preface, like a brief piece of text or a quote to set the stage
before the first scene begins.
If you add separate files for chapters and scenes, the chapter file is the perfect place to add
such text. Separating chapter and scene files also allows you to make scene files child
documents of the chapter.
.. dropdown:: How do I distinguishing between soft and hard scene breaks?
:animate: fade-in-slide-down
Depending on your writing style, you may need to separate between soft and hard scene breaks
within chapters. Like for instance if you switch point-of-view character often.
In such cases you may want to use different scene headings for hard and soft scene breaks. The
**Build Manuscript** tool will let you define a different format for scenes using the ``###``
and ``###!`` heading codes when you generate your manuscript. You can for instance add the
common "``* * *``" for hard breaks and select to hide soft scene breaks, which will just insert
an empty paragraph in their place. See :ref:`a_manuscript_settings` for more details.
.. versionadded:: 2.4
Other Tools
===========
.. dropdown:: How do I convert my project to/from the yWriter format?
:animate: fade-in-slide-down
There is a tool available that lets you convert a `yWriter <http://spacejock.com/yWriter7.html>`_
project to a novelWriter project, and vice versa.
The tool is available at `peter88213.github.io/yw2nw <https://peter88213.github.io/yw2nw/>`__

View File

@@ -1,424 +0,0 @@
.. _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 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 file, or the sum of words in 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 file is included in the final project build or not. You
may want to filter out files 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 file. 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 second character indicates
the file layout type (see :ref:`a_proj_roots`).
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_dnd:
Project Tree Drag and Drop
--------------------------
The project tree allows dragging and drop to a certain extent. This feature is primarily intended
for rearranging the order of your files within each root folder, and has only limited support for
moving files elsewhere in the project tree. In general, bulk actions are not allowed. This is
deliberate to avoid accidentally messing up your project. The project tree has no undo function.
Document files and their folders can be rearranged freely within their root folders. Novel files
cannot be moved out of the :guilabel:`Novel` folder, except to :guilabel:`Trash` and the
:guilabel:`Outtakes` folder. Note files can be moved freely anywhere.
Folders cannot be moved at all outside their root tree. Neither can a folder containing files be
deleted. You must first delete the files.
Root folders in the project tree cannot be dragged and dropped at all. However, if you want to
reorder them, you can move them up or down with respect to eachother from the :guilabel:`Tools`
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 the file in the project tree, or press the :kbd:`Return` key while
having it selected. This will open the file 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 (activates :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. 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 little 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 file can be shown. This can be set
in the :guilabel:`Preferences` dialog from the :guilabel:`Tools` menu. Clicking on the document
title bar will select and reveal the file in the project tree, making it easier to find the project
location of the file in a large project.
Any reference to a tag in the editor can be opened in the viewer by moving the cursor to the label
and pressing :kbd:`Ctrl`:kbd:`Return`. 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.
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 it, 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.
.. note::
The :guilabel:`References` panel relies on an up-to-date index of the project. 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_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`.
.. 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`.
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, but this feature isn't always
accurate.
.. tip::
If the editor 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 files of type "Note", they are free to be used as you see
fit, but for all other file 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 file 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 novel title.
``## Title``
Heading level two. If the file is a novel file, the header level indicates the start of a new
chapter.
``### Title``
Heading level three. If the file is a novel file, the header level indicates the start of a new
scene.
``#### Title``
Heading level four. If the file is a novel file, the header level indicates the start of a new
section.
.. note::
The space after the ``#`` characters is mandatory. The syntaxhighlighter will change colour and
font size when the heading is correctly formatted.
.. _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 supports also ``__``
for strong and ``*`` fdr emphasis. However, since the differentiation makes the highlighting and
conversion significantly simpler and faster, in novelWriter this is a rule, not just a
recommendation. The following is therefore the only supported formatting syntax:
There are also some additional rules:
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.
.. _a_ui_md_comm:
Comments and Synopsis
---------------------
In addition to these standard markdown features, novelWriter also allows for comments in the text
files. The text of the comment is ignored by the word counter and not exported or, optionally,
hidden when viewing the document. If the first word of a comment is ``Synopsis:`` (with the colon),
the comment is treated specially, and will show up in the :ref:`a_ui_outline` in a dedicated column.
``% text...``
A comment. The text is not exported by default (this can be overridden), seen in the Viewer, or
counted towards word counts.
``% Synopsis: text...``
A synopsis comment. It is generally treated in the same way as regular comments, except that it
is 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.
.. _a_ui_md_tags:
Tags and References
-------------------
The document editor supports a minimal set of keywords used for setting tags, and making references
between files. 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.
.. _a_ui_md_add:
Additional Markdown and Non-Standard Features
---------------------------------------------
The editor and viewer also supports markdown standard hard line breaks, and preserves non-breaking
spaces if running with Qt 5.9 or higher. For older versions, the non-breaking spaces are lost when
the file is saved. This is unfortunately hard-coded in the Qt text editor.
* A hard line break is achieved by leaving two or more spaces at the end of the line. Alternatively,
the user can press :kbd:`Ctrl`:kbd:`K`, :kbd:`Return` to insert this.
* A non-breaking space is 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.
.. _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, not the files.
The document file 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 file in the
editor.
.. note::
Since the internal structure of the novel does not depend on the file structure of the project
tree, these will not necessarily look the same, depending how you chose to organise your files.
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 content changes, 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,
.. _a_ui_outline_synopsis:
Synopsis Column
---------------
The :guilabel:`Synopsis` column of the outline view takes its information from a specially formatted
comment. See :ref:`a_ui_md_comm`. In order to flag a comment as a synopsis, add the word
``Synopsis:`` as the first word of the comment. The ``:`` is required, and 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.
.. note::
Only one comment can be flagged as a synopsis comment for each heading. If multiple comments are
flagged as a synopsis comment, the last one will be used.
.. _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:`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:`-`", "Strikethrough selected text, or word under cursor."
":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`", "Wrap selected text, or word under cursor, in double quotes."
":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:`Del`", "If in the project tree, move a document to trash, or delete a folder."
":kbd:`Ctrl`:kbd:`Enter`", "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:`D`", "Wrap selected text, or word under cursor, in single quotes."
":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`", "Alternative sequence for redo last undo."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`Up`", "Move item one step up in the project tree."
":kbd:`Ctrl`:kbd:`Shift`:kbd:`Down`", "Move item one step down in the project tree."
":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:`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-K`, followed by a key or
combination for the inserted character or punctuation.
.. 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:`.`", "Insert an ellipsis."
":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:`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."

View File

@@ -1,122 +1,129 @@
.. _a_intro:
************
Introduction
************
********
Overview
********
novelWriter is a simple, multi-document plain text editor using a modified markdown syntax to apply
simple formatting. 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 on the :ref:`a_struct` page.
.. _Snowflake: https://www.advancedfictionwriting.com/articles/snowflake-method/
.. _Markdown: https://en.wikipedia.org/wiki/Markdown
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,
and each entry can be tagged and cross-referenced from within the novel files and other notes. These
tags make it possible to inter-link documents, and generate an overview of the entire novel project
and how the various files and plot elements are interconnected. This is covered on the :ref:`a_proj`
and :ref:`a_notes` pages.
At its core, novelWriter is a multi-document plain text editor. The idea is to let you edit your
text without having to deal with formatting until you generate a draft document or manuscript.
Instead, you can focus on the writing right from the start.
These additional features are not standard in markdown, but are available through special meta
keywords. Syntax highlighting is provided to make it easier to verify that the markdown tags are
used correctly. The syntax is covered on the :ref:`a_ui` page.
Of course, you probably need *some* formatting for your text. At the very least you need emphasis.
Most people are familiar with adding emphasis using ``_underscores_`` and ``**asterisks**``. This
formatting standard comes from Markdown_ and is supported by novelWriter. It also uses Markdown
formatting for defining document headings. If you need more specialised formatting, additional
formatting options are available using a shortcode format. See :ref:`a_fmt_shortcodes` for more
details.
.. admonition:: Limitations
novelWriter is designed for writing fiction, so the formatting features available are limited to
those relevant for this purpose. It is *not* suitable for technical writing, and it is *not* a
full-featured Markdown editor.
It is also not intended as a tool for organising research for writing, and therefore lacks
formatting features you may need for this purpose. The notes feature in novelWriter is mainly
intended for character profiles and plot outlines.
Your novel project in novelWriter is organised as a collection of separate plain text documents
instead of a single, large document. The idea is to make it easier to reorganise your project
structure without having to cut and paste text between chapters and scenes.
There are two kinds of documents in your project: :term:`Novel Documents` are documents that are
part of your story. The other kind of documents are :term:`Project Notes`, which are intended for
your notes about your characters, your world building, and so on.
You can at any point split the individual documents by their headings up into multiple documents,
or merge multiple documents into a single document. This makes it easier to use variations of the
Snowflake_ method for writing. You can start by writing larger structure-focused documents, like
for instance one document per act, and later effortlessly split these up into individual chapter or
scene documents.
.. _a_intro_design:
.. _a_intro_features:
Design Philosophy
=================
Key Features
============
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.
Below are some key features of novelWriter.
.. note::
novelWriter is not intended to be a full office type word processor. It doesn't support images,
links, tables, and other complex structure and objects often needed for such document. Formatting
is limited to headers, and bold, italicised and strikethrough text.
**Focus on writing**
The aim of the user interface is to let you focus on writing instead of spending time formatting
text. Formatting is therefore limited to a small set of formatting tags for simple things like
text emphasis and paragraph alignment. Additional shortcodes are available for special
formatting cases when you need them.
The main window does not have a toolbar like most 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. A full list of shortcuts can be found in the :ref:`a_ui_shortcuts`
section.
When you really want to focus on just writing, you can switch the editor into **Focus Mode**
where only the text editor panel itself is visible, and the project structure view is hidden
away.
In addition, novelWriter offers a :guilabel:`Focus Mode` where all the user interface elements other
than the document editor itself are hidden away.
**Keep an eye on your notes**
The main window can optionally show a document viewer to the right of the editor. The viewer
is intended for displaying another scene document, your character notes, plot notes, or any
other document you may need to reference while writing. It is not intended as a preview panel
for the document you're editing, but if you wish, you can also use it for this purpose.
The colour scheme of the user interface defaults to that of the host operating system. In addition,
a dark theme is 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 Typicon_ icon set
designed by Stephen Hutchings.
**Organise your documents how you like**
You can split your novel project up into as many individual documents as you want to. When you
build the project into a manuscript, they are all glued together in the top-to-bottom order in
which they appear in the project tree. You can use as few text documents as you like, but
splitting the project up into chapters and scenes means you can easily reorder them using the
drag-and-drop feature of the project tree. You can also start out with fewer documents and then
later split them into multiple documents based on chapter and scene headings.
The main window is split in two, or optionally three, panels. The left-most contains the project
tree and all the files 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.
**Multi-novel project support**
The main parts of your project is split up into top level special folders called "Root" folders.
Your main story text lives in the "Novel" root folder. You can have multiple such folders in a
project, and rename them to whatever you want. This allows you to keep a series of individual
novels with the same characters and world building in the same project, and create manuscripts
for them separately.
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 project files, this outline can be quite different than your project tree.
Your project tree lists files, your Outline tree lists the structure of the novel itself.
**Keep track of your story elements**
All documents in your project can be assigned a :term:`tag` that you can then :term:`reference`
from any other document or note. In fact, you can add a new tag under each heading of a note if
you need to be able to reference specific sections of it, or you want to keep several topics or
scenes in the same document.
.. _Typicon: https://github.com/stephenhutchings/typicons.font
**Get an overview of your story**
It is not the documents themselves that define the chapters and scenes of your story, but the
headings within them. In the **Outline View** on the main window you can see an outline of all
the chapter and scene headings of each novel root folder in your project. If they have any
references in them, like which character is in what chapter and scene, these are listed in
additional columns.
You can also add a synopsis to each chapter or scene, which can be listed here as well. You have
the option to add or remove columns of information from this outline. A subset of the outline
information is also available in the **Novel View** as an alternative view to the project tree.
.. _a_intro_project:
**Get an overview of your story elements**
Under the document viewer panel you will find a series of tabs that show the different story
elements you have created tags for. The tabs are sorted into **Characters**, **Plots**, etc,
depending on which categories you are using in your story. This panel can be hidden to free up
space when you don't need it.
Project Layout
==============
You are free to structure your project files as you wish in subfolders, and split the text between
files in whatever way suits you. All that matters to novelWriter is the linear order the files
appear at in the project tree (top to bottom). The chapters, scenes and sections of the novel are
determined by the headings within those files.
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 files. For the files designated as
project notes, the header levels imply no structural meaning, and the user is free to do whatever
they want. See the :ref:`a_struct` page for more details.
.. _a_intro_export:
Project Export
==============
The project can at any time be exported to a range of different formats. Natively, novelWriter
supports export to plain text file, HTML document, novelWriter flavoured markdown, standard
markdown (requires Qt 5.14), and to a basic Open Document.
In addition, printing and printing to PDF is also possible. The best supported export format is
HTML, which can be imported or converted by a number of other tools like Pandoc, or simply imported
into Libre Office Writer and similar word processors.
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 the :ref:`a_export` page for more details on export features and
formats.
**Assembling your manuscript**
Whether you want to assemble a manuscript, or export all your notes, or generate an outline of
your chapters and scenes with a synopsis included, you can use the **Build Manuscript** tool to
do so. The tool lets you select what information you want to include in the generated document,
and how it is formatted. You can send the result to a printer, or generate an Open Document or
Word Document file that can be opened by most office type word processors. You can also generate
the result as HTML, or Markdown, both suitable for further conversion to other formats.
.. _a_intro_screenshots:
Screenshot
==========
Screenshots
===========
**novelWriter with default system theme:**
.. figure:: images/screenshot_light.png
:class: dark-light
.. image:: images/screenshot_default.png
:width: 800
novelWriter with light colour theme
**novelWriter with dark theme:**
.. figure:: images/screenshot_dark.png
:class: dark-light
.. image:: images/screenshot_dark.png
:width: 800
novelWriter with dark colour theme

View File

@@ -0,0 +1,88 @@
.. _a_reading:
******************
What to Read First
******************
The documentation of novelWriter is quite extensive. There are a lot of features to get used to,
but you don't need to know all of them to get started.
The chapters below labelled "Essential Information" are the ones you need to know to use the
application correctly. By "correctly" it is meant: in a way so novelWriter understands the basic
structure of your text. It collects a lot of information from your text and uses it to display the
structure of it in various ways to help you get an overview of your writing.
The chapters labelled "Recommended Reading" includes additional information on how the different
parts if the application work and what the features do.
The "Optional" and "Lookup" chapters contain additional information or lookup tables that are not
essential for using the application.
Using novelWriter
=================
In order to use novelWriter effectively, you need to know the basics of how it works. The following
chapters will explain the main principles. They start with the basics, and get more detailed as you
read on.
:ref:`a_breakdown` – Essential Information
This chapter explains the basics of how the application works and what it can and cannot do.
:ref:`a_ui_project` – Recommended Reading
This chapter will give you a more detailed explanation of how you can use the user interface
components to organise and view your project work.
:ref:`a_ui_writing` – Recommended Reading
This chapter will give you a more detailed explanation of how the text editor and viewer work.
:ref:`a_fmt` – Essential Information
This chapter covers how you should format your text. The editor is plain text, so text
formatting requires some basic markup. The structure of your novel is also inferred from how you
use headings. Tags and references are implemented by special keywords.
:ref:`a_kb` – Optional / Lookup
This chapter lists all the keyboard shortcuts in novelWriter and what they do. Most of the
shortcuts are also listed next to their menu entries inside the app, or in tool tips. This
chapter is mostly for reference.
:ref:`a_typ` – Optional
This chapter gives you an overview of the special typographical symbols available in
novelWriter. The auto-replace feature can handle the insertion of standard quote symbols for
your language, and other special characters. If you use any symbols aside from these, their
intended use is explained here.
Organising Your Projects
========================
In addition to managing a collection of plain text files, novelWriter can interpret and map the
structure of your novel and show you additional information about its flow and content. In order
to take advantage of these features, you must structure your text in a specific way and add some
meta data for it to extract.
:ref:`a_proj` – Essential Information
This chapter explains how you organise the content of your project, and how to set up automated
backups of your work.
:ref:`a_struct` – Essential Information
This chapter covers the way your novel's structure is encoded into the text documents. It
explains how the different levels of headings are used, and some special formatting for
different kinds of headings.
:ref:`a_references` - Recommended Reading
This chapter explains how you organise your notes, and how the Tags and References system works.
This system lets you cross-link your documents in your project, and display these references in
the application interface.
:ref:`a_manuscript` - Recommended Reading
This chapter explains how the **Manuscript Build** tool works, how you can control the way
chapter titles are formatted, and how scene and section breaks are handled.
Additional Details & Technical Topics
=====================================
The Additional Details and the Technical Topics sections contain more in-depth information about
how various bits of novelWriter works. This information is not essential to getting started using
novelWriter.

View File

@@ -1,182 +1,170 @@
.. _a_started:
***************
Getting Started
***************
**********************
Setup and Installation
**********************
This is a brief guide 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 me.
As novelWriter matures, more options for how to install it and get it running will be added. At the
present time, the process is best suited for people used to work with Python projects from command
line.
.. _a_started_install:
Installation
============
You can download the latest version of novelWriter from the source repository on GitHub_. You can
also install it directly from PyPi with ``pip install novelwriter``, or download the packages
directly from the PyPi_ project page.
Latest version of novelWriter is |release|.
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _Enchant: http://rrthomas.github.io/enchant/
.. _GitHub: https://github.com/vkbo/novelWriter
.. _Downloads page: https://download.novelwriter.io
.. _PPA: https://launchpad.net/~vkbo/+archive/ubuntu/novelwriter
.. _Pre-Release PPA: https://launchpad.net/~vkbo/+archive/ubuntu/novelwriter-pre
.. _PyPi: https://pypi.org/project/novelWriter/
.. _python.org: https://www.python.org/downloads/
.. _Releases: https://github.com/vkbo/novelWriter/releases
.. _AppImage: https://appimage.org/
Ready-made packages and installers for novelWriter are available for all major platforms, including
Linux, Windows and MacOS, from the `Downloads page`_. See below for additional install instructions
for each platform.
You can also install novelWriter from the Python Package Index (PyPi_). See :ref:`a_started_pip`.
Installing from PyPi does not set up icon launchers, so you will either have to do this yourself,
or start novelWriter from the command line.
Spell checking in novelWriter is provided by a third party library called Enchant_. Generally, it
should pull dictionaries from your operating system automatically. However, on Windows they must be
installed manually. See :ref:`a_custom_dict` for more details.
.. _a_started_depend:
.. _a_started_windows:
Dependencies
============
Installing on Windows
=====================
novelWriter has been designed to rely on as few dependencies as possible. Aside from the package(s)
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.
You can install novelWriter with both Python and library dependencies embedded using the Windows
Installer (setup.exe) file from the `Downloads page`_, or from the Releases_ page on GitHub_.
Installing it should be straightforward.
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 much slower approach,
and it is less sophisticated than full spell checking libaries, but if you only work with small
files, the performance loss is not noticeable.
If you have any issues, try uninstalling the previous version and making a fresh install. If you
already had a version installed via a different method, you should uninstall that first as having
multiple installations has been known to cause problems.
.. _a_started_depend_packages:
.. _a_started_linux:
Package Installation
--------------------
If you already have Python installed, all you need to do is install the dependencies. To do this,
you need to open your command line tool, find the folder where you extracted novelWriter, and run
the following command:
.. code-block:: console
pip install -r requirements.txt
This will install all the dependencies and recommended packages.
The following Python packages are required to run novelWriter:
* ``pyqt5``, needed for connecting with the Qt5 libraries.
* ``lxml``, needed full XML support.
You can of course also install these packages from your operating system's package repository.
PyQt/Qt should be at least 5.2.1, but ideally 5.10 or higher for nearly all features to work.
Exporting to standard Markdown, for instance, requires PyQt/Qt 5.14. Searching using regular
expressions requires 5.3, and for full Unicode support, 5.13.
There are 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.
The spell checking extension is optional, but recommended:
* ``pyenchant``, needed for efficient spell checking.
The optional spell check library must be at least 3.0.0 to work with Windows. On Linux, 2.0.0 also
works fine.
.. _a_started_depend_docs:
Building the Documentation
--------------------------
If you installed novelWriter from a package, the documentation should be 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-sphinxcontrib.qthelp``
Or from PyPi:
.. code-block:: console
pip install sphinx sphinxcontrib-qthelp
To build the help packages from the documentation source, run
.. code-block:: console
./setup.py qthelp
from the root source folder.
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.
.. _a_started_running:
Running novelWriter
Installing on Linux
===================
If all the required dependencies are met, you can run novelWriter from the command line in one of
the following ways:
A Debian package can be downloaded from the `Downloads page`_, or from the Releases_ page on
GitHub_. This package should work on both Debian, Ubuntu and Linux Mint, at least.
.. code-block:: console
python novelWriter.py
python3 novelWriter.py
./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
There are also a couple of install scripts in the assets folder which will assist in setting up a
launch icon and the novelWriter project file mimetype for Gnome desktops on Linux. Currently,
there's one script for Debian and one for Ubuntu.
If you prefer, you can also add the novelWriter repository on Launchpad to your package manager.
The Launchpad packages `are signed by the author <https://launchpad.net/~vkbo>`__.
.. _a_started_standalone:
Ubuntu
------
Building a Standalone Executable
================================
You can add the Ubuntu PPA_ and install novelWriter with the following commands.
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:: bash
.. code-block:: console
sudo add-apt-repository ppa:vkbo/novelwriter
sudo apt update
sudo apt install novelwriter
python install.py
If successful, the executable will be in the "dist" folder.
If you want the `Pre-Release PPA`_ instead, add the ``ppa:vkbo/novelwriter-pre`` repository.
.. _a_started_standalone_win:
Debian and Mint
---------------
Additional Instructions for Windows
-----------------------------------
Since this is a pure Python package, the Launchpad PPA can in principle also be used on Debian or
Mint. However, the above command will fail to add the signing key, as it is Ubuntu-specific.
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/
Instead, run the following commands to add the repository and key:
novelWriter should work with Python 3.6 or higher, and the executable installer is the easiest to
install.
.. code-block:: bash
Also, make sure you select the "Add Python to PATH" option.
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/novelwriter-ppa-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys F19F1FCE50043114
echo "deb [signed-by=/usr/share/keyrings/novelwriter-ppa-keyring.gpg] http://ppa.launchpad.net/vkbo/novelwriter/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/novelwriter.list
.. image:: images/python_win_install.png
:width: 600
Then run the update and install commands as for Ubuntu:
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.
.. code-block:: bash
sudo apt update
sudo apt install novelwriter
.. tip::
If you get an error message like ``gpg: failed to create temporary file`` when importing the key
from the Ubuntu keyserver, try creating the folder it fails on, and import the key again:
.. code-block:: bash
sudo mkdir /root/.gnupg/
AppImage Releases
-----------------
For other Linux distros than the ones mentioned above, the primary option is AppImage_. These are
completely standalone images for the app that include the necessary environment to run novelWriter.
They can of course be run on any Linux distro, if you prefer this to native packages.
.. note::
novelWriter generally doesn't support Python versions that have reached end of life. If your
Linux distro still uses older Python versions and novelWriter won't run, you may want to try the
AppImage instead.
.. _a_started_macos:
Installing on MacOS
===================
You can install novelWriter with both its Python and library dependencies embedded using the DMG
application image file from the `Downloads page`_, or from the Releases_ page on GitHub_.
Installing it should be straightforward.
* Download the DMG file and open it. Then drag the novelWriter icon to the :guilabel:`Applications`
folder on the right. This will install it into your :guilabel:`Applications`.
* The first time you try to launch it, it will say that the bundle cannot be verified, simply press
the :guilabel:`Open` button to add an exception.
* If you are not presented with an :guilabel:`Open` button in the dialog, launch the application
again by right clicking on the application in Finder and selecting :guilabel:`Open` from the
context menu.
The context menu can also be accessed by option-clicking if you have a one button mouse. This is
done by holding down the option key on your keyboard and clicking on the application in Finder.
.. note::
The novelWriter DMG is not signed because Apple doesn't currently provide a way for non-profit
open source projects to properly sign their installers. The novelWriter project doesn't have the
funding to pay for a commercial software signing certificate.
.. _a_started_pip:
Installing from PyPi
====================
novelWriter is also available on the Python Package Index, or PyPi_. This install method works on
all supported operating systems with a suitable Python environment.
To install from PyPi you must first have the ``python`` and ``pip`` commands available on your
system. You can download Python from `python.org`_. It is recommended that you install the latest
version. If you are on Windows, also make sure to select the "Add Python to PATH" option during
installation.
To install novelWriter from PyPi, use the following command:
.. code-block:: bash
pip install novelwriter
To upgrade an existing installation, use:
.. code-block:: bash
pip install --upgrade novelwriter
When installing via pip, novelWriter can be launched from command line with:
.. code-block:: bash
novelwriter
Make sure the install location for pip is in your PATH variable. This is not always the case by
default, and then you may get a "Not Found" error when running the ``novelwriter`` command.

View File

@@ -1,87 +0,0 @@
.. _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 these 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.
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 the :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 the
:guilabel:`Preferences` if this feature isn't wanted.
The editor distinguishes between text wrapped in 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
Modifier Letter Apostrophes
---------------------------
The auto-replace feature will consider any right-facing single straight quote as a quote symbol,
even if it's 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 right
single quotation marks, but not always, 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 quote symbols 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.
All non-breaking spaces are highlighted with a differently coloured packground. 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. For plain text, they are exported as regular spaces.
.. _thin space: https://en.wikipedia.org/wiki/Thin_space

View File

@@ -0,0 +1,98 @@
.. _a_counting:
********************
Word and Text Counts
********************
This is an overview of how words and other counts of your text are performed. The counting rules
should be relatively standard, and are compared to Libre Office Writer rules.
The counts provided in the app on the raw text is meant to be approximate. For more accurate
counts, you need to build your manuscript in the **Manuscript Tool** and check the counts on the
generated preview.
Text Word Counts and Stats
==========================
These are the rules for the main counts available for for each document in a project.
For all counts, the following rules apply.
#. Short (–) and long (—) dashes are considered word separators.
#. Any line starting with ``%`` or ``@`` is ignored.
#. Trailing white spaces are ignored, including line breaks.
#. Leading ``>`` and trailing ``<`` are ignored with any spaces next to them.
#. Valid shortcodes and other commands wrapped in brackets ``[]`` are ignored.
#. In-line Markdown syntax in text paragraphs is treated as part of the text.
After the above preparation of the text, the following counts are available.
**Character Count**
The character count is the sum of characters per line, including leading and in-text white space
characters, but excluding trailing white space characters. Shortcodes in the text are not
included, but Markdown codes are. Only headings and text are counted.
**Word Count**
The words count is the sum of blocks of continuous character per line separated by any number of
white space characters or dashes. Only headings and text are counted.
**Paragraph Count**
The paragraph count is the number of text blocks separated by one or more empty line. A line
consisting only of white spaces is considered empty.
Manuscript Counts
=================
These are the rules for the counts available for a manuscript in the **Manuscript Tool**. The rules
have been tuned to agree with LibreOffice Writer, but will vary slightly depending on the content
of your text. LibreOffice Writer also counts the text in the page header, which the **Manuscript
Tool** does not.
The content of each line is counted after all formatting has been processed, so the result will be
more accurate than the counts for text documents elsewhere in the app. The following rules apply:
#. Short (–) and long (—) dashes are considered word separators.
#. Leading and trailing white spaces are generally included, but paragraph breaks are not.
#. Hard line breaks within paragraph are considered white space characters.
#. All formatting codes are ignored, including shortcodes, commands and Markdown.
#. Scene and section separators are counted.
#. Comments and meta data lines are counted after they are formatted.
#. Headers are counted after they are formatted with custom formats.
The following counts are available:
**Headings**
The number of headings in the manuscript.
**Paragraphs**
The number of body text paragraphs in the manuscript.
**Words**
The number of words in the manuscript, including any comments and meta data text.
**Words in Text**
The number of words in body text paragraphs, excluding all other text.
**Words in Headings**
The number of words in headings, including inserted formatting like chapter numbers, etc.
**Characters**
The number of characters in all lines, including any comments and meta data text. Paragraph
breaks are not counted, but in-paragraph hard line breaks are.
**Character in Text**
The number of characters in body text paragraphs. Paragraph breaks are not counted, but
in-paragraph hard line breaks are.
**Characters in Headings**
The number of characters in headings.
**Character in Text, No Spaces**
The number of characters in body text paragraphs considered part of a word or punctuation. That
is, white space characters are not counted.
**Character in Headings, No Spaces**
The number of characters in headings considered part of a word or punctuation. That is, white
space characters are not counted.

View File

@@ -0,0 +1,211 @@
.. _a_custom:
**************
Customisations
**************
.. _Enchant: https://rrthomas.github.io/enchant/
.. _Free Desktop: https://cgit.freedesktop.org/libreoffice/dictionaries/tree/
There are a few ways you can customise novelWriter yourself. Currently, you can add new GUI themes,
your own syntax themes, and install additional dictionaries.
.. _a_custom_dict:
Spell Check Dictionaries
========================
novelWriter uses Enchant_ as the spell checking tool. Depending on your operating system, it may or
may not load all installed spell check dictionaries automatically.
Linux and MacOS
---------------
On Linux and MacOS, you generally only have to install hunspell, aspell or myspell dictionaries on
your system like you do for other applications. See your distro or OS documentation for how to do
this. These dictionaries should show up as available spell check languages in novelWriter.
Windows
-------
For Windows, English is included with the installation. For other languages you have to download
and add dictionaries yourself.
**Install Tool**
A small tool to assist with this can be found under **Tools > Add Dictionaries**. It will import
spell checking dictionaries from Free Office or Libre Office extensions. The dictionaries are then
installed in the install location for the Enchant library and should thus work for any application
that uses Enchant for spell checking.
**Manual Install**
If you prefer to do this manually or want to use a different source than the ones mentioned above,
You need to get compatible dictionary files for your language. You need two files files ending with
``.aff`` and ``.dic``. These files must then be copied to the following location:
``C:\Users\<USER>\AppData\Local\enchant\hunspell``
This assumes your user profile is stored at ``C:\Users\<USER>``. The last one or two folders may
not exist, so you may need to create them.
You can find the various dictionaries on the `Free Desktop`_ website.
.. note::
The Free Desktop link points to a repository, and what may look like file links inside the
dictionary folder are actually links to web pages. If you right-click and download those, you
get HTML files, not dictionaries!
In order to download the actual dictionary files, right-click the "plain" label at the end of
each line and download that.
.. _a_custom_theme:
Syntax and GUI Themes
=====================
Adding your own GUI and syntax themes is relatively easy, although it requires that you manually
edit config files with colour values. The themes are defined by simple plain text config files with
meta data and colour settings.
In order to make your own versions, first copy one of the existing files to your local computer and
modify it as you like.
* The existing syntax themes are stored in
`novelwriter/assets/syntax <https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/syntax>`_.
* The existing GUI themes are stored in
`novelwriter/assets/themes <https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/themes>`_.
* The existing icon themes are stored in
`novelwriter/assets/icons <https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/icons>`_.
Remember to also change the name of your theme by modifying the ``name`` setting at the top of the
file, otherwise you may not be able to distinguish them in **Preferences**.
For novelWriter to be able to locate the custom theme files, you must copy them to the
:ref:`a_locations_data` location in your home or user area. There should be a folder there named
``syntax`` for syntax themes, just ``themes`` for GUI themes, and ``icons`` for icon themes. These
folders are created the first time you start novelWriter.
Once the files are copied there, they should show up in **Preferences** with the label you
set as ``name`` inside the file.
.. versionadded:: 2.0
The ``icontheme`` value was added to GUI themes. Make sure you set this value in existing custom
themes. Otherwise, novelWriter will try to guess your icon theme, and may not pick the most
suitable one.
Custom GUI and Icons Theme
--------------------------
A GUI theme ``.conf`` file consists of the following settings:
.. code-block:: cfg
[Main]
name = My Custom Theme
description = A description of my custom theme
author = Jane Doe
credit = John Doe
url = https://example.com
license = CC BY-SA 4.0
licenseurl = https://creativecommons.org/licenses/by-sa/4.0/
icontheme = typicons_light
[Palette]
window = 100, 100, 100
windowtext = 100, 100, 100
base = 100, 100, 100
alternatebase = 100, 100, 100
text = 100, 100, 100
tooltipbase = 100, 100, 100
tooltiptext = 100, 100, 100
button = 100, 100, 100
buttontext = 100, 100, 100
brighttext = 100, 100, 100
highlight = 100, 100, 100
highlightedtext = 100, 100, 100
link = 100, 100, 100
linkvisited = 100, 100, 100
[GUI]
helptext = 0, 0, 0
fadedtext = 128, 128, 128
errortext = 255, 0, 0
statusnone = 120, 120, 120
statussaved = 2, 133, 37
statusunsaved = 200, 15, 39
In the Main section you must at least define the ``name`` and ``icontheme`` settings. The
``icontheme`` settings should correspond to one of the internal icon themes, either
``typicons_light`` or ``typicons_dark``, or to an icon theme in your custom icons directory. The
setting must match the icon theme's folder name.
The Palette values correspond to the Qt enum values for ``QPalette::ColorRole``, see the
`Qt documentation <https://doc.qt.io/qt-5.15/qpalette.html#ColorRole-enum>`_ for more details. The
colour values are RGB numbers on the format ``r, g, b`` where each is an integer from ``0`` to
``255``. Omitted values are not loaded and will use default values. If the ``helptext`` colour is
not defined, it is computed as a colour between the ``window`` and ``windowtext`` colour.
.. versionadded:: 2.5
The ``fadedtext`` and ``errortext`` theme colour entries were added.
Custom Syntax Theme
-------------------
A syntax theme ``.conf`` file consists of the following settings:
.. code-block:: cfg
[Main]
name = My Syntax Theme
author = Jane Doe
credit = John Doe
url = https://example.com
license = CC BY-SA 4.0
licenseurl = https://creativecommons.org/licenses/by-sa/4.0/
[Syntax]
background = 255, 255, 255
text = 0, 0, 0
link = 0, 0, 0
headertext = 0, 0, 0
headertag = 0, 0, 0
emphasis = 0, 0, 0
dialog = 0, 0, 0
altdialog = 0, 0, 0
note = 0, 0, 0
hidden = 0, 0, 0
shortcode = 0, 0, 0
keyword = 0, 0, 0
tag = 0, 0, 0
value = 0, 0, 0
optional = 0, 0, 0
spellcheckline = 0, 0, 0
errorline = 0, 0, 0
replacetag = 0, 0, 0
modifier = 0, 0, 0
texthighlight = 255, 255, 255, 128
In the Main section, you must define at least the ``name`` setting. The Syntax colour values are
RGB(A) numbers of the format ``r, g, b, a`` where each is an integer from ``0`` to ``255``. The
fourth value is the alpha channel, which can be omitted.
Omitted syntax colours default to black, except ``background`` which defaults to white, and
``texthighlight`` which defaults to white with half transparency.
.. versionadded:: 2.2
The ``shortcode`` syntax colour entry was added.
.. versionadded:: 2.3
The ``optional`` syntax colour entry was added.
.. versionadded:: 2.4
The ``texthighlight`` syntax colour entry was added.
.. versionadded:: 2.5
The ``dialog``, ``altdialog``, ``note`` and ``tag`` syntax colour entries were added.
``straightquotes``, ``doublequotes`` and ``singlequotes`` were removed.

View File

@@ -0,0 +1,133 @@
.. _a_prjfmt:
**********************
Project Format Changes
**********************
.. _File Format Spec 1.5: _static/fileformatspec15.pdf
.. _documentation: https://docs.novelwriter.io/
Most of the changes to the file formats over the history of novelWriter have no impact on the
user side of things. The project files are generally updated automatically. However, some of the
changes require minor actions from the user.
The key changes in the formats are listed in this chapter, as well as the user actions required,
where applicable.
.. only:: not html
A full project file format specification is available in the online documentation_.
.. caution::
When you update a project from one format version to the next, the project can no longer be
opened by a version of novelWriter prior to the version where the new file format was
introduced. You will get a notification about any updates to your project file format and will
have the option to decline the upgrade.
.. only:: html
**For Developers**
A full description of the current file format is available in the
:download:`File Format Spec 1.5 <fileformatspec15.pdf>`
document, available as a PDF. This document is intended for contributors to novelWriter, those
building project conversion tools, either to or from tne novelWriter format, and for those who
wish to make their own templating system.
.. _a_prjfmt_1_5:
Format 1.5 Changes
==================
This project format was introduced in novelWriter version 2.0 RC 2.
This is a modification of the 1.4 format. It makes the XML more consistent in that meta data have
been moved to their respective section nodes as attributes, and key/value settings now have a
consistent format. Logical flags are saved as yes/no instead of Python True/False, and the main
heading of the document is now saved to the item rather than in the index. The conversion is done
automatically the first time a project is loaded. No user action is required.
.. _a_prjfmt_1_4:
Format 1.4 Changes
==================
This project format was introduced in novelWriter version 2.0 RC 1. Since this was a release
candidate, it is unlikely that your project uses it, but it may be the case if you've installed a
pre-release.
This format changes the way project items (folders, documents and notes) are stored. It is a more
compact format that is simpler and faster to parse, and easier to extend. The conversion is done
automatically the first time a project is loaded. No user action is required.
.. _a_prjfmt_1_3:
Format 1.3 Changes
==================
This project format was introduced in novelWriter version 1.5.
With this format, the number of document layouts was reduced from eight to two. The conversion of
document layouts is performed automatically when the project is opened.
Due to the reduction of layouts, some features that were previously controlled by these layouts
will be lost. These features are instead now controlled by syntax codes, so to recover these
features, some minor modification must be made to select documents by the user.
The manual changes the user must make should be very few as they apply to document layouts that
should be used only a few places in any given project. These are as follows:
**Title Pages**
* The formatting of the level one title on the title page must be changed from ``# Title Text`` to
``#! Title Text`` in order to retain the previous functionality. See :ref:`a_fmt_head`.
* Any text that was previously centred on the page must be manually centred using the text
alignment feature. See :ref:`a_fmt_align`.
**Unnumbered Chapters**
* Since the specific layout for unnumbered chapters has been dropped, such chapters must all use
the ``##! Chapter Name`` formatting code instead of ``## Chapter Name``. This also includes
chapters marked by an asterisk: ``## *Chapter Name``, as this feature has also been dropped.
See :ref:`a_fmt_head`.
**Plain Pages**
* The layout named "Plain Page" has also been removed. The only feature of this layout was that it
ensured that the content always started on a fresh page. In the new format, fresh pages can be
set anywhere in the text with the ``[NEW PAGE]`` code. See :ref:`a_fmt_break`.
.. _a_prjfmt_1_2:
Format 1.2 Changes
==================
This project format was introduced in novelWriter version 0.10.
With this format, the way auto-replace entries were stored in the main project XML file changed.
.. _a_prjfmt_1_1:
Format 1.1 Changes
==================
This project format was introduced in novelWriter version 0.7.
With this format, the ``content`` folder was introduced in the project storage. Previously, all
novelWriter documents were saved in a series of folders numbered from ``data_0`` to ``data_f``.
It also reduces the number of meta data and cache files. These files are automatically deleted if
an old project is opened. This was also when the Table of Contents file was introduced.
.. _a_prjfmt_1_0:
Format 1.0 Changes
==================
This is the original file format and project structure. It was in use up to version 0.6.3.

View File

@@ -0,0 +1,239 @@
.. _a_manuscript:
***********************
Building the Manuscript
***********************
.. _Pandoc: https://pandoc.org/
You can at any time build a manuscript, an outline of your notes, or any other type of document
from the text in your project. All of this is handled by the **Manuscript Build** tool. You can
activate it from the sidebar, the **Tools** menu, or by pressing :kbd:`F5`.
.. versionadded:: 2.1
This tool is new for version 2.1. A simpler tool was used for earlier versions. The simpler tool
only allows you to define a single set of options for the build, but otherwise had much the same
functionality.
.. _a_manuscript_main:
The Manuscript Build Tool
=========================
.. figure:: images/fig_manuscript_build.png
:width: 80%
The **Manuscript Build** tool main window.
The main window of the **Manuscript Build** tool contains a list of all the builds you have
defined, a selection of settings, and a few buttons to generate preview, open the print dialog, or
run the build to create a manuscript document.
Outline and Word Counts
-----------------------
.. figure:: images/fig_manuscript_build_outline.png
:width: 80%
The **Manuscript Build** tool main window with the **Outline** visible.
The **Outline** tab on the left lets you navigate the headings in the preview document. It will
show up to scene level headings for novel documents, and level 2 headings for notes.
A collapsible panel of word and character counts are also available below the preview document.
These are calculated from the text you have included in the document, and are more accurate counts
than what's available in the project tree since they are counted *after formatting*.
For a detailed description on how they are counted, see :ref:`a_counting`.
.. _a_manuscript_settings:
Build Settings
==============
Each build definition can be edited by opening it in the **Manuscript Build Settings** dialog,
either by double-clicking or by selecting it and pressing the edit button in the toolbar.
.. tip::
You can keep the **Manuscript Build Settings** dialog open while testing the different options,
and just hit the :guilabel:`Apply` button. You can test the result of your settings by pressing
the :guilabel:`Preview` button in the main **Manuscript Build** window. When you're happy with
the result, you can close the settings.
Document Selection
------------------
.. figure:: images/fig_build_settings_selections.png
:width: 80%
The **Selections** page of the **Manuscript Build Settings** dialog.
The **Selections** page of the **Manuscript Build Settings** dialog allows you to fine tune which
documents are included in the build. They are indicated by a green arrow icon in the last column.
On the right you have some filter options for selecting content of a specific type, and a set of
switches for which root folders to include.
You can override the result of these filters by marking one or more documents and selecting to
explicitly include or exclude them by using the buttons below the tree view. The last button can be
used to reset the override and return control to the filter settings.
In the figure, the green arrow icon and the blue pin icon indicates which documents are included,
and the red forbidden icon indicates that a document is explicitly excluded.
.. _a_manuscript_settings_head:
Formatting Headings
-------------------
.. figure:: images/fig_build_settings_headings.png
:width: 80%
The **Headings** page of the **Manuscript Build Settings** dialog.
The **Headings** page of the **Manuscript Build Settings** dialog allows you to set how the
headings in your :term:`Novel Documents` are formatted. By default, the title is just copied as-is,
indicated by the ``{Title}`` format. You can change this to for instance add chapter numbers and
scene numbers, or insert character names, like shown in the figure above.
Clicking the edit button next to a format will copy the formatting string into the edit box where
it can be modified, and where a syntax highlighter will help indicate which parts are automatically
generated by the build tool. The :guilabel:`Insert` button is a dropdown list of these formats, and
selecting one will insert it at the position of the cursor.
Any text you add that isn't highlighted in colours will remain in your formatted titles.
``{Title}`` will always be replaced by the text in the heading from your documents.
You can preview the result of these format strings by clicking :guilabel:`Apply`, and then clicking
:guilabel:`Preview` in the **Manuscript Build** tool main window.
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, resulting in a gap in the text. You can also switch on the :guilabel:`Hide`
setting, which will ignore them completely. That is, there won't even be an extra gap inserted.
Alternatively, if you want a separator text between them, like the common ``* * *``, you can enter
the desired separator text as the format. If the format is any piece of static text, it will always
be treated as a separator.
.. _a_manuscript_settings_head_hard:
Hard and Soft Scenes
^^^^^^^^^^^^^^^^^^^^
If you wish to distinguish between so-called soft and hard scene breaks, you can use the
alternative scene heading format in your text. You can then give these headings a different
formatting in the **Headings** settings.
See :ref:`a_fmt_head` for more info on how to format headings in your text.
Output Settings
---------------
The **Content**, **Format** and **Output** pages of the **Manuscript Build Settings** dialog
control a number of other settings for the output. Some of these only apply to specific output
formats, which is indicated by the section headings on the settings pages.
.. _a_manuscript_build:
Building Manuscript Documents
=============================
.. figure:: images/fig_build_build.png
:width: 80%
The **Manuscript Build** dialog used for writing the actual manuscript documents.
When you press the :guilabel:`Build` button on the **Build Manuscript** tool main window, a special
file dialog opens up. This is where you pick your desired output format and where to write the
file.
On the left side of the dialog is a list of all the available file formats, and on the right, a
list of the documents which are included based on the build definition you selected. You can choose
an output path, and set a base file name as well. The file extension will be added automatically.
To generate the manuscript document, press the :guilabel:`Build` button. A small progress bar will
show the build progress, but for small projects it may pass very fast.
File Formats
------------
Currently, four document formats are supported.
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. Most rich text editors support the
former, and only a few the latter.
Microsoft Word Document Format
The Microsoft Word Document format writes a single ``.docx`` file. It uses a fairly basic format
that should be compatible with most rich text editors.
Portable Document Format (PDF)
The PDF is generated from a copy of the preview document, and should have the same formatting
capabilities as the preview. It's identical to what is produced if you select the print option
and print to PDF.
novelWriter HTML
The HTML format writes a single ``.htm`` file with minimal style formatting. The HTML document
is suitable for further processing by document conversion tools like Pandoc_, for importing in
word processors, or for printing from browser.
Standard/Extended Markdown
The Markdown format comes in both Standard and Extended flavour. The *only* difference in terms
of novelWriter functionality is the support for strike through text, which is not supported by
the Standard flavour.
novelWriter Markup
This is simply a concatenation of the project documents selected by the filters into a ``.txt``
file. 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.
.. versionadded:: 2.6
Microsoft Word and PDF output options were added.
Additional Formats
------------------
In addition to the above document formats, the novelWriter HTML and Markup 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 used by the preview are included.
The text body is saved in a two-level list. The outer list contains one entry per 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.
.. _a_manuscript_print:
Printing
========
The :guilabel:`Print` button allows you to print the content in the preview window. You can either
print to one of your system's printers, or select PDF as your output format from the printer icon
on the print dialog.
.. note::
The paper format should in all cases default to whatever your system default is. If you want to
change it, you have to select it from the **Print Preview** dialog.

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