Commit Graph

588 Commits (8805307592c93e4ebe25913c5142f4ee49cb035c)

Author SHA1 Message Date
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 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
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
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
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 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 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 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
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 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
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
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 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 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
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 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