Commit graph

443 commits

Author SHA1 Message Date
Pino Toscano d088e2f631 remove all the Makefile.am, as they are no more needed
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547662
2006-06-02 22:13:10 +00:00
Dirk Mueller 8ab527f601 fix memory leak (I love copy&paste code) (CID 2231)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=544253
2006-05-24 08:57:40 +00:00
Pino Toscano 7049feb8de port to the new kdelibs api; mainly ktrader usage and URL -> Url
svn path=/branches/work/kde4/playground/graphics/okular/; revision=543576
2006-05-22 14:02:24 +00:00
Pino Toscano ec385777e6 IO_ReadOnly -> QIODevice::ReadOnly
svn path=/branches/work/kde4/playground/graphics/okular/; revision=541290
2006-05-15 21:31:53 +00:00
Albert Astals Cid f35231d39c Piotr is not acting as mantainer, so the file is lying
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540833
2006-05-14 19:11:03 +00:00
Pino Toscano f8de9e780e adapt to the recent cmake changes
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540372
2006-05-13 09:10:26 +00:00
Albert Astals Cid c2da771144 compile
svn path=/branches/work/kde4/playground/graphics/okular/; revision=538754
2006-05-08 19:26:45 +00:00
Pino Toscano fc51c9b24e activate a missing connection; less deprecated functions
svn path=/branches/work/kde4/playground/graphics/okular/; revision=538064
2006-05-06 17:12:13 +00:00
Albert Astals Cid 4e1c6cfbb8 fordwardport r535156
svn path=/branches/work/kde4/playground/graphics/okular/; revision=535163
2006-04-28 18:08:04 +00:00
Pino Toscano 622cea4f92 put a toolbutton in the toolbar instead of the so loooong combobox, and fix the connection. still crashes, though
svn path=/branches/work/kde4/playground/graphics/okular/; revision=533654
2006-04-25 12:37:27 +00:00
Pino Toscano e3994658b6 make it compile with the new snapshot
port to the new i18n api

svn path=/branches/work/kde4/playground/graphics/okular/; revision=528345
2006-04-10 19:50:00 +00:00
Albert Astals Cid e1a52ccdd9 adapt to new snapshot
svn path=/branches/work/kde4/playground/graphics/okular/; revision=528321
2006-04-10 18:50:27 +00:00
Pino Toscano 8d25788703 less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525545
2006-04-02 12:36:55 +00:00
Pino Toscano 55bc51a6d0 less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525131
2006-03-31 21:51:45 +00:00
Pino Toscano 58a391e7a2 improve a bit
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524837
2006-03-31 11:22:29 +00:00
Pino Toscano 22c45feb7e less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524154
2006-03-29 20:43:48 +00:00
Pino Toscano 4bd3b60d6c less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
2006-03-29 17:16:46 +00:00
Laurent Montel 3d0eefb6d4 Add support for cmake (not tested for the moment)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661
2006-03-26 12:19:40 +00:00
Albert Astals Cid cbb8e80154 some more compile changes, now let's see basketball
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521882
2006-03-23 19:02:55 +00:00
Albert Astals Cid b261381531 shell builds
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521181
2006-03-21 20:03:08 +00:00
Albert Astals Cid 30c2f8067d oKular goes poppler
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520367
2006-03-19 18:03:43 +00:00
Albert Astals Cid 6cf12beee4 Piotr is the mantainer of oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=493541
2006-01-02 16:29:49 +00:00
Albert Astals Cid ae1278fec1 branch port 493109
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=493111
2006-01-01 16:00:37 +00:00
Piotr Szymanski d09fd28b89 - MERGE KPDF 3.5 CHANGES
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
2005-11-04 11:59:51 +00:00
Albert Astals Cid 3a09624824 some more kpdf -> oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471466
2005-10-17 19:16:31 +00:00
Piotr Szymanski d5c57158b5 - rename to oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471444
2005-10-17 18:34:58 +00:00
Piotr Szymanski 62c13336a3 - moving more
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471439
2005-10-17 18:27:21 +00:00
Piotr Szymanski 8b5a0e4746 - dont know what it does, but hey its a change and it works
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445398
2005-08-11 03:41:30 +00:00
Piotr Szymanski 36ab5c8965 - make generators plugins by:
* moving all xpdf stuff from core and part to inside generator_pdf
   * adding abstract KPDFText class and KPDFTextEntity to hold either
     glyph, or word or textline
- support for importing PS files as pdf like on annots branch
- synced with annots branch
- abstract text layer with search for words in different lines
- added RegularArea<NormalizedShape,Shape> template class
  which inherits QValueList<NormalizedShape*> and is used
  to hold regular areas of given shape (finite collections of the shape)
