Commit graph

619 commits

Author SHA1 Message Date
Pino Toscano 50b73a93b1 Remove the (not working) homemade async loading, and make use of the Generator API for async loading.
svn path=/trunk/KDE/kdegraphics/okular/; revision=716074
2007-09-23 22:13:16 +00:00
Pino Toscano 823edf52b1 make KDjVu no more a QObject, and remove the traces of "async" loading (never really implemented)
svn path=/trunk/KDE/kdegraphics/okular/; revision=716072
2007-09-23 21:59:30 +00:00
Script Kiddy 63b6301d12 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=714636
2007-09-20 05:45:54 +00:00
Pino Toscano ac970f2d6c reduce the locked section a bit
svn path=/trunk/KDE/kdegraphics/okular/; revision=712976
2007-09-15 21:55:12 +00:00
Pino Toscano 2a258a92f9 solaris compiling fixes by physrules
svn path=/trunk/KDE/kdegraphics/okular/; revision=712955
2007-09-15 21:09:06 +00:00
Pino Toscano a3aca79a4e a vector of bool is better here
svn path=/trunk/KDE/kdegraphics/okular/; revision=712835
2007-09-15 12:35:03 +00:00
Pino Toscano 4dcadf5544 Add a mutex in the base generator class, so any generator that wants a mutex can use it.
Adapt the poppler and the chm generator to use it instead of the own.

svn path=/trunk/KDE/kdegraphics/okular/; revision=712821
2007-09-15 11:35:53 +00:00
Pino Toscano 231839f344 SVN_SILENT include fixes
svn path=/trunk/KDE/kdegraphics/okular/; revision=712621
2007-09-14 22:31:16 +00:00
Pino Toscano 78e2377a87 Add a method for generators to know some metadata of the document
adapted the poppler and the chm generators to use that, instead of fiddling with the settings class

svn path=/trunk/KDE/kdegraphics/okular/; revision=712614
2007-09-14 22:16:00 +00:00
Script Kiddy 4c9b70db9d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=711908
2007-09-13 05:55:31 +00:00
Pino Toscano 83454a5ff3 fix some memory leaks
svn path=/trunk/KDE/kdegraphics/okular/; revision=711280
2007-09-11 22:27:39 +00:00
Pino Toscano 49994d2d3c reduce to the minimum the priority of okular as image handler
svn path=/trunk/KDE/kdegraphics/okular/; revision=710434
2007-09-09 23:00:22 +00:00
Tobias Koenig cdcde2aeaf Don't delete the documents in the converters, they are deleted
by the TextDocumentGenerator.

svn path=/trunk/KDE/kdegraphics/okular/; revision=710348
2007-09-09 18:06:53 +00:00
Pino Toscano c141af6017 look for Poppler::PSConverter::setOutputDevice(), and use it if found
svn path=/trunk/KDE/kdegraphics/okular/; revision=709853
2007-09-08 11:21:16 +00:00
Pino Toscano 8e6d1619f3 now that poppler 0.6 was released, i can enable the code to get the size of the embedded files
svn path=/trunk/KDE/kdegraphics/okular/; revision=709831
2007-09-08 10:45:05 +00:00
Pino Toscano 0b76db026f don't tell kdeprint to remove the file, KTemporaryFile does that for us
svn path=/trunk/KDE/kdegraphics/okular/; revision=709588
2007-09-07 21:27:50 +00:00
Pino Toscano ee925f2e58 add a postscript export overload that takes a QFile*, so we can properly use KTemporaryFile with printing
svn path=/trunk/KDE/kdegraphics/okular/; revision=709582
2007-09-07 21:06:57 +00:00
Pino Toscano 1350802160 in case the document has no title, put just the filename as title, not the whole path
svn path=/trunk/KDE/kdegraphics/okular/; revision=709512
2007-09-07 17:30:00 +00:00
Pino Toscano 1bd4373ceb move the okular-poppler specific configuration into its own config.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=709493
2007-09-07 16:04:32 +00:00
Pino Toscano ef3769ea5b DocPath -> X-DocPath for .desktop of type Application
svn path=/trunk/KDE/kdegraphics/okular/; revision=709100
2007-09-06 15:07:23 +00:00
Tobias Koenig f764604bb6 Remove the EventLoop hack which causes crashes when you close the
application during loading

svn path=/trunk/KDE/kdegraphics/okular/; revision=706608
2007-08-30 21:10:09 +00:00
Tobias Koenig ae2247f207 Fixed possible crash... never code after 18:00
svn path=/trunk/KDE/kdegraphics/okular/; revision=706607
2007-08-30 21:09:00 +00:00
Tobias Koenig 7e16285d28 Add a new helper functions which allow sorting of strings which
contains numbers in natural order

svn path=/trunk/KDE/kdegraphics/okular/; revision=706529
2007-08-30 16:59:49 +00:00
Tobias Koenig cde58f48ba * Check for Landscape or Portrait mode (patch by Pino)
* Fixed bug by clearing the page map on opening

