Commit Graph

2763 Commits

Author SHA1 Message Date
Heiko Becker
715b8707b5 GIT_SILENT Update Appstream for new release
(cherry picked from commit 172f4edeae)
2022-04-12 23:28:06 +02:00
Heiko Becker
172f4edeae GIT_SILENT Update Appstream for new release 2022-04-12 23:27:55 +02:00
Nicolas Fella
4202ccf000 [epub] Fix Windows build
epub_open wants const char*, not QByteArray
2022-04-11 18:35:05 +00:00
Albert Astals Cid
52d1a3b91e Fix "endl" use
If it was at the end of qDebug/qCritical/etc, just remove it, those
already have a newline at the end

The other few convert them to \n
2022-04-08 16:37:44 +02:00
Albert Astals Cid
0d40301d50 Add a few definitions that will come with ECM 5.85
Better enforce them now, so that the work to port doesn't increase over
time

Not a super fan of this for regular applications, but oh well the ship
has sailed
2022-04-07 23:02:12 +00:00
M  B 
5339b7eef1 Markdown: Fix images with special chars in URLs not loaded
If an image URL contains a non-ASCII character (e.g. `kartöffelchen.jpg`), the html returned by the markdown parser contains the encoded path `kart%C3%B6ffelchen.jpg`. We must decode the path before checking if the image file exists.

(cherry picked from commit 8aa96484da)
2022-04-04 00:29:20 +02:00
M  B 
8aa96484da Markdown: Fix images with special chars in URLs not loaded
If an image URL contains a non-ASCII character (e.g. `kartöffelchen.jpg`), the html returned by the markdown parser contains the encoded path `kart%C3%B6ffelchen.jpg`. We must decode the path before checking if the image file exists.
2022-04-03 16:02:44 +00:00
Albert Astals Cid
5ceeb68dfe Remove unused KIO::Core dependencies 2022-04-03 10:57:09 +00:00
Albert Astals Cid
252236d413 Port a few more QLinkedList to QList
We don't need the special properties of QLinkedList in any of those and
QLinkedList is deprecated, so move away from it
2022-03-31 17:08:01 +02:00
Albert Astals Cid
5944ce059f Android: improve a bit the "androiddeployqt is not smart and needs help" code
We do that by:
 * Remembering all the generators we're building
 * Linking the dependencies of all those generators against the app

For that to work we do three things:
 * Move the creation of the app target to after the generator targets
   have been created
 * Have a global variable that lists all the created generators
 * Move the find_package of the generator dependencies to the top level
   so it can be used from the mobile app target
2022-03-28 20:25:04 +00:00
Albert Astals Cid
d72d3a01a5 Merge remote-tracking branch 'origin/release/22.04' 2022-03-28 22:19:45 +02:00
Albert Astals Cid
dbcda67ab9 Fix opening CHM files on Windows
This is part of 451985 the other part is that KF5.91 windows build of
khtml was broken, seems the 5.92 one is good, so once we release 22.04.0
it should be all good hopefully.

BUGS: 451985
2022-03-28 22:17:42 +02:00
Albert Astals Cid
0741ef1838 Port away from more QLinkedLists
QLinkedList is gone from Qt6

The almost 1:1 port is std::list but we don't need iterator stability on
removal/insertion so just port to QList
2022-03-22 12:58:59 +01:00
Albert Astals Cid
8941e43488 Port away from more QLinkedLists
QLinkedList is gone from Qt6

The 1:1 port is std::list but we don't need iterator stability on
removal/insertion so just port to QList (one case to std::vector since
QList needs a copy constructor)
2022-03-22 00:11:55 +01:00
Georgiy Sgibnev
17be599933 Dealing with a tmp file in case of a signing fail 2022-03-21 09:40:58 +03:00
Albert Astals Cid
6767b8739e Port a few QLinkedList to QList
QLinkedList is deprecated in later Qt5 and gone in Qt6

The 1:1 port is std::list but in this cases all we ever do
is create the lists, push back to them, and pass then around
to be read, for that a QList is more than enough
2022-03-19 11:22:55 +00:00
Albert Astals Cid
6747e7fe8b signals-> Q_SIGNALS
A future ECM update is going to force that on us, so do it now anyway
2022-03-19 10:58:47 +00:00
Albert Astals Cid
a2e1043149 slots -> Q_SLOTS
A future ECM update is going to force that on us, so do it now anyway
2022-03-19 10:58:47 +00:00
Albert Astals Cid
ba35bbd9e6 emit -> Q_EMIT
A future ECM is going to force that on us, so do it early
2022-03-19 10:58:47 +00:00
snooxx 💤
2ad9e6f0b3
Simplify QPainter::drawRoundedRect usage
After fixing the porting mistake done in 78d983ee, `drawRoundedRect` can
be further simplified to not use any relative sizes anymore.

We can also assume that the code in `dviRenderer::epsf_special` was
supposed to use a constant corner radius and therefore was wrong
initially. By dropping `Qt::RelativeSize` the code might become closer
to its originally intended behavior.

Test Plan:
  - No change in behavior for rounded corners of "Welcome" popup message
    and "No Annotations" message in sidebar.
  - Could not test DVI code path.
2022-03-09 22:38:55 +00:00
Volker Krause
50d0703ae0 Enable readability-braces-around-statements 2022-03-09 23:29:56 +01:00
snooxx 💤
667e73325a
Restore properly rounded corners of popup messages
78d983ee led to some rounded corners in the UI not being perfectly
circular anymore: Popup messages would stretch the rounding depending on
message length, and the rounded corner of the message in the annotation
bar would get distorted while changing the sidebar's width.

