Commit graph

10272 commits

Author SHA1 Message Date
l10n daemon script
ac3ba488f6 GIT_SILENT Sync po/docbooks with svn 2023-05-04 01:55:59 +00:00
Sune Vuorela
763328a6ba Better dialog for selecting certificates
Instead of just a simple list of "nickname"'s which is kind of like the
signing backend's internal ID for a given certificate, provide some more
context to each key.

This is a slight improvement, not a complete overhaul.
2023-05-03 13:41:14 +00:00
Sune Vuorela
d3e1c32ff7 Simple deprecation: returnPressed 2023-05-03 09:58:52 +00:00
Sune Vuorela
9876bef3bb Simple deprecation: DefaultLocaleLongDate 2023-05-03 09:42:45 +00:00
Sune Vuorela
0f18f49397 Simple deprecation. SkipEmptyParts 2023-05-03 09:26:17 +00:00
Sune Vuorela
b32ae775b4 Remove virtual methods from signature and certificate info
This is an abi break, but it menas we can extend signature and
certificate info in the future without breaking the abi again.

While we are at it, there is no need to hand around pointers to
certificate/signature info any longer, so clean up that. Fix memleaks as
side effect.
2023-05-03 09:15:42 +00:00
Sune Vuorela
7235cd2b9d Only ask for QtQuick for mobile build 2023-05-03 08:39:24 +00:00
Sune Vuorela
907cc7fb80 Simple deprecation. KRandom 2023-05-03 07:34:45 +00:00
l10n daemon script
8869a5d741 GIT_SILENT Sync po/docbooks with svn 2023-05-03 01:59:11 +00:00
Nate Graham
89f17155bf Offer options when trying to overwrite externally-modified file
When the user tries to do a "Save" operation on an open file that was
since modified externally, currently Okular prohibits it. We can make
this a bit more user-friendly by instead explaining the situation
clearly and offering the user some options:
- Yes, really overwrite the changes made in the other program
- Instead save the unsaved changes as a new file elsewhere
- Abort

CCBUG: 402017
2023-05-02 20:57:48 +00:00
Nate Graham
b5191a2c1f Let user "Save As..." when document has been externally modified
Currently Okular stops the user from saving their document if it has
unsaved changes and was modified externally. This makes some sense
because there are now two sources of truth, and Okular cannot reconcile
them itself. However as a consequence, it causes data loss since the
user's unsaved changes in Okular become un-save-able. This is quite
frustrating when it happens.

But this prohibiton on saving over an externally-modified document only
really makes sense for a "Save" operation that overwrites the original
document. If instead, the user does a "Save As...", then they can save
their local changes to another file and avoid losing unsaved changes.
Then if needed, they can manually compare the original
externally-modified document with their newly-saved document and
reconcile the changes by hand.

Accordingly, this commit avoids showing the error message box and
blocking saving if the user is doing a "Save As..." to a new location,
rather than overwriting the open file.

BUG: 402017
FIXED-IN: 23.04.1
2023-05-02 20:57:48 +00:00
l10n daemon script
3bebd3f315 GIT_SILENT Sync po/docbooks with svn 2023-05-02 01:58:48 +00:00
Kai Uwe Broulik
7d53ef7c74 Allow copying annotation text to clipboard
Adds a "Copy Text to Clipboard" context menu which copies the
annotation text to the clipboard as plain text.

