Commit graph

71 commits

Author SHA1 Message Date
Pino Toscano 5f90685f37 update
svn path=/trunk/playground/graphics/okular/; revision=553245
2006-06-20 14:07:54 +00:00
Pino Toscano 381149409a this was done
svn path=/trunk/playground/graphics/okular/; revision=552630
2006-06-18 15:45:40 +00:00
Pino Toscano f70a14c462 a pair of updates
svn path=/trunk/playground/graphics/okular/; revision=552177
2006-06-16 20:20:24 +00:00
Albert Astals Cid eabbaeaead oKular is now okular
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550782
2006-06-12 18:25:18 +00:00
Pino Toscano 75b3c858eb minor TODO updates:
- we're not kpdf, but okular
- moved two items in the Done section, as they're done ;-)
- append the BR # for an item

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546024
2006-05-28 19:50:13 +00:00
Piotr Szymanski 5023b5dd01 - add anchor todo
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477590
2005-11-04 12:21:47 +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
Enrico Ros 51b07b3169 merged patch_053,062 (tinyurl.com/8t5ec)
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=428592
2005-06-24 16:43:19 +00:00
Enrico Ros 8f4104a99a merge (refactored) patch_050,051,060
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424991
2005-06-13 15:46:23 +00:00
Enrico Ros 2f3f5cca36 merged patch042,043
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424893
2005-06-13 11:53:47 +00:00
Enrico Ros 70b0a07f0f applied patch_024
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424869
2005-06-13 11:02:16 +00:00
Enrico Ros f28dfc590e patch_019 was already applied too
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424858
2005-06-13 10:55:47 +00:00
Enrico Ros 74a3d99a56 patch_016,017,018,027,028,029 were already merged
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424856
2005-06-13 10:51:16 +00:00
Enrico Ros d10472663d PageView:
Added the frequently requested option for eBook style alignment. Better
  layouting in continous (center single pages, no more top aligned) and
  single modes. Layouting very consistant when switching modes. Proper keys
  and mouse handling in multiple columns modes. Start in 'Fit Page' zoom.
DlgGeneral KCFG:
  Added the "Center first page in facing mode" and config menu entry.
ToDo:
  Marked 100341 as done.

CCMAIL: 100341@bugs.kde.org

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405524
2005-04-14 11:33:28 +00:00
Enrico Ros 7201ed77bf CVS_SILENT update
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=404312
2005-04-09 12:21:01 +00:00
Enrico Ros 2988ca477b CVS_SILENT Note on shared storage.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=404176
2005-04-08 22:39:12 +00:00
Enrico Ros bcc2542e24 Big update to annotations. DataStructures passed the recursive saving
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
2005-04-07 19:27:54 +00:00
Enrico Ros 659ae73bc8 Fixed crash when exiting with kapp->quit(). Usually the Settings singleton
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
2005-04-07 12:47:24 +00:00
Enrico Ros 9709ffbd6b CVS_SILENT add whishes and in-progress-crash-solving by Mikolaj
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403716
2005-04-07 09:09:29 +00:00
Enrico Ros 3ac84b0f73 CVS_SILENT Sync and ++Whishes.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403360
2005-04-05 17:46:55 +00:00
Enrico Ros 852eb6ed0d CVS_SILENT update state
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403223
2005-04-04 23:56:57 +00:00
Enrico Ros f4231cd98c CVS_SILENT update
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403099
2005-04-04 11:55:06 +00:00
Enrico Ros c7a14857ce CVS_SILENT just remembered to sync todo
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=401786
2005-03-29 22:03:09 +00:00
Enrico Ros d04324545e Sync with latest status!
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400313
2005-03-24 20:00:32 +00:00
Enrico Ros 1e9f0e590a Another milestone has been reached: complete saving/restoring of
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
2005-03-18 18:49:45 +00:00
Enrico Ros a041d23ee2 CVS_SILENT sync with last commit
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=397323
2005-03-13 17:23:38 +00:00
Jakub Stachowski 664d441534 Added action for showing/hiding left panel and removed it from settings.
"Watch file" moved to settings dialog.
BUG: 99316

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396976
2005-03-12 15:39:04 +00:00
Enrico Ros 65738852b8 CVS_SILENT A point that makes sense (thanks to Uga).
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396947
2005-03-12 12:51:59 +00:00
Enrico Ros b7e621bb60 Expand scope of kdpf :-) (thanks to ktech)
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396924
2005-03-12 11:18:16 +00:00
Enrico Ros 7feee78554 Sync that too. Updated to show current status.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396912
2005-03-12 08:40:44 +00:00
Enrico Ros de460a39c5 missing pieces for annotations support to be complete (90% missing)
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=395075
2005-03-05 16:46:29 +00:00
Enrico Ros 09d75891eb Synced TODO with BKO's kpdf whishes up to 100341.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=393517
2005-02-27 14:27:25 +00:00
Enrico Ros a12cc5e5a8 Getting ready for HEAD merge of parts of the stuff.
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
2005-02-26 18:05:01 +00:00
Enrico Ros b2ed18c67b Added google-like searches on thumbnailslist (in fact the controller is the
SearchWidget). Splitted SearchType::GoogleLike in GoogleAll and GoogleAny
  to mark pages if all words are present or at least one is present resp.
