Sune Vuorela
3e48663fb7
Use a target in FindDiscount (modern cmake) rather than variables
...
Test Plan: Things still builds
Reviewers: kde-buildsystem, apol
Reviewed By: apol
Subscribers: apol, aacid, #okular
Tags: #okular
Differential Revision: https://phabricator.kde.org/D12672
8 years ago
l10n daemon script
ee57925c57
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
26c40ab7bd
GIT_SILENT made messages (after extraction)
8 years ago
Sune Vuorela
13bdb97084
Don't crash if fopen fails
...
Summary:
If we have a qrc url, all checks so far fails, and this one returns null.
It might also be possible to get here in some race condition.
Reviewers: aacid
Reviewed By: aacid
Subscribers: #okular
Tags: #okular
Differential Revision: https://phabricator.kde.org/D12643
8 years ago
Andre Heinecke
1de0f5465b
Add support for chained / next actions
...
Summary:
This adds support for multiple actions following each
other through the "Next" value of Action dictionaries.
Test Plan: Activates the corresponding part of the visibilitytest.
Reviewers: #okular
Subscribers: sander, aacid
Tags: #okular
Maniphest Tasks: T8278
Differential Revision: https://phabricator.kde.org/D11609
8 years ago
Andre Heinecke
bf90867c13
Add support for dynamic visibility
...
Summary:
This adds the hidden property to JavaScript fields and
uses it to implement support for HideAction.
Test Plan: Unit test in the next commit.
Reviewers: #okular
Subscribers: aacid
Tags: #okular
Maniphest Tasks: T8274
Differential Revision: https://phabricator.kde.org/D11596
8 years ago
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
8 years ago
Aleix Pol
52b62306f8
Also don't use KPty code for Android
...
Changed the defines to something more explicit of what's going on.
8 years ago
Aleix Pol
c8b0677a25
Remove unneeded dependencies
8 years ago
Albert Astals Cid
5ea455fe68
xps: fix file font unloading
...
Don't unload all fonts, only the ones this file loaded
8 years ago
Albert Astals Cid
985e06a2f5
Fix crash in some more xps files
...
Some more tweaks to path resolving.
Don't prepend a / in entryPath if path already starts with /
Fonts can also have relative paths, so use the absolutePath before
calling getFontByName
BUGS: 392826
8 years ago
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
8 years ago
Andre Heinecke
6897e042df
Add support to set read only from scripts
...
Summary:
This makes it possible to set the read only state from
scripts. Requires Poppler master with the patch attached to the parent task.
Reviewers: #okular
Subscribers: aacid
Tags: #okular
Maniphest Tasks: T8097
Differential Revision: https://phabricator.kde.org/D10867
8 years ago
Albert Astals Cid
adfb3cc2d6
Add detection for poppler 0.64
8 years ago
Laurent Montel
43432f2aba
Add Qt5::Network
8 years ago
l10n daemon script
13e719b300
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
b9bc49fb84
GIT_SILENT made messages (after extraction)
8 years ago
Abdel-Rahman Abdel-Rahman
ce7fa7b9d8
Fictionbook: Add support for code, superscript, & subscript tags
...
Summary: BUG: 387426
Test Plan: Open a book with the code, superscript, & subscript tags. Verify that the code is visible in a mono-space font, & superscripts & subscripts are formatted appropriately.
Reviewers: #okular, aacid
Reviewed By: #okular, aacid
Subscribers: aacid, cfeck, ngraham
Tags: #okular
Differential Revision: https://phabricator.kde.org/D10566
8 years ago
Albert Astals Cid
83374b97df
PDF: Fix potential crash
...
Probably doesn't happen often but pdfdoc usage also needs to be protected by the mutex
8 years ago
Albert Astals Cid
42d4710198
XPS: Fix crash opening some files
...
Yet another QUrl porting mistake, i think this time is the correct one,
at least i can open all the 6 xps files i have
BUGS: 390355
8 years ago
l10n daemon script
b9a392d6b8
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"
8 years ago
l10n daemon script
d82ca473d5
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
0d38577b4a
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"
8 years ago
l10n daemon script
37a30f5851
GIT_SILENT made messages (after extraction)
8 years ago
Albert Astals Cid
2d8b2c7e95
Add support for cancellable image rendering and text extraction
...
Summary:
Only supported by the pdf backend if using poppler >= 0.63
Sadly had to change the generator API
Text cancellation is a bit wobbly still since poppler has large parts
of the code where doesn't check for the cancellation flag, but that
is something that will get automagically fixed for us if the poppler
side is improved
Test Plan: Needs https://bugs.freedesktop.org/show_bug.cgi?id=104263
Reviewers: ervin, rkflx
Reviewed By: ervin, rkflx
Subscribers: #okular
Tags: #okular
Differential Revision: https://phabricator.kde.org/D9328
8 years ago
Albert Astals Cid
f656f1b23f
Fix crash on save when we had edited forms
...
We need to store the id locally since we need it to map
"old form" to "new form" after save and at that stage the "old form"
poppler side is gone so we're accessing invalid memory
8 years ago
l10n daemon script
9c6494b353
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"
8 years ago
l10n daemon script
29b1dec92b
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"
8 years ago
l10n daemon script
89caa09be9
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"
8 years ago
l10n daemon script
daaa084476
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"
8 years ago
l10n daemon script
553d69dcef
GIT_SILENT made messages (after extraction)
8 years ago
Albert Astals Cid
dcf544f826
djvu: Fix printing
...
Seems this is a Qt regression? I had to move the tf.fileName() call earlier
because otherwise i was getting an empty string as name
BUGS: 388514
8 years ago
l10n daemon script
2daff2a344
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"
8 years ago
l10n daemon script
f1e2ebbaed
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"
8 years ago
l10n daemon script
6ed35fcca3
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"
8 years ago
l10n daemon script
6ff1864dc2
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"
8 years ago
l10n daemon script
a16d67e85a
GIT_SILENT made messages (after extraction)
8 years ago
David Faure
ee2418be1d
Re-enable -DQT_NO_URL_CAST_FROM_STRING and fix the CHM backend.
8 years ago
l10n daemon script
ad559c5d93
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"
8 years ago
l10n daemon script
f8cf8acd7c
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
c5bb0a0941
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"
8 years ago
l10n daemon script
bbf4bd0bdc
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
78dc6e4d95
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"
8 years ago
l10n daemon script
a321a9ed68
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"
8 years ago
l10n daemon script
066805c550
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"
8 years ago
l10n daemon script
22885c00b0
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
02a4cfb26a
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"
8 years ago
l10n daemon script
0ef249b5a5
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
42650e4f27
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"
8 years ago
l10n daemon script
379edd6757
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"
8 years ago