Code

inkscape.git
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.

16 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

16 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

16 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

16 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

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

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

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

16 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

16 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

16 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

16 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/)

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

16 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

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

16 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

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

16 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

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

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

16 years agoLPE STACKING!
johanengelen [Fri, 30 May 2008 20:36:13 +0000 (20:36 +0000)]
LPE STACKING!
(many thanks to the french students who made this.)

16 years agoremove warnings
ishmal [Fri, 30 May 2008 20:15:16 +0000 (20:15 +0000)]
remove warnings

16 years agoAlvin Penner's fix for bug 235861
sasilver [Fri, 30 May 2008 09:39:13 +0000 (09:39 +0000)]
Alvin Penner's fix for bug 235861

16 years ago* implemented text_to_glyphs, so that now we can have ligadure glyphs
JucaBlues [Fri, 30 May 2008 04:49:54 +0000 (04:49 +0000)]
* implemented text_to_glyphs, so that now we can have ligadure glyphs
* Adapted example file to test this feature too

16 years agoCreate a new macro in path-prefix.h, WIN32_DATADIR, that works similarly to BR_DATADI...
ishmal [Thu, 29 May 2008 19:15:08 +0000 (19:15 +0000)]
Create a new macro in path-prefix.h, WIN32_DATADIR, that works similarly to BR_DATADIR.  This should solve the "current directory" problems.  This is a temporary fix.

16 years agofix some crashes. Now I check for the existence of the d atrtibute
JucaBlues [Thu, 29 May 2008 03:57:52 +0000 (03:57 +0000)]
fix some crashes. Now I check for the existence of the d atrtibute
before trying to use it

16 years agoCmake: Improve Gtkmm dependency checking, add new files to CMakeLists.txts, remove...
verbalshadow [Thu, 29 May 2008 02:39:00 +0000 (02:39 +0000)]
Cmake: Improve Gtkmm dependency checking, add new files to CMakeLists.txts, remove old/unused files

16 years agoRefactoring out common code
joncruz [Thu, 29 May 2008 01:19:24 +0000 (01:19 +0000)]
Refactoring out common code

16 years agoadded methods to PathSink to manage horizontal and vertical line segments, modified...
mcecchetti [Wed, 28 May 2008 09:40:56 +0000 (09:40 +0000)]
added methods to PathSink to manage horizontal and vertical line segments, modified svg-path-parser.rl accordingly; now PathSink::arcTo has a real implementation; parser issue quickly solved by Aaron Spike

16 years agoFix for PathString to eliminate use of sscanf (which is locale dependent).
jaspervdg [Tue, 27 May 2008 07:25:44 +0000 (07:25 +0000)]
Fix for PathString to eliminate use of sscanf (which is locale dependent).

16 years ago* converted nr-svgfont.cpp to C++ code so that we can render multiple instances of...
JucaBlues [Tue, 27 May 2008 02:28:04 +0000 (02:28 +0000)]
* converted nr-svgfont.cpp to C++ code so that we can render multiple instances of fonts. Currently we have one auxiliary GtkWindow for each <font> in a document.
* Implemented C++ binding for cairo userfonts. This will probably be sent to cairomm soon.
* Added a second font to the svgfont.svg test file.

16 years agoimplemented new classes for horizontal and vertical line segments; path.h has been...
mcecchetti [Mon, 26 May 2008 22:32:02 +0000 (22:32 +0000)]
implemented new classes for horizontal and vertical line segments; path.h has been splitted in several files: curve.h, sbasis-curve.h, bezier-curve.h, elliptical-arc.h, path.h; curves.h allows to include all curve types at once

16 years agoCmake: More Dependency work, added new files
verbalshadow [Sun, 25 May 2008 18:12:47 +0000 (18:12 +0000)]
Cmake: More Dependency work, added new files

