Commit graph

323 commits

Author SHA1 Message Date
Albert Astals Cid b642710130 GIT_SILENT Upgrade KDE Applications version to 18.11.80. 2018-11-09 23:20:37 +01:00
Albert Astals Cid 1503463958 GIT_SILENT Upgrade KDE Applications version to 18.11.70. 2018-07-16 20:02:01 +02:00
Albert Astals Cid c05ebf2fc8 Increase version 2018-07-16 19:30:39 +02:00
Laurent Montel 634d8db004 Add missing () 2018-07-09 07:43:44 +02:00
Laurent Montel fd44517bae Honor BUILD_TESTING 2018-07-09 07:37:58 +02:00
Friedrich W. H. Kossebau 2d8179fdcb Remove usage of dead QT_USE_FAST_CONCATENATION
Dropped pre-Qt5
2018-06-29 19:45:56 +02:00
Aleix Pol 1fb77446a7 Make it possible to disable the build of okularkirigami
Summary:
Some distros seem to have the option.

BUG: 393119

Test Plan: Still builds, can disable build

Reviewers: #okular, mart, aacid, lbeltrame

Tags: #okular

Differential Revision: https://phabricator.kde.org/D12352
2018-04-22 22:23:11 +02:00
Aleix Pol 77049d3b80 Android: include metadata for okular kirigami
Summary:
Include an AndroidManifest.xml file so when it's installed it has a
proper icon and name.
Include appdata information so it can be listed

Reviewers: #okular, mart, aacid

Reviewed By: #okular, mart, aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D12299
2018-04-19 01:05:54 +02:00
Aleix Pol c325b342f3 Make some frameworks optional so okular can be built on Android
Summary:
Disables KWallet integration if there's no KWallet, KJS if there's no
KJS and KDocTools.
Here's a list of frameworks that don't work on Android:
https://cgit.kde.org/sysadmin/ci-tooling.git/tree/local-metadata/project-ignore-rules.yaml

Test Plan: Still works locally, ran Okular and Okular Mobile on Android.

Reviewers: #okular, aacid

Subscribers: aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D12177
2018-04-16 22:41:19 +02:00
Aleix Pol 621e4d9cd7 Improve searching for KActivities 2018-04-13 17:35:17 +02:00
Aleix Pol c8b0677a25 Remove unneeded dependencies 2018-04-13 17:05:16 +02:00
Albert Astals Cid 3e25263d77 Use KCrash 2018-04-08 11:50:18 +02:00
Albert Astals Cid 1069b02fd3 Merge remote-tracking branch 'origin/Applications/18.04' 2018-03-21 00:31:27 +01:00
Albert Astals Cid 7e1832c57a autotests: Only compile parttest if you have the pdf support
I'm sure other tests fail to run too, but this one was failing to
compile :D
2018-03-21 00:31:05 +01:00
Albert Astals Cid 33768c683f Merge remote-tracking branch 'origin/Applications/18.04' 2018-03-20 23:38:01 +01:00
Albert Astals Cid 098a886ff1 Increase OkularCore soversion
Since we broke ABI since last release
2018-03-20 23:37:30 +01:00
Albert Astals Cid 1b57c7557b GIT_SILENT Upgrade KDE Applications version to 18.07.70. 2018-03-19 23:52:08 +01:00
Albert Astals Cid e6860a1194 GIT_SILENT Upgrade KDE Applications version to 18.03.80. 2018-03-19 23:37:57 +01:00
Albert Astals Cid 1a093dc572 New version for master 2018-03-19 23:36:23 +01:00
Andre Heinecke cead2bbef3 Add initial support for built-in javascript functs
Summary:
This starts by adding support for AFSimple_Calculate which
is the standard "calculate" function in Adobe Acrobat Pro.

Reviewers: #okular

Subscribers: aacid

Tags: #okular

Maniphest Tasks: T7805

Differential Revision: https://phabricator.kde.org/D10049
2018-02-22 00:12:44 +01:00
Andre Heinecke d3a549ca25 Add JavaScript Event Object handling
Summary:
This adds a new data object "Event" that can be used
to carry information in and out of JavaScript execution
contexts. The Event Object is defined in the Adobe JavaScript
scripting reference.

The implementation now adds handling for the FieldCalculate
Event. It should be extensible enough so that in the future
more events could be supported.

Reviewers: #okular

Subscribers: aacid

Tags: #okular

Maniphest Tasks: T7805

Differential Revision: https://phabricator.kde.org/D10073
2018-02-22 00:11:20 +01:00
Albert Astals Cid 879f40e3a8 Increase minimum required KF5 version
All the distributions tracked in repology.org that ship Qt 5.8 at least ship KF 5.33 so increase it to that version
2018-02-21 21:31:28 +01:00
Aleix Pol e06883d102 Fix annoying warning
Summary:
Warning for every plugin was:
The file includes the moc file "generator_tiff.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE, K_PLUGIN_FACTORY_WITH_JSON, K_PLUGIN_FACTORY, K_PLUGIN_FACTORY_WITH_JSON or K_PLUGIN_FACTORY macro.

Test Plan: Built

Reviewers: aacid

Reviewed By: aacid

Subscribers: #okular

Tags: #okular