That commit tried to fix the following `warning: ‘void
QPainter::drawRoundRect(int, int, int, int, int, int)’ is deprecated:
Use drawRoundedRect(..., Qt::RelativeSize)` by changing to
`drawRoundedRect`, but missed to also add `Qt::RelativeSize`.

Adding the missing flag fixes both issues. The change is also
implemented in `dviRenderer::epsf_special` (introduced in be544056,
changed in 55dc43bf) for correctness.

Test Plan:
  - Start Okular. The "Welcome" message and the "Document Loaded"
    message have perfectly rounded corners again, not depending
    on message length.
  - Change width of the annotations sidebar: The "No Annotations"
    message does not change its rounded corners anymore.
  - Running in HiDPI mode retains the correct behavior.
  - Note: There does not seem to be a trivial/convenient way to trigger
    the DVI code path.
2022-03-07 14:01:53 +00:00
Albert Astals Cid
1aa175cf3f Support SaveAs action
If a new enough (unreleases as of now) poppler is available

BUGS: 451010
2022-03-06 19:16:27 +00:00
Heiko Becker
fe5847155c GIT_SILENT Update Appstream for new release
(cherry picked from commit b2d872c79f)
2022-02-27 19:11:13 +01:00
Albert Astals Cid
4cd6bfd30e mobile: Add Signature Viewing UI
Move a few files from part/ to gui/ since they are also used by the
mobile/ frontend
2022-02-18 08:32:13 +00:00
l10n daemon script
c014232697 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"
2022-02-11 01:43:34 +00:00
l10n daemon script
18fab8e19b GIT_SILENT made messages (after extraction) 2022-02-11 00:42:43 +00:00
l10n daemon script
5115d6db24 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"
2022-02-05 01:43:36 +00:00
Albert Astals Cid
218edc6f4a Merge remote-tracking branch 'origin/release/21.12' 2022-01-29 11:47:52 +01:00
Albert Astals Cid
5d1d412092 Fix opening epub files with non ascii names on Windows
epub_open wants an utf8 in Windows

It probably also wants utf8 in Linux, but the qPrintable already gives
us an utf8 in most of the normal Linux locales, so don't touch that

BUGS: 448274
2022-01-29 00:42:15 +00:00
Albert Astals Cid
feef900250 Make sure helper apps we start are in path
QProcess will happily start things in CWD which is not what we want
2022-01-28 22:51:20 +00:00
Heiko Becker
db9dd90925 GIT_SILENT Update Appstream for new release
(cherry picked from commit 715fd1ac36)
2022-01-28 23:45:01 +01:00
Heiko Becker
715fd1ac36 GIT_SILENT Update Appstream for new release 2022-01-28 23:44:37 +01:00
Fabio Bas
da5fdc151b XPS: fix multipiece image loading
Turns out some files contain images saved in the xps archive as a directory containing multiple pieces, the first one being the image itself and the second one being empty.
Of course this is quite a weird way to save an image, but it seems that it still is valid and other viewers are able to load it correctly.
This change fixes the loading of multipiece images.

(cherry picked from commit 3506fb2ea8)
2022-01-26 13:50:40 +01:00
Fabio Bas
3506fb2ea8 XPS: fix multipiece image loading
Turns out some files contain images saved in the xps archive as a directory containing multiple pieces, the first one being the image itself and the second one being empty.
Of course this is quite a weird way to save an image, but it seems that it still is valid and other viewers are able to load it correctly.
This change fixes the loading of multipiece images.
2022-01-26 11:08:53 +00:00
Albert Astals Cid
a8e5f6e9f7 PDF: Allow signing unsigned signature fields 2022-01-24 13:18:36 +01:00
Albert Astals Cid
fa6743aa04 Support the PDF Print named action
Also stop casting directly from a poppler enum to an okular enum, it's
not cool

BUGS: 448791
2022-01-23 22:20:46 +00:00
Leonid Soshinskiy
cc0e128561 fb2: fix duplicating book title, annotation, cover etc. 2022-01-06 09:57:43 +00:00
Albert Astals Cid
bc9ca92885 if -> ifdef 2022-01-06 00:04:29 +01:00
Lenny Soshinskiy
2b837e08a0 fb2: show keywords in DocumentInfo 2022-01-05 15:16:55 +00:00
Albert Astals Cid
f03bbfa89d PDF: Allow signing documents that need password to open them
We need the password since in the middle of the signing process we need to reopen
the document we just created to do some final modifications
2022-01-05 13:59:37 +00:00
Albert Astals Cid
e2ac1dcd1e PDF: Fix memory leak when the file has Optional Content links 2022-01-04 16:42:35 +00:00
Yuri Chornoivan
3400e8aee6 Remove extra spaces in FB2 paragraphs
BUG: 359059
2022-01-04 12:08:43 +00:00
Heiko Becker
11448b94b1 GIT_SILENT Update Appstream for new release
(cherry picked from commit 8a09492a9a)
2022-01-04 01:06:53 +01:00
Heiko Becker
8a09492a9a GIT_SILENT Update Appstream for new release 2022-01-03 22:29:30 +01:00
Albert Astals Cid
b38b2dfe52 Merge remote-tracking branch 'origin/release/21.12' 2022-01-03 21:54:22 +01:00
Albert Astals Cid
e7eb937d28 Fix opening some password protected documents
e.g. the ones in poppler issue 824

The PDF spec doesn't say (or I couldn't find it) how a user entered
string is converted to the byte array needed for password checking, so
we try both latin1 and utf8
2022-01-03 18:26:49 +00:00
Albert Astals Cid
a2576dc746 Act on core/ TODOs that are not binary compatible
I'm going to need to break binary compatibility to add a new feature
so may as well cleanup all the TODOs regarding that

