Commit graph

3397 commits

Author SHA1 Message Date
Albert Astals Cid 9f448a49df small dox fixes
svn path=/trunk/KDE/kdegraphics/okular/; revision=668692
2007-05-27 09:59:52 +00:00
Albert Astals Cid 82fe777cc0 param changed name
svn path=/trunk/KDE/kdegraphics/okular/; revision=668688
2007-05-27 09:53:45 +00:00
Pino Toscano c8f85f0735 FindPoppler.cmake:
- fix the include path checking, now really using the cflags. tested with current HEAD (0.6), should work with 0.5.x as well
- fix the caching
CMakeLists.txt files:
- adapt to the include path fixes

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=668612
2007-05-26 23:15:42 +00:00
Pino Toscano 3addf5ec7d const& for removePageAnnotations()
svn path=/trunk/KDE/kdegraphics/okular/; revision=668564
2007-05-26 19:25:18 +00:00
Pino Toscano b4f2087279 SVN_SILENT remove stray endings
svn path=/trunk/KDE/kdegraphics/okular/; revision=668394
2007-05-26 08:50:40 +00:00
Pino Toscano 79ae8273e2 less warnings for poppler HEAD/0.6 users
svn path=/trunk/KDE/kdegraphics/okular/; revision=668328
2007-05-26 00:02:26 +00:00
Pino Toscano fb3fec647e the Poppler library is going to start the release cycle of the 0.6 serie, so s/HEAD/0_6/
svn path=/trunk/KDE/kdegraphics/okular/; revision=668326
2007-05-25 23:57:03 +00:00
Pino Toscano 37eb438999 restore compatibility with poppler 0.5.x
svn path=/trunk/KDE/kdegraphics/okular/; revision=668322
2007-05-25 23:39:31 +00:00
Albert Astals Cid f6b13e66fd adapt to poppler cvs head changes from seconds ago
i know this is not ifdefed, but tomorrow we are hopefully releasing poppler 0.6 RC and will require it ;-)

svn path=/trunk/KDE/kdegraphics/okular/; revision=668320
2007-05-25 23:23:23 +00:00
Pino Toscano 03fd060f3f lazy loading of links, their loading is expensive
svn path=/trunk/KDE/kdegraphics/okular/; revision=668319
2007-05-25 23:16:03 +00:00
Pino Toscano 5cbdaa6dc7 some checks more, and small fixes
svn path=/trunk/KDE/kdegraphics/okular/; revision=668054
2007-05-24 22:52:29 +00:00
Pino Toscano 06a37c61e9 use the debug area for all the debug messages of the generator
svn path=/trunk/KDE/kdegraphics/okular/; revision=668044
2007-05-24 21:58:50 +00:00
Pino Toscano a9900ec937 const& and simplify
svn path=/trunk/KDE/kdegraphics/okular/; revision=668039
2007-05-24 21:22:25 +00:00
Pino Toscano 5b9157b938 SVN_SILENT repeat with me, always check twice when doing a copy&paste...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668034
2007-05-24 20:57:00 +00:00
Pino Toscano a258885372 use the document interface, if available, to get the supported mimetypes
otherwise use an internal fileFormats() (polished and more correct now)

svn path=/trunk/KDE/kdegraphics/okular/; revision=668029
2007-05-24 20:41:29 +00:00
Pino Toscano 04548385ba add a method to the document interface to get the supported mimetypes
svn path=/trunk/KDE/kdegraphics/okular/; revision=668028
2007-05-24 20:39:35 +00:00
Laurent Montel 1a6db045cd Don't crash when we don't load file
(generator is null)
(It will better to disable action until we load generator I think)

