Commit Graph

324 Commits (47ae164a00b08db4322a096c79b4400d4da31b53)

Author SHA1 Message Date
Alexis Deveria 4e17c00920 Fixed issue 86: Text should have different starting fill/stroke properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 13:50:41 +00:00
Jeff Schiller 0bb7c15fb0 Fix Issue 101: Minimally size the bounding box for polylines, polygons, paths.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@416 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 05:33:34 +00:00
Alexis Deveria c2e0387465 Fixed issue 85: Ensure unused gradients are removed when serializing SVG
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@415 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 17:08:05 +00:00
Jeff Schiller 62f484f5d5 Partial fix for Issue 101: calculate tightest axis-aligned bounding box for a rotated ellipse
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@414 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 04:49:50 +00:00
Jeff Schiller 8550d59362 Check in another fix for Issue 93: rotated poly points drag ok now. Check in Erik's patch for widgetizing SVG-edit (Issue 99)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@413 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 03:42:27 +00:00
Alexis Deveria 546c96ed14 Fixed bug on rotation created in r408
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@412 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 19:05:42 +00:00
Alexis Deveria 97d9c8b76a Fixed part of issue 93
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@408 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 16:59:01 +00:00
Alexis Deveria d5b816109a Fixed issue 94
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@407 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 14:33:59 +00:00
Alexis Deveria 317ba50b9a Reduced code needed for keybindings and button events
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@406 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 13:50:18 +00:00
Jeff Schiller dc32ca8d53 Add open icon for ed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@405 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 22:14:18 +00:00
Jeff Schiller 9726d1b417 Separate the save handler into the HTML editor portion so that it can be re-bound
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@404 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 21:55:47 +00:00
Pavol Rusnak 63aac2c797 add icons to Save/Cancel buttons in sourceview
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@402 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 14:30:07 +00:00
Alexis Deveria 4e5a45642e Fixed issue 81: Source Editor needs Cancel/Save buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@401 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 14:17:20 +00:00
Pavol Rusnak e13c674692 one left behind
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@399 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 07:08:16 +00:00
Pavol Rusnak cd54df13a0 minor fixes of last commit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@398 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 07:05:45 +00:00
Pavol Rusnak d4ff808c83 align elements (work in progress)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@397 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 06:56:55 +00:00
Jeff Schiller 8923f6d746 Fix bug when in polyedit mode and clicking the Poly tool, would add points to the current poly being edited
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@396 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 03:57:43 +00:00
Jeff Schiller a389a0936f Move to 'Alpha' label
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@395 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 03:41:12 +00:00
Jeff Schiller a20d175681 Resizing rotated elements behaves better (though the bbox selector still has the wrong dimensions at the end of a drag, I may live with it for this release)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@393 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 03:11:30 +00:00
Jeff Schiller eb97d20600 Fix Issue 92: Update rotation angle when selecting an element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@392 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 19:18:22 +00:00
Jeff Schiller a61da29f34 Properly size bounding box based on rotation angle of shape. Doesn't work at all for resizing rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@391 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 18:00:56 +00:00
Jeff Schiller 8ada7b4bea Create separate getBBox() function on the SvgCanvas and use that
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@390 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 15:07:00 +00:00
Jeff Schiller 121a6c148d Rotation angle now preserved with drag/move
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@389 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 14:56:22 +00:00
Jeff Schiller 1a97363ea9 Add stroke-linecap and -linejoin to the whitelist. Made freehand scribble have rounded lines. Moved from using DOM properties to using get/setAttribute(). Changing the rotation angle will change the rotation of an element (but moving/resizing it will snap it back
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@388 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 06:02:26 +00:00
Jeff Schiller 299cf0215c Fix bug: If SVG source was changed, selectorParentGroup was thrown away meaning you could no longer create a poly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@387 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 02:48:00 +00:00
Jeff Schiller a69ea2ed1d Fix absolute path when resizing. Remove suspendRedraw for path (only making one DOM call)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@386 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-15 10:53:56 +00:00
Jeff Schiller 16f7caa078 Add suspendRedraw() around path resizing.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@385 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-15 04:40:33 +00:00
Jeff Schiller c83d515fe9 Fix resizing of arbitrary paths (for all segment types). Add polygon to whitelist.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@384 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-15 04:37:08 +00:00
Jeff Schiller 93611c6c71 Add angle spinner to select panel - does nothing yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@383 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-14 22:50:34 +00:00
Jeff Schiller 28020bc2e2 White list for transform attribute. White list radialGradient. White list gradientTransform, gradientUnits, spreadMethod attributes for gradients.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@382 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-14 22:36:54 +00:00
Pavol Rusnak 1b78ee99c3 replace show source icon by the one created by wormsxulla
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@381 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-14 21:14:51 +00:00
Alexis Deveria 4b3975948b Fixed Issue 79: Pasting/Cloning causes selectors to become hidden
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@380 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-14 18:35:48 +00:00
Pavol Rusnak fb411b346a enhance logo and set favicon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@379 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-14 17:25:58 +00:00
Jeff Schiller 66e69f45f4 Fix Issue 87 via Alexis' patch: remove poly artifacts when switching mode in mid-creation of poly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@378 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-14 15:50:11 +00:00
Jeff Schiller d653745a70 Fix Issue 91: set paint to 'none' if not set during update of toolbar
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@372 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-13 15:51:30 +00:00
Jeff Schiller 83275046b4 Fix Bug 80: add text controls for x,y (merge Alexis' patch)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@371 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-13 15:42:41 +00:00
Jeff Schiller 794db6ba98 Fix rest of Issue 34: Can now drag the poly points around in polyedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@368 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-08 22:17:59 +00:00
Jeff Schiller 5a91365e31 Ensure current_poly is cleared when going into select mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@367 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-08 14:09:30 +00:00
Jeff Schiller 6cb95656e0 Track current poly. Toggle between select and polyedit mode when clicking on the currently selected poly. polyedit mode does nothing now but show the points
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@366 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-08 14:03:14 +00:00
Jeff Schiller dfb022fe6f Added poly point grips during creation. Fix bug where elements moved by arrow keys were not undo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@365 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-08 03:36:01 +00:00
Jeff Schiller 79a80e6d2e Check in results of trying (unsuccessfully) to fix 84.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@364 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 20:11:45 +00:00
Jeff Schiller e7a9446bbb Fix Issue 83: Allow polygons to be filled (change freehand sketches to polylines, whitelist polylines, recalculate polylines upon dragging/resizing)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@363 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 17:19:32 +00:00
Jeff Schiller 8db79e5c83 Truncate poly coordinates to integers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@360 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 05:55:11 +00:00
Jeff Schiller ab3fa8e925 First half of Issue 34 fixed: Can create polygons now. Also change default fill to red and default stroke-width to 5. Moved some functions around for convenience
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@359 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 05:44:55 +00:00
Jeff Schiller 381e09be87 Add JS functionality for poly button, then disable it for now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@358 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 03:46:51 +00:00
Jeff Schiller 7dbc6fcfa2 Add poly tool button (does nothing)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@357 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 03:41:11 +00:00
Jeff Schiller e15af8fc65 Add clickable logo to top-left of editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@356 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 03:33:41 +00:00
Jeff Schiller 86173b1832 Fix Issue 78: Merge copy/paste button into one clone button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@354 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-06 11:43:19 +00:00
Jeff Schiller 1840240003 Remove trailing commas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@351 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-04 03:14:23 +00:00
Jeff Schiller d1d91c556e Fix several bugs with gradient picking. Uplift to latest jGraduate.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@348 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-01 05:03:51 +00:00
Jeff Schiller 70c9361e1c Fix image path for jgraduate
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@347 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-31 02:23:56 +00:00
Jeff Schiller 05ff4be18f Fix Issue 33: Gradient picker for fill/stroke. Also start to optimize suspendRedraw/unsuspend. Added vector image of logo.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@346 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-30 22:45:59 +00:00
Jeff Schiller f987b37526 Fix MIME type on jPicker CSS and add missing PNGs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@345 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-23 00:06:27 +00:00
Jeff Schiller 75f1fe1adf Set title for picker to specify stroke/fill
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@344 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-22 22:52:04 +00:00
Jeff Schiller 1c9993d438 Uplift to jPicker 1.0.9
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@343 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-22 22:47:59 +00:00
Jeff Schiller 5e4ebfa7a9 Added PNG version of logo from Christian
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@340 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-22 18:05:29 +00:00
Jeff Schiller f8fd9a7be8 Fix Issue 77: Declare charset
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@335 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-20 13:56:01 +00:00
Jeff Schiller 35cb72ea4e Add artwork for align buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@328 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-15 13:13:57 +00:00
Jeff Schiller 9c841384bd Add empty paint_picker div. Also add defs to the whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@325 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-14 12:52:39 +00:00
Jeff Schiller 35092be25d Fade flyouts slowly the first time they are opened
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@324 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 19:47:48 +00:00
Jeff Schiller 0e45cc46ef Minor tightening of code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@323 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 19:41:09 +00:00
Pavol Rusnak a09a3ecc69 added icons for cut, copy, paste
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@322 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 14:12:32 +00:00
Jeff Schiller 535d55ccda Fix Issue 51: Implement Copy/Paste
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@320 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 13:51:00 +00:00
Jeff Schiller bfb108a7d0 Fixed a bug where selecting an element and then clicking off the element would delete it (resulted from change to how obj_num is handled)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@318 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 04:12:25 +00:00
Jeff Schiller 4f4d42ff85 Prevent change source command if user did not change the source
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@317 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 03:52:31 +00:00
Jeff Schiller b73ed5afc8 Check in draft source button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@316 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 03:46:27 +00:00
Jeff Schiller 5e15483254 Preserve comments when editing SVG source
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@315 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 03:23:58 +00:00
Jeff Schiller 5ce77bca33 Prevent U keystroke from landing in the source editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@314 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 03:02:29 +00:00
Jeff Schiller d1a011d5d3 Properly format SVG source from and to the editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@313 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 02:57:11 +00:00
Jeff Schiller 8e8f44861d Start of Edit Source capabilities for SVG-edit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@312 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 00:17:15 +00:00
Jeff Schiller b3484861e8 Use getNextId() when creating new elements, this ensures uniqueness (even if a file was loaded in)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@311 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-11 13:15:16 +00:00
Jeff Schiller a94592a52e Add local copy of jquery to the trunk (to facilitate local, network-less testing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@309 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-10 05:05:34 +00:00
Jeff Schiller d694197af7 Fix a bug in batch command where elements were not properly returned. Added canvas function to return resolution. Added parsing of XML string into SVG document. Added whitelist of elems/attributes for SVG-edit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@308 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-10 05:04:06 +00:00
Jeff Schiller f7f4a9d0ec Update version number on trunk to 2.3-preAlpha
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@305 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-09 05:06:01 +00:00
Jeff Schiller 5774490082 Fix Issue 53: invalid values shown for fill/stroke opacity
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@289 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-09 04:34:48 +00:00
Pavol Rusnak 3f9ba9e5cd really upload png this time :)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@284 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-08 14:58:03 +00:00
Jeff Schiller 45fdd03682 Fix Issue 54: prevent lines and paths from having their fill set
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@283 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-08 04:40:45 +00:00
Jeff Schiller 91138001c4 Repair missing PNG file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@282 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-08 01:23:01 +00:00
Jeff Schiller 5551bc97ca Fix Issue 55: height of bottom toolbar. Also improve code for recalculating outline/dimensions. Also fix it so that multiple elements can be moved using the arrow keys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@281 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-08 00:03:08 +00:00
Pavol Rusnak cc545ba273 small modifications to spin button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@280 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-07 15:06:19 +00:00
Jeff Schiller aecefebcc0 Add Beta label
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@279 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-07 01:24:18 +00:00
Jeff Schiller 5f8016a839 Fix Issue 28: Use spinners instead of pulldowns for stroke-width and rect radius. Add spinbtn jquery plugin
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@278 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-07 01:21:19 +00:00
Jeff Schiller e4af0eb261 Woops again, left a debug alert in by accident
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@274 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-06 18:54:38 +00:00
Jeff Schiller 8537e0c35c Typo in previous checkin preventing bold from working
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@273 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-06 16:21:12 +00:00
Jeff Schiller 312d2766c5 Woops - make italic/bold undo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@272 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-06 15:03:56 +00:00
Jeff Schiller 09b0e8bd4f Fix Issue 30: Add bold/italic buttons for text elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@270 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-06 14:57:13 +00:00
Jeff Schiller f860d66ace Tweak comment for Firefox 2- fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@262 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-03 11:39:13 +00:00
Jeff Schiller ea622fc419 Minor modification to last night's Firefox 2- fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@261 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-03 11:37:20 +00:00
Jeff Schiller d9d9b50918 Fix Firefox 2- behavior with dragging
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@260 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-03 05:38:06 +00:00
Jeff Schiller 56388eb98f Restore jQuery script
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@259 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-03 04:56:24 +00:00
Jeff Schiller 46940f1969 Move group opacity up to selected context panel. Shorten the bottom tool panel. Several minor loop optimizations
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@258 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-03 02:49:42 +00:00
Pavol Rusnak b859ba711b updated jPicker to 1.0.8
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@257 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 21:50:56 +00:00
Pavol Rusnak 3154f56aba forgot to update .css to match upstream jPicker
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@256 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 19:07:54 +00:00
Pavol Rusnak b7562af19e don't set alpha to 0 when color was N/A
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@255 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 17:35:30 +00:00
Pavol Rusnak a485b53595 move opacity control to jPicker
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@254 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 17:19:51 +00:00
Jeff Schiller 616390b297 Add in brute force getIntersectionList() function that accurately does multi-selection when dragging the rubber-band box around
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@253 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 04:50:24 +00:00
Jeff Schiller f084d731b0 Clear undo history when clearing document
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@252 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 03:54:11 +00:00
Jeff Schiller 54d81dac84 Fix rubber-band multi-select so that elements of the same type each have their own selector
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@249 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 21:59:11 +00:00
Jeff Schiller 67bcf98e30 Add batch command and ensure changes to multiple selected elements are atomic in undo/redo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@248 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 21:28:22 +00:00
Jeff Schiller 45bf0fca08 Minor tweaks to the UI: Fix multi-delete tooltip. Ensure clicking on svg-edit link opens a new tab.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@247 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 20:43:47 +00:00
Jeff Schiller 634b7efeb8 Add a multiselect tool panel. Can now delete multiply-selected elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@246 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 20:22:29 +00:00
Jeff Schiller 5804e605ec Changing stroke/fill properties when multiple elements selected now apply to all elements selected. Remove commented out logging messages
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@245 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 20:05:24 +00:00
Jeff Schiller e36b3d97bd Enabled multi-select dragging
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@244 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 19:54:51 +00:00
Jeff Schiller 797f53345b Large number of small fixes. Multi-select getting closer now (still not working)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@243 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 19:28:08 +00:00
Jeff Schiller 71e3b92e3c Move rect radius to after x,y,w,h
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@242 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 15:57:03 +00:00
Jeff Schiller 8785b3674f More refactoring for selection, still only single selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@241 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 15:34:15 +00:00
Jeff Schiller 0389e6bd86 Keep the selector group at the bottom of the document. Put the rubber-band box into the selector group. Do not serialize the selectorGroup or its children
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@240 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 17:50:08 +00:00
Jeff Schiller 9f3860e3e0 Add thin border to rubber-band box
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@238 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 16:16:55 +00:00
Jeff Schiller 6d8ab5888a Clear up some bugginess with the rubber-band box in single-select mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@237 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 16:12:08 +00:00
Jeff Schiller 097649b330 Can now single-select by dragging the rubber-band box around. Still no multiselect
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@236 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 14:29:28 +00:00
Jeff Schiller 1207de3e61 More minor tweaks, still no multi-select
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@233 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 06:37:39 +00:00
Jeff Schiller afca995083 Added rubber-band box element for multi-select, start of multi-select mode (all it does is draw the rubber-band mode, no selecting yet. Also added a bunch of semicolons (this may be required for minification)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@230 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 06:24:41 +00:00
Jeff Schiller 30d5cb45e5 Move to use an array for selected elements. Still only single-select mode.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@229 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 22:22:13 +00:00
Jeff Schiller a0aa794cb9 Move color picker leftward so that it is (usually) always fully visible
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@228 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 21:48:42 +00:00
Pavol Rusnak d1299beb5c fixed Issue#50
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@227 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 17:34:02 +00:00
Jeff Schiller 3ab00a7148 Fix issue 49: take into account scroll offsets with canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@226 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 15:08:40 +00:00
Jeff Schiller 579dac1219 Make contextual panel taller again
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@225 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 15:00:11 +00:00
Pavol Rusnak ece4974a91 small changes to UI
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@224 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 14:38:30 +00:00
Jeff Schiller 54e20edef2 Selector was not being hidden upon undo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@223 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 13:46:50 +00:00
Jeff Schiller 482aae35ed Use new selector code for single-selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@222 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 13:20:39 +00:00
Jeff Schiller e5a290b196 Beginnings of code for multi-select. This code is not being used yet, checking in now as a work-in-progress.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@221 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 03:58:34 +00:00
Jeff Schiller ae1cd5592b Fix position of color picker. Fadeout flyouts so that user has a chance to see them upon first click
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@220 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 14:35:08 +00:00
Jeff Schiller d7a2c3e71c Mousedown to open flyouts, mouse up on the tool the user wants
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@217 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 05:48:11 +00:00
Jeff Schiller 9293eb66e6 Change flyouts to close when mousing out. Also since rect/ellipse flyouts can no longer get stuck open, remove code to hide them and change color picker to not be a flyout
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@216 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 05:09:10 +00:00
Jeff Schiller 83f2dbf6df Closing out Issue 36 with new layout from svg-edit-layout branch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@215 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 04:20:34 +00:00
Jeff Schiller 347896cb6c Fix Issue 48: Freehand tools now undo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@214 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 04:10:03 +00:00
Narendra Sisodiya 94e7f6c645 Fixing issue 47, click to hover
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@213 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-27 23:31:56 +00:00
Jeff Schiller 6b7bd3eaf8 Tweaks to svgToString() to produce slightly tidier output
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@209 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-27 03:42:12 +00:00
Jeff Schiller a676614787 Starting mode is select, not path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@208 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-27 03:18:50 +00:00
Jeff Schiller cfa488a502 Make changing resolution undo/redo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@202 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-26 14:31:03 +00:00
Jeff Schiller ecb0f0e74e Fix Issue 19: Undo/Redo in context panel and react as buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@201 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 15:35:28 +00:00
Pavol Rusnak 5c67d896ac buttons for undo/redo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@200 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 08:31:36 +00:00
Pavol Rusnak 1f5fca2fd6 resize drawing area
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@199 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 08:22:30 +00:00
Jeff Schiller d955ca51d1 Change shortcut keys to z, y and shift-z
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@198 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 03:31:56 +00:00
Jeff Schiller 48ec8a7c14 Fix Issue 19: implement undo/redo command history and shortcut keys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@196 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 02:54:07 +00:00
Jeff Schiller 8a29ca4061 Fix text input width for Firefox 3.0 on Linux
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@194 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 22:07:58 +00:00
Jeff Schiller 9655adf444 Tweak sensitivity, update comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@193 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 13:49:43 +00:00
Jeff Schiller 1ad4ad80a1 Make grips easier to grab with the mouse (works in Opera/WebKit, not in Firefox)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@192 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 13:49:16 +00:00
Jeff Schiller 7c5c80beec Fix Issue 26: context tools for rect, circle, ellipse, line are now editable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@188 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 04:33:09 +00:00
Jeff Schiller 96f74b4dae Add circle, ellipse, line context controls
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@187 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 04:17:35 +00:00
Jeff Schiller 35ad2d7841 Fix Issue 29: Key bindings for moving selected, move to top/back, delete for Macbook users
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@186 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 21:18:23 +00:00
Jeff Schiller 016a3572c5 Now update x,y,w,h for a rect when it's moved or resized, but only when you mouseup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@184 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 18:06:53 +00:00
Jeff Schiller 61a1259efa Add in x,y,w,h contextual controls for rects (updated by not editable)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@183 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:30:30 +00:00
Jeff Schiller 9b312d694f More concise code to set radius pulldown value
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@182 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:26:17 +00:00
Jeff Schiller 880592cafc Update radius pulldown with value of selected rectangle's corner radius
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@181 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:20:21 +00:00
Pavol Rusnak 59e313047a make buttons nicer
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@180 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 07:57:11 +00:00
Pavol Rusnak f3c4a87bed switch icons on circle/square tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@179 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 07:53:32 +00:00
Pavol Rusnak 07c349048a - replaced circles in grips with squares
- circles will be used for rotation
- added simple switch (selectedOperation) which sets it
  (does not modify the behaviour, yet)


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@178 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 07:48:15 +00:00
Jeff Schiller cf2a8a9005 Move normalization of selected bbox to inside mouseMove to prevent bug when selected box disappears when resizing negatively
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@174 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 05:46:47 +00:00
Jeff Schiller 6ac2227fae Fix Issue 27: Allow resizing of all elements except text, properly compute new sizes, shuffled some code around
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@173 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 05:17:53 +00:00