Commit Graph

502 Commits (ff203457c10eb1e5e170187b2a032c09f045b8db)

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