Commit Graph

646 Commits (2a25dbac8fb157ca2af9b69111eccccb42533296)

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