Code

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

16 years agoremove more NR:: from live_effects code
johanengelen [Fri, 1 Aug 2008 19:18:17 +0000 (19:18 +0000)]
remove more NR:: from live_effects code

16 years agomake redundant. use correct fields of cubic bezier point array
ishmal [Fri, 1 Aug 2008 19:16:47 +0000 (19:16 +0000)]
make redundant.  use correct fields of cubic bezier point array

16 years ago2geomify a lot of NR::Points to Geom::Point
johanengelen [Fri, 1 Aug 2008 19:15:16 +0000 (19:15 +0000)]
2geomify a lot of NR::Points to Geom::Point

16 years agoreplace matrix division code.
johanengelen [Fri, 1 Aug 2008 18:10:26 +0000 (18:10 +0000)]
replace matrix division code.

16 years agochange knot.h to Geom::Point only instead of NR::Point.
johanengelen [Fri, 1 Aug 2008 17:45:13 +0000 (17:45 +0000)]
change knot.h to Geom::Point only instead of NR::Point.

16 years agosimplify code
cilix42 [Fri, 1 Aug 2008 17:42:13 +0000 (17:42 +0000)]
simplify code

16 years agoHelperpath for lpe-rotate-copies
cilix42 [Fri, 1 Aug 2008 17:41:40 +0000 (17:41 +0000)]
Helperpath for lpe-rotate-copies

16 years agoImproved UI for lpe-rotate-copies
cilix42 [Fri, 1 Aug 2008 17:41:07 +0000 (17:41 +0000)]
Improved UI for lpe-rotate-copies

16 years agoMake PointParam handles snap, too
cilix42 [Fri, 1 Aug 2008 17:40:33 +0000 (17:40 +0000)]
Make PointParam handles snap, too

16 years agoMake LPE knotholder handles snap
cilix42 [Fri, 1 Aug 2008 17:39:57 +0000 (17:39 +0000)]
Make LPE knotholder handles snap

16 years agoFormerly static function used for snapping is now a private member of KnotHolderEntity
cilix42 [Fri, 1 Aug 2008 17:38:59 +0000 (17:38 +0000)]
Formerly static function used for snapping is now a private member of KnotHolderEntity

16 years agoun-remove applying item transform to each point
ishmal [Fri, 1 Aug 2008 17:07:10 +0000 (17:07 +0000)]
un-remove applying item transform to each point

16 years agoremove strange factor for showing the pattern unit cell (quarter of real cell).
johanengelen [Fri, 1 Aug 2008 16:55:14 +0000 (16:55 +0000)]
remove strange factor for showing the pattern unit cell (quarter of real cell).

16 years agopatterns: make it possible to have different scaling in X and Y directions. snap...
johanengelen [Fri, 1 Aug 2008 16:51:52 +0000 (16:51 +0000)]
patterns: make it possible to have different scaling in X and Y directions. snap scaling point.

16 years agorevert r19450. fixes buildtool.
johanengelen [Fri, 1 Aug 2008 16:25:03 +0000 (16:25 +0000)]
revert r19450. fixes buildtool.

16 years agoenable snapping of pattern's origin
johanengelen [Fri, 1 Aug 2008 16:01:08 +0000 (16:01 +0000)]
enable snapping of pattern's origin

16 years agoFix #ifdef type. Closes LP #253859
cilix42 [Fri, 1 Aug 2008 15:07:32 +0000 (15:07 +0000)]
Fix #ifdef type. Closes LP #253859

16 years agoAdded to tests for SVG units, and fixed warning of missing case
joncruz [Fri, 1 Aug 2008 07:52:55 +0000 (07:52 +0000)]
Added to tests for SVG units, and fixed warning of missing case

16 years agoadding tabs to SVGFonts dialog
JucaBlues [Fri, 1 Aug 2008 07:23:57 +0000 (07:23 +0000)]
adding tabs to SVGFonts dialog

16 years agoAdd item transforms
ishmal [Fri, 1 Aug 2008 04:35:42 +0000 (04:35 +0000)]
Add item transforms

16 years agoWarning cleanup
joncruz [Fri, 1 Aug 2008 04:22:35 +0000 (04:22 +0000)]
Warning cleanup

16 years agofix error in creating nodepath from pathvector
buliabyak [Fri, 1 Aug 2008 02:23:25 +0000 (02:23 +0000)]
fix error in creating nodepath from pathvector

16 years agoKhmer translations updated
sokhem [Fri, 1 Aug 2008 01:09:42 +0000 (01:09 +0000)]
Khmer translations updated

16 years agoremove old reminder file (of my GSoC last year)
johanengelen [Thu, 31 Jul 2008 21:33:40 +0000 (21:33 +0000)]
remove old reminder file (of my GSoC last year)

16 years agoslight tweak to r19493 to ensure that there's no possibility that we might accidental...
cyreve [Thu, 31 Jul 2008 18:21:03 +0000 (18:21 +0000)]
slight tweak to r19493 to ensure that there's no possibility that we might accidentally alter an SPString outside of the flowtext

