supported - no more windows popping up, all is displayed on the dialog
All transfers are handled internally, giving user the feedback right
inside the window. There are pair of bugs, but installing (aka plain
downloading) and uninstalling (aka deltion) of files are already
handled.
What to do next:
- remove bugs (reparent AvailableItem(s) to the main class, not the
view and deference pointers after deletion will fix the crash; it
can even be fixed by limiting user's freedom and force him/her to
act only on currently displayed items; btw this way is deprecated)
- handle install/removal notifications on the app
- check the whole flow of the operation. check for unstable states
(seems not the case) and unreachable ones
- clean it up and ship that client with kpdf, since:
*knewstuff in kde4 will be cleaner and better*
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=413951
It's not yet complete (file dowload and internal notifies are missing) but
the new stuff browser is running. The ui is modeled on an Aaron's mockup.
NewStuff:
Fetches the providers list (kpdf.kde.org/newstuff/providers.xml), lets
the user select a provider and displays provider's contents in a KHMTL
part (for flexibility and eye candy).
Internally we use KNS' Entry and Provider structures only, doing all the
transfer operations by hand via KIO::get jobs. Download will be done
internally too (to give better consistancy in the interface).
Network timeouts, problems or info messages are notified in a statusbar-
like widget and we try to keep all information in the dialog, without
using messageBoxes
Part:
Added the action and the dialog invocation
Makefiles:
Link the KNEWSTUFF and KHTML libraries.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405828
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
existing ones, updated 'tools.xml' with new names and made generator_pdf
parse pdf icon names as lowercase. Added SVG sources too for the icons.
- note that I suck as icon maker, so plz make good looking icons and don't
complain about these - :-))
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405395
PagePainter:
Updated drawShape with RasterOperation (Normal, Multiply) for getting
Highlight annotation types to work. All Highlight annotations are now
drew using the Multiply raster operation.
Painter_AGG2:
Replaced the agg_pixfmt_rgba.h pixformat definition template with an
internal version that implements different raster operations too. The
new version has been shrinked to the minimum, containing the only code
needed by kpdf AGG2 rendering engine to work.
Thanks for Rob Buis for telling me the way to go and providing sample code
with his AGG2 algorithms.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405338
Part from the *very C00L* AGG2 library (www.antigrain.com) are imported
from the agg23 source package. The imported files provides antialiased
rendering on bgra32 qimage memory buffers.
See "kpdf/ui/painter_agg2/README.kpdf" for more info.
PagePainter:
Replaced my dear crappy scanline renderer (well, was the fastest btw :-)
with agg2 based rendering code.
Implemented HighlightAnnotation (HL, Underline, Strikeout and Squiggly)
and InkAnnotation (simple one) rendering.
Need a multiply-blending template algo for getting highlights to look
as highlighs (not solid or transparent, like now).
Makefile.am(s):
Updated to build the new library, set include paths and link it.
Here we go.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405150
Restarting working on the Engines. Readded annotation creation for
SmoothPath engine / InkAnnotation annot.
Tools.xml:
Format changed, makes more sense now. Fileformat described in comment.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405145
implement here.. but that looks so nice. (note: too juicy to see now,
disabled some code before committing :-).
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=404560
drawn in page.
PagePainter:
Added 2 convenience function to change the alpha component of an image
and do it while colorizing the image in a single pass.
QPainter->drawPixmap unbuffered render for AText marks, AStamp pictures
and AGeom of type InscribedSquare.
Can't wait for Arthur's painter to do the full range of painting effects
with a very simple interface, faster than my dirty implementation and
over all: not crashing! (mine does! :-)
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=404088
a bug in Annotation::Window.
PDFGenerator: added postprocessing for handle the special pdf cases on
TextAnnotations (where window geometry is embedded in annotation, not
in popup and the annotation should be represented as an icon).
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=404023
Warning before running out of memory and stop pixmap request.
CCMAIL: 103435@bugs.kde.org
PagePainter:
Not related to the bug: avoid scaling up slow pixmaps.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=403884
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