Jeff Schiller
b67871091b
Fix xlink prefix serialization. Final bits of tabination :)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@586 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 11:59:25 +00:00
Jeff Schiller
60b1aa01ba
Fix bug in whitelist that I introduced. FIx more tabination. Move image tool after polygon and add shortcut key (8)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@585 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 11:34:51 +00:00
Jeff Schiller
93cfb44e91
Use global variable xlinkns. Fix tabbing/indentation.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@584 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 11:19:42 +00:00
Jeff Schiller
5fe5ce2fe6
Add transform to image whitelist so that images can rotate. Add xlink:title too
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@583 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 11:18:08 +00:00
Kevin Kwok
f349b4e91f
Fixed error with setting image url
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@582 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 23:13:15 +00:00
Jeff Schiller
83df0e1403
Add more whitelisted attributes for the <image> element. Add XLINK namespace to svg root.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@581 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 23:08:27 +00:00
Kevin Kwok
ccef6a0f49
Image drawing support
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@578 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 22:22:40 +00:00
Jeff Schiller
40e51e83c2
Fix Issue 178: Selector boxes disappearing after New document
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@567 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 17:44:08 +00:00
Jeff Schiller
2dd77453a9
Another fix for Issue 172: restore the rubber-band box for multiselect
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@566 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 17:23:56 +00:00
Jeff Schiller
26f1b5bb0c
Fix Issue 177: rotation point should always be an integer (should avoid Opera 10 bug on non-English systems)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@565 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 16:48:20 +00:00
Alexis Deveria
b995f1663a
Fixed last part of issue 172
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@564 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 16:26:48 +00:00
Jeff Schiller
4ec916cf9b
Remove TODOs for rotator branch - they are done
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@560 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 14:32:58 +00:00
Alexis Deveria
062fcebe70
Fixed variable name change
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@559 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 13:42:44 +00:00
Jeff Schiller
14f42e8621
Fix Issue 172: ensure the selector manager is re-initialized upon clearing the document
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@556 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 06:36:37 +00:00
Jeff Schiller
701549a404
Fix gradients broken from previous checkins
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@555 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 06:30:18 +00:00
Jeff Schiller
c9c771392d
Fix most of Issue 170: Remove undoable fill/stroke/opacity changes upon creation of elements. Fix setting fill/stroke paint opacity.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@554 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 06:11:04 +00:00
Jeff Schiller
c6847f23ad
Fix Issue 158: Problems with redo/undo and rotated elements. Refactor of code for Issue 170.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@553 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 05:10:48 +00:00
Alexis Deveria
14eac24ffa
Fixed rotate bug in Webkit in issue 163
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@538 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-03 17:03:07 +00:00
Jeff Schiller
d3cca22e7c
Partial fix for Issue 158: rotations can be undone when using the angle context panel control
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@530 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 22:17:04 +00:00
Kevin Kwok
082adbfeb2
undid the last one, copy the selectedElements when deleting
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@527 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 18:22:35 +00:00
Kevin Kwok
d10ed7bb08
deleted event
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@526 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 18:17:14 +00:00
Kevin Kwok
74cb13b6d7
bind now returns the previously bound function
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@524 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 16:51:11 +00:00
Alexis Deveria
4225c9e318
Fixed issue 154: Cannot set Text stroke to 0 after it has been changed to non-zero
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@521 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 19:52:34 +00:00
Jeff Schiller
3557a0a94b
Fix Issue 159: loop the right way when cloning elements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@520 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 19:47:25 +00:00
Alexis Deveria
ee2e362b1a
Fixed issue 146: Rotating via mouse should only be undoable as one action
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@519 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 15:26:26 +00:00
Alexis Deveria
781cde5190
Fixed Issue 153: z-index of the clones is inverted when you clone several objects at once
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@518 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 14:14:19 +00:00
Jeff Schiller
4fd3442a0c
Fix Issue 151: fill, fill-opacity added to whitelist for polyline
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@516 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 22:41:17 +00:00
Alexis Deveria
e82ccf8f18
Fixed grip cursor update for multiple rotated elements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@515 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 20:05:52 +00:00
Jeff Schiller
abdafedeae
Really fix rotation of poly point grips when there are multiple paths with some rotated
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@513 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 19:24:45 +00:00
Jeff Schiller
b05937aabc
Fix rotation of poly point grips when the path was not rotated
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@512 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 19:19:07 +00:00
Alexis Deveria
bf280af753
Fixed Issue 143: Opera 10 on Windows XP stopped rendering clones of objects with opacity different from 100%
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@510 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 18:52:59 +00:00
Jeff Schiller
c53ad929c6
Fix Issue 141: can edit poly after pasting in SVG source
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@509 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 18:02:15 +00:00
Jeff Schiller
1b3ada5449
Fix Issue 150: Merge antimatter15's patch - thanks
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@508 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 17:48:36 +00:00
Alexis Deveria
402187cba4
Fixed issue 149: Make the object navigation start at the first object when the last one is reached
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@507 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 17:03:33 +00:00
Alexis Deveria
ee2e10565d
Fixed more bugs related to r505
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@506 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 15:59:42 +00:00
Alexis Deveria
f311e73f0f
Fixed issue 142: Gradients taking over
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@505 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 14:54:59 +00:00
Jeff Schiller
97136649f7
Fix Issue 145: Moving multiple rotated elements has wrong selector box and position
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@502 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-30 02:37:16 +00:00
Jeff Schiller
bd613bd118
Check that poly_stretch_line exists before hiding
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@501 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-30 02:24:20 +00:00
Jeff Schiller
f8e513e936
Fix Issue 144: Undo/redo poly editing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@500 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-29 22:10:52 +00:00
Jeff Schiller
3118679dfe
Fix Issue 134: Correctly center the selector box after a rotated poly has been edited
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@499 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-29 18:38:34 +00:00
Jeff Schiller
ec75f35c7a
Whitelist text-anchor attribute on text. Partial work for Issue 134.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@498 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 23:12:46 +00:00
Alexis Deveria
96fbe69b9d
Fixed Issue 140: Prevent zero-length lines from being created
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@497 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 20:18:27 +00:00
Alexis Deveria
b81ce1c8e9
Fixed issue 138: Add 0% to the drop-down list for opacity; Added opacity to whitelist
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@496 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 20:03:31 +00:00
Alexis Deveria
8d54485ea4
Fixed issue 139: After copying the SVG code from one window/file to another, object browser SHIFT+O/P function is lost
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@495 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 19:20:54 +00:00
Pavol Rusnak
e64035dc4e
add a comment to output SVG saying 'created with SVG-edit - http://svg-edit.googlecode.com/ '
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@494 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 14:39:53 +00:00
Alexis Deveria
e2556a6574
Fixed selection box size on font family change
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@493 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 13:35:09 +00:00
Alexis Deveria
3a1559b5da
Fixed Issue 128 and other Firefox/text bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@492 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 13:19:47 +00:00
Alexis Deveria
40cb7c0593
Fixed the Firefox bug part in issue 136
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@491 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 12:37:52 +00:00
Jeff Schiller
47d7f769fc
Fix Issue 132: properly position selector box when scaling negatively
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@490 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 22:26:47 +00:00
Alexis Deveria
74c398b151
Fixed Issue 137: Can't change gradient of a text element
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@489 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 18:42:46 +00:00
Alexis Deveria
60020d9cc2
Fixed bug where rotator handle wouldn't appear on text elements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@488 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 14:44:23 +00:00
Alexis Deveria
841d1c24d3
Made updateGripCursors work with negative angle values
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@485 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 12:37:02 +00:00
Jeff Schiller
3bb5c42198
Fix bug: rotated polyedit mode still had a problem
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@484 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 04:43:05 +00:00
Jeff Schiller
cd4dc59027
Fix Issue 129: Selecting/manipulating rotated elements broken in Webkit
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@483 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 04:01:19 +00:00
Jeff Schiller
a46510a015
Integerize the angle when dragging rotation
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@482 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 01:05:59 +00:00
Jeff Schiller
143680e3ee
Final fix for Issue 103: merge in modified patch from antimatter15
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@481 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 01:03:08 +00:00
Jeff Schiller
9467ce13ba
Remaining TODOs for rotate handle
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@480 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 23:15:32 +00:00
Jeff Schiller
223d5352e7
Minor tweak to getIntersectionList(). Added comment for Issue 129.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@479 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 21:50:35 +00:00
Alexis Deveria
ecdcbf7d9b
Changed getIntersectionList for minor performance improvement
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@478 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:59:52 +00:00
Jeff Schiller
5a62f3b209
Second part of Issue 103: tracking of mouse events and new 'rotate' state. Does not actually rotate the element yet.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@477 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:45:28 +00:00
Jeff Schiller
23069bfbfd
First part of Issue 103: rotate handle on the selector box, doesn't do anything yet
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@476 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:09:13 +00:00
Alexis Deveria
328261b9e3
Fixed issue 109: Arrow cursors are properly updated when rotating element
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@473 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 13:59:25 +00:00
Pavol Rusnak
5eb2087f86
missing rx, ry in supported rect attributes
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@472 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 13:03:02 +00:00
Jeff Schiller
0a754d20fd
Fix Issue 93: rotation math issues
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@471 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 05:08:34 +00:00
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
Jeff Schiller
c6df21abfc
Fix Issue 121: Opera duplicates the id attribute on cloned nodes
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@464 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 12:40:58 +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
1366396082
More JS optimization in svgcanvas.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@461 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 20:00:48 +00:00
Alexis Deveria
2aac696964
Fixed bug in last update
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@460 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 19:20:52 +00:00
Alexis Deveria
06069ae984
More JS optimization in svgcanvas.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@459 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 19:19:27 +00:00
Alexis Deveria
13fc0f5d08
JS optimization in svgcanvas.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@458 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 18:39:22 +00:00
Alexis Deveria
d27fcf1da9
Fixed issue 116: Select a shape by dragging the mouse while being in Edit node of a polyline breaks all the tools
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@457 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 17:40:41 +00:00
Jeff Schiller
b006ce9693
Fix final bit of Issue 52: aligning rotated elements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@455 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 15:30:11 +00:00
Alexis Deveria
835574375c
Fixed issue 114: A linear gradient becomes black when the object is selected
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@452 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 12:55:22 +00:00
Pavol Rusnak
2ec215492e
simplify align code, all elements should work now
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@451 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 17:16:27 +00:00
Pavol Rusnak
9543eb4c2e
implement align for text (still missing path polygon polyline)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@450 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 16:39:45 +00:00
Jeff Schiller
c170ea5905
Fix bug when changing positon of a rotated element via contextual panel
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@449 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 03:18:59 +00:00
Jeff Schiller
96cc518072
Rotated elements properly size while mouse down (still a bug when mouseup though)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@448 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-22 19:08:01 +00:00
Alexis Deveria
fa0ea55521
Fixed Issue 98: Blank text field deactives the Selection tool
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@447 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 20:12:01 +00:00
Alexis Deveria
2f4043176c
Fixed 50% opacity on new Element bug
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@445 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 17:02:51 +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
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
Jeff Schiller
790c3402d5
Minor fix to resize polyedit mode
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@428 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 12:21:43 +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
4e17c00920
Fixed issue 86: Text should have different starting fill/stroke properties
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 13:50:41 +00:00
Jeff Schiller
0bb7c15fb0
Fix Issue 101: Minimally size the bounding box for polylines, polygons, paths.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@416 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 05:33:34 +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
62f484f5d5
Partial fix for Issue 101: calculate tightest axis-aligned bounding box for a rotated ellipse
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@414 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 04:49:50 +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
546c96ed14
Fixed bug on rotation created in r408
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@412 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 19:05:42 +00:00
Alexis Deveria
97d9c8b76a
Fixed part of issue 93
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@408 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 16:59:01 +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
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
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
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
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
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
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
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
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
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
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
Jeff Schiller
9c841384bd
Add empty paint_picker div. Also add defs to the whitelist
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@325 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-14 12:52:39 +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
bfb108a7d0
Fixed a bug where selecting an element and then clicking off the element would delete it (resulted from change to how obj_num is handled)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@318 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 04:12:25 +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
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
b3484861e8
Use getNextId() when creating new elements, this ensures uniqueness (even if a file was loaded in)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@311 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-11 13:15:16 +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
45fdd03682
Fix Issue 54: prevent lines and paths from having their fill set
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@283 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-08 04:40:45 +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
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
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
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
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
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
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
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