Commit Graph

1100 Commits (e4d8d5e406b99420afd0f099010776b8d58d01a9)

Author SHA1 Message Date
Alexis Deveria 919457b995 Fixed bug where text could not be re-edited after creation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1540 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-22 15:58:31 +00:00
Alexis Deveria 1f00603359 Hopefully prevent PNG export popup by opening a placeholder window first
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1539 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-22 15:22:01 +00:00
Alexis Deveria d0ec5bd9d0 Fixed bug where opera test was left in canvg, breaking PNG export.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1538 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-22 13:25:40 +00:00
Alexis Deveria 7f2428557d Fixed bug where Cancel button didn't work on linearGradient tab
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1537 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 17:01:08 +00:00
Jeff Schiller 0b6fa02ca8 Add some missing tooltips to English translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1536 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 16:09:43 +00:00
Jeff Schiller bc70273eb2 Remove various 'Layer 1' titles which cause tooltips in inappropriate places
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1535 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 16:07:56 +00:00
Jeff Schiller ffc666c77f Move tooltip for rect width/height to the label instead of just input control. Update all translations.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1534 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 16:05:32 +00:00
Jeff Schiller 8c13cceea9 Move blur tooltip to the div so that icon gets a tooltip, also add to locale script for English
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1533 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 15:51:10 +00:00
Alexis Deveria 34fab80fbc Fixed minor CSS bug, changed status to Beta
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1532 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 15:39:38 +00:00
Alexis Deveria ff7af498a3 Made lines follow 45 degree angles when holding shift, made selection box fit better on zoom, updated canvg
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1531 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-20 20:29:30 +00:00
Alexis Deveria afb7ef00bb Made some minor code optimization, added more icon labels (blur by Christian Tzurcanu)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1530 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-20 15:53:19 +00:00
Alexis Deveria 2103595301 Converted more text labels to icons. Also made input boxes lose focus on mousedown in workarea
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1529 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-20 13:21:51 +00:00
Alexis Deveria 91b033a470 Fixed issue 135: Missing the ability to align a single object (relative to page). Also started converting labels to icons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1526 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-16 19:16:44 +00:00
Alexis Deveria 75c5d09bd5 Removed weird character that broke Chrome
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1525 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-15 16:05:34 +00:00
Alexis Deveria 8700f48695 Possibly fixed issue 523 by adding paramurl parameter
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1524 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-15 15:50:55 +00:00
Alexis Deveria fee4405d36 Mostly fixed issue 70 (export as PNG option) by using Gabe Lerner's canvg library
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1521 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-14 17:30:25 +00:00
Alexis Deveria ce14aba200 Fixed bug from last fix on selecting text on transformed elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1520 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-13 15:52:00 +00:00
Alexis Deveria d99a609d98 Fixed more text-related bugs, added double and triple click actions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1519 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-13 15:28:52 +00:00
Alexis Deveria bc7510acfb More minor improvents to text edit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1518 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-12 20:28:39 +00:00
Alexis Deveria 7ac3d0456b Made more improvents to textedit mode, now works on transformed elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1517 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-12 19:11:35 +00:00
Alexis Deveria 010d395590 Added textedit mode to support text editing. Still in progress, only supports text without transforms
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1516 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-12 15:59:46 +00:00
Alexis Deveria a9219e46a8 Fixed issue 528. Also made undo/redo work on image href change (was apparently broken)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1514 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-09 16:01:09 +00:00
Alexis Deveria 99ba30e675 Fixed issue 533
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1513 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-09 14:18:46 +00:00
Alexis Deveria 75e42d2407 Fixed issue 531 by preventing attempt to transform a metadata element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1512 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-09 12:37:17 +00:00
Alexis Deveria 8841ec47db Fixed issues 529 and 530, started some work on better <a> element support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1511 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-08 13:34:18 +00:00
Alexis Deveria d2bbd0b127 Fixed misc bugs, made root only include namespace declarations when necessary
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1510 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-07 18:18:28 +00:00
Alexis Deveria 30e8bc486c Fixed wireframe mode for blurry elements, added partial undo functionality
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1509 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 20:16:07 +00:00
Alexis Deveria 66c5cb4866 Added basic support for gaussianBlur effect
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1508 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 18:40:10 +00:00
Jacques Distler 058f87e615 Preserve height and width, when re-editing an existing SVG document.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1507 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 18:36:24 +00:00
Jeff Schiller d82910afcd Prevent Layer 1 tooltips on cool new stroke property icons :)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1506 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 15:57:02 +00:00
Alexis Deveria 6f50b1fdc4 Converted linejoin options to icons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1505 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 15:53:21 +00:00
Alexis Deveria 9b04d4689e Applied patch by aobjects, fixes issue 512
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1504 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-06 13:12:54 +00:00
Alexis Deveria db3d8f0447 Started conversion of stroke attribute select list to icon list
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1503 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-05 19:53:14 +00:00
Jeff Schiller 8fac8e144b Fix Issue 522: Layer panel should scroll. Also add 'Dash' label to stroke-dasharray pull-down
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1502 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-05 05:46:29 +00:00
Jeff Schiller e68320bca3 Correct Narendra's name in copyright
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1501 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-02 12:47:00 +00:00
Jacques Distler b4d10c41c3 Fix a noncy bug.
Fix a bug where the fill panel would not appear.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1500 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-02 05:09:32 +00:00
Alexis Deveria 6f0ae62430 Fixed bug where colors couldn't be selected with stroke tools open
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1499 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 20:24:54 +00:00
Alexis Deveria 81d7c9f631 Added support for stroke-linecap
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1498 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 20:20:24 +00:00
Alexis Deveria 753270d730 Reduced repetitive styling code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1497 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 20:01:20 +00:00
Alexis Deveria e445baeadd Added stroke-linejoin support together with experimental UI for stroke styles
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1496 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 19:02:36 +00:00
Alexis Deveria 3bafd77eea Fixed issue 519 by updating hotkeys script to jeresig's version
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1495 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 17:38:23 +00:00
Alexis Deveria 363b456431 Fixed issue 360, allows panning with middle mouse button or left mouse button while holding spacebar
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1494 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 16:00:50 +00:00
Jeff Schiller edae9befd9 Correct remapping of shorthand curve commands (q,Q,s,S)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1493 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 04:56:51 +00:00
Jeff Schiller 942ccd469d Fix part of Issue 518: Translates now handled for nested uses in groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1492 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 04:55:10 +00:00
Alexis Deveria 4a79a4b1da Made SVG icons no longer require a viewBox to display properly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1489 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-30 15:28:57 +00:00
Alexis Deveria 9d08f8c0a7 Fixed three bugs mentioned in issue 507
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1488 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-29 19:34:22 +00:00
Alexis Deveria 104d4370a1 Made import of gradients on stroke work, fixed issue 516
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1487 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-29 18:06:51 +00:00
Jeff Schiller effc4200e9 Issue 115: First attempt at an eye-dropper extension/tool. Also add color-interpolation-filters attribute to whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1486 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-29 03:22:42 +00:00
Pavol Rusnak 590398a160 fix permission and line endings of jquery-ui-1.8.custom.min.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1479 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-28 13:41:01 +00:00
Alexis Deveria cb5b6e2d2d Largely fixed issue 469 by converting gradients to use objectBoundingBox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1476 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-26 20:30:01 +00:00
Alexis Deveria cbd34c3cfb Added undo-history warning when opening file using File API, fixing rest of issue 459
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1475 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-26 18:55:49 +00:00
Alexis Deveria 508c72e5a7 Fixed major part of issue 459 by providing warning onbeforeunload when appropriate
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1473 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-26 17:51:41 +00:00
Jacques Distler 687f532acb Clean up some commented-out stuff.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1472 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-25 13:43:45 +00:00
Alexis Deveria 5c847f6493 Fixed/Integrated support for open/closing subpaths, fixed hidden flyout arrows on smaller icons in Opera, added support for loading extensions in config, uplifted to jQuery 1.4.2 and jQuery UI 1.8
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1470 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-24 20:13:13 +00:00
Jacques Distler 20567c2998 Connector Extension Should Use Defaults
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1469 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-23 01:27:20 +00:00
Alexis Deveria 240ab30362 Reset default values too (oops again)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1468 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-18 14:37:09 +00:00
Alexis Deveria 2a25dbac8f Removed setConfig stuff added for testing (oops)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1467 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-18 14:34:29 +00:00
Alexis Deveria 2ba315bc96 More internal re-arranging and support for new config options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1464 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-16 19:28:57 +00:00
Alexis Deveria e52ef2aa74 Fixed preference loading in Webkit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1461 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-15 14:12:45 +00:00
Alexis Deveria 9a15e97c3a Added jQuery BBQ file missing in previous checkin
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1460 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 20:59:43 +00:00
Alexis Deveria 2b4270163e Added support for loading config data from URL, prevented creation of unneeded global variables
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1459 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 20:43:33 +00:00
Jacques Distler 3a9f38f699 Bring extension up-to-date with new API.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1458 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 16:42:15 +00:00
Jacques Distler b3e6b1a538 Fix a Firefox bug, and make randomizeIDs() work with the new API (no global svgCanvas object).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1457 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 09:41:50 +00:00
Alexis Deveria 85a7f57e78 Changed basic structure for improved integration and customization, introduces global svgEditor object
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1456 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-11 21:07:13 +00:00
Alexis Deveria 750e6456b3 Improved path node deleting behaviour, added functions to get svgCanvas vars: getContentElem, getRootElem and getSelectedElems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1455 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-11 15:27:18 +00:00
Alexis Deveria 38a244bcc6 Fixed bug where attributes were being removed from gradient element on serialization in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1454 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-10 19:03:05 +00:00
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 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