--TODOs;

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=391354
2005-02-20 16:04:40 +00:00
Enrico Ros f5ed925287 Added kwallet support for passwords storage. Works smoothly: kwallet has a
really nice (and well documented) API! Passwords of protected files are
  stored in the 'KPdf' folder of the Network wallet.
Updated todo.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=391251
2005-02-20 12:23:29 +00:00
Enrico Ros 7883b06897 CVS_SILENT Updated about 'kpdf_annotations' branch creation.
svn path=/trunk/kdegraphics/kpdf/; revision=388687
2005-02-12 14:44:29 +00:00
Enrico Ros f3b7d18550 CVS_SILENT pending addition
svn path=/trunk/kdegraphics/kpdf/; revision=386347
2005-02-05 09:53:18 +00:00
Enrico Ros 519892521f Fix the last CRASH (on search) and fix a memleak before BETA2 tagging.
Removed old code, reworked bad code.
I have no more reported crashes now.
No plans for additions or code changes till 3.4 release.
Thank you all kpdf users, Have Fun!

svn path=/trunk/kdegraphics/kpdf/; revision=385897
2005-02-03 17:09:33 +00:00
Enrico Ros 9e73b4235e Fixed type-ahead searches. Reworked search code. Found alternative way to
setRasterOp. Cleaned up RenningSearch class. Performance fix on actions.

svn path=/trunk/kdegraphics/kpdf/; revision=385447
2005-02-02 18:18:26 +00:00
Enrico Ros 6f6664c24f ThumbnailList: show graphical 'clip' on thumbnails.
PageView: avoid update() on bookmark change (since rendering is bookmark
 independant).

svn path=/trunk/kdegraphics/kpdf/; revision=383987
2005-01-30 00:58:16 +00:00
Enrico Ros c4c09c7c04 Added KTTSD support (only for selections). This is done via pure dcop and
without including any 3.4 header (like kspeech.h) to keep compatibility
 with 3.3 and older releases (reported to work on these).
Cleanups in PageView's mouse handling. Supports selections of different
 colors now.

svn path=/trunk/kdegraphics/kpdf/; revision=383651
2005-01-29 12:32:59 +00:00
Enrico Ros 5f48094e08 History saving/restoring in addition to the current viewport.
svn path=/trunk/kdegraphics/kpdf/; revision=383327
2005-01-28 17:21:51 +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 12eb3d4880 CVS_SILENT more work
svn path=/trunk/kdegraphics/kpdf/; revision=381007
2005-01-21 23:31:31 +00:00
Albert Astals Cid 5a41fd805e Presentation mode is now Ctrl+Shift+p instead of F9 because it was colliding with Konqueror's toggle sidebar
svn path=/trunk/kdegraphics/kpdf/; revision=380993
2005-01-21 23:09:00 +00:00
Albert Astals Cid 0adf0815bd Comment
svn path=/trunk/kdegraphics/kpdf/; revision=380982
2005-01-21 22:51:02 +00:00
Enrico Ros 156dfb22f9 PageView: Fixed crash in preloading within single page mode. Lowered number
of wasted PixmapRequests (regressions introduced by DocumentViewport).
  Optimizations.
Document: Fixed oscillations in memory deallocator. Merged 'cleanupMemory'
  and 'freeMemory' -> 'cleanupPixmapMemory'.
  Delayed initialization of QTimers.
GeneratorPDF: Added a comment on threading and asyncronous pixmap loading.
TODO: updated adding items by Mikolaj Machowski and Grzegorz Ja?kiewicz

svn path=/trunk/kdegraphics/kpdf/; revision=380913
2005-01-21 20:05:36 +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
Enrico Ros 962f891b80 For Users:
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
2005-01-18 16:43:36 +00:00