69 Commits (11dfa1036199365bd90142102ec00b5d7c08c855)

Author SHA1 Message Date
Pino Toscano 283852c563 instead of assert()'ing, just acts like a Document and delete the pixmap request 18 years ago
Jakob Petsovits df780d0096 Icon naming spec compliance (code changes - KDE/): 18 years ago
Pino Toscano 66376cf31f make swap() private 19 years ago
Pino Toscano 5b01430bb0 remove internal aboutdata+componentdata of the generator, now it's handled by the plugin system 19 years ago
Pino Toscano 6aa123656a Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far. 19 years ago
Pino Toscano d3f4460d38 add icon for the pdf export format 19 years ago
Pino Toscano 6e37c43c8d don't print the debug stuff between " and " 19 years ago
John Layt 070285e039 Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS. 19 years ago
Pino Toscano 4060ef669e Make the document closing a bit more safe wrt internal threading - the closing waits for the background threads, to avoid aving them running with stale stuff. 19 years ago
Pino Toscano 15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected. 19 years ago
Pino Toscano d51e9fa4d8 remove the private methods of PixmapRequest, and make the Document work with its private class 19 years ago
Pino Toscano 684b146867 SVN_SILENT explicitely initialize the base class 19 years ago
Pino Toscano 4dcadf5544 Add a mutex in the base generator class, so any generator that wants a mutex can use it. 19 years ago
Pino Toscano 78e2377a87 Add a method for generators to know some metadata of the document 19 years ago
Pino Toscano f8ed5302ec - move the Document::requestDone() to the private class, as it's something internal to the generator work 19 years ago
Pino Toscano 006111382b common d_ptr+q_ptr structure for Generator/TextDocumentGenerator, and their private classes 19 years ago
Pino Toscano a8d747745f Cleanup a bit the GuiInterface, and making it work. 19 years ago
Albert Astals Cid 41c25cb208 Back from holiday, let's do some comitting :-) 19 years ago
Thiago Macieira 000dc825e3 Use QDebug instead of kdbgstream 19 years ago
Pino Toscano e5037f45b1 Refator a bit the way Document and the generators use to read the font information from a document. 19 years ago
Pino Toscano 2e024d6d96 generalize a bit more the way for constructing "standard" ExportFormat's 19 years ago
Pino Toscano fc97f3b23b on demand creation of the auxiliary threads 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 19 years ago
Pino Toscano 166ba5b87a move the Generator::Private to a GeneratorPrivate, and move the implementations of the provate threads to a cpp 19 years ago
Albert Astals Cid 0d47b62715 krazy include order issues 19 years ago
Pino Toscano df5b2c3329 make ExportFormat implicitely shared, especially because it's mostly a "read-only" class 19 years ago
Pino Toscano 1117200950 constness for document() 19 years ago
Pino Toscano 6ea5badeab don't try to start a text extraction thread if the generator does not extract text 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 19 years ago
Pino Toscano 2ef46f8d90 simplify a bit the export action creation code 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). 19 years ago
Pino Toscano fd7434c95a Add support for custom generator about data (and potentially for custom configuration). 19 years ago
Tobias Koenig 0847edc4b7 Add a second parameter to requestTextPage/generateTextPage where you can 19 years ago
Pino Toscano ef55f74682 lazy creation of the generation threads within Generator, so generators that don't make use of the builtin thread don't create a pair of unused threads 19 years ago
Pino Toscano 92ea1bba69 Last step of the ThreadedGenerator -> Generator merge: remove the old files and rename the used file. 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. 19 years ago
Tobias Koenig baf1fb2870 Several changes: 19 years ago
Pino Toscano 55dfb87f3f simplify a bit the Feature system: move it to the base Generator class, and add a protected method to switch a feature on and off easily - no more need to copy&paste hasFeature() anymore 19 years ago
Tobias Koenig d94f0e507e Add support for threaded extraction of text pages, now we just have to 19 years ago
Tobias Koenig d227a94e79 First part of the porting to a threaded api for generators 19 years ago
Pino Toscano 4f6666d509 also the page size is a feature, so thread it as such (and remove supportsPageSizes()) 19 years ago
Pino Toscano 135a18b407 get rid of supportsSearching() by using a proper feature 19 years ago
Pino Toscano 468a0da775 bye bye canGenerateTextPage(), unused nowadays 19 years ago
Pino Toscano 24ec1e37c5 Add the ability to read from standard input, eg 19 years ago
Pino Toscano 18fab3d130 Improve the way we deal with generators that give the possibility to change the size of the pages: instead of let them destroy and recreate the pages (bad), ask them the sizes they support, then do the work ourselves and notify the generator when the work is done. 19 years ago
Pino Toscano 4b922367e2 Use a proper enum to deal with orientation/rotation all around okular. 19 years ago
Tobias Koenig 86a1fd3b69 Big cleanup of Document API and documentation: 19 years ago
Tobias Koenig 2aa8a4c31b Moved SourceReference into its own file 19 years ago
Pino Toscano 915a48eb4d move the Generator configuration stuff into a new ConfigInterface 19 years ago
Pino Toscano d9a844d67c move the GUI stuff out of Generator in an own GuiInterface, and adapt the ghostscript generator to its usage; renamed also some methods to more Qt4-ish names. 19 years ago