Changes:
 * Moving a few destructors to the header
 * Removing a few unnecessary & in params
 * Adding a few necessary & in params
 * Making print return an enum instead of a bool and then having another
   function that returns the enum
 * Make Generator::requestFontData be a virtual
 * Remove unused enum
 * Remove a few filePrinter unneeded functions
 * Remove unused TextDocumentGenerator::addMetaData signal
2021-12-29 09:35:25 +00:00
Albert Astals Cid
84d977dd2d GIT_SILENT Update Appstream for new release 2021-12-09 17:12:37 +01:00
Albert Astals Cid
09a2b506ed GIT_SILENT Update Appstream for new release
(cherry picked from commit 84d977dd2d)
2021-12-09 17:12:37 +01:00
Albert Astals Cid
97f06be67f Merge remote-tracking branch 'origin/release/21.12' 2021-12-07 12:11:44 +01:00
Albert Astals Cid
8126b99062 Make CI happy
Comment an unused varaible
2021-12-07 11:41:27 +01:00
l10n daemon script
0439961dce 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"
2021-12-06 02:44:04 +00:00
l10n daemon script
9b24a11eb1 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"
2021-12-06 01:39:35 +00:00
Albert Astals Cid
c962c6caf6 kimgio generator: Make kexiv2 dependency optional
getting keviv2 to build on Android is hard (TM)
2021-11-29 11:59:01 +00:00
l10n daemon script
a520e4378b 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"
2021-11-14 01:27:45 +00:00
Albert Astals Cid
f686f4c6bf Markdown: Don't crash on files with html images, alt text, inside links
If we have code like <a><img></a><a><img></a> and the img has alt text

The old code did
  remove image
  insert alt text
but when we remove the image, the qtextdocument says
  "i don't need the <a> anymore since there's nothing inside"
and then everything breaks because the layout has changed and we're
iterating over "unexisting" text blocks

So instead we just insert the alt text and
since we have selected the image with the cursor it will
replace it correctly

BUGS: 444971
2021-11-08 21:23:06 +00:00
Heiko Becker
b5eebfa12d GIT_SILENT Update Appstream for new release
(cherry picked from commit 2a00f650c5)
2021-10-31 11:18:54 +01:00
Heiko Becker
458c72a9c3 GIT_SILENT Update Appstream for new release
(cherry picked from commit 4304bcc397)
2021-10-05 00:16:35 +02:00
Mahmoud Khalil
8b3dfcb3f4 PDF: Add Stamps to the file properly
By using Poppler 20.10 new custom image stamps APIs

Instead of the incompatible hack we used before that only worked for Okular.

This is done by modifying the update function used by PopplerAnnotationProxy in order to load the image in
the correct dimensions and send it to the poppler-Qt5 frontend.

We temporarily store the stamp annotation appearance when deleting it so that we can set it again when doing an undo undo.
2021-10-01 16:04:50 +00:00
l10n daemon script
84c9f3ea2a 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"
2021-10-01 01:22:33 +00:00
Albert Astals Cid
3b8cbc3320 markdown: Only remove text if we're going to add something
Otherwise things get confused

BUGS: 443057
2021-09-29 07:47:47 +00:00
Albert Astals Cid
1c3e5b23d2 PDF: Support not contacting OCSP servers when validating signatures
This is sub-optimal since will not check if the certificate has been
revoked but is more privacy friendly since doesn't leak to the
certificate authority server that you're trying to validate a given
certificate
2021-09-28 21:33:07 +00:00
Nate Graham
6d2623a029 Merge branch 'release/21.08' 2021-09-24 10:07:15 -06:00
Nate Graham
51d91bfdcb Automatically enable and disable "Force Rasterization" when required
Okular implements various print scaling options that require the use of
the "Force rasterization" feature or else they have no effect. However
this is not communicated in the UI anywhere or handled automatically,
leading to users being confused and frustrated when the print scaling
option they chose didn't work. It wastes paper too.

This commit causes the "Force rasterization" checkbox to become checked
automatically whenever the user selects a print scaling option that
requires it, and unchecked if they return to the default scaling mode
that does not require it.

BUG: 434247
FIXED-IN: 21.08.2
2021-09-23 15:19:27 -06:00
l10n daemon script
e6c6e52253 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"
2021-09-15 01:20:14 +00:00
l10n daemon script
9a4f79ff83 GIT_SILENT made messages (after extraction) 2021-09-15 00:17:02 +00:00
l10n daemon script
7c87c702df 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"
2021-09-10 02:19:38 +00:00
l10n daemon script
7ae4288f35 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"
2021-09-10 01:16:35 +00:00
l10n daemon script
f023cdc5b7 GIT_SILENT made messages (after extraction) 2021-09-10 00:16:21 +00:00
Albert Astals Cid
8ea7214b01 Use the non deprecated version of the PixmapRequest constructor 2021-09-09 16:36:54 +02:00
Albert Astals Cid
bcbaec0563 tiff: Stop using deprecated types 2021-09-09 16:30:01 +02:00
l10n daemon script
cc5849a6f8 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"
2021-09-08 02:33:19 +00:00
l10n daemon script
21f96680a6 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"
2021-09-08 01:23:37 +00:00
l10n daemon script
b022f98495 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"
2021-09-06 02:31:07 +00:00
l10n daemon script
6faaf727f6 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"
2021-09-06 01:21:51 +00:00
l10n daemon script
017a93c751 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"
2021-09-04 02:18:17 +00:00
l10n daemon script
54687d764d 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"
2021-09-04 01:15:44 +00:00
Albert Astals Cid
0c659a5466 clang-tidy: Enable google-explicit-constructor 2021-08-29 08:52:35 +00:00
l10n daemon script
a225fb6d9a 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"
2021-08-28 01:17:34 +00:00
Heiko Becker
5c16b25a11 GIT_SILENT Update Appstream for new release 2021-08-27 22:59:54 +02:00
Heiko Becker
9672d09900 GIT_SILENT Update Appstream for new release
(cherry picked from commit 5c16b25a11)
2021-08-27 22:59:54 +02:00
Albert Astals Cid
c0de8366fc Merge remote-tracking branch 'origin/release/21.08' 2021-08-27 10:44:29 +02:00
l10n daemon script
3dbe3b18f5 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"
2021-08-23 02:27:41 +00:00
l10n daemon script
361d084c44 GIT_SILENT made messages (after extraction) 2021-08-23 01:51:24 +00:00
l10n daemon script
7c2bac7d27 GIT_SILENT made messages (after extraction) 2021-08-22 00:15:58 +00:00
Volker Krause
2a7e4416b5 Don't require D-Bus on Android
Also, actually fully disable the build of okularpart, which isn't needed
on Android.

