Commit graph

6402 commits

Author SHA1 Message Date
Albert Astals Cid 9c3165d214 Going back and forward in history may also change the page
So notify those that care about tha page and not about the viewport
2013-11-28 00:05:24 +01:00
Yuri Chornoivan b60eff3e21 Fix sizes of GhostScript backend icons
BUG: 327958
FIXED-IN: 4.11.4
2013-11-23 19:28:48 +02:00
Albert Astals Cid 7881731a2b Prepare for 4.11.4 release 2013-11-23 17:53:45 +01:00
Albert Astals Cid e475ac9f4a prepare for 4.11.3 2013-10-26 11:54:43 +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
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
l10n daemon script c9012d2b27 SVN_SILENT made messages (.desktop file) 2013-10-09 06:52:34 +00:00
l10n daemon script 3a97029842 SVN_SILENT made messages (.desktop file) 2013-10-08 07:42:18 +00: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
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 b1ac42bc55 Update for 4.11.2 2013-09-25 19:41:33 +02:00
Albert Astals Cid 1e24c32846 Update for 4.11.1 2013-08-28 22:49:02 +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
l10n daemon script edd5e0e6bd SVN_SILENT made messages (.desktop file) 2013-08-15 06:35:06 +00:00
Albert Astals Cid dbecbedced Set version for 4.11.0 2013-08-06 22:54:47 +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 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
Fabio D'Urso 741abdc4a1 Improved squiggly annotation tool icon 2013-07-31 21:30:57 +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 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
l10n daemon script 9e8267b635 SVN_SILENT made messages (.desktop file) 2013-07-30 07:18:19 +00:00
Albert Astals Cid 48e0477a67 numPages returns int, account for < 0 numPages
If numPages < 0 it's an error
2013-07-25 22:09:57 +02:00
Albert Astals Cid 770374b09c Increase version for 4.11 RC2 2013-07-24 00:14:48 +02:00
l10n daemon script 2e25db4070 SVN_SILENT made messages (.desktop file) 2013-07-23 07:07:19 +00:00
l10n daemon script 23389e4e5c SVN_SILENT made messages (.desktop file) 2013-07-21 06:43:44 +00:00
Albert Astals Cid 4032f0a38a Only reload if the changed file is our file
And not any other file in the folder
BUGS: 321880
FIXED-IN: 4.11.0
2013-07-20 00:29:08 +02:00
l10n daemon script ca12f8dbb5 SVN_SILENT made messages (.desktop file) 2013-07-14 06:57:29 +00:00
l10n daemon script 2cafa9e38c SVN_SILENT made messages (.desktop file) 2013-07-11 06:29:22 +00:00
Albert Astals Cid e3bd5116c5 Increase version for 4.11 RC1 2013-07-09 19:24:32 +02:00
l10n daemon script 1109c54e83 SVN_SILENT made messages (.desktop file) 2013-07-07 04:07:25 +00:00
Fabio D'Urso 850deab286 Allow selection of filled polygons through the filled region 2013-07-02 00:44:15 +02:00
Fabio D'Urso 31a163bc3d Use same fill rule as Poppler in polygon annotations rendered by PagePainter
This is not going to break existing annotations because background
color in polygon annotations is a new 4.11 feature.
2013-07-02 00:27:59 +02:00
Fabio D'Urso d77ed7e998 Fix HighlightAnnotation selection in rotated documents 2013-07-02 00:04:01 +02:00
Fabio D'Urso 5888f65a2e Allow selection of polygons through the segment that closes the path too 2013-07-01 22:19:28 +02:00
Fabio D'Urso 3c65f81fb9 Prefer annotations in the foreground in Page::objectRect 2013-07-01 22:06:46 +02:00
Fabio D'Urso a768dc69ad Remove z-order annotation hack in poppler generator
It was wrong: it didn't make poppler and okular's z-order match. Quite
the opposite: it actually reversed it.
2013-07-01 22:06:34 +02:00
l10n daemon script 2e847d2f81 SVN_SILENT made messages (.desktop file) 2013-07-01 03:53:16 +00:00
Fabio D'Urso 119cd27c08 Set FixedRotation flag on new inline text annotations
BUG: 313177
FIXED-IN: 4.11.0
2013-06-26 21:53:50 +02:00
Fabio D'Urso 6efedc7bea poppler: Comply with new rules in API calls about FixedRotation annotations
See patch 0006 in
http://lists.freedesktop.org/archives/poppler/2013-April/010214.html

CCBUG: 313177
2013-06-26 21:47:37 +02:00
Mailson Menezes d61c690bc0 Merge remote-tracking branch 'origin/KDE/4.10' 2013-06-24 21:56:56 -03:00
Mailson Menezes ff1168901f Fix issue of creating an annotation on tiles mode
Sometimes annotations created on tiles mode were not shown immediately.

What requestPixmaps do is given a PixmapRequest, change its
normalizedRect attribute so the rect is tile aligned. However
refreshPixmaps was creating a PixmapRequest with the rect already tile
aligned and then delivering the PixmapRequest to requestPixmaps, which
would trye to take the requested rectangle and change it so it is also
tile aligned. Since the PixmapRequest delivered by refreshPixmaps was
already aligned, the requested rectangle was inflated by the tile
alignment procedure. After that the generated request becomes bigger
than the defined threshold and is discarded. This patch actually
removes the tile alignment logic from refreshPixmaps and let only the
requestPixmaps handle this.
2013-06-24 21:53:59 -03:00
Albert Astals Cid f1fa1e0602 Prepare for 4.11 Beta 2 2013-06-24 21:55:05 +02:00
Albert Astals Cid 68c9299b02 Prepare for 4.10.5 2013-06-24 21:49:49 +02:00
Yuri Chornoivan 3b73357d2f Fix some typos found by Krazy2 2013-06-24 13:46:16 +03:00