Commit Graph

356 Commits (5ade7006c1af30cf62e92462108d2d976b3188df)

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