Commit Graph

570 Commits (bed10696d2326187d291cdb3f80768cf7173807f)

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