Thorsten Behrens
e3e582ee5c
Add feature flag for poppler signing API
...
Test and conditionally-compile pdf signing feature, depending
on poppler new-ness.
5 years ago
Katarina Behrens
5db7421851
Get certificate CN and password and pass it to poppler
5 years ago
Katarina Behrens
cc908b9f92
Pass pointer to widget annotation just added down the chain
5 years ago
Katarina Behrens
d320fa17ad
Stub some iface for signing the document
5 years ago
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
5 years ago
Laurent Montel
dd1938755e
Don't include QtTest as it includes all QtCore includes
5 years ago
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
5 years ago
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.
5 years ago
Albert Astals Cid
e200d90de2
cmake: Modern way to link to tiff
5 years ago
Albert Astals Cid
43ae701345
cmake: Modern way to link to freetype
5 years ago
Albert Astals Cid
3cc7bdd1d7
cmake: Modern way to link to zlib
5 years ago
Albert Astals Cid
3129b642f9
cmake: Modern way to link to jpeg
5 years ago
Marat Radchenko
2aa9f18fe7
initial tables support for FictionBook
5 years ago
Marat Radchenko
29ed5d1dd7
handle <subtitle> inside <cite> in FictionBook documents
...
(cherry picked from commit 2e3faa0052 )
5 years ago
Marat Radchenko
2e3faa0052
handle <subtitle> inside <cite> in FictionBook documents
5 years ago
Marat Radchenko
9f7b45271f
add support for <subtitle> tag in FictionBook
...
(cherry picked from commit bcdd5a996c )
5 years ago
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"
5 years ago
Marat Radchenko
bcdd5a996c
add support for <subtitle> tag in FictionBook
5 years ago
l10n daemon script
33483a10fa
GIT_SILENT made messages (after extraction)
5 years ago
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"
5 years ago
l10n daemon script
a752711872
GIT_SILENT made messages (after extraction)
5 years ago
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
5 years ago
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.
5 years ago
Albert Astals Cid
6bd6714ab0
poppler: Use actual function calls instead of xml to create poppler annotations
5 years ago
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
5 years ago
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 :)
5 years ago
Christoph Feck
02c3bd691a
GIT_SILENT Update Appstream for new release
5 years ago
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
5 years ago
Laurent Montel
486e05b270
If include is define in .h remove it if it's defined in .cpp too (scripted)
5 years ago
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"
5 years ago
l10n daemon script
6abe9fcdfd
GIT_SILENT made messages (after extraction)
5 years ago
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
6 years ago
Christoph Feck
6a31bfc7e3
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 0abdab924d )
6 years ago
Christoph Feck
0abdab924d
GIT_SILENT Update Appstream for new release
6 years ago
Albert Astals Cid
45702f2291
Port deprecated QFontMetrics::width -> horizontalAdvance
6 years ago
Albert Astals Cid
78d983eeed
drawRoundRect -> drawRoundedRect
6 years ago
Albert Astals Cid
8ab379e178
Part away from deprecated QProcess::finished(int)
6 years ago
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"
6 years ago
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"
6 years ago
Albert Astals Cid
ceb8cf629d
poppler: Convert Stamp annotations via C++
...
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
6 years ago
Albert Astals Cid
d13b18af32
poppler: Convert Caret annotations via C++
...
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
6 years ago
Albert Astals Cid
bfdd033bfb
poppler: Convert Ink annotations via C++
...
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
6 years ago
Albert Astals Cid
a39708e71d
Remove setTextIcon call that we already do at createAnnotationFromPopplerAnnotation
6 years ago
Albert Astals Cid
eed89aaef6
poppler: Convert Highlight annotations via C++
...
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
6 years ago
Albert Astals Cid
f533788637
poppler: Convert Geom annotations via C++
...
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
6 years ago
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
6 years ago
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
6 years ago
Friedrich W. H. Kossebau
1784c1d0cb
Use more nullptr instead of 0
6 years ago
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
6 years ago
Albert Astals Cid
8a1bef81f8
Remove poppler 0.80 ifdefs since we require 0.86 now
6 years ago