With this Okular can be built for Android without the D-Bus stub, at least
once KIO doesn't pull in D-Bus anymore.
2021-08-20 18:46:50 +00:00
Albert Astals Cid
f143b323f1 Only show the Stamps warning when adding stamps to PDF files 2021-08-11 09:00:05 +02:00
Heiko Becker
139b822b0f GIT_SILENT Update Appstream for new release
(cherry picked from commit bf0642bfcb)
2021-08-04 23:53:58 +02:00
Heiko Becker
bf0642bfcb GIT_SILENT Update Appstream for new release 2021-08-04 23:53:58 +02:00
l10n daemon script
14f9f06f44 GIT_SILENT made messages (after extraction) 2021-07-26 01:41:24 +00:00
l10n daemon script
21bc8bd023 GIT_SILENT made messages (after extraction) 2021-07-26 00:15:50 +00:00
Josef Filzmaier
1d90817660 Replace kWarning with qWarning
Even in comments
2021-07-16 00:11:53 +02:00
Yaroslav Sidlovsky
1047fd1df7 Fixed encoding detection for small texts (up to 3000 bytes)
BUG: 334733
(cherry picked from commit 929c94e09d)
2021-07-14 21:58:28 +02:00
Yaroslav Sidlovsky
504eec7688 Fix non unique KPlugin Id for fictionbook generator
BUG: 439807
(cherry picked from commit 8dc58c7617)
2021-07-14 21:58:22 +02:00
Yaroslav Sidlovsky
929c94e09d Fixed encoding detection for small texts (up to 3000 bytes)
BUG: 334733
2021-07-14 08:23:20 +00:00
Yaroslav Sidlovsky
8dc58c7617 Fix non unique KPlugin Id for fictionbook generator
BUG: 439807
2021-07-13 22:00:42 +00:00
l10n daemon script
5447aa1021 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"
2021-07-11 01:11:37 +00:00
l10n daemon script
16da5cb4b4 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"
2021-07-06 01:14:42 +00:00
l10n daemon script
561336f2f0 GIT_SILENT made messages (after extraction) 2021-07-06 00:15:45 +00:00
Heiko Becker
ab812e6a52 GIT_SILENT Update Appstream for new release
(cherry picked from commit a0cc1cd31e)
2021-07-05 21:05:39 +02:00
Yuri Chornoivan
74cb4e545d Show alt text instead of the missing image in the Markdown code 2021-07-04 21:08:33 +00:00
Nicolas Fella
7d15dc1ae6 Clean up include_directories calls
Remove unnecessary calls

Convert necessary calls to target_include_directories
2021-07-04 00:51:15 +02:00
Albert Astals Cid
96135236cd Merge remote-tracking branch 'origin/release/21.04' 2021-06-15 19:27:36 +02:00
Albert Astals Cid
8f269d1884 epub: switch epub logs to warning
No need to show info level to users

BUGS: 438490
2021-06-15 01:05:25 +02:00
Alexander Lohnau
ac083e44e3 Make meaning of sponsoring note more clear 2021-06-10 08:11:56 +00:00
Alexander Lohnau
e05474450a GIT_SILENT Small clang-format adjustments 2021-06-10 08:11:56 +00:00
Alexander Lohnau
86a680d97c GIT_SILENT Put author mail in angle brackets 2021-06-10 08:11:56 +00:00
Alexander Lohnau
83dfef19ab Put author and mail on same SPDX-FileCopyrightText line 2021-06-10 08:11:56 +00:00
Alexander Lohnau
beaa9fd490 Convert xps files to SPDX license headers 2021-06-10 08:11:56 +00:00
Alexander Lohnau
bf4c8da4fc Manual fixes to license headers 2021-06-10 08:11:56 +00:00
Alexander Lohnau
78fc7e8c91 Fix & clean up SPDX conversions 2021-06-10 08:11:56 +00:00
Alexander Lohnau
24c75071be Move sponsoring note outside of SPDX-FileCopyrightText statement 2021-06-10 08:11:56 +00:00
Alexander Lohnau
f9cd6c9868 Manually convert license files for fax generator 2021-06-10 08:11:56 +00:00
Alexander Lohnau
2f193a63de Convert license headers to SPDX 2021-06-10 08:11:56 +00:00
Heiko Becker
0692e8b037 GIT_SILENT Update Appstream for new release 2021-06-05 23:06:48 +02:00
Heiko Becker
c785887516 GIT_SILENT Update Appstream for new release
(cherry picked from commit 0692e8b037)
2021-06-05 23:06:48 +02:00
l10n daemon script
6ad2ebdbbb 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"
2021-06-02 02:15:07 +00:00
l10n daemon script
724b9413e3 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"
2021-06-02 01:14:44 +00:00
l10n daemon script
3fb0390f2f GIT_SILENT made messages (after extraction) 2021-06-02 00:16:16 +00:00
Alexander Lohnau
13a394cc17 Port msits kioslave to JSON metadata
Task: https://phabricator.kde.org/T14518

