Code

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

16 years agoNew LPE: Ruler
cilix42 [Tue, 15 Jul 2008 12:41:03 +0000 (12:41 +0000)]
New LPE: Ruler

16 years agoSupport for copy/paste with Windows clipboard. (LP 217609)
ulferikson [Tue, 15 Jul 2008 11:53:33 +0000 (11:53 +0000)]
Support for copy/paste with Windows clipboard. (LP 217609)

16 years agoKhmer translations updated
sokhem [Tue, 15 Jul 2008 10:05:04 +0000 (10:05 +0000)]
Khmer translations updated

16 years agoKhmer translations updated
sokhem [Tue, 15 Jul 2008 10:00:56 +0000 (10:00 +0000)]
Khmer translations updated

16 years agomake tolerance range exponential
buliabyak [Tue, 15 Jul 2008 07:13:00 +0000 (07:13 +0000)]
make tolerance range exponential

16 years agoFixed layers dialog to correctly fetch icons from new location/code.
joncruz [Tue, 15 Jul 2008 07:11:23 +0000 (07:11 +0000)]
Fixed layers dialog to correctly fetch icons from new location/code.

16 years agoKhmer translations updated
sokhem [Tue, 15 Jul 2008 01:09:19 +0000 (01:09 +0000)]
Khmer translations updated

16 years agoremove last calls to spcurve::get_length outside of spcurve. (canvas-bpath rendering...
johanengelen [Tue, 15 Jul 2008 00:01:54 +0000 (00:01 +0000)]
remove last calls to spcurve::get_length outside of spcurve. (canvas-bpath rendering code)

16 years agodon't call cairo_new_path in feed_pathvector_to_cairo (like the old feed_path_to_cair...
johanengelen [Tue, 15 Jul 2008 00:00:48 +0000 (00:00 +0000)]
don't call cairo_new_path in feed_pathvector_to_cairo (like the old feed_path_to_cairo didn't do)

16 years agomake SPCurve constructors explicit. (so e.g. it is impossible to write SPCurve a...
johanengelen [Mon, 14 Jul 2008 23:01:40 +0000 (23:01 +0000)]
make SPCurve constructors explicit. (so e.g. it is impossible to write SPCurve a = 1;)

16 years agofix conversion from pathvector to livarot path. (a.o. caused crash of nodetool when...
johanengelen [Mon, 14 Jul 2008 21:43:10 +0000 (21:43 +0000)]
fix conversion from pathvector to livarot path. (a.o. caused crash of nodetool when editing second subpath when first subpath was closed.)

16 years agocomplete 2geomifying subpath adding in nodepath
johanengelen [Mon, 14 Jul 2008 21:15:01 +0000 (21:15 +0000)]
complete 2geomifying subpath adding in nodepath

16 years agoimprove get_nodetype angle checking, thanks nathan!
johanengelen [Mon, 14 Jul 2008 21:11:34 +0000 (21:11 +0000)]
improve get_nodetype angle checking, thanks nathan!

16 years agoadd comment and implementation of get_nodetype where both curves are zero_length...
johanengelen [Mon, 14 Jul 2008 20:42:24 +0000 (20:42 +0000)]
add comment and implementation of get_nodetype where both curves are zero_length or only one of them.

16 years agonoop: add comment about multiple consecutive movetos
johanengelen [Mon, 14 Jul 2008 20:29:26 +0000 (20:29 +0000)]
noop: add comment about multiple consecutive movetos

16 years agofix check for empty path for draw-context
johanengelen [Mon, 14 Jul 2008 19:39:19 +0000 (19:39 +0000)]
fix check for empty path for draw-context