Commit graph

7716 commits

Author SHA1 Message Date
Kevin Funk
a2bb8fbb46 Fix CMake warning
CMake Warning (dev) at
/home/kfunk/devel/install/kf5/share/ECM/modules/ECMPackageConfigHelpers.cmake:84
(message):
  Your project already requires a version of CMake that includes the
  find_dependency macro via the CMakeFindDependencyMacro module.  You
should
  use CMakePackageConfigHelpers instead of ECMPackageConfigHelpers.
2017-09-05 10:59:27 +02:00
Heiko Becker
29ddae55b5 Merge remote-tracking branch 'origin/Applications/17.08' 2017-09-04 21:37:14 +02:00
Heiko Becker
075b8153af Search for Kirigami
Summary: Makes it a bit more obvious that Kirigami is needed at runtime.

Test Plan: Shows a nice status message

Reviewers: #okular, aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D7241
2017-09-04 21:32:19 +02:00
l10n daemon script
4be86a4bdc SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-09-04 04:41:43 +02:00
l10n daemon script
e56e08a781 GIT_SILENT made messages (after extraction) 2017-09-04 03:05:13 +02:00
Albert Astals Cid
4c3fb21b0a Use project() to set the version 2017-09-02 19:57:46 +02:00
Albert Astals Cid
b53c5dd02c Merge remote-tracking branch 'origin/Applications/17.08' 2017-09-02 19:57:12 +02:00
Albert Astals Cid
d1b0e6d68a GIT_SILENT Upgrade KDE Applications version to 17.08.1. 2017-09-02 11:32:08 +02:00
l10n daemon script
dbb801f25a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-09-01 04:36:38 +02:00
l10n daemon script
910c06e4a6 GIT_SILENT made messages (after extraction) 2017-09-01 03:04:47 +02:00
Kevin Funk
b31e3f23db CMake: Use some more find_package(... CONFIG) 2017-08-31 23:37:19 +02:00
Albert Astals Cid
470df16700 Merge remote-tracking branch 'origin/Applications/17.08' 2017-08-31 01:12:20 +02:00
Albert Astals Cid
a6aea95608 Do not start reloading again if we're reloading
If you press and hold F5 we try to reload multiple times, which isn't a nice idea, let's finish one before starting the next
2017-08-31 01:09:32 +02:00
Albert Astals Cid
542f62ff8a Merge remote-tracking branch 'origin/Applications/17.08' 2017-08-31 00:14:07 +02:00
Albert Astals Cid
8ca27ef393 Fix crash when closing
Unregister the part dbus object when it gets destroyed

Also fixes a crash if you try to inspect okular with qdbusviewer after having closed the a part/tab

BUGS: 384142
2017-08-31 00:13:05 +02:00
Albert Astals Cid
e18783f749 Fix warning about TRANSLATION_DOMAIN being defined twice 2017-08-30 23:08:48 +02:00
Albert Astals Cid
69982161e7 Merge remote-tracking branch 'origin/Applications/17.08' 2017-08-30 23:08:20 +02:00
Albert Astals Cid
9a25ea41dc Fix warning about TRANSLATION_DOMAIN being defined twice 2017-08-30 23:07:03 +02:00
l10n daemon script
7e5e26a16f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-30 08:01:42 +02:00
l10n daemon script
74679c3668 GIT_SILENT made messages (after extraction) 2017-08-30 06:11:28 +02:00
Luigi Toscano
007030a6df Fix translation also for the new Markdown generator
Define the translation domain for it as well.
2017-08-30 01:29:43 +02:00
Luigi Toscano
d9584b30d8 Merge remote-tracking branch 'origin/Applications/17.08' 2017-08-30 01:29:21 +02:00
Luigi Toscano
4a4bba1137 Add the base .arcconfig file 2017-08-30 01:28:40 +02:00
Luigi Toscano
e858ecdd7c Fix translations: add translation domain for generators
Generators are libraries, so define the proper TRANSLATION_DOMAIN
for each for them.

