Commit Graph

1741 Commits (4bb15e0fb6e828bca4bb0d20bb0fa8cb864f1ca9)

Author SHA1 Message Date
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
Pavol Rusnak 33e611ed89 replaced delete icon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@172 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-22 19:54:46 +00:00
Pavol Rusnak 7b5f08b849 add icons for freehand square/circle
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@171 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-22 13:31:48 +00:00
Jeff Schiller 407c50f9f5 Start on Issue 27: show grips in the selected outline (they do not do anything yet though)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@156 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-18 05:08:47 +00:00
Jeff Schiller 49a4625622 Update version number to 2.2-preAlpha
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@150 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-18 04:32:10 +00:00
Jeff Schiller dd02ec3afc Final checkin for 2.1, removing beta from version
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@148 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-18 04:23:24 +00:00
Jeff Schiller df524d2fbc Fix Issue 21: Opera/WebKit sometimes messed up the bounding box calculation. Also prevented WebKit from deleting the canvas.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@147 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-18 04:20:03 +00:00
Pavol Rusnak 28af49697d added move to top/bottom feature
reworked context panels


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@144 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 20:08:53 +00:00
Pavol Rusnak 2be195c275 fixed calculation of base64 array length
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@143 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 19:00:23 +00:00
Jeff Schiller c78b8b6a52 Update comments with relevant WebKit bug information
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@142 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 18:22:32 +00:00
Jeff Schiller 15a46f5551 Fix Issue 25: un-normalize path segments that webkit has munged
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@141 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 18:05:45 +00:00
Jeff Schiller 543308a82d Fix Issue 13: Disable tool buttons when stroke or stroke+fill are none
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@140 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 17:36:00 +00:00
Jeff Schiller 766c9f50c0 Fix Issue 11: WebKit browsers return initial instead of transparent
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@139 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 17:17:11 +00:00
Jeff Schiller f247e8f1b8 Further optimize the base64 encoding function (precalculate array size needed and avoid push)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@138 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 03:20:42 +00:00
Jeff Schiller 033062049f Fix bug in shift-click handling for stroke color
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@137 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 02:21:32 +00:00
Jeff Schiller 8ce1b3fea7 Fix Issue 10: Remove need for right-click and just use shift-click for palette (works on all browsers)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@135 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 02:17:22 +00:00
Jeff Schiller 66b15f760f Fix Issue 16: shortcut keys using js-hotkeys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@134 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 02:04:10 +00:00
Jeff Schiller b4644c1812 Optimize base64 encoding
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@133 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-16 18:51:35 +00:00
Pavol Rusnak 7d9ca03b65 replaced jpicker with minified version
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@132 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-16 18:28:41 +00:00
Pavol Rusnak 836149e61f we don't need base64 decode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@131 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-16 15:47:38 +00:00
Jeff Schiller e1aa6b44b6 Fix Issue 22: remove empty attributes, add EOL for serialization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@130 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-16 02:52:36 +00:00
Jeff Schiller 92f6ff0680 Fix Issue 23: Freehand rect/ellipse tools no longer working
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@129 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-16 02:39:12 +00:00
Vidar Hokstad cf30bd0bb4 Trying to replace the prefix with a mechanism for using a callback for the id; wave.Participant() shouldn't work - Participant() is the constructor for the Participant objects returned from getViewer() etc.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@127 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-12 18:34:28 +00:00
Pavol Rusnak f80d1955aa quote member names in Utils class
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@125 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-12 13:27:42 +00:00
Jeff Schiller 50c81a5d36 Added new cleared event that can be bound for when user clears the document, updated Wave gadget code to handle it
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@117 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-12 12:20:48 +00:00
Vidar Hokstad 02207d9f50 Took id from wrong location
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@114 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-12 11:43:20 +00:00
Vidar Hokstad cb15c66a2e Oops. Left in a conflict marker
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@111 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-12 06:49:34 +00:00
Vidar Hokstad 6c2958278f Added way of changing the prefix used for id's of the elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@110 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-12 06:45:37 +00:00
Jeff Schiller 22696ec690 Add version history to the editor footer
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@101 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-12 02:27:28 +00:00
Jeff Schiller 933ce067d8 Widen the selectedOutline a bit for text elements so that the text is instantly legible
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@98 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-11 15:21:00 +00:00
Jeff Schiller f3bce20321 Add rect radius contextual tool. Fix bug where text elements were 50% opacity by default
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@97 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-11 15:18:46 +00:00
Pavol Rusnak ae3e8650c6 sync gadget with editor
move name from top to footer


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@91 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-10 12:32:24 +00:00
Pavol Rusnak 9d68f75f3a enhance UI
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@90 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-10 08:59:08 +00:00
Jeff Schiller 540115ed3b Fix Issue 17: Add a contextual tool panel and changed the way the Delete tool works
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@87 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-10 04:44:59 +00:00
Jeff Schiller 4e27f43026 Fix Issue 14: manual merge of text-enabled branch into trunk to enable text element creation/editing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@85 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-10 03:12:19 +00:00
Vidar Hokstad 8683c1f14a Additional support for wave gadget state-exchange
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@80 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-09 22:13:13 +00:00
Pavol Rusnak d843eb92dd keyboard handling (work in progress)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@79 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-09 13:28:37 +00:00
Pavol Rusnak 69eabb16b9 fixed CSS
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@78 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-09 06:20:19 +00:00
Narendra Sisodiya 064872de1e Added broder to svgcanvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@77 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-09 06:12:57 +00:00
Pavol Rusnak 8fb76ac6f8 (hopefully) fixed odd behaviour in Firefox 2.x
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@76 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-09 06:03:36 +00:00
Pavol Rusnak 882c59d800 update stroke-style in UI too
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@73 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 16:28:48 +00:00
Pavol Rusnak e55567b892 don't use setAttributeNS when setAttribute is enough
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@72 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 15:05:12 +00:00
Jeff Schiller 7d480a8df5 Fix Issue 8: Add tooltip to palette so that right-click capabilities is discoverable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@71 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 13:10:23 +00:00
Jeff Schiller 02de42049e Remove debug alert, woops
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@70 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 12:55:55 +00:00
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 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 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