16 years ago* add rule in configure.ac so that only who has cairo > 1.6.4 (currently cairo git...
JucaBlues [Sun, 25 May 2008 15:35:28 +0000 (15:35 +0000)]
* add rule in configure.ac so that only who has cairo > 1.6.4 (currently cairo git master branch) will compile SVGFonts (experimental) support.
* First code for SVGFonts rendering. Renders in a separate window because we still dont have pango integration.

16 years agoFix some compile warnings
cilix42 [Sun, 25 May 2008 14:06:41 +0000 (14:06 +0000)]
Fix some compile warnings

16 years agoRemoved g_free() calls that now refer to static strings
joncruz [Sat, 24 May 2008 21:27:44 +0000 (21:27 +0000)]
Removed g_free() calls that now refer to static strings

16 years agothis hack does not seem to be needed with modern gtk, and it prevents remembering...
buliabyak [Sat, 24 May 2008 19:32:40 +0000 (19:32 +0000)]
this hack does not seem to be needed with modern gtk, and it prevents remembering of last-browsed directory from working

16 years agoFixed the open dialog so that it remembers which folder you were browsing in
joelholdsworth [Sat, 24 May 2008 15:49:04 +0000 (15:49 +0000)]
Fixed the open dialog so that it remembers which folder you were browsing in

16 years agoAdded an 'appearance' hint to .inx optiongroups to allow for dropdowns instead of...
joncruz [Sat, 24 May 2008 13:43:22 +0000 (13:43 +0000)]
Added an 'appearance' hint to .inx optiongroups to allow for dropdowns instead of radio buttons.

16 years agoenable embedding of tiff images
buliabyak [Fri, 23 May 2008 17:42:34 +0000 (17:42 +0000)]
enable embedding of tiff images

16 years agopo/POTFILES.in: Regenerate with the new generate_POTFILES.sh version.
pjrm [Fri, 23 May 2008 13:39:28 +0000 (13:39 +0000)]
po/POTFILES.in: Regenerate with the new generate_POTFILES.sh version.

16 years agogenerate_POTFILES.sh: Include files that use *gettext functions; exclude files that...
pjrm [Fri, 23 May 2008 13:38:30 +0000 (13:38 +0000)]
generate_POTFILES.sh: Include files that use *gettext functions; exclude files that contain the string ‘_(’ when it's merely part of the string ‘a_(’ etc. (but allow N_, Q_, C_).
Search share/extensions/*.py now too, now that they use gettext.
More consistent sorting.

16 years agonoop: share/extensions: svn:ignore *.pyc
pjrm [Fri, 23 May 2008 13:15:17 +0000 (13:15 +0000)]
noop: share/extensions: svn:ignore *.pyc

16 years agoshare/extensions/*.py: Use gettext for (many) error messages.
pjrm [Fri, 23 May 2008 12:49:19 +0000 (12:49 +0000)]
share/extensions/*.py: Use gettext for (many) error messages.
share/extensions/inkex.py: (errormsg): New function.

16 years agoshare/extensions/*.py: Wrap ‘e = MyEffect(); e.affect()’ in ‘if __name__ == '__main__...
pjrm [Fri, 23 May 2008 07:05:15 +0000 (07:05 +0000)]
share/extensions/*.py: Wrap ‘e = MyEffect(); e.affect()’ in ‘if __name__ == '__main__':’, to allow use of pychecker.

16 years agooops, back out unintended change committed in r18709.
pjrm [Fri, 23 May 2008 06:55:37 +0000 (06:55 +0000)]
oops, back out unintended change committed in r18709.

16 years agonoop: share/extensions/dimension.py: expand tabs, add vim modeline
pjrm [Fri, 23 May 2008 06:44:28 +0000 (06:44 +0000)]
noop: share/extensions/dimension.py: expand tabs, add vim modeline

16 years agonoop: Add vim modeline for all share/extensions/*.py files that use four-space indent...
pjrm [Fri, 23 May 2008 06:31:40 +0000 (06:31 +0000)]
noop: Add vim modeline for all share/extensions/*.py files that use four-space indentation.