Commit graph

10808 commits

Author SHA1 Message Date
Pratham Gandhi bdb048666e Implemented numItems property for combobox and listbox 2024-07-21 23:39:44 +00:00
Pratham Gandhi 21a8cc7dbb Implemented getItemAt method for comboboxes and listboxes 2024-07-21 23:39:44 +00:00
Pratham Gandhi 43199de411 Fixed implementation of value for combo box and list box 2024-07-21 23:39:44 +00:00
Pratham Gandhi 43b536bdf9 Implement DocClose, DocWillPrint, DocDidPrint, DocWillSave and
DocDidSave methods.
2024-07-21 23:33:41 +00:00
Albert Astals Cid 06ba51c8fc GIT_SILENT Upgrade release service version to 24.11.70. 2024-07-21 12:34:44 +02:00
l10n daemon script eb88909e64 GIT_SILENT Sync po/docbooks with svn 2024-07-21 01:26:19 +00:00
l10n daemon script 8be482f0c8 GIT_SILENT Sync po/docbooks with svn 2024-07-13 01:24:47 +00:00
l10n daemon script 4a297381d2 GIT_SILENT made messages (after extraction) 2024-07-13 00:38:48 +00:00
l10n daemon script eb277519f3 GIT_SILENT Sync po/docbooks with svn 2024-07-11 01:23:10 +00:00
Albert Astals Cid ad3c9a137c Mobile: Fix switch pages 2024-07-10 18:03:53 +00:00
Albert Astals Cid b38b1333ce Make new clang available in CI happier 2024-07-10 19:40:20 +02:00
Pratham Gandhi e6d9ead5b5 Implement AFDate_KeystrokeEx and AFDate_FormatEx methods. 2024-07-09 23:14:34 +00:00
Sune Vuorela 40433777fa Move textdocumentsettings to the right place
For some reason, it has been placed in part, but is used by things in
core.

Given it generates a header-only thing, it still works but is weird.
2024-07-09 22:57:36 +00:00
Pratham Gandhi 0520b64fed Fix numerical interpretation in form fields
With the previous implementations of AFNumber_Keystroke [MR 988](https://invent.kde.org/graphics/okular/-/merge_requests/988), we ensure that during a keystroke event, a user does not enter thousands separator. With this in mind, numerical fields can always be first converted to en_US format and then used for calculations. This ensures that all numbers are correctly interpreted.

BUG: 474661
2024-07-09 22:57:16 +00:00
l10n daemon script 74851e260d GIT_SILENT Sync po/docbooks with svn 2024-07-09 01:22:30 +00:00
Pratham Gandhi c4c98e9958 Added option to save committed values and restore them if not accepted.
Also did some refactoring on the keystroke, format, validate methods.
Created new methods that can accept any generalized form field to allow
for the operations on FormFieldChoice as well.
2024-07-08 21:32:08 +00:00
l10n daemon script 38fadb2b5d GIT_SILENT Sync po/docbooks with svn 2024-07-06 01:24:03 +00:00
l10n daemon script e21d2d53e2 GIT_SILENT Sync po/docbooks with svn 2024-07-04 01:21:57 +00:00
Jonah Brüchert d90fe61b37 mobile: Clip DocumentView 2024-07-03 22:02:13 +00:00
Jonah Brüchert 1fbe0e3df5 mobile: Fix switching pages from the drawer 2024-07-03 22:02:13 +00:00
Jonah Brüchert dc93a212f7 mobile: Fix qml warnings 2024-07-03 22:02:13 +00:00
Alexis Murzeau 3e10990eb0 When doing Ctrl+Wheel, zoom on pointer instead of the center of the screen
The zoom is implemented using zoomWithFixedCenter so it zooms into the
current mouse pointer location instead of zooming on the viewport center.

BUGS: 421484
2024-07-03 18:21:41 +00:00
Alexis Murzeau 83d2dcd7b1 Rearrange PageView::wheelEvent to separate Ctrl+Wheel handling from scrolling
This commit changes the "if / else" into "if return" so most of the
scrolling implemententation is not indented and the Ctrl+Wheel case is
handled as a special case at the beginning of the function.
2024-07-03 18:21:41 +00:00
Sune Vuorela 3610aad389 cppcheck: simplify suppressions
the d_func hierarchy is quite common and should just be generalized.
That way, the suppressions might be able to be moved centrally

Also function argument pointers constness is something one should really
consider if it is worth fixing (it often isn't) due to issues with
binary compatibility or if the base or interface class might define it
without const pointers.
2024-07-03 17:36:01 +00:00
l10n daemon script 35a54f90db GIT_SILENT Sync po/docbooks with svn 2024-07-03 01:24:38 +00:00
Pratham Gandhi 870c9e6b16 Paint radio buttons and checkboxes of correct sizes 2024-07-02 07:26:44 +00:00
l10n daemon script 9827f1adee GIT_SILENT Sync po/docbooks with svn 2024-07-02 01:23:38 +00:00
l10n daemon script d237e94ee7 GIT_SILENT Sync po/docbooks with svn 2024-07-01 01:21:33 +00:00
l10n daemon script 6840ab94e0 GIT_SILENT Sync po/docbooks with svn 2024-06-30 01:23:43 +00:00
l10n daemon script a6c90e2b7e GIT_SILENT Sync po/docbooks with svn 2024-06-29 01:23:09 +00:00
Heiko Becker f9cadaee4d GIT_SILENT Update Appstream for new release
(cherry picked from commit a35f2f331e)
2024-06-28 22:38:48 +02:00
Oliver Kellogg ba0aa6dcf8 part/signaturepartutils.h (getSuggestedFileNameForSignedFile) : Fix minor typo in msgctxt of returned string. 2024-06-28 16:09:31 +00:00
l10n daemon script f73e4f2f5e GIT_SILENT Sync po/docbooks with svn 2024-06-28 01:32:24 +00:00
l10n daemon script 071f3c6272 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-06-28 01:19:07 +00:00
l10n daemon script 22d5e325b5 GIT_SILENT Sync po/docbooks with svn 2024-06-27 01:25:19 +00:00
l10n daemon script f44f711319 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-06-27 01:18:17 +00:00
l10n daemon script 1034c1cff4 GIT_SILENT made messages (after extraction) 2024-06-27 00:38:09 +00:00
Sune Vuorela d211a6a9e9 More cppcheck fixes 2024-06-26 12:48:44 +00:00
Sune Vuorela 0bd2c9cfa0 Use async signature validation
Also, show information about the validity of the certificate used for
the signature

BUG: 446298
2024-06-26 14:02:04 +02:00
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