Commit Graph

521 Commits (fc41d62a66e6f8ad8efe7072ac3513540a555e4c)

Author SHA1 Message Date
Jeff Schiller 27064ff8da Update some TODOs, comment out some no-longer needed code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@973 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:54:43 +00:00
Jeff Schiller 7b6a304520 Remove some logging debug code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@972 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:33:28 +00:00
Jeff Schiller 1387116be6 Fix rotation of resized groups for Firefox/WebKit, Opera still semi-broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@971 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-24 06:10:33 +00:00
Jeff Schiller 11ed30d303 Fix more of Issue 338: rotations in opera do not collapse scales now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@970 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 17:39:01 +00:00
Jeff Schiller 4bb363466f Fix second problem of issue 338 by truly recalculating the new center from the bbox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@968 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 16:24:01 +00:00
Jeff Schiller ceb89dd557 Fix undo problem when moving rotated/resized groups due to global start_transform variable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@965 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 03:45:18 +00:00
Jeff Schiller f633ddeb11 Fix Issue 111: Finally got the math right for group transformations including translation, rotation, resizing. Still broken: Undo for transforming groups. Still massively broken: Ungrouping (Issue 204)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@964 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 00:50:09 +00:00
Alexis Deveria 03d2a3e32b Fixed issue 266 by changing the viewBox to width/height on serialization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@962 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 18:10:59 +00:00
Alexis Deveria 6d2729cf6b Fixed issue 287 by adding x,y fields for freehand lines, paths and groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@961 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 17:17:55 +00:00
Alexis Deveria 2441b75477 Fixed issue 330 (rotation on zoom) and other small bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@960 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 15:40:05 +00:00
Alexis Deveria afabb249cb Made inverted resizing work for most elements. Selection boxes still need fixing, though
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@959 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 20:16:29 +00:00
Alexis Deveria 40cd489b4c Fixed Opera rotation bug in Issue 330
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@956 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 16:08:16 +00:00
Alexis Deveria 383ef4a290 Replaced modal dialog boxes with HTML ones, fixed issue 335 and other minor image bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@955 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-19 15:09:21 +00:00
Alexis Deveria 5f4caf6c53 Finished up changes to inline image behaviour, many fixes from last update
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@953 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-18 16:50:25 +00:00
Alexis Deveria 3380cc0326 Made various changes to image handling, will now change Data URI back into URL on import (if possible). Mork work still needed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@952 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-17 21:36:59 +00:00
Alexis Deveria 899a812b4a Possibly fixed issue 191 by adding an option in the doc props
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@951 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-17 16:42:04 +00:00
Alexis Deveria 3d3c1f4454 Made Opera rotation less broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@949 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 19:17:18 +00:00
Alexis Deveria b0d826a24b Fixed issue 309: Opening the source code editor breaks the ungrouping of rotated groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@948 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 18:06:30 +00:00
Alexis Deveria e9ff3cf682 Fixed issue 329, also made zoom reset on New Image. Made some code more efficient.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@947 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 17:04:19 +00:00
Alexis Deveria 082523f7f7 Fixed issue 331 and updated svg-icon-loader
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@946 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 15:19:51 +00:00
Alexis Deveria 0278caccd8 Hopefully finally fixed gradient serialization issues in Opera/Win/Non-en
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@945 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-13 20:45:18 +00:00
Alexis Deveria d4fcca35ae Added shift-for-equal-width&height option when drawing rects, ellipses and images
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@943 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-13 16:55:58 +00:00
Alexis Deveria 5e7da751ec Made small improvements to small icon mode, added fixed ratio resize option for resize+shift
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@942 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-13 15:11:48 +00:00
Alexis Deveria df497438a9 Fixed issue 320: Make the rotation handle appears on groups right after grouping
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@937 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 20:15:42 +00:00
Alexis Deveria b9058e5b1e Fixed selection box positioning when dragging while zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@936 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 20:08:04 +00:00
Alexis Deveria 38242ad3d6 Fixed alignment tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@935 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 18:38:13 +00:00
Jeff Schiller 3924530ea3 transformlist branch: more refactoring. groups can be rotated, translated, resized. still buggy when resizing rotated groups but checking it in anyway. ungrouping still surely broken
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@932 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 05:02:11 +00:00
Jeff Schiller 70745df23a Fix matrixMultiply() to properly seek rotate/scales
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@929 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 07:42:23 +00:00
Alexis Deveria a5ae9e78de Fixed issue 325: Finishing an open path - Ghost segment
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@925 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 16:43:02 +00:00
Jeff Schiller d7c3f73d02 transformlist branch: fix some undo problems, remove some more dead code
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@924 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 15:16:49 +00:00
Jeff Schiller f603b01efc transformlist branch: Can resize groups as long as they are not rotated. Rotating groups still broken. Ungrouping still broken
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@923 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 07:15:29 +00:00
Jeff Schiller 0fc63a2992 transformlist branch: update comments/notes, remove logging
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@921 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 21:05:57 +00:00
Alexis Deveria 8488743d55 Moved rotated BBox calculation from alignSelectedElements to getStrokedBBox to fix selection box on rotated elements in groups
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@920 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 20:54:42 +00:00
Jeff Schiller 0d61f80f93 transformlist branch: collapse adjacent group scales to one translate-scale-translate
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@918 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 20:06:07 +00:00
Jeff Schiller c3d6520928 transformlist branch: Fix a bug, N is not a constant. Also remove some dead code and add some more notes.
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@915 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 16:39:29 +00:00
Jeff Schiller 700604749b transformlist branch: more work on transforms for groups (can now move groups around but not rotate/scale them, ungrouping still broken)
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@914 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 15:17:59 +00:00
Jeff Schiller ea383530dd transformlist branch: change transformToString to transformToObj and refactor some more code
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@911 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-05 15:44:03 +00:00
Jeff Schiller 516703cac7 transformlist branch: Fix proper sizing of selector boxes
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@906 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-04 15:30:10 +00:00
Alexis Deveria b0d565bdeb Stopped rounding of circles, added fix for importing SVG on Opera/Win/Non-EN
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@903 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 21:16:36 +00:00
Alexis Deveria e726d8e9b1 Prevent selection box from scaling on resize using original method
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@901 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 17:47:33 +00:00
Jeff Schiller 85d35b6cbd transformlist branch: fix scaling or rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@900 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 15:59:27 +00:00
Alexis Deveria f9b4b0a647 Small fix to allow moving of multiple elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@899 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 14:27:33 +00:00
Jeff Schiller f2893ff847 Base check-in of transformlist refactoring
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@898 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 20:09:02 +00:00
Alexis Deveria d0784dcabd Fixed several group selection bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@896 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 19:18:37 +00:00
Alexis Deveria f15a2da457 Made selection box on groups include strokes. Possibly fixes Issue 289
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@895 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 17:11:37 +00:00
Alexis Deveria 29677a5721 Fixed issue 300
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@894 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 14:29:12 +00:00
Alexis Deveria 4f504d8b7b Fixed issue 316: order is reversed after grouping
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@893 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-02 13:14:59 +00:00
Jeff Schiller eb85ba8061 More work on SVGEditTransformList - update now works properly with rotations around a point
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@892 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-01 20:55:01 +00:00
Alexis Deveria 20d7b92b58 Added more SVG icons, added experimental option to change icon size, fixed clone offset on zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@889 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-30 19:39:33 +00:00
Alexis Deveria 0e578d675c Fixed issues 269 and 307, added clone SVG icon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@888 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-29 19:43:34 +00:00
Alexis Deveria e960db29ff Made various zoom improvements, fixed zoom centering on spinner zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@887 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-29 17:19:07 +00:00
Alexis Deveria fc92f6fff1 Fixed incorrect Fit to Content crop by making getVisibleElements ignore groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@886 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 19:20:56 +00:00
Alexis Deveria b59e989b12 Fixed issue 296: Align tools do not align properly when the zoom is active
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@885 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 18:50:12 +00:00
Alexis Deveria a7b3b7dd25 Made zoom work on Shift+mousewheel (fails in Opera), made zoom out work on Shift+click in zoom mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@884 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 18:04:38 +00:00
Jeff Schiller 3d5fa78f67 Add an update() function to SVGEditTransformList
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@882 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 14:09:46 +00:00
Jeff Schiller 544a06863e First chunk of code that will be used for transform list refactoring - code is currently unused
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@880 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-27 20:54:29 +00:00
Alexis Deveria 3dcd17f4b1 Fixed issue 311: Angle of rotation value isn't updated when the rotation is made with the handle. Also made opacity options hide while dragging slider
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@878 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-27 13:24:18 +00:00
Alexis Deveria c287c5a531 Fixed issue 304, changed status of project to alpha
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@877 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-26 14:28:48 +00:00
Alexis Deveria 0fa6da2afc Fixed Issue 232: undo after fit to content (Document properties)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@876 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-23 18:03:48 +00:00
Alexis Deveria 80696e17eb Fixed issue 292: Change the color of the handles of the segment selected in pathedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@875 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-23 17:27:37 +00:00
Alexis Deveria b1c24d5920 Import/export changes: All numbers are now rounded on export. Paths now always import as absolute vals, and export to relative ones.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@874 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-23 15:21:27 +00:00
Alexis Deveria f008e8f4d0 Fixed Issue 279 by hiding bottom tools on pathedit mode, also fixed other minor problems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@871 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 19:36:04 +00:00
Jeff Schiller 5984c2643c Minor improvement to mouse_target code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@868 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 13:20:41 +00:00
Jeff Schiller 04269414a9 Commonize the discovery of the mouse target in the mousedown function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 03:29:49 +00:00
Jeff Schiller a39af2b6d7 Refinement of math from previous check-in (avoiding some DOM calls)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@866 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 03:18:54 +00:00
Jeff Schiller 5ade7006c1 Potentially fix Issue 193: Use inverse of screen CTM on mouse event coordinates to get to relative SVG coordinates
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@865 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 03:07:15 +00:00
Alexis Deveria 6efc057a5a Fixed issues 282 and 283
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@863 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 18:47:23 +00:00
Alexis Deveria dabc8c5e94 Renamed svgzoom variable/id to svgcontent, removed ID on serialization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@859 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 15:12:32 +00:00
Alexis Deveria 8c4413996d Fixed issue 293: Negative scaling paths does not work
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@858 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 14:25:55 +00:00
Alexis Deveria a0d4f0e263 Changed font drop-down list to spinner, now uses px rather than pt
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@849 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-20 15:50:58 +00:00
Alexis Deveria 39e71579e3 Made Image Title change undoable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@845 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-20 13:49:53 +00:00
Jeff Schiller b07c171d83 Add fill-rule, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit to whitelist. Add some notes for reducing transforms.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@844 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-19 20:13:52 +00:00
Alexis Deveria df8c220714 Added ability to set title for image (issue 125). Also: use native base64 encoder if found when encoding
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@843 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-19 19:06:07 +00:00
Jeff Schiller e667d63ac8 Rename all script/UI poly elements to path. Add TODOs for localization. Change MIME type of lang.XX.js files to text/javascript to better track in Subversion.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@842 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-18 20:46:32 +00:00
Jeff Schiller 0cdbb8d584 Rename 'path' mode to 'fhpath' (freehand path)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@841 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-18 20:04:26 +00:00
Jeff Schiller d71d97b678 Fix new selection behavior for paths. Add switch, requiredFeatures, systemLanguage, desc to whitelist. Rename polyedit to pathedit universally. Cleaned up code a bit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@840 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-17 20:29:56 +00:00
Jeff Schiller bfcff65bbe Removal of some debugging code and commented out code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@839 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-16 20:08:36 +00:00
Jeff Schiller 3605849bdd More selection refining - only select an element if we've clicked, not dragged
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@838 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-16 20:07:15 +00:00
Jeff Schiller af80ae4ff8 Prevent going into select mode when rotating, resizing or editing path nodes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@837 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-16 18:21:31 +00:00
Jeff Schiller 9ecaddbd94 Fix Issue 291: keep tool by default, automatically switch to select mode if clicking on a shape
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@836 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-16 18:01:05 +00:00
Jeff Schiller 211c478bf0 Add some tooltips to path control nodes. Add code for fetching data: representation of raster images (commented out)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@835 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-16 13:17:23 +00:00
Jeff Schiller 644310d412 Fix Issue 155: non-ASCII characters now work in text elements via XML numeric references
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@832 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 18:49:35 +00:00
Jeff Schiller b7b63157ca More experimentation with SVN keywords
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@830 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 16:57:31 +00:00
Jeff Schiller 8ce44e7755 Fix Issue 233: Highlight the layer when its name is hovered
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@825 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 05:11:51 +00:00
Jeff Schiller 923aa6abb6 Fix Issue 231: Opera again now shows shapes being redrawn. Opera does not like suspendRedraw() apparently
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@821 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 03:03:13 +00:00
Alexis Deveria ad90154077 Added segment selection line for paths
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@815 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 14:52:51 +00:00
Jeff Schiller 5771e91e13 Fix serialization of xml:space attribute. Restore copying of text elements.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@814 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 05:41:32 +00:00
Jeff Schiller 79522f7434 Prompt user when moving elements to a layer. Remove some dead code. Comment more prompts needing localization.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@812 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 03:16:02 +00:00
Jeff Schiller 91d450b5cb More SvgCanvas API docs updates
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@811 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 02:48:27 +00:00
Jeff Schiller 588902cecf More API Docs updates
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@810 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 02:35:36 +00:00
Jeff Schiller 47852b96a0 Updated API docs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@809 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 01:40:38 +00:00
Jeff Schiller fb54e70a6b Fix Issue 273: preserve whitespace in text elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@807 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 00:51:15 +00:00
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
Alexis Deveria 428481b7ef Fixed issue 220 by creating manual clone function for Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@690 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 13:43:13 +00:00
Jeff Schiller 2033115a3e Switch order of layers (top-most layer is the one that is rendered on top now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@689 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 03:05:27 +00:00
Jeff Schiller 6b0bec3a0d Enable console.log() for Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@688 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 21:50:55 +00:00
Jeff Schiller 7ce74cf04d Temporary debugging
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@687 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 21:30:37 +00:00
Jeff Schiller 2f89a7b311 Comment out unused code. Add meta tag for Google Chrome Frame plugin for IE.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@682 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 19:28:33 +00:00
Jeff Schiller 573b350721 Fix cloning issue with layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@681 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 18:58:52 +00:00
Jeff Schiller 91a348412e Fix bug where contextual panel was not being updated after deleting an element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@680 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 18:29:15 +00:00
Jeff Schiller 7a4d09d6dd Fix bug in Layers: Moving layers around did not properly update the pointer-events
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@679 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 18:10:54 +00:00