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
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