svn path=/trunk/KDE/kdegraphics/okular/; revision=667872
2007-05-24 09:05:34 +00:00
Pino Toscano 8d28fd09eb export the Setting class with a dpointer
svn path=/trunk/KDE/kdegraphics/okular/; revision=667774
2007-05-23 22:16:54 +00:00
Pino Toscano b4b3ebdded Okular::Settings::writeConfig() -> Okular::Settings::self()->writeConfig()
svn path=/trunk/KDE/kdegraphics/okular/; revision=667772
2007-05-23 21:59:12 +00:00
Script Kiddy 9984a73c33 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=667190
2007-05-22 05:16:03 +00:00
Pino Toscano 905ca02fb2 center the "no items" text of the annotation pane, until a better solution comes
svn path=/trunk/KDE/kdegraphics/okular/; revision=667142
2007-05-21 23:12:01 +00:00
Pino Toscano 758daf07d1 connect() to finished() only once, and close the url of the khtml part after every usage
svn path=/trunk/KDE/kdegraphics/okular/; revision=667131
2007-05-21 22:38:15 +00:00
Pino Toscano de45467966 properly free the resources of a document when calling closeDocument(), not in the destructor of the generator or in loadDocument()
svn path=/trunk/KDE/kdegraphics/okular/; revision=667128
2007-05-21 22:26:37 +00:00
Pino Toscano 95912893f0 remove compatibility with kpdf pre-kde 3.4
svn path=/trunk/KDE/kdegraphics/okular/; revision=667126
2007-05-21 22:07:28 +00:00
Pino Toscano e0f08ab3e9 delete the khtml part on destruction; remove unused #include
svn path=/trunk/KDE/kdegraphics/okular/; revision=667101
2007-05-21 21:20:27 +00:00
Pino Toscano e83f58d78d instead of emitting a signal, just use a simple action
svn path=/trunk/KDE/kdegraphics/okular/; revision=667074
2007-05-21 19:53:13 +00:00
Pino Toscano 92204b4bb7 fix giveAbsolutePath() to properly recognize absolute paths
svn path=/trunk/KDE/kdegraphics/okular/; revision=667073
2007-05-21 19:51:30 +00:00
Pino Toscano 3019616824 Bookmark list: add a tooltip for the top-level items with the number of bookmarks of the file.
svn path=/trunk/KDE/kdegraphics/okular/; revision=666669
2007-05-20 14:35:37 +00:00
Pino Toscano 4e2e675914 No need to show entries with no children.
svn path=/trunk/KDE/kdegraphics/okular/; revision=666450
2007-05-19 22:19:24 +00:00
Albert Astals Cid dcb1448cb8 make the url non relative
svn path=/trunk/KDE/kdegraphics/okular/; revision=666337
2007-05-19 14:10:48 +00:00
Pino Toscano 0e9b82be96 get rid of the Xrender-related stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=666266
2007-05-19 10:51:16 +00:00
Pino Toscano 223d0fc421 remove the special code for painting the blended selection with XRender, Qt can do that nicely (and for free, heh)
svn path=/trunk/KDE/kdegraphics/okular/; revision=666265
2007-05-19 10:42:10 +00:00
Pino Toscano 6735089e77 SVN_SILENT follow the render -> view renaming for the columns as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=666260
2007-05-19 10:19:25 +00:00
Pino Toscano ca47d541f1 SVN_SILENT indent
svn path=/trunk/KDE/kdegraphics/okular/; revision=666258
2007-05-19 10:11:04 +00:00
Pino Toscano 28580b8625 Bookmarks list: make double click always open the bookmark, while its editing is possible using the edit key (usually F2) or the context menu.
svn path=/trunk/KDE/kdegraphics/okular/; revision=666149
2007-05-18 22:26:03 +00:00
Pino Toscano fba7c1874d give the #<page> title for a new bookmark instead of #<bookmark count>
svn path=/trunk/KDE/kdegraphics/okular/; revision=666142
2007-05-18 22:07:33 +00:00
Dirk Mueller 37d03accd0 fix memory leak (CID 3620)
svn path=/trunk/KDE/kdegraphics/okular/; revision=666003
2007-05-18 14:35:55 +00:00
Dirk Mueller 452ddeeb63 trying to fix a memory leak. strange API (CID 3642)
svn path=/trunk/KDE/kdegraphics/okular/; revision=665930
2007-05-18 11:49:19 +00:00
Pino Toscano 5049a38b70 slightly improve: remove some unneeded margins and spacers
svn path=/trunk/KDE/kdegraphics/okular/; revision=665792
2007-05-17 22:23:36 +00:00
Pino Toscano e0274514ff When paiting an empty page (because there are no pixmaps for it), then fill with a color conforming with all the accessibility settings (not just the paper color).
svn path=/trunk/KDE/kdegraphics/okular/; revision=665774
2007-05-17 20:48:41 +00:00
Pino Toscano faeaa3ec01 Sharing the same option for the accessibility render mode and for the view mode is not a good idea, really.
So, create a new ViewMode setting for the single/facing/columns view mode (leaving the RenderMode for compatibility with KPDF).
Rename [Rr]enderMode into [Vv]iewMode in the page view, following the new name of the setting.
Remove the "padding" enums from the settings, as it seems they have no real use beside giving issues.

svn path=/trunk/KDE/kdegraphics/okular/; revision=665773
2007-05-17 20:46:16 +00:00
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