Commit Graph

1346 Commits (c47cc7cd0e485f87146e0e8035914b35e88b3275)

Author SHA1 Message Date
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
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
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
Jeff Schiller 8753c552f8 Fix Issue 478: markers, filters and clip paths now survive the conversion to path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1394 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:54:41 +00:00
Jeff Schiller d6037a742e When serializing, use nodename (which includes namespace prefix). Patch by Jacques Distler
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1393 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:32:50 +00:00
Jeff Schiller c8d5ba7b7e Fix Issue 485: Make foreignObjects copyable (partial patch by Jacques Distler)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1392 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:21:16 +00:00
Jeff Schiller 92b50b4a75 Fix Issue 484: correct namespace handling for xml: attrs (patch by Jacques Distler)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1391 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-15 14:02:17 +00:00
Jeff Schiller 71e76c81b8 More fixes to namespace handling. Added <math> test case
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1390 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 14:50:04 +00:00
Jeff Schiller 88d61a3259 Fix Issue 482: Correct namespace prefix handling. Foreign content itself will declare the namespace, we don't need to do this in svgcontent
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1389 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 06:22:34 +00:00
Jeff Schiller c32284cfcb Fix typo in deepdive function from r1380
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1388 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 06:06:19 +00:00
Jeff Schiller 10fee21e86 Minor tweak to style
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1387 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-13 04:33:40 +00:00
Alexis Deveria 673b945318 Fixed bug where save_notice_done setting wasn't saved
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1386 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 20:56:53 +00:00
Alexis Deveria 6f50f5d55c Made default save behaviour alert the user on how to saveand when necessary inform of FF bug (on first time saved/bug encountered)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1385 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 20:29:59 +00:00
Alexis Deveria 3cff24713b Made default save behaviour open a page with link, preview, markup and warning when necessary
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1384 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 18:50:07 +00:00
Alexis Deveria b071bd91b5 Fixed bug on changing heights with percentages
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1382 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 14:56:54 +00:00
Alexis Deveria 13003a3de2 Fixed issue 446
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1381 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 14:23:55 +00:00
Jeff Schiller 8d4861d546 Fix rest of Issue 471: upon loading/setting the SVG, do a depth-first recalculateDimensions() on all nodes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1380 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 03:54:49 +00:00
Jeff Schiller 9915407382 Fix part of Issue 471: path deformation when x,y happened to be zero
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1379 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 03:14:38 +00:00
Jeff Schiller 09d6066291 Fix Issue 474: Broke tools by forgetting the svgroot id
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1378 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 22:19:13 +00:00
Alexis Deveria eb8b9ab5e6 Made 'good' locale array be populated based on svg-editor.html, made namespaces only be added on serialization when used
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1377 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 21:24:15 +00:00
Jeff Schiller 507e50767f Fix Issue 473: WebKit browsers fixed for navigation, caused by r1368
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1376 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 01:28:25 +00:00
Jeff Schiller 5ce59294d1 Spoke too soon, with canvas drop-shadow on, zooming in Opera 10.10 causes immense slow-down
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1375 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 21:12:43 +00:00
Jeff Schiller 140ab45f7d Fix Opera bug with canvas shadow, thanks to a tip from Erik Dahlstrom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1374 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 21:02:42 +00:00
Jeff Schiller ae214cfe0e Add a shadow to the canvas in Firefox (experimental)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1373 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 20:12:48 +00:00
Alexis Deveria 984d6263c9 Added support for unit width/height when set in document properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1372 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 19:29:05 +00:00
Alexis Deveria 9590cf67f5 Fixed issue 470: Support loading files with unit-based width/height
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1371 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 17:54:14 +00:00
Alexis Deveria b1463213e2 Changed logo to one designed by Vadim Makeev
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1370 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 16:37:23 +00:00
Jeff Schiller 35bcecc669 Remove now unnecessary math check in cleanupElement(). Move line-height property to the CSS where it belongs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1369 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 15:57:25 +00:00
Jeff Schiller 98fc062e47 Make foreignObject with foreign content movable, resizable, rotatable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1368 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 15:32:36 +00:00
Jeff Schiller 5628254649 Add MathML elements to whitelist and updates by Jacques Distler to handle foreignObject. Fix line-height in svgcanvas.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1367 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 04:41:11 +00:00
Jeff Schiller 3ee6a57b96 Start Issue 258: dirt-simple extension of a context button to close/open a path. Needs images. And paths that were closed and then opened need some debugging in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1366 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 21:46:18 +00:00
Alexis Deveria 9df43ee7ba Fixed undo/redo bug (I think)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1365 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 20:50:06 +00:00
Alexis Deveria 4b5011eb44 Largely added support for different units (issue 444)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1364 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 20:15:52 +00:00
Alexis Deveria fd49cb2c89 Replaced heavy uses of getAttribute with .attr([])
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1363 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 14:23:34 +00:00
Jeff Schiller 8805307592 Part of Issue 407: consistent styling of hover/pushed buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1362 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 06:44:12 +00:00
Alexis Deveria c032cfb370 Moved extensions to live within editor dir, fixed left toolbar visibility on dialog box
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1361 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 21:26:54 +00:00
Wormsxulla 8304c43d47 Add Japanese to the good languages. Thank you Dong! Correct name of Russian in Russian in AUTHORS.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1359 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 20:00:30 +00:00
Pavol Rusnak 5b895d3973 add Japanese translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1357 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 18:15:04 +00:00
Jeff Schiller bf7a7040a8 Experimenting with a gradient in the workarea
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1356 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 18:06:18 +00:00
Alexis Deveria b25f8b6d92 Added fix to jQuery.attr() function to make it work with SVG elements, started work on marker color changing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1355 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 16:39:14 +00:00
Jeff Schiller c5ae5436e2 Add a couple useless trailing slashes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1354 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 18:21:53 +00:00
Jeff Schiller 305c62e03e Correct more HTML5 validation errors
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1353 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 18:11:21 +00:00
Jeff Schiller d5ec300b6b Add foreignObject to whitelist. Fix some HTML5 validation errors
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1352 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 17:42:54 +00:00
Jeff Schiller cb790bc6a0 Remove commented out debug code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1349 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 00:38:59 +00:00
Jeff Schiller 1b2bb9c412 Much smoother freehand paths
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1348 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 00:35:32 +00:00
Alexis Deveria 6980e8b0de Made selection of middle arrow for lines convert them to polylines, made extension tools more easy to add, fixed opacity selection on selected connector
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1347 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-05 20:25:15 +00:00
Wormsxulla 7054866293 Fix the Layer panel handle in the Hindi translation to make it appear vertically.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1346 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-05 16:59:19 +00:00
Alexis Deveria a4f835a044 Made connectors be removed upon connected-element deletion. Made easier method for adding context panel options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1345 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-05 16:11:19 +00:00
Jeff Schiller 7e8f5a312b Add scripts to convert between our language json files and po format (Issue 416)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1344 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-05 15:40:31 +00:00
Wormsxulla 1021cceef8 Main menu items in zh-TW now display in Chinese. Also remove _show entries no longer needed. Thank you Mook!
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1343 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-05 07:36:05 +00:00
Alexis Deveria 74bac64ea5 Fixed connector bug in Webkit, fixed disabling of buttons when no-stroke is set
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1342 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-04 19:06:49 +00:00
Alexis Deveria 2229ecdd45 Improved arrow handling, fixed issue 463
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1341 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-04 17:10:03 +00:00
Wormsxulla e2b264ea64 Make the tooltip description for id="stroke_width" in lang.en.js match the HTML. (All languages files will need to translate the new string").
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1338 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-04 07:13:09 +00:00
Alexis Deveria e20d3dc39f Made connector lines start/end at bounding box edges, made arrow appear on end of line
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1336 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 18:42:00 +00:00
Jeff Schiller be0a5fa153 Fix setting stroke-width/style on single elements (broken in r1322)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1335 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 18:20:25 +00:00
Jeff Schiller 71088b30fe Fix Issue 341: Smooth freehand tool into a path (especially in Opera)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1334 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 14:50:48 +00:00
Alexis Deveria 98c707e53f Removed _show entries in language files (no longer needed)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1333 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 14:50:27 +00:00
Alexis Deveria 400809fff3 Fixed tooltip translations for main flyout buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1332 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 14:14:57 +00:00
Alexis Deveria 06dc4f55bc Fixed Webkit bug related to issue 460: Path segments should remember their curvature
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1331 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 13:41:54 +00:00
Jeff Schiller fac9f84435 Fix Issue 460: Path points remember curvature (Firefox and Opera)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1330 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 06:49:20 +00:00
Jeff Schiller 36f7da8ff1 Add symbol, pattern, tspan, textPath to whitelist. Also added some attributes missing in whitelist to other elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1329 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-02 23:45:52 +00:00
Alexis Deveria b4840e8f7f Fixed issue 456 by adding a svgCanvas.ready() function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1328 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-02 20:45:16 +00:00
Alexis Deveria fad1c4395d Fixed bug in Opera where flyout icon didn't show and fixed Issue 451: Switching languages is broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1327 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-02 19:24:17 +00:00
Alexis Deveria cf84f45d60 Rewrote connector extension to use SVG-Edit namespace attrs instead of ids/classes, removed extendWhitelist function, moved extensions to subfolder
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1326 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-02 18:42:43 +00:00
Jeff Schiller 2bb41c0c73 Fix Issue 384: Pick fill/stroke properties for groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1322 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-02 05:48:33 +00:00
Jeff Schiller 0e0f98a1de Fix Chinese Hong Kong filename
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1321 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-02 03:41:36 +00:00
Jeff Schiller 41366e8fd9 Add <marker> element and marker-end, marker-mid, marker-start attributes to whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1318 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-01 18:52:45 +00:00
Alexis Deveria bed10696d2 Split off the arrow part of the connector plugin to be its own arrows plugin (start on issue 308)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1317 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-01 18:40:57 +00:00
Alexis Deveria f415aee687 Made various minor improvements to connector plugin
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1316 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-01 16:48:39 +00:00
Alexis Deveria 19449cd149 Fixed keyboard shortcuts on flyout buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1315 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-01 14:41:34 +00:00
Wormsxulla b23c861650 Update for the right Chinese names of the language. Rename zh into zh-KH. Thanks to zenixls2.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1314 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-01 12:02:28 +00:00
Jeff Schiller 31ec4fec91 Fix Issue 412: Press 'A' to select all elements in the current layer
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1312 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-31 20:17:50 +00:00
Jeff Schiller 3e94e85e31 Fix Issue 457: Remove experimentation on the ?url= parameter accidentally checked in.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1311 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-31 19:55:19 +00:00
Jeff Schiller 8ba1526e9f Add mask element and attribute to whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1310 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-31 07:11:57 +00:00
Wormsxulla d0783f80bd Add zh-TW to the good languages. Update the first draft of the Chinese-TW translation by zenixls2.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1309 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-30 11:41:10 +00:00
Alexis Deveria 06d53a325b Made various fixes/changes, made new icon for connector tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1308 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 21:28:46 +00:00
Jeff Schiller 0074d7f7c0 Add support in whitelist and remapElements() for <a> elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1307 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 20:30:10 +00:00
Alexis Deveria eaf8401d98 Oops, fixed bug caused by last fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1306 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 18:50:40 +00:00
Alexis Deveria e12ea017ed Fixed bug that broke svg-edit in non-FF browsers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1305 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 18:48:08 +00:00
Alexis Deveria 0690ed7760 Added support for flyouts in plugins, made improvements to flyouts
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1304 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 18:27:26 +00:00
Jeff Schiller 81c304a68c Add whitelist support for clipPath, @clip-path and @clip-rule. Refactor code a tiny bit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1303 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 17:10:30 +00:00
Jeff Schiller 7c40486c39 Fix Issue 450: restore Created-By comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1299 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 14:11:04 +00:00
Jeff Schiller 6bd66dda1d Add metadata to whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1298 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 12:33:10 +00:00
Jeff Schiller 2b4025bb42 Fix Issue 448: Merge wormsxulla's patch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1297 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 12:18:13 +00:00
Jeff Schiller 64c7fa5f9f Fix Issue 65: Launch SVG-edit with ?url=foo/bar.svg
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1296 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 05:53:01 +00:00
Jeff Schiller be04bdc1c1 Fix Issue 62: can now set color to none right in the picker (uplift to jGraduate r71)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1295 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-29 05:39:57 +00:00
Jeff Schiller 77406f4d02 Fix path remapping for H,V commands
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1291 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-28 03:08:53 +00:00
Jeff Schiller dd41cd6cea Fix bug in conversion of horiz/vert path segments
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1290 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-28 02:55:11 +00:00
Jeff Schiller faae299e96 Add transform attribute to use element in whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1289 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-28 02:42:28 +00:00
Jeff Schiller b0d13610bb Fix Issue 445: turn booleans back into numbers for arc path commands
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1288 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-28 02:37:53 +00:00
Alexis Deveria 363eef5d57 Added keyboard shortcut option for extension buttons, made import of connectors work, fixed issue 442
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1286 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 21:03:43 +00:00
Jeff Schiller ee393cd933 Fix parsing error with url() format with quotes in it
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1285 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 19:35:13 +00:00
Jeff Schiller 3eb89914b6 Convert style to attributes, but check xlink:href target outside the attribute loop
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1284 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 16:42:35 +00:00
Jeff Schiller ec1ab246d1 Added style attribute to whitelist and parse into XML attributes in sanitizeSvg(). Add filter and feGaussianBlur elements to whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1283 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 16:37:59 +00:00
Jeff Schiller 488e377062 Allow style for <stop> elements in the whitelist. Allow gradients to refer to each other in the whitelist. Update removeUnusedGrads() to account for this.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1282 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 16:06:58 +00:00
Alexis Deveria 7890d47e06 Fixed issue 418 and issue 441
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1281 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 15:14:23 +00:00
Alexis Deveria 6d15ba7b1e Fixed Issue 408: Uplift to jQuery 1.4.1. Also fixed minor bugs caused by 1.4 related to custom dropdown menus
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1280 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-27 14:23:51 +00:00
Alexis Deveria d60fb28557 Made improvements to extension support as well as connector extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1279 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-26 21:28:52 +00:00
Wormsxulla 1dcb9aac42 Add the final version of the russian language file by Laurent Dufloux. Update the UI to correctly say "Russian" in russian.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1278 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-26 14:49:46 +00:00
Alexis Deveria 75781771be Started on Issue 310: Move to Plugin Architecture, as well as Issue 200: flowchart (just connector lines for now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1277 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-25 21:22:03 +00:00
Jeff Schiller df3b22470c Fix Issue 436: Only convert path d attribute for path elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1275 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-22 01:47:50 +00:00
Alexis Deveria d3e72d8e4e Fixed some open path bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1273 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 20:59:34 +00:00
Alexis Deveria b3a3a6af26 Added support for multiple segment lines on selection, mass segment type changes, and multi-selection on node cloning
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1272 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 20:12:49 +00:00
Alexis Deveria 3df4a5d616 Fixed issue 432
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1271 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 17:38:37 +00:00
Jeff Schiller 86ac38547f Add unit test for importing use. Add missing id attribute on use in whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1270 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 14:12:08 +00:00
Jeff Schiller c8e0a94d50 More JS tightening (collapse multiple variable declarations into one statement)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1269 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 03:17:04 +00:00
Jeff Schiller 47a0faf93b Fix Issue 402: Freehand tools maxy not being reset
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1265 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 02:48:02 +00:00
Jeff Schiller 05941d2a13 Fix Issue 433: If fill is not present, assume 'black' as per SVG spec
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1264 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 02:02:04 +00:00
Jeff Schiller e2f7aa9d96 Fix Issue 434: multiselecting one element now sets the current properties. Also, very minor refactoring of code to tighten things up
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1263 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-21 01:20:17 +00:00
Jeff Schiller 2518ec07d7 Fix Issue 424: scrub xlink:href to ensure it is a local reference only
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1262 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 22:58:38 +00:00
Jeff Schiller 0c0a935a57 Make copy/clone work on <use> elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1255 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 22:36:59 +00:00
Jeff Schiller c04d148dcb Initial support for <use> element (can only see, select, move, resize or rotate them). Also collapse a few var declarations and remove obsolete code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1254 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 22:15:54 +00:00
Alexis Deveria 36caeb552a Fixed and efficiencized undo/redo on path editing functions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1253 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 21:32:17 +00:00
Alexis Deveria 99edca083c Made more improvents to multi-path-node editing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1252 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 20:34:03 +00:00
Alexis Deveria 95fd38610f Probably fixed issue Issue 421: Canvas background now black
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1251 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 17:29:41 +00:00
Alexis Deveria 828dfa2f9f Fixed multiple path node selection/move on zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1250 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 17:26:12 +00:00
Jeff Schiller 220bd72b7a Remove logging, add empty console.dir for opera, stray comma in whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1248 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 16:14:32 +00:00
Jeff Schiller 37b9a3b426 Fix Issue 430: Update layers panel when opened SVG file does not have a viewBox attribute
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1247 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 15:24:50 +00:00
Wormsxulla ddeace083c Add Arabic to the list of good languages. Update the AUTHORS list for Arabic.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1246 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-20 06:50:23 +00:00
Alexis Deveria eb1aa6ffe9 Added initial support for multiple path node selection (issue 277)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1245 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-19 21:14:53 +00:00
Alexis Deveria 783ad05a45 Improved pathedit efficiency, fixed clone node when selecting last node in open path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1244 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-19 15:08:30 +00:00
Alexis Deveria a6edbc58bb Fixed issue 420
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1243 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-19 14:03:10 +00:00
Alexis Deveria 72c6cb59e8 Fixed bug where certain positioned elements could not be de-selected
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1242 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-18 21:18:46 +00:00
Alexis Deveria 0f46184757 Fixed background colors/URLs, element page alignment and clear option
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1241 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-18 20:30:59 +00:00
Alexis Deveria 29e2acc359 Finally fixed last zoom related bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1240 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-18 19:14:08 +00:00
Alexis Deveria 0927d04319 Fixed more zoom-related bugs (not all)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1238 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-18 18:03:09 +00:00
Jeff Schiller d1e32d99d7 Expose SvgCanvas.matrixMultiply() and add starting unit-test framework (QUnit) and first test.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1236 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-18 06:40:32 +00:00
Wormsxulla c6e1bf0584 Update the first draft of the Russian translation by Laurent Dufloux.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1234 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-17 21:33:06 +00:00
Jeff Schiller 9a1f23a21b Fix Issue 403: Moving text elements changes the x,y values. Works for simple cases, but x,y values are not intuitive for stretched text elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1232 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-16 22:34:15 +00:00
Alexis Deveria e01b193fe3 Partial fix for zooming options, fixed open image
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1231 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 21:33:55 +00:00
Jeff Schiller 907998343d Fix Issue 415: main menu highlight extends to border of menu (patch from wnauta)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1230 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 21:13:11 +00:00
Jeff Schiller 9e0c8fff0e Updated python script to fix lang files, ran all lang files through python script
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1229 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 19:11:22 +00:00
Wormsxulla ed04c15140 Update the Hindi translation with the first draft by Tavish Naruka.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1227 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 17:42:24 +00:00
Alexis Deveria 292fa28398 Made scrolling area smaller, set color for outside image area
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1226 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 15:59:15 +00:00
Alexis Deveria 8c3488ab31 Largely fixed issue 185: Allow elements and selections to be visible outside the image canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1225 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 15:04:57 +00:00
Wormsxulla 03a335646f Update the Frisian language file by Wander Nauta (hopefully with the proper encoding!)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1224 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 11:48:00 +00:00
Wormsxulla c4e44a13a8 Make the lang.fy.js have the proper UTF-8 format.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1223 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 10:13:39 +00:00
Wormsxulla afa5e7d58c Add Russian language to the good languages. Possibly display "Hindi" in Hindi in svg-editor.html, too.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1222 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 09:44:25 +00:00
Wormsxulla b35d04c26e OOoops. Now update svg-editor.html for Frisian and Hindi.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1220 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-14 18:45:49 +00:00
Wormsxulla 1dbdbc0352 Update the first draft of the Frisian language file by Wander Nauta.
Add Frisian and Hindi languages to the good languages (Not able to display "Hindi" in "Hindi" in svg-editor.html, though.)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1219 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-14 18:33:05 +00:00
Alexis Deveria b835da83ea Fixed locale issues for main menu (will work once lang files are updated)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1218 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-14 16:05:05 +00:00
Alexis Deveria d360c991cd Simplified canvas centering using largely CSS-based method
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1217 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-14 15:12:40 +00:00
Wormsxulla 612d563677 Add a language file for future Frisian translation.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1216 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-14 13:55:57 +00:00
Alexis Deveria 47a390511b Made menu stay open on drag-onto-fileopen in Firefox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1215 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-14 13:39:25 +00:00
Alexis Deveria 8e5b549cf3 Fixed bug on Firefox open file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1214 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 21:18:59 +00:00
Alexis Deveria ad38b50001 Fixed issue 404: Change stroke dash style in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1212 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 21:03:00 +00:00
Alexis Deveria 4f162eb6fa Made more improvements to main menu (webkit hover works, FF menu hides when opening file)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1211 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 18:28:19 +00:00
Alexis Deveria 2921c66646 Made more improvements to main menu (works OK on icon size changes now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1210 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 17:18:53 +00:00
Jeff Schiller 4425f51d5f Finally fix lang.es.js encoding issues
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1209 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 17:18:35 +00:00
Jeff Schiller fc854c0c55 Remove svninfo_dim legacy from lang.fr.js and lang.es.js. lang.es.js is still invalid JSON though
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1208 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 16:58:14 +00:00
Jeff Schiller 00d536ba88 Missed single-quote fix for lang.es.js, but still reported as invalid JSON
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1207 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 16:50:07 +00:00
Jeff Schiller 4de6ecd3ab Remove the word 'demo' from the web page title
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1206 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 16:46:58 +00:00
Jeff Schiller 8bff0591d3 Fix all lang files so they are proper JSON (JSON does not allow single-quoted strings) except for lang.es.js. Started a python script that will help use manage the translation files going forward
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1205 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 16:28:33 +00:00
Alexis Deveria fc41d62a66 Made more improvements to main menu
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1204 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 15:05:53 +00:00
Jeff Schiller 1b88da95f8 Fix File Open for Firefox broken in previous checkin. Neaten up file open extension API.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1203 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 04:32:31 +00:00
Alexis Deveria 8a96643f1a Added basic implementation of issue 313 (logo becomes main menu button)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1202 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 21:38:39 +00:00
Jeff Schiller faa165eb9d Change encoding from Western to UTF-8
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1201 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 20:39:03 +00:00
Jeff Schiller bcc164d6f8 Move populateLayers() to always be called when the svg element has changed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1200 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 16:57:15 +00:00
Jeff Schiller a2557bbc98 Fix Issue 401: shift-click a spinner for a small step
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1199 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 16:20:09 +00:00
Alexis Deveria f51f2ea13f Made Open button icon scale by optimizing file opening code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1198 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 14:50:10 +00:00
Jeff Schiller 5bd91643bd Issue 392: Can now open local files in SVG-edit in Firefox 3.6 (File API).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1196 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 08:09:08 +00:00
Jeff Schiller f00068c02c Merge arbelos fixes for opera widget for svgicons and locale to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1195 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 08:07:50 +00:00
Jeff Schiller 5a063726d0 Fix Issue 400 (trunk): spinner problem when mousing out while still pressed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1193 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-12 07:56:38 +00:00
Alexis Deveria 4313c95d7e Applying recent 2.4 branch changes to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1174 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-08 20:36:39 +00:00
Alexis Deveria bb0d190b4a Fixed Issue 385: Bounding box of a group of rotated paths is incorrect (trunk)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1164 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-07 17:24:04 +00:00
Alexis Deveria 61c13f3cd2 Made wireframe background always be white (trunk)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1162 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-07 15:15:39 +00:00
Alexis Deveria ccc40da338 Changed shade of blue for selection items, updated lang.de file (trunk)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1161 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-07 14:31:14 +00:00
Wormsxulla a01c4c43de Update lang.es.js (trunk) by Alicia.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1159 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-07 03:23:47 +00:00
Wormsxulla 7a50e39cbd Update AUTHORS.txt and README.txt (trunk) with Translations credits.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1156 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-06 20:40:00 +00:00
Jeff Schiller f50c753277 Fix Issue 394 (trunk): add a few pixels to bottom of dialog
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1155 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-06 04:35:41 +00:00
Jeff Schiller 2e9c519ea9 Merge updates for handling png fallbacks from 2.4 branch (until this can be fixed on the trunk)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1153 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-05 03:04:19 +00:00
Jeff Schiller 47fc905409 Add in missing PNG files for fallback rasters
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1151 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-04 23:22:53 +00:00
Jeff Schiller c7e65bb77d Minor updates to branding to update to pre-2.5
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1146 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-04 21:15:01 +00:00
Alexis Deveria e4f72cd1ab Fixed Issue 391: Reorient path is broken in Opera 10/Win/Non-EN and Firefox 1.5/2.0
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1141 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-04 14:51:24 +00:00
Alexis Deveria c249478eed Fixed several minor bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1140 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-04 14:10:52 +00:00
Alexis Deveria 4989d74a63 Fixed Issue 386: Can't move a group of 9 objects or more with the mouse
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1139 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-04 13:46:41 +00:00
Alexis Deveria 76b6fc1b5e Made Opera/Win/Non-EN workarounds only fire if bug is actually found
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1138 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-01 16:11:48 +00:00
Alexis Deveria c3ed1b9bdf Fixed issue 321: Path editing doesn't work in Firefox 1.5 and Firefox 2.0
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1137 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-01 15:49:50 +00:00
Alexis Deveria 7471fed844 minor optimization, fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1136 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-31 21:14:41 +00:00
Alexis Deveria 52cd6198be Fixed yet another Opera/Win/non-EN bug caused when going from select-to-pathedit-to-select on a path rotated after cloning a new path with a curve
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1135 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-31 20:24:23 +00:00
Alexis Deveria a01ceaf946 Removed pesky alert I accidentally left in again
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1134 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-31 19:40:30 +00:00
Alexis Deveria 525dbf0c18 cleaned up objects with too many commas, made some optimizations which prevent icon elems from being included in ID numbers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1133 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-31 19:24:03 +00:00
Alexis Deveria b3d993959b Fixed path-cloning bugs in Webkit and Opera/Win/Non-EN. Put mouseup/move/down in anonymous function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1132 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-31 15:25:57 +00:00
Alexis Deveria f76f10e464 Fixed issue 383: Delete unclosed path node makes the path appear as closed. Also prevented deletion of last two nodes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1131 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-30 20:55:53 +00:00
Alexis Deveria 19efdad647 removed logging line
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1130 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-30 20:26:17 +00:00
Alexis Deveria 0beb2f19a2 Fixed bugs in Opera 10.10 and some Opera/Win/Non-EN bugs by reverting part of r838 and using our own transformlist implementation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1129 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-30 20:12:13 +00:00
Alexis Deveria 0ed21291b9 Restructured SvgCanvas to put mouse events and path functions (as well as related variables) into their own modules
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1128 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-30 18:06:29 +00:00
Alexis Deveria ff203457c1 Fixed freehand rect bug caused in last checkin
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1127 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 21:28:06 +00:00
Alexis Deveria 4ba0d002f0 Made various code optimizations, removing several global and SvgCanvas variables. Also made all keyboard shortcuts preventDefault
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1126 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 21:20:45 +00:00
Alexis Deveria 9086e13901 Commented out profiling test code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1125 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 18:24:25 +00:00
Alexis Deveria f1017f7bf0 Made big improvement to issue 382
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1124 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 18:18:37 +00:00
Jeff Schiller c3fa557e60 Yet more work on Issue 382: Only append the selector parent group when it needs to happen
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1123 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 18:12:32 +00:00
Jeff Schiller 9015f80156 More work on Issue 382: Get rid of most updates of selectedBBoxes array
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1122 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 14:26:04 +00:00
Jeff Schiller 3b991ed9bb Begin work on Issue 382 (improve multi-select performance)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1121 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-29 06:37:53 +00:00
Alexis Deveria ccc0c38887 Fixed path reorient enable/disable state, fixed fill/stroke color box gap
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1120 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-28 19:57:46 +00:00
Alexis Deveria 81560a70eb Fixed Issue 381: Changing a segment type of a rotated path causes problems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1119 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-28 19:07:41 +00:00
Alexis Deveria 118c0c766c Fixed pathedit mode for paths that were rotated, then had points recalced by a matrix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1117 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-28 14:57:40 +00:00
Alexis Deveria 13b87e1839 Fixed bug where shortcut key for group would throw error, minor code optimization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1116 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-28 14:33:26 +00:00
Wormsxulla 517e7e9983 Update the Dutch translation by Jaap Blom.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1115 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-25 10:27:12 +00:00
Jeff Schiller be1a08b7f3 Fix Issue 379: Properly remap point-based elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1114 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-24 23:35:32 +00:00
Wormsxulla b66c9824ff git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1113 eee81c28-f429-11dd-99c0-75d572ba1ddd 2009-12-24 12:23:10 +00:00
Wormsxulla 4509235b9f Update the Spanish language file by Alicia.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1110 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 22:01:56 +00:00
Alexis Deveria e4805a123f Prevented NaN values when selecting fit-to zoom options, made first layer be renamed on language change
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1107 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 20:29:44 +00:00
Jeff Schiller f96bb53c40 Fix Issue 371: Group matrix transforms are pushed all the way down always
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1106 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 20:21:20 +00:00
Wormsxulla 4ce18d7b47 Trying to fix the earlier mistake. Makes the japanese language file ready for being translated
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1105 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 20:01:53 +00:00
Wormsxulla a2a0a2881d Make the japanese language file ready for being translated
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1104 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 19:53:16 +00:00
Alexis Deveria 62d641c29e Undo buggy code cleanup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1103 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 18:33:45 +00:00
Alexis Deveria 718427a32d Added resize handles to text elements, minor code cleanup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1102 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 18:31:38 +00:00
Alexis Deveria d6f66bfcf3 Minor fixes to last revision
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1101 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 17:38:51 +00:00
Alexis Deveria 6d2f6e8270 Fixed issue 232 again
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1100 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 17:32:48 +00:00
Alexis Deveria f1f3c31d21 Added German to good auto-set lang list, fixed issues 376 and 365
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1099 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 14:25:43 +00:00
Jeff Schiller 2c8705ee75 Add in German translation from dreimark
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1097 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 05:40:49 +00:00
Jeff Schiller b4c197aa6e Change alpha to beta branding
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1096 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 05:29:29 +00:00
Jeff Schiller 7302aee305 Fix Issue 374: Workaround Opera group bbox bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1095 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-23 05:00:37 +00:00
Jeff Schiller 2668d9f49a Prevent crazy selector boxes for groups in WebKit - still problems in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1089 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 22:56:17 +00:00
Jeff Schiller 6abaf4c712 Simple fix for webkit to remove deleted element transform lists. Still a problem when resizing/rotating though
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1084 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 21:27:46 +00:00
Alexis Deveria 732155a028 Made auto-language-picker only use full translations
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1083 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 21:24:58 +00:00
Alexis Deveria ba800c4d41 Fixed issue 372: Selecting lines and polylines immediately after drawing fails in FF3.6b
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1082 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 19:42:48 +00:00
Alexis Deveria 0366a5cc86 Improved wrapping for top toolbar on window resize, removed some unnecessary files
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1081 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 18:13:36 +00:00
Alexis Deveria 59575e1f71 Fixed issue 370
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1080 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 16:28:31 +00:00
Alexis Deveria 20fb24ca0a Updated lang.es.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1079 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-22 13:39:42 +00:00
Alexis Deveria 247f6271b1 Fixed issue 365
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1078 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-21 21:25:17 +00:00
Alexis Deveria a2ea54a9bd Added Spanish translation by Alicia, fixed issue 369
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1077 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-21 20:03:43 +00:00
Alexis Deveria 11b23cb200 Fixed issue 356 and added transform parser for Webkit (fixes transform-loss bug on imported elements)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1076 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-21 16:53:24 +00:00
Alexis Deveria 97072bb249 Fixed Issue 367: Cannot resize a circle with the mouse
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1075 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-21 13:55:20 +00:00
Alexis Deveria 8f5f540b23 Fixed issue 366: Clone Fires Twice
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1074 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-21 13:36:49 +00:00
Alexis Deveria dd7f85c380 Fixed issue 356 and zoom dblclick action
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1073 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 21:30:56 +00:00
Alexis Deveria 35f1d7edf1 Updated Romanian and Czech languages, fixed part of Fit Canvas to Content
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1072 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 20:17:06 +00:00
Jeff Schiller 7bfef032aa fixtransforms branch: skewed and rotated groups can now be resized properly
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1070 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 19:07:01 +00:00
Jeff Schiller 2736be370b fixtransforms branch: resizing a skewed element now works properly
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1069 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 18:22:06 +00:00
Jeff Schiller ccade30124 fixtransforms branch: Fix Issue 363, moved/resized groups get their rotational center updated
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1068 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 17:39:39 +00:00
Alexis Deveria fc6014768e fixtransforms branch: Mostly fixed resizing matrix-elements (still bug on rotated matrix-elements)
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1067 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 17:12:48 +00:00
Jeff Schiller 5efba84bbd fixtransforms branch: merge all changes from trunk into the branch to keep the branch in sync
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1065 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 07:33:14 +00:00
Jeff Schiller 30ac733e76 fixtransforms branch: Remove unnecessary rounding in center of rotations (can cause weird problems)
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1064 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 06:50:55 +00:00
Jeff Schiller e96d0db8fd Remove layer name accidentally left in a SVG icon - caused an incorrect tooltip in Opera :)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1063 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 06:34:13 +00:00
Jeff Schiller 3d3711e499 fixtransforms branch: Fix bug in changeSelectedAttributeNoUndo() that made Opera and WebKit hiccup
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1062 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 06:20:37 +00:00
Jeff Schiller 0dc0ec0d41 fixtransforms branch: Text elements maintain stretches/translations in groups
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1061 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 06:13:42 +00:00
Jeff Schiller 4259f84e99 fixtransforms branch: Properly push down and collapse rotate() transforms when ungrouping. Fix a bug in addToSelection()
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1060 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-18 05:00:45 +00:00
Alexis Deveria 070a710250 fixtransforms branch: Fixed bug that messed up aligning matrix/rotated elements (in moveSelectedElements)
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1059 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-17 19:24:24 +00:00
Alexis Deveria 9c12d0af58 fixtransforms branch: Fixed last revision to make polylines and paths work
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1058 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-17 18:50:40 +00:00
Alexis Deveria 0baff00fd5 fixtransforms branch: Made point-based elements remap instead of use matrix(), also added possible fix for r357
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1057 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-17 18:16:00 +00:00
Jeff Schiller 729900d796 fixtransforms branch: Remove zero-degree rotations and empty transform strings
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1055 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-17 15:12:54 +00:00
Jeff Schiller 48c4aa0e97 fixtransforms branch: Fix undo of transforms
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1054 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-17 15:02:14 +00:00
Jeff Schiller c54d14f394 fixtransform branch: rework recalculateDimensions() for non-groups to deal with rotations, scales, translations of skewed/non-skewed, rotated/unrotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1053 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-17 07:41:33 +00:00
Alexis Deveria 9ed4fab3f3 Fixed Issue 358: The Text tool is broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1050 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-16 19:02:00 +00:00
Pavol Rusnak 5fdee72e08 update SK translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1049 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-16 16:37:00 +00:00
Jeff Schiller 54e327b22b fixtransforms branch: undo some damage I did to normal shapes being rotated/resized, but skewed+rotated shapes go back to jumping
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1048 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-16 07:11:33 +00:00
Jeff Schiller 8d339e2613 fixtransforms branch: Fixes to rotating skewed elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1047 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-16 04:52:49 +00:00
Alexis Deveria f376a9aed8 Added lang.he.js (was lang.iw.js)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1043 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-15 18:11:10 +00:00
Jeff Schiller 194e80ff77 fixtransform branch: TODO for rotating skewed elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1042 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-15 14:34:09 +00:00
Alexis Deveria 68975b1ff4 Updated NL lang file (by jaap.blom) and updated other lang files (by wormsxulla)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1041 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-15 14:22:42 +00:00
Alexis Deveria 2d1fb52e35 fixtransforms branch: Fixed ConvertToPath for elements with matrix
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1040 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-15 14:16:19 +00:00
Jeff Schiller 806f851107 fixtransforms branch: selector boxes are always rectangular and properly box skewed items
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1039 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-15 12:37:32 +00:00
Alexis Deveria cf46838cd1 Fixed bug on selecting un-rotated element after having rotated previous one
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1038 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-14 16:53:21 +00:00
Alexis Deveria c513aac9d0 Start on making selection boxes rectangular regardless of matrix-transformation
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1037 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-14 16:26:44 +00:00
Jeff Schiller 9c249d4ee1 fixtransforms branch: groups with skewed children now have correct selector boxes
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1036 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-13 06:42:59 +00:00
Jeff Schiller 56884531a5 fixtransforms branch: Fix webkit by handling matrix() transforms in SVGEditTransformList shim
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1035 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-13 04:14:41 +00:00
Jeff Schiller f2c98ab46e fixtransforms branch: groups with skewed elements now resize/move properly
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1034 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-13 03:31:30 +00:00
Jeff Schiller 4ca4260fc9 fixtransforms branch: Fix resizing of rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1027 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-11 22:42:26 +00:00
Alexis Deveria db718cb201 Made fixes to/updated en,fr,nl lang files, made lang files no longer require keyboard shortcut hints
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1026 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-11 20:35:51 +00:00
Jeff Schiller 0182a59d06 Move out remapping of element to a separate function
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1023 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-11 17:44:56 +00:00
Jeff Schiller 6236b5cda1 fixtransforms branch: More updates for fixtransforms. Resizing rotated elements now broken
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1010 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-10 15:33:38 +00:00
Jeff Schiller 5e2883cfd5 fixtransforms branch: forgot to enable recalculateDimensions()
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1009 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-10 06:23:32 +00:00
Jeff Schiller 32f23b69af fixtransforms branch: Fix long-standing bug in matrixMultiply() that caused problems when transforms became complicated, implement some of resolving/flattening transforms on skewed elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1008 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-10 05:11:09 +00:00
Alexis Deveria bb78010e84 Fixed issue 354: SHIFT-click or CTRL-click on an image opens image in new browser window
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1007 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-09 21:00:35 +00:00
Alexis Deveria 1986b452ed Possibly fixed issue 353
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1006 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-09 20:16:40 +00:00
Alexis Deveria 9279ba0a1d Added fix for Issue 349 (and 352) to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1005 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-09 19:06:28 +00:00
Alexis Deveria df642b1500 Added support for translated text in svgcanvas.js, updated es, ja files, complete fr file by wormsxulla
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1004 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-08 19:38:14 +00:00
Alexis Deveria 161714b157 Updated lang.en.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1003 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-08 18:08:23 +00:00
Alexis Deveria ed45a7b2fa fixtransforms branch: Fixed issues 348, 349 and 350. Made multiplyMatrix() accept any amount of matrices as parameters. Improved BBox calculation on rotated groups
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1002 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-08 15:01:47 +00:00
Alexis Deveria fddc6f2b10 Removed language list from lang.en.js in favor of local-langage names in HTML file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1001 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-07 21:16:13 +00:00
Alexis Deveria bf1cd8606d Updated lang.en.js file and added fixes to issues 346 and 347 to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1000 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-07 15:42:36 +00:00
Alexis Deveria fecc1da764 Fixtransforms branch: Fixed issues 346 and 347, changed resetPathOrientation() to use transformPoint()
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@999 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-07 14:51:32 +00:00
Jeff Schiller 789c977594 fixtransforms branch: switch order of translate/scale conversion for groups. Also fixed bug where dragging multiple elements would strip off their rotation
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@998 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-05 16:21:18 +00:00
Alexis Deveria 4c66ccbabe Made un-rotated child elements properly resize when resizing non-rotated groups
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@997 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-04 17:53:05 +00:00
Jeff Schiller 4b0d3b23d3 fixtransforms branch: Properly update rotation center
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@996 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-04 05:18:20 +00:00
Jeff Schiller 61d03c8cbf fixtransforms branch: really fix rotations this time (I am not just trying to rack up revision numbers)
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@995 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-03 21:50:46 +00:00
Jeff Schiller 3cebabc86a fixtransforms branch: Ensure rotations are re-centered
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@994 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-03 21:41:13 +00:00
Jeff Schiller 464b1580bf fixtransforms branch: Another attempt to fix transforms on groups/ungrouped elements - mostly broken, still a work-in-progress
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@993 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-03 16:34:44 +00:00
Alexis Deveria 59c4f0c739 Fixed issue 345 and related attribute resets in FF bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@991 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-03 16:15:07 +00:00
Alexis Deveria 9ff715bbe1 Fixed bug in last revision where new font didn't affect element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@990 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 21:17:11 +00:00
Alexis Deveria 73f6b976a8 Fixed Issue 265: Allow selection of a user-defined font in the text dialog
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@989 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 20:09:36 +00:00
Jeff Schiller c3fecc8bf9 More minor updates, comments
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@988 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 04:13:01 +00:00
Jeff Schiller 9a273558d6 Add a transformBox() helper function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@987 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 03:54:02 +00:00
Alexis Deveria d800f4b5f9 Updated control point link icon, fixed issue 344
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@986 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-01 21:23:18 +00:00
Alexis Deveria 5173ad7eea Added option to link curved segment control points in pathedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@985 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-01 19:26:33 +00:00
Alexis Deveria 7cbb5ebddc Fixed bug related to path reorientation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@984 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:33:37 +00:00
Alexis Deveria 37392020ce Fixed Issue 342: Keyboard rotation broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@983 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:14:03 +00:00
Alexis Deveria 32c6096791 Fixed bug caused when serializing in Webkit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@982 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:08:09 +00:00
Alexis Deveria d5f867f0a8 Fixed issue 68 by adding Convert to Path button, also included Reorient Path button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@981 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 19:14:23 +00:00
Alexis Deveria 474690f2a2 Fixed base64 decoder
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@980 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 14:05:20 +00:00
Alexis Deveria ac19a9fe15 Added quick and dirty URL param source loader
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@979 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 21:10:48 +00:00
Alexis Deveria 2653ebdaad Fixed main issue 339 problem by adding methods to convert elements to paths and re-orient rotated paths
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@978 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 19:35:06 +00:00
Jeff Schiller 04d0823eb4 Whitelist stroke/fill properties on groups to improve handling of arbitrary SVG
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@977 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 16:44:13 +00:00
Jeff Schiller 3481940e38 Update selector box to be a path, change selectors to be circles (for convenience). Getting closer to a fix for negative resizing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@976 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 13:51:42 +00:00
Alexis Deveria da6fb0a3cc Fixed issue 339...for Firefox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@975 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 15:43:57 +00:00
Alexis Deveria da09855230 Fixed bug where source couldn't be saved in FF using a group
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@974 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 14:33:48 +00:00
Jeff Schiller 27064ff8da Update some TODOs, comment out some no-longer needed code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@973 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:54:43 +00:00
Jeff Schiller 7b6a304520 Remove some logging debug code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@972 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:33:28 +00:00
Jeff Schiller 1387116be6 Fix rotation of resized groups for Firefox/WebKit, Opera still semi-broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@971 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:10:33 +00:00
Jeff Schiller 11ed30d303 Fix more of Issue 338: rotations in opera do not collapse scales now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@970 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 17:39:01 +00:00
Alexis Deveria 04ed475d6f Fixed Issue 337: MouseUp on Rect selects Square (Opera)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@969 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 17:10:13 +00:00
Jeff Schiller 4bb363466f Fix second problem of issue 338 by truly recalculating the new center from the bbox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@968 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 16:24:01 +00:00
Kevin Kwok e689ca3dcf Fixed embed API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@967 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 20:33:12 +00:00
Kevin Kwok db5df84bcc Embed communication protocol updated, embed api file added
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@966 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 20:13:06 +00:00
Jeff Schiller ceb89dd557 Fix undo problem when moving rotated/resized groups due to global start_transform variable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@965 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 03:45:18 +00:00
Jeff Schiller f633ddeb11 Fix Issue 111: Finally got the math right for group transformations including translation, rotation, resizing. Still broken: Undo for transforming groups. Still massively broken: Ungrouping (Issue 204)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@964 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 00:50:09 +00:00
Alexis Deveria 1bd107b58b Updated lang.en.js with latest changes (may still be some entries missing)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@963 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 19:23:09 +00:00
Alexis Deveria 03d2a3e32b Fixed issue 266 by changing the viewBox to width/height on serialization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@962 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 18:10:59 +00:00
Alexis Deveria 6d2729cf6b Fixed issue 287 by adding x,y fields for freehand lines, paths and groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@961 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 17:17:55 +00:00
Alexis Deveria 2441b75477 Fixed issue 330 (rotation on zoom) and other small bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@960 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 15:40:05 +00:00
Alexis Deveria afabb249cb Made inverted resizing work for most elements. Selection boxes still need fixing, though
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@959 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 20:16:29 +00:00
Alexis Deveria 40cd489b4c Fixed Opera rotation bug in Issue 330
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@956 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 16:08:16 +00:00
Alexis Deveria 383ef4a290 Replaced modal dialog boxes with HTML ones, fixed issue 335 and other minor image bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@955 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 15:09:21 +00:00
Jeff Schiller 75dffc0d2f Correction to image handling code in context menu
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@954 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-18 17:22:01 +00:00
Alexis Deveria 5f4caf6c53 Finished up changes to inline image behaviour, many fixes from last update
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@953 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-18 16:50:25 +00:00
Alexis Deveria 3380cc0326 Made various changes to image handling, will now change Data URI back into URL on import (if possible). Mork work still needed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@952 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-17 21:36:59 +00:00
Alexis Deveria 899a812b4a Possibly fixed issue 191 by adding an option in the doc props
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@951 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-17 16:42:04 +00:00
Alexis Deveria e4ead69e6d Fixed issue 314: In wireframe mode, outlines should stay 1px wide regardless of zoom level
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@950 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 20:20:13 +00:00
Alexis Deveria 3d3c1f4454 Made Opera rotation less broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@949 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 19:17:18 +00:00
Alexis Deveria b0d826a24b Fixed issue 309: Opening the source code editor breaks the ungrouping of rotated groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@948 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 18:06:30 +00:00
Alexis Deveria e9ff3cf682 Fixed issue 329, also made zoom reset on New Image. Made some code more efficient.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@947 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 17:04:19 +00:00
Alexis Deveria 082523f7f7 Fixed issue 331 and updated svg-icon-loader
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@946 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 15:19:51 +00:00
Alexis Deveria 0278caccd8 Hopefully finally fixed gradient serialization issues in Opera/Win/Non-en
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@945 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-13 20:45:18 +00:00
Alexis Deveria d4fcca35ae Added shift-for-equal-width&height option when drawing rects, ellipses and images
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@943 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-13 16:55:58 +00:00
Alexis Deveria 5e7da751ec Made small improvements to small icon mode, added fixed ratio resize option for resize+shift
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@942 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-13 15:11:48 +00:00
Alexis Deveria 2a9f517306 More minor language-related tweaks
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@940 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 21:43:19 +00:00
Alexis Deveria 6d30a6b7ee Possibly fixed lang detection script
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@939 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 21:28:04 +00:00
Alexis Deveria 6f4a74dad9 Changed authors file, zoom list order, and added a UA language test
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@938 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 21:13:29 +00:00
Alexis Deveria df497438a9 Fixed issue 320: Make the rotation handle appears on groups right after grouping
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@937 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 20:15:42 +00:00
Alexis Deveria b9058e5b1e Fixed selection box positioning when dragging while zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@936 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 20:08:04 +00:00
Alexis Deveria 38242ad3d6 Fixed alignment tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@935 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 18:38:13 +00:00
Alexis Deveria 344e7a802d Fixed several remaining cross-browser icon bugs
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@933 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 16:00:50 +00:00
Jeff Schiller 3924530ea3 transformlist branch: more refactoring. groups can be rotated, translated, resized. still buggy when resizing rotated groups but checking it in anyway. ungrouping still surely broken
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@932 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 05:02:11 +00:00
Alexis Deveria 7c8fafa9ee Added fix to prevent some FF versions from throwing errors on localStorage check
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@931 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 21:13:16 +00:00
Alexis Deveria c5467373ef Made editor preferences (language, icon size and background) be saved and re-applied on page load
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@930 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 18:13:26 +00:00
Jeff Schiller 70745df23a Fix matrixMultiply() to properly seek rotate/scales
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@929 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 07:42:23 +00:00
Alexis Deveria 55f791910a Added locale improvements: JS strings - see lang.en.js, dropdown list in doc props, browser language detect on startup
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@928 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 21:31:47 +00:00
Alexis Deveria 237fd96b0f Changed order of circle&ellipse and square&rect as per issue 179
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@927 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 19:16:45 +00:00
Alexis Deveria e40619cc67 Spruced up docprops to fix Issue 315, made Image Title appear in browser title when available
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@926 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 18:58:16 +00:00
Alexis Deveria a5ae9e78de Fixed issue 325: Finishing an open path - Ghost segment
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@925 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 16:43:02 +00:00
Jeff Schiller d7c3f73d02 transformlist branch: fix some undo problems, remove some more dead code
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@924 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 15:16:49 +00:00
Jeff Schiller f603b01efc transformlist branch: Can resize groups as long as they are not rotated. Rotating groups still broken. Ungrouping still broken
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@923 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 07:15:29 +00:00