Code

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

16 years agofix a couple of free-instead-of-g_free bugs.
pjrm [Tue, 29 Jul 2008 03:08:57 +0000 (03:08 +0000)]
fix a couple of free-instead-of-g_free bugs.

16 years agonew LPE hits the shelves :)
prokoudine [Mon, 28 Jul 2008 15:25:57 +0000 (15:25 +0000)]
new LPE hits the shelves :)

16 years ago* [INTL: sk] Slovak translation update (trunk)
helix84 [Mon, 28 Jul 2008 15:22:25 +0000 (15:22 +0000)]
* [INTL: sk] Slovak translation update (trunk)

16 years agoBy caching stat results in buildtool the build time for a build which has to change...
jaspervdg [Mon, 28 Jul 2008 15:00:44 +0000 (15:00 +0000)]
By caching stat results in buildtool the build time for a build which has to change nothing is reduced to about a third (less than ten seconds instead of about 30 seconds on my system). (Obviously a build which changes nothing is not very interesting, but a build which has to change only a few files is very common.)

16 years agotypo
helix84 [Mon, 28 Jul 2008 14:57:52 +0000 (14:57 +0000)]
typo

16 years agocodedread's patch to fix editing of text with a title or description (see bug 238093).
sasilver [Mon, 28 Jul 2008 14:56:51 +0000 (14:56 +0000)]
codedread's patch to fix editing of text with a title or description (see bug 238093).

16 years agoKhmer translations updated
sokhem [Mon, 28 Jul 2008 00:55:55 +0000 (00:55 +0000)]
Khmer translations updated

16 years agoremove dependency on INVALID_LPE a bit
johanengelen [Sun, 27 Jul 2008 21:58:25 +0000 (21:58 +0000)]
remove dependency on INVALID_LPE a bit

16 years agosort LPE effect list
johanengelen [Sun, 27 Jul 2008 21:46:27 +0000 (21:46 +0000)]
sort LPE effect list

16 years agoLPE Interpolate => "Interpolate Sub-Paths"
johanengelen [Sun, 27 Jul 2008 21:34:57 +0000 (21:34 +0000)]
LPE Interpolate => "Interpolate Sub-Paths"

16 years agolpe interpolate: fix traversal of trajectory_path. add option for equidistant_spacing
johanengelen [Sun, 27 Jul 2008 21:15:05 +0000 (21:15 +0000)]
lpe interpolate: fix traversal of trajectory_path. add option for equidistant_spacing

16 years agofix path
ishmal [Sun, 27 Jul 2008 19:51:20 +0000 (19:51 +0000)]
fix path

16 years agoadd LPE Interpolate
johanengelen [Sun, 27 Jul 2008 18:58:20 +0000 (18:58 +0000)]
add LPE Interpolate

16 years agofix release mouse crash, add missed disconnects, remove unused callback
buliabyak [Sun, 27 Jul 2008 15:46:58 +0000 (15:46 +0000)]
fix release mouse crash, add missed disconnects, remove unused callback

16 years agoAdd tracking of skew factor and display in warning message.
joncruz [Sun, 27 Jul 2008 06:22:56 +0000 (06:22 +0000)]
Add tracking of skew factor and display in warning message.

16 years agofix messed up scale/rotate handles
buliabyak [Sun, 27 Jul 2008 02:51:49 +0000 (02:51 +0000)]
fix messed up scale/rotate handles

16 years agosimplify color reading from tool style
buliabyak [Sat, 26 Jul 2008 19:34:22 +0000 (19:34 +0000)]
simplify color reading from tool style

16 years agoadd optional bool* parameter to find out if the tool has color/opacity set in its...
buliabyak [Sat, 26 Jul 2008 19:33:42 +0000 (19:33 +0000)]
add optional bool* parameter to find out if the tool has color/opacity set in its style or not

