Commit graph

650 commits

Author SHA1 Message Date
TheJackiMonster 00aca6a0e1
Fix type conversions, replace potentially deprecated function usage and center dialog
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-12-10 18:05:41 +01:00
nephlm 0a81ff4960
Merge branch 'develop' into session-target 2022-11-21 01:13:28 -05:00
TheJackiMonster 48af930b11
Added checking for rootItem in models
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-08-10 12:17:14 +02:00
TheJackiMonster c656911996
Removed snow flake method
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-08-10 11:43:32 +02:00
TheJackiMonster 029dfe2056
Potential workaround for manuskriptw.exe
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-08-10 00:29:49 +02:00
TheJackiMonster 6916f27d60
Fixed issue #1042
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-08-09 14:37:18 +02:00
TheJackiMonster 0e342337dd
Updated translation files and added more labels to translation
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-08-09 13:44:53 +02:00
TheJackiMonster ecf4d6b0b4
Changed default behavior to save projects
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-07-18 09:27:24 +02:00
TheJackiMonster 276d9dbabc
========== manuskript-0.14.0 ==========
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-06-08 15:04:17 +02:00
TheJackiMonster 934205c46e
Update ui file of about dialog
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-06-08 13:35:18 +02:00
Tobias Frisch d4bedd5003
Merge pull request #1007 from jdanielp/fix-olivierkes-996
Change welcome page spacer size policy to allow welcome to expand to fill most of screen (fixes olivierkes#996)
2022-06-08 13:28:51 +02:00
Tobias Frisch 692995f51c
Merge pull request #831 from zeth/loadsave_test
Write a test for ParseMMDFile function.
2022-06-08 13:24:47 +02:00
Tobias Frisch e780963891
Merge pull request #1002 from olivierkes/duplicate_ids
Potential fix for #719, #1001: data loss when reordering items in upward direction
2022-05-28 12:03:58 +02:00
TheJackiMonster a33249fc9d
Added guard to catch errors with translation
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-05-17 11:43:22 +02:00
TheJackiMonster e45314ba2d
Catch indexing issue in log level conversion
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-05-03 14:10:37 +02:00
Tobias Frisch cb5ee702d3
Merge pull request #1015 from amconners/develop
catch AttributeError in plotTreeView double click event (fixes #1014)
2022-03-31 02:27:11 +02:00
Tobias Frisch daf456e11a
Merge pull request #1004 from jdanielp/fix-olivierkes-950
Fix crash when files are locked for writing (Fixes olivierkes#950)
2022-03-30 22:49:04 +02:00
Tobias Frisch b859631a50
Replaced try & catch with early exit on NoneType
This should fix the issue without exception handling.
2022-03-30 22:44:12 +02:00
Megan Conners 6fd6a68d9d catch AttributeError in plotTreeView double click event 2022-02-19 11:41:19 -05:00
Jonathan Pietkiewicz 750b96e18e apply patch per PR feedback to avoid segfault (fixes olivierkes#950) 2022-02-09 22:09:42 -06:00
Jonathan Pietkiewicz 80490b34ce Change welcome page spacer size policy to allow welcome to expand to fill most of screen (fixes olivierkes#996) 2022-01-29 22:48:36 -06:00
Tobias Frisch 9e8e7a234f
Merge pull request #1003 from jdanielp/develop
Fix crash when regex is not valid (Fixes olivierkes#989)
2022-01-30 03:23:42 +01:00
Jonathan Pietkiewicz 5a6d68e139 Fix crash on open with locked files (fixex olivierkes#950) 2022-01-29 14:23:14 -06:00
Jonathan Pietkiewicz f63acafe4e Add generic list dialog, use it to show files that cannot be saved (fixes olivierkes#950) 2022-01-29 14:02:16 -06:00
Jonathan Pietkiewicz 50e305aa2f Update search feedback when menu is triggered 2022-01-25 22:08:01 -06:00
Jonathan Pietkiewicz 23ded19d58 Change text color to red when the regex is not correct
updated everytime the text changes in the lineedit
2022-01-25 21:57:54 -06:00
Jonathan Pietkiewicz e0a3d01091 move import outside try-catch 2022-01-25 21:16:32 -06:00
Jonathan Pietkiewicz 37667ed70f Fix crash when files are locked for writing (Fixes olivierkes#950)
Wrap file opens in try-catch
Applied fix for project file as well as other files that are opened during save
2022-01-25 14:47:41 -06:00
Jonathan Pietkiewicz 795e1fa9c0 Fix crash when regex is not valid (Fixes olivierkes#989)
Wrap regex preparation in try-catch
Log when there is a problem preparing the regex
2022-01-25 14:05:50 -06:00
Olivier Keshavjee 0330336311 Does not simply warn of duplicate IDs, but fixes them. 2022-01-22 09:53:36 +01:00
Olivier Keshavjee 47b55ba164 Potential fix for #719, #1001 2022-01-21 16:49:04 +01:00
Daniele Scasciafratte b66208791a feat(pandoc): hard_line_breaks support 2022-01-17 15:33:24 +01:00
Megan Conners 01036e4540 fixes #992 and #998 with explicit int casts 2022-01-16 12:31:16 -05:00
TheJackiMonster 9ccf665e12
========== manuskript-0.13.1 ========== 2021-12-13 14:30:49 +01:00
TheJackiMonster dc86e3b14e
Adjusted fixes for python 3.10 to not crash immediately
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-12-13 14:27:59 +01:00
TheJackiMonster c9c18fae57
========== manuskript-0.13.0 ========== 2021-12-13 13:57:26 +01:00
TheJackiMonster d56c2225a3
Fixed issue #865 by adjusting the available IDs in an items constructor
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-12-11 01:34:39 +01:00
TheJackiMonster 77eee852de
Fixed issue #808 by resetting POV once the character gets deleted
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-30 23:40:31 +01:00
TheJackiMonster a63da8d0a8
Fixed issue #937
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-30 23:08:59 +01:00
TheJackiMonster 08e8714f1d
Delegated export stderr output without exit code zero to warnings and fixed one crash during loading
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-27 23:03:31 +01:00
TheJackiMonster 25adfd2437
Adjusted inconsistent pandoc behavior depending on installed version
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-27 16:47:38 +01:00
TheJackiMonster c52dab475c
Updated indonesian qt language files and ui files
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-27 01:39:53 +01:00
TheJackiMonster 7e5edf98ed
Fixed translation files which got messed up by last update
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-07 00:32:07 +01:00
Tobias Frisch 23ead413c1
Merge pull request #895 from zeth/bug-891
Kill old insecure pickle setting files (untested)
2021-11-06 22:56:39 +01:00
TheJackiMonster 15edb6efb7
Fixed issue #957 enforcing types supported by spec for QColor
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-04 00:50:44 +01:00
TheJackiMonster 1af7d89d2a
Fixed issue #931, updated ui files and updated translation files
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-10-23 16:15:58 +02:00
Jan Wester d6e472b939 Implemented fix for failed cursor iteration (#729)
A long time ago, I identified this failure but wasn't sure why it was
failing. I still don't know why, but the emergency fix at least prevents
other people from running into it. As a bonus, since we have a proper
logging facility now, we can actually log it as I desired to do back
then!

This commit tentatively fixes issue 729.
2021-07-10 19:01:58 +02:00
Jan Wester 32caf6aa04 Partial fix for erroneous nbsp->space conversion
QDocument::toPlainText() has the stupid decision to convert nbsp to
spaces in it, which our users obviously hate. Unfortunately, this is
out of our control to fix completely. It is a very deep rabbit hole. :(

Typing non-breaking spaces in the editor now works. Reopening these
files at a later point has these characters remain intact.

What does NOT work is copy-pasting non-breaking spaces. These will end
up looking like normal spaces when you paste them somewhere else, be it
in Manuskript or some other document. In other words: it is impossible
for users to verify whether something is a non-breaking space or an
ordinary one.

I realize that it makes this partial fix meaningless for many. Sorry. :/

Partially fixes issue 738.
2021-07-10 19:01:58 +02:00
Jan Wester 87f1fc0187 Bugfix for filtering on POV characters
If a project only had one character, and it was marked as a POV
character, then that could lead to the accessing of a non-existent
second character. (Yes. That code was very broken.)

Fixes issues 843, 875, 896.
2021-07-10 19:01:58 +02:00
Jan Wester 0ea4c0d174 Share OpenGL contexts to make Qt WebEngine happy
This takes care of the following warning in our log file:

Qt WebEngine seems to be initialized from a plugin. Please set
Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before
constructing QGuiApplication
2021-07-10 19:01:58 +02:00