Code

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

16 years agoFixed compilation when the new SVG font stuff is not enabled.
joncruz [Thu, 26 Jun 2008 01:40:35 +0000 (01:40 +0000)]
Fixed compilation when the new SVG font stuff is not enabled.

16 years ago* remove g_warnings
JucaBlues [Thu, 26 Jun 2008 01:01:02 +0000 (01:01 +0000)]
* remove g_warnings
* add 2 experimental entry fields in SVGFonts dialog

16 years agofix bbox calculation for groups that contain groups with nothing in them (zero bbox...
johanengelen [Wed, 25 Jun 2008 21:40:04 +0000 (21:40 +0000)]
fix bbox calculation for groups that contain groups with nothing in them (zero bbox groups)

16 years agohelp detection of path read bug
johanengelen [Wed, 25 Jun 2008 19:50:01 +0000 (19:50 +0000)]
help detection of path read bug

16 years agoadding list of available SVGFonts to the SVGFonts dialog
JucaBlues [Wed, 25 Jun 2008 16:18:02 +0000 (16:18 +0000)]
adding list of available SVGFonts to the SVGFonts dialog

16 years agowarning cleanup
JucaBlues [Wed, 25 Jun 2008 03:02:27 +0000 (03:02 +0000)]
warning cleanup

16 years agomissing files from previous commit
JucaBlues [Wed, 25 Jun 2008 02:58:21 +0000 (02:58 +0000)]
missing files from previous commit

16 years agoadding a dialog for SVG Fonts
JucaBlues [Wed, 25 Jun 2008 02:53:34 +0000 (02:53 +0000)]
adding a dialog for SVG Fonts

16 years agoWarning cleanup
joncruz [Wed, 25 Jun 2008 02:14:41 +0000 (02:14 +0000)]
Warning cleanup

16 years agoadding ifdef HAVE_CONFIG_H
JucaBlues [Wed, 25 Jun 2008 00:23:00 +0000 (00:23 +0000)]
adding ifdef HAVE_CONFIG_H

16 years agowhitespace
buliabyak [Tue, 24 Jun 2008 21:37:50 +0000 (21:37 +0000)]
whitespace

16 years agoadded unicode block (codepoint ranges) lookups
ishmal [Tue, 24 Jun 2008 18:09:01 +0000 (18:09 +0000)]
added unicode block (codepoint ranges) lookups

16 years agoimprove speed of getting curves to cairo, the same way as boundingbox calculation...
johanengelen [Tue, 24 Jun 2008 17:54:19 +0000 (17:54 +0000)]
improve speed of getting curves to cairo, the same way as boundingbox calculation was optimized: do not create transformed path, transform the path's points instead

16 years agokill the green fish
buliabyak [Tue, 24 Jun 2008 16:24:02 +0000 (16:24 +0000)]
kill the green fish

16 years agoadd #include <string.h> for memset(), so that it is portable
ishmal [Tue, 24 Jun 2008 15:28:48 +0000 (15:28 +0000)]
add #include <string.h> for memset(), so that it is portable

16 years agoResolve ID clashes when pasting (fixes bug 165936).
sasilver [Tue, 24 Jun 2008 10:49:28 +0000 (10:49 +0000)]
Resolve ID clashes when pasting (fixes bug 165936).

16 years agoCmake: Add GSL to LIBS and Includes
verbalshadow [Tue, 24 Jun 2008 06:40:46 +0000 (06:40 +0000)]
Cmake: Add GSL to LIBS and Includes

16 years agoCmake: remove header files from source lists
verbalshadow [Tue, 24 Jun 2008 06:32:23 +0000 (06:32 +0000)]
Cmake: remove header files from source lists

16 years agodelivarotify, render with cairo; regression: cairo cannot do inverse
buliabyak [Tue, 24 Jun 2008 02:33:29 +0000 (02:33 +0000)]
delivarotify, render with cairo; regression: cairo cannot do inverse

16 years agodelivarotify, render with cairo, use nr_path functions for bbox and distance
buliabyak [Tue, 24 Jun 2008 02:32:23 +0000 (02:32 +0000)]
delivarotify, render with cairo, use nr_path functions for bbox and distance

16 years agodelivarotify, render with cairo
buliabyak [Tue, 24 Jun 2008 02:30:47 +0000 (02:30 +0000)]
delivarotify, render with cairo

16 years agoadd helpers for creating cairo_t for a canvas buf
buliabyak [Tue, 24 Jun 2008 02:28:57 +0000 (02:28 +0000)]
add helpers for creating cairo_t for a canvas buf

16 years agoupdate for 32 instead of 24 bpp canvas buf
buliabyak [Tue, 24 Jun 2008 02:26:17 +0000 (02:26 +0000)]
update for 32 instead of 24 bpp canvas buf

16 years agodelivarotify
buliabyak [Tue, 24 Jun 2008 02:23:44 +0000 (02:23 +0000)]
delivarotify

16 years agono more creating and looping over extra buffers for rendering canvas arena, draw...
buliabyak [Tue, 24 Jun 2008 02:23:03 +0000 (02:23 +0000)]
no more creating and looping over extra buffers for rendering canvas arena, draw to the canvas buf directly now that it's also 32bpp

16 years agoswitch to 32bpp canvasbuf, create cairo context for it, optionally output to screen...
buliabyak [Tue, 24 Jun 2008 02:18:57 +0000 (02:18 +0000)]
switch to 32bpp canvasbuf, create cairo context for it, optionally output to screen using cairo too (for now off, as it's slower than gdk)

16 years agoupdate for 32bpp canvas buf; delivarotify
buliabyak [Tue, 24 Jun 2008 02:15:31 +0000 (02:15 +0000)]
update for 32bpp canvas buf; delivarotify

16 years agouse light blue for text selection, at least until we can do inversion again
buliabyak [Tue, 24 Jun 2008 02:12:10 +0000 (02:12 +0000)]
use light blue for text selection, at least until we can do inversion again

16 years agospeed up bounds_exact for 2geom even more.
johanengelen [Mon, 23 Jun 2008 22:57:47 +0000 (22:57 +0000)]
speed up bounds_exact for 2geom even more.

16 years agouse exact bbox again in updating shapes
johanengelen [Mon, 23 Jun 2008 22:24:10 +0000 (22:24 +0000)]
use exact bbox again in updating shapes

16 years agoadd comment
johanengelen [Mon, 23 Jun 2008 22:20:59 +0000 (22:20 +0000)]
add comment

16 years agomake faster 2geom bbox calc.
johanengelen [Mon, 23 Jun 2008 22:17:42 +0000 (22:17 +0000)]
make faster 2geom bbox calc.

16 years agosorry to have broken build
johanengelen [Mon, 23 Jun 2008 21:51:35 +0000 (21:51 +0000)]
sorry to have broken build

16 years agoconvert optimizing check into 2geom terms. hopefully correct, please review if you...
johanengelen [Mon, 23 Jun 2008 21:06:21 +0000 (21:06 +0000)]
convert optimizing check into 2geom terms. hopefully correct, please review if you have time

16 years agoadd #include <string.h> for portability
ishmal [Mon, 23 Jun 2008 18:08:05 +0000 (18:08 +0000)]
add #include <string.h> for portability

16 years agoneed #include <typeinfo>
ishmal [Mon, 23 Jun 2008 16:54:27 +0000 (16:54 +0000)]
need #include <typeinfo>