Commit Graph

105 Commits (6bd6d0746e6d917c4d428fac06cd6395cddbec20)

Author SHA1 Message Date
Alexis Deveria baf9f75982 Possibly fixed issue 99 and issue 108 by setting up an external handler function. Moved Opera references to seperate file and reprocessed thinker.li's patch to also use a use separate file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@468 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 16:35:57 +00:00
Pavol Rusnak 9f704dee5c create 4 modes for align: selected, largest, smallest, page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@462 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 07:04:19 +00:00
Alexis Deveria c4cc408465 Fixed issue 112: Values for certain attributes must now be numbers, enter/return on field now updates value in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@453 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 15:26:35 +00:00
Alexis Deveria 7b31879ec2 Added keyboard shortcuts for rotating elements (shift+left & shift+right)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@446 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 17:57:48 +00:00
Alexis Deveria fa5a5f2525 Fixed bug in optimization code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@444 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 16:27:27 +00:00
Jeff Schiller f0e1b6a57a Merge 422:442 from rotator branch into trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@443 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 15:53:36 +00:00
Alexis Deveria 841d82e0a4 Various JavaScript optimizations in svg-editor.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@441 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 15:35:55 +00:00
Alexis Deveria 82e516cd37 Fixed issue 102: Allow selection of next child/previous child with a key and issue 107: Creating an object selects it automatically and switches to the Select tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@430 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 13:39:23 +00:00
Alexis Deveria 8b5c79a33f Fixed issue 82: Resizable Canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@420 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 15:59:29 +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 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 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 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
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 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 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 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 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 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 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 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 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 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 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 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 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
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 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 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 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
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
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 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
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