Commit graph

495 commits

Author SHA1 Message Date
l10n daemon script 59307b57ab GIT_SILENT made messages (after extraction) 2018-12-21 03:16:27 +01:00
l10n daemon script 829d189e27 GIT_SILENT made messages (after extraction) 2018-12-17 03:08:39 +01:00
l10n daemon script e19cd125f1 GIT_SILENT made messages (after extraction) 2018-12-03 03:19:29 +01:00
l10n daemon script a71f18a001 GIT_SILENT made messages (after extraction) 2018-11-21 03:16:51 +01:00
l10n daemon script 41330b111a GIT_SILENT made messages (after extraction) 2018-11-16 03:50:24 +01:00
l10n daemon script 139e6d8fae GIT_SILENT made messages (after extraction) 2018-11-13 04:02:38 +01:00
l10n daemon script 167b7955cf GIT_SILENT made messages (after extraction) 2018-11-08 03:55:00 +01:00
Albert Astals Cid a37b299b04 add a source to differentiate 2018-11-07 23:55:40 +01:00
Albert Astals Cid 69bb4db9ea Add donation url 2018-11-07 15:03:02 +01:00
l10n daemon script b3dd26a644 GIT_SILENT made messages (after extraction) 2018-11-04 03:54:05 +01:00
l10n daemon script fe5d79bb9f GIT_SILENT made messages (after extraction) 2018-11-02 03:53:58 +01:00
l10n daemon script 83103d6155 GIT_SILENT made messages (after extraction) 2018-11-01 03:50:16 +01:00
l10n daemon script 872a6e77a8 GIT_SILENT made messages (after extraction) 2018-10-31 03:57:01 +01:00
l10n daemon script bc10eb432d GIT_SILENT made messages (after extraction) 2018-10-30 03:46:33 +01:00
Tobias Deiminger d1ea28fc73 Avoid crash during session restore
Summary:
Do all access to the passed KConfigGroup really synchronous to KMainWindow::readProperties, then we're safe.

Currently kxmlgui can't guarantee that the passed KConfigGroup is still valid after our call to Shell::openUrl(). This is because inside Shell::openUrl, QDialog::exec may get called. The stacked event loop processes all kinds of asynchronous events, and litterally *anything* can happen. E.g. incoming ICE and DBus messages may be processed. In bug 395765 it happened that XSMP SafeYourself was processed, which calls KConfigGui::setSessionConfig, which leaves the KConfig pointer inside KConfigGroup dangling.

BUGS: 395765

Test Plan:
- get recent Qt5 and KF5
- manually save desktop session while a document is open in okular
- modify ~/.config/session/okular_<sessionid> so that Urls points to non existing file
- manually restore session with okular -session <session_id>, dialog will open and warn about non existent file
- okular shall not crash after closing that dialog

Reviewers: aacid

Reviewed By: aacid

Subscribers: aacid, okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D16457
2018-10-29 21:44:56 +01:00
Yuri Chornoivan 5c4c33e725 Fix minor Appstreamercli issues 2018-10-28 12:50:28 +02:00
l10n daemon script 4e9bbfddb0 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"
2018-10-10 06:37:12 +02:00
l10n daemon script 96f4f27ba6 GIT_SILENT made messages (after extraction) 2018-10-10 04:08:48 +02:00
Yuri Chornoivan 39b6e8147d Fix minor EBN issues 2018-09-01 11:25:57 +03:00
Yuri Chornoivan c04ca1fa96 Fix minor EBN issues 2018-08-31 12:23:45 +03:00
l10n daemon script f1d3c68115 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"
2018-08-04 05:43:46 +02:00
l10n daemon script 5f93a0b90e GIT_SILENT made messages (after extraction) 2018-08-04 03:45:00 +02:00
l10n daemon script c4570f7e40 GIT_SILENT made messages (after extraction) 2018-07-16 03:26:51 +02:00
Oliver Sander 862b2ab664 Allow to select more than one file in the 'open file' dialog
BUGS: 395175

Differential Revision: https://phabricator.kde.org/D13667
2018-06-25 17:11:51 +02:00
Laurent Montel 1bc4fb0dd9 Do not duplicate work of KAboutData::setupCommandLine() 2018-06-21 13:39:36 +02:00
Aleix Pol cf4bb5e3b1 Android: Make it possible to associate with files
Summary:
Put the file into a file descriptor and open this file descriptor.
Just application/pdf for now.

Test Plan: opened some documents on my phone

Reviewers: #okular, aacid, mart

Reviewed By: mart

