Commit Graph

379 Commits (f2893ff847329c09212dfbb9c5ba3bf0231accca)

Author SHA1 Message Date
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