Code

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

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