Thanks Albert for spotting this.
2017-08-30 01:27:35 +02:00
l10n daemon script
0f01012601 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-29 04:40:15 +02:00
Albert Astals Cid
16fd5686cc Merge remote-tracking branch 'origin/Applications/17.08' 2017-08-27 13:19:55 +02:00
Albert Astals Cid
a8a79368c7 Fix memory leak in text document settings d-pointers 2017-08-27 13:19:16 +02:00
Albert Astals Cid
0eb2f227b0 Fix memory leak in text document settings d-pointers 2017-08-27 13:18:31 +02:00
Albert Astals Cid
39c76da6bf markdown: Obey the font size set in the settings 2017-08-27 12:04:47 +02:00
l10n daemon script
3349c9fff7 GIT_SILENT made messages (after extraction) 2017-08-27 05:21:29 +02:00
l10n daemon script
a6731c0ef4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-27 04:42:43 +02:00
l10n daemon script
3422520a5c GIT_SILENT made messages (after extraction) 2017-08-27 03:08:01 +02:00
Yuri Chornoivan
f97cbaed86 Add Markdown to the list of formats in docs 2017-08-26 19:22:25 +03:00
l10n daemon script
0b85b7c138 GIT_SILENT made messages (after extraction) 2017-08-26 05:23:57 +02:00
l10n daemon script
92a08d9a7d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-26 04:45:47 +02:00
l10n daemon script
e279e26b40 GIT_SILENT made messages (after extraction) 2017-08-26 03:18:37 +02:00
l10n daemon script
003d46e926 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-08-25 04:48:47 +02:00
Albert Astals Cid
afd3a1423a Make it clear that the caller to convert takes ownership 2017-08-25 01:17:31 +02:00
Albert Astals Cid
551f0b6271 Small rework for the markdown converter
Don't have the textdocument and dir as members, pass them along
This is to make clear that this is a "one off stateless conversion",
i.e. after convert returns the converter doesn't own the textdocument
anymore, so better don't keep a pointer to it
2017-08-25 01:14:58 +02:00
Julian Wolff
4931385777 add markdown support
Summary:
Adds support for Markdown documents

BUG: 360603

Test Plan: Open a Markdown (.md) document in Okular

Reviewers: #okular, aacid

Reviewed By: #okular, aacid

Subscribers: michaelweghorn, aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D7382
2017-08-25 01:05:23 +02:00
Albert Astals Cid
37de97a030 Merge remote-tracking branch 'origin/Applications/17.08' 2017-08-21 00:11:28 +02:00
Albert Astals Cid
0919ad87d1 Fix width and height being switched when printing Custom size
BUGS: 383734
2017-08-21 00:09:27 +02:00
Oliver Sander
0c4c2ddbbc Print via QPrinter when rasterizing and printing annotations
When the user chooses to print with rasterization and annotations,
it is easy to print directly to a QPrinter, rather than converting
to PostScript and then using CUPS tools.  The code for it was
already there, but it was hidden behind an #ifdef Q_OS_WIN.
This patch enables it for all plattforms.  If nothing else,
it will make an interesting debugging tool, because it allows
to bypass the postscript & CUPS toolchain from the GUI.
This may allow to track down some of the numerous my-printer-settings-
are-getting-ignored bugs.

The previously windows-only rasterization code used printer.physicalDpiX()
as the rasterization resolution.  At least on my machine this resulted
in a dpi value of 1200, which means quite a lot of memory is used.
I left the windows code untouched, but on Unix I lowered that value
to 300dpi, which is what the postscript rasterizer uses.

Incidentally, this patch does fix at least one bug for me:
Without it, my printer will happily ignore the 'print in grayscale'
button.  With the patch, that button is suddenly honoured.

REVIEW: 130218
2017-08-10 17:27:27 +02:00
Andreas Sturmlechner
862fd4f3e1
Don't build kimgiotest unless BUILD_TESTING=ON
Summary:
In >=KF-5.38 target kimgiotest is only built if BUILD_TESTING=ON,
so subsequent target_compile_definitions will fail if OFF.

Reviewers: #okular

Subscribers: kfunk

Tags: #okular

Differential Revision: https://phabricator.kde.org/D7212
2017-08-09 00:47:12 +02:00
Albert Astals Cid
56849e7092 GIT_SILENT Upgrade KDE Applications version to 17.08.0. 2017-08-08 20:19:03 +02:00
Oliver Sander
024d25cdec Simplify the drawing of buffered highlight rectangles
Previously, they were drawn by modifying individual pixels
of the QImage.  With this patch we simply use a QPainter.

REVIEW: 130214
2017-08-08 14:55:53 +02:00
Christoph Feck
2df84c4cb4 GIT_SILENT Upgrade KDE Applications version to 17.07.90. 2017-07-31 01:56:45 +02:00
l10n daemon script
36c60741fb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-07-30 04:54:11 +02:00
l10n daemon script
19406fdf57 GIT_SILENT made messages (after extraction) 2017-07-30 03:25:35 +02:00
Albert Astals Cid
ef3f9e0199 Merge remote-tracking branch 'origin/Applications/17.08' 2017-07-28 12:45:15 +02:00