Subscribers: okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D12770
2018-05-11 19:27:13 +02:00
Aleix Pol 621e4d9cd7 Improve searching for KActivities 2018-04-13 17:35:17 +02:00
Albert Astals Cid 3e25263d77 Use KCrash 2018-04-08 11:50:18 +02:00
Dileep Sankhla 09b7b079ac Option to exit after printing
Summary:
When running okular with the parameter --print to directly open the print mode, it doesn't exit after acknowledging the print dialog. Hence adding --print_and_exit option exits Okular after acknowledging the print dialog and thus is useful for the command line batch processing or a Dolphin service as the issue suggests.

FEATURE: 318998

Test Plan:
1. open a file in Okular using the parameter --print. It will open Okular in print mode with the print dialog
2. Either print the file or cancel the print dialog
3. You will find that Okular stays open
4. Now using this patch, see for available options with the --help parameter. You will find --print_and_exit option
5. Now open a file in Okular using the parameter --print_and_exit. It will open Okular in print mode with the print dialog
6. Either print the file or cancel the print dialog
7. You will find that Okular closes after acknowledging the dialog

Reviewers: aacid, #okular, ngraham

Subscribers: ltoscano, ngraham, aacid, #okular

Tags: #okular

Differential Revision: https://phabricator.kde.org/D10249
2018-03-03 17:36:50 +01:00
l10n daemon script 4af533a4eb GIT_SILENT made messages (after extraction) 2017-12-31 03:15:40 +01:00
l10n daemon script d150c10bce GIT_SILENT made messages (after extraction) 2017-12-28 03:13:34 +01:00
l10n daemon script 22885c00b0 GIT_SILENT made messages (after extraction) 2017-12-01 03:10:28 +01:00
Henrik Fehlauer 069a18b041 Merge remote-tracking branch 'origin/Applications/17.12' 2017-11-30 15:00:26 +01:00
l10n daemon script 0ef249b5a5 GIT_SILENT made messages (after extraction) 2017-11-28 05:48:07 +01:00
l10n daemon script 22ee80d317 GIT_SILENT made messages (after extraction) 2017-11-21 05:09:38 +01:00
l10n daemon script 3e2e5d2b36 GIT_SILENT made messages (after extraction) 2017-11-21 02:59:25 +01:00
Albert Astals Cid 19b7e3c112 The work in this branch was sponsored by LiMux
give them some credit in the headers
2017-11-16 09:58:31 +01:00
Albert Astals Cid ea1815be13 Also note the modified status (*) on the tab name 2017-11-13 17:59:45 +01:00
Albert Astals Cid 54bcb44559 Merge remote-tracking branch 'origin/master' into dont-use-docdata-for-annots-and-forms 2017-10-23 16:03:18 +02:00
l10n daemon script 1883a06614 GIT_SILENT made messages (after extraction) 2017-10-20 03:05:06 +02:00
Lukas Hetzenecker ecc1141e02 HiDPI Support for Okular
Summary:
This patch enables HiDPI throughout the application

Every pixmap is multiplied by the devicePixelRatioF
QPainter code is ajusted to take the DPR value into account

All pixmaps get cached with the highest DPR of all screens. When moving the application to another screen, the cache doesn't have to be invalidated.

BUGS: 362856 383589
REVIEW: D6268
2017-10-14 14:47:20 +02:00
l10n daemon script 72abe6f85a GIT_SILENT made messages (after extraction) 2017-10-11 06:41:11 +02:00
Albert Astals Cid a93661e892 Merge remote-tracking branch 'origin/master' into dont-use-docdata-for-annots-and-forms 2017-09-27 15:01:57 +02:00
Albert Astals Cid ce5999d513 have -> are 2017-09-18 22:20:42 +02:00
Albert Astals Cid 95a32d7730 Show dialog to ask when closing when more than tab open
Summary:
The checkbox is checked and says "Warn me on closing more than one tab",
for that reason we can't use the default KMessageBox::questionYesNo since
there the checkbox is always not checked and it's when checked that you enable it

Inspired by code from torham zed torhamzed@yahoo.com at review request 126406

Reviewers: #okular, #kde_applications

Subscribers: alexeymin, ngraham, colomar, rkflx, #okular

Tags: #okular

Differential Revision: https://phabricator.kde.org/D7714
2017-09-17 23:50:27 +02:00
Albert Astals Cid 04ed10d3ea Merge remote-tracking branch 'origin/master' into dont-use-docdata-for-annots-and-forms 2017-09-11 19:51:51 +02:00
l10n daemon script 7849af8f30 GIT_SILENT made messages (after extraction) 2017-09-11 03:20:48 +02:00
Kevin Funk a53a2402ca clang-tidy: modernize-use-nullptr run
Semi-ACK'd by Albert :)
2017-09-06 00:19:48 +02:00
l10n daemon script 19406fdf57 GIT_SILENT made messages (after extraction) 2017-07-30 03:25:35 +02:00
Albert Astals Cid 1a5e20e22b Merge remote-tracking branch 'origin/Applications/17.04' 2017-07-02 18:01:14 +02:00