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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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