Code

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

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)