Code

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

16 years agoshare/extension/*.py: noop: minor whitespace regularizations ahead of adding vim...
pjrm [Fri, 23 May 2008 06:15:31 +0000 (06:15 +0000)]
share/extension/*.py: noop: minor whitespace regularizations ahead of adding vim modelines

16 years agoupdate to really latest 2geom
johanengelen [Thu, 22 May 2008 19:51:50 +0000 (19:51 +0000)]
update to really latest 2geom

16 years agoupdate to latest 2geom
johanengelen [Thu, 22 May 2008 19:44:09 +0000 (19:44 +0000)]
update to latest 2geom

16 years agoFixing z-order problem on flowed text -> text. See LP#233830
ozmikepittman [Thu, 22 May 2008 16:31:22 +0000 (16:31 +0000)]
Fixing z-order problem on flowed text -> text. See LP#233830

16 years agoImproved emf handling
ulferikson [Thu, 22 May 2008 14:32:26 +0000 (14:32 +0000)]
Improved emf handling

16 years agoFixed concat of i18n strings
joncruz [Thu, 22 May 2008 06:39:40 +0000 (06:39 +0000)]
Fixed concat of i18n strings

16 years agoFixed broken i18n strings causing problems with <b> tag
joncruz [Thu, 22 May 2008 04:57:08 +0000 (04:57 +0000)]
Fixed broken i18n strings causing problems with <b> tag

16 years agoCmake: Find Dependencies rebuilt
verbalshadow [Thu, 22 May 2008 04:22:54 +0000 (04:22 +0000)]
Cmake: Find Dependencies rebuilt

16 years ago- Use constrainedSnap() instead of freeSnap() if we're dragging nodes with ctrl
dvlierop2 [Wed, 21 May 2008 19:36:13 +0000 (19:36 +0000)]
- Use constrainedSnap() instead of freeSnap() if we're dragging nodes with ctrl
- Enable snapindicator by default because this might reveal snapping bugs, and to get co-developpers acquainted with it; might be disabled again by default before the next release if this proves to be annoying

16 years agoChanging configure.ac to build the Makefile for the Poly objects
Ted Gould [Wed, 21 May 2008 12:49:49 +0000 (05:49 -0700)]
Changing configure.ac to build the Makefile for the Poly objects

16 years agoChanging the executable bit that shouldn't be there.
Ted Gould [Wed, 21 May 2008 12:46:44 +0000 (05:46 -0700)]
Changing the executable bit that shouldn't be there.

16 years agoattempt to fix makefile for Poly3DObjects - see bug 230478
sasilver [Wed, 21 May 2008 12:04:34 +0000 (12:04 +0000)]
attempt to fix makefile for Poly3DObjects - see bug 230478

16 years agoRemove Makefile.am as an entry in the Makefile.am file - see LP # 230478
ozmikepittman [Wed, 21 May 2008 11:26:19 +0000 (11:26 +0000)]
Remove Makefile.am as an entry in the Makefile.am file - see LP # 230478

16 years agoshould make your favourite warning go away :)
prokoudine [Wed, 21 May 2008 10:05:11 +0000 (10:05 +0000)]
should make your favourite warning go away :)

16 years agoTrying to get Poly3DObjects to build properly on Linux - See LP#230478
ozmikepittman [Wed, 21 May 2008 00:24:15 +0000 (00:24 +0000)]
Trying to get Poly3DObjects to build properly on Linux - See LP#230478

16 years agosynchronization with 2geom library
mcecchetti [Tue, 20 May 2008 22:29:23 +0000 (22:29 +0000)]
synchronization with 2geom library

16 years agoFix snapping for constrained translation in the selector tool
dvlierop2 [Tue, 20 May 2008 20:58:56 +0000 (20:58 +0000)]
Fix snapping for constrained translation in the selector tool

16 years agoImprove snapping behaviour when creating new shapes
dvlierop2 [Tue, 20 May 2008 19:21:01 +0000 (19:21 +0000)]
Improve snapping behaviour when creating new shapes

16 years agoSet of (cxx)tests for svg-path.cpp and PathString. Not (yet) part of make check.
jaspervdg [Tue, 20 May 2008 18:28:08 +0000 (18:28 +0000)]
Set of (cxx)tests for svg-path.cpp and PathString. Not (yet) part of make check.

16 years agoPathString now makes sure that relative coordinates are based on rounded absolute...
jaspervdg [Tue, 20 May 2008 18:25:46 +0000 (18:25 +0000)]
PathString now makes sure that relative coordinates are based on rounded absolute coordinates (which allows for greater path data size reductions and makes sure that two identical coordinates will result in the same rounded coordinates).

16 years agonoop: some more cosmetics in lpe-skeleton.(h|cpp)
cilix42 [Tue, 20 May 2008 12:03:30 +0000 (12:03 +0000)]
noop: some more cosmetics in lpe-skeleton.(h|cpp)

16 years agoRefactoring begining
joncruz [Tue, 20 May 2008 07:21:30 +0000 (07:21 +0000)]
Refactoring begining

16 years agoConst fix for test
joncruz [Tue, 20 May 2008 05:48:41 +0000 (05:48 +0000)]
Const fix for test

16 years agoCmake: Fix issue with generated sp-marshall.h/.cpp not linking
verbalshadow [Mon, 19 May 2008 22:57:01 +0000 (22:57 +0000)]
Cmake: Fix issue with generated sp-marshall.h/.cpp not linking

16 years agosecond part of LPE skeleton correction from commit #18654 ;-)
cilix42 [Mon, 19 May 2008 21:30:12 +0000 (21:30 +0000)]
second part of LPE skeleton correction from commit #18654 ;-)

16 years agoCmake: Moved sp-* into own library to reduce link cmdline and add new files to their...
verbalshadow [Mon, 19 May 2008 20:03:53 +0000 (20:03 +0000)]
Cmake: Moved sp-* into own library to reduce link cmdline and add new files to their cmakelists.txts

16 years agoSPDrawAnchor should add a refcount to SPCurve!
johanengelen [Mon, 19 May 2008 19:04:45 +0000 (19:04 +0000)]
SPDrawAnchor should add a refcount to SPCurve!

16 years agoAdd checkbox for LPEs to temporarily disable them on canvas (but keep them applied...
cilix42 [Mon, 19 May 2008 17:02:06 +0000 (17:02 +0000)]
Add checkbox for LPEs to temporarily disable them on canvas (but keep them applied to the object)

16 years agoApplying several of Inductiveload's enhancements and fixes to his extensions. See...
ozmikepittman [Mon, 19 May 2008 16:28:00 +0000 (16:28 +0000)]
Applying several of Inductiveload's enhancements and fixes to his extensions. See LP #230478.

16 years agoAdd possibility to let the 'tangent' have a fixed angle relative to the curve
cilix42 [Mon, 19 May 2008 16:14:14 +0000 (16:14 +0000)]
Add possibility to let the 'tangent' have a fixed angle relative to the curve

16 years agoAdd handles to adapt tangent length
cilix42 [Mon, 19 May 2008 16:10:35 +0000 (16:10 +0000)]
Add handles to adapt tangent length

16 years agoForgot to add two files in commit #18667. Sorry for breaking the build for a minute!
cilix42 [Mon, 19 May 2008 16:04:34 +0000 (16:04 +0000)]
Forgot to add two files in commit #18667. Sorry for breaking the build for a minute!

16 years agoMake LPEPerpBisector use the new nearest_point() function from point to line
cilix42 [Mon, 19 May 2008 16:02:19 +0000 (16:02 +0000)]
Make LPEPerpBisector use the new nearest_point() function from point to line

16 years agoNearest point from point to line (simplicistic convenience function)
cilix42 [Mon, 19 May 2008 16:01:37 +0000 (16:01 +0000)]
Nearest point from point to line (simplicistic convenience function)

16 years agonoop: add emacs/vim footer to ui/dialog/livepatheffect-editor.cpp
cilix42 [Mon, 19 May 2008 16:00:28 +0000 (16:00 +0000)]
noop: add emacs/vim footer to ui/dialog/livepatheffect-editor.cpp

16 years agoNew LPE: Tangent to curve (draws a tangent of fixed length which can be dragged along...
cilix42 [Mon, 19 May 2008 15:59:20 +0000 (15:59 +0000)]
New LPE: Tangent to curve (draws a tangent of fixed length which can be dragged along the curve)

16 years agonoop: cosmetics in lpe-skeleton.h
cilix42 [Mon, 19 May 2008 15:53:20 +0000 (15:53 +0000)]
noop: cosmetics in lpe-skeleton.h

16 years agoProvide knotholder for LPEPerpBisector; TODO: this replaces the usual nodepath in...
cilix42 [Mon, 19 May 2008 15:52:07 +0000 (15:52 +0000)]
Provide knotholder for LPEPerpBisector; TODO: this replaces the usual nodepath in node context but in the long run it is desired to use both along with each other

16 years agofixed broken intltool-update command :)
prokoudine [Mon, 19 May 2008 09:51:21 +0000 (09:51 +0000)]
fixed broken intltool-update command :)

16 years agoFixed minor error in the Function Plotter extension - see LP #230765
ozmikepittman [Mon, 19 May 2008 04:03:03 +0000 (04:03 +0000)]
Fixed minor error in the Function Plotter extension - see LP #230765

16 years agoAdd a function doOnApply() for LPEs which is executed once when the effect is applied...
cilix42 [Sun, 18 May 2008 21:02:43 +0000 (21:02 +0000)]
Add a function doOnApply() for LPEs which is executed once when the effect is applied to an item (contrary to doBeforeEffect() which is executed, e.g., each time a parameter changes

16 years agonoop: correct spelling in comment
cilix42 [Sun, 18 May 2008 20:54:23 +0000 (20:54 +0000)]
noop: correct spelling in comment

16 years agoAdd function to return path effect type
cilix42 [Sun, 18 May 2008 20:53:26 +0000 (20:53 +0000)]
Add function to return path effect type

16 years agoNew LPE: Perpendicular bisector
cilix42 [Sun, 18 May 2008 20:47:27 +0000 (20:47 +0000)]
New LPE: Perpendicular bisector

16 years agoFix regression in constrained translation
dvlierop2 [Sun, 18 May 2008 20:38:43 +0000 (20:38 +0000)]
Fix regression in constrained translation

16 years agoEliminate some redundant snapping calls
dvlierop2 [Sun, 18 May 2008 20:01:38 +0000 (20:01 +0000)]
Eliminate some redundant snapping calls

16 years agoConvenience access functions for first and last value of a Geom::Piecewise<>
cilix42 [Sun, 18 May 2008 18:31:07 +0000 (18:31 +0000)]
Convenience access functions for first and last value of a Geom::Piecewise<>

16 years agonoop: add 'end of #includes' indicator in effect.cpp to simplify scripting
cilix42 [Sun, 18 May 2008 18:28:13 +0000 (18:28 +0000)]
noop: add 'end of #includes' indicator in effect.cpp to simplify scripting

16 years agoThe declaration of doEffect_path() in lpe-skeleton.h should match the one in live_eff...
cilix42 [Sun, 18 May 2008 18:27:17 +0000 (18:27 +0000)]
The declaration of doEffect_path() in lpe-skeleton.h should match the one in live_effects/effect.h to ensure proper overloading (otherwise only the implementation in effect.h is called which does nothingsvn diff)

16 years agoupdate to latest 2geom
johanengelen [Sun, 18 May 2008 14:09:46 +0000 (14:09 +0000)]
update to latest 2geom

16 years agoadd SVG Output preferences
johanengelen [Sun, 18 May 2008 13:47:34 +0000 (13:47 +0000)]
add SVG Output preferences

16 years agoAdded preferences for controlling external image editing and reload.
joncruz [Sun, 18 May 2008 08:20:21 +0000 (08:20 +0000)]
Added preferences for controlling external image editing and reload.
Fixes bug #171824.

16 years agoFixed warnings from deprecated function
joncruz [Sun, 18 May 2008 00:23:30 +0000 (00:23 +0000)]
Fixed warnings from deprecated function

16 years agoAdded external image edit launch and refresh on changed
joncruz [Sat, 17 May 2008 22:34:59 +0000 (22:34 +0000)]
Added external image edit launch and refresh on changed

16 years agoNew LPE : Envelope deformation
bgk [Sat, 17 May 2008 10:48:43 +0000 (10:48 +0000)]
New LPE : Envelope deformation

16 years agoFix LPE for groups bounding box calculation by using the SPItem->getBounds method.
bgk [Sat, 17 May 2008 10:47:58 +0000 (10:47 +0000)]
Fix LPE for groups bounding box calculation by using the SPItem->getBounds method.
Some preliminary work for LPE stacking.

16 years agoWarning cleanup
joncruz [Sat, 17 May 2008 04:44:14 +0000 (04:44 +0000)]
Warning cleanup

16 years agoFixed initialization order
joncruz [Sat, 17 May 2008 04:10:19 +0000 (04:10 +0000)]
Fixed initialization order

16 years agoFix a regression in the snapper, caused by me. Sorry!
dvlierop2 [Fri, 16 May 2008 21:53:27 +0000 (21:53 +0000)]
Fix a regression in the snapper, caused by me. Sorry!

16 years ago * share/extensions/Makefile.am: Don't run make in the Poly3DObjects
mjwybrow [Fri, 16 May 2008 21:26:23 +0000 (21:26 +0000)]
  * share/extensions/Makefile.am: Don't run make in the Poly3DObjects
    directory -- it doesn't have a Makefile or need to build anything and
    causes an error for people using separate build directories.

16 years ago * src/Makefile.am: Add missing IMAGEMAGICK_INCLUDES.
mjwybrow [Fri, 16 May 2008 20:40:11 +0000 (20:40 +0000)]
  * src/Makefile.am: Add missing IMAGEMAGICK_INCLUDES.

16 years agoAdding extension Effects->Render->3D Polyhedron by inductiveload - see LP #230478
ozmikepittman [Fri, 16 May 2008 02:57:01 +0000 (02:57 +0000)]
Adding extension Effects->Render->3D Polyhedron by inductiveload - see LP #230478

16 years agoback off on lifecycle stuff for now
mental [Thu, 15 May 2008 23:28:33 +0000 (23:28 +0000)]
back off on lifecycle stuff for now

16 years agoMisleading server name.
ishmal [Thu, 15 May 2008 19:49:22 +0000 (19:49 +0000)]
Misleading server name.

16 years agoadd DumbPtr
mental [Thu, 15 May 2008 17:01:23 +0000 (17:01 +0000)]
add DumbPtr

16 years agointroduce lifecycle stuff which will replace libgc
mental [Thu, 15 May 2008 17:01:15 +0000 (17:01 +0000)]
introduce lifecycle stuff which will replace libgc

16 years agoIncrease substitution depth, remove unused vars warnings. Implement verbose, quiet...
ishmal [Wed, 14 May 2008 15:36:51 +0000 (15:36 +0000)]
Increase substitution depth, remove unused vars warnings.  Implement verbose, quiet, failOnError.

16 years agoSolve a snapping regression, which caused snapping of new items to (0,0) when there...
dvlierop2 [Tue, 13 May 2008 19:10:22 +0000 (19:10 +0000)]
Solve a snapping regression, which caused snapping of new items to (0,0) when there was in fact nothing to snap to...

16 years agoAllow nested substitutions. Such as s="${a}" and a="${b}" and b="hello"
ishmal [Tue, 13 May 2008 18:21:32 +0000 (18:21 +0000)]
Allow nested substitutions.  Such as  s="${a}"  and a="${b}"  and b="hello"

16 years agoRemove warnings
ishmal [Tue, 13 May 2008 17:33:50 +0000 (17:33 +0000)]
Remove warnings

16 years agoremove warnings
ishmal [Tue, 13 May 2008 17:22:10 +0000 (17:22 +0000)]
remove warnings

16 years agoremove warnings
ishmal [Tue, 13 May 2008 16:25:06 +0000 (16:25 +0000)]
remove warnings

16 years agoFix for future testing.
ishmal [Tue, 13 May 2008 15:30:30 +0000 (15:30 +0000)]
Fix for future testing.

16 years agoSetting for testing got into the tree. oops.
ishmal [Tue, 13 May 2008 15:03:47 +0000 (15:03 +0000)]
Setting for testing got into the tree.  oops.

16 years agoRemoved outdated default size setting
joncruz [Tue, 13 May 2008 05:02:59 +0000 (05:02 +0000)]
Removed outdated default size setting

16 years agomodified the svg file used for testing of SVGFonts
JucaBlues [Tue, 13 May 2008 03:09:37 +0000 (03:09 +0000)]
modified the svg file used for testing of SVGFonts

16 years agoreverting previous work on font-face attributes. These attributes are already treated...
JucaBlues [Tue, 13 May 2008 03:08:01 +0000 (03:08 +0000)]
reverting previous work on font-face attributes. These attributes are already treated in SPStyle

16 years agouse smart pointer types correctly
ishmal [Mon, 12 May 2008 21:31:27 +0000 (21:31 +0000)]
use smart pointer types correctly

16 years agominor changes for svg document
ishmal [Mon, 12 May 2008 20:20:57 +0000 (20:20 +0000)]
minor changes for svg document

16 years agoAdd a centralized check (i.e. in the snapper mechanism) whether we've snapped or...
dvlierop2 [Mon, 12 May 2008 18:58:04 +0000 (18:58 +0000)]
Add a centralized check (i.e. in the snapper mechanism) whether we've snapped or not, instead of leaving it up to the various tools. This should prevent these tools from moving to (0,0) if they bluntly use the value returned by the snapping mechanism without checking whether snapping has really occured.