Andreas Pakulat
8cac1e3509
Merge KConfig branch
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=721735
2007-10-06 00:01:16 +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
Bernhard Loos
5412b15459
port parts of kdegraphics
...
svn path=/branches/work/kde4_kconfig/kconfig/port_trunk/kdegraphics/okular/; revision=720917
2007-10-04 01:19:39 +00:00
Pino Toscano
e461f0c113
don't include kpixmapeffect.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=720047
2007-10-02 08:05:52 +00:00
Pino Toscano
7e150aeb43
don't leak the internal documents, but properly delete them
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=719297
2007-09-30 20:51:19 +00:00
Pino Toscano
35d64add5c
fix a couple of memory leaks
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=719233
2007-09-30 16:37:10 +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
Albert Astals Cid
be1fd1e777
SVN_SILENT clean
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=716400
2007-09-24 17:02:39 +00:00
Albert Astals Cid
f99fe6128d
take into account page orientation when rendering
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=716397
2007-09-24 16:58:48 +00:00
Pino Toscano
9ec65271fa
SVN_SILENT old stuff
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=716091
2007-09-23 23:39:34 +00:00
Pino Toscano
4edda7b967
provide the title of the document, if it has any
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=716089
2007-09-23 23:27:50 +00:00
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
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
Laurent Montel
889031ab1d
Remove not necessary cmake variable
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686601
2007-07-11 19:14:25 +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
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
2007-07-10 21:07:48 +00:00
Pino Toscano
b0535907ca
extract the messages from the .ui files as well
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686066
2007-07-10 14:33:10 +00:00
Allen Winter
5110d1d3f2
remove kde4_automoc()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
2007-07-10 14:11:49 +00:00
Script Kiddy
f12c3a3a6f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685928
2007-07-10 04:38:13 +00:00
Script Kiddy
94aadef88d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685504
2007-07-09 04:51:20 +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
Oswald Buddenhagen
9c883584e7
k3process--
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=684001
2007-07-05 21:21:16 +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
Stephan Binner
2eccd176e2
make .desktop files valid
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678982
2007-06-22 17:51:04 +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
1380d9c045
urls can't be NULL at this point (CID 3656), same for urls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=678155
2007-06-20 19:41:29 +00:00
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
2007-06-16 14:11:32 +00:00
Albert Astals Cid
23d8388a4e
not used anywhere, kill it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=676215
2007-06-16 10:12:27 +00:00
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
2007-06-14 20:57:50 +00:00
Laurent Montel
0d00255d64
Fix include
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=675666
2007-06-14 16:57:55 +00:00
Dirk Mueller
f6f5403443
the usual "daily unbreak compilation"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671477
2007-06-04 20:50:47 +00:00
Dirk Mueller
8d80337da4
fix bazillion of memory leaks (CID 3614)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671473
2007-06-04 20:48:51 +00:00
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
2007-06-04 20:32:17 +00:00
Albert Astals Cid
4218627b6b
QMutex was crashing for Pino, QSemaphore works
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671434
2007-06-04 19:34:26 +00:00
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
2007-06-04 16:36:21 +00:00
Albert Astals Cid
df77d2006a
Use ${LIBGS_LIBRARY} instead of gs so we catch libgs-esp too
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671330
2007-06-04 14:09:43 +00:00
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
2007-06-04 11:16:41 +00:00
Albert Astals Cid
66875cb874
my gs accepts non int r values, so use them
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671264
2007-06-04 11:15:13 +00:00
Laurent Montel
e31f9ada54
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671220
2007-06-04 07:44:15 +00:00
Pino Toscano
7db5c4f78e
explicitely look for libgs
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=671161
2007-06-03 22:41:47 +00:00
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
2007-06-03 22:39:02 +00:00
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
2007-06-03 22:28:29 +00:00