The JSON file was created using the protocoltojson utility from KIO.
2021-05-31 20:49:44 +00:00
Alexander Lohnau
16f70bb2a7 Remove Description property for kioslave
This value is never read in KIO and not exposed in the public API.
2021-05-31 20:49:44 +00:00
Alexander Lohnau
8b13d989c6
Clean up ServiceType property usage for JSON based plugins
This is no needed anymore, because the plugins are installed into a
specific dir. It is a leftover from the time where the ServiceTypes were
used to find the correct plugins.

Task: https://phabricator.kde.org/T14483
2021-05-21 06:53:52 +02:00
Albert Astals Cid
6e467c343e Merge remote-tracking branch 'origin/release/21.04' 2021-05-20 10:01:04 +02:00
Albert Astals Cid
99788b907e Second attempt at fixing the windows/craft build
Since libspectre includes reference themselves with libspectre/ change
the cmake find_path to also include libspectre/ when doing the include
path search
2021-05-20 10:00:18 +02:00
Albert Astals Cid
fefe41b2fc Merge remote-tracking branch 'origin/release/21.04' 2021-05-20 08:56:37 +02:00
Dan Leinir Turthra Jensen
108e568d67 Fix spectre includes
The include path should not be added to the include line, that will make
it be not found if the parent directory for includes is not included.
2021-05-19 22:49:54 +02:00
Albert Astals Cid
75eb2095f5 Merge remote-tracking branch 'origin/release/21.04' 2021-05-15 23:34:04 +02:00
Mahmoud Khalil
b15accd0ae Checks whether the pdf is broken or not
This commit adds support for the to be added functionality in Poppler
which detects whether or not the Xref Table has been reconstructed
2021-05-14 23:00:23 +00:00
Albert Astals Cid
1c349f5448 Use new poppler "fancy signature" 2021-05-14 16:59:41 +02:00
Albert Astals Cid
f31152d389 Fix loading some png files inside zip comicbook files
BUGS: 436086
2021-05-12 22:52:07 +02:00
Heiko Becker
5941247354 GIT_SILENT Update Appstream for new release
(cherry picked from commit 1898bd2bec)
2021-05-07 20:22:29 +02:00
Heiko Becker
1898bd2bec GIT_SILENT Update Appstream for new release 2021-05-07 20:22:29 +02:00
l10n daemon script
74c92306b8 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"
2021-04-21 01:16:32 +00:00
l10n daemon script
218c5ab64e GIT_SILENT made messages (after extraction) 2021-04-17 01:48:51 +00:00
l10n daemon script
41d3bedc41 GIT_SILENT made messages (after extraction) 2021-04-17 00:18:37 +00:00
Heiko Becker
8bdc851688 GIT_SILENT Update Appstream for new release 2021-04-14 17:11:17 +02:00
Albert Astals Cid
19355a42d7 Slight improvement to signature look&feel
Use black for text color and border (instead of default red)
Also force the date to have timezone info, i.e.
  2021-04-13T15:32:29+02:00
instead of
  2021-04-13T15:32:29
2021-04-13 15:33:08 +02:00
Yuri Chornoivan
931dca1514 If FB has multiple authors, show them all 2021-03-27 18:28:03 +02:00
Albert Astals Cid
c38af3e695 Add a few more formats supported by qimageformat plugins
BUGS: 434888
BUGS: 434889
2021-03-24 23:42:05 +01:00
Yuri Chornoivan
272b386f58 Enhance FictionBook support: book annotation, text-author for the cite, section subtitles
BUG: 340134
2021-03-11 22:02:15 +00:00
Albert Astals Cid
3f923aa7b5 Move to new appstream format for mimetypes
It seems using mimetypes+mimetype is bad and now you have to use
provides+mediatype
2021-03-10 00:24:14 +00:00
George Florea Bănuș
5e5fcd88bb Fix loading files from cbr file on windows 2021-03-09 23:09:12 +02:00
George Florea Bănuș
e6f82a50cf Fix unrar detection on Windows
CCBUG: 412413
2021-03-09 00:14:31 +00:00
Albert Astals Cid
88200f4f25 Merge remote-tracking branch 'origin/release/20.12' 2021-02-25 19:09:43 +01:00
Albert Astals Cid
f8fa27e218 pdf: Fix InPlace text annotations being loaded as linked
BUGS: 432009, 432932
2021-02-24 23:25:25 +00:00
Heiko Becker
5044a63cd4 GIT_SILENT Update Appstream for new release
(cherry picked from commit 5951fc2731)
2021-02-25 00:25:13 +01:00
Heiko Becker
5951fc2731 GIT_SILENT Update Appstream for new release 2021-02-25 00:16:41 +01:00
Marat Radchenko
c1583999d0 Add support for halign/valign and colspan for tables in FictionBook
Note that this commit does *not* add support for rowspan
2021-02-02 00:34:24 +03:00
Heiko Becker
1c97e60dbd GIT_SILENT Update Appstream for new release
(cherry picked from commit 2aff8958b1)
2021-01-29 21:09:47 +01:00
Heiko Becker
2aff8958b1 GIT_SILENT Update Appstream for new release 2021-01-29 21:09:47 +01:00
Albert Astals Cid
084631d11e Use more standard cmake functionality to search for discount
Instead of rolling our own, that's harder to understand and buggy anyway

