Commit graph

10754 commits

Author SHA1 Message Date
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
Wendi Gan
322fd2d54e fix Unicode Normalization: replace NFKC to NFC
Use NFC in copy, makeWord, and export functions, and NFKC for search operations.
NFKC may alter characters when copied or exported. For example ⑥ in pdf will be pasted as 6. So most instances are replaced with NFC.
To simplify matching during search operation, NFKC is used.

BUG: 466521
CCBUG: 473495
2024-05-24 10:02:50 +00:00
David Faure
784c1db9df Simplify PageGroupProxyModel, no need for mixIndex
The parentIndex was always invalid so this would always store
4294967295 as internal ID (and never use it).
2024-05-24 08:30:28 +00:00
David Faure
bcbfa0c7ac Annotation tree: preserve expanded state on change
When adding/removing an annotation, the tree would collapse
completely every time, due to the model being fully reset().

Handling row insertion/removal in the proxies would lead to
very complicated code, so instead use KViewStateSerializer to
save/restore the expanded state, based on displayed texts
(e.g. "Page 4 / David Faure").

This required splitting up rebuildIndexes() so we can save on
aboutToBeReset and restore on reset().
2024-05-24 07:15:21 +00:00
l10n daemon script
2578de59e1 GIT_SILENT Sync po/docbooks with svn 2024-05-22 01:25:52 +00:00
l10n daemon script
8c7b7d7e23 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-05-22 01:18:54 +00:00
l10n daemon script
98792fb2b4 GIT_SILENT made messages (after extraction) 2024-05-22 00:38:21 +00:00
l10n daemon script
82fd57be09 GIT_SILENT Sync po/docbooks with svn 2024-05-20 01:23:09 +00:00
l10n daemon script
51a173c8b4 GIT_SILENT made messages (after extraction) 2024-05-17 00:38:00 +00:00
Heiko Becker
34ed45308b GIT_SILENT Update Appstream for new release
(cherry picked from commit 8dcb7568b4)
2024-05-17 00:11:10 +02:00
l10n daemon script
4c328aa098 GIT_SILENT Sync po/docbooks with svn 2024-05-16 01:32:25 +00:00
Pratham Gandhi
a475974024 Typo fix for correct doc rendering in form.h 2024-05-13 10:45:23 +00:00
Albert Astals Cid
d54c138be8 CI: More 6.6 -> 6.7
GIT_SILENT
2024-05-13 12:42:12 +02:00
Albert Astals Cid
ed2bf2b5c4 CI: Qt5 -> Qt6 2024-05-13 12:31:35 +02:00
Albert Astals Cid
316304e038 CI: Use newer image for build_clazy_clang_tidy
GIT_SILENT
2024-05-13 12:29:21 +02:00
l10n daemon script
b8438b7cf7 GIT_SILENT made messages (after extraction) 2024-05-13 00:37:52 +00:00