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
Albert Astals Cid
6b08af754f
Remove poppler 0.79 ifdefs since we require 0.86 now
6 years ago
Albert Astals Cid
4d12c257b2
Remove poppler 0.74 ifdefs since we require 0.86 now
6 years ago
Albert Astals Cid
9264723002
Remove poppler 0.73 ifdefs since we require 0.86 now
...
This actually fixes a mistake in SignatureFormTest::testSignatureForm
6 years ago
Albert Astals Cid
e283da994b
Remove poppler 0.69 ifdefs since we require 0.86 now
6 years ago
Albert Astals Cid
eacb5eed8b
Remove poppler 0.68 ifdefs since we require 0.86 now
6 years ago
Albert Astals Cid
7dce3389cb
Remove poppler 0.65 ifdefs since we require 0.86 now
6 years ago
Albert Astals Cid
c019a7e76c
Remove poppler 0.64 ifdefs since we require 0.86 now
6 years ago
Albert Astals Cid
bcd36d6374
Remove poppler 0.63 ifdefs since we require 0.86 now
6 years ago
Albert Astals Cid
e989200dcf
Increase minimum supported versions to those provided by Ubuntu 20.04
6 years ago
Albert Astals Cid
2697105462
Revert cbddcd3273
...
KJS and KWallet are indeed optional, that's what the ${optionalComponents} variable does
6 years ago
Albert Astals Cid
cbddcd3273
kwallet and kjs are mandatory in cmake anyway, remove ifdefs
6 years ago
Albert Astals Cid
a05df764bc
Move IsDigitallySigned code to part.cpp
...
It isn't really pdf generator specific
6 years ago
Christoph Feck
b3101774cf
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 4b9e50a1ed )
6 years ago
Christoph Feck
4b9e50a1ed
GIT_SILENT Update Appstream for new release
6 years ago
Albert Astals Cid
8966b715b6
poppler: Convert Line annotations via C++
...
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
6 years ago
Albert Astals Cid
884704f6cb
poppler: Convert Text annotations via C++
...
Instead of via the magic XML cycle of Poppler::AnnotationUtils::storeAnnotation + Okular::AnnotationUtils::createAnnotation
6 years ago
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.
6 years ago
Christoph Feck
f6ce4a57d8
GIT_SILENT Update Appstream for new release
6 years ago
Christoph Feck
d0b9d83946
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit f6ce4a57d8 )
6 years ago
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"
6 years ago
l10n daemon script
8f81af09e2
GIT_SILENT made messages (after extraction)
6 years ago