Commit graph

5611 commits

Author SHA1 Message Date
Marco Martin fd84427cc4 add a declarative plugin
two components:
Document, represents an Okular::Document
Page: represents an Okular::Page, once connected to a Document can display a single page
2012-05-14 20:37:22 +02:00
Script Kiddy f6781637c0 SVN_SILENT made messages (.desktop file) 2012-05-12 12:28:52 +02:00
Tobias Koenig fd03f48bd7 Fix z-order handling of annotations in PDFs
REVIEW: 104576
2012-05-05 12:03:29 +02:00
Script Kiddy d7e2453a4d SVN_SILENT made messages (.desktop file) 2012-05-05 10:45:59 +02:00
Tobias Koenig 8683822a47 Improve auto play behaviour of videos
Use the auto play property of movies that are not started via
the 'page open' action. That's the case for Rendition-based videos
from PDF documents for example.
2012-04-26 00:24:39 +02:00
Albert Astals Cid 648c2a0638 Merge remote-tracking branch 'origin/KDE/4.8' 2012-04-18 20:17:00 +02:00
Albert Astals Cid 25f2776090 Make sure we enable rePos before call setViewport
BUGS: 298362
FIXED-IN: 4.8.3
2012-04-18 20:13:57 +02:00
Script Kiddy ac51eb486c SVN_SILENT made messages (.desktop file) 2012-04-18 09:35:10 +02:00
Script Kiddy 5482696067 SVN_SILENT made messages (.desktop file) 2012-04-17 21:20:49 +02:00
Tobias Koenig 40dd53e5de Be explicit about auto-play for movie annotations 2012-04-13 07:52:41 +02:00
Tobias Koenig 881e217262 Fix crash in dtor of ScreenAnnotation
We don't need to keep the Poppler ScreenAnnotation object around.
2012-04-13 07:52:41 +02:00
Tobias Koenig 802020b5a9 Use embedded ctor of Movie only if media rendition has embedded stream 2012-04-13 07:52:41 +02:00
Albert Astals Cid 0ccf769bbe Comment this since we don't use it for anything and the window field will be going away in the future
(cherry picked from commit 4681d01e5a)
2012-04-12 23:21:53 +02:00
Albert Astals Cid 4681d01e5a Comment this since we don't use it for anything and the window field will be going away in the future 2012-04-12 23:20:55 +02:00
Tobias Koenig 924fc69854 Start auto-play of video when presentation view is opened
Disable auto-play feature for page view, it's not supposed to be used
there when just browsing through a document.
2012-04-11 16:50:30 +02:00
Script Kiddy 00fdc61daa SVN_SILENT made messages (.desktop file) 2012-04-11 09:35:46 +02:00
Albert Astals Cid df5b9cd4a2 Do not set mTextPageReady to true
mTextPageReady is only used for threaded generation and this is a sync one so resetting it to true make very bad things happen
An improvement of this area is needed since it makes no sense canGenerateTextPage returns mTextPageReady when generateTextPage doesn't use itB
BUGS: 297379
FIXED-IN: 4.8.3
(cherry picked from commit c29ce712cf)
2012-04-06 00:53:02 +02:00
Albert Astals Cid c29ce712cf Do not set mTextPageReady to true
mTextPageReady is only used for threaded generation and this is a sync one so resetting it to true make very bad things happen
An improvement of this area is needed since it makes no sense canGenerateTextPage returns mTextPageReady when generateTextPage doesn't use itB
BUGS: 297379
FIXED-IN: 4.8.3
2012-04-06 00:50:13 +02:00
Tobias Koenig 63547acd52 Fix compilation for older poppler versions 2012-04-03 15:35:49 +02:00
Tobias Koenig 4639ded310 Implement autostart support for movie annotations
Evaluate MovieActions to implement autostart behavior for movie annotations.

