Code

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

15 years agoFix ink toggle buttons to have non-stretching icons. Fixes blurring.
joncruz [Fri, 3 Apr 2009 06:18:39 +0000 (06:18 +0000)]
Fix ink toggle buttons to have non-stretching icons. Fixes blurring.

15 years agoWeekly update of Inkscape translation template file
prokoudine [Fri, 3 Apr 2009 02:48:51 +0000 (02:48 +0000)]
Weekly update of Inkscape translation template file

15 years agoFix inverted node alignment actions
tweenk [Fri, 3 Apr 2009 02:26:07 +0000 (02:26 +0000)]
Fix inverted node alignment actions

15 years agoSome Morphology Effects polishing again
ivanlouette57 [Thu, 2 Apr 2009 21:16:10 +0000 (21:16 +0000)]
Some Morphology Effects polishing again

15 years ago- Don't display the snap-source-indicator when we're about to rotate using the select...
dvlierop2 [Thu, 2 Apr 2009 20:21:13 +0000 (20:21 +0000)]
- Don't display the snap-source-indicator when we're about to rotate using the selector tool (because it won't snap when rotating!)
- Use a smaller snap-source-indicator, which is visually more appealing

15 years agoWhether we drag a guide's origin or rotate the guide around its origin is now indepen...
dvlierop2 [Thu, 2 Apr 2009 19:35:48 +0000 (19:35 +0000)]
Whether we drag a guide's origin or rotate the guide around its origin is now independent of zoom

15 years agoPolishing and compacting Some Blurs and Morphology Effects
ivanlouette57 [Thu, 2 Apr 2009 15:51:08 +0000 (15:51 +0000)]
Polishing and compacting Some Blurs and Morphology Effects

15 years agoDebug enhancement
joncruz [Thu, 2 Apr 2009 05:21:06 +0000 (05:21 +0000)]
Debug enhancement

15 years agoFix a minor regression caused by one of my previous commits: the snap-window was...
dvlierop2 [Wed, 1 Apr 2009 20:46:07 +0000 (20:46 +0000)]
Fix a minor regression caused by one of my previous commits: the snap-window was closed where it should have been opened

15 years agoDelete the delayed snap event, killing any pending timers, when the event-context...
dvlierop2 [Wed, 1 Apr 2009 19:47:30 +0000 (19:47 +0000)]
Delete the delayed snap event, killing any pending timers, when the event-context is being disposed off

15 years agoRemove some left-over debugging output that got accidentally committed
dvlierop2 [Wed, 1 Apr 2009 19:18:46 +0000 (19:18 +0000)]
Remove some left-over debugging output that got accidentally committed

15 years agoFix for gradient code I committed recently (which accidentally used unsigned ints...
jaspervdg [Wed, 1 Apr 2009 19:00:07 +0000 (19:00 +0000)]
Fix for gradient code I committed recently (which accidentally used unsigned ints where it should not).

15 years agoKorean and French translations update.
JazzyNico [Wed, 1 Apr 2009 18:07:43 +0000 (18:07 +0000)]
Korean and French translations update.
Added Jin-Hwan Jeong in the translators list.

15 years agoFix for helperfns_read_vector (which could go on trying to read numbers for ever...
jaspervdg [Tue, 31 Mar 2009 20:41:47 +0000 (20:41 +0000)]
Fix for helperfns_read_vector (which could go on trying to read numbers for ever) and some quality improvements to gradient rendering and feComponentTransfer handling.

15 years agoMore sensitive selection of snap target when snapping guides to objects with multiple...
dvlierop2 [Tue, 31 Mar 2009 20:41:19 +0000 (20:41 +0000)]
More sensitive selection of snap target when snapping guides to objects with multiple snap candidates (fixes bug 352247)

15 years agoSome minor snap-delay modifications
dvlierop2 [Tue, 31 Mar 2009 19:53:28 +0000 (19:53 +0000)]
Some minor snap-delay modifications

15 years agoFixed icon blurriness due to theme changing icon sizes
joncruz [Tue, 31 Mar 2009 08:52:55 +0000 (08:52 +0000)]
Fixed icon blurriness due to theme changing icon sizes

15 years ago * [INTL:*] update_po_files.sh
helix84 [Mon, 30 Mar 2009 23:55:57 +0000 (23:55 +0000)]
 * [INTL:*] update_po_files.sh

15 years agoFix bug #338838: Using double-click on a selected shape to switch to that shape's...
dvlierop2 [Mon, 30 Mar 2009 20:14:00 +0000 (20:14 +0000)]
Fix bug #338838: Using double-click on a selected shape to switch to that shape's tool would give a snap-window-already-closed warning

15 years agoMinor change to the snapping icons: snap to bbox and snap to path are now coloured...
dvlierop2 [Mon, 30 Mar 2009 19:52:26 +0000 (19:52 +0000)]
Minor change to the snapping icons: snap to bbox and snap to path are now coloured green

15 years agoetree CDATA support compatibilization in inkwebeffect.py
aurium [Mon, 30 Mar 2009 17:46:33 +0000 (17:46 +0000)]
etree CDATA support compatibilization in inkwebeffect.py

15 years agoFix icon cache code to properly render multiple sizes as needed.
joncruz [Mon, 30 Mar 2009 09:36:22 +0000 (09:36 +0000)]
Fix icon cache code to properly render multiple sizes as needed.

15 years agorestore the pattern from clipboard ability
buliabyak [Sun, 29 Mar 2009 22:23:35 +0000 (22:23 +0000)]
restore the pattern from clipboard ability

15 years ago- Move snap delay mechanism to the event context (used to be in SPCanvas)
dvlierop2 [Sun, 29 Mar 2009 19:12:03 +0000 (19:12 +0000)]
- Move snap delay mechanism to the event context (used to be in SPCanvas)
- Rename lots of variables and methods to make them easier to understand
- Add snapping to the connector tool

15 years agorevert part of 20988 to fix rendering of LPE on groups
buliabyak [Sun, 29 Mar 2009 18:18:24 +0000 (18:18 +0000)]
revert part of 20988 to fix rendering of LPE on groups

15 years agoSome quality improvements to feDisplacementMap handling (as well as extra boundary...
jaspervdg [Sun, 29 Mar 2009 17:06:47 +0000 (17:06 +0000)]
Some quality improvements to feDisplacementMap handling (as well as extra boundary checks where necessary).

15 years agofix simplify, combine, break for LPE paths
buliabyak [Sun, 29 Mar 2009 15:39:00 +0000 (15:39 +0000)]
fix simplify, combine, break for LPE paths

15 years agoMade Filter rendering quality 'Better' the default setting
kiirala [Sat, 28 Mar 2009 17:38:02 +0000 (17:38 +0000)]
Made Filter rendering quality 'Better' the default setting

15 years agoFixed redraw-area dependent result when using filters with low quality
kiirala [Sat, 28 Mar 2009 17:20:57 +0000 (17:20 +0000)]
Fixed redraw-area dependent result when using filters with low quality