Matthias Kretz
4e7fa038b4
adapt to phonon-Trolltech branch API changes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=698536
19 years ago
Script Kiddy
b998bc9491
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=695423
19 years ago
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
19 years ago
Pino Toscano
9b92fa1d41
no need to set the complete viewport of new page bookmarks, the page number is enough
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=694538
19 years ago
Thiago Macieira
000dc825e3
Use QDebug instead of kdbgstream
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=694533
19 years ago
Pino Toscano
6254f609d8
really return an int where we are going to return an int, not a bool
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=694515
19 years ago
Pino Toscano
1c9b4bae68
SVN_SILENT fixing the include guard, the revenge
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=693932
19 years ago
Pino Toscano
d92fa39e65
simplier copy
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=692434
19 years ago
Pino Toscano
23337e1c71
move the number of maximum and saved history step into a single location for both
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691448
19 years ago
Pino Toscano
a6c0f7d46d
it makes no sense having a returned type for the base Annotation class (that can not be instanced directly)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691107
19 years ago
Pino Toscano
aa8155f8ed
decouple the transformation applying and resetting methods, and reset the transformation when setting a new bonding rect or translating
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691056
19 years ago
Pino Toscano
857d423c46
Correctly (hopefully) translate the text annotations now.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=691048
19 years ago
Script Kiddy
0fc32d6b18
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=689368
19 years ago
Pino Toscano
536b632536
Correctly translate the ink annotations now.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=689204
19 years ago
Pino Toscano
ba765a3b69
give the right parent page to the annotations also when restoring them from xml
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=689162
19 years ago
Pino Toscano
0e7aeb2ba8
no need to set a new rotation if it's equal to the currently set
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=689135
19 years ago
Pino Toscano
b41dcfeddc
- store a pointer of the owning page in each annotation
...
- preliminary API for translating an annotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=689133
19 years ago
Pino Toscano
65f4831365
correct markup 2, the revenge
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688312
19 years ago
Pino Toscano
26857d5433
SVN_SILENT don't allocate a matrix in the rare case there's no need for it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688310
19 years ago
Pino Toscano
3c009773ca
__linux__ -> Q_OS_LINUX
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688273
19 years ago
Christian Ehrlicher
eff4ffe995
win32 compile++
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688272
19 years ago
Pino Toscano
b73555b7f3
Windows functions to get the amount of total and free memory.
...
Patch by Huhn Put, thanks!
CCMAIL: nhuh.put@web.de
svn path=/trunk/KDE/kdegraphics/okular/; revision=688271
19 years ago
Pino Toscano
905f6c0946
int -> qulongqlong for the memory sizes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688263
19 years ago
Christian Ehrlicher
a913ceb5fd
win32 compile++
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688260
19 years ago
Pino Toscano
88474e3e46
manually iterate in RegularArea instead of using Q_FOREACH, it seems msvc does not like it in template classes
...
remove the return value in a void function
svn path=/trunk/KDE/kdegraphics/okular/; revision=688259
19 years ago
Pino Toscano
5f38c3305f
typos
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688232
19 years ago
Pino Toscano
8114ea7200
fix or add the include guards
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=688231
19 years ago
Pino Toscano
dab13e8241
SVN_SILENT improve apidox for setAboutData()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687845
19 years ago
Pino Toscano
fea03a9bbd
appName -> catalogName, even for the information we get from the about data
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687836
19 years ago
Pino Toscano
66518d52a7
Do not delete the kde bookmark manager here, it's automatically deleted.
...
This fixes a crash on close after being embedded, making okular finally usable as print preview component :)
svn path=/trunk/KDE/kdegraphics/okular/; revision=687815
19 years ago
Pino Toscano
5387c50960
Make the Configure backends dialog working, of course if the generators have the proper support for "mutable" configuration.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687065
19 years ago
Pino Toscano
43f83cb967
move the calculation of the number of configurable generators to the Document, and start to store the information about the configurability of a generator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=687014
19 years ago
Pino Toscano
a07b2ca166
Properly build the url of the external sound to be played.
...
This makes okular able to play external sounds again :)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686652
19 years ago
Script Kiddy
94e66ff910
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686331
19 years ago
Pino Toscano
f76f15470a
Add the file size to the document information that the generator may provide.
...
Avoid crashing if the generators provides no information.
(Implements part (a) of KPDF #140109.)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686290
19 years ago
Pino Toscano
b861878436
RegularAreaRect needs to be exported
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686286
19 years ago
Pino Toscano
2dd2506b8d
forward declare what we can, so including area.h is no more needed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686282
19 years ago
Pino Toscano
fbe8dbf108
promote RegularAreaRect from a typedef to a class, a bit more easy to eventually expand in the future
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686281
19 years ago
Pino Toscano
ffd5ed0280
the dialog for choosing backend is private, so let its header be _p.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686276
19 years ago
Pino Toscano
f28acc1e74
correct markup
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=686267
19 years ago
Pino Toscano
f5c216b19c
extract the private class of AudioPlayer out of the implementation, so the Document can store the url of the current document;
...
disable the playing of external sounds for remote (non-local) documents;
simple compile fix in the embedded sound paying code
svn path=/trunk/KDE/kdegraphics/okular/; revision=686133
19 years ago
Pino Toscano
f1d5e478ba
init fix
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685658
19 years ago
Pino Toscano
964424d62f
stop gracefully the font extraction thread when closing a document or the properties dialog; make the thread deleting itself when finished
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=685437
19 years ago
Pino Toscano
d746b667a4
minor renamings in the EmbedType enum:
...
- EmbeddedSubSet -> EmbbededSubset
- Embedded -> FullyEmbedded
svn path=/trunk/KDE/kdegraphics/okular/; revision=685329
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
8a31e6f3f0
Allow the user to change the visible part(s) of the document by dragging the visible areas in the thumbnails, and to change the zoom of the document by Ctrl+wheel on them.
...
Patch by Diego R. Brogna, thanks a lot!
BUG: 135521
svn path=/trunk/KDE/kdegraphics/okular/; revision=685273
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
Albert Astals Cid
2437917e47
Do not start numberOfPagesWithPixmaps threads because that brings the system down, just start what threadweaver thinks its best
...
Probably still have to tell the weaver how to optimize for memory consumption but it's an improvement anyways
svn path=/trunk/KDE/kdegraphics/okular/; revision=683383
19 years ago
Albert Astals Cid
723c3a482a
move rotationjob.h to rotationjob_p.h
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=683286
19 years ago