Commit graph

1638 commits

Author SHA1 Message Date
Montel Laurent 26fc592e7d Fix includes 2014-10-06 08:31:17 +02:00
Montel Laurent 5557598b47 Port to QDialog 2014-10-06 07:39:24 +02:00
Arnold Dumas a92c9c31a5 Get rid of to/fromAscii methods. 2014-10-05 22:14:11 +02:00
Raymond Wooninck 7e3e82693e Make the generators build 2014-10-05 13:29:29 +02:00
Montel Laurent 596f84fe17 Still compile error to reactivate it 2014-10-05 07:45:48 +02:00
Montel Laurent 406ee919bf Reactivate code 2014-10-05 07:39:08 +02:00
Montel Laurent a94b09684a Use new connect api. Remove not necessary include moc 2014-10-05 07:36:05 +02:00
Montel Laurent fc13e5c148 Reactivate djvu generator 2014-10-04 14:22:14 +02:00
Montel Laurent 89bb5562ac Reactivate some generator 2014-10-02 13:43:03 +02:00
Montel Laurent 927e7a9a19 Merge remote-tracking branch 'origin/KDE/4.14' into frameworks 2014-10-01 07:29:17 +02:00
Montel Laurent 378f6847a2 Remove some deprecated kdelibs4support 2014-10-01 07:27:09 +02:00
l10n daemon script 3588634833 SVN_SILENT made messages (.desktop file) 2014-09-30 09:11:55 +00:00
Volker Krause 146e585f02 Make constants const, avoids a few extra symbols in the .data section. 2014-09-27 15:41:47 +02:00
Luigi Toscano 5e2d190ebf Guard drawText() when X-bitmap fonts are used
If the fonts are mapped for some reason to X bitmap fonts,
the call to drawText() in the non-GUI thread will produce a crash.
Ensure that the rendering of the text is performed only if
the threaded font rendering is available - a rare event nowadays,
but still possible.

