Code

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

16 years agomake the resolution for create bitmap copy settable in ui
buliabyak [Fri, 18 Jul 2008 18:50:48 +0000 (18:50 +0000)]
make the resolution for create bitmap copy settable in ui

16 years agopatch for bug 249665
buliabyak [Fri, 18 Jul 2008 16:34:04 +0000 (16:34 +0000)]
patch for bug 249665

16 years agoRemoved the unused allowshorthands preference.
jaspervdg [Fri, 18 Jul 2008 16:23:40 +0000 (16:23 +0000)]
Removed the unused allowshorthands preference.

16 years agoAdd python for cxxtests
ishmal [Fri, 18 Jul 2008 14:55:51 +0000 (14:55 +0000)]
Add python for cxxtests

16 years agoadded SVF Fonts dialog to the list of translatables
prokoudine [Fri, 18 Jul 2008 14:08:43 +0000 (14:08 +0000)]
added SVF Fonts dialog to the list of translatables
marked its messages for translation

16 years agoeventually updating ru.po, every once in a while :)
prokoudine [Fri, 18 Jul 2008 11:39:54 +0000 (11:39 +0000)]
eventually updating ru.po, every once in a while :)

16 years agoremoving lots of g_warnings
JucaBlues [Fri, 18 Jul 2008 05:49:46 +0000 (05:49 +0000)]
removing lots of g_warnings

16 years ago* added another spinbox to the svgfonts ui
JucaBlues [Fri, 18 Jul 2008 05:35:01 +0000 (05:35 +0000)]
* added another spinbox to the svgfonts ui
* this one will set the horiz_adv_x parameter of fonts (i.e. the "set width")
* but it is still not working well since I need to find out how to tell cairo that the glyph cache is invalid and that glyphs should be rerendered

16 years agoadd pgup/pgdn in text
buliabyak [Fri, 18 Jul 2008 03:24:43 +0000 (03:24 +0000)]
add pgup/pgdn in text

16 years agoadd pgup/pgdn in text, fix auto scrolling
buliabyak [Fri, 18 Jul 2008 03:24:28 +0000 (03:24 +0000)]
add pgup/pgdn in text, fix auto scrolling

16 years agoadd parameter for going n lines up/down
buliabyak [Fri, 18 Jul 2008 03:23:18 +0000 (03:23 +0000)]
add parameter for going n lines up/down

16 years agoadd utility function for average linespacing
buliabyak [Fri, 18 Jul 2008 03:21:52 +0000 (03:21 +0000)]
add utility function for average linespacing

16 years agofix artefacts left by text cursor and disappearing cursor on empty canvas
buliabyak [Fri, 18 Jul 2008 03:21:00 +0000 (03:21 +0000)]
fix artefacts left by text cursor and disappearing cursor on empty canvas

16 years agoKhmer translation updated
sokhem [Fri, 18 Jul 2008 01:14:24 +0000 (01:14 +0000)]
Khmer translation updated

16 years agofix initialization order of FilterEffectDialog fields, per bug #249514
mental [Thu, 17 Jul 2008 23:43:18 +0000 (23:43 +0000)]
fix initialization order of FilterEffectDialog fields, per bug #249514

16 years agoconvert all SPCurve's points and matrices arguments and return types to 2Geom
johanengelen [Thu, 17 Jul 2008 22:00:40 +0000 (22:00 +0000)]
convert all SPCurve's points and matrices arguments and return types to 2Geom

16 years agoNR::Point : add cast operator to Geom::Point
johanengelen [Thu, 17 Jul 2008 21:35:48 +0000 (21:35 +0000)]
NR::Point : add cast operator to Geom::Point

16 years agoadded boolean ops LPE to the list of translatables
prokoudine [Thu, 17 Jul 2008 18:14:36 +0000 (18:14 +0000)]
added boolean ops LPE to the list of translatables

16 years agoPatch from codedread: add mnemonics for Title and Description fields in Object Proper...
sasilver [Thu, 17 Jul 2008 15:55:08 +0000 (15:55 +0000)]
Patch from codedread: add mnemonics for Title and Description fields in Object Properties dialog (fixes bug 246459).