REVIEW:104271
2012-04-03 14:18:10 +02:00
Tobias Koenig 5f87327c61 Hide video widget after the video has finished in PlayOnce mode. 2012-03-30 17:19:28 +02:00
Tobias Koenig 8bd5deea1f cleanup coding style
Replace tabs with white spaces and remove trailing white spaces
2012-03-30 15:40:59 +02:00
Albert Astals Cid a796f78919 Update version for 4.8.2 2012-03-29 18:25:18 +02:00
David Faure dc2f2d36aa Fix compilation with strict iterators 2012-03-27 13:25:12 +02:00
Mailson Menezes bd9087f20a Remember position on the page in bookmark
IOW accept more than one bookmark per page
BUGS: 157198
REVIEW: 104365
2012-03-26 20:01:01 +02:00
Albert Astals Cid 9d805df013 Double click selects words
BUGS: 187347
FIXED-IN: 4.9,0
2012-03-25 23:48:47 +02:00
Guillermo A. Amaral B 592c0c1611 Allow PDF Generator to handle embedded movies 2012-03-22 17:35:33 +00:00
Albert Astals Cid aa893dd0d7 Do not crash on non movie annotations
Patch by Fabio D'Urso
CCMAIL: tokoe@kde.org
2012-03-14 19:02:05 +01:00
Tobias Koenig 486df96203 Make video player behave similar to Adobe Acroread
Hide the video player initially until the user has clicked on
the annotation area. This ensures that an available 'first-frame' image
is always visible. Also change the appearance of the mouse cursor when
the annotation area is entered.

REVIEW:104159
2012-03-12 17:20:51 +01:00
Parker Coates 1a96a7c797 Remember the mouse mode on exit
The default mouse mode on Okular startup is panning. I almost always
want text selection. Somebody else might prefer rectangular selection or
zooming. This patch stores the last active mouse mode in the config and
switches to it on startup.

REVIEW:104147
2012-03-09 13:31:24 -05:00
Yuri Chornoivan 34e4695efc This is not c-formatted message. Mark it to avoid confusion during translation. 2012-03-09 11:33:54 +02:00
Albert Astals Cid d3d8025ef1 Merge remote-tracking branch 'origin/KDE/4.8'
Conflicts:
	VERSION
	core/version.h
2012-03-09 00:29:48 +01:00
Albert Astals Cid bf47b97cc2 Do not return 0 in getFreeMemory for the first two seconds 2012-03-09 00:26:51 +01:00
Albert Astals Cid 4d8ba36488 Add greedy preloading option
Based on a patch by Sebastian Rose <s.rose@semkath.de>
REVIEW: 103129
BUGS: 184196
2012-03-09 00:12:20 +01:00
Albert Astals Cid 3e3a504d3c Allow the renaming of bookmark "parent" items (i.e. file names)
Patch heavily inspired on a patch by Constantin Serban-Radoi <costashsrc@gmail.com>
2012-03-08 23:26:44 +01:00
Albert Astals Cid 5e6e54dbb0 Do not delete m_annowindows directly
If we do that slotAnnotationWindowDestroyed bites us and the list gets out of sync
2012-03-07 23:51:36 +01:00
Albert Astals Cid bd6219327f Update version for 4.8.1 2012-02-29 23:00:19 +01:00
Albert Astals Cid d34bc7f263 Do not cache end() of a QList you are removing stuff from...
...makes it crash :D
BUGS: 294633
FIXED-IN: 4.8.1
2012-02-22 23:23:47 +01:00
Albert Astals Cid 04716f9fd1 Do not cache end() of a QList you are removing stuff from...
...makes it crash :D
BUGS: 294633
FIXED-IN: 4.8.1
2012-02-22 23:21:44 +01:00
Script Kiddy 37b9467299 SVN_SILENT made messages (.desktop file) 2012-02-21 21:36:40 +01:00
Albert Astals Cid cee823fa35 Make search from current page the default 2012-02-20 20:35:05 +01:00
Script Kiddy 5778a66e7c SVN_SILENT made messages (.desktop file) 2012-02-16 10:52:04 +01:00
Script Kiddy b30c1c7334 SVN_SILENT made messages (.desktop file) 2012-02-05 14:36:19 +01:00
Script Kiddy 5cfe3b8575 SVN_SILENT made messages (.desktop file) 2012-02-05 09:41:48 +01:00
Albert Astals Cid 56e356df61 Fix crash on close 2012-02-02 19:55:40 +01:00
Albert Astals Cid 80d7cf0b8a Merge branch 'textfind-enhancement'
Conflicts:
	core/textpage.cpp
2012-02-02 19:31:08 +01:00
Albert Astals Cid 12ab23e631 Add a note why we can't use rightRef 2012-02-02 19:27:57 +01:00
Albert Astals Cid d6c1ead1b0 More small adaptations 2012-02-02 19:24:11 +01:00
Albert Astals Cid e74894ce94 Put duplicate code in a function 2012-02-02 19:13:11 +01:00
Albert Astals Cid 7825e4c545 Fix stuff for a better merge 2012-02-02 19:07:13 +01:00