Code

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

16 years agofix 248419
buliabyak [Mon, 14 Jul 2008 19:35:02 +0000 (19:35 +0000)]
fix 248419

16 years agoconvert object to path: replace check for empty path with 2geomified method of spcurve
johanengelen [Mon, 14 Jul 2008 19:33:19 +0000 (19:33 +0000)]
convert object to path: replace check for empty path with 2geomified method of spcurve

16 years agodyna-draw-context and eraser-context: replace check for empty path with 2geomified...
johanengelen [Mon, 14 Jul 2008 19:31:52 +0000 (19:31 +0000)]
dyna-draw-context and eraser-context: replace check for empty path with 2geomified method of spcurve

16 years agodraw-context: replace check for empty path with 2geomified method of spcurve
johanengelen [Mon, 14 Jul 2008 19:28:11 +0000 (19:28 +0000)]
draw-context: replace check for empty path with 2geomified method of spcurve

16 years ago2geomify ODF output
johanengelen [Mon, 14 Jul 2008 19:25:47 +0000 (19:25 +0000)]
2geomify ODF output

16 years ago2geomify lpeSpiro
johanengelen [Mon, 14 Jul 2008 18:53:23 +0000 (18:53 +0000)]
2geomify lpeSpiro

16 years agouse dynamic_cast in favor of typeid. because of derivative classes
johanengelen [Mon, 14 Jul 2008 15:52:01 +0000 (15:52 +0000)]
use dynamic_cast in favor of typeid. because of derivative classes
(in this case actually it is not necessary, because there can be no derivatives of Geom::LineSegment, since they are added explicitly in the same code. However, I think it is good to set good example.)

16 years ago2geomify snappoint finding for SPShapes.
johanengelen [Mon, 14 Jul 2008 15:02:33 +0000 (15:02 +0000)]
2geomify snappoint finding for SPShapes.

16 years agoadd geom-nodetype. helper function to determine the nodetype between two curves
johanengelen [Mon, 14 Jul 2008 15:02:01 +0000 (15:02 +0000)]
add geom-nodetype. helper function to determine the nodetype between two curves

16 years agoPreview emf on windows
ulferikson [Mon, 14 Jul 2008 14:17:08 +0000 (14:17 +0000)]
Preview emf on windows

16 years agoMinor fixes for emf input/output on windows
ulferikson [Mon, 14 Jul 2008 14:14:43 +0000 (14:14 +0000)]
Minor fixes for emf input/output on windows

16 years agoEnable knotholder handles for LPEAngleBisector now that they can be used simultaneous...
cilix42 [Mon, 14 Jul 2008 11:18:18 +0000 (11:18 +0000)]
Enable knotholder handles for LPEAngleBisector now that they can be used simultaneously with nodepath

16 years agoEnable simultaneous knotholder and nodepath
cilix42 [Mon, 14 Jul 2008 10:22:27 +0000 (10:22 +0000)]
Enable simultaneous knotholder and nodepath

16 years agoSome improvements to my title/desc stuff of revision 18759 (see bug 171024).
sasilver [Mon, 14 Jul 2008 10:19:53 +0000 (10:19 +0000)]
Some improvements to my title/desc stuff of revision 18759 (see bug 171024).

16 years agosmall code cleanup using newly discovered 2geom method :)
johanengelen [Sun, 13 Jul 2008 22:59:50 +0000 (22:59 +0000)]
small code cleanup using newly discovered 2geom method :)

16 years agoif the closing line segment has zero length, don't include it in the nodepath!
johanengelen [Sun, 13 Jul 2008 22:46:59 +0000 (22:46 +0000)]
if the closing line segment has zero length, don't include it in the nodepath!

16 years agofix warning
buliabyak [Sun, 13 Jul 2008 21:32:03 +0000 (21:32 +0000)]
fix warning

16 years agofix reading and setting presets
buliabyak [Sun, 13 Jul 2008 21:23:24 +0000 (21:23 +0000)]
fix reading and setting presets

16 years agoconvert calligraphic presets to 0..100 ranges, remove width
buliabyak [Sun, 13 Jul 2008 21:22:13 +0000 (21:22 +0000)]
convert calligraphic presets to 0..100 ranges, remove width

16 years ago2geomify pov-out extension
johanengelen [Sun, 13 Jul 2008 18:43:05 +0000 (18:43 +0000)]
2geomify pov-out extension

16 years ago2geomify generation of nodetool's nodepath. have done testing, but needs more testing...
johanengelen [Sun, 13 Jul 2008 00:44:49 +0000 (00:44 +0000)]
2geomify generation of nodetool's nodepath. have done testing, but needs more testing i feel. therefore, i have not yet deleted the old function