16 years agoBuild.xml now has a dist-cxxtests target (+ a fix for the linkinkview target and...
jaspervdg [Sat, 26 Jul 2008 18:58:44 +0000 (18:58 +0000)]
Build.xml now has a dist-cxxtests target (+ a fix for the linkinkview target and some minor restructuring)

16 years agofix tweak page id
buliabyak [Sat, 26 Jul 2008 18:31:22 +0000 (18:31 +0000)]
fix tweak page id

16 years agoadd style selector for tweak tool
buliabyak [Sat, 26 Jul 2008 17:39:35 +0000 (17:39 +0000)]
add style selector for tweak tool

16 years agomeaningful limits
buliabyak [Sat, 26 Jul 2008 15:42:56 +0000 (15:42 +0000)]
meaningful limits

16 years agoAdded compensation factor for time-skew with event latency.
joncruz [Sat, 26 Jul 2008 08:08:33 +0000 (08:08 +0000)]
Added compensation factor for time-skew with event latency.

16 years agopurge livarot stuff from nodepath
johanengelen [Fri, 25 Jul 2008 22:11:34 +0000 (22:11 +0000)]
purge livarot stuff from nodepath

16 years agoin shapeeditor to determine whether tool is above the path, use 2geom methods instead...
johanengelen [Fri, 25 Jul 2008 22:06:29 +0000 (22:06 +0000)]
in shapeeditor to determine whether tool is above the path, use 2geom methods instead of livarot.

16 years agoin node tool to select a segment of a path, use 2geom methods instead of livarot.
johanengelen [Fri, 25 Jul 2008 21:53:35 +0000 (21:53 +0000)]
in node tool to select a segment of a path, use 2geom methods instead of livarot.

16 years agowhen doubleclicking a nodepath to create new knot, use 2geom methods instead of livarot.
johanengelen [Fri, 25 Jul 2008 21:49:23 +0000 (21:49 +0000)]
when doubleclicking a nodepath to create new knot, use 2geom methods instead of livarot.

16 years agoupdate to 2geom rev. 1507
johanengelen [Fri, 25 Jul 2008 21:03:44 +0000 (21:03 +0000)]
update to 2geom rev. 1507

16 years agocopyedit
buliabyak [Fri, 25 Jul 2008 01:45:17 +0000 (01:45 +0000)]
copyedit

16 years agoSnap to page corners too (you won't notice the difference yet because it will snap...
dvlierop2 [Thu, 24 Jul 2008 21:02:18 +0000 (21:02 +0000)]
Snap to page corners too (you won't notice the difference yet because it will snap to the page's sides instead as these are always closer)

16 years agofix 246944
buliabyak [Thu, 24 Jul 2008 19:31:53 +0000 (19:31 +0000)]
fix 246944

16 years agomake clonetiler obey the bbox prefs
buliabyak [Thu, 24 Jul 2008 18:10:47 +0000 (18:10 +0000)]
make clonetiler obey the bbox prefs

16 years agoupdates, optimizations and fixes
prokoudine [Thu, 24 Jul 2008 17:36:19 +0000 (17:36 +0000)]
updates, optimizations and fixes

16 years agomarked "Mode:" for translation
prokoudine [Thu, 24 Jul 2008 16:20:18 +0000 (16:20 +0000)]
marked "Mode:" for translation
thanks for the hint, bulia ;-)

16 years agoFixed regression: changing blend mode in layers dialog didn't work
kiirala [Thu, 24 Jul 2008 15:06:47 +0000 (15:06 +0000)]
Fixed regression: changing blend mode in layers dialog didn't work

16 years agomake presets list autoscroll to match the values set
buliabyak [Thu, 24 Jul 2008 07:14:24 +0000 (07:14 +0000)]
make presets list autoscroll to match the values set

16 years agoupdate calligraphic statusbar message
buliabyak [Thu, 24 Jul 2008 06:58:01 +0000 (06:58 +0000)]
update calligraphic statusbar message

16 years agofix crash when writing style with empty font-family
buliabyak [Thu, 24 Jul 2008 06:56:53 +0000 (06:56 +0000)]
fix crash when writing style with empty font-family

16 years agofix nodetype determination. more stable now. (lost symmetry detection, nobody is...
johanengelen [Wed, 23 Jul 2008 19:56:43 +0000 (19:56 +0000)]
fix nodetype determination. more stable now. (lost symmetry detection, nobody is using it yet). fixes lpe-spiro.

16 years ago2geom path to livarot path conversion: don't add closing line segment when it is...
johanengelen [Wed, 23 Jul 2008 17:49:49 +0000 (17:49 +0000)]
2geom path to livarot path conversion: don't add closing line segment when it is degenerate.

16 years agoadded forgotten ":" :-)
prokoudine [Wed, 23 Jul 2008 13:48:14 +0000 (13:48 +0000)]
added forgotten ":" :-)