Differential Revision: https://phabricator.kde.org/D10022
2018-02-06 00:38:50 +01:00
David Faure ee2418be1d Re-enable -DQT_NO_URL_CAST_FROM_STRING and fix the CHM backend. 2017-12-05 09:48:40 +01:00
Albert Astals Cid 80b1b67ab9 Merge remote-tracking branch 'origin/Applications/17.12' 2017-12-05 01:00:51 +01:00
Albert Astals Cid 26367babb4 Unbreak compilation of the chm backend
CCMAIL: faure@kde.org
2017-12-05 00:57:04 +01:00
Albert Astals Cid 2b7b8e94f8 We broke ABI by adding a new virtual to generator 2017-12-05 00:53:34 +01:00
Albert Astals Cid deb01dce88 Increase version now that we're not on unstable versioning anymore 2017-12-05 00:30:48 +01:00
Christoph Feck 2f77b3294d GIT_SILENT Upgrade KDE Applications version to 17.12.0. 2017-12-05 00:03:16 +01:00
David Faure 591f200f33 Merge branch 'Applications/17.12' 2017-12-02 21:13:35 +01:00
David Faure 711e4e75ef Enable -DQT_NO_URL_CAST_FROM_STRING and fix compilation 2017-12-02 21:12:47 +01:00
Christoph Feck 27b8c8cc27 GIT_SILENT Upgrade KDE Applications version to 17.11.90. 2017-11-30 22:20:28 +01:00
Albert Astals Cid 7d5ee41f30 We need Qt 5.8
Because of QUndoStack::resetClean
2017-11-16 15:26:24 +01:00
Albert Astals Cid 43cd93a36b GIT_SILENT Upgrade KDE Applications version to 18.03.70. 2017-11-13 09:03:34 +01:00
Albert Astals Cid a3d1bb8cad Increase version for next release 2017-11-13 01:08:51 +01:00
Albert Astals Cid 41d378aef9 GIT_SILENT Upgrade KDE Applications version to 17.11.80. 2017-11-13 01:07:57 +01:00
Kevin Ottens a5da013a4d Add a "share" menu to Okular
Summary: This is implemented using the Purpose framework.

BUG: 173896

Reviewers: aacid

Subscribers: #okular

Tags: #okular

Differential Revision: https://phabricator.kde.org/D8244
2017-10-18 16:55:21 +02:00
Albert Freeman 1f6e8a4782 Custom background color
Summary:
BUG: 182994

Adds an option to the config dialog that enables background color (the color around the displayed page) to be changed (while by default preserving the Qt toolkit selection as not to affect existing users).

Reasons for this change:
Accessibility, eye strain, aesthetic reasons, color displayed on monitor can affect power consumption (how: depends on display technology).
Many people want this change occording to Bugzilla and other sources.

Maintenance: Nearly no additional maintenance:
This is no new subsystem but a trivial feature with no complex code dependencies, and we are already showing a colour selection dialog and setting colours in other places in Okular.

{F4257766}

Other less important information:
https://git.reviewboard.kde.org/r/130219/
https://mail.kde.org/pipermail/okular-devel/2017-September/025520.html

Test Plan:
Tested everything, it all works:
Toggled the custom background color, changed custom background color, removed okular settings file (with: "rm ~/.config/okular*") to verify it uses the usual qt theme colour by default (where the settings file remembered the custom color).

Reviewers: #okular, aacid, elvisangelaccio, rkflx, ngraham

Reviewed By: ngraham

Subscribers: aacid, ltoscano, ngraham

Tags: #okular

Differential Revision: https://phabricator.kde.org/D8051
2017-10-01 11:31:59 +02:00
Luigi Toscano d176914e63 Revert "Custom background color"
Wrong authorship for the commit. Commit it again with the correct
information.

CCMAIL: pointedstick@zoho.com
This reverts commit 6b5a7c9a1a.
2017-10-01 11:27:53 +02:00
Nathaniel Graham 6b5a7c9a1a Custom background color
Summary:
BUG: 182994

Adds an option to the config dialog that enables background color (the color around the displayed page) to be changed (while by default preserving the Qt toolkit selection as not to affect existing users).

Reasons for this change:
Accessibility, eye strain, aesthetic reasons, color displayed on monitor can affect power consumption (how: depends on display technology).
Many people want this change occording to Bugzilla and other sources.

Maintenance: Nearly no additional maintenance:
This is no new subsystem but a trivial feature with no complex code dependencies, and we are already showing a colour selection dialog and setting colours in other places in Okular.

{F4257766}

Other less important information:
https://git.reviewboard.kde.org/r/130219/
https://mail.kde.org/pipermail/okular-devel/2017-September/025520.html

Test Plan:
Tested everything, it all works:
Toggled the custom background color, changed custom background color, removed okular settings file (with: "rm ~/.config/okular*") to verify it uses the usual qt theme colour by default (where the settings file remembered the custom color).

Reviewers: #okular, aacid, elvisangelaccio, rkflx, ngraham

Reviewed By: ngraham

Subscribers: aacid, ltoscano, ngraham

Tags: #okular

Differential Revision: https://phabricator.kde.org/D8051
2017-09-30 19:45:24 -06:00
Henrik Fehlauer fcc08449b1 Fix building synctex 1.19 on Windows
Summary:
The massive changes to the synctex code in D7594 pulled in a new library
(on windows only), reflect that in the linker flags.

Test Plan:
`craft okular` on Okular's master branch builds successfully with MSVC
2017 and Qt 5.9, build on Linux still fine.

Reviewers: #okular, aacid

Reviewed By: #okular, aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D7809
2017-09-13 23:47:35 +02:00
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
Albert Astals Cid 4c3fb21b0a Use project() to set the version 2017-09-02 19:57:46 +02:00
Albert Astals Cid d1b0e6d68a GIT_SILENT Upgrade KDE Applications version to 17.08.1. 2017-09-02 11:32:08 +02:00
Albert Astals Cid 56849e7092 GIT_SILENT Upgrade KDE Applications version to 17.08.0. 2017-08-08 20:19:03 +02:00
Christoph Feck 2df84c4cb4 GIT_SILENT Upgrade KDE Applications version to 17.07.90. 2017-07-31 01:56:45 +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