1. 07 Apr, 2005 3 commits
    • Enrico Ros's avatar
      Big update to annotations. DataStructures passed the recursive saving · bcc2542e
      Enrico Ros authored
      and retrieval xml test. This second rewrite seems better than the
      previous one. Maybe it's not perfect bug finally it's good enought
      to move ahead now.
      
      Annotations:
        Restored and verified XML loading/saving with recursive storing and
        retrieval of referenced objects. 100% verified and tested. Finally
        all is working as expected. The structure is clean and it's simple
        to choose the way to go now: rendering. Updated AnnotationUtils, More
        comments, removed leak.
      Page:
        Adapted to changes to AnnotationUtils and Annotation, changed context
        saving.
      Misc updates on TODO and PDFGenerator (fixed Ext flag).
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403863
      bcc2542e
    • Enrico Ros's avatar
      Fixed crash when exiting with kapp->quit(). Usually the Settings singleton · 659ae73b
      Enrico Ros authored
      is deleted after all classes, but when kpdf is run stand-alone and quit()
      is used (currently only by clicking on Quit links) the app could crash.
      -> Best practice: don't use KConfigXT settings classes for storing values
      on destructors (do it when a parameter is updated).
      CCMAIL: Mikolaj Machowski <mikmach@wp.pl>
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403765
      659ae73b
    • Enrico Ros's avatar
      CVS_SILENT add whishes and in-progress-crash-solving by Mikolaj · 9709ffbd
      Enrico Ros authored
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403716
      9709ffbd
  2. 05 Apr, 2005 1 commit
  3. 04 Apr, 2005 2 commits
  4. 29 Mar, 2005 1 commit
  5. 24 Mar, 2005 1 commit
  6. 18 Mar, 2005 1 commit
    • Enrico Ros's avatar
      Another milestone has been reached: complete saving/restoring of · 1e9f0e59
      Enrico Ros authored
      annotations in the 'document tie file'. Every attribute of kpdf dss
      can be dumped to disk. Only rendering prevents HEAD merging now! :-)
      
      Annotations:
        Storage: full annotations saving/loding on the tied XML is implemented.
          every annotation put on a page (either loaded from a pdf or created
          internally is loaded and saved when opening/closing a document).
          Attributes are dumped to XML and reloaded from it via qdom
        DataStructures: internal changes, better naming, some attributes fused.
          PopupAnnotation has become WindowAnnotation
        PDF16Parser: 100% completeness for the types we support
      
      PDFGenerator:
        adapted to annotation ds changes. better parsing on a couple of attrs.
        correctly handle 'F'.
      
      Misc:
        Document: remove/cleanup debugs, Page: performance testing stuff added,
        PagePainter: setPen( annot->color ), PageV..or: typo,
        TODO: many changes
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=398789
      1e9f0e59
  7. 13 Mar, 2005 1 commit
  8. 12 Mar, 2005 4 commits
  9. 05 Mar, 2005 1 commit
  10. 01 Mar, 2005 1 commit
    • Albert Astals Cid's avatar
      More on the DRM issue. · 1eed94c3
      Albert Astals Cid authored
      How it is going to end:
       - Exists a configure option called --enable-kpdf-drm that is DISABLE by default and you can use to FORCE kpdf obeying DRM
       - Exists a kiosk option called skip_drm that is true by default and the admin can set to TRUE to FORCE kdpf obeying DRM
       - Exists a GUI option called Obey pdf limitations that is shown if skip_drm is true, that option is ON by default, that means DRM is obeyed but the user can disable it from the GUI
      Hope that will please everyone
      Please can somebody with better english than me check that the wording i used is actually correct english? Thanks
      
      svn path=/trunk/kdegraphics/kpdf/; revision=394212
      1eed94c3
  11. 28 Feb, 2005 1 commit
  12. 27 Feb, 2005 1 commit
  13. 26 Feb, 2005 2 commits
    • Enrico Ros's avatar
      Getting ready for HEAD merge of parts of the stuff. · a12cc5e5
      Enrico Ros authored
      pageviewtoolbox.cpp/.h: Removed.
      PageViewToolBar (was PageViewToolbox): Moved def/impl inside the
        pageviewutils.c/.h files. Uses eventfilter to get notified when the
        anchorWidget changes in size. Cleaned up code.
      Annotations: added empty code.
      PageView: removed some code. fixed rmb popup menu hidden if no document
        was opened.
      Updated TODO.
      
      svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=393302
      a12cc5e5
    • Enrico Ros's avatar
      Synced. Preparing for merging bits from the branch. · be7a7d72
      Enrico Ros authored
      svn path=/trunk/kdegraphics/kpdf/; revision=393204
      be7a7d72
  14. 20 Feb, 2005 3 commits
  15. 12 Feb, 2005 1 commit
  16. 05 Feb, 2005 1 commit
  17. 03 Feb, 2005 1 commit
  18. 02 Feb, 2005 1 commit
  19. 30 Jan, 2005 1 commit
  20. 29 Jan, 2005 1 commit
  21. 28 Jan, 2005 1 commit
  22. 27 Jan, 2005 1 commit
    • Enrico Ros's avatar
      Implemented history (implementation is inside Document. actions (2) are in · 93c1d384
      Enrico Ros authored
       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
      93c1d384
  23. 26 Jan, 2005 1 commit
    • Enrico Ros's avatar
      Added the MiniBar class, a layouted widget that displays current page · e65c7058
      Enrico Ros authored
       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
      e65c7058
  24. 21 Jan, 2005 4 commits
  25. 20 Jan, 2005 1 commit
    • Enrico Ros's avatar
      Fix preloading. It does real good now. · 3ba7c536
      Enrico Ros authored
      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
      3ba7c536
  26. 18 Jan, 2005 1 commit
    • Enrico Ros's avatar
      For Users: · 962f891b
      Enrico Ros authored
      Display contents faster, waste less memory. Added preloading to forward-
      generate pages (if threading enabled and memory profile >= normal). Main
      pages are always generated first, then thumbnails come, then preload ones,
      etc.. Btw memory and cpu will be happier now.
      (1 bug in memory and 1 in preloading still remains.. will be spotted soon)
      
      For Developers:
      Generator: dropped moc, api changes, better functions naming.
      PDFGenerator and Document: moved requests queue to the Document.
         The generator performs only a single request a time. A flag can be
         queried to know if the generator is ready for starting another pixmap
         generation or not (in case it's generating a pixmap in background).
      PixmapRequest: added priority and backgound (async) attributes.
      Document: queuing requests by priority in requestPixmaps.
      Observer: added defines for priorities used in doc->requestpixmaps.
      PageView: delayed find-ahead timer creation (not created if not needed).
         Added preload PixmapRequests to the pixmap requests list.
      ThumbnailsList: adapted to pixmapRequest changes and changed naming for
         delayed thumbanils request.
      
      svn path=/trunk/kdegraphics/kpdf/; revision=379820
      962f891b
  27. 16 Jan, 2005 1 commit
    • Albert Astals Cid's avatar
      xpdf code is not prepared for paths with only 1 point, skip paths that have... · 8a074281
      Albert Astals Cid authored
      xpdf code is not prepared for paths with only 1 point, skip paths that have only one point, have to check in pdf spec if paths can have 1 point (in that case should fix the fix :-) or that pdf are buggy and the fix is correct in all senses. Pages that crash are 18, 20 and 26 on Introduction_to_Jitter.pdf and page 1 on FT-857.pdf
      BUG: 97131
      
      svn path=/trunk/kdegraphics/kpdf/; revision=379020
      8a074281
  28. 15 Jan, 2005 1 commit