Code

inkscape.git
16 years agoGet rid of sp_nodepath_current() and a few instances of SP_ACTIVE_DESKTOP by passing...
cilix42 [Wed, 13 Aug 2008 15:06:50 +0000 (15:06 +0000)]
Get rid of sp_nodepath_current() and a few instances of SP_ACTIVE_DESKTOP by passing in the current desktop and nodepath from the caller

16 years agoInitialize the pointer variables in draw-context with NULL, just to be on the safe...
cilix42 [Wed, 13 Aug 2008 14:54:37 +0000 (14:54 +0000)]
Initialize the pointer variables in draw-context with NULL, just to be on the safe side

16 years agoGet rid of some superfluous includes
cilix42 [Wed, 13 Aug 2008 14:51:55 +0000 (14:51 +0000)]
Get rid of some superfluous includes

16 years agoNR:: to Geom:: for most of src/extension/
johanengelen [Tue, 12 Aug 2008 22:42:21 +0000 (22:42 +0000)]
NR:: to Geom:: for most of src/extension/

16 years agoFix some regressions in the snapping of the selector tool
dvlierop2 [Tue, 12 Aug 2008 18:45:32 +0000 (18:45 +0000)]
Fix some regressions in the snapping of the selector tool

16 years agoKhmer traslations updated
sokhem [Tue, 12 Aug 2008 01:30:44 +0000 (01:30 +0000)]
Khmer traslations updated

16 years agoInclude inkscape:connection-start and inkscape:connection-end in ID clash resolution.
sasilver [Mon, 11 Aug 2008 17:52:37 +0000 (17:52 +0000)]
Include inkscape:connection-start and inkscape:connection-end in ID clash resolution.
(Fixes bug 256986.)

16 years agoupdated Russian translation
prokoudine [Mon, 11 Aug 2008 14:23:38 +0000 (14:23 +0000)]
updated Russian translation

16 years agoKhmer translations updated
sokhem [Mon, 11 Aug 2008 09:14:24 +0000 (09:14 +0000)]
Khmer translations updated

16 years agoMove all of the snapper code to 2geom
dvlierop2 [Mon, 11 Aug 2008 04:53:15 +0000 (04:53 +0000)]
Move all of the snapper code to 2geom

16 years agopatch from bug 169004
buliabyak [Mon, 11 Aug 2008 00:14:32 +0000 (00:14 +0000)]
patch from bug 169004

16 years agoclean up code slightly
ishmal [Sun, 10 Aug 2008 19:52:42 +0000 (19:52 +0000)]
clean up code slightly

16 years agoFix for ID clash resolution: avoid finding spurious references associated with clones...
sasilver [Sun, 10 Aug 2008 14:44:19 +0000 (14:44 +0000)]
Fix for ID clash resolution: avoid finding spurious references associated with clones (fixes bug 256498).

16 years agogtkmm-ify the 'Stroke style' tab of Fill and Stroke dialog
cilix42 [Sat, 9 Aug 2008 23:23:12 +0000 (23:23 +0000)]
gtkmm-ify the 'Stroke style' tab of Fill and Stroke dialog

16 years agomerge silveiro's and my changes
ishmal [Sat, 9 Aug 2008 20:06:35 +0000 (20:06 +0000)]
merge silveiro's and my changes

16 years agoAdded missing new files
joncruz [Sat, 9 Aug 2008 19:58:34 +0000 (19:58 +0000)]
Added missing new files

16 years agoA few more tests for svg-color
jaspervdg [Sat, 9 Aug 2008 15:50:54 +0000 (15:50 +0000)]
A few more tests for svg-color

