Commit graph

10769 commits

Author SHA1 Message Date
Pratham Gandhi e5900f9a4f created global qobject 2024-06-24 10:39:38 +05:30
l10n daemon script b0ba4a343d GIT_SILENT Sync po/docbooks with svn 2024-06-23 01:24:01 +00:00
l10n daemon script 10e622c356 GIT_SILENT Sync po/docbooks with svn 2024-06-22 01:28:12 +00:00
l10n daemon script 2656152314 GIT_SILENT Sync po/docbooks with svn 2024-06-20 01:26:18 +00:00
Pratham Gandhi 84c5b6b416 Added keystroke tests for AFNumber_Keystroke 2024-06-19 21:55:38 +00:00
Pratham Gandhi 86969aca39 Modified parttest to account for newer keystroke restrictions 2024-06-19 21:55:38 +00:00
Pratham Gandhi a46678ed2f Added tests for percent keystroke 2024-06-19 21:55:38 +00:00
Pratham Gandhi 160be52119 Implemented AFNumber_Keystroke and AFPercent_Keystroke 2024-06-19 21:55:38 +00:00
Sune Vuorela 71957e02f6 Fix crash on certain pdf actions
The Qt6 port left sometimes a deleted pointer behind to be dereferenced
later.

Fix this by leveraging smartpointers.

Also clean up the related code to be a bit more specific about data
deletion
2024-06-19 18:05:21 +00:00
Pratham Gandhi a0babd7fa4 Implemented AFSpecial_Keystroke 2024-06-19 17:28:06 +00:00
Sune Vuorela a9bb5b7c95 Replace unsigned open document with signed
Rather than opening a new window/tab with an extra document when signing
a document, replace current active unsigned document with the signed
version.

At least for some users, including me when testing,
it gives annoyance or confusion.
2024-06-19 12:05:45 +00:00
l10n daemon script 4ab61f47cb GIT_SILENT Sync po/docbooks with svn 2024-06-18 01:27:57 +00:00
l10n daemon script 6e25b64392 GIT_SILENT made messages (after extraction) 2024-06-18 00:38:33 +00:00
Pratham Gandhi ebc02614de Added tests for validating commit and no commit cases for time keystroke action 2024-06-17 14:54:13 +05:30
Pratham Gandhi 68cb2edb8a Implemented AFTime_Keystroke 2024-06-17 14:54:13 +05:30
Pratham Gandhi a9efa78941 implemented AFMergeChange 2024-06-17 14:54:08 +05:30
l10n daemon script 1a6bd1cc40 GIT_SILENT Sync po/docbooks with svn 2024-06-16 01:23:57 +00:00
Pratham Gandhi 2fe492891f Fixed cursor position and undo/redo merges
Fixes two things:

1. Cursor positions are being incorrectly calculated in scenarios where keystroke actions reject some input text.
2. Undo/redo operations were buggy and the commands would not merge often leading to single character undo/redo most of the times.
2024-06-15 18:26:51 +00:00
Pratham Gandhi 26005d457e Implemented slot refresh methods for radio button, list edit and combo edit 2024-06-15 18:05:54 +00:00
Sune Vuorela 85e8b47a89 Random DVI cleanups
at least certain documents triggers asserts in qt debug mode if a
filename does not contain a space.

Malformed TFM font files can trigger quite serious out of bounds writes.

Also simplify initializations
2024-06-15 10:51:08 +00:00
Sune Vuorela 0bae96a5c0 Fix minor bits from cppcheck 2024-06-13 16:56:24 +02:00
l10n daemon script 033f7b0fc6 GIT_SILENT Sync po/docbooks with svn 2024-06-12 01:25:04 +00:00
Joe Dight 2a78dba3ca BookmarkManager: name new bookmarks by page labels if available 2024-06-11 22:50:11 +00:00
Joe Dight 5b90fcb34d remove BookmarkManager::setPageBookmark
It is only used by addBookmark(int page), which can be implemented in terms of addBookmark(DocumentViewport)
2024-06-11 22:50:11 +00:00
Pratham Gandhi 1b78471a41 Made event.change evaluate to whole incoming text.
Currently event.change evaluates from first point of difference to end of the string. This MR modifies it to evaluate to whole incoming text. Now we evaluate whatever change is coming in, even if that change contains some common substring with original string (not considering only from the first point of difference).

