Commit graph

3356 commits

Author SHA1 Message Date
Pino Toscano
0d320f0b78 SVN_SILENT
use the kde debug system in a kde library

svn path=/trunk/KDE/kdegraphics/okular/; revision=665724
2007-05-17 18:27:25 +00:00
Pino Toscano
c4ea50c99b Forwardport SVN commit 665684 by pino:
When getting the result of a pixmap request for an observer that went away in the meanwhile, don't create a memory entry for the pixmap, as we assume the allocated pixmaps fifo holds only descriptors for valid observers.

(fixed KPDF #143951)

svn path=/trunk/KDE/kdegraphics/okular/; revision=665685
2007-05-17 16:52:44 +00:00
Albert Astals Cid
3bd28d1fbb fix indentation
svn path=/trunk/KDE/kdegraphics/okular/; revision=664727
2007-05-14 18:51:13 +00:00
David Faure
7404448320 needs qt3support; cleanups.
svn path=/trunk/KDE/kdegraphics/okular/; revision=664726
2007-05-14 18:47:19 +00:00
Albert Astals Cid
09d57691d7 a bit more corner case handling in paper size handling
svn path=/trunk/KDE/kdegraphics/okular/; revision=664721
2007-05-14 18:38:50 +00:00
Tobias Koenig
06e831a3c9 Add a new method DocumentInfo::set( enum, QString ) to get more
consistency in the documentation info.

svn path=/trunk/KDE/kdegraphics/okular/; revision=664233
2007-05-13 12:54:46 +00:00
Tobias Koenig
9978d944da Further progress on the tutorial
svn path=/trunk/KDE/kdegraphics/okular/; revision=664232
2007-05-13 12:53:08 +00:00
Tobias Koenig
c852295236 Exclude apidox generation for private classes
svn path=/trunk/KDE/kdegraphics/okular/; revision=664174
2007-05-13 09:42:32 +00:00
Tobias Koenig
999f3a296e Added section for Generators with TextPage support and a
section for Generators with multithreading support.

svn path=/trunk/KDE/kdegraphics/okular/; revision=664168
2007-05-13 09:29:45 +00:00
Laurent Montel
5fbbfe0f72 Fix typo
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=664124
2007-05-13 07:42:39 +00:00
Tobias Koenig
c61432ffb9 Add Find module for Okular Generator library
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=664110
2007-05-13 07:10:15 +00:00
Pino Toscano
d6ac16dce7 a pair of updates
svn path=/trunk/KDE/kdegraphics/okular/; revision=664011
2007-05-12 22:33:17 +00:00
Tobias Koenig
cc94bfe344 Further extension of the 'HOWTO write a plugin' document
svn path=/trunk/KDE/kdegraphics/okular/; revision=663998
2007-05-12 21:50:28 +00:00
Pino Toscano
8f03f0d0d7 try to lock the pixmap requests queue with a mutex, hoping to solve some of our problems
svn path=/trunk/KDE/kdegraphics/okular/; revision=663991
2007-05-12 21:40:38 +00:00
Tobias Koenig
c667d89cc4 Started to write a 'HOWTO implement an okular plugin'
svn path=/trunk/KDE/kdegraphics/okular/; revision=663940
2007-05-12 18:20:31 +00:00
Tobias Koenig
bbbbd8eda9 Fixed the 'select one line twice' bug.
It's always helpfull to talk to a koffice developer, thanks to Thomas :)

svn path=/trunk/KDE/kdegraphics/okular/; revision=663744
2007-05-12 08:17:02 +00:00
Albert Astals Cid
61b3f856d0 fordwardport SVN commit 663027 by aacid:
Improve handling of page sizes when printing. 

svn path=/trunk/KDE/kdegraphics/okular/; revision=663034
2007-05-09 21:30:33 +00:00
Script Kiddy
1d727e66f6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=662419
2007-05-08 05:06:32 +00:00
Pino Toscano
8ccb38b9fe very small cleanup among the #include part
svn path=/trunk/KDE/kdegraphics/okular/; revision=661773
2007-05-06 15:10:16 +00:00
Pino Toscano
7c8cc68a8c Add a Reload menu item to manually reload a document.
Useful for example when not using the watching file features.
Implements KPDF bug #136820.

svn path=/trunk/KDE/kdegraphics/okular/; revision=661681
2007-05-06 11:23:26 +00:00
Pino Toscano
c2b0c10222 a pair of updates
svn path=/trunk/KDE/kdegraphics/okular/; revision=661522
2007-05-05 21:55:34 +00:00
Pino Toscano
48d0f95745 delete the previous action when setting a new one
svn path=/trunk/KDE/kdegraphics/okular/; revision=661489
2007-05-05 18:22:26 +00:00
Pino Toscano
325b8711ea move the setTextSelections, setHighlight and deleteHighlights to the private class of Page, as they are private for now
svn path=/trunk/KDE/kdegraphics/okular/; revision=661486
2007-05-05 18:07:34 +00:00
Pino Toscano
1eb435cddb remove the kdebug.h inclusion in area.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=661410
2007-05-05 13:50:44 +00:00
Pino Toscano
94355bce65 move the transform() hierarchy within the private class; allow AnnotationObjectRect to use the trasform() stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=661202
2007-05-04 20:45:45 +00:00
Pino Toscano
bfe21b46f8 refactor the Annotation hierarchy to use a common d_ptr like Qt; move the AnnotationPrivate definition in an own header (it will be useful later...)
svn path=/trunk/KDE/kdegraphics/okular/; revision=661195
2007-05-04 20:24:12 +00:00
Dirk Mueller
43a23a2de6 the usual "daily unbreak compilation"
svn path=/trunk/KDE/kdegraphics/okular/; revision=661101
2007-05-04 15:41:04 +00:00
Pino Toscano
06411f9805 Add links and annotations when loading the pages, not during the pixmap generations.
Tobias: is the calculation of the annotations bounding rect correct?
CCMAIL: tokoe@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=660831
2007-05-03 21:45:14 +00:00
Pino Toscano
6aaefb7f68 "pdf"/"pdf file" -> "document"
svn path=/trunk/KDE/kdegraphics/okular/; revision=660526
2007-05-02 23:06:38 +00:00
Pino Toscano
b53ba3cd24 make widget() slightly safier, and pass it as parameter when running an url (closing a TODO item)
svn path=/trunk/KDE/kdegraphics/okular/; revision=660524
2007-05-02 22:56:51 +00:00
Pino Toscano
106e96240c rename (almost) every ActionFoo class to FooAction
exception to this is the ActionDocumentAction, renamed to DocumentAction and whose id is DocAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=660523
2007-05-02 22:50:27 +00:00
Pino Toscano
25b6b590b9 refactor the hierarchy of the provate classes to be much like Qt-ish (common d_ptr, d_func(), etc)
svn path=/trunk/KDE/kdegraphics/okular/; revision=660511
2007-05-02 21:59:44 +00:00
Pino Toscano
892df34b19 any negative page number represents an invalid viewport
svn path=/trunk/KDE/kdegraphics/okular/; revision=660436
2007-05-02 18:21:15 +00:00
Pino Toscano
a9532ee414 and a static QBitmap here leaks as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=660422
2007-05-02 17:25:49 +00:00
Pino Toscano
912706a856 revert my r659797, a QButtonGroup can't help here
svn path=/trunk/KDE/kdegraphics/okular/; revision=660408
2007-05-02 16:37:59 +00:00
Pino Toscano
e79cd474d9 move the Page rotating and changing page functions to the private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=660214
2007-05-01 23:36:57 +00:00
Pino Toscano
7cfa67ecf4 improve a bit the Document::setPageSize API -- better pass the size, and not an index
svn path=/trunk/KDE/kdegraphics/okular/; revision=660208
2007-05-01 23:21:29 +00:00
Pino Toscano
0f4cd40e26 slotRotation -> setRotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=660207
2007-05-01 23:09:45 +00:00
Pino Toscano
1e68ded6c9 Florian is right, change also the icon of the add/remove bookmark action
svn path=/trunk/KDE/kdegraphics/okular/; revision=660124
2007-05-01 16:38:35 +00:00
Pino Toscano
0260a8f2d6 properly isolate rebuildTree() from the itemChanged() signals
svn path=/trunk/KDE/kdegraphics/okular/; revision=660102
2007-05-01 14:51:55 +00:00
Pino Toscano
8eca279375 Add an Add/Remove Bookmark to add/remove a bookmark for the current page.
svn path=/trunk/KDE/kdegraphics/okular/; revision=660097
2007-05-01 14:43:30 +00:00
Pino Toscano
f8662cfa90 disconnect() the itemChanged() before rebuilding the tree and reconnect after that, otherwise we'll end up saving the bookmarks many times
svn path=/trunk/KDE/kdegraphics/okular/; revision=660050
2007-05-01 12:01:37 +00:00
Pino Toscano
859c246013 drop the idea of the static QBitmap, so it's not leaked anymore
svn path=/trunk/KDE/kdegraphics/okular/; revision=660048
2007-05-01 11:46:47 +00:00
Pino Toscano
bb01aa18da this action button has to stay hidden until really needed
svn path=/trunk/KDE/kdegraphics/okular/; revision=660043
2007-05-01 11:36:25 +00:00
Pino Toscano
6d99240256 hopefully port to the new Phonon API
svn path=/trunk/KDE/kdegraphics/okular/; revision=660038
2007-05-01 11:25:32 +00:00
Pino Toscano
dc4acc7b83 KLibrary::globalLibrary -> KLibrary::library
svn path=/trunk/KDE/kdegraphics/okular/; revision=660035
2007-05-01 11:22:22 +00:00
Stephan Binner
d4940f5a56 fix compilation
svn path=/trunk/KDE/kdegraphics/okular/; revision=659939
2007-05-01 05:28:28 +00:00
Pino Toscano
ea163815a8 hopefully make really use in presentation mode of the global shortcuts for first/last/next/prev page
svn path=/trunk/KDE/kdegraphics/okular/; revision=659849
2007-04-30 22:04:11 +00:00
Pino Toscano
f9d3246141 use a button group and simplify a bit
svn path=/trunk/KDE/kdegraphics/okular/; revision=659797
2007-04-30 20:26:26 +00:00
Pino Toscano
2c1d5aa44e Refactor a bit the annotating toolbar, so it can handle better its items and cha
nges to its status. This brings us:
- less item reloading (previously done every time the toolbar is shown, now only when needed)
- the toolbar is redrawn correctly if it's shown and a new document is open
- as Albert pointed me yesterday, no need to show the annotating tools that act on text if the document does not support the extraction of text

svn path=/trunk/KDE/kdegraphics/okular/; revision=659722
2007-04-30 17:40:53 +00:00