16 years agoSmall change to build.xml to not create the build directory twice (does no harm,...
jaspervdg [Sat, 9 Aug 2008 09:27:59 +0000 (09:27 +0000)]
Small change to build.xml to not create the build directory twice (does no harm, but isn't needed either)

16 years agoSnap to intersections of any kind of path (were we previously only could snap to...
dvlierop2 [Fri, 8 Aug 2008 22:28:49 +0000 (22:28 +0000)]
Snap to intersections of any kind of path (were we previously only could snap to intersections of line-segments)

16 years agofix marker behavior for moveto-only paths
johanengelen [Fri, 8 Aug 2008 21:26:52 +0000 (21:26 +0000)]
fix marker behavior for moveto-only paths

16 years agoupdate 2geom to rev1516
johanengelen [Fri, 8 Aug 2008 20:33:01 +0000 (20:33 +0000)]
update 2geom to rev1516

16 years agoBuild.xml with check target. (Forgot to commit earlier.)
jaspervdg [Fri, 8 Aug 2008 20:27:55 +0000 (20:27 +0000)]
Build.xml with check target. (Forgot to commit earlier.)

16 years agoremove many unnecessary to_2geom and from_2geom calls
johanengelen [Fri, 8 Aug 2008 17:32:43 +0000 (17:32 +0000)]
remove many unnecessary to_2geom and from_2geom calls

16 years agoFixed svg-path (and display/curve) tests to properly handle closepath and made a...
jaspervdg [Fri, 8 Aug 2008 14:18:02 +0000 (14:18 +0000)]
Fixed svg-path (and display/curve) tests to properly handle closepath and made a check target.

16 years agomore messages marked for translation
prokoudine [Fri, 8 Aug 2008 10:25:54 +0000 (10:25 +0000)]
more messages marked for translation

16 years agoKhmer translations updated
sokhem [Fri, 8 Aug 2008 10:09:33 +0000 (10:09 +0000)]
Khmer translations updated

16 years agoKhmer translations updated
sokhem [Fri, 8 Aug 2008 09:14:05 +0000 (09:14 +0000)]
Khmer translations updated

16 years agopatch from bug 244940
buliabyak [Fri, 8 Aug 2008 02:47:03 +0000 (02:47 +0000)]
patch from bug 244940

16 years agoFix regression in object snapper which caused self-snapping
dvlierop2 [Thu, 7 Aug 2008 19:32:35 +0000 (19:32 +0000)]
Fix regression in object snapper which caused self-snapping

16 years agochange javafx output to 1.0 compiler syntax
ishmal [Thu, 7 Aug 2008 18:45:31 +0000 (18:45 +0000)]
change javafx output to 1.0 compiler syntax

16 years agoremove debug message
johanengelen [Thu, 7 Aug 2008 17:51:32 +0000 (17:51 +0000)]
remove debug message

16 years agotry to make LPE optimizations easier. example in LPE Bend
johanengelen [Thu, 7 Aug 2008 17:45:53 +0000 (17:45 +0000)]
try to make LPE optimizations easier. example in LPE Bend

16 years agoKhmer translation updated
sokhem [Thu, 7 Aug 2008 09:52:00 +0000 (09:52 +0000)]
Khmer translation updated

16 years agofix ambiguities by implicit NR::Matrix/Geom::Matrix cast.
johanengelen [Wed, 6 Aug 2008 22:43:13 +0000 (22:43 +0000)]
fix ambiguities by implicit NR::Matrix/Geom::Matrix cast.

16 years agoadd automatic conversion between Geom::Matrix and NR::Matrix. (added to NR::Matrix...
johanengelen [Wed, 6 Aug 2008 22:32:41 +0000 (22:32 +0000)]
add automatic conversion between Geom::Matrix and NR::Matrix. (added to NR::Matrix class). resolved some ambiguities caused by it.

16 years ago1) When pasting, use an offset that is a multiple of the grid pitch (got lost during...
dvlierop2 [Wed, 6 Aug 2008 21:28:34 +0000 (21:28 +0000)]
1) When pasting, use an offset that is a multiple of the grid pitch (got lost during a previous round of refactoring)
2) Refactor some of the pasting code

16 years agosrc/helper 2geomified
johanengelen [Wed, 6 Aug 2008 21:23:19 +0000 (21:23 +0000)]
src/helper 2geomified

16 years ago2Geom version of the path tests + some additional small changes.
jaspervdg [Wed, 6 Aug 2008 14:31:46 +0000 (14:31 +0000)]
2Geom version of the path tests + some additional small changes.

16 years agoImprove comment in pen-context.cpp
cilix42 [Wed, 6 Aug 2008 13:23:49 +0000 (13:23 +0000)]
Improve comment in pen-context.cpp

16 years agocleanup (remove obsolete code)
cilix42 [Wed, 6 Aug 2008 13:23:32 +0000 (13:23 +0000)]
cleanup (remove obsolete code)

16 years agoNew mode in pen tool to draw paraxial lines
cilix42 [Wed, 6 Aug 2008 13:23:09 +0000 (13:23 +0000)]
New mode in pen tool to draw paraxial lines

16 years agoEsc and Ctrl+Z in pencil tool should also cancel when we're drawing straight line...
cilix42 [Wed, 6 Aug 2008 13:22:19 +0000 (13:22 +0000)]
Esc and Ctrl+Z in pencil tool should also cancel when we're drawing straight line (in which case pc->is_drawing will be false)

16 years agoadd flashing line from clone to original on Shift+D
buliabyak [Wed, 6 Aug 2008 05:24:29 +0000 (05:24 +0000)]
add flashing line from clone to original on Shift+D

16 years agoadd dashed path option
buliabyak [Wed, 6 Aug 2008 05:20:51 +0000 (05:20 +0000)]
add dashed path option

16 years agoKhmer translation updated
sokhem [Wed, 6 Aug 2008 00:34:45 +0000 (00:34 +0000)]
Khmer translation updated

16 years agooptionally (default off) relink duplicated clones to the duplicated original
buliabyak [Tue, 5 Aug 2008 22:59:15 +0000 (22:59 +0000)]
optionally (default off) relink duplicated clones to the duplicated original

16 years agoNR::Maybe => boost::optional
johanengelen [Tue, 5 Aug 2008 22:40:31 +0000 (22:40 +0000)]
NR::Maybe  =>  boost::optional

16 years agocodedread's patch for bug 254850 (fixes handling of description field in Object Prope...
sasilver [Tue, 5 Aug 2008 19:23:02 +0000 (19:23 +0000)]
codedread's patch for bug 254850 (fixes handling of description field in Object Properties dialog when switching between an object with a description and one without a description with the dialog open).

16 years ago[INTL: eo] Updated Esperanto translation
luca_bruno [Tue, 5 Aug 2008 19:05:57 +0000 (19:05 +0000)]
[INTL: eo] Updated Esperanto translation

16 years agofix 252547: skip explicitly hidden objects when calculating bbox of group
buliabyak [Tue, 5 Aug 2008 18:40:15 +0000 (18:40 +0000)]
fix 252547: skip explicitly hidden objects when calculating bbox of group

16 years agoreplace unnecessary exception catching with a check beforehand.
johanengelen [Tue, 5 Aug 2008 18:16:06 +0000 (18:16 +0000)]
replace unnecessary exception catching with a check beforehand.

16 years agoUse is_straight_curve() instead of three separate dynamic casts
dvlierop2 [Tue, 5 Aug 2008 14:33:46 +0000 (14:33 +0000)]
Use is_straight_curve() instead of three separate dynamic casts

16 years agomore mockup on svgfonts dialog
JucaBlues [Tue, 5 Aug 2008 11:01:14 +0000 (11:01 +0000)]
more mockup on svgfonts dialog

16 years agoadded class AttrEntry
JucaBlues [Tue, 5 Aug 2008 10:18:20 +0000 (10:18 +0000)]
added class AttrEntry
Added 2 entries in glyphs tab (svgfonts dialog). But these fields do not
change attributes yet

16 years agoNR:: => Geom:: for much of src/ui and src/widgets
johanengelen [Mon, 4 Aug 2008 22:32:05 +0000 (22:32 +0000)]
NR:: => Geom:: for much of src/ui and src/widgets

16 years agoWhile drawing and constraining to specific angles (using CTRL): don't try a freeSnap...
dvlierop2 [Mon, 4 Aug 2008 21:09:10 +0000 (21:09 +0000)]
While drawing and constraining to specific angles (using CTRL): don't try a freeSnap() after we've already tried a constrainedSnap()

16 years agoNR:: => Geom:: for util dir
johanengelen [Mon, 4 Aug 2008 20:22:06 +0000 (20:22 +0000)]
NR::  =>  Geom::  for util dir

16 years agoRemove some obsolete code
cilix42 [Mon, 4 Aug 2008 14:12:27 +0000 (14:12 +0000)]
Remove some obsolete code

16 years agoCorrect handle tips
cilix42 [Mon, 4 Aug 2008 14:10:55 +0000 (14:10 +0000)]
Correct handle tips

16 years agoEMF export patches submitted by SaGS
ulferikson [Mon, 4 Aug 2008 14:01:22 +0000 (14:01 +0000)]
EMF export patches submitted by SaGS
Bug 253601: EMF export - Text has opaque background
Bug 253611: EMF export - Bold, italic text attributes lost
Bug 253614: EMF export - Possible indeterminism with the text aligment

16 years agoMake unit tests build on Linux again
jaspervdg [Mon, 4 Aug 2008 11:33:16 +0000 (11:33 +0000)]
Make unit tests build on Linux again

16 years agoReorder libs, to fix a link-time error.
pjrm [Mon, 4 Aug 2008 10:00:50 +0000 (10:00 +0000)]
Reorder libs, to fix a link-time error.

16 years agoKhmer translations updated
sokhem [Mon, 4 Aug 2008 00:52:51 +0000 (00:52 +0000)]
Khmer translations updated

16 years agoRefactoring the object-snapper to use 2geom paths
dvlierop2 [Sun, 3 Aug 2008 22:31:19 +0000 (22:31 +0000)]
Refactoring the object-snapper to use 2geom paths

16 years agoupdate 2geom: fixes long standing bug where closed paths are not converted correctly...
johanengelen [Sun, 3 Aug 2008 20:00:39 +0000 (20:00 +0000)]
update 2geom: fixes long standing bug where closed paths are not converted correctly back from pwd2; causing lpe-bend to fail for example on a simple rectangle.

16 years agofix error in appending paths to existing paths. fixes bug #253639
johanengelen [Sun, 3 Aug 2008 19:41:43 +0000 (19:41 +0000)]
fix error in appending paths to existing paths. fixes bug #253639

16 years agoupdate 2geom
johanengelen [Sun, 3 Aug 2008 18:45:24 +0000 (18:45 +0000)]
update 2geom

16 years agoconvert path to linears and cubics only before creating outline. (workaround for...
johanengelen [Sun, 3 Aug 2008 18:21:33 +0000 (18:21 +0000)]
convert path to linears and cubics only before creating outline. (workaround for a bug in livarot)

16 years agofix arc conversion to livarot
johanengelen [Sun, 3 Aug 2008 17:57:02 +0000 (17:57 +0000)]
fix arc conversion to livarot

16 years agoMinor cleanup work on macros
joncruz [Sun, 3 Aug 2008 07:37:06 +0000 (07:37 +0000)]
Minor cleanup work on macros

16 years agoFixed const-correctness
joncruz [Sun, 3 Aug 2008 06:07:19 +0000 (06:07 +0000)]
Fixed const-correctness

16 years agoFixed const-correctness and member access
joncruz [Sun, 3 Aug 2008 05:56:45 +0000 (05:56 +0000)]
Fixed const-correctness and member access

16 years agoWarning cleanup
joncruz [Sun, 3 Aug 2008 05:26:22 +0000 (05:26 +0000)]
Warning cleanup

16 years agoFixed broken empty string check
joncruz [Sun, 3 Aug 2008 05:16:01 +0000 (05:16 +0000)]
Fixed broken empty string check

16 years agoReplaced deprecated GtkType creation with GType
joncruz [Sun, 3 Aug 2008 05:08:35 +0000 (05:08 +0000)]
Replaced deprecated GtkType creation with GType

16 years agoremove many needless references to n-art-bpath.h
johanengelen [Sun, 3 Aug 2008 03:26:27 +0000 (03:26 +0000)]
remove many needless references to n-art-bpath.h

16 years agohopefully fixed last error in nodepath...
johanengelen [Sun, 3 Aug 2008 02:59:51 +0000 (02:59 +0000)]
hopefully fixed last error in nodepath...

16 years agosimplify lpe spiro code by using new "is_straight_curve" method
johanengelen [Sat, 2 Aug 2008 23:02:48 +0000 (23:02 +0000)]
simplify lpe spiro code by using new "is_straight_curve" method

16 years agoadd is_straight_curve in geom-curves.h helper file
johanengelen [Sat, 2 Aug 2008 23:01:15 +0000 (23:01 +0000)]
add is_straight_curve in geom-curves.h helper file

16 years agosimplify pathv_to_linear_and_cubic_beziers a bit
johanengelen [Sat, 2 Aug 2008 22:52:40 +0000 (22:52 +0000)]
simplify pathv_to_linear_and_cubic_beziers a bit

16 years agoremove code duplicate
johanengelen [Sat, 2 Aug 2008 22:51:02 +0000 (22:51 +0000)]
remove code duplicate

16 years agoclean up and revert recent change to nodepath that broke things
johanengelen [Sat, 2 Aug 2008 22:46:21 +0000 (22:46 +0000)]
clean up and revert recent change to nodepath that broke things

16 years agofix error in nodepath
johanengelen [Sat, 2 Aug 2008 22:31:05 +0000 (22:31 +0000)]
fix error in nodepath

16 years agoremove old nartbpath to cairo method
johanengelen [Sat, 2 Aug 2008 22:17:01 +0000 (22:17 +0000)]
remove old nartbpath to cairo method

16 years agoconvert path to only linear and cubic segments when nodeediting. prevents crashing...
johanengelen [Sat, 2 Aug 2008 22:11:40 +0000 (22:11 +0000)]
convert path to only linear and cubic segments when nodeediting. prevents crashing for example for paths with arcs in them

16 years agouse nodetype helper function to determine nodetype within lpe-spiro
johanengelen [Sat, 2 Aug 2008 20:59:59 +0000 (20:59 +0000)]
use nodetype helper function to determine nodetype within lpe-spiro

16 years agofix nodetype determination. fixes lpe spiro bug
johanengelen [Sat, 2 Aug 2008 20:48:51 +0000 (20:48 +0000)]
fix nodetype determination. fixes lpe spiro bug

16 years agolpe spiro: if path is closed it does not matter to what initial pointtype is initialized.
johanengelen [Sat, 2 Aug 2008 20:48:22 +0000 (20:48 +0000)]
lpe spiro: if path is closed it does not matter to what initial pointtype is initialized.

16 years agowhitespace
johanengelen [Sat, 2 Aug 2008 20:25:34 +0000 (20:25 +0000)]
whitespace

16 years agowhen holding ctrl, pattern scaling has a fixed 1:1 ratio of original pattern size
johanengelen [Sat, 2 Aug 2008 20:15:01 +0000 (20:15 +0000)]
when holding ctrl, pattern scaling has a fixed 1:1 ratio of original pattern size

16 years agoinitial impl of gradients and opacities
ishmal [Sat, 2 Aug 2008 16:40:24 +0000 (16:40 +0000)]
initial impl of gradients and opacities

16 years agoEnable exception handling for CxxTest in Makefiles
jaspervdg [Sat, 2 Aug 2008 14:31:31 +0000 (14:31 +0000)]
Enable exception handling for CxxTest in Makefiles

16 years agoSPCurve unit tests
jaspervdg [Sat, 2 Aug 2008 14:25:08 +0000 (14:25 +0000)]
SPCurve unit tests

16 years agoFixed version of stat cache for buildtool.cpp (now invalidates cache entries for...
jaspervdg [Sat, 2 Aug 2008 12:32:01 +0000 (12:32 +0000)]
Fixed version of stat cache for buildtool.cpp (now invalidates cache entries for files that are changed during the build process).

16 years agocomments
cilix42 [Sat, 2 Aug 2008 07:33:17 +0000 (07:33 +0000)]
comments

16 years agoTodo is done.
joncruz [Sat, 2 Aug 2008 07:00:11 +0000 (07:00 +0000)]
Todo is done.

16 years agofinally got transforms right. flip Y and translate
ishmal [Fri, 1 Aug 2008 21:14:15 +0000 (21:14 +0000)]
finally got transforms right. flip Y and translate

16 years agofix 253915: do not use style attr, only SPStyle
buliabyak [Fri, 1 Aug 2008 20:17:58 +0000 (20:17 +0000)]
fix 253915: do not use style attr, only SPStyle

16 years agoSPItem::getBounds now always returns a Geom::Rect boundingbox.
johanengelen [Fri, 1 Aug 2008 20:07:58 +0000 (20:07 +0000)]
SPItem::getBounds now always returns a Geom::Rect boundingbox.

16 years agoupdate to latest 2geom
johanengelen [Fri, 1 Aug 2008 19:50:41 +0000 (19:50 +0000)]
update to latest 2geom