Code

inkscape.git
15 years agojabber_whiteboard/message-node.h: Supply missing #includes/declarations so that we...
pjrm [Sat, 5 Jul 2008 12:01:55 +0000 (12:01 +0000)]
jabber_whiteboard/message-node.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion.  (Detected by check-header-compile.)  (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.)

15 years agoink-action.h: Supply missing #includes/declarations so that we don't depend on order...
pjrm [Sat, 5 Jul 2008 12:01:48 +0000 (12:01 +0000)]
ink-action.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion.  (Detected by check-header-compile.)  (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.)

15 years agohelper/unit-tracker.h: Supply missing #includes/declarations so that we don't depend...
pjrm [Sat, 5 Jul 2008 12:01:41 +0000 (12:01 +0000)]
helper/unit-tracker.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion.  (Detected by check-header-compile.)  (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.)

15 years agodisplay/nr-filter-pixops.h: Supply missing #includes/declarations so that we don...
pjrm [Sat, 5 Jul 2008 12:01:32 +0000 (12:01 +0000)]
display/nr-filter-pixops.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion.  (Detected by check-header-compile.)  (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.)

15 years agodisplay/inkscape-cairo.h: Supply missing #includes/declarations so that we don't...
pjrm [Sat, 5 Jul 2008 12:01:25 +0000 (12:01 +0000)]
display/inkscape-cairo.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion.  (Detected by check-header-compile.)  (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.)

15 years agocontext-fns.h: Supply missing #includes/declarations so that we don't depend on order...
pjrm [Sat, 5 Jul 2008 12:01:16 +0000 (12:01 +0000)]
context-fns.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion.  (Detected by check-header-compile.)  (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.)

15 years agoconn-avoid-ref.h: Supply missing #includes/declarations so that we don't depend on...
pjrm [Sat, 5 Jul 2008 12:01:08 +0000 (12:01 +0000)]
conn-avoid-ref.h: Supply missing #includes/declarations so that we don't depend on order of .h file inclusion.  (Detected by check-header-compile.)  (Using separate commits to facilitate diagnosis/resolution of any problems; comments welcome.)