16 years agowarning cleanup
JucaBlues [Sat, 12 Jul 2008 22:30:15 +0000 (22:30 +0000)]
warning cleanup

16 years agofix proper type for type array when initializing nodepath
johanengelen [Sat, 12 Jul 2008 21:19:11 +0000 (21:19 +0000)]
fix proper type for type array when initializing nodepath

16 years agoremove no longer used methods (livarot to nartbpath ; font glyphs to nartbpath)
johanengelen [Sat, 12 Jul 2008 16:31:41 +0000 (16:31 +0000)]
remove no longer used methods (livarot to nartbpath ; font glyphs to nartbpath)

16 years ago2geomify latex-pstricks
johanengelen [Sat, 12 Jul 2008 16:17:28 +0000 (16:17 +0000)]
2geomify latex-pstricks

16 years agoconvert ps output to 2geom
johanengelen [Sat, 12 Jul 2008 16:04:51 +0000 (16:04 +0000)]
convert ps output to 2geom

16 years agoremove no longer needed inclusions
johanengelen [Sat, 12 Jul 2008 15:45:55 +0000 (15:45 +0000)]
remove no longer needed inclusions

16 years ago* remove code duplication from pdf-cairo extension
johanengelen [Sat, 12 Jul 2008 15:44:30 +0000 (15:44 +0000)]
* remove code duplication from pdf-cairo extension
* try to fix line closing bug when using cairo. didn't succeed

16 years agoadd simplified feed_path_to_cairo functions
johanengelen [Sat, 12 Jul 2008 15:33:37 +0000 (15:33 +0000)]
add simplified feed_path_to_cairo functions

16 years ago2geomify print, fill and stroke methods of extensions
johanengelen [Sat, 12 Jul 2008 15:21:12 +0000 (15:21 +0000)]
2geomify print, fill and stroke methods of extensions

16 years agoenable writing "H/h" and "V/v" to SVG !
johanengelen [Sat, 12 Jul 2008 14:45:33 +0000 (14:45 +0000)]
enable writing "H/h" and "V/v" to SVG !

16 years agoDon't crash on path parse error. Truncate the path data up to where it is valid.
johanengelen [Sat, 12 Jul 2008 14:28:25 +0000 (14:28 +0000)]
Don't crash on path parse error. Truncate the path data up to where it is valid.
For now shows unsafe debug message about where the path was truncated.

16 years agoincrease font size on kerning_preview and text_preview drawing areas
JucaBlues [Sat, 12 Jul 2008 13:24:51 +0000 (13:24 +0000)]
increase font size on kerning_preview and text_preview drawing areas

16 years agoproperly update kerning value in the spinbox and fix some crashes
JucaBlues [Sat, 12 Jul 2008 12:49:58 +0000 (12:49 +0000)]
properly update kerning value in the spinbox and fix some crashes

