Code

inkscape.git
16 years agore-enable assertions
mental [Wed, 11 Jun 2008 15:59:31 +0000 (15:59 +0000)]
re-enable assertions

16 years agoplumb XML::Documents in everywhere
mental [Wed, 11 Jun 2008 15:56:11 +0000 (15:56 +0000)]
plumb XML::Documents in everywhere

16 years agoWe were using wrong gtk locale directory. Gtk's own translations were missing.
ishmal [Wed, 11 Jun 2008 15:55:29 +0000 (15:55 +0000)]
We were using wrong gtk locale directory.  Gtk's own translations were missing.

16 years agohandle PI nodes
mental [Wed, 11 Jun 2008 15:55:04 +0000 (15:55 +0000)]
handle PI nodes

16 years agouse object's document
mental [Wed, 11 Jun 2008 15:54:55 +0000 (15:54 +0000)]
use object's document

16 years agoFixed some strings that upset gettext.
mfloryan [Wed, 11 Jun 2008 12:31:05 +0000 (12:31 +0000)]
Fixed some strings that upset gettext.

16 years agoRemove any baseProfile attribute, as we don't respect it. (See bug 166958.)
sasilver [Wed, 11 Jun 2008 10:54:18 +0000 (10:54 +0000)]
Remove any baseProfile attribute, as we don't respect it. (See bug 166958.)

16 years agoBack out the `document != NULL' assertions added to SimpleNode constructors in r18847...
pjrm [Wed, 11 Jun 2008 08:09:07 +0000 (08:09 +0000)]
Back out the `document != NULL' assertions added to SimpleNode constructors in r18847 (see https://bugs.launchpad.net/inkscape/+bug/239101).

16 years agowarning cleanup
joncruz [Wed, 11 Jun 2008 04:08:16 +0000 (04:08 +0000)]
warning cleanup

16 years ago[INTL] Updated POTFILES.in with new source code file.
mfloryan [Tue, 10 Jun 2008 21:51:50 +0000 (21:51 +0000)]
[INTL] Updated POTFILES.in with new source code file.

16 years agoNew LPE: Mirror reflection
cilix42 [Tue, 10 Jun 2008 15:08:54 +0000 (15:08 +0000)]
New LPE: Mirror reflection

16 years agoGet rid of get_bpath() in lpe-tangent_to_curve.cpp
cilix42 [Tue, 10 Jun 2008 14:10:01 +0000 (14:10 +0000)]
Get rid of get_bpath() in lpe-tangent_to_curve.cpp

16 years agoDon't convert path to straight line for LPE perpendicular bisector
cilix42 [Tue, 10 Jun 2008 14:09:49 +0000 (14:09 +0000)]
Don't convert path to straight line for LPE perpendicular bisector

16 years agoMake broken doOnApply() for LPEs work again
cilix42 [Tue, 10 Jun 2008 14:09:37 +0000 (14:09 +0000)]
Make broken doOnApply() for LPEs work again

16 years agoRemove debugging messages
cilix42 [Tue, 10 Jun 2008 14:09:24 +0000 (14:09 +0000)]
Remove debugging messages

16 years agoWrite all effect parameters to SVG when a LPE knotholder handle is ungrabbed
cilix42 [Tue, 10 Jun 2008 12:35:36 +0000 (12:35 +0000)]
Write all effect parameters to SVG when a LPE knotholder handle is ungrabbed

16 years agofix compile
JucaBlues [Tue, 10 Jun 2008 02:33:43 +0000 (02:33 +0000)]
fix compile
johan had forgotten to include a header

16 years agoupdated slightly
ishmal [Mon, 9 Jun 2008 22:19:26 +0000 (22:19 +0000)]
updated slightly

16 years agobetter compilation for linux
ishmal [Mon, 9 Jun 2008 19:45:38 +0000 (19:45 +0000)]
better compilation for linux

16 years agoremove filters verb and command
buliabyak [Mon, 9 Jun 2008 05:48:13 +0000 (05:48 +0000)]
remove filters verb and command

16 years agoadd selmodified connection to force dialog update on undo
buliabyak [Mon, 9 Jun 2008 05:46:29 +0000 (05:46 +0000)]
add selmodified connection to force dialog update on undo

16 years agorenaming, adding missed ones to the list
buliabyak [Mon, 9 Jun 2008 05:45:12 +0000 (05:45 +0000)]
renaming, adding missed ones to the list