BUGS: 431311
2021-01-24 11:16:49 +00:00
l10n daemon script
c637a7e1dd 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"
2021-01-24 11:11:14 +01:00
l10n daemon script
256ad59705 GIT_SILENT made messages (after extraction) 2021-01-24 09:10:24 +01:00
l10n daemon script
dd621979cd 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"
2021-01-24 06:51:51 +01:00
l10n daemon script
45a50b2d81 GIT_SILENT made messages (after extraction) 2021-01-24 02:27:21 +01:00
Carl Schwan
0f088dcbf3 Improve identation in Epub rendering
CCBUG: 321956
2021-01-16 23:07:11 +00:00
l10n daemon script
ee40297976 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"
2020-12-31 09:34:35 +01:00
l10n daemon script
4161fec216 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"
2020-12-31 06:17:32 +01:00
Albert Astals Cid
1f63f91dc4 PDF: Merge the certs settings page to the regular pdf settings page 2020-12-29 13:34:02 +00:00
Albert Astals Cid
b1fa4caaf2 Merge remote-tracking branch 'origin/release/20.12' 2020-12-22 01:25:17 +01:00
Albert Astals Cid
3e86c9a56c Fix crash with some broken PDF files 2020-12-21 22:30:16 +01:00
l10n daemon script
f16b767057 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"
2020-12-20 06:07:29 +01:00
Albert Astals Cid
6cf0ca2194 Merge remote-tracking branch 'origin/release/20.12' 2020-12-14 22:19:12 +01:00
Albert Astals Cid
54209751b5 pdf: Fix small memory leak 2020-12-14 16:34:40 +00:00
Albert Astals Cid
579ce171c3 make the (C) line a less bad 2020-12-14 15:42:34 +01:00
Albert Astals Cid
bfc7383d46 pdf signining: Change label to more accurately reflect what the list is about 2020-12-13 21:31:14 +00:00
Albert Astals Cid
ac3a593eb4 PDF Signatures: Double check we have a capable poppler
In addition to being new enough it needs to have NSS support built in
2020-12-13 21:31:14 +00:00
Albert Astals Cid
33ccbc0449 Signing: Don't say that there are no certificates if the user cancels...
...entering the pwd for the certificate store

Also Move CertificateStoreImpl to PopplerCertificateStore, since
PopplerCertificateStore was declared but never defined and use it
in CertificateTools to get the certificate list instead of calling
the poppler classes directly
2020-12-13 21:31:14 +00:00
Albert Astals Cid
b07b3209fb Move the cert code inside CertificateTools
Makes more sense
2020-12-13 21:31:14 +00:00
Albert Astals Cid
242718a9a2 Only ask for certificate password if really needed 2020-12-13 21:31:14 +00:00
Albert Astals Cid
9728d8b426 We don't do getFoo in Okular API 2020-12-13 21:31:14 +00:00
Albert Astals Cid
18ef1349f1 Improvements to adding digital signatures
* Don't make WidgetAnnotation know about signatures stuff, widget
   annotations are for multiple things
 * Don't create an "empty" widget annotation and then call sign on it
   (which is wrong because widget annotations can be multiple things),
   just say sign the document with this data (cert, l&f, etc)
 * Remove the "management" functionality from CertificateTools it was
   only visual, i.e. it didn't really add/remove certificates
 * Ask for the NSS password (if needed)
2020-12-13 21:31:14 +00:00
Albert Astals Cid
c02f98a60f Mark method as override 2020-12-13 21:31:14 +00:00
Albert Astals Cid
2646058111 Adapt to poppler API change
and fix a leak meanwhile ^_^
2020-12-13 21:31:14 +00:00
Albert Astals Cid
b09e23f6ab Run clang-format
Attempting to fix the whole chain of commits is not worth it
2020-12-13 21:31:14 +00:00
Katarina Behrens
20b34d00c9 Make clang-tidy happier 2020-12-13 21:31:14 +00:00
Thorsten Behrens
62a4c63fd3 Conditionalize code to Poppler signing feature flag 2020-12-13 21:31:14 +00:00
Thorsten Behrens
f37de4feb4 Set some signature reason - might want some UI later 2020-12-13 21:31:14 +00:00
Thorsten Behrens
71795917de Add configurable CertDB path 2020-12-13 21:31:14 +00:00
Thorsten Behrens
3eedb21a83 Consistenly use CERT nick to refer to signing key 2020-12-13 21:31:14 +00:00
Thorsten Behrens
981c597376 Fix overwriting pdf after signing
- make explicit we're using static QFile func here
- QFile::rename doesn't work across filesystems, so instead
  create it alongside. Might fail if dir is not writeable
- can't use QSaveFile, since poppler sign() func wants a filename
2020-12-13 21:31:14 +00:00
Thorsten Behrens
f7d6045b92 Add poppler NSS support
Move certificate config down into generator code
Read available signing certificates from poppler NSS
2020-12-13 21:31:14 +00:00
Thorsten Behrens
b96dac6df3 Add certificate store for access to NSS keys
WIP - add interfaces and methods to get access to NSS-via-poppler
sign certificates, and provide them for signing documents.
2020-12-13 21:31:14 +00:00
Thorsten Behrens
e031822744 Adapt to poppler sign api change
Now poppler offers signing via PDFConverter class. Add some error
handling, and store signature in temp file. Document gets reloaded
after replacing original file.
2020-12-13 21:31:14 +00:00
Thorsten Behrens
e3e582ee5c Add feature flag for poppler signing API
Test and conditionally-compile pdf signing feature, depending
on poppler new-ness.
2020-12-13 21:31:14 +00:00
Katarina Behrens
5db7421851 Get certificate CN and password and pass it to poppler 2020-12-13 21:31:14 +00:00
Katarina Behrens
cc908b9f92 Pass pointer to widget annotation just added down the chain 2020-12-13 21:31:14 +00:00
Katarina Behrens
d320fa17ad Stub some iface for signing the document 2020-12-13 21:31:14 +00:00
Albert Astals Cid
35590a273d Fix CI
Laurent please use MR like everyone else does, otherwise you break the
build for the rest of us.

