Commit Graph

637 Commits (ff41dea34a285fc4573ddd4a87505f42bb3a0403)

Author SHA1 Message Date
Alexis Deveria ff41dea34a Added option to set background color/image to editor (issue 39)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@869 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 14:56:09 +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 18a9d20cfd Fixed issue 290 using method in comment #9
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@864 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 19:21:48 +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 d7b4958559 Added wireframe mode - Issue 106
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@857 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 13:40:50 +00:00
Alexis Deveria e253f48991 Minor fix for custom spinner functions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@856 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 12:31:58 +00:00
Alexis Deveria e3fb3b0ac8 Updated jQuerySpinBtn to prevent unwanted input field updates, possibly fixing issue 74
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@855 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-21 12:26:09 +00:00
Alexis Deveria aef268629a Made various CSS changes, changed opacity dropdown to spinner+superdropdown
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@852 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-20 20:06: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 abcb7aa579 Fix Issue 288: Merge ed's patch to make svg-edit a standalone widget
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@834 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-15 21:15:18 +00:00
Jeff Schiller 14dad9f1c8 Fix Issue 180: contextual tool buttons show as pressed in when pressed, also highlighted when hovered
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@833 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-15 14:49:06 +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 f82f098daa Remove revision tooltip as this does not work for the live version on GoogleCode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@831 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 18:01:05 +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 59b6e73e0b Experimenting with svn keywords
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@829 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 16:54:25 +00:00
Jeff Schiller f229d4c12e Fix Issue 280: Update layer list and Move To select box after moving elements. Fix Issue 281: Make side panel resizable up to 300px, make default snap-open size 150px
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@828 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 16:29:28 +00:00
Jeff Schiller 22bac1eac5 Refresh API docs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@827 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 05:21:40 +00:00
Jeff Schiller 9f3cb7d668 When hovering over a layer name, turn it blue and italic
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@826 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 05:18:52 +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 ca67ea8af2 Fix dragging of side panel so that it doesn't 'stick' to the mouse pointer - woohoo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@824 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 04:50:17 +00:00
Jeff Schiller 3c3de0c936 Tweak side panel div and handle so that the canvas' vertical scrollbar is still draggable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@823 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 04:25:44 +00:00
Jeff Schiller 2b6d0c467b Add shortcut key (X) to eXpand/collapse the side panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@822 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 04:16:48 +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
Jeff Schiller 87811c0fb8 More tweaking to the Layers panel. Added some missing API doc files.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@820 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 02:50:07 +00:00
Alexis Deveria 1f7b1f19f5 Fixed issue 213 by allowing a custom function as a step parameter to jQuerySpinBtn.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@819 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 18:30:44 +00:00
Jeff Schiller 7a784ad87c Rename Poly Tool tooltip to Path Tool (only in English translation)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@816 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 15:11:12 +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