Code

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

16 years agoWarning cleanup
joncruz [Wed, 9 Jul 2008 03:34:50 +0000 (03:34 +0000)]
Warning cleanup

16 years agoremove fractional digits from hscales, we cannot drag with such precision anyway
buliabyak [Wed, 9 Jul 2008 03:22:09 +0000 (03:22 +0000)]
remove fractional digits from hscales, we cannot drag with such precision anyway

16 years agoFix handle for LPERotateCopies
cilix42 [Tue, 8 Jul 2008 22:58:55 +0000 (22:58 +0000)]
Fix handle for LPERotateCopies

16 years agoRename LPE: mirror reflect --> mirror symmetry
cilix42 [Tue, 8 Jul 2008 21:18:50 +0000 (21:18 +0000)]
Rename LPE: mirror reflect --> mirror symmetry

16 years agofix calligraphy and erasertools bugs introduced by rev19197
johanengelen [Tue, 8 Jul 2008 20:29:15 +0000 (20:29 +0000)]
fix calligraphy and erasertools bugs introduced by rev19197

16 years agorender glyphs using 2geom pathvector instead of artbpath of font-glyph
johanengelen [Tue, 8 Jul 2008 20:19:51 +0000 (20:19 +0000)]
render glyphs using 2geom pathvector instead of artbpath of font-glyph

16 years ago2geomify SPCurve::new_from_rect
johanengelen [Tue, 8 Jul 2008 20:18:44 +0000 (20:18 +0000)]
2geomify SPCurve::new_from_rect

16 years ago2geomify ellipse creation
johanengelen [Tue, 8 Jul 2008 20:17:00 +0000 (20:17 +0000)]
2geomify ellipse creation

16 years agoadd 2geom pathvector to glyph font-glyph
johanengelen [Tue, 8 Jul 2008 20:15:56 +0000 (20:15 +0000)]
add 2geom pathvector to glyph font-glyph

16 years agoadd MakePathVector to livarot
johanengelen [Tue, 8 Jul 2008 20:14:07 +0000 (20:14 +0000)]
add MakePathVector to livarot

16 years agoinstrument event latency
mental [Tue, 8 Jul 2008 19:16:01 +0000 (19:16 +0000)]
instrument event latency

16 years agodisable motion hints again; still some subtle issues to work out
mental [Tue, 8 Jul 2008 19:15:49 +0000 (19:15 +0000)]
disable motion hints again; still some subtle issues to work out

16 years ago2geomify the static defined hatchcircles of dropper tool, dyna draw and tweak tool.
johanengelen [Tue, 8 Jul 2008 18:05:08 +0000 (18:05 +0000)]
2geomify the static defined hatchcircles of dropper tool, dyna draw and tweak tool.

16 years ago* 2geomify polygon svg writing
johanengelen [Tue, 8 Jul 2008 17:55:15 +0000 (17:55 +0000)]
* 2geomify polygon svg writing
* 2geomify caligraphy and erasertool svg writing

16 years agopatch by FreqMod for bug 246389
buliabyak [Tue, 8 Jul 2008 17:35:52 +0000 (17:35 +0000)]
patch by FreqMod for bug 246389

16 years agoPatch from codedread. Prevents rendering of title/desc/metadata elements in text...
sasilver [Tue, 8 Jul 2008 13:00:20 +0000 (13:00 +0000)]
Patch from codedread. Prevents rendering of title/desc/metadata elements in text (fixes bug 238093).

16 years agodisable motion hints for calligraphy to avoid confusion
mental [Tue, 8 Jul 2008 04:03:42 +0000 (04:03 +0000)]
disable motion hints for calligraphy to avoid confusion

16 years agoFalse alarm; re-enable them
mental [Tue, 8 Jul 2008 03:49:30 +0000 (03:49 +0000)]
False alarm; re-enable them

16 years agodisable motion hints again
mental [Tue, 8 Jul 2008 03:23:25 +0000 (03:23 +0000)]
disable motion hints again

16 years agoI'm an idiot who forgot that MOTION_HINT_MASK still needs MOTION_MASK
mental [Tue, 8 Jul 2008 03:01:39 +0000 (03:01 +0000)]
I'm an idiot who forgot that MOTION_HINT_MASK still needs MOTION_MASK

16 years agodisable motion hints again
mental [Tue, 8 Jul 2008 02:43:34 +0000 (02:43 +0000)]
disable motion hints again

16 years agoenable motion hints for non-freehand actions
mental [Tue, 8 Jul 2008 02:32:42 +0000 (02:32 +0000)]
enable motion hints for non-freehand actions

16 years agotemporarily enable motion hints for calligraphy tool
mental [Tue, 8 Jul 2008 02:25:52 +0000 (02:25 +0000)]
temporarily enable motion hints for calligraphy tool

16 years agoenable safe support for motion hints
mental [Tue, 8 Jul 2008 02:25:41 +0000 (02:25 +0000)]
enable safe support for motion hints

16 years agofix 169096
buliabyak [Mon, 7 Jul 2008 20:54:18 +0000 (20:54 +0000)]
fix 169096

16 years agoconvert item to livarot path using 2geom path
johanengelen [Mon, 7 Jul 2008 20:34:51 +0000 (20:34 +0000)]
convert item to livarot path using 2geom path

16 years ago2geomify conversion to livaror in flood-context.cpp
johanengelen [Mon, 7 Jul 2008 20:32:37 +0000 (20:32 +0000)]
2geomify conversion to livaror in flood-context.cpp

16 years agoreplace separate forward declarations by proper forward.h inclusion
johanengelen [Mon, 7 Jul 2008 20:23:57 +0000 (20:23 +0000)]
replace separate forward declarations by proper forward.h inclusion