Commit graph

2350 commits

Author SHA1 Message Date
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
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
Albert Astals Cid a05df764bc Move IsDigitallySigned code to part.cpp
It isn't really pdf generator specific
2020-09-05 19:33:47 +00:00
Christoph Feck b3101774cf GIT_SILENT Update Appstream for new release
(cherry picked from commit 4b9e50a1ed)
2020-08-31 21:02:07 +02:00
Christoph Feck 4b9e50a1ed GIT_SILENT Update Appstream for new release 2020-08-31 21:02:06 +02:00
Albert Astals Cid 8966b715b6 poppler: Convert Line annotations via C++
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
2020-08-22 23:38:53 +00:00
Albert Astals Cid 884704f6cb poppler: Convert Text annotations via C++
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
2020-08-22 23:38:53 +00:00
Markus Brenneis 89cf21b222 Add support for image sizes in markdowns
The discount markdown parser supports parsing explicit image sizes in markdown, but we ignore them and replace them with the actual image dimensions. With this patch, any specified image sizes are respected.
2020-08-22 23:32:27 +00:00
Christoph Feck f6ce4a57d8 GIT_SILENT Update Appstream for new release 2020-08-05 09:52:57 +02:00
Christoph Feck d0b9d83946 GIT_SILENT Update Appstream for new release
(cherry picked from commit f6ce4a57d8)
2020-08-05 09:52:57 +02:00
l10n daemon script 36a6010c4f 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-07-30 09:32:05 +02:00
l10n daemon script 8f81af09e2 GIT_SILENT made messages (after extraction) 2020-07-30 07:58:09 +02:00
l10n daemon script 8563aa45cb 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-07-30 05:49:55 +02:00
l10n daemon script 685ae66b45 GIT_SILENT made messages (after extraction) 2020-07-30 02:13:37 +02:00
l10n daemon script 3ef3de28c8 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-07-25 05:29:31 +02:00