Code

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

16 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

16 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

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

16 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

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

16 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

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

16 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

16 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

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

16 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

16 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

16 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

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

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

16 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

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

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

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

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

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

16 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

16 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

16 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

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

16 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

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

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

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

16 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

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

16 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

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

16 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

16 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

16 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

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

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

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

16 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

16 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

16 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

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

16 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

16 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

16 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 :(

16 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

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

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

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

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

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

16 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

16 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

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

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

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

16 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

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

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

16 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

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

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

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

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

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

16 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

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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

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

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

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

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

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

16 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

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

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

16 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

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

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

16 years agodon't use splivarot to get livarot path, just use LoadPathVector method
johanengelen [Thu, 26 Jun 2008 15:17:50 +0000 (15:17 +0000)]
don't use splivarot to get livarot path, just use LoadPathVector method

16 years agouse all 2geom typed pathv_matrix_point_bbox_wind_distance
johanengelen [Thu, 26 Jun 2008 15:09:23 +0000 (15:09 +0000)]
use all 2geom typed pathv_matrix_point_bbox_wind_distance

16 years agoadd const to pointers that are not written to
johanengelen [Thu, 26 Jun 2008 15:06:10 +0000 (15:06 +0000)]
add const to pointers that are not written to

16 years agouse all 2geom typed pathv_matrix_point_bbox_wind_distance
johanengelen [Thu, 26 Jun 2008 15:03:47 +0000 (15:03 +0000)]
use all 2geom typed pathv_matrix_point_bbox_wind_distance

16 years agoadd const to references that are not written to
johanengelen [Thu, 26 Jun 2008 15:02:43 +0000 (15:02 +0000)]
add const to references that are not written to

16 years agouse pathv_matrix_point_bbox_wind_distance instead of nr_path_matrix_point_bbox_wind_d...
johanengelen [Thu, 26 Jun 2008 14:56:51 +0000 (14:56 +0000)]
use pathv_matrix_point_bbox_wind_distance instead of nr_path_matrix_point_bbox_wind_distance everywhere

16 years agorewrite nr_path_matrix_point_bbox_wind_distance in 2geom terms: pathv_matrix_point_bb...
johanengelen [Thu, 26 Jun 2008 14:52:09 +0000 (14:52 +0000)]
rewrite nr_path_matrix_point_bbox_wind_distance in 2geom terms: pathv_matrix_point_bbox_wind_distance. (still not 100% clear to me what this method does, but seemed not necessary for rewriting)

16 years agoFix for opening .eps/.ps/.cdr/etc files with % in their names.
sasilver [Thu, 26 Jun 2008 10:47:08 +0000 (10:47 +0000)]
Fix for opening .eps/.ps/.cdr/etc files with % in their names.

16 years agoDo not have menu entry for SVG Fonts if they are not enabled
joncruz [Thu, 26 Jun 2008 04:09:44 +0000 (04:09 +0000)]
Do not have menu entry for SVG Fonts if they are not enabled

16 years agomoving the fonts dialog to a more logical place (though it still does not work for me)
buliabyak [Thu, 26 Jun 2008 02:16:52 +0000 (02:16 +0000)]
moving the fonts dialog to a more logical place (though it still does not work for me)