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
d846811fb9
Merge branch 'release' into i18n/update_translations
2024-04-17 00:24:27 +02:00
Veronica Berglyd Olsen
175b6747ea
Fix build errors
2024-04-16 23:33:13 +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
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
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
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
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
d574b2796f
Update translations ( #1814 )
2024-04-13 01:05:36 +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
6b9c81e8c4
Trigger search update on document save
2024-04-11 00:23:38 +02:00
Veronica Berglyd Olsen
ab33312872
Update codecov action
2024-04-09 23:18:21 +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
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 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 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
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
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 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
Bruno Kühnen Meneguello
89269b848d
Update portuguese translation
2021-03-02 09:04:21 -03:00
Veronica K. B. Olsen
dd10486f27
Merge branch 'main' into dev
2021-03-02 11:38:36 +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 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 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 K. B. Olsen
320643d2da
Merge branch 'testing' into dev
2021-02-23 21:14:48 +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 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
7b417929e6
Merge branch 'testing' into dev
2021-02-21 16:24:33 +01:00
Veronica K. B. Olsen
58eaddf753
Merge branch 'main' into dev
2021-02-20 17:40:44 +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
861a847692
Merge branch 'testing' into dev
2021-02-12 22:07: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
f9e97735e6
Merge branch 'testing' into dev
2021-02-11 17:19:53 +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