Commit Graph

2923 Commits (ff711f080bb60c409661a5bc1a461836b6e42b4f)

Author SHA1 Message Date
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
Jeff Schiller 752b45f20d Add YUI Compressor and minify BASH script
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@403 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 20:00:38 +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
Pavol Rusnak 7c9915712a fix paths to images
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@350 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-03 16:39:06 +00:00
Pavol Rusnak 3d3d20c53e update wave gadget xml
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@349 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-03 16:36:50 +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