1. 21 Dec, 2004 1 commit
    • Enrico Ros's avatar
      The long awaited (by me) memory manager is in place. It unloads pixmaps · 05924776
      Enrico Ros authored
      not on screen starting from the oldest generated one. Rules (aka memory
      profiles) are simple by now, but they work as expected.
      Plus: added functions for getting Linux total memory and free memory by
      querying the /proc filesystem. Generator creation by mimetype. -Fixes.
      BROKEN: thumbnail, presentation (need to reimpl a virtual method)
      TODO1: notify generators when cancelling jobs.
      TODO2: add forward caching.
      TODO3: rationalize code, clean it up and update README.png
      TODO4: periodically check for free memory and unload pixmaps if needed.
      TODO5: wisely choose default values for memory profiles.
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372514
      05924776
  2. 17 Dec, 2004 1 commit
    • Enrico Ros's avatar
      bits · 58797ffe
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=371428
      58797ffe
  3. 13 Dec, 2004 2 commits
    • Enrico Ros's avatar
      FixPack 1: Small fix all over the code. Searwidget rewrite: looks good, · eed32c76
      Enrico Ros authored
      feels better. Updated TODO with interesting things.
      Note: I feel performance loss. Need to check carefully all zoom functions,
      relayouts and wasted paints. I'll love to do that after merging to HEAD.
      Note to all: HEAD merge only after API will be final (the only 2 variables
      are MemManager, ThreadedGen and maybe a DocumentDom (if I can make it next
      weekend, but I think not)).
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=370404
      eed32c76
    • Albert Astals Cid's avatar
      fullscreenmode lovin' · 1df24e09
      Albert Astals Cid authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=370269
      1df24e09
  4. 12 Dec, 2004 4 commits
  5. 11 Dec, 2004 2 commits
    • Enrico Ros's avatar
      Fixed a GeneratorPDF <-> KPDFOutputDev bug. · 0c5cd4e0
      Enrico Ros authored
      Abstracted xpdf's Outline to a Dom Tree. Fixed MERGE tags through the code.
      Added comments (documentation) to KPDFDocument class and other classes in
      document.h. Changed a little Generator interface.
      Moved code from toc.h/.cpp to GeneratorPDF and shrinked a lot.
      
      TODO (now): Convert TOC (widget) to use the Dom tree as data source.
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369914
      0c5cd4e0
    • Enrico Ros's avatar
      Merge ASAP. Only left a couple of items as merge blockers and moved other · 87244030
      Enrico Ros authored
      stuff to the fix-after-merge list.
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369799
      87244030
  6. 10 Dec, 2004 2 commits
    • Albert Astals Cid's avatar
      Show the window maximized when the user opens the program for the very first time · b7588b4b
      Albert Astals Cid authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369730
      b7588b4b
    • Enrico Ros's avatar
      Abstracted Generator and ported xpdf dependant code (most of) to the · 5f4236d8
      Enrico Ros authored
      GeneratorPDF class. Adapted the whole KPDFLink class to a hieracy of
      classes and added a Viewport description associated to 'Goto' links.
      
      Link hasn't got geometry properties. A PageRect class has born to describe
      all 'active rects' on a page (hand pointed on mouse over). PageRect can
      contain many type of objects such as Links or other active items (images,
      ...). The Page class now stores PageRects only (no more geometric Links,
      as already said).
      
      Added a DocumentInfo class filled in by generators and used by the
      PropertiesDialog.
      
      Outline hasn't been abstracted while now, but a DocumentSynopsis class
      is in place and work needs to be done to make GeneratorPDF fill in a
      DocumentSynopsis instance and pass it to the Toc widget.
      
      Note1: Document has nothing more to do with xpdf, it only commands its
      generator.
      Note2: 2 remaining classes to be abstracted: Outline, TextPage. But
      waning..
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369651
      5f4236d8
  7. 05 Dec, 2004 1 commit
  8. 04 Dec, 2004 2 commits
  9. 01 Dec, 2004 1 commit
    • Albert Astals Cid's avatar
      Add watch file option. · a461a21b
      Albert Astals Cid authored
      Enrico, i've added it in the menu, do you prefer it to be in the configuration dialog?
      CCMAIL: rosenric@dei.unipd.it
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=367732
      a461a21b
  10. 26 Nov, 2004 1 commit
    • Enrico Ros's avatar
      more ideas · a442e3fe
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=366361
      a442e3fe
  11. 16 Nov, 2004 2 commits
  12. 12 Nov, 2004 1 commit
  13. 11 Nov, 2004 1 commit
  14. 07 Nov, 2004 1 commit
    • Enrico Ros's avatar
      misc · 5c80b0d1
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=361223
      5c80b0d1
  15. 05 Nov, 2004 3 commits
  16. 03 Nov, 2004 2 commits
    • Albert Astals Cid's avatar
      *** empty log message *** · 4fca42dd
      Albert Astals Cid authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360211
      4fca42dd
    • Enrico Ros's avatar
      o Removed the PageViewOverlay class (a hack that permitted transparent · 89cd5a2f
      Enrico Ros authored
      selection) in favour of a new common selection code that uses internal
      compositing engine.
      o Added 'copy GFX' (in addition to the already existant 'copy text') with
      a popup that asks user wether to copy to clipboard or save the image to
      a file. (note: maybe a merge between selection tools (text/gfx) is
      possible).
      o The Zoom Tool is now a mouse mode, not a zoom mode.
      o Tuned PageViewMessage class and added tips somewhere.
      o Reorganized some actions and cleanup in mouse mode related code.
      o Updated plans (roadmap to HEAD and new things) in TODO.
      o And.. well, de don't deal with gardening anymore :-) Thanks Michael!
      CCMAIL: brade@kde.org
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=360144
      89cd5a2f
  17. 01 Nov, 2004 1 commit
  18. 31 Oct, 2004 2 commits
  19. 29 Oct, 2004 1 commit
  20. 28 Oct, 2004 1 commit
  21. 24 Oct, 2004 2 commits
    • Enrico Ros's avatar
      First plan of the roadmap towards HEAD. · 38463214
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=357295
      38463214
    • Enrico Ros's avatar
      1) Dealing with the QScrollView (introduced for continous navigation) is a · f8dfcf32
      Enrico Ros authored
      real PITA. Tons of unneeded repaints are casted everywhere, even when
      hiding or covering widgets.
      Here we fix a big-bad-bug that repainted all the already viewed pages on
      a zoom operation. That means that if zooming on a page after viewing 150
      pages, then *at least* 150 pages got repainted :-(.
      Tried to disable clipper(), but got weird results.
      2) Adding devel only debug code to check for a possible bug Aaron told me,
      but I actually wasn't unable to reproduce.
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=357273
      f8dfcf32
  22. 20 Oct, 2004 1 commit
  23. 17 Oct, 2004 2 commits
  24. 14 Oct, 2004 2 commits
  25. 12 Oct, 2004 1 commit