Commit graph

6489 commits

Author SHA1 Message Date
Albert Astals Cid 5454be6c60 Merge remote-tracking branch 'origin/KDE/4.11' 2013-10-19 19:06:45 +02:00
Albert Astals Cid 5955d97af7 Fix Movie player controls sometimes only show up at the first playing of the movie
BUGS: 326194
FIXED-IN: 4.11.3
2013-10-19 19:05:47 +02:00
Fabio D'Urso cbdd986ef7 Compile^^
The original code worked on 32-bit only, the previous Compile++ patch worked on
64-bit only. Hopefully this will work on both ;)
2013-10-18 17:08:09 +02:00
Albert Astals Cid ed68caae95 Compile++ 2013-10-18 16:43:30 +02:00
Jaan Vajakas dff8bf1b36 Improve searching code
Also simplified code a bit by removing unnecessary calls to toLower in TextPagePrivate::findTextInternalForward and TextPagePrivate::findTextInternalBackward I also fixed a small bug: the letter capital I with dot above (U+0130) did not match itself in case-insensitive mode on Qt 4.8.4 (U+0130 still does not match lowercase i (U+0069), which can be considered another bug, that I didn't fix (although this behavior conforms to the Unicode case folding rules)).

(I did not implement the Knuth-Morris-Pratt algorithm that I promised in a comment of Bug 323263 because on second thought I find that the win, if any, would probably be negligible except for some very special documents and special query strings.)

BUGS: 323262
BUGS: 323263
REVIEW: 112135
2013-10-18 16:30:07 +02:00
Fabio D'Urso ad589985e1 Remove some unused #includes 2013-10-14 20:42:34 +02:00
l10n daemon script c013644aed SVN_SILENT made messages (.desktop file) 2013-10-14 04:17:57 +00:00
Albert Astals Cid 049a3a8fe5 Merge remote-tracking branch 'origin/KDE/4.11'
Conflicts:
	generators/txt/libokularGenerator_txt.desktop
2013-10-13 23:56:10 +02:00
Christoph Feck cfa37065c2 Fix cbr (rar) listing with unrar 5
The new unrar version includes the paths in its "bare listing" (unrar lb), while it still extracts only the filename without the path. Thus, the Unrar::list() function fails. This patch strips the path away.

REVIEW: 113163
BUGS: 325677
FIXED-IN: 4.11.3
2013-10-13 23:54:57 +02:00
Fabio D'Urso a995fdf1b4 Compile 2013-10-12 20:34:23 +02:00
Fabio D'Urso 26c257202d kimgio generator: Apply transformations dictated by Exif metadata
BUG: 322920
FIXED-IN: 4.12.0
REVIEW: 111793
2013-10-11 11:07:54 +02:00
l10n daemon script c9012d2b27 SVN_SILENT made messages (.desktop file) 2013-10-09 06:52:34 +00:00
l10n daemon script fb78b19ee4 SVN_SILENT made messages (.desktop file) 2013-10-09 04:12:11 +00:00
l10n daemon script 3a97029842 SVN_SILENT made messages (.desktop file) 2013-10-08 07:42:18 +00:00
Fabio D'Urso 57ea580057 Merge remote-tracking branch 'origin/KDE/4.11' 2013-10-01 19:26:06 +02:00
Fabio D'Urso 68439221ea Unparent the old TOCModel so that it doesn't get deleted twice
BUG: 322919
FIXED-IN: 4.11.3
2013-10-01 19:21:13 +02:00
Fabio D'Urso 177235d5d7 PageView: compile if PAGEVIEW_DEBUG is set 2013-10-01 19:21:13 +02:00
Fabio D'Urso 358fc7568d Added comment about the previous patch 2013-09-30 23:21:02 +02:00
Stefan Radermacher 20716155ec Show table of contents in sidebar on startup (if present)
FEATURE: 321169
FIXED-IN: 4.12.0
REVIEW: 111036
2013-09-30 23:18:17 +02:00
Yuri Chornoivan c1a61dd912 Add some documentation about usage of Okular annotating tools
REVIEW: 112569
(cherry picked from commit 452f7705a7)
backport to 4.11.3
2013-09-28 15:06:16 +02:00
Albert Astals Cid 2b1846f8e8 Merge remote-tracking branch 'origin/KDE/4.11'
Conflicts:
	VERSION
	core/version.h
2013-09-25 19:42:24 +02:00
Albert Astals Cid b1ac42bc55 Update for 4.11.2 2013-09-25 19:41:33 +02:00
Yuri Chornoivan 452f7705a7 Add some documentation about usage of Okular annotating tools
REVIEW: 112569
2013-09-21 19:07:37 +03:00
Albert Astals Cid 1e24c32846 Update for 4.11.1 2013-08-28 22:49:02 +02:00
Burkhard Lück 159264ade0 bump date+releaseinfo because of 'Auto fit' 2013-08-19 21:40:50 +02:00
Fabio D'Urso 726d3b359c Merge remote-tracking branch 'origin/KDE/4.11' 2013-08-18 23:20:51 +02:00
Fabio D'Urso f852fa0958 okular active: Do not position pages on non-exact pixel boundaries
Round page position to the nearest pixel, because at some zoom levels on
my laptop okular active tries to draw page pixmaps at non-exact pixel
boundaries, resulting in almost unreadable text.

CCMAIL: notmart@gmail.com
REVIEW: 111782
2013-08-18 23:07:23 +02:00
Thomas Fischer e4aa8317b5 Auto-fit zoom
BUGS: 249364
REVIEW: 110003
2013-08-18 17:19:20 +02:00
l10n daemon script edd5e0e6bd SVN_SILENT made messages (.desktop file) 2013-08-15 06:35:06 +00:00
l10n daemon script db0de0d550 SVN_SILENT made messages (.desktop file) 2013-08-15 04:02:23 +00:00
l10n daemon script 4d0cdc3745 SVN_SILENT made messages (.desktop file) 2013-08-11 04:15:19 +00:00
Albert Astals Cid 5a77f16ecd Merge remote-tracking branch 'origin/KDE/4.11'
Conflicts:
	VERSION
	core/version.h
2013-08-06 22:55:39 +02:00
Albert Astals Cid dbecbedced Set version for 4.11.0 2013-08-06 22:54:47 +02:00
Albert Astals Cid b4a01564dc Merge remote-tracking branch 'origin/KDE/4.11' 2013-08-06 22:34:01 +02:00
Albert Astals Cid 3f1ec4cee7 Fix fictionbook loading
Prefer the backends that declare explicit support for a mime over the ones that get the support by inheritance
In the fictionbook case it was happening that application/x-fictionbook+xml inherits text plain
so when we ask for the fictionbook backend, we get both
the one that says
MimeType=application/x-fictionbook+xml;
and the one that says
MimeType=text/plain;
and then it happens that the second has bigger X-KDE-Priority

By prefering the ones that explicitely declare support for a mime we "fix" this

OTOH we may want to explore showing the backend selector if there's more than one by default

FIXED-IN: 4.11.0
2013-08-06 22:31:13 +02:00
Albert Astals Cid 96520d804e Merge remote-tracking branch 'origin/KDE/4.11' 2013-08-06 22:02:34 +02:00
Albert Astals Cid 45dc1990eb Don't keep track of middle mouse press in a variable
This fixes the rendering problem in 321212. Why? Because what was happening is that for some reason the middle mouse press to gets to the PageView but not the release, this meant that the PageView got stuck into mouseMidZooming mode and all sort of bad things happened. Now since we don't cache if the mid mouse button is pressed (we just query it when needed) everything is better.

Ideally i'd like to know why we get the press and not the release, but not sure that's feasible to "fix".

BUGS: 321212
REVIEW: 111901
FIXED-IN: 4.11.0
2013-08-06 22:01:17 +02:00
l10n daemon script 247e426c02 SVN_SILENT made messages (.desktop file) 2013-08-06 07:20:18 +00:00
l10n daemon script 54e6ab48e0 SVN_SILENT made messages (.desktop file) 2013-08-06 04:04:00 +00:00
l10n daemon script d773e626a9 SVN_SILENT made messages (.desktop file) 2013-08-04 04:26:31 +00:00
Fabio D'Urso 8f17980f11 Merge remote-tracking branch 'origin/KDE/4.11' 2013-07-31 21:40:39 +02:00
Fabio D'Urso 741abdc4a1 Improved squiggly annotation tool icon 2013-07-31 21:30:57 +02:00
Fabio D'Urso 453950b495 Merge remote-tracking branch 'origin/KDE/4.11' 2013-07-31 00:12:52 +02:00
Fabio D'Urso c64a6499e2 Show IBeam cursor instead of Cross while creating text markup annotations 2013-07-31 00:02:12 +02:00
Fabio D'Urso 39d44edbd7 Restore the open hand cursor after creating an annotation in non-continuous mode 2013-07-31 00:02:12 +02:00
Fabio D'Urso ef7aaaf4d5 updateCursor: small change to reflect that only Browse mode lets you interact with links/annotations
This patch only changes the code, the resulting behavior hasn't changed
2013-07-31 00:02:12 +02:00
Fabio D'Urso 8bf046371a Centralize cursor selection logic during creation of annotations into updateCursor 2013-07-31 00:02:07 +02:00
Fabio D'Urso 55dd9eb8f6 Merge remote-tracking branch 'origin/KDE/4.11' 2013-07-30 21:16:18 +02:00
Fabio D'Urso 77daa9627b Fix the issue exposed by the previous patch
Cherry-picked from a556126816

The patch de-singletons the PageController class.

The PageController is now per-document and it gets deleted when the
document is closed.

As consequence of this, the RotationJob's done signal will not be
delivered if the document has been closed, and thus this fixes the
crash.
2013-07-30 21:13:08 +02:00
Fabio D'Urso c2c643bed7 Test we don't crash if the document is closed while a RotationJob is running
Cherry-picked from e73e54a784
2013-07-30 21:12:46 +02:00