Commit Graph

597 Commits (ae214cfe0e34f3259ea88c617a80139f5ca2551d)

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