Commit graph

1612 commits

Author SHA1 Message Date
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
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
Frederik Gladhorn 4ce837a7ac Qt5 porting 2014-08-09 21:29:06 +02:00
Frederik Gladhorn 7261d5d45a Generator porting (mostly kaboutdata) 2014-08-09 21:29:06 +02:00
Albert Astals Cid 26251d91a4 poppler-qt4 -> poppler-qt5 2014-08-09 20:54:40 +02:00
Albert Astals Cid d1fa3b869f Clean up some have_poppler defines 2014-08-09 19:33:37 +02:00
Albert Astals Cid bc155c6842 Poppler-qt4 -> 5 2014-08-09 19:07:16 +02:00
Frederik Gladhorn 39787e4324 Use kconfig_add_kcfg_files for kcfgc 2014-08-09 00:21:04 +02:00
Albert Astals Cid b326c4f11e Prepare for 4.14.0 release 2014-08-08 22:49:23 +02:00
Frederik Gladhorn 93918b1ec8 Basic cmake kf5 porting 2014-08-07 09:59:07 +02:00
l10n daemon script 896de56ef0 SVN_SILENT made messages (.desktop file) 2014-07-25 05:38:42 +00:00
l10n daemon script 1b5cbbea59 SVN_SILENT made messages (.desktop file) 2014-07-24 04:51:37 +00:00
l10n daemon script d62def2323 SVN_SILENT made messages (.desktop file) 2014-07-06 04:29:52 +00:00
l10n daemon script 6a46dd7447 SVN_SILENT made messages (.desktop file) 2014-06-30 04:40:38 +00:00
l10n daemon script c1859fd649 SVN_SILENT made messages (.desktop file) 2014-06-22 04:32:12 +00:00
l10n daemon script 02c782f7e4 SVN_SILENT made messages (.desktop file) 2014-06-03 05:10:11 +00:00
Albert Astals Cid 19a216a275 Don't ask for link annotations, they are slow and we don't use them
Needs poppler 0.28 that is yet to be released

BUGS: 317891
2014-05-11 18:44:56 +02:00
Luigi Toscano 710779b7b8 getenv -> qgetenv 2014-05-11 13:53:48 +02:00
Luigi Toscano 9fc25e0448 Cleanup messages for the info message widget
- use proper HTML tags so that it is easy to read complex messages
- remove one unused string
- minor string fixes
2014-05-11 13:53:48 +02:00
Luigi Toscano 576596d9fc Remove fontProgressDialog, no more used 2014-05-11 00:34:26 +02:00
Luigi Toscano ae555519c5 Move the call to fontLocate in the pixmap rendering thread
- Initialize the kpsewhich QProcess in the fontLocate() method
- Remove the usage of fontProgressDialog and use the warning
  signal to notify the user on the status of font generation.
- The change makes it "easier", in future, to kill the font
  generation when the user opens a new document. Right now it
  is not possible to stop the generation.

Reviewed by: Albert Astal Cid, Fabio d'Urso
(and thanks for the hints!)
2014-05-11 00:17:46 +02:00
Albert Astals Cid 86dd9e8801 Move the ooo wallet code to use the part.cpp one
Less widgets in generators/core \o/
2014-05-10 15:54:03 +02:00
Albert Astals Cid e93d5bda01 Move KWallet code from pdf backend to ui
This helps with the widget dependency removal in the core/backends
2014-05-09 19:58:43 +02:00
Albert Astals Cid 11773fdcb5 Wops, this should have not been removed ^_^ 2014-05-09 13:52:58 +02:00
Albert Astals Cid 99ec6dcdc5 We don't need to pass the parent down now
Acked by Luigi
2014-05-09 13:39:49 +02:00
Albert Astals Cid 5826ba35f3 Remove the use of progress dialog and widget in the dvi exporter
They are not really useful anyway

Acked by Luigi
2014-05-09 13:37:15 +02:00
Albert Astals Cid 6112a79765 Minor version updates to generators with changes since 4.12 2014-04-09 23:39:04 +02:00
l10n daemon script c6de0ba3a5 SVN_SILENT made messages (.desktop file) 2014-04-02 07:37:55 +00:00