Code

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

15 years agoFixed some bad math in pixblock-transform
kiirala [Sat, 28 Mar 2009 12:36:43 +0000 (12:36 +0000)]
Fixed some bad math in pixblock-transform

15 years agoMade functions in nr-filter-utils inlineable
kiirala [Sat, 28 Mar 2009 12:01:17 +0000 (12:01 +0000)]
Made functions in nr-filter-utils inlineable

15 years agoFixed some bad math in pixblock-scaler. Seems to fix shifted blurs
kiirala [Sat, 28 Mar 2009 11:35:16 +0000 (11:35 +0000)]
Fixed some bad math in pixblock-scaler. Seems to fix shifted blurs

15 years agowe cannot rely on LPE attributes being properly parsed by the time we read d=; this...
buliabyak [Sat, 28 Mar 2009 03:04:21 +0000 (03:04 +0000)]
we cannot rely on LPE attributes being properly parsed by the time we read d=; this fixes the undo after a LPE is set or pasted and seems to have no ill effect otherwise (report to me if you find anything suspicious)

15 years agoImproved translatable message
prokoudine [Sat, 28 Mar 2009 02:38:11 +0000 (02:38 +0000)]
Improved translatable message

15 years agoAnother extensions added to the list of translatables, all three ones now installable...
prokoudine [Sat, 28 Mar 2009 01:46:22 +0000 (01:46 +0000)]
Another extensions added to the list of translatables, all three ones now installable and typoless :)

15 years agoFix warning with newer GCC versions
scislac [Fri, 27 Mar 2009 15:29:56 +0000 (15:29 +0000)]
Fix warning with newer GCC versions

15 years agoadd lpe names to path description
buliabyak [Fri, 27 Mar 2009 13:51:48 +0000 (13:51 +0000)]
add lpe names to path description

15 years agoPolishing and compacting Metallized paint and renamed Comics liquid to Comics cream
ivanlouette57 [Fri, 27 Mar 2009 11:05:46 +0000 (11:05 +0000)]
Polishing and compacting Metallized paint and renamed Comics liquid to Comics cream

15 years agounhide hatches lpe (tests commited to test-suite).
jfbarraud [Fri, 27 Mar 2009 09:01:00 +0000 (09:01 +0000)]
unhide hatches lpe (tests commited to test-suite).

15 years agobug fix: close open paths on input.
jfbarraud [Fri, 27 Mar 2009 08:49:13 +0000 (08:49 +0000)]
bug fix: close open paths on input.

15 years agoImproved Liquid Texture plus a Flow inside Texture, a Comics liquid and a Comics...
ivanlouette57 [Fri, 27 Mar 2009 00:09:59 +0000 (00:09 +0000)]
Improved Liquid Texture plus a Flow inside Texture, a Comics liquid and a Comics flow

15 years agofirst version of web-set-att extension
aurium [Thu, 26 Mar 2009 23:57:32 +0000 (23:57 +0000)]
first version of web-set-att extension

15 years agofor the stretched pattern-on-path, length makes no difference, but it saves at least...
buliabyak [Thu, 26 Mar 2009 23:13:27 +0000 (23:13 +0000)]
for the stretched pattern-on-path, length makes no difference, but it saves at least the ellipse from going bananas when you rotate the path with lpe (a stopgap solution, until we resolve the transform issue)

15 years agofix copy/paste of color from gradient stops
buliabyak [Thu, 26 Mar 2009 23:09:42 +0000 (23:09 +0000)]
fix copy/paste of color from gradient stops

15 years agonew, more civilized image from bug 295361
buliabyak [Thu, 26 Mar 2009 23:07:41 +0000 (23:07 +0000)]
new, more civilized image from bug 295361

15 years agodo not transform, display, reverse, node-edit, or remove LPE if LPE stack is disabled...
buliabyak [Thu, 26 Mar 2009 23:02:22 +0000 (23:02 +0000)]
do not transform, display, reverse, node-edit, or remove LPE if LPE stack is disabled by an invalid or unsupported effect in it

15 years agosp_lpe_item_has_path_effect now returns false if one of the effects in the stack...
buliabyak [Thu, 26 Mar 2009 22:58:37 +0000 (22:58 +0000)]
sp_lpe_item_has_path_effect now returns false if one of the effects in the stack is invalid or unsupported, in which case LPE stack is disabled

