Laurent Montel
9f90e14dd1
Fix forward declaration
7 years ago
Laurent Montel
cb691f70dc
Fix some clazy warning
...
Summary: fix clazy warning
Reviewers: aacid
Reviewed By: aacid
Subscribers: nicolasfella, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D20832
7 years ago
Stefan Brüns
eb41001e0e
[EPubGenerator] Avoid pointless scans of the whole document
...
Summary:
The "<video></video>" tag is a placeholder, and should only be processed
when it has been inserted for this toc item, i.e. when movieAnnots is
non-empty. Also place the search cursor at the last inserted block,
otherwise the expression will search from the beginning of the document.
Do likewise for audio/soundActions.
This makes loading large documents much fasters, and even fixes crashing
on huge documents, e.g. from project Gutenberg "The Complete Works of
William Shakespeare" (3200 pages) or the "King James Bible" (1400 pages).
Test Plan: open a large EPub file (see above)
Reviewers: #okular, aacid
Reviewed By: #okular, aacid
Subscribers: aacid, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D20948
7 years ago
Stefan Brüns
9f98c01069
[EPubGenerator] Avoid crashes due to bogus wrapping of content in table
...
Summary:
QTextDocument chokes badly when a some documents are wrapped inside
a table, returning e.g. a pagecount of -41292 afterwards.
On the downside, this removes any padding from the page. On the upside,
it removes any padding from the page.
BUG: 406738
BUG: 407140
CCBUG: 406116
Reviewers: #okular
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D20949
7 years ago
Stefan Brüns
eb1e796449
[EPubGenerator] Use proper UserResource enum value for custom resource
...
Summary:
QTextDocument::ResourceType uses values 0 through 3, and provides
UserResource = 100 for custom types. Avoid possible future clashes.
Reviewers: #okular
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D20950
7 years ago
l10n daemon script
a7742d4604
GIT_SILENT made messages (after extraction)
7 years ago
Stefan Brüns
43cf8c8aef
[EPubGenerator] Fetch the application palette just once
...
Summary:
There is no reason to fetch the palette once per loop,
just do it once
Reviewers: #okular, ngraham
Reviewed By: ngraham
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D20947
7 years ago
Stefan Brüns
f7fbbf769b
[EPubGenerator] Reduce nesting level in loop
...
Summary:
The loop body is skipped when `epub_it_get_curr(it)` is invalid.
Make it more obvious there is no more code executed in this case.
Test Plan: no functional changes
Reviewers: #okular, ngraham
Reviewed By: ngraham
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D20946
7 years ago
l10n daemon script
aaa176041d
GIT_SILENT made messages (after extraction)
7 years ago
l10n daemon script
5e01eff352
GIT_SILENT made messages (after extraction)
7 years ago
l10n daemon script
241bc6525a
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"
7 years ago
l10n daemon script
33a5f67eb2
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
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"
8 years ago
l10n daemon script
96f4f27ba6
GIT_SILENT made messages (after extraction)
8 years ago
Yuri Chornoivan
39b6e8147d
Fix minor EBN issues
8 years ago
Yuri Chornoivan
c04ca1fa96
Fix minor EBN issues
8 years ago
Gilbert Assaf
fcf148b75b
Fixes url whitespaces in epub documents
...
Summary:
libepub can't handle whitespace url encodings. This is why epub documents containing whitespaces urls aren't
displayed correctly. Since libepub doesn't seem to be maintained anymore, it might be better to fix this issue here.
BUG: 334711
Test Plan: Example epubs are in the ticket.
Reviewers: #okular, aacid
Reviewed By: #okular, aacid
Subscribers: ngraham, aacid, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D14310
8 years ago
l10n daemon script
d85fe1df64
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
bae0e13719
GIT_SILENT made messages (after extraction)
8 years ago
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"
8 years ago
l10n daemon script
5f93a0b90e
GIT_SILENT made messages (after extraction)
8 years ago
Gilbert Assaf
57be655c15
Improve picture scaling issues in epub generator
...
CCBUG: 391625
Test Plan: I tested the file mentioned in the bug report. Pictures look less blurry
Reviewers: #okular
Subscribers: ngraham, aacid, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D13766
8 years ago
l10n daemon script
c4570f7e40
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
2e73a6d76f
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
879a46ac55
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
b7c733f459
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
ee57925c57
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
26c40ab7bd
GIT_SILENT made messages (after extraction)
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
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
1883a06614
GIT_SILENT made messages (after extraction)
9 years ago
l10n daemon script
e7702e0a8c
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"
9 years ago
l10n daemon script
0ac3f27a9e
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"
9 years ago
l10n daemon script
76a4ad6323
GIT_SILENT made messages (after extraction)
9 years ago
l10n daemon script
72abe6f85a
GIT_SILENT made messages (after extraction)
9 years ago
Albert Astals Cid
9a25ea41dc
Fix warning about TRANSLATION_DOMAIN being defined twice
9 years ago
Luigi Toscano
e858ecdd7c
Fix translations: add translation domain for generators
...
Generators are libraries, so define the proper TRANSLATION_DOMAIN
for each for them.
Thanks Albert for spotting this.
9 years ago
l10n daemon script
3349c9fff7
GIT_SILENT made messages (after extraction)
9 years ago
l10n daemon script
3422520a5c
GIT_SILENT made messages (after extraction)
9 years ago
l10n daemon script
0b85b7c138
GIT_SILENT made messages (after extraction)
9 years ago
l10n daemon script
e279e26b40
GIT_SILENT made messages (after extraction)
9 years ago
l10n daemon script
36c60741fb
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"
9 years ago
l10n daemon script
19406fdf57
GIT_SILENT made messages (after extraction)
9 years ago
l10n daemon script
451bb151c2
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"
9 years ago
l10n daemon script
5af987dac0
GIT_SILENT made messages (after extraction)
9 years ago
l10n daemon script
bb8c12d1eb
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"
9 years ago