15 years agocheck-header-compile.in: Update list of needed CPPFLAGS.
pjrm [Sat, 5 Jul 2008 11:26:28 +0000 (11:26 +0000)]
check-header-compile.in: Update list of needed CPPFLAGS.
Ignore dom/* headers for the moment.
Updates to list of .h files that shouldn't be tested.

15 years agofix a long-standing bug with Undo after Fit canvas to selection/drawing.
pjrm [Sat, 5 Jul 2008 11:21:52 +0000 (11:21 +0000)]
fix a long-standing bug with Undo after Fit canvas to selection/drawing.

15 years agoEOL fixups
joncruz [Sat, 5 Jul 2008 05:11:28 +0000 (05:11 +0000)]
EOL fixups

15 years agoWarning cleanup
joncruz [Sat, 5 Jul 2008 02:54:00 +0000 (02:54 +0000)]
Warning cleanup

15 years agoanother fix for parallel knotholder and nodepath
buliabyak [Sat, 5 Jul 2008 00:55:51 +0000 (00:55 +0000)]
another fix for parallel knotholder and nodepath

15 years agofix crash triggered by having both knotholder and nodepath at the same time
buliabyak [Sat, 5 Jul 2008 00:52:25 +0000 (00:52 +0000)]
fix crash triggered by having both knotholder and nodepath at the same time

15 years agocreate pathvector_for_curve method.
johanengelen [Fri, 4 Jul 2008 23:36:25 +0000 (23:36 +0000)]
create pathvector_for_curve method.

15 years ago2geomify calculation of number of markers on a path
johanengelen [Fri, 4 Jul 2008 23:07:47 +0000 (23:07 +0000)]
2geomify calculation of number of markers on a path

15 years agouse if(dynamic_cast<>) instead of if(typeid==) to check 2geom segment types for strai...
johanengelen [Fri, 4 Jul 2008 22:52:34 +0000 (22:52 +0000)]
use if(dynamic_cast<>) instead of if(typeid==) to check 2geom segment types for straightlines. this because the closing line segment is special class ClosingSegment : public LineSegment.

15 years agoconvert a path to guides using 2geom calls
johanengelen [Fri, 4 Jul 2008 22:41:45 +0000 (22:41 +0000)]
convert a path to guides using 2geom calls

15 years agoWarning cleanup
joncruz [Fri, 4 Jul 2008 21:43:41 +0000 (21:43 +0000)]
Warning cleanup

15 years agochange some SP_CURVE_BPATH to get_bpath
johanengelen [Fri, 4 Jul 2008 20:36:10 +0000 (20:36 +0000)]
change some SP_CURVE_BPATH to get_bpath

15 years agoadd readme file to 2geom directory to warn people not to make code changes there
johanengelen [Fri, 4 Jul 2008 19:50:48 +0000 (19:50 +0000)]
add readme file to 2geom directory to warn people not to make code changes there

15 years agoFix Camouflage pattern (see bug 245301).
sasilver [Fri, 4 Jul 2008 12:02:53 +0000 (12:02 +0000)]
Fix Camouflage pattern (see bug 245301).

15 years agoMake pen/pencil shapes work in spiro mode, too
cilix42 [Fri, 4 Jul 2008 11:32:17 +0000 (11:32 +0000)]
Make pen/pencil shapes work in spiro mode, too

15 years agoRemove oncanvas_editable attribute for PointParams; use their internal shape settings...
cilix42 [Fri, 4 Jul 2008 11:24:40 +0000 (11:24 +0000)]
Remove oncanvas_editable attribute for PointParams; use their internal shape settings for the knotholder handle

15 years agoKeep original path by default for LPEMirrorReflect
cilix42 [Fri, 4 Jul 2008 11:23:25 +0000 (11:23 +0000)]
Keep original path by default for LPEMirrorReflect

15 years agoEOL fixup
joncruz [Fri, 4 Jul 2008 06:38:30 +0000 (06:38 +0000)]
EOL fixup

15 years agoFixed includes
joncruz [Fri, 4 Jul 2008 06:29:25 +0000 (06:29 +0000)]
Fixed includes

15 years agoCorrect path separators and missed variable assignment due to indention
joncruz [Fri, 4 Jul 2008 06:29:02 +0000 (06:29 +0000)]
Correct path separators and missed variable assignment due to indention

15 years agoFixed EOLs
joncruz [Fri, 4 Jul 2008 05:11:57 +0000 (05:11 +0000)]
Fixed EOLs

15 years agoPoly::shifted: simplify to discard mention of handling negative argument value.
pjrm [Fri, 4 Jul 2008 04:56:42 +0000 (04:56 +0000)]
Poly::shifted: simplify to discard mention of handling negative argument value.

15 years agoFixed initialization order.
joncruz [Fri, 4 Jul 2008 04:45:37 +0000 (04:45 +0000)]
Fixed initialization order.

15 years agoMark suspicious ignoring of parameters
joncruz [Fri, 4 Jul 2008 04:36:18 +0000 (04:36 +0000)]
Mark suspicious ignoring of parameters

15 years agoMark a missing case statement
joncruz [Fri, 4 Jul 2008 04:35:01 +0000 (04:35 +0000)]
Mark a missing case statement

15 years agoMask out dead code causing warning
joncruz [Fri, 4 Jul 2008 04:31:36 +0000 (04:31 +0000)]
Mask out dead code causing warning

15 years agoremove left-overs from making SPCurve a proper class with methods
johanengelen [Thu, 3 Jul 2008 21:50:03 +0000 (21:50 +0000)]
remove left-overs from making SPCurve a proper class with methods

15 years agostart removing old path code in spcurve. start with const functions
johanengelen [Thu, 3 Jul 2008 21:44:17 +0000 (21:44 +0000)]
start removing old path code in spcurve. start with const functions

15 years agoimprove pencil-context logic
johanengelen [Thu, 3 Jul 2008 21:31:35 +0000 (21:31 +0000)]
improve pencil-context logic

15 years agoimprove spcurve::second_point and document its behavior
johanengelen [Thu, 3 Jul 2008 21:31:15 +0000 (21:31 +0000)]
improve spcurve::second_point and document its behavior

15 years agonoop, add comment
johanengelen [Thu, 3 Jul 2008 20:23:49 +0000 (20:23 +0000)]
noop, add comment

15 years agoupdate 2geom (svn rev1433). how far away is automatic filelist building on linux...
johanengelen [Thu, 3 Jul 2008 20:18:47 +0000 (20:18 +0000)]
update 2geom (svn rev1433). how far away is automatic filelist building on linux? (i.e. btool)

15 years agoupdate 2geom (svn rev1433)
johanengelen [Thu, 3 Jul 2008 20:06:40 +0000 (20:06 +0000)]
update 2geom (svn rev1433)

15 years agoPatch so Inkscape will compile on Solaris 10 from LP https://bugs.launchpad.net/inksc...
verbalshadow [Thu, 3 Jul 2008 16:14:52 +0000 (16:14 +0000)]
Patch so Inkscape will compile on Solaris 10 from LP https://bugs.launchpad.net/inkscape/+bug/245173

15 years agoTests for svg-affine and svg-length (the latter is not much more than a stub) and...
jaspervdg [Thu, 3 Jul 2008 13:20:00 +0000 (13:20 +0000)]
Tests for svg-affine and svg-length (the latter is not much more than a stub) and a CxxTest version of the list-container tests.

15 years agoadded new LPE and remove obsolete entries
prokoudine [Thu, 3 Jul 2008 12:19:54 +0000 (12:19 +0000)]
added new LPE and remove obsolete entries

15 years agoadd comments
cilix42 [Thu, 3 Jul 2008 09:40:50 +0000 (09:40 +0000)]
add comments

15 years agoAdd new shape 'crescendo' in dropdown box of pen tool
cilix42 [Thu, 3 Jul 2008 09:40:42 +0000 (09:40 +0000)]
Add new shape 'crescendo' in dropdown box of pen tool

15 years agoWhen drawing with activated shape in pencil/pen tool, apply the original stroke color...
cilix42 [Thu, 3 Jul 2008 09:40:29 +0000 (09:40 +0000)]
When drawing with activated shape in pencil/pen tool, apply the original stroke color as fill and unset stroke

15 years agoFirst shot at a dropdown selector for various shapes in pen/pencil tool, along the...
cilix42 [Thu, 3 Jul 2008 09:40:20 +0000 (09:40 +0000)]
First shot at a dropdown selector for various shapes in pen/pencil tool, along the lines of Valerie's blueprint.
TODO: more paths for the dropdown, read them from a separate file; show images for the choices, not text

15 years agoNew LPE: Offset
cilix42 [Thu, 3 Jul 2008 09:39:53 +0000 (09:39 +0000)]
New LPE: Offset

15 years agoPartial 2geom update (anticipating changes that will be part of the next major update...
cilix42 [Thu, 3 Jul 2008 09:39:33 +0000 (09:39 +0000)]
Partial 2geom update (anticipating changes that will be part of the next major update anyway, so overwriting them on next update is not a problem)

15 years agoCheck that objects are of the right type before casting them.
sasilver [Thu, 3 Jul 2008 09:19:46 +0000 (09:19 +0000)]
Check that objects are of the right type before casting them.
Fixes crash that occurs when transforming a 3D box with a title or description (bug 237331).

15 years ago2geomify deletion of node in pen-context.cpp
johanengelen [Wed, 2 Jul 2008 18:29:19 +0000 (18:29 +0000)]
2geomify deletion of node in pen-context.cpp

15 years agolpe-skeleton: add boilerplate code to create knotholder handles for LPEs
cilix42 [Wed, 2 Jul 2008 17:40:36 +0000 (17:40 +0000)]
lpe-skeleton: add boilerplate code to create knotholder handles for LPEs

15 years agolpe-skeleton: add variable to control display of original path
cilix42 [Wed, 2 Jul 2008 17:39:56 +0000 (17:39 +0000)]
lpe-skeleton: add variable to control display of original path

15 years agoHandle for PerspectivePath LPE to adjust offset (not ideal yet but better than enteri...
cilix42 [Wed, 2 Jul 2008 16:52:42 +0000 (16:52 +0000)]
Handle for PerspectivePath LPE to adjust offset (not ideal yet but better than entering values by hand)

15 years agoRemove now obsolete 'edit on canvas' button for PointParams
cilix42 [Wed, 2 Jul 2008 16:43:10 +0000 (16:43 +0000)]
Remove now obsolete 'edit on canvas' button for PointParams

15 years agoEnable status bar tips for LPE handles that are automatically created from PointParams
cilix42 [Wed, 2 Jul 2008 16:33:20 +0000 (16:33 +0000)]
Enable status bar tips for LPE handles that are automatically created from PointParams

15 years agoDon't dereference NULL knotholder; fixes instant crash, but using the handles still...
cilix42 [Wed, 2 Jul 2008 15:17:33 +0000 (15:17 +0000)]
Don't dereference NULL knotholder; fixes instant crash, but using the handles still results in a crash :(

15 years agoUse hscale instead of scalebutton by default
joncruz [Wed, 2 Jul 2008 03:23:52 +0000 (03:23 +0000)]
Use hscale instead of scalebutton by default

15 years agoadd shadow to layers list
mental [Wed, 2 Jul 2008 01:45:27 +0000 (01:45 +0000)]
add shadow to layers list

15 years agoadd tab to layers dialog
mental [Wed, 2 Jul 2008 01:45:20 +0000 (01:45 +0000)]
add tab to layers dialog

15 years agomissed a spot
mental [Tue, 1 Jul 2008 23:38:26 +0000 (23:38 +0000)]
missed a spot

15 years agodead code removal
mental [Tue, 1 Jul 2008 23:16:48 +0000 (23:16 +0000)]
dead code removal

15 years agofix inkboard node position bugs
mental [Tue, 1 Jul 2008 23:08:26 +0000 (23:08 +0000)]
fix inkboard node position bugs

15 years agoremove "public private" virtual methods from XML::Node
mental [Tue, 1 Jul 2008 23:08:09 +0000 (23:08 +0000)]
remove "public private" virtual methods from XML::Node

15 years agoremove additional unnecessary indirection in tree operations
mental [Tue, 1 Jul 2008 23:07:59 +0000 (23:07 +0000)]
remove additional unnecessary indirection in tree operations

15 years agoaccess some SimpleNode fields directly
mental [Tue, 1 Jul 2008 23:07:51 +0000 (23:07 +0000)]
access some SimpleNode fields directly

15 years agoremove last traces of "floating nodes"
mental [Tue, 1 Jul 2008 19:13:12 +0000 (19:13 +0000)]
remove last traces of "floating nodes"

15 years agoCxxTest unit tests can now be built on Windows, also adds CxxTest versions of most...
jaspervdg [Tue, 1 Jul 2008 18:18:32 +0000 (18:18 +0000)]
CxxTest unit tests can now be built on Windows, also adds CxxTest versions of most UTEST unit tests. (These new CxxTest tests are not part of make check on Linux yet.)

15 years agoAdding use of GtkScaleButton when available
joncruz [Tue, 1 Jul 2008 06:43:38 +0000 (06:43 +0000)]
Adding use of GtkScaleButton when available

15 years agomake use of sliders
buliabyak [Mon, 30 Jun 2008 22:54:52 +0000 (22:54 +0000)]
make use of sliders

15 years agofix range problem
ishmal [Mon, 30 Jun 2008 20:04:11 +0000 (20:04 +0000)]
fix range problem

15 years agosimplify SPCurve::penultimate_point and return 2geom type
johanengelen [Mon, 30 Jun 2008 20:02:10 +0000 (20:02 +0000)]
simplify SPCurve::penultimate_point and return 2geom type

15 years agopencil tool: don't use sp_curve_length macro but good function ;)
johanengelen [Mon, 30 Jun 2008 19:42:01 +0000 (19:42 +0000)]
pencil tool: don't use sp_curve_length macro but good function ;)

15 years agoadd SPCurve::get_segment_count
johanengelen [Mon, 30 Jun 2008 19:41:29 +0000 (19:41 +0000)]
add SPCurve::get_segment_count

15 years agoTemporary "fix" for the recent pattern crash caused by invalid path data - please...
cilix42 [Mon, 30 Jun 2008 17:01:29 +0000 (17:01 +0000)]
Temporary "fix" for the recent pattern crash caused by invalid path data - please review and insert correct values for the missing coordinates!

15 years agoPrevent 'title', 'desc' and 'metadata' elements being moved to 'defs' when ungrouping...
sasilver [Mon, 30 Jun 2008 12:22:10 +0000 (12:22 +0000)]
Prevent 'title', 'desc' and 'metadata' elements being moved to 'defs' when ungrouping (fixes bug 243720).

15 years agoApproximately closed test for path parsing now looks at the absolute coordinate value...
jaspervdg [Mon, 30 Jun 2008 08:33:46 +0000 (08:33 +0000)]
Approximately closed test for path parsing now looks at the absolute coordinate values again (in accordance with how PathString used to work before and relative coordinates, and how it works now).

15 years agoInitial cut of sliders in toolbars
joncruz [Mon, 30 Jun 2008 07:40:18 +0000 (07:40 +0000)]
Initial cut of sliders in toolbars

15 years agoFixed i18n for overflow menu items.
joncruz [Mon, 30 Jun 2008 05:38:10 +0000 (05:38 +0000)]
Fixed i18n for overflow menu items.

15 years agofix the snapindicator stealing release event by grabbing the acetate on click, not...
buliabyak [Mon, 30 Jun 2008 04:56:49 +0000 (04:56 +0000)]
fix the snapindicator stealing release event by grabbing the acetate on click, not on motion

15 years agoeven with zero opacity, paths must be selectable in outline mode
buliabyak [Sun, 29 Jun 2008 17:21:58 +0000 (17:21 +0000)]
even with zero opacity, paths must be selectable in outline mode

15 years agoreturn results from 2geom path instead of old path
johanengelen [Sun, 29 Jun 2008 13:56:28 +0000 (13:56 +0000)]
return results from 2geom path instead of old path

15 years agoremove unused function first_bpath
johanengelen [Sun, 29 Jun 2008 13:50:12 +0000 (13:50 +0000)]
remove unused function first_bpath

15 years agopen tool: use SPCurve::last_segment in favor of last_bpath
johanengelen [Sun, 29 Jun 2008 13:40:21 +0000 (13:40 +0000)]
pen tool: use SPCurve::last_segment in favor of last_bpath

15 years agoadd SPCurve::first_segment and last_segment
johanengelen [Sun, 29 Jun 2008 13:29:23 +0000 (13:29 +0000)]
add SPCurve::first_segment and last_segment

15 years agoreplace some spcurve->last_bpath calls with spcurve->is_empty
johanengelen [Sun, 29 Jun 2008 13:15:53 +0000 (13:15 +0000)]
replace some spcurve->last_bpath calls with spcurve->is_empty

15 years agorecognize HLineSegment and VLineSegment while looping through curves
johanengelen [Sun, 29 Jun 2008 12:37:25 +0000 (12:37 +0000)]
recognize HLineSegment and VLineSegment while looping through curves

15 years agorecognize HLineSegment and VLineSegment in feeding paths to cairo
johanengelen [Sun, 29 Jun 2008 11:41:26 +0000 (11:41 +0000)]
recognize HLineSegment and VLineSegment in feeding paths to cairo

15 years agoadd commented HLineSegment and VLineSegment to svg writer
johanengelen [Sun, 29 Jun 2008 11:31:37 +0000 (11:31 +0000)]
add commented HLineSegment and VLineSegment to svg writer

15 years agowarning cleanup
JucaBlues [Sat, 28 Jun 2008 20:13:29 +0000 (20:13 +0000)]
warning cleanup

15 years agoremove unused function
buliabyak [Sat, 28 Jun 2008 03:08:35 +0000 (03:08 +0000)]
remove unused function

15 years agoUse Python script instead of shell script for .fig import (fixes bug 240889).
sasilver [Fri, 27 Jun 2008 20:43:58 +0000 (20:43 +0000)]
Use Python script instead of shell script for .fig import (fixes bug 240889).

15 years agosodipodi:docname is obsolete
mental [Fri, 27 Jun 2008 12:59:03 +0000 (12:59 +0000)]
sodipodi:docname is obsolete

15 years agoAdded conditional fallback for call in GLib 2.14+
joncruz [Fri, 27 Jun 2008 08:23:07 +0000 (08:23 +0000)]
Added conditional fallback for call in GLib 2.14+

15 years agouse spcurve methods instead of macro (which references to old nartbpath) to determine...
johanengelen [Thu, 26 Jun 2008 23:26:08 +0000 (23:26 +0000)]
use spcurve methods instead of macro (which references to old nartbpath) to determine first and second nodal points

15 years agonoop: be more consistent with function names (get_pathvector => set_pathvector)
johanengelen [Thu, 26 Jun 2008 23:16:23 +0000 (23:16 +0000)]
noop: be more consistent with function names (get_pathvector => set_pathvector)

15 years agouse 2geom path for bbox calculation. (gets rid of yet another reference to old nartbp...
johanengelen [Thu, 26 Jun 2008 23:09:58 +0000 (23:09 +0000)]
use 2geom path for bbox calculation. (gets rid of yet another reference to old nartbpath in spcurve!)

15 years agodon't use splivarot to get livarot path, use livarot's LoadPathVector method instead
johanengelen [Thu, 26 Jun 2008 22:57:43 +0000 (22:57 +0000)]
don't use splivarot to get livarot path, use livarot's LoadPathVector method instead

15 years agouse CairoRenderContext::renderPathVector
johanengelen [Thu, 26 Jun 2008 15:37:26 +0000 (15:37 +0000)]
use CairoRenderContext::renderPathVector

15 years agoadd CairoRenderContext::renderPathVector
johanengelen [Thu, 26 Jun 2008 15:32:30 +0000 (15:32 +0000)]
add CairoRenderContext::renderPathVector