16 years agoMake lpe-path_length use TextParamInternal
cilix42 [Thu, 31 Jul 2008 17:13:05 +0000 (17:13 +0000)]
Make lpe-path_length use TextParamInternal

16 years agoAdd unit selector for lpe-path-length, too
cilix42 [Thu, 31 Jul 2008 15:49:10 +0000 (15:49 +0000)]
Add unit selector for lpe-path-length, too

16 years agoRemove UI stuff from internal text parameter
cilix42 [Thu, 31 Jul 2008 15:48:39 +0000 (15:48 +0000)]
Remove UI stuff from internal text parameter

16 years agoNew unit parameter for LPEs which lpe-ruler now uses
cilix42 [Thu, 31 Jul 2008 15:48:02 +0000 (15:48 +0000)]
New unit parameter for LPEs which lpe-ruler now uses

16 years agoIcon for polylines mode
cilix42 [Thu, 31 Jul 2008 12:43:33 +0000 (12:43 +0000)]
Icon for polylines mode

16 years agoNew 'zigzag' (polylines) mode in pen tool
cilix42 [Thu, 31 Jul 2008 12:43:10 +0000 (12:43 +0000)]
New 'zigzag' (polylines) mode in pen tool

16 years agoFix wrong toggle activation in pen/pencil toolbar after startup
cilix42 [Thu, 31 Jul 2008 12:42:37 +0000 (12:42 +0000)]
Fix wrong toggle activation in pen/pencil toolbar after startup

16 years agofix crash when deleting whitespace in start of flowtext
buliabyak [Wed, 30 Jul 2008 22:18:14 +0000 (22:18 +0000)]
fix crash when deleting whitespace in start of flowtext

16 years agoGet to compile in javafx
ishmal [Wed, 30 Jul 2008 20:42:16 +0000 (20:42 +0000)]
Get to compile in javafx

16 years agonoop: better names
cilix42 [Wed, 30 Jul 2008 17:00:42 +0000 (17:00 +0000)]
noop: better names

16 years agocomments
cilix42 [Wed, 30 Jul 2008 16:39:52 +0000 (16:39 +0000)]
comments

16 years ago*sigh* and yet another LPE :-)
prokoudine [Wed, 30 Jul 2008 14:07:52 +0000 (14:07 +0000)]
*sigh* and yet another LPE :-)

16 years agokeeping up to Maximilian's work :)
prokoudine [Wed, 30 Jul 2008 14:06:29 +0000 (14:06 +0000)]
keeping up to Maximilian's work :)

16 years agoNew LPE: path length
cilix42 [Wed, 30 Jul 2008 12:06:20 +0000 (12:06 +0000)]
New LPE: path length

16 years agowhitespace
cilix42 [Wed, 30 Jul 2008 12:05:49 +0000 (12:05 +0000)]
whitespace

16 years agoNew function to set text position and anchor relative to a given path
cilix42 [Wed, 30 Jul 2008 12:05:20 +0000 (12:05 +0000)]
New function to set text position and anchor relative to a given path

16 years agoadd placeholder for expert contributors
ishmal [Wed, 30 Jul 2008 12:01:02 +0000 (12:01 +0000)]
add placeholder for expert contributors

16 years agoAdd default mirroring line to lpe-symmetry because the on-canvas clicks seem more...
cilix42 [Wed, 30 Jul 2008 11:29:49 +0000 (11:29 +0000)]
Add default mirroring line to lpe-symmetry because the on-canvas clicks seem more difficult to discover

16 years agoNew LPE: Text label
cilix42 [Wed, 30 Jul 2008 10:57:48 +0000 (10:57 +0000)]
New LPE: Text label

16 years agoMove coordinate transform workaround to a more logical place
cilix42 [Wed, 30 Jul 2008 10:57:19 +0000 (10:57 +0000)]
Move coordinate transform workaround to a more logical place

16 years agoNew 'internal' TextParam which doesn't display a widget (useful if the text should...
cilix42 [Wed, 30 Jul 2008 10:56:44 +0000 (10:56 +0000)]
New 'internal' TextParam which doesn't display a widget (useful if the text should not be settable by the user); lpe-ruler uses it now

16 years agoMake text widget for TextParams work and re-enable it
cilix42 [Wed, 30 Jul 2008 10:56:10 +0000 (10:56 +0000)]
Make text widget for TextParams work and re-enable it

16 years agofix invisible selection in the list; remove stripes; fix undo comment
buliabyak [Wed, 30 Jul 2008 02:34:04 +0000 (02:34 +0000)]
fix invisible selection in the list; remove stripes; fix undo comment

16 years agoKhmer translation updated
sokhem [Wed, 30 Jul 2008 00:36:03 +0000 (00:36 +0000)]
Khmer translation updated

16 years agoDisable text entry widget for TextParam until it works correctly
cilix42 [Tue, 29 Jul 2008 18:03:17 +0000 (18:03 +0000)]
Disable text entry widget for TextParam until it works correctly

