Commit graph

7706 commits

Author SHA1 Message Date
l10n daemon script
910c06e4a6 GIT_SILENT made messages (after extraction) 2017-09-01 03:04:47 +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
Albert Astals Cid
5e9d751c63 plucker: Comment code to reduce warnings
upstream plucker is dead so no need to maitain code unchanged to ease merges
the variables were set but never used so for now commented them out
2017-07-28 12:41:24 +02:00
Albert Astals Cid
f712504f6e Add a few make gcc lines
It is needed because EOLCnt is set inside a macro used from various functions but the EOLCnt value
is then not really used in all of the functions so for those that are not used creates a "set but not used warning"
2017-07-28 11:28:32 +02:00
Albert Astals Cid
026d3d104d Fix small warning 2017-07-28 11:21:56 +02:00
Albert Astals Cid
a44b015761 Make newer gcc happier about fallthrough 2017-07-28 11:21:52 +02:00
Albert Astals Cid
18cb1e5659 Add missing break to switch case
May potentially cause a crash
2017-07-28 11:11:50 +02:00
Albert Astals Cid
59ea8ed8ef Merge remote-tracking branch 'origin/Applications/17.08' 2017-07-27 16:58:57 +02:00
Albert Astals Cid
fd5cc83e85 Fix warning in newer gcc versions 2017-07-27 16:57:40 +02:00
Albert Astals Cid
8ecba7f6c9 GIT_SILENT Upgrade KDE Applications version to 17.07.80. 2017-07-17 22:16:44 +02:00
Albert Astals Cid
6f758f7477 1.3.x for master 2017-07-17 20:38:34 +02:00
Albert Astals Cid
bb547c5eed 1.2.x for KDE Applications 17.08.x 2017-07-17 20:37:44 +02:00