Pino Toscano
0d320f0b78
SVN_SILENT
...
use the kde debug system in a kde library
svn path=/trunk/KDE/kdegraphics/okular/; revision=665724
19 years ago
Pino Toscano
c4ea50c99b
Forwardport SVN commit 665684 by pino:
...
When getting the result of a pixmap request for an observer that went away in the meanwhile, don't create a memory entry for the pixmap, as we assume the allocated pixmaps fifo holds only descriptors for valid observers.
(fixed KPDF #143951 )
svn path=/trunk/KDE/kdegraphics/okular/; revision=665685
19 years ago
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
19 years ago
Pino Toscano
8f03f0d0d7
try to lock the pixmap requests queue with a mutex, hoping to solve some of our problems
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=663991
19 years ago
Pino Toscano
325b8711ea
move the setTextSelections, setHighlight and deleteHighlights to the private class of Page, as they are private for now
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661486
19 years ago
Dirk Mueller
43a23a2de6
the usual "daily unbreak compilation"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=661101
19 years ago
Pino Toscano
6aaefb7f68
"pdf"/"pdf file" -> "document"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660526
19 years ago
Pino Toscano
b53ba3cd24
make widget() slightly safier, and pass it as parameter when running an url (closing a TODO item)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660524
19 years ago
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
19 years ago
Pino Toscano
892df34b19
any negative page number represents an invalid viewport
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660436
19 years ago
Pino Toscano
e79cd474d9
move the Page rotating and changing page functions to the private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660214
19 years ago
Pino Toscano
7cfa67ecf4
improve a bit the Document::setPageSize API -- better pass the size, and not an index
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660208
19 years ago
Pino Toscano
0f4cd40e26
slotRotation -> setRotation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660207
19 years ago
Pino Toscano
dc4acc7b83
KLibrary::globalLibrary -> KLibrary::library
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=660035
19 years ago
Pino Toscano
13d14942e6
first step of a KPDF -> okular conversion: copy the data file for the document to be opened to the new place
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656648
19 years ago
Pino Toscano
7e3b7236fb
fix sillyness happened when renaming ;(
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656251
19 years ago
Pino Toscano
9134ad4669
make the Document access to the private class of Generator, so we can get rid of the public setDocument
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=656222
19 years ago
Pino Toscano
0e12746a92
Link -> Action renaming.
...
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction
svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
19 years ago
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
19 years ago
Pino Toscano
f3e484082d
Link -> Action renaming.
...
Step #1 : link.(cpp|h) -> action.(cpp|h)
svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Pino Toscano
3f84c8ccad
move modifyAnnotation to the private class
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655132
19 years ago
Pino Toscano
acd19bc8f7
move the Page serialization functions to the private class, and make Document access to them
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=653988
19 years ago
Pino Toscano
efb6a5bcc6
rename Document::Private to DocumentPrivate
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=653987
19 years ago
Pino Toscano
ff25e151c5
new kdelibs API
...
svn path=/trunk/playground/graphics/okular/; revision=649300
19 years ago
Albert Astals Cid
5365f79d6d
fordwardport r648173 kpdf/branches/KDE/3.5/kdegraphics/kpdf/ (4 files in 3 dirs):
...
Give KMessageBoxes a parent widget.
DVI plugin is missing 4 messageboxes, some work has to be done to get them know the document() so they can call widget()
svn path=/trunk/playground/graphics/okular/; revision=648175
19 years ago
Pino Toscano
36b894c75a
Create a (private) PageController that handles the rotation jobs from all the pages.
...
This removes the needs for Page to be a QObject (it's the PageController that connects to the jobs and emits the right signals), so it again a "cheap" object.
svn path=/trunk/playground/graphics/okular/; revision=646010
19 years ago
Pino Toscano
49c2a80585
keep the name of the current generator, and make it possible to load the custom translation of the backend
...
svn path=/trunk/playground/graphics/okular/; revision=641598
19 years ago
Pino Toscano
1bfc805a3e
it does not make much sense to check for a serie of permissions at the same time, so just check one permission at a time
...
svn path=/trunk/playground/graphics/okular/; revision=641341
19 years ago
Pino Toscano
1316811082
Cache the export formats, so we can know better if the text/plain formst is supported by the backend (and act accordingly).
...
svn path=/trunk/playground/graphics/okular/; revision=641302
19 years ago
Pino Toscano
bc8036dc62
they are constant methods, so let them be 'const'
...
svn path=/trunk/playground/graphics/okular/; revision=641248
19 years ago
Pino Toscano
6d16cfd1f6
krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=641195
19 years ago
Pino Toscano
1ac4578301
init the debug area number
...
svn path=/trunk/playground/graphics/okular/; revision=641179
19 years ago
Brad Hards
7f373a206a
Minor cleanups - stray whitespace, use the debug area
...
for kDebug(), don't use kWarning() for general debugging.
svn path=/trunk/playground/graphics/okular/; revision=641120
19 years ago
Pino Toscano
fd7434c95a
Add support for custom generator about data (and potentially for custom configuration).
...
svn path=/trunk/playground/graphics/okular/; revision=640348
19 years ago
Tobias Koenig
1a0cd8acbd
SVN_SILENT help debugging
...
svn path=/trunk/playground/graphics/okular/; revision=637697
19 years ago
Pino Toscano
7e4b9d2170
a small copy&paste error that broke the Google-any search
...
svn path=/trunk/playground/graphics/okular/; revision=632854
19 years ago
Pino Toscano
1d27a90fd3
a slightly better usage of the Qt containers, saving also some lookups when using the QMap's
...
svn path=/trunk/playground/graphics/okular/; revision=632853
19 years ago
Pino Toscano
e9bcc53bc1
a pair of "cleanups" when deleting a Document
...
svn path=/trunk/playground/graphics/okular/; revision=630505
19 years ago
Pino Toscano
1e7cb0b2eb
First version of an audio player for okular, able to play the sounds in the documents.
...
At the moment is quite simple and works only for external sounds.
Activate the sound playing when processing links and when switching pages in presentation mode only.
svn path=/trunk/playground/graphics/okular/; revision=630315
19 years ago
Albert Astals Cid
1587b9605a
unnecessary but fun small optimizations, basically avoid unnecessary detach() calls by ensuring the const method is called
...
also remove a double search on a qmap
svn path=/trunk/playground/graphics/okular/; revision=629869
19 years ago
Tobias Koenig
0847edc4b7
Add a second parameter to requestTextPage/generateTextPage where you can
...
specify whether the request should be synchronous or asynchronous
svn path=/trunk/playground/graphics/okular/; revision=628893
19 years ago
Pino Toscano
6068c76df6
Merge the new functions of ThreadedGenerator into the base Generator: this means that there's again only a single base Generator that can provide the multithreading for the generation of contents, just pixmaps for now.
...
svn path=/trunk/playground/graphics/okular/; revision=628853
19 years ago
Pino Toscano
63cc92be1c
isolate the generator unloading code
...
svn path=/trunk/playground/graphics/okular/; revision=628576
19 years ago
Pino Toscano
23d666cf7f
move the DRM skip checks to the Document
...
svn path=/trunk/playground/graphics/okular/; revision=628208
19 years ago
Tobias Koenig
baf1fb2870
Several changes:
...
- renamed signalRequestDone to signalPixmapRequestDone to allow a future signalTextPageRequestDone
- added error/warning/notice signals to TextDocumentConverter and add meaningful error messages
to ooo and fictionbook generator
- code cleanup in chm generator
- print improvements and error notification in kimgio generator
svn path=/trunk/playground/graphics/okular/; revision=628124
19 years ago
Pino Toscano
10a6e3943e
SVN_SILENT small #include cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=627931
19 years ago
Pino Toscano
e0cb30ffbf
Ok, now really load the generators that are supposed to have a setting widget when we want to configure them.
...
svn path=/trunk/playground/graphics/okular/; revision=627921
19 years ago
Pino Toscano
d6e7010942
Refactor a bit the way we load the generator libraries: hide the hash with the Generator completely into the Document, so the Document have the complete control over them.
...
Add fillConfigDialog() and supportedMimeTypes() to the Document, so the Part can get all the info it needs with no need to own the generator structure.
This also loads all the generators when asking for their config widget, but that can be improved easily now; furthermore, all the generators used to load documents are kept.
svn path=/trunk/playground/graphics/okular/; revision=627909
19 years ago
Tobias Koenig
6541b015e4
Make failing to open a document a bit nicer ;)
...
svn path=/trunk/playground/graphics/okular/; revision=627477
19 years ago