Commit Graph

63 Commits

Author SHA1 Message Date
Jeff Schiller
60c266b7f8 Fix to previous change so that the selected outline rect is not selectable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@69 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 12:46:04 +00:00
Jeff Schiller
2d38e17386 Fix moving elements without fill (using pointer-events:all), also this seems to fix the cursor issue in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@68 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 12:32:08 +00:00
Pavol Rusnak
ac9d093d82 use other form of static class definition
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@66 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 09:08:45 +00:00
Pavol Rusnak
6c65abb188 moved base64 code into static class named Utils
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@65 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 08:09:15 +00:00
Narendra Sisodiya
d170302f39 Added a locally saveImage as base64 encoded
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@62 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 07:24:58 +00:00
Jeff Schiller
7103e25a2f Fix last bit of Issue 12: Show move cursor when hovering over visible elements in Select mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@61 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 02:55:15 +00:00
Jeff Schiller
01fde3a807 Fix Issue 12: Ability to move elements around the canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@59 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 02:17:07 +00:00
Pavol Rusnak
b071868af4 small details
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@58 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 15:43:51 +00:00
Vidar Hokstad
897604b863 Return svgCanvas from the setup function for convenience
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@57 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 15:07:57 +00:00
Vidar Hokstad
a96efbd6f9 Added comment about using the Google hosted jQuery
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@56 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 15:04:55 +00:00
Vidar Hokstad
eda277720e Initial commit - this versions is *not* currently working, and is in process of being adapted to the trunk vesion of SVG Edit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@55 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 15:03:22 +00:00
Vidar Hokstad
e9024ed4cc The wave gadget can't rely on the editor initializing on the 'ready' event, so make it a function and handle the 'ready' event from the svg-editor.html file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@54 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 13:11:01 +00:00
Pavol Rusnak
7e9e85f9d3 add more mime-types
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@53 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 11:33:30 +00:00
Pavol Rusnak
ca3d604e3d svn propset svn:mime-type text/html svg-editor.html
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@52 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 11:28:55 +00:00
Pavol Rusnak
c0eb70f545 replaced jQuery with version hosted at google
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@51 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 10:48:57 +00:00
Pavol Rusnak
47603917c9 cleanup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@50 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 10:27:55 +00:00
Jeff Schiller
d346bd02ee Fix issue 6: Select elements in the editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@49 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 05:07:23 +00:00
Vidar Hokstad
d6057f0674 Removed dependency on svgcanvas.svg by creating the SVG element via javascript
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@48 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 00:17:21 +00:00
Pavol Rusnak
8a55732a30 put server-save into "extras"
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@47 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 23:54:53 +00:00
Narendra Sisodiya
35e68a1dd5 Fixed issue 9 - Add Save svg to Server feature
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@46 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 20:55:23 +00:00
Vidar Hokstad
7e9dc51d82 Preventing 'changed' events from happening when a new temporary element is added
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@45 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 18:37:43 +00:00
Vidar Hokstad
4ec40a2226 Added deletion event
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@44 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 18:35:41 +00:00
Vidar Hokstad
4d33fb925e Added support for plugging in event handlers - will allow the wave gadget to receive state notifications without any wave specific code in the editor itself
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@43 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 18:34:42 +00:00
Vidar Hokstad
d5ba10b166 Hoisting common code bits out of the mouseUp switch/case block
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@42 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 17:53:38 +00:00
Vidar Hokstad
800c3f0090 Removed redundant getElementById
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@41 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 17:09:26 +00:00
Vidar Hokstad
3aa51e81c3 Shortened some of the attribute setting code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@40 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 17:06:44 +00:00
Vidar Hokstad
09fb1d6c5c Switched another id to use getId()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@39 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 13:21:45 +00:00
Pavol Rusnak
4aedad493b add getters
fix transparent handling in picker


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@38 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 12:25:26 +00:00
Pavol Rusnak
979949da7a forgot one line
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@37 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 14:05:28 +00:00
Pavol Rusnak
f2d90fe0d3 replaced Farbtastic with jPicker, because of the license issues
change license to Apache License v 2.0


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@36 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 14:02:34 +00:00
Vidar Hokstad
c9e42a4783 Missed an id change
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@35 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 13:20:04 +00:00
Vidar Hokstad
5d06fc70e8 Move id generation to a separate private method: getId() - this reduces the diff against the wave version considerably, as the wave version need to include the viewer id in the element id's to prevent them from clobbering eachothers new objects
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@34 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 12:33:02 +00:00
Vidar Hokstad
d1df328cd3 Changed top.SvgCanvas to parent.SvgCanvas. Using top causes problems with having more than one canvas per browser window/tab
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@33 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 12:23:24 +00:00
Jeff Schiller
6799707fc7 Fix Issue 5: flyout menus collapse when color picker activated
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@32 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 00:15:17 +00:00
Pavol Rusnak
411f6d7aec change dir layout
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@31 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-04 22:16:59 +00:00
Pavol Rusnak
5fdd8ba9d7 it's enough to set opacity once :-)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@30 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-04 13:51:15 +00:00
Pavol Rusnak
3debc78945 control group, fill, stroke opacity
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@29 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-04 13:43:58 +00:00
Pavol Rusnak
25921700d5 fix issues 1,2,3
add CHANGES


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@28 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-04 10:58:47 +00:00
Pavol Rusnak
6543e7e872 fix last commit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@27 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-04 10:42:01 +00:00
Narendra Sisodiya
936afe0c98 Issue 2 : Upon clicking a flyout menu, the other flyout menus should collapse, patch by codedread
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@26 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-04 07:13:31 +00:00
Narendra Sisodiya
848ad0fc40 Tooltips mising from editor : patch by codedread,
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@25 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-04 07:01:16 +00:00
Pavol Rusnak
bf2738da8b add README
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@23 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-03 15:31:06 +00:00
Pavol Rusnak
050fac94c8 add project page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@22 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-03 15:08:51 +00:00
Pavol Rusnak
23badac757 make square/circle selecting more cooler :-)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@21 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-03 15:00:48 +00:00
Pavol Rusnak
d01e3497b5 improved design
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@20 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-03 13:03:10 +00:00
Pavol Rusnak
cf317f0171 fix typo and change getFloatTrait to getAttribute
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@19 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-03 08:51:50 +00:00
Pavol Rusnak
e7a483f029 don't add elements when not needed (eg. size = 0 x 0)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@18 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-03 08:41:25 +00:00
Pavol Rusnak
2255a31427 cleanup added elements in mouseUp
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@17 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-02 16:40:33 +00:00
Pavol Rusnak
3f7f4165bf added farbtastic color wheel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@16 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-02 12:52:44 +00:00
Pavol Rusnak
4b45e56dda rename canvas to svgcanvas to avoid confusion
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@15 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-02 11:09:49 +00:00