Alexander Lohnau
2f193a63de
Convert license headers to SPDX
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
19d98d6a74
Run clang-format
...
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \;
If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
6 years ago
Albert Astals Cid
6d0d61c2ad
Enable clazy copyable-polymorphic
6 years ago
Albert Astals Cid
93540ac16d
Enable most of clazy level2
6 years ago
Ahmad Samir
54494cc3d4
[generators/*] Replace deprecated foreach with range-for
6 years ago
Albert Astals Cid
ec692e459b
Remove unused variables
7 years ago
Yuri Chornoivan
c04ca1fa96
Fix minor EBN issues
8 years ago
Albert Astals Cid
2d8b2c7e95
Add support for cancellable image rendering and text extraction
...
Summary:
Only supported by the pdf backend if using poppler >= 0.63
Sadly had to change the generator API
Text cancellation is a bit wobbly still since poppler has large parts
of the code where doesn't check for the cancellation flag, but that
is something that will get automagically fixed for us if the poppler
side is improved
Test Plan: Needs https://bugs.freedesktop.org/show_bug.cgi?id=104263
Reviewers: ervin, rkflx
Reviewed By: ervin, rkflx
Subscribers: #okular
Tags: #okular
Differential Revision: https://phabricator.kde.org/D9328
8 years ago
Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Albert Astals Cid
ec70995895
QString as key is evil, add a nice enum
9 years ago
Martin T. H. Sandsmark
7f3eebd9f3
Only show warning messages by default
...
REVIEW: 129832
9 years ago
Albert Vaca
c71f308252
Fixes suggested by Clazy
10 years ago
Alex Richardson
2f9246ae42
Port to new JSON plugin loading system
...
This means Okular can now work without ksycoca and KDELibs4Support.
REVIEW: 126193
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Alex Richardson
0436b34a98
Use QThread::msleep() instead of platform-specific sleep functions
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Albert Astals Cid
d95efa7698
Move synctex up to the core from poppler generator
...
This way dvi and any other potential user gets it for free
The diff is huge, but the synctex files are just moves.
And the code in core/ is also mostly just a move from the generator_pdf.cpp code
Acked by Luigi
REVIEW: 120311
12 years ago
Montel Laurent
3b4ee788b8
Fix includes
12 years ago
Montel Laurent
a94b09684a
Use new connect api. Remove not necessary include moc
12 years ago
Raymond Wooninck
f4badbc117
Port the aboutData to the new methods. Next would be to bring back
...
to About Backend dialog
12 years ago
Frederik Gladhorn
3581fb6245
Port to QTemporaryFile
12 years ago
Frederik Gladhorn
9e804397ef
Remove outdated debug area int
12 years ago
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
12 years ago
Frederik Gladhorn
83d3f1f6b7
Revert "Some more kDebug->qDebug"
...
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.
This reverts commit 34fbdf8c85 .
12 years ago
Frederik Gladhorn
34fbdf8c85
Some more kDebug->qDebug
12 years ago
Fabio D'Urso
75c8acee60
Compile DVI, TIFF and XPS generators
12 years ago
Albert Astals Cid
e9e3d4a435
Make documentInfo be Hash based instead of XML based
12 years ago
Frederik Gladhorn
7261d5d45a
Generator porting (mostly kaboutdata)
12 years ago
Albert Astals Cid
b326c4f11e
Prepare for 4.14.0 release
12 years ago
Albert Astals Cid
99ec6dcdc5
We don't need to pass the parent down now
...
Acked by Luigi
12 years ago
Albert Astals Cid
6112a79765
Minor version updates to generators with changes since 4.12
12 years ago
Luigi Toscano
4ae6ece82e
Use signals to propagate notifications in dviexport and psgs
...
Change KMessageBox into notifications (PageViewMessage).
REVIEW: 115925
12 years ago
Albert Astals Cid
57bc499c9a
Update version 0.15.4 for 4.9.4 release
13 years ago
Albert Astals Cid
81c5c540df
Update versions for KDE 4.8
...
(cherry picked from commit 51a77e6a51 )
14 years ago
Albert Astals Cid
51a77e6a51
Update versions for KDE 4.8
14 years ago
Pino Toscano
16b36087f9
dvi: fix build without freetype
...
always use the "no full font" case for this build configuration
15 years ago
Kevin Kofler
e001fbab55
Fix landscape documents getting printed in portrait format if "Landscape" is selected in the print dialog (the default).
...
Partly based on a patch by Falk from KDE bug #181290 .
BUG: 181290
REVIEW: 101513
15 years ago
Mohammad Mahfuzur Rahman Mamun
57db9f4c19
textSelection according to the TextList seems to work fine -- tested with some pdfs
15 years ago
Myreal Name
2149fb46ef
Another message
15 years ago
Pino Toscano
505139af31
generators: fix core #includes removing the okular prefix
15 years ago
Pino Toscano
14521f54a7
bump plugins versions to be in sync with kde 4.4 and, in case, consider more work being done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156088
16 years ago
John Layt
b30305b668
Enable Current Page option in Okular print dialog if running Qt >= 4.7
...
Changed exported api so cc: to bindings.
CCMAIL: kde-bindings@kde.org
CCBUG: 194586
svn path=/trunk/KDE/kdegraphics/okular/; revision=1134379
16 years ago
Pino Toscano
2b1c2202a6
bump plugins versions to be in sync with kde 4.3 and, in case, consider more work being done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1082022
16 years ago
Albert Astals Cid
edd82d80c6
Make sure resolution is not inf
...
Fixes part of bug 205084
CCBUG: 205084
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072172
16 years ago
Albert Astals Cid
f12bd0a942
remove const_cast eeeeeeeeeek
...
that wasn't even necessary eeeeeeeeeeeeek2
svn path=/trunk/KDE/kdegraphics/okular/; revision=1071422
16 years ago
Luigi Toscano
1f548c29b6
Activate support for DVI font information in the document properties dialog.
...
This is one of the few KDVI features that was still missing from DVI
generator.
The most important informations from the now-removed fontPool::status()
method are shown.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1052192
17 years ago
Albert Astals Cid
27830a988e
Add a [hidden] config option to set hinting to fonts
...
Defaults to disabled
Made the dvi and pdf backends honor the hinting setting
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032936
17 years ago
Albert Astals Cid
966369332b
move usage of m_dviRenderer to below the if it checks if it exists
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1023096
17 years ago
Pino Toscano
07e6cc3bb0
bump plugins versions to be in sync with kde 4.2 and, in case, consider more work being done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=989180
17 years ago