- loading of relevant generators via ktrader for given mimetype
- the deliverables 1 and 2 of my SoC proposition are delivered
  next: 1. fix one spotted regression and 2. code ghostview backend


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434883
2005-07-15 18:20:57 +00:00
Piotr Szymanski f5bbf89218 - support for taking getting a list of suported mimelsit and nice generation of it
based on what generators provide via ktrader, includes caching the mimetype list
- handling of compressed files added too
- both fucntions basedo kviewshell's version that Wilfried Huss suggested, although with 
  significant remodelling by myself, still i see no problem on adding relevant copyrights
  to this file for the original functions' author just tell me how he/she is

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434859
2005-07-15 17:17:13 +00:00
Piotr Szymanski 6e8a08f692 - make the Page column in TOC configurable with secret config option instead of compile time switch
- mark one function to remove later
- add one more category to desktop file to be more vfolders compliant

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=431970
2005-07-05 19:10:48 +00:00
Enrico Ros e7fadb9ab5 merged patch_088 (tinyurl.com/8t5ec)
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=428593
2005-06-24 16:43:45 +00:00
Albert Astals Cid daf99824ee Change "Get new stuff" to something more meaningfull
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=427164
2005-06-19 21:01:28 +00:00
Enrico Ros cec5d1143f applying patch_081
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425033
2005-06-13 17:40:58 +00:00
Enrico Ros cdec4298f9 applying patch_058,061,063,073
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424916
2005-06-13 12:15:41 +00:00
Enrico Ros 08e1cfaa2d applied patch_034
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424887
2005-06-13 11:32:52 +00:00
Albert Astals Cid bc1806e218 - Do not reattach the dcop client
- Keep the original url on the document so we can open relative file names
 - Add Enrico and my copyright

svn path=/trunk/kdegraphics/kpdf/; revision=386244
2005-02-04 22:35:44 +00:00
Enrico Ros 93c1d3845d Implemented history (implementation is inside Document. actions (2) are in
Part). Implemented 'history (xpdf's LinkAction) links'. History depth is
 100 steps by default (this is enough for sure, clicking 100 times on a
 button is not an easy task :-).

Minor issues (removed half TODOs in code, all FIXMEs are already removed):
Invoke mailer on 'mailto:' links inst instead of konqueror.
Actions cleanup: disable actions like 'print', 'preview', 'save to..', etc
 when there isn't an active document. Added history actions to the toolbar
 in place of the 'prev_page' and 'next_page' ones. Fixed open+open_recent
 action tooltip and behavior.
Move definition and implementation of PagePainter class to ui/pagepainter
 from core/page.
Valgrinded and leakchecked (2 memory leaks spotted and fixed (missing
 contents deletion in KPDFGeneratorThread and missing deletion of
 PixmapRequests on cancel in Document::requestPixmaps())).

svn path=/trunk/kdegraphics/kpdf/; revision=382960
2005-01-27 17:31:07 +00:00
Enrico Ros e65c7058c3 Added the MiniBar class, a layouted widget that displays current page
number, the total number of pages and a little grahical 'progress'
 indicator. Moved 'next page' and 'prev page' buttons from the main toolbar
 to the MiniBar. Minibar lets you edit the page number, click or wheel on
 progress, go to next/prev page, show the gotoPage dialog.
Added rmb popup when clicking on thumbnails. When clicking, the
 ThumbnailList only emits the same signal emitted by PageView so the same
 context menu is displayed.
Misc fixes: [MEM] enabled allocated pages raising in queue when displayed
 again, [ThumbnailList] enabled PageUp/PageDown.

svn path=/trunk/kdegraphics/kpdf/; revision=382597
2005-01-26 10:42:07 +00:00
Enrico Ros 3ba7c53676 Fix preloading. It does real good now.
Fix cache deallocator. Hard avoids swapping memory or filling it up to the
limit (allocated pages are referenced in an internal add/remove FIFO).
Merged open and open_recent buttons as many users requested.
Using viewmag icon for find-as-you-type popup.
Disabled debug output. Updated todo with the roadmap to release.
- Need to audit the memory code and choose good default policies now.

svn path=/trunk/kdegraphics/kpdf/; revision=380494
2005-01-20 17:33:05 +00:00
Stephan Binner 6d12abbcff Set InitialPreference=7
svn path=/trunk/kdegraphics/kpdf/; revision=378493
2005-01-14 18:07:37 +00:00
Albert Astals Cid 84cd9eb564 Terminal=0 -> Terminal=false
Add a ; add the end of Categories list
Blame icefox scripts if that is not correct

svn path=/trunk/kdegraphics/kpdf/; revision=376909
2005-01-09 16:59:04 +00:00
Albert Astals Cid 50a8450174 More reorganization, needed so that the binary name does not clashes with an "old" directory
svn path=/trunk/kdegraphics/kpdf/; revision=375331
2005-01-03 21:59:57 +00:00