16 years agoKhmer translations updated
sokhem [Wed, 23 Jul 2008 09:57:21 +0000 (09:57 +0000)]
Khmer translations updated

16 years agoKhmer translations updated
sokhem [Wed, 23 Jul 2008 01:42:10 +0000 (01:42 +0000)]
Khmer translations updated

16 years agorename, rearrange stroke shapes; add elliptic
buliabyak [Tue, 22 Jul 2008 22:02:38 +0000 (22:02 +0000)]
rename, rearrange stroke shapes; add elliptic

16 years agoinclude <string.h>. also remove const conversion warning
ishmal [Tue, 22 Jul 2008 15:20:32 +0000 (15:20 +0000)]
include <string.h>.  also remove const conversion warning

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

16 years agoSeparate shape settings for pen and pencil tool
cilix42 [Tue, 22 Jul 2008 14:53:10 +0000 (14:53 +0000)]
Separate shape settings for pen and pencil tool

16 years agoSeparate spiro modes for pen and pencil tool
cilix42 [Tue, 22 Jul 2008 14:52:42 +0000 (14:52 +0000)]
Separate spiro modes for pen and pencil tool

16 years agoRemove obsolete auxiliary action
cilix42 [Tue, 22 Jul 2008 14:51:43 +0000 (14:51 +0000)]
Remove obsolete auxiliary action

16 years agoNew CanvasText item; TODO: works quite well but updating may be incorrect since updat...
cilix42 [Tue, 22 Jul 2008 13:09:59 +0000 (13:09 +0000)]
New CanvasText item; TODO: works quite well but updating may be incorrect since update() is called before render() but only the latter gets passed the cairo context from which we can compute the text extents (we use a slightly kludgy workaround now)

16 years agoScale parameter for lpe-ruler
cilix42 [Tue, 22 Jul 2008 12:41:32 +0000 (12:41 +0000)]
Scale parameter for lpe-ruler

16 years agoFix LP #250175 (broken undo in node tool)
cilix42 [Tue, 22 Jul 2008 12:22:52 +0000 (12:22 +0000)]
Fix LP #250175 (broken undo in node tool)

16 years agoinitial handling of <script> tag
JucaBlues [Tue, 22 Jul 2008 12:05:49 +0000 (12:05 +0000)]
initial handling of <script> tag
Some people develope SVG files that contain javascript. We should not
erase their script nodes!
Also, we could develop a scripting IDE in inkscape. Look at
http://wiki.inkscape.org/wiki/index.php/BlueprintScriptingIDE

16 years agoslightly changed svgfonts example
JucaBlues [Tue, 22 Jul 2008 01:49:17 +0000 (01:49 +0000)]
slightly changed svgfonts example

16 years agofix compile
JucaBlues [Tue, 22 Jul 2008 01:48:27 +0000 (01:48 +0000)]
fix compile

16 years agoKhmer translations updated
sokhem [Tue, 22 Jul 2008 00:48:29 +0000 (00:48 +0000)]
Khmer translations updated

16 years agoDisable snapping when holding the shift-key while dragging node-handles
dvlierop2 [Mon, 21 Jul 2008 21:28:17 +0000 (21:28 +0000)]
Disable snapping when holding the shift-key while dragging node-handles

16 years agoImplement snapping of clipping paths and masks
dvlierop2 [Mon, 21 Jul 2008 20:38:09 +0000 (20:38 +0000)]
Implement snapping of clipping paths and masks

16 years agocleanup includes
johanengelen [Mon, 21 Jul 2008 18:38:16 +0000 (18:38 +0000)]
cleanup includes

16 years agofix includes a bit for imagetoggler
johanengelen [Mon, 21 Jul 2008 16:42:10 +0000 (16:42 +0000)]
fix includes a bit for imagetoggler

16 years agoFix for a very stupid bug (by myself) in cubic_bbox...
jaspervdg [Mon, 21 Jul 2008 14:36:55 +0000 (14:36 +0000)]
Fix for a very stupid bug (by myself) in cubic_bbox...

16 years agofix saving presets, move it to the menu; allow overwriting a preset; fix redundant...
buliabyak [Mon, 21 Jul 2008 05:45:35 +0000 (05:45 +0000)]
fix saving presets, move it to the menu; allow overwriting a preset; fix redundant rereading of text style when changing selection