16 years agoTemporarily move the code from display/canvas-text.(h|cpp) to display/canvas-bpath...
cilix42 [Tue, 29 Jul 2008 18:02:51 +0000 (18:02 +0000)]
Temporarily move the code from display/canvas-text.(h|cpp) to display/canvas-bpath.(h|cpp) to avoid a strange linker error :(

16 years agoRemove superfluous #include
cilix42 [Tue, 29 Jul 2008 18:02:08 +0000 (18:02 +0000)]
Remove superfluous #include

16 years agoMake lpe-ruler use the new text widget to display the ruler length on-canvas; slight...
cilix42 [Tue, 29 Jul 2008 18:01:48 +0000 (18:01 +0000)]
Make lpe-ruler use the new text widget to display the ruler length on-canvas; slight modifications to ruler design

16 years agoNew parameter TextParam for LPEs
cilix42 [Tue, 29 Jul 2008 18:01:21 +0000 (18:01 +0000)]
New parameter TextParam for LPEs

16 years agoNew registered widget (text entry box).
cilix42 [Tue, 29 Jul 2008 18:00:46 +0000 (18:00 +0000)]
New registered widget (text entry box).

16 years agoMartin sends another update :)
prokoudine [Tue, 29 Jul 2008 17:08:27 +0000 (17:08 +0000)]
Martin sends another update :)

16 years agoRemove debugging messages
cilix42 [Tue, 29 Jul 2008 14:56:32 +0000 (14:56 +0000)]
Remove debugging messages

16 years agoRemove now obsolete functions
cilix42 [Tue, 29 Jul 2008 14:56:10 +0000 (14:56 +0000)]
Remove now obsolete functions

16 years agoautomatically add helperpath for PathParams
cilix42 [Tue, 29 Jul 2008 14:55:41 +0000 (14:55 +0000)]
automatically add helperpath for PathParams

16 years agoUpdate helperpaths live also when any of the item's LPEs is modified
cilix42 [Tue, 29 Jul 2008 14:55:17 +0000 (14:55 +0000)]
Update helperpaths live also when any of the item's LPEs is modified

16 years agoslightly increase legibility
cilix42 [Tue, 29 Jul 2008 14:54:51 +0000 (14:54 +0000)]
slightly increase legibility

16 years agocleanup
cilix42 [Tue, 29 Jul 2008 14:54:24 +0000 (14:54 +0000)]
cleanup

16 years agoUpdate helperpaths when a nodepath's item is updated. TODO: They also need to be...
cilix42 [Tue, 29 Jul 2008 14:54:06 +0000 (14:54 +0000)]
Update helperpaths when a nodepath's item is updated. TODO: They also need to be updated when the associated LPEs change.

16 years agoAlong with nodepath also create/destroy the helperpaths of any LPEs associated to...
cilix42 [Tue, 29 Jul 2008 14:53:51 +0000 (14:53 +0000)]
Along with nodepath also create/destroy the helperpaths of any LPEs associated to its current item

16 years agoRefactor some code in nodepath.cpp (eliminate duplicates in generate_helperpath(...
cilix42 [Tue, 29 Jul 2008 14:53:25 +0000 (14:53 +0000)]
Refactor some code in nodepath.cpp (eliminate duplicates in generate_helperpath(), draw_helper_curve(), etc.).

16 years agoRemove addHelperPaths() from Effect; now getHelperPaths() returns a list of canvas...
cilix42 [Tue, 29 Jul 2008 14:53:07 +0000 (14:53 +0000)]
Remove addHelperPaths() from Effect; now getHelperPaths() returns a list of canvas indicators provided by the effect itself or its parameters (overload addCanvasIndicators to provide them in derived effects)

16 years agoRemove obsolete function param_editOncanvas for PointParams
cilix42 [Tue, 29 Jul 2008 14:52:20 +0000 (14:52 +0000)]
Remove obsolete function param_editOncanvas for PointParams

16 years agoRename isLPEParam() to isDeletable(), create new class LPEKnotHolderEntity and make...
cilix42 [Tue, 29 Jul 2008 14:51:39 +0000 (14:51 +0000)]
Rename isLPEParam() to isDeletable(), create new class LPEKnotHolderEntity and make inheritance from it a bit less clumsy

16 years agoRemove superfluous functions
cilix42 [Tue, 29 Jul 2008 14:50:28 +0000 (14:50 +0000)]
Remove superfluous functions

16 years agoLPE knotholder refactoring: PointParams are not knotholder entities any more; instead...
cilix42 [Tue, 29 Jul 2008 14:49:40 +0000 (14:49 +0000)]
LPE knotholder refactoring: PointParams are not knotholder entities any more; instead, every parameter type can now return entities (and then forget about them)

16 years agoadded new translation from Martin Srebotnjak
prokoudine [Tue, 29 Jul 2008 13:50:34 +0000 (13:50 +0000)]
added new translation from Martin Srebotnjak

16 years agowidgets/toolbox.cpp: s/free/g_free/ in a couple more places. Address some warnings.
pjrm [Tue, 29 Jul 2008 04:32:15 +0000 (04:32 +0000)]
widgets/toolbox.cpp: s/free/g_free/ in a couple more places.  Address some warnings.