15 years agoPolishing some Bevels and Ridges
ivanlouette57 [Thu, 26 Mar 2009 22:27:30 +0000 (22:27 +0000)]
Polishing some Bevels and Ridges

15 years agothe little InkWeb is now usable
aurium [Thu, 26 Mar 2009 22:22:45 +0000 (22:22 +0000)]
the little InkWeb is now usable

15 years agothis terminal submenu really saves us no space
buliabyak [Thu, 26 Mar 2009 22:21:21 +0000 (22:21 +0000)]
this terminal submenu really saves us no space

15 years agoRemoved Plied tartan, improved Wavy tartan, added a Tiger fur Texture, fixed 3D marbl...
ivanlouette57 [Thu, 26 Mar 2009 18:22:54 +0000 (18:22 +0000)]
Removed Plied tartan, improved Wavy tartan, added a Tiger fur Texture, fixed 3D marble clipping

15 years agofixed some bugs (bad render of thick/thin parts + reversed bending + occasional crash...
jfbarraud [Thu, 26 Mar 2009 06:37:02 +0000 (06:37 +0000)]
fixed some bugs (bad render of thick/thin parts + reversed bending + occasional crash (depends on 2geom update)...)

15 years agoInkWeb is a fetus, but is growing...
aurium [Wed, 25 Mar 2009 23:41:59 +0000 (23:41 +0000)]
InkWeb is a fetus, but is growing...

15 years agoContinued cleaning unuseful primitives and solved zoom problem with some Bevels
ivanlouette57 [Wed, 25 Mar 2009 23:35:08 +0000 (23:35 +0000)]
Continued cleaning unuseful primitives and solved zoom problem with some Bevels

15 years agoRemoving unuseful primitives to make some filters more compact
ivanlouette57 [Wed, 25 Mar 2009 19:29:50 +0000 (19:29 +0000)]
Removing unuseful primitives to make some filters more compact

15 years agoinitial version of inkweb.js for web-transmit-att effect, and others.
aurium [Wed, 25 Mar 2009 13:48:39 +0000 (13:48 +0000)]
initial version of inkweb.js for web-transmit-att effect, and others.

15 years agocorrect labels
buliabyak [Tue, 24 Mar 2009 18:34:46 +0000 (18:34 +0000)]
correct labels

15 years agoconsistent capitalization
buliabyak [Tue, 24 Mar 2009 18:34:22 +0000 (18:34 +0000)]
consistent capitalization

15 years agoCleaning up PIXMAP_DIR usage.
joncruz [Tue, 24 Mar 2009 07:33:07 +0000 (07:33 +0000)]
Cleaning up PIXMAP_DIR usage.

15 years agoNew extension were added
prokoudine [Tue, 24 Mar 2009 04:46:06 +0000 (04:46 +0000)]
New extension were added

15 years agoinitial version of web-transmit-att effect, to add web useful fetures in svg. Not...
aurium [Tue, 24 Mar 2009 00:23:29 +0000 (00:23 +0000)]
initial version of web-transmit-att effect, to add web useful fetures in svg. Not really Working yet.

15 years agomissed corretions on the interp-att-g's first version
aurium [Mon, 23 Mar 2009 22:42:50 +0000 (22:42 +0000)]
missed corretions on the interp-att-g's first version

15 years agoadding extension: Interpolate Attribute in a Group
aurium [Mon, 23 Mar 2009 21:33:17 +0000 (21:33 +0000)]
adding extension: Interpolate Attribute in a Group

15 years agoblurry zoom magnifying glass icon in left side toolbox fixed by changing zoom-when...
speare [Mon, 23 Mar 2009 20:56:28 +0000 (20:56 +0000)]
blurry zoom magnifying glass icon in left side toolbox fixed by changing zoom-when-resizing-window mini-button icon

15 years agoTrack stroke and fill of selected object and flag style palette entries in use. Fixes...
joncruz [Mon, 23 Mar 2009 08:06:56 +0000 (08:06 +0000)]
Track stroke and fill of selected object and flag style palette entries in use. Fixes wishlist bug #172179.

15 years agoSwitch to widget state for painting
joncruz [Mon, 23 Mar 2009 03:16:48 +0000 (03:16 +0000)]
Switch to widget state for painting

15 years agoAdditional state indicators.
joncruz [Mon, 23 Mar 2009 03:09:37 +0000 (03:09 +0000)]
Additional state indicators.