Alexis Deveria
037c641b11
Updated jGraduate and made radialGradients work as expected, fixing issue 298
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1452 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-10 18:17:48 +00:00
Alexis Deveria
57da0c02f3
Added fade-in SMIL animation when creating most elements in SMIL-enabled browsers
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1451 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-10 15:07:28 +00:00
Jeff Schiller
5c02c98a3f
Send zoom modifications to extensions, patch by JL2008
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1450 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-09 16:10:23 +00:00
Alexis Deveria
cdcb2e76cb
Moved opacity tool to bottom to allow multi-element opacity changes, changed styling of bottom tools
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1449 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-08 15:58:47 +00:00
Jacques Distler
f8be6ee1a5
Small whitespace nicety
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1448 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-07 00:25:38 +00:00
Jacques Distler
7b5b7c4fdf
Noncy bugs fixed.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1447 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-06 05:04:15 +00:00
Alexis Deveria
fde7386d75
Added 'add sub-path' button to pathedit context panel
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1443 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 19:26:09 +00:00
Alexis Deveria
66457b70bf
Added hello world extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1442 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 15:30:38 +00:00
Jeff Schiller
1899a59a7f
Correct tooltip in the foreignObject extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1441 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 07:23:11 +00:00
Jacques Distler
5f6830745b
SVG-Edit-generated IDs can now sport a nonce (to uniquify them). The value of the nonce is recorded as an se:nonce attribute on the root <svg> element.
...
The default behaviour is as before. But, if you call svgCanvas.randomizeIds() or if setSvgString() detects an se:nonce attribute on the root <svg> element, this will trigger the new behaviour (in the latter case, using the existing nonce).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1436 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-27 22:55:53 +00:00
Jacques Distler
cf4e097316
Fix issue 503.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1435 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-27 22:46:20 +00:00
Jeff Schiller
b849e29e67
Check in new version of logo
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1434 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-27 04:36:04 +00:00
Jeff Schiller
7b99425c8e
Add an id input field in the context panel. Users can see and change the ID of elements now
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1433 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 23:56:36 +00:00
Alexis Deveria
a52cc55ec2
Fixed issue 502, removed unnecessary old dupe extensions that I keep accidentally editing first only to get really frustrated as my changes don't appear
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1432 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 20:31:33 +00:00
Alexis Deveria
89ed9b3985
Fixed bug on deleting first node of open path and made imported closed paths have correct end segment
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1431 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 19:44:41 +00:00
Alexis Deveria
21ba2823ce
PathActions overhaul, fixes issue 435 and issue 443
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1430 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 18:18:21 +00:00
Jacques Distler
706b8e3ec8
Expand Whitelist
...
Add some things, that we need, to the whitelist.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1429 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-25 13:59:54 +00:00
Jeff Schiller
d4c93087fc
Handle viewboxes with non-zero left,top. Minor fix for bboxes of <use>, <foreignObject>
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1427 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 02:58:19 +00:00
Jeff Schiller
6039875f5a
Now remap xlink:href attributes when importing <use>, <filter>, <pattern>, <textPath> and gradients.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1426 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 02:22:08 +00:00
Jeff Schiller
6e15924461
Reidentify all elements imported into the drawing. Add tests for it.
...
Still to do: Remap all xlink:href attributes, filter attribute, possibly others.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1425 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-22 00:56:19 +00:00
Jeff Schiller
24aaa973d7
Add first test for importing SVG into an existing drawing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1424 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 18:28:10 +00:00
Jeff Schiller
fc82f2965b
More work on properly sizing imported SVG.
...
Still ignores preserveAspectRatio, percentages, units on import <svg>.
Also ignores zoom level of SVG-edit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1423 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 16:36:50 +00:00
Jeff Schiller
5b0f6e480c
Corrected bbox problem for <metadata> elements.
...
Imported SVG now inserted into a new <g> element instead of child <svg> element.
Sizing of imported SVG will still be wrong.
Added three example clipart images.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1422 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 03:27:10 +00:00
Jeff Schiller
cc20d81633
Fix breakage two revisions ago. Add base raw import of SVG file into current layer (very broken at the moment).
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1421 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-21 01:12:59 +00:00
Jeff Schiller
37aab7dd8f
Added 'Import SVG' menu item and icon - only shows up in Firefox 3.6 and functions identically to Open at the moment
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1420 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-20 23:38:49 +00:00
Jeff Schiller
400eb1e1cc
Add x,y to <svg> whitelist. Remove @transform as this is not a valid value on a <svg>
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1419 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-20 23:04:13 +00:00
Jacques Distler
40c820c503
Another tweak to the close_path icons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1418 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-20 16:43:52 +00:00
Jacques Distler
7c55db60c0
Slightly nice placeholder content for foreignObject.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 23:18:47 +00:00
Jacques Distler
6f568b05b9
Close_path Icons, Mark II
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1416 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 23:05:19 +00:00
Jacques Distler
ae1ef30956
Make close_path icons work
...
The icons still need tweaking (in particular, I don't know why the arrowhead doesn't render), but at least we can see them now :-).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1415 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 22:40:04 +00:00
Jacques Distler
19369af9ff
Revert one change from Rev.1412.
...
It didn't seem to be necessary, and it might cause problems if foreignObject tool is not enabled.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1414 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 20:02:36 +00:00
Jeff Schiller
eab76a44c7
Once again, comment out the foreignObject extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1413 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 16:56:34 +00:00
Jeff Schiller
796cee60e1
A little more work on the closepath extension (still doesn't show SVG icons yet)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1412 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 16:55:08 +00:00
Jacques Distler
7236577141
Fix some small issues with foreignObject tool
...
Don't disable line tool after using foreignObject tool.
Don't set stroke to 'none' after using foreignObject editor.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1411 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 14:09:46 +00:00
Jacques Distler
98be8d5f81
Fix Issue 489: The href attribute on image elements was being created without a prefix.
...
setAttributeNS(nsuri, name, value) takes a qname, not a localname as its 2nd argument. (This is not to be confused with getAttributeNS(nsuri, name), which takes a localname as its 2nd argument.)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1410 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-18 17:41:07 +00:00
Alexis Deveria
78c9ae4ad7
Fixed issue 487: foreignObject extension breaks connect two objects tool and made sure both extensions work together
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1409 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-18 15:42:10 +00:00
Jeff Schiller
8e0bf800bf
Fix Issue 486: Remove uses without href to prevent Safari crash. Turns all unit tests green
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1408 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-18 01:34:29 +00:00
Jeff Schiller
60c2d8c007
Try out Google Chrome Frame install prompt script
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1407 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 23:43:31 +00:00
Alexis Deveria
2c889f640b
Dealt with remaining bug in issue 470: Support loading files with unit-based width/height
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1406 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 21:20:11 +00:00
Alexis Deveria
a3f81f06f2
Fixed bug in foreignobject plugin when creating new foreignObject element
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1405 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 20:08:53 +00:00
Jeff Schiller
02425de805
Make xmlns:foo test go green in Opera
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1404 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 18:15:53 +00:00
Jeff Schiller
f222ea9f98
Make math test green in Opera and WebKit
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1403 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 17:45:51 +00:00
Alexis Deveria
f2ab17dbd0
Fixed issue 481 and other CSS bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1402 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 16:49:13 +00:00
Jeff Schiller
e44f7d4bb1
Add back in XML prolog for the default save handler
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1401 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 16:41:29 +00:00
Jeff Schiller
469868d731
Fix XML escaping problem in attributes, add unit test
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1400 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 15:51:57 +00:00
Jeff Schiller
19d9998743
Remove experimental drop-shadow for now as it slowed down the editor, especially at higher zoom levels (might look into CSS3 box-shadow one day)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1399 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 15:12:08 +00:00
Jeff Schiller
8a516e109c
Selecting a foreignObject does not change the stroke/fill (patch by Jacques Distler)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1398 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 14:37:13 +00:00
Jeff Schiller
8bbd53de2a
Comment back out the foreignObject extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1397 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 06:55:05 +00:00
Jeff Schiller
d78843beb0
Allow custom namespace prefixes as long as they map to one of our accepted namespace URIs (path by Jacques Distler)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1396 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 06:44:03 +00:00
Alexis Deveria
57125bc237
Made extension improvements to svg-editor.js and added foreignObject plugin based on patch by Jaques Distler (disabled by default)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1395 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 21:07:13 +00:00