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
4 years ago
Volker Krause
50d0703ae0
Enable readability-braces-around-statements
4 years ago
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
4 years ago
Alexander Lohnau
2f193a63de
Convert license headers to SPDX
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
Laurent Montel
516fb89d94
Use camelcase include. (scripted)
6 years ago
Albert Astals Cid
5ecbb51f77
Enable modernize-use-nullptr
6 years ago
Yuri Chornoivan
c04ca1fa96
Fix minor EBN issues
8 years ago
Albert Astals Cid
c80b59f1de
I said use new API
9 years ago
Albert Astals Cid
b4ac0be485
Use the new API
9 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
Montel Laurent
f59383196d
Fix debug, QStandardpath
12 years ago
Montel Laurent
f762d8a8c4
Port to qCDebug()
12 years ago
Arnold Dumas
a92c9c31a5
Get rid of to/fromAscii methods.
12 years ago
Raymond Wooninck
7e3e82693e
Make the generators build
12 years ago
Montel Laurent
406ee919bf
Reactivate code
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
6c602bf0e7
Use categorized logging even more
12 years ago
Frederik Gladhorn
e28dbc6c00
Port to QMime
...
compressedMimeFor now already does the inheritance check, so another
check was removed.
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
Albert Astals Cid
e9e3d4a435
Make documentInfo be Hash based instead of XML based
12 years ago
Albert Astals Cid
541650a4f4
Remove the concept of observer/view id
...
Just use the pointer as id :-)
This is BIC and SIC, increase the soversion now to makes sure we don't forget in the future
Patch based in an earlier patch by Bogdan Cristea <cristeab@gmail.com>
REVIEW: 109115
13 years ago
Albert Astals Cid
84be046806
Update version 0.15.3 for 4.9.3 release
14 years ago
Albert Astals Cid
a0c398ea07
Only spectre_exporter_end if everything was successful
...
Otherwise we might end up crashing, of course this does not solve
why this error happened, but better getting an error saying something failed
than a crash .-)
FIXED-IN: 4.9.3
BUGS: 308160
14 years ago
Albert Astals Cid
998e322e7a
Version increases for 0.15.2 (4.9.2)
14 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
Montel Laurent
f9f65979f5
Normalize signals/slots
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
Pino Toscano
505139af31
generators: fix core #includes removing the okular prefix
15 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
d0d70242d0
increase text alpha bits to 4 as it's known to improve quality quite a bit
...
BUGS: 221402
svn path=/trunk/KDE/kdegraphics/okular/; revision=1070544
16 years ago
Albert Astals Cid
f074fc2e15
do not ask spectre to rotate pages as it seems not to work at all
...
fixes rendering of bug210499.ps
svn path=/trunk/KDE/kdegraphics/okular/; revision=1039609
17 years ago
Pino Toscano
a5564fa6dd
use a queue for the rendering requests of the rendering thread
...
this should avoid multiple generator instance to step on each other toes, making spectre crashing
svn path=/trunk/KDE/kdegraphics/okular/; revision=1039159
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
Pino Toscano
2f61233ab2
export the actual page numbers, instead of the page count
...
BUG: 191223
svn path=/trunk/KDE/kdegraphics/okular/; revision=961994
17 years ago
Pino Toscano
86942f0949
- open the temporary file name only after any option is set to it (fix crash when asking to print to pdf)
...
- close the file before sending it for printing, so we can be sure it is written as a whole
svn path=/trunk/KDE/kdegraphics/okular/; revision=899239
17 years ago
Pino Toscano
7d410b92d2
check whether the loading really suceeeded
...
sadly libspectre does not seem to fail in cases where it should... (bug filed)
svn path=/trunk/KDE/kdegraphics/okular/; revision=896112
17 years ago
Albert Astals Cid
c24fd54370
Generate correctly the pixmaps of rotated pages
...
BUGS: 163484
svn path=/trunk/KDE/kdegraphics/okular/; revision=818399
18 years ago
Pino Toscano
6b6a111099
Make the poppler(pdf), spectre(ps), dvi and chm backend calculate and set bounding box of pages.
...
CCBUG: 161599
svn path=/trunk/KDE/kdegraphics/okular/; revision=809593
18 years ago
Pino Toscano
b4be056c11
typo
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=787333
18 years ago
Pino Toscano
c8b0b5011c
return the document title as metadata, if the document has any
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=787332
18 years ago
Pino Toscano
8d756dbc6e
filling about information of okular_gs,
...
hoping Albert won't kill me :)
svn path=/trunk/KDE/kdegraphics/okular/; revision=787331
18 years ago
Pino Toscano
8e4d1708a6
few "krazy fixes", patch by Fábio Firmo <fabio.a.firmo@gmail.com>
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=770943
18 years ago
Pino Toscano
056de06cf0
Get rid of our custom anti-aliasing options and use the Document settings.
...
Also react correctly when they change, and a PS document is open.
svn path=/trunk/KDE/kdegraphics/okular/; revision=757659
18 years ago