16 years agonow one can visually adjust glyph kerning. (still doesn save that info in the file...
JucaBlues [Sat, 12 Jul 2008 12:28:57 +0000 (12:28 +0000)]
now one can visually adjust glyph kerning. (still doesn save that info in the file, though)

16 years agokerning pairs already can be selected but kerning value still cant be set
JucaBlues [Sat, 12 Jul 2008 11:27:58 +0000 (11:27 +0000)]
kerning pairs already can be selected but kerning value still cant be set

16 years agoglyph-kerning setup user interface (not functional yet, just the gtk UI sketch)
JucaBlues [Sat, 12 Jul 2008 10:41:34 +0000 (10:41 +0000)]
glyph-kerning setup user interface (not functional yet, just the gtk UI sketch)

16 years agoadded comments to the SVGFonts example
JucaBlues [Sat, 12 Jul 2008 07:03:59 +0000 (07:03 +0000)]
added comments to the SVGFonts example

16 years agoadd adjustable opacity
buliabyak [Sat, 12 Jul 2008 06:22:40 +0000 (06:22 +0000)]
add adjustable opacity

16 years agocopyedit
buliabyak [Sat, 12 Jul 2008 06:22:01 +0000 (06:22 +0000)]
copyedit

16 years agomove max-recent to ui tab
buliabyak [Sat, 12 Jul 2008 06:21:41 +0000 (06:21 +0000)]
move max-recent to ui tab

16 years agofix crash on svnfonts dialog
JucaBlues [Sat, 12 Jul 2008 03:57:00 +0000 (03:57 +0000)]
fix crash on svnfonts dialog

16 years agomove label on top for sliders
buliabyak [Fri, 11 Jul 2008 19:39:34 +0000 (19:39 +0000)]
move label on top for sliders

16 years agouse new 2geom function. This ensures we cannot end up in infinite loop while converti...
johanengelen [Fri, 11 Jul 2008 16:28:14 +0000 (16:28 +0000)]
use new 2geom function. This ensures we cannot end up in infinite loop while converting unexpected 2geom curve types to expected types.

16 years agopartial update of 2geom
johanengelen [Fri, 11 Jul 2008 16:25:14 +0000 (16:25 +0000)]
partial update of 2geom

16 years agoapply patch by Stefaan, fixes bug #168589
johanengelen [Fri, 11 Jul 2008 15:35:35 +0000 (15:35 +0000)]
apply patch by Stefaan, fixes bug #168589

16 years agoSwitched three verbs/icons over to standard names and thus themed loading
joncruz [Fri, 11 Jul 2008 09:10:13 +0000 (09:10 +0000)]
Switched three verbs/icons over to standard names and thus themed loading

16 years agoAdd use of themed icon names in addition to older stock icons
joncruz [Fri, 11 Jul 2008 09:07:20 +0000 (09:07 +0000)]
Add use of themed icon names in addition to older stock icons

16 years agoText Preview entry box on SVGFonts dialog (unfortunately crashing sometimes, dont...
JucaBlues [Fri, 11 Jul 2008 07:28:13 +0000 (07:28 +0000)]
Text Preview entry box on SVGFonts dialog (unfortunately crashing sometimes, dont know why)

16 years ago* removed the auxiliary GtkWindow
JucaBlues [Fri, 11 Jul 2008 06:03:47 +0000 (06:03 +0000)]
* removed the auxiliary GtkWindow
* added font preview to the SvgFonts dialog

16 years agoPatch from Martin von Gagern for bug #247368
mental [Fri, 11 Jul 2008 01:37:26 +0000 (01:37 +0000)]
Patch from Martin von Gagern for bug #247368

16 years agoAllow inkex.errormsg() to handle non-ASCII characters. Fixes bug 246931.
sasilver [Thu, 10 Jul 2008 09:06:47 +0000 (09:06 +0000)]
Allow inkex.errormsg() to handle non-ASCII characters. Fixes bug 246931.

16 years agoprevent assert crashes on bad data in cal1 or cal2
buliabyak [Wed, 9 Jul 2008 19:33:25 +0000 (19:33 +0000)]
prevent assert crashes on bad data in cal1 or cal2

16 years agoSome fixes for the Embed All Images extension:
sasilver [Wed, 9 Jul 2008 17:51:46 +0000 (17:51 +0000)]
Some fixes for the Embed All Images extension:
1) Cope with missing xlink:href. (Fixes bug 246724.)
2) Don't ignore images with filenames that begin with "data".
3) Remove an unused line.
4) Suppress part of an error message in cases where it makes no sense.

16 years agoremove tolerance from tool prefs now that it's on the controls bar
buliabyak [Wed, 9 Jul 2008 16:47:05 +0000 (16:47 +0000)]
remove tolerance from tool prefs now that it's on the controls bar

16 years agofix 243913
buliabyak [Wed, 9 Jul 2008 16:46:11 +0000 (16:46 +0000)]
fix 243913

16 years agoRemove an unnecessary line that always raises an exception - there is no 'what'.
sasilver [Wed, 9 Jul 2008 13:00:19 +0000 (13:00 +0000)]
Remove an unnecessary line that always raises an exception - there is no 'what'.

16 years agoRemove obsolete 'sodipodi:docbase' attribute when opening old Sodipodi/Inkscape files.
sasilver [Wed, 9 Jul 2008 09:28:49 +0000 (09:28 +0000)]
Remove obsolete 'sodipodi:docbase' attribute when opening old Sodipodi/Inkscape files.
See bugs 168958 and 246721.

16 years agoRemove use of obsolete sodipodi:docbase from Python scripts (see bug 246721).
sasilver [Wed, 9 Jul 2008 09:09:20 +0000 (09:09 +0000)]
Remove use of obsolete sodipodi:docbase from Python scripts (see bug 246721).

16 years agomove tolerance range towards roughness
buliabyak [Wed, 9 Jul 2008 07:03:41 +0000 (07:03 +0000)]
move tolerance range towards roughness

16 years agotolerance => smoothing, add presets
buliabyak [Wed, 9 Jul 2008 07:02:36 +0000 (07:02 +0000)]
tolerance => smoothing, add presets

16 years agoFixed icon loading, cacheing and fallback to use stock mechanisms.
joncruz [Wed, 9 Jul 2008 03:44:54 +0000 (03:44 +0000)]
Fixed icon loading, cacheing and fallback to use stock mechanisms.
Helps with bugs #167341, #172148