Code

inkscape.git
15 years agoUpdated translation template (sorry guys - connection problems for last few days...
prokoudine [Tue, 14 Apr 2009 12:58:10 +0000 (12:58 +0000)]
Updated translation template (sorry guys - connection problems for last few days), fixed POTFILE.in to reflect recent filename changes

15 years agoFix two legacy icon IDs
tweenk [Mon, 13 Apr 2009 23:43:33 +0000 (23:43 +0000)]
Fix two legacy icon IDs

15 years agoReally fix node alignment icons; add clarifying comment to source.
tweenk [Mon, 13 Apr 2009 23:42:51 +0000 (23:42 +0000)]
Really fix node alignment icons; add clarifying comment to source.

15 years agoComplete the legacy icon mapping
tweenk [Mon, 13 Apr 2009 22:08:54 +0000 (22:08 +0000)]
Complete the legacy icon mapping

15 years agoAdd icon mappings (legacy IDs to icon names) for menus, tools and
tweenk [Mon, 13 Apr 2009 21:39:46 +0000 (21:39 +0000)]
Add icon mappings (legacy IDs to icon names) for menus, tools and
align & distribute dialog.

15 years agolitte more information
aurium [Mon, 13 Apr 2009 20:25:46 +0000 (20:25 +0000)]
litte more information

15 years agomore basic test files and basic effect corrections
aurium [Mon, 13 Apr 2009 20:05:53 +0000 (20:05 +0000)]
more basic test files and basic effect corrections

15 years agoallow svg_and_media_zip_output works with less informative svg files
aurium [Mon, 13 Apr 2009 19:57:44 +0000 (19:57 +0000)]
allow svg_and_media_zip_output works with less informative svg files

15 years agocapitalization, move Noisy blur to Blurs
buliabyak [Mon, 13 Apr 2009 19:26:22 +0000 (19:26 +0000)]
capitalization, move Noisy blur to Blurs

15 years agoa dummy help for extension unit test creation
aurium [Mon, 13 Apr 2009 18:38:09 +0000 (18:38 +0000)]
a dummy help for extension unit test creation

15 years agorun-all-extension-tests in make check
aurium [Mon, 13 Apr 2009 16:37:31 +0000 (16:37 +0000)]
run-all-extension-tests in make check

15 years agoRenaming Ghosten to Eraser, improving it to adjust with color matrix and moving it...
ivanlouette57 [Mon, 13 Apr 2009 16:21:24 +0000 (16:21 +0000)]
Renaming Ghosten to Eraser, improving it to adjust with color matrix and moving it to a new Masking tools submenu

15 years agoAdding a Distort filter called Noisy blur, moving Ghosten to Image effects
ivanlouette57 [Mon, 13 Apr 2009 12:23:39 +0000 (12:23 +0000)]
Adding a Distort filter called Noisy blur, moving Ghosten to Image effects

15 years ago*.in files are generated from *.am, and should not be checked in.
joncruz [Mon, 13 Apr 2009 05:30:42 +0000 (05:30 +0000)]
*.in files are generated from *.am, and should not be checked in.

15 years agoUpdate configure.ac to include the PNG icon dirs
tweenk [Mon, 13 Apr 2009 01:44:57 +0000 (01:44 +0000)]
Update configure.ac to include the PNG icon dirs

15 years ago* Add automatically rendered PNG icons and the rendering script.
tweenk [Mon, 13 Apr 2009 00:01:57 +0000 (00:01 +0000)]
* Add automatically rendered PNG icons and the rendering script.
* Add an index.theme file to allow the PNG icons to be used on Windows.

15 years agoOnly add builtin icons if loading from SVG succeeded
tweenk [Sun, 12 Apr 2009 22:42:20 +0000 (22:42 +0000)]
Only add builtin icons if loading from SVG succeeded

15 years agoadd support for LTYPE, DIMTXT, and BLOCKS
alvinpenner [Sun, 12 Apr 2009 22:15:10 +0000 (22:15 +0000)]
add support for LTYPE, DIMTXT, and BLOCKS

15 years agoAdded a listing of icon name changes that have occurred since last release.
joncruz [Sun, 12 Apr 2009 20:57:09 +0000 (20:57 +0000)]
Added a listing of icon name changes that have occurred since last release.

15 years agoFix two "snap window not opened" warnings
dvlierop2 [Sun, 12 Apr 2009 20:00:42 +0000 (20:00 +0000)]
Fix two "snap window not opened" warnings

15 years agoadd LPE recursive skeleton (experimental)
johanengelen [Sun, 12 Apr 2009 16:27:25 +0000 (16:27 +0000)]
add LPE recursive skeleton (experimental)

15 years agooverride transform_multiply for patternalongpath to disable transform forwarding...
johanengelen [Sun, 12 Apr 2009 15:28:53 +0000 (15:28 +0000)]
override transform_multiply for patternalongpath to disable transform forwarding to its parameters.

15 years agoAdding two Color filters, Black light and Ghosten
ivanlouette57 [Sun, 12 Apr 2009 14:25:59 +0000 (14:25 +0000)]
Adding two Color filters, Black light and Ghosten

15 years agoImproved wording for the snap indicator: gradients snap to their parent's bounding...
dvlierop2 [Sun, 12 Apr 2009 13:32:00 +0000 (13:32 +0000)]
Improved wording for the snap indicator: gradients snap to their parent's bounding box, so the snap indicator now displays "bla bla to bounding box"

15 years agoUse the line intersection routines in 2geom/line.h instead of the deprecated ones...
dvlierop2 [Sun, 12 Apr 2009 12:59:26 +0000 (12:59 +0000)]
Use the line intersection routines in 2geom/line.h instead of the deprecated ones in 2geom/geom.h. (I know we're in a refactoring freeze, but this one I was already working on before this freeze was announced and it's quite safe IMHO. It's only a small change in 2geom's API and can hardly do any real harm. I will not refactor anything else until after the v0.47 release, promised!)

15 years agoFix snapping during constrained translation, when only snapping the node closest...
dvlierop2 [Sun, 12 Apr 2009 11:38:21 +0000 (11:38 +0000)]
Fix snapping during constrained translation, when only snapping the node closest to the mouse pointer

15 years agoFix two missing icons in live effect parameters
tweenk [Sat, 11 Apr 2009 20:29:03 +0000 (20:29 +0000)]
Fix two missing icons in live effect parameters

15 years agoFix the "select all" icon and remove stuff causing problems from widgets/icon.cpp
tweenk [Sat, 11 Apr 2009 19:50:11 +0000 (19:50 +0000)]
Fix the "select all" icon and remove stuff causing problems from widgets/icon.cpp

15 years agoadd uniconvertor sk1 export (as used for sk1 import)
theAdib [Sat, 11 Apr 2009 09:49:12 +0000 (09:49 +0000)]
add uniconvertor sk1 export (as used for sk1 import)

15 years agoDutch translation update by Kris
JazzyNico [Sat, 11 Apr 2009 06:39:19 +0000 (06:39 +0000)]
Dutch translation update by Kris

15 years agoAdd randomize icon for LPEs
tweenk [Fri, 10 Apr 2009 22:59:54 +0000 (22:59 +0000)]
Add randomize icon for LPEs

15 years agoadd 2geom/line.cpp to Makefile_insert
johanengelen [Fri, 10 Apr 2009 21:55:55 +0000 (21:55 +0000)]
add 2geom/line.cpp to Makefile_insert

15 years agoFix compatibility with much older Glibmm version.
joncruz [Fri, 10 Apr 2009 20:19:38 +0000 (20:19 +0000)]
Fix compatibility with much older Glibmm version.

15 years agoadd support for wmf-output using the uniconvertor (as used for the wmf-input
theAdib [Fri, 10 Apr 2009 19:48:07 +0000 (19:48 +0000)]
add support for wmf-output using the uniconvertor (as used for the wmf-input

15 years agoWhitespace cleanup
joncruz [Fri, 10 Apr 2009 19:30:07 +0000 (19:30 +0000)]
Whitespace cleanup

15 years agoAdding initial system info listing.
joncruz [Fri, 10 Apr 2009 08:08:34 +0000 (08:08 +0000)]
Adding initial system info listing.

15 years agoCleaning up some filters again
ivanlouette57 [Thu, 9 Apr 2009 17:47:29 +0000 (17:47 +0000)]
Cleaning up some filters again

15 years agoAnother typo slipped
prokoudine [Thu, 9 Apr 2009 17:10:36 +0000 (17:10 +0000)]
Another typo slipped

15 years agoTypos are fixed, text is improved, still a lot of work to do to make this extension...
prokoudine [Thu, 9 Apr 2009 17:07:36 +0000 (17:07 +0000)]
Typos are fixed, text is improved, still a lot of work to do to make this extension look really good

15 years agomore one step for the extension tests
aurium [Thu, 9 Apr 2009 15:02:04 +0000 (15:02 +0000)]
more one step for the extension tests

15 years agolittle name corretion "check_PROGRAMS" in HACKING.pt_BR.txt
aurium [Thu, 9 Apr 2009 12:36:42 +0000 (12:36 +0000)]
little name corretion "check_PROGRAMS" in HACKING.pt_BR.txt

15 years agocomment out debug output
buliabyak [Thu, 9 Apr 2009 04:13:00 +0000 (04:13 +0000)]
comment out debug output

15 years agocorrecting the inkweb.js version
aurium [Wed, 8 Apr 2009 21:44:56 +0000 (21:44 +0000)]
correcting the inkweb.js version

15 years agogroup recognition to a more faster work with web-transmit-att extension.
aurium [Wed, 8 Apr 2009 21:40:18 +0000 (21:40 +0000)]
group recognition to a more faster work with web-transmit-att extension.

15 years agoSome filters and extensions translation updates
JazzyNico [Wed, 8 Apr 2009 21:11:55 +0000 (21:11 +0000)]
Some filters and extensions translation updates

15 years agoCleaning up some filters
ivanlouette57 [Wed, 8 Apr 2009 20:51:43 +0000 (20:51 +0000)]
Cleaning up some filters

15 years agoFix feConvolveMatrix to use premultiplied color values (and semi-properly use bias).
jaspervdg [Wed, 8 Apr 2009 12:03:17 +0000 (12:03 +0000)]
Fix feConvolveMatrix to use premultiplied color values (and semi-properly use bias).

15 years agoSwap iterations over x and y coordinate to be more cache friendly (so the inner loop...
jaspervdg [Wed, 8 Apr 2009 11:50:31 +0000 (11:50 +0000)]
Swap iterations over x and y coordinate to be more cache friendly (so the inner loop iterates over x).

15 years agonoop: add todo
johanengelen [Tue, 7 Apr 2009 23:05:37 +0000 (23:05 +0000)]
noop: add todo

15 years agois_straight_curve now also returns true for straight line quadratic and cubic curves...
johanengelen [Tue, 7 Apr 2009 22:58:28 +0000 (22:58 +0000)]
is_straight_curve now also returns true for straight line quadratic and cubic curves. this fixes spiro LPE behavior

15 years agoFix bug #356743
dvlierop2 [Tue, 7 Apr 2009 20:43:59 +0000 (20:43 +0000)]
Fix bug #356743

15 years agoSome filters and extensions updates
JazzyNico [Tue, 7 Apr 2009 19:55:52 +0000 (19:55 +0000)]
Some filters and extensions updates

15 years agoFix crash: desktop does not always have an event_context attached to it!
dvlierop2 [Tue, 7 Apr 2009 18:42:48 +0000 (18:42 +0000)]
Fix crash: desktop does not always have an event_context attached to it!

15 years agooops, fix a bug in that last commit (revealed by eps import; I don't think this bug...
pjrm [Tue, 7 Apr 2009 12:20:31 +0000 (12:20 +0000)]
oops, fix a bug in that last commit (revealed by eps import; I don't think this bug occurred with skencil import).

15 years agoFrench translation update (mainly LPE)
JazzyNico [Tue, 7 Apr 2009 12:05:07 +0000 (12:05 +0000)]
French translation update (mainly LPE)

15 years agoChanged to more accurate names for toolbar icon sizes (which normally map to large...
joncruz [Tue, 7 Apr 2009 09:09:29 +0000 (09:09 +0000)]
Changed to more accurate names for toolbar icon sizes (which normally map to large toolbar, small toolbar, and menu size)

15 years agoUse the new sp_document_change_uri_and_hrefs function.
pjrm [Tue, 7 Apr 2009 08:25:43 +0000 (08:25 +0000)]
Use the new sp_document_change_uri_and_hrefs function.
 The change to extension/system.cpp is a functional noop.
 The change to extension/implementation/script.cpp should fix importing of .ai files that contain images (or whatever ill2svg.pl creates png files for).  The effect on any other scripts that create SVG files with relative hrefs is unknown.

15 years agodoc
pjrm [Tue, 7 Apr 2009 08:16:30 +0000 (08:16 +0000)]
doc

15 years agosp_document_change_uri_and_hrefs: New function.
pjrm [Tue, 7 Apr 2009 08:05:23 +0000 (08:05 +0000)]
sp_document_change_uri_and_hrefs: New function.

15 years agofunctional noop: Change prepend_current_dir_if_relative to return the result rather...
pjrm [Tue, 7 Apr 2009 07:38:27 +0000 (07:38 +0000)]
functional noop: Change prepend_current_dir_if_relative to return the result rather than taking a pointer to where to put the result.  (Clarifies that the existing value isn't used.)

15 years agonoop: whitespace
pjrm [Tue, 7 Apr 2009 07:06:23 +0000 (07:06 +0000)]
noop: whitespace

15 years agonoop: In share/extensions: svn propset svn:eol-style native *.py *.inx
pjrm [Tue, 7 Apr 2009 06:42:09 +0000 (06:42 +0000)]
noop: In share/extensions:  svn propset svn:eol-style native *.py *.inx
In four cases, there were a mix of end-of-line styles.

15 years agoCtor fixes and misc warning cleanups
joncruz [Tue, 7 Apr 2009 06:42:08 +0000 (06:42 +0000)]
Ctor fixes and misc warning cleanups

15 years agonoop: Set svn:eol-style to native on all .cpp and .h files under src. (find \( ...
pjrm [Tue, 7 Apr 2009 06:32:25 +0000 (06:32 +0000)]
noop: Set svn:eol-style to native on all .cpp and .h files under src.  (find \( -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 svn propset svn:eol-style native)

15 years agonoop: svg/svg-path-geom-test.h: Change to consistent end-of-line separators, and...
pjrm [Tue, 7 Apr 2009 06:24:37 +0000 (06:24 +0000)]
noop: svg/svg-path-geom-test.h: Change to consistent end-of-line separators, and do svn propset svn:eol-style native on it.

15 years ago(sp_selection_create_bitmap_copy): Fix: Set xlink:href relative to the correct directory.
pjrm [Tue, 7 Apr 2009 06:13:27 +0000 (06:13 +0000)]
(sp_selection_create_bitmap_copy): Fix: Set xlink:href relative to the correct directory.

15 years agonoop: rename a local var
pjrm [Tue, 7 Apr 2009 06:11:20 +0000 (06:11 +0000)]
noop: rename a local var

15 years agonoop: whitespace
pjrm [Tue, 7 Apr 2009 05:58:29 +0000 (05:58 +0000)]
noop: whitespace

15 years agoextension/internal/gdkpixbuf-input.cpp: Don't bother creating a sodipodi:absref attri...
pjrm [Tue, 7 Apr 2009 05:34:05 +0000 (05:34 +0000)]
extension/internal/gdkpixbuf-input.cpp: Don't bother creating a sodipodi:absref attribute with the same value as an existing xlink:href attribute.

15 years agoMove Inkscape::IO::fixupHrefs to Inkscape::XML::rebase_hrefs in new file xml/rebase...
pjrm [Tue, 7 Apr 2009 05:31:32 +0000 (05:31 +0000)]
Move Inkscape::IO::fixupHrefs to Inkscape::XML::rebase_hrefs in new file xml/rebase-hrefs.*.  Give it the old and new base directory, so that it can change hrefs without relying on sodipodi:absref.
Also create a new function sp_repr_save_rebased_file that changes all xlink:href attributes as it writes them, so that we don't need to modify the owning document.  (Especially useful for "Save a copy" or exporting.)
extension/system.cpp: (Inkscape::Extension::save): Don't call sp_document_set_uri even temporarily other than at the same time as calling rebase_hrefs.  (Otherwise, existing relative hrefs will point nowhere.)
When exporting plain SVG, change the relative hrefs according to the destination filename.

15 years agofunctional noop: Clarify g_strcanon behaviour by not redundantly reassigning back...
pjrm [Tue, 7 Apr 2009 04:04:51 +0000 (04:04 +0000)]
functional noop: Clarify g_strcanon behaviour by not redundantly reassigning back to argument.

15 years agofunctional noop: xml/repr-io.cpp: (sp_repr_save_writer): Mark static. Slight shorten...
pjrm [Mon, 6 Apr 2009 23:50:14 +0000 (23:50 +0000)]
functional noop: xml/repr-io.cpp: (sp_repr_save_writer): Mark static.  Slight shortening of implementation.

15 years agoRemove trivial wrapper function sp_repr_print that hasn't been used in years.
pjrm [Mon, 6 Apr 2009 23:17:08 +0000 (23:17 +0000)]
Remove trivial wrapper function sp_repr_print that hasn't been used in years.

15 years agodoc
pjrm [Mon, 6 Apr 2009 22:45:23 +0000 (22:45 +0000)]
doc

15 years agoupdate 2geom. big commit as it has been a while. (2geom svn rev. 1870, i think)
johanengelen [Mon, 6 Apr 2009 22:29:34 +0000 (22:29 +0000)]
update 2geom. big commit as it has been a while. (2geom svn rev. 1870, i think)
i turned some optional compilation stuff *on* per default, to help building inkscape.

15 years agonoop: Rename argument from uri to filename for Extension::...::save implementations...
pjrm [Mon, 6 Apr 2009 21:53:09 +0000 (21:53 +0000)]
noop: Rename argument from uri to filename for Extension::...::save implementations, given that that's how it's used at present.
Add a couple of fixme comments to do with use of this argument.

15 years agofunctional noop: (EmfWin32::save): Remove an unneeded strdup operation.
pjrm [Mon, 6 Apr 2009 21:45:54 +0000 (21:45 +0000)]
functional noop: (EmfWin32::save): Remove an unneeded strdup operation.

15 years agoImproved and more realistic Watercolor Texture and some minor settings changes in...
ivanlouette57 [Mon, 6 Apr 2009 20:35:05 +0000 (20:35 +0000)]
Improved and more realistic Watercolor Texture and some minor settings changes in other filters

15 years agopo/fr.po: Small corrections.
pjrm [Mon, 6 Apr 2009 09:10:35 +0000 (09:10 +0000)]
po/fr.po: Small corrections.

15 years agoFix for bug #338521 - align node buttons did not match 0.46 ordering or names. IDs...
speare [Mon, 6 Apr 2009 03:19:29 +0000 (03:19 +0000)]
Fix for bug #338521 - align node buttons did not match 0.46 ordering or names. IDs got swapped.

15 years agofunctional noop: xml/repr-io.cpp: Simplify a calculation.
pjrm [Sun, 5 Apr 2009 22:54:04 +0000 (22:54 +0000)]
functional noop: xml/repr-io.cpp: Simplify a calculation.

15 years agonoop: whitespace (and localize one var)
pjrm [Sun, 5 Apr 2009 22:39:37 +0000 (22:39 +0000)]
noop: whitespace (and localize one var)

15 years agofunctional noop: extension/system.cpp: g_strdup handles NULL fine, so don't bother...
pjrm [Sun, 5 Apr 2009 22:36:39 +0000 (22:36 +0000)]
functional noop: extension/system.cpp: g_strdup handles NULL fine, so don't bother checking with an extra function call.

15 years agoSome Textures and Materials polishing again
ivanlouette57 [Sun, 5 Apr 2009 21:29:25 +0000 (21:29 +0000)]
Some Textures and Materials polishing again

15 years agoReverts "fix" of offset in the displacement map code (and adds a comment to prevent...
jaspervdg [Sun, 5 Apr 2009 19:46:56 +0000 (19:46 +0000)]
Reverts "fix" of offset in the displacement map code (and adds a comment to prevent another misunderstanding).

15 years agoFixes some wrong uses of CLAMP_D_TO_U8 in filtering code (mostly based on my misunder...
jaspervdg [Sun, 5 Apr 2009 19:45:12 +0000 (19:45 +0000)]
Fixes some wrong uses of CLAMP_D_TO_U8 in filtering code (mostly based on my misunderstanding of this clamp function that actually does round+clamp). Plus some extra comments to warn of this behaviour.

15 years agoFixed offset in interpolation in nr-filter-displacement-map
kiirala [Sun, 5 Apr 2009 15:49:17 +0000 (15:49 +0000)]
Fixed offset in interpolation in nr-filter-displacement-map

15 years agoFix a divide-by-zero problem apparently introduced in r21012.
pjrm [Sun, 5 Apr 2009 11:56:55 +0000 (11:56 +0000)]
Fix a divide-by-zero problem apparently introduced in r21012.

15 years agoTranslation fixes in the swatches menu (en_GB)
JazzyNico [Sun, 5 Apr 2009 11:48:07 +0000 (11:48 +0000)]
Translation fixes in the swatches menu (en_GB)

15 years agoMore options for Calendar extension
aurium [Sat, 4 Apr 2009 15:38:23 +0000 (15:38 +0000)]
More options for Calendar extension

15 years agoSome extra comments.
jaspervdg [Sat, 4 Apr 2009 13:26:17 +0000 (13:26 +0000)]
Some extra comments.

15 years agoMinor French translation update.
JazzyNico [Sat, 4 Apr 2009 11:32:20 +0000 (11:32 +0000)]
Minor French translation update.

15 years agoAdded attributes to test
joncruz [Sat, 4 Apr 2009 08:32:27 +0000 (08:32 +0000)]
Added attributes to test

15 years agoUpdating tests to more recently added attributes.
joncruz [Sat, 4 Apr 2009 08:16:51 +0000 (08:16 +0000)]
Updating tests to more recently added attributes.

15 years agonoop: comment spelling
pjrm [Sat, 4 Apr 2009 02:32:05 +0000 (02:32 +0000)]
noop: comment spelling

15 years agoadd support for 6 colors, for use in ROBO-Master
alvinpenner [Fri, 3 Apr 2009 23:59:36 +0000 (23:59 +0000)]
add support for 6 colors, for use in ROBO-Master

15 years agoAnd now gradients should be (almost) perfect... The gradient vector is set up to...
jaspervdg [Fri, 3 Apr 2009 15:16:18 +0000 (15:16 +0000)]
And now gradients should be (almost) perfect... The gradient vector is set up to be a good approximation to the "true" gradient and it is used consistently throughout (I hope).
Also some other, minor, tweaks and a small bugfix.

15 years agoio/crystalegg.xml: Fix a couple of textual errors.
pjrm [Fri, 3 Apr 2009 11:14:04 +0000 (11:14 +0000)]
io/crystalegg.xml: Fix a couple of textual errors.

15 years agoFix middle-mouse-button-zooming in node-context with snap-delay enabled
dvlierop2 [Fri, 3 Apr 2009 09:44:31 +0000 (09:44 +0000)]
Fix middle-mouse-button-zooming in node-context with snap-delay enabled

15 years agoAdd XDG locations for icons
joncruz [Fri, 3 Apr 2009 08:23:20 +0000 (08:23 +0000)]
Add XDG locations for icons