Commit graph

187 commits

Author SHA1 Message Date
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
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
Albert Astals Cid
3bd28d1fbb fix indentation
svn path=/trunk/KDE/kdegraphics/okular/; revision=664727
2007-05-14 18:51:13 +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
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
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
2654c1b16b set a proper WId for KWallet -- thanks Lubos for the kind remind :)
svn path=/trunk/KDE/kdegraphics/okular/; revision=659706
2007-04-30 17:13:58 +00:00
Luboš Luňák
6843ce2916 No default window argument to kwallet calls.
svn path=/trunk/KDE/kdegraphics/okular/; revision=659643
2007-04-30 15:04:29 +00:00
Script Kiddy
46781db872 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=658969
2007-04-29 05:00:55 +00:00
Albert Astals Cid
3ff1d4b9be adapt to poppler head change
svn path=/trunk/KDE/kdegraphics/okular/; revision=658743
2007-04-28 12:01:25 +00:00
Pino Toscano
f61e86d542 Adapt to the recent changes in Poppler HEAD, mainly in the posibility to generate links anytime, and not just as a result of a pixmap generation.
svn path=/trunk/KDE/kdegraphics/okular/; revision=658738
2007-04-28 11:30:55 +00:00
Pino Toscano
fa7ec200a4 this is no more needed
svn path=/trunk/KDE/kdegraphics/okular/; revision=658624
2007-04-27 22:57:08 +00:00
Pino Toscano
1248d82976 Keep it up to the recent poppler HEAD changes:
- add the title when printing
- add a print settings page for the rasterization option
both were already there in KPDF, just waiting for their counterpart in poppler.

svn path=/trunk/KDE/kdegraphics/okular/; revision=658608
2007-04-27 22:10:08 +00:00
Pino Toscano
db817781c9 cache the font names instead of reinit them every time we want the information about fonts
svn path=/trunk/KDE/kdegraphics/okular/; revision=656936
2007-04-22 19:16:38 +00:00
Pino Toscano
7ad2256498 let poppler calculate width and height
svn path=/trunk/KDE/kdegraphics/okular/; revision=656830
2007-04-22 13:05:20 +00:00
Pino Toscano
76171e38e6 manual activate the antialiasing for both text and gfx, if using poppler HEAD
svn path=/trunk/KDE/kdegraphics/okular/; revision=656807
2007-04-22 12:17:46 +00:00
Pino Toscano
2e024d6d96 generalize a bit more the way for constructing "standard" ExportFormat's
svn path=/trunk/KDE/kdegraphics/okular/; revision=656426
2007-04-21 11:09:41 +00:00
Pino Toscano
214883d582 free the resources when we close the document
svn path=/trunk/KDE/kdegraphics/okular/; revision=656214
2007-04-20 16:17:12 +00:00
Pino Toscano
5f21b15d99 Link -> Action renaming.
Step #2: Link -> Action for the action hierarchy, and for the ObjectRect type.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
2007-04-20 12:37:12 +00:00
Pino Toscano
f3e484082d Link -> Action renaming.
Step #1: link.(cpp|h) -> action.(cpp|h)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
2007-04-20 11:26:05 +00:00
Albert Astals Cid
0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Chusslove Illich
120e3a6d79 i18n fixes.
svn path=/trunk/KDE/kdegraphics/okular/; revision=655194
2007-04-17 22:05:28 +00:00