Commit graph

230 commits

Author SHA1 Message Date
Alex Richardson 2f9246ae42 Port to new JSON plugin loading system
This means Okular can now work without ksycoca and KDELibs4Support.

REVIEW: 126193
2016-01-04 15:59:07 +01:00
Michel Ludwig b939800fb7 Add logging categories file for kdebugsettings
REVIEW: 126589
2016-01-03 09:13:06 +01:00
Gleb Popov 0928298a74 Build okularpart as SHARED library when using MSVC, as using MODULE causes errors when linking to okularpart.dll.
REVIEW: 125792
2015-12-16 01:23:08 +01:00
Albert Astals Cid 8445660539 Merge remote-tracking branch 'origin/master' into frameworks 2015-10-18 22:29:00 +02:00
Albert Astals Cid d52a07c9d2 Merge remote-tracking branch 'origin/gsoc2015_layer_feature' 2015-09-16 22:54:42 +02:00
Montel Laurent c3decc55f7 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	CMakeLists.txt
	ui/pageview.cpp
2015-08-27 23:04:28 +02:00
Albert Astals Cid 21dfb2127f See if this gives us coverage support 2015-08-27 00:05:06 +02:00
Albert Astals Cid d8f9800d28 Make the drawing tools be actions instead of tool buttons
3 benefits:
 * We can set the shortcut in the edit shortcuts dialog as before
 * Shortcuts can be activated without showing the topbar as before
 * Drawing in the toppbar is exactly as the other actions
2015-08-22 22:17:40 +02:00
Tobias Koenig 81f80ac3a4 Implement drawing quick selection tool for presentation mode
REVIEW: 124687
2015-08-22 22:17:40 +02:00
Alex Richardson 22b6d4551d Remove copy of qpagesize.cpp
No longer needed with Qt5
2015-08-15 19:28:06 +01:00
Marco Martin 5ba5e2189c rename from active to mobile 2015-08-05 16:54:48 +02:00
Albert Astals Cid c05f26c204 Revert needless KF5 dep increase
Laurent it'd be really great if you did read the emails i send you :)

CCMAIL: montel@kde.org
2015-08-05 00:27:36 +02:00
Marco Martin 2533561418 uncomment add_subdirectory(doc)
was disabled by mistake
2015-08-03 14:34:06 +02:00
Marco Martin f3698b6d69 port away from ViewSearch 2015-08-03 14:23:38 +02:00
Montel Laurent adde882203 increase version 2015-08-03 10:08:47 +02:00
Montel Laurent 49ce3fc4d2 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	core/version.h
2015-08-03 09:44:50 +02:00
Albert Astals Cid dafd8f6972 Bring QPageSize from Qt5
Allows us to not use a dummy printer for knowing page size
Which is nice since it won't block because Qt4 QPrinter is a bit weird sometimes

BUGS: 334708
FIXED-IN: KDE Applications 15.08
2015-07-30 12:45:55 +02:00
David Faure 8eb8cfcf1a set cmake_min_req to match kdelibs policy and enable newer cmake policies 2015-07-28 13:27:16 +02:00
Alex Richardson 5ecffc246b Set the CMake target name from Okular::okularcore to Okular::Core
REVIEW: 124381
2015-07-20 14:18:07 +01:00
Alex Richardson f9b90348ec Make the KF5 okular library coinstallable with the KDE4 version
The KF5 based library has been renamed to libOkular5Core.so so that
both can coexist in /usr/lib(64)

REVIEW: 124381
2015-07-20 14:18:03 +01:00
Alex Richardson ed352a06fb Install Okular5Config.cmake instead of OkularConfig.cmake
Otherwise Qt4 projects that have a find_package(Okular) can break
because CMake then selects moc from Qt5 which won't work