16 years agoFix include in sp-filter.cpp NR:filter issue
verbalshadow [Mon, 9 Jun 2008 03:37:29 +0000 (03:37 +0000)]
Fix include in sp-filter.cpp NR:filter issue

16 years agoforce single single document over a node's lifetime
mental [Sun, 8 Jun 2008 20:42:25 +0000 (20:42 +0000)]
force single single document over a node's lifetime

16 years agoplumb document references a little deeper in
mental [Sun, 8 Jun 2008 19:44:26 +0000 (19:44 +0000)]
plumb document references a little deeper in

16 years agoAdd option to either suppress path flash for items with LPE (e.g., spiro splines...
cilix42 [Sun, 8 Jun 2008 18:47:19 +0000 (18:47 +0000)]
Add option to either suppress path flash for items with LPE (e.g., spiro splines use this) or display it permanently while the item is selected.

16 years agosimplify code that puts anchors at start and end of paths in draw context.
johanengelen [Sun, 8 Jun 2008 18:33:23 +0000 (18:33 +0000)]
simplify code that puts anchors at start and end of paths in draw context.

16 years agoadd method to retrieve first and last path of SPCurve, fix error.
johanengelen [Sun, 8 Jun 2008 18:31:38 +0000 (18:31 +0000)]
add method to retrieve first and last path of SPCurve, fix error.

16 years agoRe-add two handles for PerpBisector LPE (we don't add the other two because they...
cilix42 [Sun, 8 Jun 2008 18:08:56 +0000 (18:08 +0000)]
Re-add two handles for PerpBisector LPE (we don't add the other two because they would duplicate the path's own handles and the correct solution would be to allow knotholders and nodepaths at the same time).
Put the KnotHolderEntity classes into their own namespaces to avoid clashes.

16 years agoBetter way to add LPE knotholder handles; now it happens semi-automatically in a...
cilix42 [Sun, 8 Jun 2008 17:56:04 +0000 (17:56 +0000)]
Better way to add LPE knotholder handles; now it happens semi-automatically in a similar way as adding LPE parameters.

16 years agoMake knotholders for LPE items finally work; each effect can now overload the addKnot...
cilix42 [Sun, 8 Jun 2008 17:33:58 +0000 (17:33 +0000)]
Make knotholders for LPE items finally work; each effect can now overload the addKnotHolderHandles() method to add handles which control its parameters.
There is now also a virtual onKnotUngrabbed() method for each knotholder entity which can be used to do cleanup tasks (for LPE parameters it currently writes the value to SVG, although this should probably happen automatically)

16 years agoAdd 'Mode' label and icon for regular Bezier mode in pen/pencil toolbar
cilix42 [Sun, 8 Jun 2008 17:17:15 +0000 (17:17 +0000)]
Add 'Mode' label and icon for regular Bezier mode in pen/pencil toolbar

16 years agoPatch from sas for LP #231690 (crash when combining two paths)
cilix42 [Sun, 8 Jun 2008 17:08:50 +0000 (17:08 +0000)]
Patch from sas for LP #231690 (crash when combining two paths)

16 years agoPatch from sas to avoid GC warning during vacuum defs (closes LP #236816)
cilix42 [Sun, 8 Jun 2008 16:51:57 +0000 (16:51 +0000)]
Patch from sas to avoid GC warning during vacuum defs (closes LP #236816)

16 years agouse feed_pathvector_to_cairo in display/nr-svgfonts.cpp
johanengelen [Sun, 8 Jun 2008 14:52:39 +0000 (14:52 +0000)]
use feed_pathvector_to_cairo in display/nr-svgfonts.cpp

16 years agouse feed_pathvector_to_cairo in display/nr-arena-shape.cpp
johanengelen [Sun, 8 Jun 2008 14:42:53 +0000 (14:42 +0000)]
use feed_pathvector_to_cairo in display/nr-arena-shape.cpp

16 years agoadd rendering to cairo from Geom::Path and Geom::PathVector !
johanengelen [Sun, 8 Jun 2008 14:36:04 +0000 (14:36 +0000)]
add rendering to cairo from Geom::Path and Geom::PathVector !

16 years agoadd conversion from NR::Rect to Geom::Rect
johanengelen [Sun, 8 Jun 2008 14:35:38 +0000 (14:35 +0000)]
add conversion from NR::Rect to Geom::Rect

16 years agoWarning cleanup
joncruz [Sat, 7 Jun 2008 04:02:08 +0000 (04:02 +0000)]
Warning cleanup

16 years agoellipses and groups now use 2geompath for svg_write: sp_svg_write_path(np->curve...
johanengelen [Fri, 6 Jun 2008 23:51:48 +0000 (23:51 +0000)]
ellipses and groups now use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor sppath, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector...
johanengelen [Fri, 6 Jun 2008 23:47:18 +0000 (23:47 +0000)]
for sppath, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor spirals, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector...
johanengelen [Fri, 6 Jun 2008 23:44:01 +0000 (23:44 +0000)]
for spirals, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve...
johanengelen [Fri, 6 Jun 2008 23:41:20 +0000 (23:41 +0000)]
for sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );  (completed)

16 years agofor sp-offset.cpp and sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_...
johanengelen [Fri, 6 Jun 2008 23:38:47 +0000 (23:38 +0000)]
for sp-offset.cpp and sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor path-chemistry.cpp, start using 2geompath for svg_write: sp_svg_write_path(np...
johanengelen [Fri, 6 Jun 2008 23:35:43 +0000 (23:35 +0000)]
for path-chemistry.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agofor nodepath, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_p...
johanengelen [Fri, 6 Jun 2008 23:30:39 +0000 (23:30 +0000)]
for nodepath, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );

16 years agospdc_flush_white(SPDrawContext *dc, SPCurve *gc) now uses curve->get_pathvector inste...
johanengelen [Fri, 6 Jun 2008 23:18:58 +0000 (23:18 +0000)]
spdc_flush_white(SPDrawContext *dc, SPCurve *gc) now uses curve->get_pathvector instead of get_bpath.

16 years agospcc_flush_white(SPConnectorContext *cc, SPCurve *gc) now uses curve->get_pathvector...
johanengelen [Fri, 6 Jun 2008 23:13:19 +0000 (23:13 +0000)]
spcc_flush_white(SPConnectorContext *cc, SPCurve *gc) now uses curve->get_pathvector instead of get_bpath.

16 years agoadd comments to SPCurve about 2geomify status of functions
johanengelen [Fri, 6 Jun 2008 23:12:29 +0000 (23:12 +0000)]
add comments to SPCurve about 2geomify status of functions

16 years agobox3d_side_write now uses curve->get_pathvector instead of get_bpath.
johanengelen [Fri, 6 Jun 2008 23:04:26 +0000 (23:04 +0000)]
box3d_side_write now uses curve->get_pathvector instead of get_bpath.

16 years agodisable SPCurve path checking per default as it decreases performance by a lot.
johanengelen [Fri, 6 Jun 2008 23:00:54 +0000 (23:00 +0000)]
disable SPCurve path checking per default as it decreases performance by a lot.

16 years ago- enable path checking for SPCurve
johanengelen [Fri, 6 Jun 2008 22:50:40 +0000 (22:50 +0000)]
- enable path checking for SPCurve
- make SPCurve::transform safe to work on both pathv and bpath

16 years agorollup of buildtool/unix work. compiles and links inkscape
ishmal [Fri, 6 Jun 2008 21:11:07 +0000 (21:11 +0000)]
rollup of buildtool/unix work.  compiles and links inkscape

16 years agofinally debugged. read() on a pipe has different results on different boxes. sorry...
ishmal [Fri, 6 Jun 2008 19:21:31 +0000 (19:21 +0000)]
finally debugged.  read() on a pipe has different results on different boxes.  sorry about the many commits

16 years agorewrite pipe reading to avoid deadlock
ishmal [Fri, 6 Jun 2008 19:04:52 +0000 (19:04 +0000)]
rewrite pipe reading to avoid deadlock

16 years agorewrite pipe reading to avoid deadlock
ishmal [Fri, 6 Jun 2008 18:36:58 +0000 (18:36 +0000)]
rewrite pipe reading to avoid deadlock

16 years agoRemoving cast and replacing with a proper definition.
Ted Gould [Fri, 6 Jun 2008 16:26:17 +0000 (09:26 -0700)]
Removing cast and replacing with a proper definition.

16 years agoallow compiling on g++ 4.3+
ishmal [Fri, 6 Jun 2008 16:09:01 +0000 (16:09 +0000)]
allow compiling on g++ 4.3+

16 years agominor typo in comparison
ishmal [Fri, 6 Jun 2008 15:06:13 +0000 (15:06 +0000)]
minor typo in comparison

16 years agoremove const assignment error
ishmal [Fri, 6 Jun 2008 15:05:09 +0000 (15:05 +0000)]
remove const assignment error

16 years agoFixed uninitialized members
joncruz [Fri, 6 Jun 2008 07:51:20 +0000 (07:51 +0000)]
Fixed uninitialized members

16 years agoFixed uninitialized member
joncruz [Fri, 6 Jun 2008 07:38:38 +0000 (07:38 +0000)]
Fixed uninitialized member

16 years agomerge gsoc2008_johan_path2geom into trunk
johanengelen [Fri, 6 Jun 2008 01:43:35 +0000 (01:43 +0000)]
merge gsoc2008_johan_path2geom into trunk

16 years agooops. sys/wait.h not on win32
ishmal [Thu, 5 Jun 2008 21:42:21 +0000 (21:42 +0000)]
oops.  sys/wait.h not on win32

16 years agorewrite execCommand's unix impl to better handle separate stdout and stderr spools
ishmal [Thu, 5 Jun 2008 21:36:17 +0000 (21:36 +0000)]
rewrite execCommand's unix impl to better handle separate stdout and stderr spools

16 years agoinclude <algorithm> for std::sort
ishmal [Thu, 5 Jun 2008 18:57:35 +0000 (18:57 +0000)]
include <algorithm> for std::sort

16 years agooptimization: don't copy SPCurve when transforming it, do this in place
buliabyak [Thu, 5 Jun 2008 18:10:40 +0000 (18:10 +0000)]
optimization: don't copy SPCurve when transforming it, do this in place

16 years agoadded HPGL export extension, courtesy of Aaron Spike
prokoudine [Thu, 5 Jun 2008 15:56:03 +0000 (15:56 +0000)]
added HPGL export extension, courtesy of Aaron Spike

16 years agoRename param_writeSVGValue() --> param_getSVGValue() since the method doesn't actuall...
cilix42 [Thu, 5 Jun 2008 09:01:40 +0000 (09:01 +0000)]
Rename param_writeSVGValue() --> param_getSVGValue() since the method doesn't actually write to SVG but only returns a ready-to-write string

16 years agoAdd paramType() method to LPE parameter classes
cilix42 [Thu, 5 Jun 2008 08:59:31 +0000 (08:59 +0000)]
Add paramType() method to LPE parameter classes

16 years agoRemove unused and buggy-looking function get_pref_children.
pjrm [Thu, 5 Jun 2008 06:35:29 +0000 (06:35 +0000)]
Remove unused and buggy-looking function get_pref_children.

16 years agoaddress some cast-away-const warnings.
pjrm [Thu, 5 Jun 2008 06:34:50 +0000 (06:34 +0000)]
address some cast-away-const warnings.

16 years agoaddress a warning
pjrm [Thu, 5 Jun 2008 06:33:41 +0000 (06:33 +0000)]
address a warning

16 years agoa couple of trivial %d -> %u changes.
pjrm [Thu, 5 Jun 2008 06:33:14 +0000 (06:33 +0000)]
a couple of trivial %d -> %u changes.
snprintf size arg includes \0, so pass sizeof(buf) instead of that minus 1.

16 years agoslight numerical improvement
pjrm [Thu, 5 Jun 2008 06:30:03 +0000 (06:30 +0000)]
slight numerical improvement

16 years agofix compile with g++-4.3.
pjrm [Thu, 5 Jun 2008 06:28:20 +0000 (06:28 +0000)]
fix compile with g++-4.3.

16 years agoFix expression whose behaviour is undefined in C++. N.B. This “fix” involves guessin...
pjrm [Thu, 5 Jun 2008 06:06:34 +0000 (06:06 +0000)]
Fix expression whose behaviour is undefined in C++.  N.B. This “fix” involves guessing at the intended meaning.  I've mailed the author to confirm.

16 years agofirst try at attribute overloading
ishmal [Wed, 4 Jun 2008 21:21:15 +0000 (21:21 +0000)]
first try at attribute overloading

16 years agoimprove piping
ishmal [Wed, 4 Jun 2008 19:41:06 +0000 (19:41 +0000)]
improve piping

16 years agoRemove warnings
ishmal [Wed, 4 Jun 2008 17:43:36 +0000 (17:43 +0000)]
Remove warnings

16 years agoMake copy of libpng13.dll to libpng12-0.dll because Gtk changed the name. Thanks...
ishmal [Wed, 4 Jun 2008 17:41:54 +0000 (17:41 +0000)]
Make copy of libpng13.dll to libpng12-0.dll because Gtk changed the name.  Thanks, guys.

16 years agomarked forgotten translatable message
prokoudine [Wed, 4 Jun 2008 17:31:41 +0000 (17:31 +0000)]
marked forgotten translatable message

16 years agoAdd missing file knot-holder-entity.cpp; sorry for breaking the buildsvn add knot...
cilix42 [Wed, 4 Jun 2008 16:08:42 +0000 (16:08 +0000)]
Add missing file knot-holder-entity.cpp; sorry for breaking the buildsvn add knot-holder-entity.cpp

16 years agoSome cleanup of knotholder code; mostly renaming knot_(get|set|click)_func --> knot_...
cilix42 [Wed, 4 Jun 2008 14:47:17 +0000 (14:47 +0000)]
Some cleanup of knotholder code; mostly renaming knot_(get|set|click)_func --> knot_(get|set_click) for reduced verbosity

16 years agoIcon for spiro spline mode
cilix42 [Wed, 4 Jun 2008 13:17:10 +0000 (13:17 +0000)]
Icon for spiro spline mode

16 years agoNew 'spiro spline mode' in pen/pencil tool which automatically adds the spiro spline...
cilix42 [Wed, 4 Jun 2008 13:16:28 +0000 (13:16 +0000)]
New 'spiro spline mode' in pen/pencil tool which automatically adds the spiro spline LPE to newly drawn paths

16 years agoGroundwork to allow automatic application of an LPE to a newly drawn path
cilix42 [Wed, 4 Jun 2008 13:14:45 +0000 (13:14 +0000)]
Groundwork to allow automatic application of an LPE to a newly drawn path

16 years agoFactor out 'create and apply' code for LPEs so that it can be called from everywhere
cilix42 [Wed, 4 Jun 2008 13:12:05 +0000 (13:12 +0000)]
Factor out 'create and apply' code for LPEs so that it can be called from everywhere

16 years agoC++ify knotholders
cilix42 [Wed, 4 Jun 2008 12:19:54 +0000 (12:19 +0000)]
C++ify knotholders

16 years agoAdded tool style for eraser.
joncruz [Wed, 4 Jun 2008 05:17:13 +0000 (05:17 +0000)]
Added tool style for eraser.
Fixes bug #230483.

16 years agohave svgdoc.createElement make every one of the svg element types. fix a pure virtua...
ishmal [Tue, 3 Jun 2008 22:43:34 +0000 (22:43 +0000)]
have svgdoc.createElement make every one of the svg element types.  fix a pure virtual problem

16 years agoMove element creation to SVGDocumentImpl. Remove from svgreader.
ishmal [Tue, 3 Jun 2008 18:24:50 +0000 (18:24 +0000)]
Move element creation to SVGDocumentImpl.  Remove from svgreader.

16 years agocheck if item is LPEItem before casting!!! fixes bug 236788
johanengelen [Mon, 2 Jun 2008 20:22:58 +0000 (20:22 +0000)]
check if item is LPEItem before casting!!! fixes bug 236788

16 years agofix crash, report warnings instead. trying to find real cause for this (crash on...
johanengelen [Mon, 2 Jun 2008 20:01:04 +0000 (20:01 +0000)]
fix crash, report warnings instead. trying to find real cause for this (crash on copying path with lpestack).

16 years agocheck if item is LPEItem before casting!!! should fix bug 236788
johanengelen [Mon, 2 Jun 2008 19:53:18 +0000 (19:53 +0000)]
check if item is LPEItem before casting!!! should fix bug 236788

16 years agoChanged correct pixblock output mode for feSpecularlighting
kiirala [Mon, 2 Jun 2008 18:28:08 +0000 (18:28 +0000)]
Changed correct pixblock output mode for feSpecularlighting

16 years agoFixed SVG compliance problems with feMorphology (bug 181995 at least)
kiirala [Mon, 2 Jun 2008 17:46:50 +0000 (17:46 +0000)]
Fixed SVG compliance problems with feMorphology (bug 181995 at least)

16 years agoFixed uninitialized data in rendering filter effects & colormatrix (bug 193936)
kiirala [Mon, 2 Jun 2008 16:39:50 +0000 (16:39 +0000)]
Fixed uninitialized data in rendering filter effects & colormatrix (bug 193936)

16 years agoFixed conflicting result image names inside filter effects (bug 196126)
kiirala [Mon, 2 Jun 2008 15:47:48 +0000 (15:47 +0000)]
Fixed conflicting result image names inside filter effects (bug 196126)

16 years agoUpdated to reflect the recent file changes.
mfloryan [Mon, 2 Jun 2008 15:06:31 +0000 (15:06 +0000)]
Updated to reflect the recent file changes.