Pino Toscano
a71f01234b
delete the internal doc when we close the document, not when we open the new one
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686242
19 years ago
Pino Toscano
b0535907ca
extract the messages from the .ui files as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686066
19 years ago
Allen Winter
5110d1d3f2
remove kde4_automoc()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
19 years ago
Script Kiddy
f12c3a3a6f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685928
19 years ago
Script Kiddy
94aadef88d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685504
19 years ago
Pino Toscano
64d4210634
read correctly the information about font embedding now
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685333
19 years ago
Pino Toscano
3fd552ef21
Extend the FontInfo class to distinguish the different types of font embedding.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685317
19 years ago
Pino Toscano
97f781ff31
reduce the critical section
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685277
19 years ago
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
19 years ago
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
19 years ago
Script Kiddy
ac29f76f55
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=684724
19 years ago
Oswald Buddenhagen
9c883584e7
k3process--
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=684001
19 years ago
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
19 years ago
Benjamin Reed
3f164edcb7
no size in poppler 0.6 rc1
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=682930
19 years ago
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
19 years ago
Script Kiddy
9fb2221299
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=679853
19 years ago
Stephan Binner
2eccd176e2
make .desktop files valid
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678982
19 years ago
Script Kiddy
7c8a8bce4f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678711
19 years ago
Script Kiddy
3211dbbaf5
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678319
19 years ago
Pino Toscano
1380d9c045
urls can't be NULL at this point (CID 3656), same for urls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678155
19 years ago
Albert Astals Cid
fcc47e4106
tell gs exactly the size we want so we don't have off by one problems due to rounding
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=676275
19 years ago
Albert Astals Cid
23d8388a4e
not used anywhere, kill it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=676215
19 years ago
Albert Astals Cid
dfed92ff84
Compile
...
Please Laurent i appreciate your work a lot, but try to compile things after removing includes so see if they still work
CCMAIL: montel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=675725
19 years ago
Laurent Montel
0d00255d64
Fix include
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=675666
19 years ago
Dirk Mueller
f6f5403443
the usual "daily unbreak compilation"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671477
19 years ago
Dirk Mueller
8d80337da4
fix bazillion of memory leaks (CID 3614)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671473
19 years ago
Dirk Mueller
604b53033b
fix various memory leaks. It would be nice to use std::auto_ptr
...
here, but that doesn't work, as its an array. Introducing boost::
scoped_array for that is probably overkill. We're not PIM.
svn path=/trunk/KDE/kdegraphics/okular/; revision=671465
19 years ago
Albert Astals Cid
4218627b6b
QMutex was crashing for Pino, QSemaphore works
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671434
19 years ago
Albert Astals Cid
7e95f76a48
Qt::SmoothTransformation adds up to much AA to remove 1 pixel of width, just go with FastTransformation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671386
19 years ago
Albert Astals Cid
df77d2006a
Use ${LIBGS_LIBRARY} instead of gs so we catch libgs-esp too
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671330
19 years ago
Albert Astals Cid
1bc5808c7d
gs often gives me 634x898 when i asked for 635x898
...
okular needs the pixmap to be the exact size he asked for, so preporcess it
svn path=/trunk/KDE/kdegraphics/okular/; revision=671265
19 years ago
Albert Astals Cid
66875cb874
my gs accepts non int r values, so use them
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671264
19 years ago
Laurent Montel
e31f9ada54
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671220
19 years ago
Pino Toscano
7db5c4f78e
explicitely look for libgs
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671161
19 years ago
Albert Astals Cid
5496dfc30f
small explanation of how backendish things work, maybe DESIGN is a too BIG name for the small text inside
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671160
19 years ago
Albert Astals Cid
6a33bc2924
Rework ghostview generator, not finished but i can see valgrind_manual.ps quite correctly
...
- We don't use libqgs anymore but libgs directly
- We don't use an out of process executable anymore to talk to libqgs
Using libgs is a bit cumbersome (only one gs instance per process)
and almost no other gs viewer does it, but if you look at kghostview code
it's full of X black magic, so going the libgs path feels better
for my sanity and for portability
svn path=/trunk/KDE/kdegraphics/okular/; revision=671156
19 years ago
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
19 years ago
Pino Toscano
b4f2087279
SVN_SILENT remove stray endings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668394
19 years ago
Pino Toscano
79ae8273e2
less warnings for poppler HEAD/0.6 users
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668328
19 years ago
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
19 years ago
Pino Toscano
37eb438999
restore compatibility with poppler 0.5.x
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668322
19 years ago
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
19 years ago
Pino Toscano
03fd060f3f
lazy loading of links, their loading is expensive
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668319
19 years ago
Pino Toscano
06a37c61e9
use the debug area for all the debug messages of the generator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668044
19 years ago
Pino Toscano
a9900ec937
const& and simplify
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=668039
19 years ago
Script Kiddy
9984a73c33
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667190
19 years ago
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
19 years ago
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
19 years ago
Pino Toscano
e0f08ab3e9
delete the khtml part on destruction; remove unused #include
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=667101
19 years ago
Dirk Mueller
37d03accd0
fix memory leak (CID 3620)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=666003
19 years ago