CCBUG: 248852
2014-09-22 22:49:30 +02:00
Raymond Wooninck f4badbc117 Port the aboutData to the new methods. Next would be to bring back
to About Backend dialog
2014-09-18 22:17:10 +02:00
Frederik Gladhorn 6bb0668d9d Fix building epub generator 2014-09-18 12:05:33 +02:00
Frederik Gladhorn 3581fb6245 Port to QTemporaryFile 2014-09-18 00:30:39 +02:00
Frederik Gladhorn 9e804397ef Remove outdated debug area int 2014-09-17 23:52:52 +02:00
Frederik Gladhorn dad6936896 Bring back the txt generator 2014-09-17 23:52:52 +02:00
Frederik Gladhorn 61c5bba919 Install libokularGenerator_txt.desktop again
During the porting this got lost.
2014-09-17 23:25:14 +02:00
Frederik Gladhorn 1e01a5cfc9 Use KSharedConfig::openConfig instead of KGlobal::config 2014-09-17 21:15:46 +02:00
Raymond Wooninck a146b5b307 Convert some remaining kWarning/kDebug 2014-09-17 20:48:23 +02:00
Frederik Gladhorn f7d1dd9312 Remove -caption %c from .desktop files
BUGS: 338264
2014-09-17 20:16:49 +02:00
Frederik Gladhorn be5af7304f Add missing debug_comicbook.h 2014-09-17 19:46:42 +02:00
Frederik Gladhorn 6c602bf0e7 Use categorized logging even more 2014-09-16 23:38:25 +02:00
Frederik Gladhorn e28dbc6c00 Port to QMime
compressedMimeFor now already does the inheritance check, so another
check was removed.
2014-09-11 16:32:43 +02:00
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.
2014-09-11 02:03:46 +02:00
Frederik Gladhorn 34fbdf8c85 Some more kDebug->qDebug 2014-09-09 18:17:36 +02:00
Fabio D'Urso 75c8acee60 Compile DVI, TIFF and XPS generators 2014-08-24 23:13:45 +02:00
Fabio D'Urso 0b662faf35 Assume Poppler 0.22 or newer (0.22 was the first one with qt5 support) 2014-08-24 21:47:08 +02:00
Fabio D'Urso e395735820 Port the kimgio generator
Note that the libkexiv2 "framework" branch is still work in progress and does
not work out of the box yet (it doesn't install some headers).
2014-08-23 21:49:25 +02:00
Fabio D'Urso 559ba0f01e Remove unused/commented out code from kimgio generator 2014-08-23 21:48:50 +02:00
Fabio D'Urso 2a52e0c4e1 Ported tests to QtTest, added missing trailing / to KDESRCDIR
I've also added some extra checks so that tests fail early instead of
crashing later if a document fails to be opened
2014-08-23 21:40:01 +02:00
Yuri Chornoivan b98f1e9338 Add FB2 icons (design by Vladimir Prohorenkov, allowed to use under free license by the author).
REVIEW: 118862
2014-08-16 07:18:01 +03:00
Frederik Gladhorn b79e706e56 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	generators/dvi/generator_dvi.cpp
	generators/ooo/generator_ooo.cpp
	part.cpp
	shell/main.cpp
	shell/shell.cpp
	shell/shell.h
	shell/shellutils.h
	tests/CMakeLists.txt
	ui/propertiesdialog.cpp
2014-08-14 13:35:43 +02:00
Frederik Gladhorn 9350061dfc Do not add json for txt generator
This was an experiment early on in the porting. If QPluginLoader is the
way to go, then it should be applied to all generators.
2014-08-14 09:27:38 +02:00
Lukáš Tinkl f8b9546aff fix build
either generator_txt.json needs to be committed or one has to generate
the JSON metadata using kservice_desktop_to_json
2014-08-13 21:59:04 +02:00
Frederik Gladhorn 24f7054c9e Bring back txt generator 2014-08-13 21:09:19 +02:00
Albert Astals Cid f76184cb55 Revert e96dabc467
Diggory i think there was a misunderstanding in our discussion

The patch is unfinished (not goot to commit with a TODO)
and needs to be improved (need to find a way to not break ABI, QSize param should be const &) please
open a reviewrequest and we can discuss/finalize it there.

CCMAIL: diggory.hardy@unibas.ch
2014-08-13 21:07:32 +02:00
Diggory Hardy e96dabc467 Fix font size on high-DPI displays in ePub documents (but makes images small) 2014-08-13 18:54:30 +02:00
Vishesh Handa 077689c4d3 Port KAction and KMenu 2014-08-13 12:45:40 +02:00
Vishesh Handa e038950f50 KIcon -> QIcon 2014-08-13 11:54:49 +02:00
Vishesh Handa fb330dd45c Port the EPubGenerator 2014-08-13 11:42:09 +02:00
Vishesh Handa eee26dd72f Port comicbook generator 2014-08-13 11:29:03 +02:00
Vishesh Handa 2bfa3ccff0 Port the CHM generator
Would be nice if I had some CHM files to test this on.
2014-08-13 11:24:15 +02:00
Vishesh Handa e4a4d400c3 Port the poppler generator 2014-08-13 11:16:28 +02:00
Frederik Gladhorn bf8f942bac Disable txt generator 2014-08-11 09:43:40 +02:00
Albert Astals Cid e9e3d4a435 Make documentInfo be Hash based instead of XML based 2014-08-10 22:38:13 +02:00
Frederik Gladhorn 0c7a45c7a5 Disable lots of stuff and compile
The text generator is the only one compiled now.
This version links for me but then doesn't find its KPart on startup.

TTS has been completely disabled as well as some other things like the
about dialog.
2014-08-10 14:42:54 +02:00
Frederik Gladhorn 96b0e27c44 QAction, more includes fixed 2014-08-10 01:08:54 +02:00