Commit graph

899 commits

Author SHA1 Message Date
Enrico Ros
489f432bcb applying patch_112
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425011
2005-06-13 16:37:29 +00:00
Enrico Ros
8397b0cd94 applying patch_107
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425010
2005-06-13 16:35:31 +00:00
Enrico Ros
8e9cce23ba applying patch_104
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425008
2005-06-13 16:34:07 +00:00
Enrico Ros
ae8e9ee187 applying patch_101
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425007
2005-06-13 16:32:59 +00:00
Enrico Ros
7b9851a7ea applying patch_099,100
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425006
2005-06-13 16:32:27 +00:00
Enrico Ros
bc71e24b8a applying patch_096
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425005
2005-06-13 16:30:01 +00:00
Enrico Ros
40d1f669aa applying patch_095,098
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425003
2005-06-13 16:28:17 +00:00
Enrico Ros
ff85858c98 applied patch_059
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425000
2005-06-13 16:08:31 +00:00
Enrico Ros
707a05f935 applied patch_056
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424999
2005-06-13 16:07:06 +00:00
Enrico Ros
c885e75be1 SVN_SILENT remove debug message (introduced merging patch_050)
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424995
2005-06-13 16:02:14 +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
0412271845 patch_072,074,079
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424922
2005-06-13 12:33:34 +00:00
Enrico Ros
cdec4298f9 applying patch_058,061,063,073
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424916
2005-06-13 12:15:41 +00:00
Enrico Ros
7033b099c0 applying patch_054,055
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424915
2005-06-13 12:11:40 +00:00
Enrico Ros
682ce0eb06 applying patch_048,049
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424914
2005-06-13 12:09:37 +00:00
Enrico Ros
bd59d24968 appying patch_047
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424910
2005-06-13 12:08:13 +00:00
Enrico Ros
86bf1b3d96 applying patch_045,046
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424907
2005-06-13 12:06:45 +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
371d546c6a applying patch_037,038,039
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424889
2005-06-13 11:37:19 +00:00
Enrico Ros
8475a0157a applying patch_036
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424888
2005-06-13 11:35:23 +00:00
Enrico Ros
08e1cfaa2d applied patch_034
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424887
2005-06-13 11:32:52 +00:00
Enrico Ros
d8f8ed5b0b on patch_032: more solaris fixes
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424886
2005-06-13 11:30:51 +00:00
Enrico Ros
2eae6f9a40 bits on patch_026 (already on branch)
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424885
2005-06-13 11:28:15 +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
1f23f526b8 merged patch_014
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424848
2005-06-13 10:37:41 +00:00
Enrico Ros
560934974a merged patch_007
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424840
2005-06-13 10:22:37 +00:00
Enrico Ros
58cab25446 bits (sort isn't implemented yet)
(syncing repo before merging head in kpdf_annotations)

svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424824
2005-06-13 09:30:50 +00:00
Enrico Ros
fb0acfc4c7 little performance fix
(syncing repo before merging head in kpdf_annotations)

svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424823
2005-06-13 09:30:02 +00:00
Enrico Ros
29c58361ec KNewStuff client nearly complete - multiple simultaneous downloads
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
2005-05-15 00:12:10 +00:00
Enrico Ros
f0a0a803d8 CVS_SILENT I shouldn't commit immediately after waking up.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=407479
2005-04-24 11:03:33 +00:00
Enrico Ros
03bdb7d79e CVS_SILENT sync comments
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=407470
2005-04-24 10:03:25 +00:00
Enrico Ros
7b6b7a359d KPDF HotNewStuff Browser!
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
2005-04-16 00:25:26 +00:00
Enrico Ros
c8f8122453 Added directory desctiption.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405525
2005-04-14 11:34:26 +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
ed41c2e2d2 Using line width property. Line width follows scaling.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405443
2005-04-13 21:23:54 +00:00
Albert Astals Cid
ee4908bf2c build
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405421
2005-04-13 20:05:09 +00:00
Enrico Ros
0beedebe01 Added icons for Text annotations (ake the 'page sybols'). Changed naming to
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
2005-04-13 18:21:18 +00:00
Enrico Ros
96a28d59ac CVS_SILENT removed overlay debug ~art~
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405339
2005-04-13 14:56:41 +00:00
Enrico Ros
e8f27fc700 Highlight annotations: ok
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
2005-04-13 14:49:57 +00:00
Enrico Ros
c5b694d02c Painter_AGG2:
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
2005-04-12 20:44:26 +00:00
Enrico Ros
8bc571160e PageViewAnnotator:
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
2005-04-12 20:30:17 +00:00
Enrico Ros
25d25604d4 CVS_SILENT Page: disabled debug save timing, Annots: typos
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405144
2005-04-12 20:27:40 +00:00
Enrico Ros
f75b4247d0 CVS_SILENT some primitives to test
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=404924
2005-04-11 21:43:43 +00:00
Enrico Ros
d460434919 Annotations: my first dirty (and superfast) scanline renderer. More to
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
2005-04-10 13:47:00 +00:00
Enrico Ros
db4e2246e1 Added a hack because real pdf's HL-QuadPoint structure differs from the
one in specs! (how can it be possible!?)

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=404553
2005-04-10 12:11:49 +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
5591710542 Annotations: first drawing experiments. Some unbuffered annotations are
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
2005-04-08 15:45:40 +00:00