16 years agoThe new CxxTest unit tests now also work on Linux! (Note that test-all
jaspervdg [Thu, 17 Jul 2008 11:33:38 +0000 (11:33 +0000)]
The new CxxTest unit tests now also work on Linux! (Note that test-all
has become test-src and no longer includes ALL tests, just the tests in
src/.)

16 years agoadd lpe-Boolops
johanengelen [Wed, 16 Jul 2008 21:42:46 +0000 (21:42 +0000)]
add lpe-Boolops

16 years agofix combo enum, to handle enums of all types (not only the ones that range from 0...
johanengelen [Wed, 16 Jul 2008 21:38:16 +0000 (21:38 +0000)]
fix combo enum, to handle enums of all types (not only the ones that range from 0..10)

16 years agoupdate to latest 2geom (rev1497)
johanengelen [Wed, 16 Jul 2008 21:36:19 +0000 (21:36 +0000)]
update to latest 2geom (rev1497)

16 years agoimproving SVG Fonts UI
JucaBlues [Wed, 16 Jul 2008 21:31:43 +0000 (21:31 +0000)]
improving SVG Fonts UI

16 years agoremove all old nartbpath code from SPCurve!!! (in other words, lib2geomification...
johanengelen [Wed, 16 Jul 2008 21:27:55 +0000 (21:27 +0000)]
remove all old nartbpath code from SPCurve!!!  (in other words, lib2geomification of SPCurve complete)

16 years agowarning cleanup
joncruz [Wed, 16 Jul 2008 03:50:53 +0000 (03:50 +0000)]
warning cleanup

16 years agoremove debug messages from last commits
johanengelen [Tue, 15 Jul 2008 22:33:47 +0000 (22:33 +0000)]
remove debug messages from last commits

16 years agofix lpe-spiro for smooth closing points
johanengelen [Tue, 15 Jul 2008 22:30:48 +0000 (22:30 +0000)]
fix lpe-spiro for smooth closing points

16 years agotry to make more robust geom-nodetype. still it can give wrong types. (best tested...
johanengelen [Tue, 15 Jul 2008 22:30:15 +0000 (22:30 +0000)]
try to make more robust geom-nodetype. still it can give wrong types. (best tested with lpe-spiro after next svncommit, change the smoothness/cusp at the closing endpoint)

16 years agoadded Ruler LPE to the list of translatables
prokoudine [Tue, 15 Jul 2008 18:16:44 +0000 (18:16 +0000)]
added Ruler LPE to the list of translatables

16 years agoDon't crash on broken references when resolving ID clashes.
sasilver [Tue, 15 Jul 2008 13:06:51 +0000 (13:06 +0000)]
Don't crash on broken references when resolving ID clashes.

16 years agolpe-skeleton.cpp: comment out handle code by default
cilix42 [Tue, 15 Jul 2008 12:41:53 +0000 (12:41 +0000)]
lpe-skeleton.cpp: comment out handle code by default

16 years agoNew LPE FreehandShape derived from PatternAlongPath (for the shapes in pen/pencil...
cilix42 [Tue, 15 Jul 2008 12:41:43 +0000 (12:41 +0000)]
New LPE FreehandShape derived from PatternAlongPath (for the shapes in pen/pencil context); don't apply shapes each time the selection changes; new functions to test for specific LPE type and if a path can accept a new shape

16 years agoPrint distance info in console for LPERuler until new CanvasText item works
cilix42 [Tue, 15 Jul 2008 12:41:27 +0000 (12:41 +0000)]
Print distance info in console for LPERuler until new CanvasText item works

16 years agoCherry-pick of 2geom update (re. 1488); prevent crash during Path->Piecewise conversi...
cilix42 [Tue, 15 Jul 2008 12:41:14 +0000 (12:41 +0000)]
Cherry-pick of 2geom update (re. 1488); prevent crash during Path->Piecewise conversion for zero length paths