CCMAIL: montel@kde.org
2020-12-13 21:59:08 +01:00
Laurent Montel
dd1938755e Don't include QtTest as it includes all QtCore includes 2020-12-13 17:51:28 +01:00
Albert Astals Cid
8176613076 Merge remote-tracking branch 'origin/release/20.12' 2020-12-10 00:01:29 +01:00
Albert Astals Cid
bc85160d7f clang-tidy: Disable performance-no-automatic-move
It's just too aggressive with Qt classes that are refcounted and fine to
copy
2020-12-09 21:37:32 +01:00
Albert Astals Cid
39846f8c16 Merge remote-tracking branch 'origin/release/20.12' 2020-12-09 21:15:36 +01:00
Albert Astals Cid
d1c2eed1b6 Make the CI pass with new clang-tidy
Disable bugprone-suspicious-include since it's triggered by the moc
includes

Disable bugprone-reserved-identifier since it's triggered by all our
_OKULAR defines, and yes even if the spec says that underscore is
reserved, are we going to be that unlucky that the library decides to
start using _OKULAR ? not probably

Add two TODOs for the future to make NormalizedRect/Point faster

Silence a warning about a quick moving QString if we make it non const

Silence a uchar vs char warning that is in decades old code so
experience seems to suggest it's ok.
2020-12-09 19:53:50 +01:00
Albert Astals Cid
e200d90de2 cmake: Modern way to link to tiff 2020-12-02 19:01:32 +01:00
Albert Astals Cid
43ae701345 cmake: Modern way to link to freetype 2020-12-02 19:00:18 +01:00
Albert Astals Cid
3cc7bdd1d7 cmake: Modern way to link to zlib 2020-12-02 18:57:49 +01:00
Albert Astals Cid
3129b642f9 cmake: Modern way to link to jpeg 2020-12-02 18:55:59 +01:00
Marat Radchenko
2aa9f18fe7 initial tables support for FictionBook 2020-11-29 23:12:37 +03:00
Marat Radchenko
29ed5d1dd7 handle <subtitle> inside <cite> in FictionBook documents
(cherry picked from commit 2e3faa0052)
2020-11-28 02:20:30 +01:00
Marat Radchenko
2e3faa0052 handle <subtitle> inside <cite> in FictionBook documents 2020-11-27 10:25:34 +03:00
Marat Radchenko
9f7b45271f add support for <subtitle> tag in FictionBook
(cherry picked from commit bcdd5a996c)
2020-11-27 00:30:19 +01:00
l10n daemon script
a61977aa8a 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"
2020-11-26 10:02:48 +01:00
Marat Radchenko
bcdd5a996c add support for <subtitle> tag in FictionBook 2020-11-25 11:16:50 +03:00
l10n daemon script
33483a10fa GIT_SILENT made messages (after extraction) 2020-11-25 08:38:49 +01:00
l10n daemon script
c9440a9160 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"
2020-11-25 06:34:22 +01:00
l10n daemon script
a752711872 GIT_SILENT made messages (after extraction) 2020-11-25 02:20:39 +01:00
David Hurka
a83261db92 Merge branch 'release/20.12' into master 2020-11-18 20:35:53 +01:00
David Hurka
19d5dd8ec7 New part/ directory for okularpart sources from /, ui/, conf/
Source files are no longer separated by UI and non-UI and similar,
but only by their build target.

* ui/ -> part/
* Move all source files from conf/ to part/
* Keep config skeleton definitions in conf/, needed for the mobile target too
* Move editdrawingtooldialogtest.h from conf/autotests/ to autotests/
* ui/data/icons/ -> icons/
* Move /part.cpp, /part.rc and similar files to part/
* Adapt include paths in source files
* Adapt CMakeLists.txt files (in / and in subdirectories)
* Adapt /Messages.sh
2020-11-18 19:32:56 +00:00
Alexander Lohnau
3c1fa441d9 Remove dead code
A lot of this code has been commented out for over
a decade and adds no value to the project.
It is only annoying when you look over it ;).

Same for the KNS2 support which was commented out.

Also some of the debug statements didn't even build
anymore, because the properties got removed/refactored.
2020-11-14 10:52:00 +01:00
Albert Astals Cid
6bd6714ab0 poppler: Use actual function calls instead of xml to create poppler annotations 2020-11-11 00:43:54 +00:00
Albert Astals Cid
becdc7c483 Revert the two last commits
f9841b0f8a and e0f45add55

They break the windows build, which shows there's something defenitely
fishy going on with the current code, but oh well, someone with more
time needs to figure out a proper solution
2020-11-11 01:31:47 +01:00
Albert Astals Cid
e0f45add55 Enable -Wweak-vtables in clang
Read https://stackoverflow.com/a/23749273/11956287 for a full
explanation, but basically this is important for headers like the
interfaces/ and kdocumentviewer.h that are supposed to be used by third
partyies where it may happen that wrong things happen because the whole
class is inline in a header