The current definition makes it difficult to evaluate the final value from event.value and event.change within Javascript. This change is also better from compatibility POV as other readers such as Adobe and PDF.js make similar calculations.
2024-06-11 22:41:59 +00:00
Pratham Gandhi 51980dd07e Implemented DocOpen event and fixed doc() function of JSField 2024-06-11 08:52:35 +00:00
l10n daemon script d02b6aa6f2 GIT_SILENT Sync po/docbooks with svn 2024-06-11 01:27:19 +00:00
l10n daemon script 90bbb073c3 GIT_SILENT Sync po/docbooks with svn 2024-06-10 01:31:53 +00:00
Heiko Becker 3e3b504d18 GIT_SILENT Update Appstream for new release
(cherry picked from commit 738995ba4b)
2024-06-10 00:04:30 +02:00
l10n daemon script a31089e18d GIT_SILENT Sync po/docbooks with svn 2024-06-09 01:22:17 +00:00
l10n daemon script 81f84c4f9b GIT_SILENT made messages (after extraction) 2024-06-08 00:38:12 +00:00
l10n daemon script f9047b4e3e GIT_SILENT Sync po/docbooks with svn 2024-06-07 01:21:58 +00:00
Albert Astals Cid 157168a08a dvi: Add another check for index to glyphtable being in range 2024-06-07 00:21:38 +02:00
l10n daemon script de5c0b2b4f GIT_SILENT Sync po/docbooks with svn 2024-06-06 01:25:37 +00:00
l10n daemon script 13b3288b0c GIT_SILENT Sync po/docbooks with svn 2024-06-05 01:32:56 +00:00
l10n daemon script aa2bef0d9a GIT_SILENT Sync po/docbooks with svn 2024-06-04 01:21:49 +00:00
Pratham Gandhi 8be74fa099 Fix form field validation by correcting action type and adding processFocusAction method 2024-06-03 20:33:22 +00:00
Christoph Cullmann 119da9937e add USE_DBUS option
default on for Linux & BSD
2024-06-02 22:20:21 +02:00
l10n daemon script ac501f4f48 GIT_SILENT Sync po/docbooks with svn 2024-06-01 01:23:02 +00:00
Pratham Gandhi 667d615582 Added selStart and selEnd properties to event object 2024-05-31 19:43:12 +00:00
l10n daemon script a7bac89a23 GIT_SILENT Sync po/docbooks with svn 2024-05-31 01:29:12 +00:00
l10n daemon script 665068982e GIT_SILENT made messages (after extraction) 2024-05-31 00:38:28 +00:00
l10n daemon script b3241a2ad0 GIT_SILENT Sync po/docbooks with svn 2024-05-29 01:32:26 +00:00
Pratham Gandhi c538662942 Added tests for percent formatting 2024-05-28 23:25:50 +00:00
Pratham Gandhi a86fd58690 Implemented AFPercent_Format 2024-05-28 23:25:50 +00:00
l10n daemon script f9063084ef GIT_SILENT Sync po/docbooks with svn 2024-05-28 01:20:53 +00:00
Christoph Cullmann a1c2b9d14c use KIconTheme::initTheme & KStyleManager::initStyle to ensure proper styling outside of plasma
like Kate, ensure we use the proper styling outside of Plasma

see

frameworks/kiconthemes#3

for more details
2024-05-27 07:53:36 +00:00
Christoph Cullmann 32ba17454a have dbus optional beside on platforms it is useless on
we do now the same handling in most frameworks
2024-05-27 07:49:06 +00:00
l10n daemon script 39baecd875 GIT_SILENT Sync po/docbooks with svn 2024-05-25 01:23:33 +00:00
Sune Vuorela 1260221733 Add model tester to AnnotationModel 2024-05-24 10:52:39 +00:00