Code

inkscape.git
16 years agofix crash when ungrouping lpe paths
buliabyak [Thu, 12 Jun 2008 18:11:49 +0000 (18:11 +0000)]
fix crash when ungrouping lpe paths

16 years agoprevent crashing by not running prefs dialog when in command line mode
buliabyak [Thu, 12 Jun 2008 17:05:57 +0000 (17:05 +0000)]
prevent crashing by not running prefs dialog when in command line mode

16 years agoFix bug: allow curved paths again when switching back from 'wait for path' mode in...
cilix42 [Thu, 12 Jun 2008 13:30:04 +0000 (13:30 +0000)]
Fix bug: allow curved paths again when switching back from 'wait for path' mode in pen context

16 years agowhitespace
cilix42 [Thu, 12 Jun 2008 13:29:54 +0000 (13:29 +0000)]
whitespace

16 years agoWhen expecting mouse clicks for a LPE in pen context, don't concatenate with or conti...
cilix42 [Thu, 12 Jun 2008 13:23:48 +0000 (13:23 +0000)]
When expecting mouse clicks for a LPE in pen context, don't concatenate with or continue existing paths

16 years agoMore infrastructure to have waiting LPEs that are freshly created and applied to...
cilix42 [Thu, 12 Jun 2008 13:23:30 +0000 (13:23 +0000)]
More infrastructure to have waiting LPEs that are freshly created and applied to yet-to-be-drawn paths

16 years agoInfrastructure in class LivePathEffect::Effect to put Inkscape into 'wait for paramet...
cilix42 [Thu, 12 Jun 2008 13:23:17 +0000 (13:23 +0000)]
Infrastructure in class LivePathEffect::Effect to put Inkscape into 'wait for parameter path' mode; make LPEMirrorReflect use this to let the user specify the mirroring line

16 years agoPen context can now wait for a specified number of clicks and finish the path afterwa...
cilix42 [Thu, 12 Jun 2008 13:22:56 +0000 (13:22 +0000)]
Pen context can now wait for a specified number of clicks and finish the path afterwards; together with the new polylines mode this will be used to pass paths as arguments to LPEs

16 years agoRemove obsolete variable 'onlycurves' from pen-context.(h|cpp)
cilix42 [Thu, 12 Jun 2008 13:22:47 +0000 (13:22 +0000)]
Remove obsolete variable 'onlycurves' from pen-context.(h|cpp)

16 years agoNew 'polylines only' mode in pen context; to be used later when LPEs are waiting...
cilix42 [Thu, 12 Jun 2008 13:22:37 +0000 (13:22 +0000)]
New 'polylines only' mode in pen context; to be used later when LPEs are waiting for mouse input

16 years agoCommitting fixed patch for autosave. Fixes bug #171092.
joncruz [Thu, 12 Jun 2008 09:53:24 +0000 (09:53 +0000)]
Committing fixed patch for autosave. Fixes bug #171092.

16 years agoFixed uninitialized variables, including modified-since-save.
joncruz [Thu, 12 Jun 2008 09:49:31 +0000 (09:49 +0000)]
Fixed uninitialized variables, including modified-since-save.

16 years agopatch 185522
buliabyak [Thu, 12 Jun 2008 07:22:49 +0000 (07:22 +0000)]
patch 185522

16 years agopatch 234972
buliabyak [Thu, 12 Jun 2008 07:09:22 +0000 (07:09 +0000)]
patch 234972

16 years agoCmake: Fix Dependencies with multiple include directories.
verbalshadow [Thu, 12 Jun 2008 05:23:13 +0000 (05:23 +0000)]
Cmake: Fix Dependencies with multiple include directories.

16 years agopatch 181692
buliabyak [Thu, 12 Jun 2008 02:43:08 +0000 (02:43 +0000)]
patch 181692

16 years agoChange poppler link order
ishmal [Wed, 11 Jun 2008 21:26:43 +0000 (21:26 +0000)]
Change poppler link order

16 years agoAdd interface enumerations to element enumerations
ishmal [Wed, 11 Jun 2008 21:23:49 +0000 (21:23 +0000)]
Add interface enumerations to element enumerations

16 years agofix crashing on additional data dialog when running input or effect extension from...
buliabyak [Wed, 11 Jun 2008 20:18:39 +0000 (20:18 +0000)]
fix crashing on additional data dialog when running input or effect extension from command line

16 years agotweaks
ishmal [Wed, 11 Jun 2008 18:14:36 +0000 (18:14 +0000)]
tweaks

16 years agoBitfield alignment
ishmal [Wed, 11 Jun 2008 17:51:37 +0000 (17:51 +0000)]
Bitfield alignment

16 years agoNo longer needed.
ishmal [Wed, 11 Jun 2008 16:56:40 +0000 (16:56 +0000)]
No longer needed.

16 years agofix bug #239092
mental [Wed, 11 Jun 2008 16:34:55 +0000 (16:34 +0000)]
fix bug #239092

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.