Code

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

16 years agorearrange calligraphic presets
buliabyak [Mon, 21 Jul 2008 05:26:44 +0000 (05:26 +0000)]
rearrange calligraphic presets

16 years agoprevent warning when model is cleared before being refilled
buliabyak [Mon, 21 Jul 2008 05:25:08 +0000 (05:25 +0000)]
prevent warning when model is cleared before being refilled

16 years agomake visibility icon in LPE stack dialog clickable
johanengelen [Sun, 20 Jul 2008 21:52:06 +0000 (21:52 +0000)]
make visibility icon in LPE stack dialog clickable

16 years agoadd visibility icon to LPE stack dialog. not clickable yet
johanengelen [Sun, 20 Jul 2008 21:10:46 +0000 (21:10 +0000)]
add visibility icon to LPE stack dialog. not clickable yet

16 years agoextract ImageToggler from layers dialog
johanengelen [Sun, 20 Jul 2008 21:06:10 +0000 (21:06 +0000)]
extract ImageToggler from layers dialog

16 years agonoop: rename function name and whitespace
johanengelen [Sun, 20 Jul 2008 20:31:16 +0000 (20:31 +0000)]
noop: rename function name and whitespace

16 years agoremove redundant code from lpe dialog
johanengelen [Sun, 20 Jul 2008 20:04:37 +0000 (20:04 +0000)]
remove redundant code from lpe dialog

16 years agowhitespace, and add virtual destructor to ModelColumns of LPE stack dialog
johanengelen [Sun, 20 Jul 2008 20:00:59 +0000 (20:00 +0000)]
whitespace, and add virtual destructor to ModelColumns of LPE stack dialog

16 years agopurge LivePathEffect::PathType
johanengelen [Sun, 20 Jul 2008 19:02:23 +0000 (19:02 +0000)]
purge LivePathEffect::PathType

16 years agooptimize nodepath editing of lpe pathparam's a bit.
johanengelen [Sun, 20 Jul 2008 18:41:27 +0000 (18:41 +0000)]
optimize nodepath editing of lpe pathparam's a bit.

16 years agoadd comments about setting new LPE PathParam path data. refactor things a bit for...
johanengelen [Sun, 20 Jul 2008 18:32:15 +0000 (18:32 +0000)]
add comments about setting new LPE PathParam path data. refactor things a bit for easier comprehension and optimization possibility from within nodepath

16 years agoomit stitch segments from serialized paths
mental [Sun, 20 Jul 2008 18:18:00 +0000 (18:18 +0000)]
omit stitch segments from serialized paths

16 years agofix stupid crash, make get_item const
buliabyak [Sun, 20 Jul 2008 16:36:22 +0000 (16:36 +0000)]
fix stupid crash, make get_item const

16 years ago * [INTL: sk] (trunk) Updated Slovak translation
helix84 [Sun, 20 Jul 2008 15:33:03 +0000 (15:33 +0000)]
 * [INTL: sk] (trunk) Updated Slovak translation

16 years agoWarning cleanup
joncruz [Sun, 20 Jul 2008 07:26:15 +0000 (07:26 +0000)]
Warning cleanup

16 years agoAdded set_int_pref stub to svg/test-stubs.cpp, unit tests build again on
jaspervdg [Sat, 19 Jul 2008 16:15:51 +0000 (16:15 +0000)]
Added set_int_pref stub to svg/test-stubs.cpp, unit tests build again on
Linux.

16 years agonoop: Refactor massive copy&paste of PdfParser::doShowText, in exchange for using...
pjrm [Sat, 19 Jul 2008 14:45:13 +0000 (14:45 +0000)]
noop: Refactor massive copy&paste of PdfParser::doShowText, in exchange for using three one-line-each #ifdef/#else blocks instead of one big one covering the whole function.

16 years agoconfigure.ac: Add test for POPPLER_NEW_GFXFONT.
pjrm [Sat, 19 Jul 2008 14:39:20 +0000 (14:39 +0000)]
configure.ac: Add test for POPPLER_NEW_GFXFONT.

16 years agoSmall change to cubic_bbox to skip A LOT of unnecessary computation when the control...
jaspervdg [Sat, 19 Jul 2008 13:21:48 +0000 (13:21 +0000)]
Small change to cubic_bbox to skip A LOT of unnecessary computation when the control points fall within the existing bounding box (checked separately for the x and y ranges).

16 years agoConsistently use (create/destroy)Suite in unit tests.
jaspervdg [Sat, 19 Jul 2008 11:25:01 +0000 (11:25 +0000)]
Consistently use (create/destroy)Suite in unit tests.

16 years agoExclude the right(!) files when building the library (forgot to remove the obj/ prefi...
jaspervdg [Sat, 19 Jul 2008 09:44:04 +0000 (09:44 +0000)]
Exclude the right(!) files when building the library (forgot to remove the obj/ prefix for the test files...)

16 years agoanother place to make mouse cursor switching immediate
buliabyak [Sat, 19 Jul 2008 04:41:12 +0000 (04:41 +0000)]
another place to make mouse cursor switching immediate

16 years agoremove usereference vestiges, change the signature of user_unlink (not used yet)
buliabyak [Sat, 19 Jul 2008 04:35:04 +0000 (04:35 +0000)]
remove usereference vestiges, change the signature of user_unlink (not used yet)

16 years agofix crash when simplifying an lpe path: deleting the list didn't release the referenc...
buliabyak [Sat, 19 Jul 2008 04:33:41 +0000 (04:33 +0000)]
fix crash when simplifying an lpe path: deleting the list didn't release the references, and it didn't work in _finalize anyway

16 years agoa better way to make cursor change immediate; of course this trick is not documented...
buliabyak [Sat, 19 Jul 2008 02:20:47 +0000 (02:20 +0000)]
a better way to make cursor change immediate; of course this trick is not documented by gdk, I just found it serendipitously when googling for some other code

16 years agorearrange to fix the first keypress event being lost with options.savewindowgeometry...
buliabyak [Sat, 19 Jul 2008 00:20:04 +0000 (00:20 +0000)]
rearrange to fix the first keypress event being lost with options.savewindowgeometry == 2

16 years agoFix for PathString to prevent it from getting into a very, very long copying run...
jaspervdg [Fri, 18 Jul 2008 19:10:58 +0000 (19:10 +0000)]
Fix for PathString to prevent it from getting into a very, very long copying run and make it use minimumexponent. Plus some extra tests.