When an annotation is selected in "Browse" mode, its text is copied.
2023-04-30 08:11:16 +00:00
l10n daemon script
b34decacd3 GIT_SILENT Sync po/docbooks with svn 2023-04-30 02:25:12 +00:00
l10n daemon script
9d80e4da7d GIT_SILENT Sync po/docbooks with svn 2023-04-29 01:59:50 +00:00
l10n daemon script
95c511b0e9 GIT_SILENT Sync po/docbooks with svn 2023-04-28 01:51:13 +00:00
Sune Vuorela
b932f4289e Simple deprecation. Qt::MidButton 2023-04-27 10:36:01 +00:00
Sune Vuorela
1826ec6daa Simple deprecation. Date long formatting 2023-04-27 11:56:24 +02:00
Sune Vuorela
5d8eac0e2a Return a structure instead of using output arguments
This is preparation to extending the function to also query for possible
background images, reason and location
2023-04-27 09:34:58 +02:00
l10n daemon script
229a69d491 GIT_SILENT Sync po/docbooks with svn 2023-04-27 01:53:45 +00:00
l10n daemon script
7bc2408f2b GIT_SILENT Sync po/docbooks with svn 2023-04-26 01:56:05 +00:00
l10n daemon script
0d82dcdddb GIT_SILENT Sync po/docbooks with svn 2023-04-25 02:02:04 +00:00
l10n daemon script
8f7c16d121 GIT_SILENT Sync po/docbooks with svn 2023-04-24 02:03:53 +00:00
l10n daemon script
251ca60e90 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"
2023-04-24 01:43:52 +00:00
l10n daemon script
657272ea04 GIT_SILENT made messages (after extraction) 2023-04-24 00:46:04 +00:00
Eugene Popov
a25e37e6f7 Reuse an existing action to toggle sidebar visibility
BUG: 468317
2023-04-23 14:39:51 +00:00
l10n daemon script
0da9a8a1c4 GIT_SILENT Sync po/docbooks with svn 2023-04-23 02:20:32 +00:00
Sune Vuorela
a16b564a26 deprecation fix. locale date stringformat 2023-04-22 16:49:46 +00:00
Sune Vuorela
222d778c33 Deprecation fix; returnPressed 2023-04-22 15:02:09 +00:00
l10n daemon script
e2b9640cd0 GIT_SILENT Sync po/docbooks with svn 2023-04-22 02:01:20 +00:00
l10n daemon script
79c7f03ac2 GIT_SILENT Sync po/docbooks with svn 2023-04-21 01:52:15 +00:00
l10n daemon script
1cdb59f033 GIT_SILENT Sync po/docbooks with svn 2023-04-20 01:57:52 +00:00
Sune Vuorela
c7bd071a68 Show location in signature panel as well if provided 2023-04-19 20:45:23 +00:00
Sune Vuorela
87b2831232 Deprecation fix. popupMode 2023-04-19 20:30:27 +00:00
Sune Vuorela
8b814d0030 Deprecation fix. SkipEmptyParts 2023-04-19 19:11:31 +00:00
Sune Vuorela
63053419b9 setDelayed deprecation 2023-04-19 14:57:55 +00:00
l10n daemon script
a2b0e10c33 GIT_SILENT Sync po/docbooks with svn 2023-04-19 01:55:40 +00:00
Sune Vuorela
bb1d6c7c9f Bump c++ standard version. Poppler is about to use c++17 types in the api, so better be prepared 2023-04-17 15:38:19 +02:00
l10n daemon script
eca924dd7f GIT_SILENT Sync po/docbooks with svn 2023-04-17 02:19:01 +00:00
Sune Vuorela
b238acae92 deprecation fix. krandom 2023-04-16 10:15:01 +00:00
Sune Vuorela
c50d6b8aee Fix a deprecation warning 2023-04-13 14:44:58 +02:00
Heiko Becker
7c2c9a1231 GIT_SILENT Update Appstream for new release
(cherry picked from commit bcaeb7566a)
2023-04-12 18:13:21 +02:00
l10n daemon script
552f6135a8 GIT_SILENT Sync po/docbooks with svn 2023-04-11 02:07:03 +00:00
l10n daemon script
36b2dc9387 GIT_SILENT Sync po/docbooks with svn 2023-04-10 01:48:30 +00:00
Dr. David Alan Gilbert
24a9d097d7 JS: Implement field.valueAsString
Adobe's docs say:
  For example, for a field with a value of “020”, value returns the integer 20,
   while valueAsString returns the string “020”.

Share most of the fieldGetValue code by splitting it out into a 'Core'
variant and then using it in both GetValue and GetValueAsString.

BUGS: 468036
2023-04-09 09:21:37 +00:00
Dr. David Alan Gilbert
074c3dc3c2 debug: Log the script
Include the script in the debug.  Useful when you're dealing with
a file with lots of different scripts.
2023-04-09 09:21:37 +00:00
Dr. David Alan Gilbert
51737b24e3 JS: Add debug for field values
Add debug for field setting:

org.kde.okular.core: fieldSetValue: Field:  "Grand_Total_stock_1"  Type:  "text"  Value:  "NaN"

and getting:
org.kde.okular.core: fieldGetValue: Field:  "Market_price_1"  Type:  "text"  Value:  "1"
2023-04-09 09:21:37 +00:00
l10n daemon script
445149a9f5 GIT_SILENT Sync po/docbooks with svn 2023-04-09 01:48:50 +00:00
l10n daemon script
cbf8eec1a9 GIT_SILENT Sync po/docbooks with svn 2023-04-08 01:52:58 +00:00
l10n daemon script
5619924307 GIT_SILENT Sync po/docbooks with svn 2023-04-07 01:46:56 +00:00