Commit graph

2687 commits

Author SHA1 Message Date
Sune Vuorela f4062f5e54 Fix theoretical crash in qunpluck image reader
If a malformed image has no rows or columns, we can end up dereferincing
a nullptr.
Error out early.
2023-12-07 15:16:34 +00:00
Sune Vuorela e705b9fac9 Fix deprecation in tiff generator 2023-12-07 14:52:11 +00:00
Sune Vuorela fbedf4a82a Forward declaring QStringList is annoying on Qt6 porting, and most of them aren't needed so drop it 2023-12-07 14:29:02 +00:00
Sune Vuorela 3e1842a923 Show an icon depending on the storage location of the signature 2023-12-07 12:15:03 +00:00
Sune Vuorela 32c804296a Get rid of QStringRef 2023-12-06 19:12:43 +00:00
Heiko Becker 4696cb4a91 GIT_SILENT Update Appstream for new release
(cherry picked from commit 06578a35b7)
2023-11-30 18:02:31 +01:00
l10n daemon script a9a77cd214 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-11-26 01:16:10 +00:00
l10n daemon script 1641c47234 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-11-07 02:06:23 +00:00
l10n daemon script da7c7ee957 GIT_SILENT made messages (after extraction) 2023-11-07 01:13:10 +00:00
l10n daemon script 25e7d3fd6f GIT_SILENT made messages (after extraction) 2023-11-05 12:27:13 +00:00
l10n daemon script c16357bebf 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-11-04 11:46:37 +00:00
Heiko Becker b370320bbe GIT_SILENT Update Appstream for new release
(cherry picked from commit 22b81f84bd)
2023-11-04 12:00:51 +01:00
l10n daemon script d624d72d22 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-10-28 01:22:19 +00:00
l10n daemon script 712456bc92 GIT_SILENT made messages (after extraction) 2023-10-27 00:41:04 +00:00
l10n daemon script e11183bfb9 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-10-20 01:19:41 +00:00
Heiko Becker f844409a14 GIT_SILENT Update Appstream for new release
(cherry picked from commit 5c8e3c6b62)
2023-10-07 17:25:59 +02:00
Albert Astals Cid a998e0ca17 markdown: Fix rendering with discount3
These defines for no longer supported version of discount2 where
breaking discount3

BUGS: 475198
2023-10-05 21:35:23 +00:00
Kevin Ottens 351cdf2388 When printing respect the overprint preview settings
Mainly two cases here:
  1. printing on Windows or force rasterization enabled, this goes
     through rasterization anyway, so just pass on the information
     as a render hint;
  2. printing on Linux, this goes through poppler's PSConverter, then we
     pass on the information only if we know the output won't be a PDF
     (otherwise we assume the consumer of this PDF will know what to do
     of the overprint information).

The latter case depends on new API introduced in Poppler 23.09.
2023-09-20 21:57:48 +00:00
l10n daemon script 0b3f35a5f6 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-09-14 01:34:36 +00:00
Nicolas Fella d4a344a189 Port away from deprecated KPluginLoader 2023-09-11 19:29:44 +00:00
Nicolas Fella b5303248f0 Add missing includes 2023-09-11 16:47:17 +02:00
Heiko Becker 02a23c5f52 GIT_SILENT Update Appstream for new release
(cherry picked from commit 0de81d092e)
2023-09-09 10:34:08 +02:00
Heiko Becker 044c2e3f08 GIT_SILENT Update Appstream for new release
(cherry picked from commit 0849af5fe8)
2023-08-16 22:56:30 +02:00
Jeremy Whiting 4ae7d68857 Fix more Qt deprecations.
Mostly QPrinter::Orientation -> QPageLayout::Orientation and
a few things about sizes.
2023-08-10 23:12:39 +00:00
Sune Vuorela 88fc4032ac Random collection of cppcheck fixes
- missing consts
 - shadowing of variable names
 - superflous code
 - tighter scoping of some variables
 and other such bits
2023-08-10 22:47:57 +00:00
l10n daemon script 54a72d01ad 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-08-07 01:48:35 +00:00
l10n daemon script 22c6f90398 GIT_SILENT made messages (after extraction) 2023-08-07 00:45:24 +00:00
Sune Vuorela 7e3497bb54 Fix markdown converter with libdiscount 3 2023-08-02 21:58:48 +00:00
l10n daemon script eb676c23fb 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-07-31 01:38:24 +00:00
l10n daemon script a9f51e4490 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-07-30 01:37:06 +00:00
Jeremy Whiting cc80b3d0e3 Convert okular_part.desktop to okular_part.json and use it.
Also fixed the deprecation warning in the generator plugins.
Thanks to Alexander Lohnau
2023-07-23 17:16:07 +00:00
Jeremy Whiting d491dacf37 Move xps generator away from deprecated QtXml classes.
Move XpsHandler bits into XpsPage to parse xml using new classes.
Use QXmlStreamReader instead of QXmlInputSource.
Use QXmlStreamAttributes instead of deprecated QXmlAttributes.
Convert QStringRef return values to string as needed.
2023-07-21 19:20:41 +00:00
Heiko Becker c593aa5866 GIT_SILENT Update Appstream for new release
(cherry picked from commit 4b90f55cb6)
2023-06-30 00:22:01 +02:00
Kevin Ottens 1487dc4ad3 Add a way to enable overprint preview for rendering PDF
This is disabled by default.
2023-06-28 05:34:22 +00:00
Sune Vuorela d1133be5fc Allow open certificate with kleopatra
If the active backend is gnupg (e.g. if only compiled-in backend, or later when configurabitily thru okular has been merged), we can offer to view and edit certificates with Kleopatra (KDE's certificate manager)
2023-06-25 22:41:22 +00:00
l10n daemon script 3fce995a78 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-06-23 01:42:59 +00:00
Sune Vuorela 8ee9ed181f PDF signature backend configuration and adaptions
- Configuration UI for backend selection
 - If backend don't handle password itself, no reason to
   do the things with password
2023-06-21 18:32:50 +00:00
Sune Vuorela 5f2f844577 Remove now unused cmake target option; their actual usage never left my computer 2023-06-20 10:23:41 +02:00
Sune Vuorela 9f498c7f55 Allow new signatures to have image backgrounds 2023-06-14 17:47:41 +00:00
Sune Vuorela da7ca71291 Add location and reason to signing info 2023-06-14 17:47:41 +00:00
l10n daemon script 56c0407bcd 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-06-12 01:50:14 +00:00
Heiko Becker 34f99b2094 GIT_SILENT Update Appstream for new release
(cherry picked from commit 01906f8fd9)
2023-06-02 20:56:30 +02:00
Martin Schnitkemper 8afcf256a8 Make default PDF printing scale mode configurable
Until now, some users have found it annoying when they want to print
multiple documents in their original size and have to manually change
the scaling mode before each print. This commit allows the user to
select the default value so they won't have to change it before every
print.

BUG: 463732
FIXED-IN: 23.08
2023-05-31 23:51:42 +00:00
Volker Krause e99919c4ff Fix messed up indention due to syntax error in ifdef'ed code 2023-05-25 19:50:14 +02:00
Sune Vuorela e2b8df2b43 Simple deprecation. SkipEmptyParts 2023-05-12 17:29:02 +00:00
Sune Vuorela 9bf726881f Simple deprecation. ERR_COULD_NOT_READ 2023-05-12 15:52:05 +02:00
Heiko Becker 1b5803a699 GIT_SILENT Update Appstream for new release
(cherry picked from commit 1e405ebc4c)
2023-05-06 10:22:13 +02: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 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