Commit graph

210 commits

Author SHA1 Message Date
Script Kiddy
4973559541 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=729164
2007-10-25 07:10:56 +00:00
Pino Toscano
3237f94761 use 'graphics-viewer-document' as icon in our .desktop files
svn path=/trunk/KDE/kdegraphics/okular/; revision=728493
2007-10-23 13:12:33 +00:00
John Layt
070285e039 Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
*** Note this is not a complete port, most of the generators use the 
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution.  At least it removes
the dependency so we can remove from kdelibs.

svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
2007-10-15 23:01:27 +00:00
Script Kiddy
d5fcbc09a8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=724043
2007-10-11 08:09:20 +00:00
Pino Toscano
15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected.
Added a non-virtual closeDocument() in the base Generator class: this way, particular closing routines can be implemented in the "low level" of a generator.
Apart the renaming, the logic of doCloseDocument() remains the same.

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=723046
2007-10-08 16:46:51 +00:00
Script Kiddy
d5dc96cb3b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=720951
2007-10-04 05:56:53 +00:00
Script Kiddy
44dd16d127 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=717659
2007-09-27 09:33:48 +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
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
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
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
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
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
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
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
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
Script Kiddy
c1a3a10aa0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686774
2007-07-12 05:01:50 +00:00
Script Kiddy
94e66ff910 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686331
2007-07-11 04:57:14 +00:00
Allen Winter
5110d1d3f2 remove kde4_automoc()
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
2007-07-10 14:11:49 +00:00
Pino Toscano
64d4210634 read correctly the information about font embedding now
svn path=/trunk/KDE/kdegraphics/okular/; revision=685333
2007-07-08 16:26:24 +00:00
Pino Toscano
3fd552ef21 Extend the FontInfo class to distinguish the different types of font embedding.
svn path=/trunk/KDE/kdegraphics/okular/; revision=685317
2007-07-08 16:07:37 +00:00
Pino Toscano
97f781ff31 reduce the critical section
svn path=/trunk/KDE/kdegraphics/okular/; revision=685277
2007-07-08 14:33:50 +00:00
Pino Toscano
2048eada89 the fonts OT are only for Poppler 0.6, so make the generator compile again for poppler 0.5 users
svn path=/trunk/KDE/kdegraphics/okular/; revision=685210
2007-07-08 09:10:55 +00:00
Pino Toscano
e5037f45b1 Refator a bit the way Document and the generators use to read the font information from a document.
Instead of having a synchronous function that extracts all the information at once, use a function to read the fonts of a single page.
This way, we can get all the result step by step (aka page by page), and possibly in an asynchronous way.
The resuls of the font "scanning" are sent via signals, as well the end of the work.
So, instead of block waiting for the results of all the document at once, the Fonts tab in the properties dialog can have a progress bar with the progress, and the results (the fonts) that are added incrementally to the list.

Only two minor things are left:
- the process is always asynchronous at the moment, as the only generator that can provide this kind of information is the Poppler one (safe)
- there is no check for duplicate fonts
But they should be easy to solve.

svn path=/trunk/KDE/kdegraphics/okular/; revision=685002
2007-07-07 20:35:01 +00:00
Script Kiddy
ac29f76f55 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=684724
2007-07-07 04:51:50 +00:00
Pino Toscano
05c01834c5 well, size() is for "poppler 0.6", the rc1 is still 0.5 :-D
svn path=/trunk/KDE/kdegraphics/okular/; revision=682935
2007-07-03 17:47:51 +00:00
Benjamin Reed
3f164edcb7 no size in poppler 0.6 rc1
svn path=/trunk/KDE/kdegraphics/okular/; revision=682930
2007-07-03 17:38:01 +00:00
Pino Toscano
2602037fb9 display (if available) the file size for attachments, courtesy of Albert for his work in poppler
svn path=/trunk/KDE/kdegraphics/okular/; revision=682847
2007-07-03 14:47:16 +00:00
Script Kiddy
9fb2221299 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=679853
2007-06-25 05:24:26 +00:00
Script Kiddy
7c8a8bce4f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=678711
2007-06-22 05:13:04 +00:00
Script Kiddy
3211dbbaf5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=678319
2007-06-21 05:01:46 +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
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
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
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