svn path=/trunk/KDE/kdegraphics/okular/; revision=706496
2007-08-30 15:30:12 +00:00
Pino Toscano 48b2cad049 fixed wrong example in the apidox, and all the code that was done by copy&paste from it, basically...
svn path=/trunk/KDE/kdegraphics/okular/; revision=705935
2007-08-28 23:27:37 +00:00
Pino Toscano ea48a1b7f4 Provide an example (disabled, of course) of usage of the "new" GuiInterface in the KImageIO backend.
Add also an about data.

svn path=/trunk/KDE/kdegraphics/okular/; revision=705934
2007-08-28 23:19:42 +00:00
Script Kiddy a550d8c0d4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=705612
2007-08-28 07:29:37 +00:00
Thiago Macieira 99a7d08c6d Remove use of k_funcinfo
svn path=/trunk/KDE/kdegraphics/okular/; revision=702588
2007-08-20 21:38:21 +00:00
Thiago Macieira c778ca36b0 Unbreak compilation.
svn path=/trunk/KDE/kdegraphics/okular/; revision=702547
2007-08-20 20:24:27 +00:00
Script Kiddy a688f5b331 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=702203
2007-08-20 07:38:48 +00:00
Arto Hytönen e8ad05552b kdegraphics QString::null clean-up.
svn path=/trunk/KDE/kdegraphics/okular/; revision=701202
2007-08-17 15:52:06 +00:00
Arto Hytönen 6f00373e1b QString::null fixes and hiding from Krazy.
svn path=/trunk/KDE/kdegraphics/okular/; revision=700833
2007-08-16 15:28:21 +00:00
Laurent Montel d7193013e2 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdegraphics/okular/; revision=695802
2007-08-02 23:54:14 +00:00
Pino Toscano dea213be87 use the proper zero-method with DDJVUAPI_VERSION >= 18
svn path=/trunk/KDE/kdegraphics/okular/; revision=695779
2007-08-02 23:05:45 +00:00
Pino Toscano a9f0d2eb46 Try to extract the text entities (thus the text) from a DjVu document.
At the moment the granularuty of the extracted text is "word", as "char" is quite difficult to find in documents.
Kind of works, let's hope it will like all the documents around.

svn path=/trunk/KDE/kdegraphics/okular/; revision=695740
2007-08-02 20:40:02 +00:00
Script Kiddy b998bc9491 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=695423
2007-08-02 04:55:35 +00:00
Pino Toscano 5150419e81 adapt the debug stuff to the new kdebug way:
- make the output looking more or less like before (using nospace() or removing the spaces)
- remove endl and '\n' at the end of debug outputs
- fixing the QDebug operator<<'s around
- isolate the debug area number of the core into a separate header, and apply it instead of the numbers found in textpage.cpp

svn path=/trunk/KDE/kdegraphics/okular/; revision=694667
2007-07-31 10:19:48 +00:00
Pino Toscano 459192d34f temporarly disable the attachment size detection, as it breaks with poppler 0.6rc1
will be reactivated after the release of poppler 0.6

svn path=/trunk/KDE/kdegraphics/okular/; revision=693750
2007-07-28 22:05:16 +00:00
Pino Toscano f96287978b also add the "compressed" versions of the mmetypes for the Application and the KParts services
svn path=/trunk/KDE/kdegraphics/okular/; revision=693741
2007-07-28 21:30:57 +00:00
Pino Toscano 4611b6ffad svnrevertlast
svn path=/trunk/KDE/kdegraphics/okular/; revision=691707
2007-07-24 08:29:22 +00:00
Aaron J. Seigo a58e671331 build
svn path=/trunk/KDE/kdegraphics/okular/; revision=691639
2007-07-24 05:39:19 +00:00
Thiago Macieira 55f327e0cc Adapt to the new UDSEntry
svn path=/trunk/KDE/kdegraphics/okular/; revision=691624
2007-07-24 04:19:14 +00:00
Laurent Montel 2e59ada023 change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
svn path=/trunk/KDE/kdegraphics/okular/; revision=691222
2007-07-23 07:05:28 +00:00
Script Kiddy 0fc32d6b18 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=689368
2007-07-18 05:47:51 +00:00
Aaron J. Seigo 425252e04a add about data to this generator. also makes a pot file possible again. everyone wins. ;)
svn path=/trunk/KDE/kdegraphics/okular/; revision=688746
2007-07-16 18:54:48 +00:00
Christian Ehrlicher 62ba0d45d0 k3procio--
svn path=/trunk/KDE/kdegraphics/okular/; revision=688262
2007-07-15 16:08:55 +00:00
Pino Toscano 5f3a391744 string -> char for startsWith()
svn path=/trunk/KDE/kdegraphics/okular/; revision=688234
2007-07-15 13:59:35 +00:00
Pino Toscano 8114ea7200 fix or add the include guards
svn path=/trunk/KDE/kdegraphics/okular/; revision=688231
2007-07-15 13:53:26 +00:00
Stephan Kulow 137f5be786 don't overrun array (CID 3864)
svn path=/trunk/KDE/kdegraphics/okular/; revision=688155
2007-07-15 08:17:27 +00:00
Pino Toscano 27e738f238 Start adding backend information to each generator.
Added them for DjVu, TIFF and XPS as a start.
Feel free to add them in the other generators, or to add your name if missing :)

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=687842
2007-07-14 14:00:19 +00:00