Code

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

15 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

15 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

15 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

15 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

15 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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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)

15 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

15 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)

15 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)

15 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

15 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

15 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 !

15 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

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

15 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() );

15 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() );

15 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() );

15 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)

15 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() );

15 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() );

15 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() );

15 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.

15 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.

15 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

15 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.

15 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.

15 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

15 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

15 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

15 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

15 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

15 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.

15 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+

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

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

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

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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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.

15 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.

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

15 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.

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

15 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.

15 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.

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

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

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

15 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.

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

15 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

15 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

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

15 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

15 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

15 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

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

15 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.

15 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

15 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.

15 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

15 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).

15 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

15 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

15 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)

15 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)

15 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)

15 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.

15 years agoMade possible to use blur on object that has a complex filter applied
kiirala [Mon, 2 Jun 2008 13:47:31 +0000 (13:47 +0000)]
Made possible to use blur on object that has a complex filter applied

15 years agoadded MATLAB and Echo (Fedora) palettes
prokoudine [Mon, 2 Jun 2008 11:12:01 +0000 (11:12 +0000)]
added MATLAB and Echo (Fedora) palettes

15 years agoset eol-style:native for recently added files
cilix42 [Mon, 2 Jun 2008 09:21:26 +0000 (09:21 +0000)]
set eol-style:native for recently added files

15 years agoset eol-style:native for recently added files
cilix42 [Mon, 2 Jun 2008 09:13:23 +0000 (09:13 +0000)]
set eol-style:native for recently added files

15 years agobasic support for <title> and <desc>
sasilver [Mon, 2 Jun 2008 08:23:40 +0000 (08:23 +0000)]
basic support for <title> and <desc>
make the Title and Description fields on the Object Properties dialog work (bug 171024)

15 years agoPass through more calls to parent contexts, and added more common property handling.
joncruz [Mon, 2 Jun 2008 07:01:30 +0000 (07:01 +0000)]
Pass through more calls to parent contexts, and added more common property handling.
Fixes bug #236667 and issues with middle-drag and ctrl-arrow.

15 years agoCorrected broken XML for size pref.
joncruz [Sun, 1 Jun 2008 21:54:53 +0000 (21:54 +0000)]
Corrected broken XML for size pref.
Fixes bug #236485.

15 years agoadd terminator to table, add lookup functions
ishmal [Sun, 1 Jun 2008 19:36:31 +0000 (19:36 +0000)]
add terminator to table,  add lookup functions

15 years ago* commenting my code so that we increase SVGFonts "bus factor" in
JucaBlues [Sun, 1 Jun 2008 19:33:28 +0000 (19:33 +0000)]
* commenting my code so that we increase SVGFonts "bus factor" in
inkscape :-D http://en.wikipedia.org/wiki/Bus_factor
* added some (still not really functional) code for vertical text

15 years agoAdd enumerations for svg element types, and lookup table
ishmal [Sun, 1 Jun 2008 19:07:48 +0000 (19:07 +0000)]
Add enumerations for svg element types, and lookup table

15 years ago2 new filters sent by Chrisdesign
JucaBlues [Sat, 31 May 2008 18:25:47 +0000 (18:25 +0000)]
2 new filters sent by Chrisdesign
(http://chrisdesign.wordpress.com/filter-effects/)

15 years agoFix an error and remove some useless code (thanks to Peter Moulder for pointing me...
dvlierop2 [Sat, 31 May 2008 17:33:48 +0000 (17:33 +0000)]
Fix an error and remove some useless code (thanks to Peter Moulder for pointing me at this)

15 years ago* started implementing rendering of SVGFonts horizontal kerning
JucaBlues [Sat, 31 May 2008 17:20:02 +0000 (17:20 +0000)]
* started implementing rendering of SVGFonts horizontal kerning

15 years agoAdded the French students that implemented LPE Stacking, the Envelope LPE, and Lattic...
scislac [Sat, 31 May 2008 17:17:07 +0000 (17:17 +0000)]
Added the French students that implemented LPE Stacking, the Envelope LPE, and Lattice LPE.

15 years agowrtlprnft's patch for bug 234834 - keeps guidelines in same position relative to...
sasilver [Sat, 31 May 2008 15:16:57 +0000 (15:16 +0000)]
wrtlprnft's patch for bug 234834 - keeps guidelines in same position relative to objects when doing "Fit page to selection", and also keeps the objects in the same position on the screen

15 years agoCmake: added windows path to find modules.
verbalshadow [Sat, 31 May 2008 14:38:51 +0000 (14:38 +0000)]
Cmake: added windows path to find modules.

15 years agoStacked LPEs should now use the right bounding box
bgk [Sat, 31 May 2008 10:38:48 +0000 (10:38 +0000)]
Stacked LPEs should now use the right bounding box

15 years agofix crash in 2geom (already committed to 2geom)
johanengelen [Fri, 30 May 2008 21:13:33 +0000 (21:13 +0000)]
fix crash in 2geom (already committed to 2geom)

15 years agoadd missing files
johanengelen [Fri, 30 May 2008 20:46:01 +0000 (20:46 +0000)]
add missing files