For the classes that are defined in the .cpp or are not installed
headers this would not be necessary but it's not so hard to add a few
default defined destructors, so do that :)
2020-11-08 21:21:06 +00:00
David Hurka
055d5709c1 Merge branch 'release/20.08' into master 2020-11-08 02:05:10 +01:00
Christoph Feck
02c3bd691a GIT_SILENT Update Appstream for new release 2020-10-31 18:08:36 +01:00
Albert Astals Cid
b9c40d709d Fix formatting after Laurent's commit
Please Laurent try to use MR when you do changes that may break our CI
like this one

CCMAIL: montel@kde.org
2020-10-23 22:48:44 +02:00
Laurent Montel
486e05b270 If include is define in .h remove it if it's defined in .cpp too (scripted) 2020-10-23 07:32:28 +02:00
l10n daemon script
dc74ffa68c 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"
2020-10-17 06:04:22 +02:00
l10n daemon script
6abe9fcdfd GIT_SILENT made messages (after extraction) 2020-10-17 02:16:46 +02:00
Albert Astals Cid
62d7a6938a Remove the ooo plugin
As mentioned on the Akademy meeting, just use the calligra okular plugins if you want to open an odt/odp in Okular
2020-10-07 22:01:22 +00:00
Christoph Feck
6a31bfc7e3 GIT_SILENT Update Appstream for new release
(cherry picked from commit 0abdab924d)
2020-10-03 14:20:24 +02:00
Christoph Feck
0abdab924d GIT_SILENT Update Appstream for new release 2020-10-03 14:20:23 +02:00
Albert Astals Cid
45702f2291 Port deprecated QFontMetrics::width -> horizontalAdvance 2020-09-30 16:09:57 +00:00
Albert Astals Cid
78d983eeed drawRoundRect -> drawRoundedRect 2020-09-30 16:09:57 +00:00
Albert Astals Cid
8ab379e178 Part away from deprecated QProcess::finished(int) 2020-09-30 16:09:56 +00:00
l10n daemon script
601e96037c 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"
2020-09-25 09:54:54 +02:00
l10n daemon script
21647201c2 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"
2020-09-25 06:16:02 +02:00
Albert Astals Cid
ceb8cf629d poppler: Convert Stamp annotations via C++
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
2020-09-24 07:42:52 +00:00
Albert Astals Cid
d13b18af32 poppler: Convert Caret annotations via C++
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
2020-09-24 07:42:52 +00:00
Albert Astals Cid
bfdd033bfb poppler: Convert Ink annotations via C++
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
2020-09-24 07:42:52 +00:00
Albert Astals Cid
a39708e71d Remove setTextIcon call that we already do at createAnnotationFromPopplerAnnotation 2020-09-24 07:42:52 +00:00
Albert Astals Cid
eed89aaef6 poppler: Convert Highlight annotations via C++
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
2020-09-24 07:42:52 +00:00
Albert Astals Cid
f533788637 poppler: Convert Geom annotations via C++
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
2020-09-24 07:42:51 +00:00
Albert Astals Cid
7ccb475df8 Fix crash on files that have the same signature in more than 1 page
It happens with some official documents where they use the same
signature in all pages to make it clear all pages are signed/official

BUGS: 426467
2020-09-17 01:27:42 +02:00
Albert Astals Cid
9bf171a108 Fix crash on files that have the same signature in more than 1 page
It happens with some official documents where they use the same
signature in all pages to make it clear all pages are signed/official

BUGS: 426467
2020-09-16 21:42:23 +00:00
Friedrich W. H. Kossebau
1784c1d0cb Use more nullptr instead of 0 2020-09-13 11:20:09 +02:00
Albert Astals Cid
4085181512 UDSEntry::insert -> UDSEntry::fastInsert
we're clearing the UDSEntry just before the inserts so it's safe to
assume we're not inserting something that was there already
2020-09-13 01:25:54 +02:00
Albert Astals Cid
8a1bef81f8 Remove poppler 0.80 ifdefs since we require 0.86 now 2020-09-13 01:21:11 +02:00
Albert Astals Cid
6b08af754f Remove poppler 0.79 ifdefs since we require 0.86 now 2020-09-13 01:20:14 +02:00
Albert Astals Cid
4d12c257b2 Remove poppler 0.74 ifdefs since we require 0.86 now 2020-09-13 01:18:34 +02:00
Albert Astals Cid
9264723002 Remove poppler 0.73 ifdefs since we require 0.86 now
This actually fixes a mistake in SignatureFormTest::testSignatureForm
2020-09-13 01:16:27 +02:00
Albert Astals Cid
e283da994b Remove poppler 0.69 ifdefs since we require 0.86 now 2020-09-13 01:12:53 +02:00
Albert Astals Cid
eacb5eed8b Remove poppler 0.68 ifdefs since we require 0.86 now 2020-09-13 01:12:05 +02:00
Albert Astals Cid
7dce3389cb Remove poppler 0.65 ifdefs since we require 0.86 now 2020-09-13 01:11:08 +02:00
Albert Astals Cid
c019a7e76c Remove poppler 0.64 ifdefs since we require 0.86 now 2020-09-13 01:10:10 +02:00
Albert Astals Cid
bcd36d6374 Remove poppler 0.63 ifdefs since we require 0.86 now 2020-09-13 01:07:38 +02:00
Albert Astals Cid
e989200dcf Increase minimum supported versions to those provided by Ubuntu 20.04 2020-09-13 01:03:53 +02:00
Albert Astals Cid
2697105462 Revert cbddcd3273
KJS and KWallet are indeed optional, that's what the ${optionalComponents} variable does
2020-09-09 14:13:09 +02:00
Albert Astals Cid
cbddcd3273 kwallet and kjs are mandatory in cmake anyway, remove ifdefs 2020-09-05 23:50:45 +00:00