REVIEW: 124381
2015-07-20 14:17:38 +01:00
Saheb Preet Singh 8f5fecfd5b Revert "added layer-visible-on and layer-visible-off icon instead of checkboxes"
This reverts commit 288d3e4c1b.
2015-07-12 17:02:34 +05:30
Saheb Preet Singh 288d3e4c1b added layer-visible-on and layer-visible-off icon instead of checkboxes 2015-06-30 14:47:57 +05:30
Saheb Preet Singh bf673495fb added layers on the left sidebar 2015-05-27 19:26:56 +05:30
Alex Richardson dcf4d93abb Fix the export header not being found in interfaces/*.h
REVIEW: 123363
2015-04-16 00:54:32 +01:00
Andreas Cord-Landwehr ac258e49f1 Use generated version and CMake config files.
Replace both the package version file by a generated file, as well as
OkularConfig.cmake package configuration file.

Note that with this change the compatibility CMake variable OKULAR_FOUND
is not set anymore, use Okular_FOUND instead.

REVIEW: 123314
2015-04-15 21:55:35 +02:00
Alex Richardson 4a1c199e8e Remove unneeded target_include_directories() 2015-04-15 15:01:57 +01:00
Alex Richardson 475be2073a Fix INTERFACE_INCLUDE_DIRECTORIES for okularcore library 2015-04-15 14:56:37 +01:00
Alex Richardson cfc82ee9b0 Be explicit about the target dependencies 2015-04-14 20:04:26 +01:00
Montel Laurent 5e984303a4 Use new KDE_ macro 2015-03-04 07:52:20 +01:00
Montel Laurent 90b2f6c62c Fix install icons 2015-03-01 10:57:10 +01:00
Jeremy Whiting 61554c833e Reenabled text to speech using QtSpeech as an optional dependency.
If QtSpeech (dev branch) is built and installed this builds and works
very well.
REVIEW:122553
2015-02-23 12:24:44 -07:00
Lukáš Tinkl dc06e72657 fix build and an unintended KScreen change 2015-01-29 21:52:31 +01:00
Lukáš Tinkl fd6a35486e port KUrl -> QUrl 2015-01-29 20:55:57 +01:00
Montel Laurent bb02e208d2 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	CMakeLists.txt
2014-12-28 10:38:34 +01:00
Albert Astals Cid da82ce77bc Prepare for Applications 14.12 release 2014-12-09 19:31:52 +01:00
Marco Martin 3d50fec102 initial port of QML components to QtQuick2
this is an initial port of the qml component set of okular to qtquick2

it's straightforward, except pageitem that right now is a qquickpainteditem, that works fine, but a bit slower than generating and uploading the textures by hand (that may be an eventual future port)

the okular active application is still missing, but the components can be used from anywhere in qml
REVIEW:121326
2014-12-02 20:41:16 +01:00
Hrvoje Senjan 6924fa4ef0 Fix make install 2014-10-28 11:04:01 +01:00
Montel Laurent 5da7c5f77d port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
Montel Laurent 5eea4fd073 Rename to autotests 2014-10-19 18:21:07 +02:00
Montel Laurent 17a55c6dab Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	CMakeLists.txt
	core/document.cpp
	generators/poppler/CMakeLists.txt
	generators/poppler/generator_pdf.cpp
	generators/poppler/generator_pdf.h
2014-10-09 07:34:35 +02:00
Albert Astals Cid d95efa7698 Move synctex up to the core from poppler generator
This way dvi and any other potential user gets it for free

The diff is huge, but the synctex files are just moves.

And the code in core/ is also mostly just a move from the generator_pdf.cpp code

Acked by Luigi

REVIEW: 120311
2014-10-09 00:17:53 +02:00
Montel Laurent 67614e453f Minor 2014-10-06 08:58:55 +02:00
Montel Laurent 9cc0f6bc39 Increase ecm version 2014-10-01 07:22:07 +02:00
Frederik Gladhorn 9d89739972 Use categorized logging 2014-09-16 23:24:36 +02:00
Lukáš Tinkl c5819eec4d set translation domain 2014-09-10 22:30:50 +02:00
Fabio D'Urso 1fc4c747a6 Fix another rc install dir 2014-08-23 21:48:51 +02:00
Arnold Dumas 4298b6ebd5 Reenable doc generation.
REVIEW: 119804
2014-08-16 16:43:46 +02:00
Vishesh Handa a2e353d3cb kde4_add_ui_files -> ki18n_wrap_ui 2014-08-13 11:26:37 +02:00
Vishesh Handa 2bfa3ccff0 Port the CHM generator
Would be nice if I had some CHM files to test this on.
2014-08-13 11:24:15 +02:00