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
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
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
stored as KPDFLink inside KPDFPage(s) :-). What we have now: links are
detected when hovering them on a page eve in multiple-pages-per-view mode.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=351190
you have enough ram). Based on aacid's search code. This implements case
sensitive search too (a little tricky but it worths). Finally done.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=347051
memory reduction on the displayed page. OutputDev under big changes.
Now DocumentObservers have an unique ID so they can queue requests to
documents and they get their data stored in Page(s). No more Pixmaps or
Thumbnails requests, every observer can request a custom-sized pixmap for
a given page. That makes room for new observers (like a cool perspective
book like page viewer or stacked viewer or what your fantasy suggests :-).
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=346792
The branch has been created by Albert Astals Cid and Enrico Ros to try to
rearrange the code of kpdf.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=344552
Better selection of the text found at searching
m_currentPage in kpdf_part now 1 -> first page instead 0 -> first_page, is what PDFDoc uses
Some code has been commented out, it is not used by now
Search works on all pages, not only current one
svn path=/trunk/kdegraphics/kpdf/; revision=342068
It works !!!!!!
At the moment is very primitive (try to find withouth document -> crash, only find on the current page, no find next, selection box is not 100% acurate) but i only need some more time to make it work.
svn path=/trunk/kdegraphics/kpdf/; revision=341615
Here comes the big copyright patch for kpdf, i've updated all files to have a copyright header, some did not have, and some had very diferent structures. Now all of them have the same structure
Copyright (C) years name <mail>
The names that figure in the copyright header are all the ones of people that ever comitted something to that particular file.
I am CC'ing to all of you because maybe someone thinks his commits was so small that does not want the copyright for it, so go to the particular file and remove your line.
Also if a particular file came from other place and you know the copyright holder of it please add it to the headers.
CCMAIL:greven@kde.org
CCMAIL:Christophe.Devriese@student.kuleuven.ac.be
CCMAIL:montel@kde.org
CCMAIL:mueller@kde.org
CCMAIL:kde@jamesots.com
CCMAIL:kpfeifle@danka.de
CCMAIL:ccheney@cheney.cx
CCMAIL:malcolm.hunter@gmx.co.uk
CCMAIL:molkentin@kde.org
CCMAIL:andygoossens@telenet.be
CCMAIL:devriese@kde.org
CCMAIL:crossfire@babylon2k.de
CCMAIL:stampede@coltec.ufmg.br
CCMAIL:bastian@kde.org
CCMAIL:binner@kde.org
CCMAIL:benjamin@csh.rit.edu
CCMAIL:l.lunak@kde.org
CCMAIL:wheeler@kde.org
CCMAIL:kloecker@kde.org
CCMAIL:will@csociety.org
CCMAIL:helio@conectiva.com.br
svn path=/trunk/kdegraphics/kpdf/; revision=341561
- Remove unused includes
- Xpdf can't (does not) render fonts of type3 so don't try to be better than it
- QChar c = QChar ( u [i] ) -> QChar c = u[i];
svn path=/trunk/kdegraphics/kpdf/; revision=340564
- Remove not used files of xpdf (images, etc) that we don't need to distribute
Please test if your kpdf behaves equally that older versions (it should only have somewhat better support to PDF 1.5)
svn path=/trunk/kdegraphics/kpdf/; revision=339928
-> we did not add or change any i18n() strings
-> ------- Additional Comment #1 From Stephan Kulow 2003-09-27 12:38 -------
that's more a blocker bug than a wishlist ;(
svn path=/trunk/kdegraphics/kpdf/; revision=276107