Albert Astals Cid
be793983eb
Increase version number
2015-07-21 19:36:25 +02:00
Jan Kundrát
abd30fb774
s/auto_ptr/unique_ptr/
...
The old auto_ptr was used for simple RAII. None of the auto_ptr flaws
were apparent in that context, but given that that class is actively
deprecated and that compilers warn about its use, it's better to switch
to its drop-in replacement.
My reason for not using QScopedPointer is that the C++11 version works
well enough, Okular is being built in C++11 mode anyway, unique_ptr
works on the KF5-minimal-mandated-compilers according to their docs, and
therefore there's no point in using something with a different API
(QScopedPointer) just because its name begins with a Q.
REVIEW: 124027
2015-07-20 16:14:01 +02:00
Saheb Preet Singh
19e4a9abd6
refreshing pixmaps in the correct order
2015-07-12 21:22:33 +05:30
Albert Astals Cid
3e77904f31
Compile++
2015-07-10 00:15:40 +02:00
Albert Astals Cid
b088001a7c
Increase the per request limit from ~80M to ~800M
...
Unless you're in greedy mode that we won't protect you from yourself :D
CCMAIL: 349863
2015-07-10 00:04:42 +02:00
Saheb Preet Singh
455a381f39
fixed the license in new files
2015-05-29 09:54:06 +05:30
Saheb Preet Singh
bf673495fb
added layers on the left sidebar
2015-05-27 19:26:56 +05:30
Alex Richardson
c2fc0199b8
Use KPluginFactory::createInstance<Okular::Generator>()
...
Now that all generators have the necessary Q_INTERFACES() it works again
This restores the behaviour from before commit e4a4d400c3
REVIEW: 123466
2015-05-22 16:33:09 +01:00
Albert Astals Cid
3f55cc1e90
Try to fix Mac/clang build
2015-05-22 05:53:43 +02:00
Albert Astals Cid
146c6d85bb
Merge remote-tracking branch 'origin/Applications/15.04'
2015-05-14 00:59:48 +02:00
Jonathan Doman
223092aa0e
Fix embed mode detection
...
Wow, I have no idea how this happened. I wrote an big test case and spent a lot of time playing with tabs. Stephan Binner even told me about this a month ago, but I didn't quite understand the problem...
Broken embed mode detection means that the tabbed interface is disabled. It actually made it into release... ugh
REVIEW: 123680
2015-05-14 00:58:48 +02:00
Albert Astals Cid
cb9aa1559d
0.22.1
...
For Applications 15.04.1
SVN_SILENT
2015-05-02 14:49:49 +02: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
cfc82ee9b0
Be explicit about the target dependencies
2015-04-14 20:04:26 +01:00
Albert Astals Cid
8f854256ef
And forgot to increase this one ^_^
...
GIT_SILENT
2015-04-07 22:37:49 +02:00
Albert Astals Cid
bf203fd1a9
Prepare for the KDE Applications 15.04.0 release
...
GIT_SILENT
2015-04-07 22:37:13 +02:00
Albert Astals Cid
c11c734caf
RC version
2015-03-25 23:02:26 +01:00
Montel Laurent
5d727ee965
Fix includes
2015-03-20 08:55:32 +01:00
Albert Astals Cid
bb00a153e6
Update for 15.04 Beta 3
...
SVN_SILENT
2015-03-18 23:53:47 +01:00
Montel Laurent
d780d15ea9
Merge remote-tracking branch 'origin/master' into frameworks
...
Conflicts:
autotests/mainshelltest.cpp
part.cpp
part.h
shell/shell.cpp
2015-03-17 08:47:52 +01:00
Albert Astals Cid
a77bbac299
Fix typo
2015-03-14 16:10:09 +01:00
Montel Laurent
c50c3d5332
kdelibs4support--
2015-03-06 14:00:25 +01:00
Montel Laurent
04943508cf
Merge remote-tracking branch 'origin/master' into frameworks
...
Conflicts:
core/document.cpp
core/version.h
2015-03-04 07:55:32 +01:00
Albert Astals Cid
7e954058d3
Update for the next version in master
2015-03-02 23:39:07 +01:00
Albert Astals Cid
50116cf59f
Update for 15.04 Beta 1
...
SVN_SILENT
2015-03-02 23:38:06 +01:00
Andreas Hartmetz
f847d716a0
Fix build with Qt 5.5 branch.
...
Is Qt even allowed to remove accidental includes and / or forward
declarations?
2015-03-02 13:09:27 +01:00
Albert Astals Cid
5a3d77a81b
Compile++
...
I've no idea why i need this for it to compile now, but kind of makes sense to follow the
same pattern for all the phonon includes, so unify with the rest of includes in this file
2015-03-01 16:02:52 +01:00
Albert Astals Cid
5275d1271f
Justity the hack don't feel like breaking/expanding the API now
2015-02-09 22:25:09 +01:00
Albert Astals Cid
93491b4fd3
Merge remote-tracking branch 'origin/Applications/14.12'
2015-02-09 22:21:57 +01:00
Albert Astals Cid
10a1899058
Hack to restore KWallet support
...
Better fix code-wise will come with an API break in master
BUGS: 339170
2015-02-09 22:03:44 +01:00
Montel Laurent
c4f224f1e8
Port to new connect api
2015-01-30 22:06:53 +01:00
Lukáš Tinkl
e9ae1d99af
port away from KLocale
2015-01-29 21:48:47 +01:00
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
2015-01-29 20:55:57 +01:00
Albert Astals Cid
4ad7da97da
Prepare for 0.21.2
...
SVN_SILENT
2015-01-29 19:52:52 +01:00
Albert Astals Cid
adf39b2ed6
GIT_SILENT Update version for Applications 14.12.1
2015-01-06 12:29:40 +01:00
l10n daemon script
9a3672b255
SVN_SILENT made messages (.desktop file)
2014-12-26 04:18:45 +00:00
l10n daemon script
e6ef3cb64b
SVN_SILENT made messages (.desktop file)
2014-12-25 04:05:24 +00:00
Albert Astals Cid
da82ce77bc
Prepare for Applications 14.12 release
2014-12-09 19:31:52 +01:00
Albert Astals Cid
31f194cc5f
Prepare for Applications 14.12 RC
2014-11-26 00:02:15 +01:00
Albert Astals Cid
0ef618540d
Beta 3 version
2014-11-19 18:45:09 +01:00
Albert Astals Cid
d927eb2f3a
Increase version
2014-11-12 23:40:59 +01:00
Albert Astals Cid
f15bdf1b30
This is not 0.21.60
2014-11-05 23:51:40 +01:00
Albert Astals Cid
a1e3e8ed5d
Forgot to increase this
2014-11-05 23:50:49 +01:00
Albert Astals Cid
4985168ede
Increase version
2014-11-05 23:49:44 +01:00
Montel Laurent
5da7c5f77d
port to qCDebug. Autogenerate export headers
2014-10-27 22:35:06 +01:00
Montel Laurent
4ee83e6a77
Fix includes
2014-10-14 07:37:01 +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
e8fd56f3ba
Fixup last commit
...
Somehow i ended up commiting a partial patch and not what was in reviewboard, this amends the previous commit to be what i really wanted to commit
Sorry for the mess :/
2014-10-09 00:53:54 +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
17b7049c69
Fix includes
2014-10-08 13:48:01 +02:00
Montel Laurent
3b4ee788b8
Fix includes
2014-10-08 13:37:04 +02:00
Montel Laurent
d3a3b2df25
Fix includes
2014-10-07 23:04:36 +02:00
Montel Laurent
08013f87d0
Port to QStandardPaths
2014-10-07 13:21:58 +02:00
Arnold Dumas
d852a7bee0
Use new Q_OS_* macros.
2014-10-06 20:02:48 +02:00
Montel Laurent
26fc592e7d
Fix includes
2014-10-06 08:31:17 +02:00
Montel Laurent
5557598b47
Port to QDialog
2014-10-06 07:39:24 +02:00
Montel Laurent
d386ea257e
Port to new connect api
2014-10-01 14:02:01 +02:00
Montel Laurent
378f6847a2
Remove some deprecated kdelibs4support
2014-10-01 07:27:09 +02:00
Arnold Dumas
f8f90b15b3
Port away from KGlobal::caption().
2014-09-26 20:04:00 +02:00
Raymond Wooninck
f4badbc117
Port the aboutData to the new methods. Next would be to bring back
...
to About Backend dialog
2014-09-18 22:17:10 +02:00
Frederik Gladhorn
3581fb6245
Port to QTemporaryFile
2014-09-18 00:30:39 +02:00
Frederik Gladhorn
dad6936896
Bring back the txt generator
2014-09-17 23:52:52 +02:00
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
2014-09-16 23:38:25 +02:00
Frederik Gladhorn
9d89739972
Use categorized logging
2014-09-16 23:24:36 +02:00
Frederik Gladhorn
e28dbc6c00
Port to QMime
...
compressedMimeFor now already does the inheritance check, so another
check was removed.
2014-09-11 16:32:43 +02:00
Frederik Gladhorn
83d3f1f6b7
Revert "Some more kDebug->qDebug"
...
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.
This reverts commit 34fbdf8c85
.
2014-09-11 02:03:46 +02:00
Frederik Gladhorn
34fbdf8c85
Some more kDebug->qDebug
2014-09-09 18:17:36 +02:00
Albert Astals Cid
4335b6e509
douc++
2014-09-09 11:44:33 +02:00
Frederik Gladhorn
b79e706e56
Merge remote-tracking branch 'origin/master' into frameworks
...
Conflicts:
generators/dvi/generator_dvi.cpp
generators/ooo/generator_ooo.cpp
part.cpp
shell/main.cpp
shell/shell.cpp
shell/shell.h
shell/shellutils.h
tests/CMakeLists.txt
ui/propertiesdialog.cpp
2014-08-14 13:35:43 +02:00
Albert Astals Cid
f76184cb55
Revert e96dabc467
...
Diggory i think there was a misunderstanding in our discussion
The patch is unfinished (not goot to commit with a TODO)
and needs to be improved (need to find a way to not break ABI, QSize param should be const &) please
open a reviewrequest and we can discuss/finalize it there.
CCMAIL: diggory.hardy@unibas.ch
2014-08-13 21:07:32 +02:00
Diggory Hardy
e96dabc467
Fix font size on high-DPI displays in ePub documents (but makes images small)
2014-08-13 18:54:30 +02:00
Vishesh Handa
46cf7e46a5
Port away from KUrl::List
2014-08-13 13:07:44 +02:00
Vishesh Handa
e038950f50
KIcon -> QIcon
2014-08-13 11:54:49 +02:00
Vishesh Handa
fb330dd45c
Port the EPubGenerator
2014-08-13 11:42:09 +02:00
Vishesh Handa
e4a4d400c3
Port the poppler generator
2014-08-13 11:16:28 +02:00
Albert Astals Cid
e9e3d4a435
Make documentInfo be Hash based instead of XML based
2014-08-10 22:38:13 +02:00
Frederik Gladhorn
ac15a7075e
More QUrl porting
2014-08-10 20:36:41 +02:00
Frederik Gladhorn
a2f6a136b2
Fix some typos
2014-08-10 19:27:31 +02:00
Frederik Gladhorn
0c7a45c7a5
Disable lots of stuff and compile
...
The text generator is the only one compiled now.
This version links for me but then doesn't find its KPart on startup.
TTS has been completely disabled as well as some other things like the
about dialog.
2014-08-10 14:42:54 +02:00
Frederik Gladhorn
96b0e27c44
QAction, more includes fixed
2014-08-10 01:08:54 +02:00
Frederik Gladhorn
51e5589e71
Phonon fix, good bye klocalsocket
2014-08-09 21:29:06 +02:00
Albert Astals Cid
efbde66009
Port to new threadweaver
...
Not sure it works at all, but at least it compiles ^_^
2014-08-09 20:44:25 +02:00
Frederik Gladhorn
643026fa65
Disable plugins for now
2014-08-09 16:16:32 +02:00
Frederik Gladhorn
a3fb02b881
Some more linking KF5
2014-08-09 16:16:32 +02:00
Frederik Gladhorn
0de101fdde
Bump version
2014-08-09 13:38:32 +02:00
Frederik Gladhorn
c7e003d7bc
Port to QCommandLineParser
2014-08-09 13:27:12 +02:00
Frederik Gladhorn
7a9036ec2b
Fix wrong usage of pragma
2014-08-09 13:23:35 +02:00
Frederik Gladhorn
e638e59c15
Fix bug: when opening look at available mime types
...
This code used to look at the reference count of the pointer, not the
number of available mime types as was intended.
CCMAIL: aacid@kde.org
2014-08-09 00:53:03 +02:00
Frederik Gladhorn
9eec8ece73
Disable dynamic translation loading
2014-08-09 00:52:15 +02:00
Frederik Gladhorn
935a3fdcf8
Fix wrong namespace for settings
2014-08-09 00:37:02 +02:00
Frederik Gladhorn
4efd432537
Disable PostScript printing
2014-08-09 00:26:26 +02:00
Frederik Gladhorn
0ba233788c
Use moc include style dictated by automoc
...
While it's generally not a great idea to include moc files at least this
compiles.
2014-08-09 00:21:03 +02:00
Frederik Gladhorn
4f196da176
Include more kde4support
2014-08-08 23:48:20 +02:00
Albert Astals Cid
a170e35ca8
Merge remote-tracking branch 'origin/KDE/4.14'
2014-08-08 22:42:12 +02:00
Albert Astals Cid
61c830cb7a
Pass the command line options properly when using tabs or unique instances
...
Use a QString to serialize the command line options other than urls to open so it can be easily passed around to every place that opens a new shell or tab or overrides the content in a unique instance.
BUGS: 334100
FIXED-IN: 4.14.0
REVIEW: 119595
2014-08-08 22:35:53 +02:00
Frederik Gladhorn
d16ac66ab3
Fix some QUrl usage
2014-08-08 02:00:17 +02:00
Frederik Gladhorn
75031eee7e
Fix includes
2014-08-08 01:59:55 +02:00
Frederik Gladhorn
fdf223494d
Fix moc includes
2014-08-08 01:25:43 +02:00
Albert Astals Cid
35a3f23709
Merge remote-tracking branch 'origin/KDE/4.14'
2014-08-01 01:29:01 +02:00
Albert Astals Cid
b7af929e5e
Fix sporadic crash when running parttest
...
We use
m_pageController
as guard for closing down instead of
d->m_generator || d->m_closingLoop
since m_pageController is the first thing we set to 0 on closeDocument
2014-08-01 01:27:27 +02:00
Albert Astals Cid
d30861fb1a
Prepare for 4.14 RC
2014-07-30 19:32:33 +02:00
l10n daemon script
896de56ef0
SVN_SILENT made messages (.desktop file)
2014-07-25 05:38:42 +00:00
l10n daemon script
1b5cbbea59
SVN_SILENT made messages (.desktop file)
2014-07-24 04:51:37 +00:00
Albert Astals Cid
11ec9723e8
Merge remote-tracking branch 'origin/KDE/4.14'
...
Conflicts:
VERSION
core/version.h
2014-07-21 23:49:33 +02:00
Albert Astals Cid
60bcd3975d
Prepare for 4.14 Beta 3
2014-07-21 23:48:44 +02:00
Albert Astals Cid
39de55eebf
If the dpi calculations don't give a reasonably square pixel fallback to other methods
...
BUGS: 336018
FIXED-IN: 4.14.0
2014-07-20 22:30:49 +02:00
Albert Astals Cid
f8cb4789fc
Merge remote-tracking branch 'origin/KDE/4.14'
2014-07-17 01:55:12 +02:00
Albert Astals Cid
5002b26ed3
Some more debug
2014-07-17 01:54:54 +02:00
Albert Astals Cid
d928c3d6ca
Prepare for 4.14 Beta 2
2014-07-15 23:10:37 +02:00
Albert Astals Cid
e07a7395d6
Merge remote-tracking branch 'origin/KDE/4.14'
2014-07-10 22:38:29 +02:00
Albert Astals Cid
d0349e1f66
Merge remote-tracking branch 'origin/KDE/4.13' into KDE/4.14
2014-07-10 22:38:00 +02:00
Vadim Zhukov
846e746aa3
Fix compilation on OpenBSD/i386
...
REVIEW: 118950
2014-07-10 22:37:30 +02:00
Albert Astals Cid
88d99245b0
This is now 0.20.60 for KDE Applications 14.12 release
2014-07-09 01:41:20 +02:00
Albert Astals Cid
1932d3981b
Merge remote-tracking branch 'origin/KDE/4.13' into KDE/4.14
...
And prepare for 4.14 beta 1
Conflicts:
VERSION
active/app/package/metadata.desktop
core/version.h
2014-07-09 01:40:18 +02:00
Albert Astals Cid
478b41c365
Prepare for 4.13.3
2014-07-09 01:39:09 +02:00
Albert Astals Cid
15241c25ef
Prepare for 4.13.2
2014-06-04 23:42:42 +02:00
Albert Astals Cid
268aa603eb
Merge remote-tracking branch 'origin/KDE/4.13'
2014-05-15 20:18:50 +02:00
Albert Astals Cid
48b711002e
Some more debug around this dpi stuff
2014-05-15 20:18:22 +02:00
Fabio D'Urso
3827df7dad
Added missing emit keyords in core/documentcommands.cpp
2014-05-11 13:51:57 +02:00
Albert Astals Cid
86dd9e8801
Move the ooo wallet code to use the part.cpp one
...
Less widgets in generators/core \o/
2014-05-10 15:54:03 +02:00
Fabio D'Urso
cebe8d6509
Merge remote-tracking branch 'origin/KDE/4.13'
2014-05-10 11:48:59 +02:00
Fabio D'Urso
f7ec9df0af
Don't leak temporary unpacked metadata files extracted from .okular files
2014-05-10 11:37:50 +02:00
Albert Astals Cid
7b7fef0bea
Move the messagebox about continuing search from core to ui
2014-05-10 11:33:21 +02:00
Albert Astals Cid
e759c94224
let's call it searchid, goes for better searching :)
2014-05-10 10:27:59 +02:00
Albert Astals Cid
4c553ac87f
small docu fix
2014-05-10 10:26:30 +02:00
Albert Astals Cid
c8697989a1
Do not duplicate the noDialogs storage in two structs
2014-05-10 10:09:38 +02:00
Albert Astals Cid
3c3d4373ab
Do not reset the search if it's a different search id
...
Doesn't make any sense, why would we want a "running searches map" if we
always reset the previous one?
BUGS: 334568
FIXED-IN: 4.13.2
2014-05-10 10:07:23 +02:00
Albert Astals Cid
6bf6b14f3c
Do not reset the search if it's a different search id
...
Doesn't make any sense, why would we want a "running searches map" if we
always reset the previous one?
BUGS: 334568
FIXED-IN: 4.13.2
2014-05-10 10:04:47 +02:00
Fabio D'Urso
e514ddbf78
Added @since markers
2014-05-10 00:56:57 +02:00
Albert Astals Cid
630d3a8a5f
Simplify search parameter passing
2014-05-10 00:49:01 +02:00
Albert Astals Cid
b92f5b5188
remove old ifdefs, it's cool how we are now :)
2014-05-09 23:04:43 +02:00
Albert Astals Cid
e93d5bda01
Move KWallet code from pdf backend to ui
...
This helps with the widget dependency removal in the core/backends
2014-05-09 19:58:43 +02:00
Albert Astals Cid
0c7791e87f
Prepare for 4.13.1
2014-05-04 19:43:44 +02:00
Albert Astals Cid
60b7932c55
Merge remote-tracking branch 'origin/KDE/4.13'
2014-05-02 00:42:11 +02:00
Eugene Shalygin
88725241b8
Make sure edid and xrand sizes match before using them to calculate DPI
...
BUGS: 333456
2014-05-02 00:41:06 +02:00
Albert Astals Cid
b3962b868e
Merge remote-tracking branch 'origin/KDE/4.13'
2014-05-01 13:29:27 +02:00
Albert Astals Cid
9252044c0c
KScreen::Config::current can return null
2014-05-01 13:27:19 +02:00
Albert Astals Cid
2c7baf1a9a
Prepere for 4.13.0
2014-04-09 23:35:23 +02:00
Albert Astals Cid
0c2aa70aca
Merge remote-tracking branch 'origin/KDE/4.13'
2014-04-02 23:44:22 +01:00
Albert Astals Cid
a7f3a1ac37
Protect us against broken drivers/screens
...
Some drivers screens return 0x0 as their screen size so we can't use it
to calculate the dpi
BUGS: 332746
BUGS: 332494
FIXED-IN: 4.13.0
2014-04-02 23:43:38 +01:00
Albert Astals Cid
8ee72f3301
Merge remote-tracking branch 'origin/KDE/4.13'
2014-03-31 02:00:25 +02:00
Albert Astals Cid
444f66ac29
Some more output that can be of help
2014-03-31 02:00:09 +02:00
Albert Astals Cid
5f211f5646
Prepare for 4.13 RC
2014-03-25 20:25:17 +01:00
Albert Astals Cid
74d97571c3
Prepare for 4.12.4
2014-03-25 20:24:07 +01:00
Albert Astals Cid
6041d1fcd2
prepare for Beta3
2014-03-17 22:25:03 +01:00
Albert Astals Cid
d175d829f2
Merge remote-tracking branch 'origin/KDE/4.13'
2014-03-12 23:08:04 +01:00
Christoph Feck
60cc5dc98e
TextDocumentGenerator: Use black as default text color
...
REVIEW: 111681
BUGS: 253583
BUGS: 322547
FIXED-IN: 4.12.90
2014-03-12 23:01:42 +01:00
Albert Astals Cid
83c75c7d04
Prepare for 4.13 Beta 2
2014-03-11 19:48:44 +01:00
Albert Astals Cid
397557e458
Prepare for 4.13 Beta 1
2014-03-06 00:34:26 +01:00
Montel Laurent
5e16604fb3
Merge remote-tracking branch 'origin/KDE/4.13'
2014-03-02 14:00:25 +01:00