1. 26 Dec, 2004 1 commit
  2. 24 Dec, 2004 3 commits
    • Enrico Ros's avatar
      CVS_SILENT ++wishes; · 03ad75ea
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373127
      03ad75ea
    • Enrico Ros's avatar
      sync · 6eb004c5
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373126
      6eb004c5
    • Enrico Ros's avatar
      Better policies for memory management. Auto memory clean when a document is · 4502706b
      Enrico Ros authored
      opened. More stuff for getting async generator to work. Leakfix.
      
      Note: memory management coolness Vol.1 : now kpdf has memory profiles that
      allow using up to xx% of the total memory and clip maximum usable memory to
      a half of the free one. Example: an istance of kpdf is using all the
      memory (as regular cache). You open some memory hungry app or another kpdf
      and you'll see the first istance dropping cached pages (freeing memory!)
      to leave room for the other app! It's dynamic, fast, avoids swap and
      something cool from my programmer's viewpoint.
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373123
      4502706b
  3. 22 Dec, 2004 3 commits
    • Albert Astals Cid's avatar
      Remove possible trigraph as per Scott Wheeler suggestion · 41d49334
      Albert Astals Cid authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372828
      41d49334
    • Albert Astals Cid's avatar
      fix xpdf buffer overflow · 174650af
      Albert Astals Cid authored
      By Dirk Mueller
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372821
      174650af
    • Enrico Ros's avatar
      Changed pixmap requesting methods. Now each request is packed into a · 16908b2f
      Enrico Ros authored
      PixmapRequest class. When requesting pixmaps, one or multiple requests are
      sent to the Document that (frees memory as in current policy) and send each
      PixmapRequest to the current Generator. Added a signal in generators to
      notify the Document when a pixmap generation has finished.
      
      PageView, ThumbnailsList, PreviewWidget have been unbroken after the memory
      management commit. (mem management seems in pretty good shape..it's smart.)
      Added 'visible widgets' list to those classes to speed up searching and
      processing on visible widgets only.
      
      Note: asyncronous pixmap requests can now be queued and we're getting very
      close to the threaded generator.
      
      Note2: Leakfixes and memory improvements.
      
      Final NOTE: head merging is possible now, as all remaining work can be
      considered bugfixes.. API is getting final. It will only change in xpdf
      dep stuff, the already undefined Viewport object and some bits in
      Generators.
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372787
      16908b2f
  4. 21 Dec, 2004 3 commits
    • Albert Astals Cid's avatar
      Commit the current changes of "authorship" · c9dc4c5b
      Albert Astals Cid authored
      Enrico feel free to add your description on the main.cpp file and/or change your mail addreesses
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372585
      c9dc4c5b
    • Aaron J. Seigo's avatar
      don't search after every single key press as that tends to freeze the gui · 6511b292
      Aaron J. Seigo authored
      up nice and solid when viewing large PDFs, even on fast machines. instead
      search after the user has paused typing
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372580
      6511b292
    • 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
  5. 17 Dec, 2004 2 commits
    • Enrico Ros's avatar
      Added full screen 'Presentation' support. Only Replace and Dissolve pdf · 70ea81ca
      Enrico Ros authored
      effects are implemented for now. TODO: detect Transitions from the PDF
      (maybe xpdf don't tell us).
      Adding this (another DocumentObserver) is helping me to better focus the
      'memory manager' concept. But still there are some clouds..
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=371429
      70ea81ca
    • Enrico Ros's avatar
      bits · 58797ffe
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=371428
      58797ffe
  6. 13 Dec, 2004 4 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
    • Enrico Ros's avatar
      Tidy up the structure. · dea9cfdf
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=370401
      dea9cfdf
    • Albert Astals Cid's avatar
      Update zoom text · 6de98740
      Albert Astals Cid authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=370270
      6de98740
    • Albert Astals Cid's avatar
      fullscreenmode lovin' · 1df24e09
      Albert Astals Cid authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=370269
      1df24e09
  7. 12 Dec, 2004 5 commits
  8. 11 Dec, 2004 3 commits
  9. 10 Dec, 2004 4 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
      Modified to insert the new DocumentInfo class into the game. · 3ff4415c
      Enrico Ros authored
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369655
      3ff4415c
    • 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
    • Enrico Ros's avatar
      A quick picture made with kolourpaint to explain internal hieracy of kpdf, · 18e7d798
      Enrico Ros authored
      from the gui to the intrnals.
      
      svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369614
      18e7d798
  10. 05 Dec, 2004 5 commits
  11. 04 Dec, 2004 2 commits
  12. 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
  13. 30 Nov, 2004 1 commit
  14. 27 Nov, 2004 1 commit
  15. 26 Nov, 2004 2 commits