Commit graph

566 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 0b662faf35 Assume Poppler 0.22 or newer (0.22 was the first one with qt5 support) 2014-08-24 21:47:08 +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
Vishesh Handa e4a4d400c3 Port the poppler generator 2014-08-13 11:16:28 +02:00
Albert Astals Cid e9e3d4a435 Make documentInfo be Hash based instead of XML based 2014-08-10 22:38:13 +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
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
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
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
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 6112a79765 Minor version updates to generators with changes since 4.12 2014-04-09 23:39:04 +02:00
l10n daemon script 6f62e29846 SVN_SILENT made messages (.desktop file) 2014-02-24 04:37:30 +00:00
Eugene Shalygin ed35594627 Use DPI of current screen for PDF rendering
Includes some fixes from Albert:
 * kscreen cmake fixes
   Don't make libkscreen mandatory, give the proper version we need
 * Fix the @since
 * Kill Resolution and use a QSizeF
   I first thought QSizeF didn't make sense, but well what's a dpi if not a number of pixels in width and some others in height?
 * Remove unwanted const
 * Remove unneeded utils.h includes
 * Fix comments on realDPIXY()
 * Make it compile in non X11

REVIEW: 111829
2014-01-13 01:37:56 +01:00
Albert Astals Cid 0aec32fc7d Don't try to print something with invalid sizes
Unfortunately as we can't add new strings to stable versions it'd say "unwnown error" if that happens
Don't think it's too bad since this shouldn't be happening much

BUGS: 329562
2014-01-12 19:21:10 +01:00
l10n daemon script d773e626a9 SVN_SILENT made messages (.desktop file) 2013-08-04 04:26:31 +00:00
Albert Astals Cid 2cdc9f3c70 Merge remote-tracking branch 'origin/KDE/4.11' 2013-07-25 22:10:59 +02:00
Albert Astals Cid 48e0477a67 numPages returns int, account for < 0 numPages
If numPages < 0 it's an error
2013-07-25 22:09:57 +02:00
l10n daemon script 4e84194bef SVN_SILENT made messages (.desktop file) 2013-07-24 04:05:35 +00:00
l10n daemon script 2e25db4070 SVN_SILENT made messages (.desktop file) 2013-07-23 07:07:19 +00:00
l10n daemon script db0c64854d SVN_SILENT made messages (.desktop file) 2013-07-23 04:02:30 +00:00
l10n daemon script ca12f8dbb5 SVN_SILENT made messages (.desktop file) 2013-07-14 06:57:29 +00:00
l10n daemon script 9476a9cf7a SVN_SILENT made messages (.desktop file) 2013-07-14 04:14:05 +00:00
Fabio D'Urso a768dc69ad Remove z-order annotation hack in poppler generator
It was wrong: it didn't make poppler and okular's z-order match. Quite
the opposite: it actually reversed it.
2013-07-01 22:06:34 +02:00
l10n daemon script 2e847d2f81 SVN_SILENT made messages (.desktop file) 2013-07-01 03:53:16 +00:00
Fabio D'Urso 6efedc7bea poppler: Comply with new rules in API calls about FixedRotation annotations
See patch 0006 in
http://lists.freedesktop.org/archives/poppler/2013-April/010214.html

CCBUG: 313177
2013-06-26 21:47:37 +02:00
Yuri Chornoivan 3b73357d2f Fix some typos found by Krazy2 2013-06-24 13:46:16 +03:00
Fabio D'Urso a7cb8e1d3c Compile with Poppler < 0.20
I had added this special case because Poppler < 0.20 stored garbage
in the DOM node corresponding to inplaceText (but good data in contents).
This code copied the good value into inplaceText, so that our UI code,
which used to show the user what it read from inplaceText, showed the
good value instead.

Now that Okular only has contents, this special handling is no longer
needed.
2013-05-18 13:38:13 +02:00
Jon Mease 2ae9e58bb4 Merge window.text, contents and inplaceText annotation properties
BUG: 319442
REVIEW: 110391
2013-05-14 09:43:27 +02:00
Yury G. Kudryashov 36b445e5c0 Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-05 17:23:06 +04:00
Yury G. Kudryashov 3e976b620f Fixup for e37c43b189
Use QFile::decodeName() instead of QString::fromLocal8Bit() as suggested by
André Wöbbeking a couple of days after commit.
2013-05-05 17:22:11 +04:00
David Faure 155312269b Remove erroneous double-quotes around %c in Exec line 2013-05-03 13:25:44 +02:00
Script Kiddy cbc693b664 SVN_SILENT made messages (.desktop file) 2013-04-20 09:48:58 +02:00
Script Kiddy 583fc0d81f SVN_SILENT made messages (.desktop file) 2013-04-08 08:57:28 +02:00
Albert Astals Cid 04c3b836ff Merge remote-tracking branch 'origin/KDE/4.10'
Conflicts:
	generators/spectre/okularApplication_ghostview.desktop
2013-03-14 23:09:57 +01:00
Albert Astals Cid 3f3f82afa1 Fix my email address 2013-03-14 23:09:07 +01:00
Script Kiddy b23f5037df SVN_SILENT made messages (.desktop file) 2013-03-11 08:35:41 +01:00
Script Kiddy 0b17013be3 SVN_SILENT made messages (.desktop file) 2013-03-01 08:49:04 +01:00
Chusslove Illich (Часлав Илић) 9307953355 Renamed dummy extraction file rc_okular_poppler.cpp to usual rc.cpp.
When special dummy file name is used, it needs to be listed in
the l10n-kde4/scripts/repack-pot.pl script. So when the special
name is not necessary, better use the usual one.
2013-02-27 13:11:33 +01:00
Pino Toscano a579df637f poppler: i18n: extract messages also from .ui and .kcfg files 2013-02-24 10:42:09 +01:00
Pino Toscano f45e119e0f poppler: fix typo 2013-02-24 02:38:00 +01:00
Albert Astals Cid 96d8d6b8b0 And now add the files i forgot
woops :D
2013-02-24 01:00:33 +01:00
Albert Astals Cid 69f683b9a4 Expose the thin line support of poppler 0.24
Based on a patch by Thomas Freitag - Thomas.Freitag@alfa.de
2013-02-24 00:37:33 +01:00
Marco Martin 27c37c1fd1 use TryExec to not appear when not installed
when okular active is not installed, it should not appear in the open with menu, so add TryExec to see if the executable exists
this is used instead of conditional install to make easier for distributions to package the desktop and active versions separately

BUG:314981
REVIEW:109047
2013-02-20 11:14:13 +01:00