Commit Graph

329 Commits (1cb98fe0fc3f61c47f44b5f869f7efc5c7f50afd)

Author SHA1 Message Date
Jeff Schiller 1cb98fe0fc Fix Issue 274: pasting in text has pointer-events problems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@806 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 00:48:05 +00:00
Alexis Deveria 3509ab975f Fixed behavior of last node on open path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@805 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-12 20:26:03 +00:00
Alexis Deveria 9ea9b36653 Mostly fixed latest bugs on Issue 118
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@803 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-12 18:33:27 +00:00
Alexis Deveria 83f1c79e6b Made poly points moveable after rotation. Oh yes.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@802 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-12 14:29:21 +00:00
Jeff Schiller 1f48bbcedf Fix Issue 270: element selectable again. Remove setting of pointer-events to 'none' on all children as they all inherit now from the layer
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@799 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 07:35:21 +00:00
Jeff Schiller b1393df28c Move-To-Layer control now lives in the Layers panel. Restructured layout of layers panel and added a non-functional handle. Changed pointer-events to be 'inherit' for all elements inside the layer. Clear selection after moving elements to a layer.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@797 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 04:32:21 +00:00
Jeff Schiller 2549e8ddd6 Fix Issue 227: Move elements to a different layer. Also document all of the Layer API functions of SvgCanvas.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@796 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-10 21:46:06 +00:00
Jeff Schiller eab1e7ccb6 Fixing recalculateDimensions() for absolute segments - final pass
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@795 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 20:31:24 +00:00
Jeff Schiller 09b1c5ff18 Fixing recalculateDimensions() for absolute segments - first pass
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@794 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 20:14:00 +00:00
Alexis Deveria 63a0b47e4f Started poly conversion to only use absolute values. Re-introduces poly bugs, mostly breaks recalculateDimensions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@793 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 19:47:32 +00:00
Jeff Schiller 1ecb018dd4 A start on documentation for SvgCanvas using NaturalDocs. You will need to download the NaturalDocs and put it in svg-edit/naturaldocs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@788 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 19:07:52 +00:00
Jeff Schiller 6cb43ab4ad Implement a convertToD() function to help solve Webkit path problems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@787 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 17:02:21 +00:00
Alexis Deveria efbf55f1a2 Added drop-down list for segment types, made some code more efficient, made polys go into polyedit mode after creation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@786 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 15:29:40 +00:00
Jeff Schiller 48a2aa8dc7 Fix Issue 228: Cloned children are given unique ids
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@785 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 05:34:01 +00:00
Jeff Schiller f7fb4255b6 Fix Issue 260: Ensure defs do not get shoved into a new layer
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@784 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 02:14:47 +00:00
Jeff Schiller 3459ea9a86 Clean up elements as we serialize them to text. Remove default value of display attribute
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@779 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-08 17:02:23 +00:00
Jeff Schiller bb38edf3db Fix new layer naming code by antimatter15. Fix rotation of groups problem.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@777 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-08 02:16:36 +00:00
Alexis Deveria 0a3c2c56a1 Partially fixed rotation on polys with curves, moving single rotated nodes is still broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@776 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-07 20:16:35 +00:00
Alexis Deveria 2c2e7637f2 Fixed most bugs related to zoom on polyedit and editing a non-closed poly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@775 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-07 18:56:03 +00:00
Alexis Deveria 94f99e937a Added clone node option, cleaned up some poly point code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@774 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-07 16:04:32 +00:00
Jeff Schiller 73160a7da0 Fix Issue 259: Allow groups to change attribute values
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@770 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 22:06:01 +00:00
Alexis Deveria 86ea5568a1 Added ability to delete the selected poly node
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@765 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 19:09:39 +00:00
Alexis Deveria ffc935ffea Added ability to select and modify x/y values of single poly node
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@763 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 13:50:44 +00:00
Jeff Schiller d46bdcba0d Issue 251: Translate text into proper XML
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@761 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 08:16:41 +00:00
Jeff Schiller aacc77b6a6 Fix Issue 254: Handle Webkit's use of matrix transforms, merging Peter's patch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@752 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-02 23:19:11 +00:00
Alexis Deveria 17ab1563d3 Improved poly-editing code, also prevents accidental creation of additional node
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@751 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-02 15:05:31 +00:00
Jeff Schiller 7589875f02 A fix for Issue 250: merge metaphorically's patch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@750 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-02 06:08:45 +00:00
Alexis Deveria 2e4833de6d Removed pointer-events style on serialization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@749 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-01 17:45:49 +00:00
Jeff Schiller ca90b17fe2 Fix Issue 204: rotation on elements in a group preserved. Fix Webkit bug where cloned element's rotation was not preserved.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@748 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-30 20:11:08 +00:00
Jeff Schiller a689875c27 Fix for odd polyedit drag error when a poly is rotated (Issue 118)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@741 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 20:49:18 +00:00
Alexis Deveria fd972c7901 Fixed undo/redo on poly segment change and control point edit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@737 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 19:21:10 +00:00
Alexis Deveria ca24dd3caf Fixed polyedit on zoom and poly disappearing on serialization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@736 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 18:11:52 +00:00
Jeff Schiller 490b762441 Also, find all orphaned group elements too
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@735 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 18:00:14 +00:00
Jeff Schiller d11818bec0 Only stuff orphaned children into a layer if they have a bbox. Also remove some stray bits of logging left in
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@734 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 17:55:51 +00:00
Jeff Schiller c588d0d74d Issue 118: Fixed problem when selectorParentGroup hangs around after clearing the document
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@730 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 17:01:28 +00:00
Alexis Deveria 451a5f518b Added many more fixes to curve editing/node moving
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@729 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 15:58:46 +00:00
Jeff Schiller d4eb298c44 Fix Issue 245: Webkit normalizes points attribute, dropping commas. Merge Peter's patch in
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@728 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 13:50:47 +00:00
Jeff Schiller 0bb9fc0183 Fix Issue 234: Next/prev select navigation was broken with layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@727 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 03:23:52 +00:00
Jeff Schiller d701c8e4c0 Fix Issue 244: Merge in Peter's fix to prevent perfectly horizontal/vertical lines from being messed up when resized
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@724 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 03:10:29 +00:00
Jeff Schiller 6f5a5f1030 Make canvas relatively positioned in workarea, centered in the workarea if small enough
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@722 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 20:14:18 +00:00
Narendra Sisodiya dd9f351ae3 Adding Cursor for rotation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@720 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 18:19:22 +00:00
Alexis Deveria 7420fb104c Fixed re-selecting polygon with curves (still mostly broken after moving, however)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@716 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-25 20:03:20 +00:00
Alexis Deveria 6483fd383c Started an implementation of Issue 118 (curved segments). Segments can now be changed to curves by double-clicking on the initial node grip.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@714 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-25 17:59:32 +00:00
Alexis Deveria d1fe17fc60 Prevented single point polys and polylines from being created, fixes Issue 104
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@705 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 16:05:23 +00:00
Jeff Schiller 4ec6be307a Fix Issue 73: Implement Layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@704 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 04:48:40 +00:00
Jeff Schiller 10cd262372 Minor nit fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@702 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 03:14:43 +00:00
Jeff Schiller e2f68c00e9 Fix Issue 224: Elements not in layers are now automatically put into a new layer. Also fix hiccup from r696.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@701 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 03:13:25 +00:00
Jeff Schiller 9e70447b5d Fix Issue 161: Add feeds to editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@697 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 16:18:04 +00:00
Alexis Deveria c8b1cfd3a2 Added 'Fit to layer content' zoom option and optimized code for setBBoxZoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@696 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 15:29:55 +00:00
Jeff Schiller 3c99c90d18 Tiny commented-out experiment for the thumbnail mentioned in Issue 208
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@691 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 14:28:03 +00:00