Commit Graph

790 Commits (a850fdb34bde17c4247c17c589ffddc790a2cfce)

Author SHA1 Message Date
Alexis Deveria 73f6b976a8 Fixed Issue 265: Allow selection of a user-defined font in the text dialog
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@989 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-02 20:09:36 +00:00
Alexis Deveria 5173ad7eea Added option to link curved segment control points in pathedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@985 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-01 19:26:33 +00:00
Alexis Deveria 7cbb5ebddc Fixed bug related to path reorientation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@984 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:33:37 +00:00
Alexis Deveria 37392020ce Fixed Issue 342: Keyboard rotation broken
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@983 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 21:14:03 +00:00
Alexis Deveria d5f867f0a8 Fixed issue 68 by adding Convert to Path button, also included Reorient Path button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@981 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 19:14:23 +00:00
Alexis Deveria 474690f2a2 Fixed base64 decoder
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@980 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-30 14:05:20 +00:00
Alexis Deveria ac19a9fe15 Added quick and dirty URL param source loader
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@979 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 21:10:48 +00:00
Jeff Schiller 3481940e38 Update selector box to be a path, change selectors to be circles (for convenience). Getting closer to a fix for negative resizing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@976 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-25 13:51:42 +00:00
Alexis Deveria 04ed475d6f Fixed Issue 337: MouseUp on Rect selects Square (Opera)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@969 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-23 17:10:13 +00:00
Kevin Kwok e689ca3dcf Fixed embed API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@967 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 20:33:12 +00:00
Kevin Kwok db5df84bcc Embed communication protocol updated, embed api file added
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@966 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-22 20:13:06 +00:00
Alexis Deveria 1bd107b58b Updated lang.en.js with latest changes (may still be some entries missing)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@963 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 19:23:09 +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 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
Jeff Schiller 75dffc0d2f Correction to image handling code in context menu
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@954 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-18 17:22:01 +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 e4ead69e6d Fixed issue 314: In wireframe mode, outlines should stay 1px wide regardless of zoom level
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@950 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-16 20:20:13 +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 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 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 344e7a802d Fixed several remaining cross-browser icon bugs
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@933 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-12 16:00:50 +00:00
Alexis Deveria 7c8fafa9ee Added fix to prevent some FF versions from throwing errors on localStorage check
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@931 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 21:13:16 +00:00
Alexis Deveria c5467373ef Made editor preferences (language, icon size and background) be saved and re-applied on page load
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@930 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-11 18:13:26 +00:00
Alexis Deveria 55f791910a Added locale improvements: JS strings - see lang.en.js, dropdown list in doc props, browser language detect on startup
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@928 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 21:31:47 +00:00
Alexis Deveria 237fd96b0f Changed order of circle&ellipse and square&rect as per issue 179
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@927 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 19:16:45 +00:00
Alexis Deveria e40619cc67 Spruced up docprops to fix Issue 315, made Image Title appear in browser title when available
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@926 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 18:58:16 +00:00
Alexis Deveria 08f80ac7e9 Fixed node select icon
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@919 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 20:29:01 +00:00
Alexis Deveria 2a46a5eca0 Adding SVG icons to svg-editor.html and related scripts, keeping old with -classic suffix
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@916 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-09 18:59:53 +00:00
Alexis Deveria ea2d803c18 Fixed Issue 301: Move to Layer doesn't behave properly in Opera and Safari
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@902 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-03 18:21:23 +00:00
Alexis Deveria 57518c6087 Fixed Issue 302: Corner radius is displayed incorreclty when reopening a saved file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@891 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-30 20:33:46 +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 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 21820931c1 Toggle side panel open when Layers tab is clicked
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@883 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 14:22:23 +00:00
Alexis Deveria 54e5ff8c09 Changing polygon icon to new path icon, switching places with text tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@881 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-28 13:20:13 +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 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 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
Alexis Deveria cbf856a0bc Made background image resize correctly when zooming
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@870 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-22 17:23:45 +00:00
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
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 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 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 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 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 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 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 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 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 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 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
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
Jeff Schiller 9d24318b2b TODOs for localization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@804 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-12 18:53:54 +00:00
Jeff Schiller afa5942668 Fix Issue 271: Repair cut error and restore opacity tool functionality
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@800 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-12 02:38:27 +00:00
Jeff Schiller 4a2141fd8a Make the layer handle draggable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@798 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 06:07:57 +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
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 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 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 824c66229a Fix Issue 261: update tool panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@773 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-07 06:13:52 +00:00
Jeff Schiller eaba474023 Prevent selection bug when clicking layers while accidentally holding down shift
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@769 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 21:50:59 +00:00
Narendra Sisodiya 0e2a6e2f54 small typo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@766 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-05 19:15:40 +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
Narendra Sisodiya e115dcec97 UI localisation, calling put_locale after DOM is available
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@757 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-03 19:24:36 +00:00
Kevin Kwok 5b3cefd7a7 When making a new layer, the prompt() has a default value of 'Layer [number of layers+1]', feel free to revert if you dont like it
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@753 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-02 23:36:20 +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 d079c45e52 Fix Issue 243: Zoom pop-up list state gets corrupted. Patch from Peter D. Reid
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@725 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-29 03:18:21 +00:00
Jeff Schiller 8d5b970a61 Re-center canvas if the window is resized
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@723 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-28 20:22:19 +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
Alexis Deveria 920113ec54 undoing unintentional change to svg-editor.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@711 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 18:59:39 +00:00
Alexis Deveria 8bfc7ddc92 added Erik's patch to fix issue 223
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@710 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 18:47:03 +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 000bb569c8 Completely rework layer list into a table
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@703 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-24 04:22:55 +00:00
Jeff Schiller ecb8ebafcb Somewhat undo r692 and r693 but replace alt attribute with HTML5-compliant data-attr to fix Issue 222
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@700 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 18:45:22 +00:00
Alexis Deveria 1c098d89cb Added jQuery UI and draggable component; Fixed issue 147: Ability to move the colorpicker around
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@698 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-23 18:15:29 +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 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 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
Alexis Deveria 920a5df480 Additional fixes to resolution change, now works correctly when zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@678 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 17:46:44 +00:00
Alexis Deveria e7941f5df8 Made doc properties adjustments, now has separate width&height fields.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@677 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 17:22:28 +00:00
Jeff Schiller 5b4c8aa01a Issue 73: Can now move layers up and down
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@674 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 04:44:56 +00:00
Jeff Schiller 942aa40c9f Ensure only one layer is selected (Issue 73)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@673 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:55:28 +00:00
Jeff Schiller 61fe5dc9fe Issue 73: Ensure first layer is always selected. Adjust layer buttons to fit Opera and Webkit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@672 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:50:50 +00:00
Jeff Schiller ef4d16ee05 Issue 73: Make New/Delete layer undo-able. Implement Rename layer. Ensure layers have unique names
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@671 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 02:42:31 +00:00
Jeff Schiller cda961e7ba More work on Issue 73: Can now create and delete layers with undo/redo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@670 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-22 01:00:24 +00:00
Jeff Schiller 18253b5e5d Issue 73: A good deal of the plumbing is now down for layers. You can select the current layer in the layers panel and elements not on the current layer are not selectable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@669 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-21 22:16:44 +00:00
Kevin Kwok d0101dbc84 added postMessage listner which evals commands to enable a potential future embed API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@663 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-18 20:22:02 +00:00
Alexis Deveria 4da66bec93 Added working zoom button for drag/click zoom, no visible box yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@655 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 15:45:50 +00:00
Alexis Deveria b6a1128fd1 Added support for 'Fit to ...' zoom options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@653 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 14:12:51 +00:00
Jeff Schiller fe42d462b5 Fix position of color/gradient picker
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@652 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 21:11:14 +00:00
Alexis Deveria 68033690bd Added advanced dropdown button for zoom, only %s work for now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@650 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 18:13:00 +00:00
Alexis Deveria 2b57e93971 Added fix to increasing zoom from minimum using spinner
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@649 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 15:04:00 +00:00
Alexis Deveria 606e474efb Added zoom spinner to interface
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@648 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 14:38:26 +00:00
Jeff Schiller 1673406356 Fix flyout alignment by nudging down a few pixels
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@645 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 19:16:35 +00:00
Jeff Schiller ea7133d271 Woops, last commit fixed was for Issue 169
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@641 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:25:28 +00:00
Jeff Schiller 33cd428ef2 Fix Issue 186: Actual resolution always shown as selected
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@640 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:23:31 +00:00
Jeff Schiller 11c49d61dd Better behavior for custom resolutions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@639 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 01:17:29 +00:00
Jeff Schiller 78a77cf9d4 Fix Issue 186: Basic Document Properties window
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@638 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 00:04:53 +00:00
Jeff Schiller c56fa2bd0d More markup for the doc properties dialog (still empty)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@637 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 19:58:06 +00:00
Alexis Deveria 0f29ad3e8b Fixed resolution change function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@627 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 15:49:50 +00:00
Alexis Deveria d514c9d9c6 Made zoom center on image
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@621 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-10 18:51:41 +00:00
Pavol Rusnak 81c3689a2b don't use +/- keys for zooming (interfere with Opera and maybe other browsers as well)
don't keep minified versions of our scripts in trunk


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@614 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-09 16:36:25 +00:00
Jeff Schiller 8bc6536a86 Bind ctrl+up/down to zoom for compatibility (my + key doesn't work with current bindings)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@613 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-09 15:23:44 +00:00
Alexis Deveria 4b5a47fa51 Added basic support for Zoom (issue 38) using + and - keys. Source view and Save work, some features buggy when zooming.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@612 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-09 14:18:24 +00:00
Jeff Schiller bc399b24f0 First part of Issue 40: Allow grouping/ungrouping with undo. Cannot move/resize groups. Cannot properly select groups unless drag-selecting.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@601 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 22:09:42 +00:00
Jeff Schiller cce9037e89 Add icons for group/ungroup and contextual buttons/panels. No functionality yet.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@600 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 20:03:47 +00:00
Jeff Schiller 60b1aa01ba Fix bug in whitelist that I introduced. FIx more tabination. Move image tool after polygon and add shortcut key (8)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@585 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 11:34:51 +00:00
Kevin Kwok f349b4e91f Fixed error with setting image url
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@582 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 23:13:15 +00:00
Kevin Kwok 852657cc61 Selecting images does not set the fill and stroke (might be hackish) so it doesnt prevent adding of more shapes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@579 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 22:23:30 +00:00
Kevin Kwok ccef6a0f49 Image drawing support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@578 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 22:22:40 +00:00
Alexis Deveria 5df494c2b6 Fixed remaining bug for 164 and additional bug that selects correct paint tab on change to gradient
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@561 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 14:52:21 +00:00
Jeff Schiller c9c771392d Fix most of Issue 170: Remove undoable fill/stroke/opacity changes upon creation of elements. Fix setting fill/stroke paint opacity.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@554 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 06:11:04 +00:00
Kevin Kwok 9ead34fca1 removed a comma without crying
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@539 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-03 19:40:46 +00:00
Alexis Deveria 833e29f743 Small fix to last update
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@522 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 19:57:50 +00:00
Alexis Deveria 4225c9e318 Fixed issue 154: Cannot set Text stroke to 0 after it has been changed to non-zero
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@521 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 19:52:34 +00:00
Alexis Deveria ee9ecb1960 Fixed issue 152: Prevent selection of toolbar elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@517 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 13:58:38 +00:00
Alexis Deveria 83edd78a11 Fixed Issue 148: Object navigation is lost after a new opacity is chosen in top toolbar
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@511 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 19:15:32 +00:00
Jeff Schiller 3118679dfe Fix Issue 134: Correctly center the selector box after a rotated poly has been edited
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@499 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-29 18:38:34 +00:00
Alexis Deveria 581728ab1a Fixed issue 130: Contextual Panel flickers on rotate
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@486 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 13:04:32 +00:00
Alexis Deveria 6468b758ef Fixed bug where 'move' cursor would appear outside the canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@474 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 18:04:49 +00:00
Alexis Deveria 6b227532a4 Trying different shortcut keys for issue 102 (now shift+O, shift+P)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@470 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 20:28:25 +00:00
Alexis Deveria baf9f75982 Possibly fixed issue 99 and issue 108 by setting up an external handler function. Moved Opera references to seperate file and reprocessed thinker.li's patch to also use a use separate file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@468 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 16:35:57 +00:00
Pavol Rusnak 9f704dee5c create 4 modes for align: selected, largest, smallest, page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@462 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 07:04:19 +00:00
Alexis Deveria c4cc408465 Fixed issue 112: Values for certain attributes must now be numbers, enter/return on field now updates value in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@453 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 15:26:35 +00:00
Alexis Deveria 7b31879ec2 Added keyboard shortcuts for rotating elements (shift+left & shift+right)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@446 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 17:57:48 +00:00
Alexis Deveria fa5a5f2525 Fixed bug in optimization code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@444 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 16:27:27 +00:00
Jeff Schiller f0e1b6a57a Merge 422:442 from rotator branch into trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@443 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 15:53:36 +00:00
Alexis Deveria 841d82e0a4 Various JavaScript optimizations in svg-editor.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@441 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 15:35:55 +00:00
Alexis Deveria 82e516cd37 Fixed issue 102: Allow selection of next child/previous child with a key and issue 107: Creating an object selects it automatically and switches to the Select tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@430 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 13:39:23 +00:00
Alexis Deveria 8b5c79a33f Fixed issue 82: Resizable Canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@420 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 15:59:29 +00:00
Alexis Deveria c2e0387465 Fixed issue 85: Ensure unused gradients are removed when serializing SVG
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@415 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 17:08:05 +00:00
Jeff Schiller 8550d59362 Check in another fix for Issue 93: rotated poly points drag ok now. Check in Erik's patch for widgetizing SVG-edit (Issue 99)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@413 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-19 03:42:27 +00:00
Alexis Deveria d5b816109a Fixed issue 94
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@407 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 14:33:59 +00:00
Alexis Deveria 317ba50b9a Reduced code needed for keybindings and button events
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@406 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-18 13:50:18 +00:00
Jeff Schiller 9726d1b417 Separate the save handler into the HTML editor portion so that it can be re-bound
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@404 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 21:55:47 +00:00
Alexis Deveria 4e5a45642e Fixed issue 81: Source Editor needs Cancel/Save buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@401 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 14:17:20 +00:00
Pavol Rusnak d4ff808c83 align elements (work in progress)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@397 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-17 06:56:55 +00:00
Jeff Schiller eb97d20600 Fix Issue 92: Update rotation angle when selecting an element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@392 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 19:18:22 +00:00
Jeff Schiller 299cf0215c Fix bug: If SVG source was changed, selectorParentGroup was thrown away meaning you could no longer create a poly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@387 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-16 02:48:00 +00:00
Jeff Schiller c83d515fe9 Fix resizing of arbitrary paths (for all segment types). Add polygon to whitelist.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@384 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-15 04:37:08 +00:00
Jeff Schiller 93611c6c71 Add angle spinner to select panel - does nothing yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@383 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-14 22:50:34 +00:00
Jeff Schiller d653745a70 Fix Issue 91: set paint to 'none' if not set during update of toolbar
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@372 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-13 15:51:30 +00:00
Jeff Schiller 83275046b4 Fix Bug 80: add text controls for x,y (merge Alexis' patch)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@371 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-13 15:42:41 +00:00
Jeff Schiller 79a80e6d2e Check in results of trying (unsuccessfully) to fix 84.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@364 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 20:11:45 +00:00
Jeff Schiller ab3fa8e925 First half of Issue 34 fixed: Can create polygons now. Also change default fill to red and default stroke-width to 5. Moved some functions around for convenience
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@359 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 05:44:55 +00:00
Jeff Schiller 381e09be87 Add JS functionality for poly button, then disable it for now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@358 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-07 03:46:51 +00:00
Jeff Schiller 86173b1832 Fix Issue 78: Merge copy/paste button into one clone button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@354 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-06 11:43:19 +00:00
Jeff Schiller d1d91c556e Fix several bugs with gradient picking. Uplift to latest jGraduate.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@348 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-01 05:03:51 +00:00
Jeff Schiller 70c9361e1c Fix image path for jgraduate
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@347 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-31 02:23:56 +00:00
Jeff Schiller 05ff4be18f Fix Issue 33: Gradient picker for fill/stroke. Also start to optimize suspendRedraw/unsuspend. Added vector image of logo.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@346 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-30 22:45:59 +00:00
Jeff Schiller 75f1fe1adf Set title for picker to specify stroke/fill
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@344 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-22 22:52:04 +00:00
Jeff Schiller 5e4ebfa7a9 Added PNG version of logo from Christian
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@340 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-22 18:05:29 +00:00
Jeff Schiller f8fd9a7be8 Fix Issue 77: Declare charset
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@335 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-20 13:56:01 +00:00
Jeff Schiller 35092be25d Fade flyouts slowly the first time they are opened
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@324 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 19:47:48 +00:00
Jeff Schiller 0e45cc46ef Minor tightening of code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@323 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 19:41:09 +00:00
Jeff Schiller 535d55ccda Fix Issue 51: Implement Copy/Paste
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@320 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 13:51:00 +00:00
Jeff Schiller 4f4d42ff85 Prevent change source command if user did not change the source
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@317 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 03:52:31 +00:00
Jeff Schiller b73ed5afc8 Check in draft source button
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@316 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 03:46:27 +00:00
Jeff Schiller 5e15483254 Preserve comments when editing SVG source
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@315 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 03:23:58 +00:00
Jeff Schiller 5ce77bca33 Prevent U keystroke from landing in the source editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@314 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 03:02:29 +00:00
Jeff Schiller d1a011d5d3 Properly format SVG source from and to the editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@313 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 02:57:11 +00:00
Jeff Schiller 8e8f44861d Start of Edit Source capabilities for SVG-edit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@312 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-13 00:17:15 +00:00
Jeff Schiller d694197af7 Fix a bug in batch command where elements were not properly returned. Added canvas function to return resolution. Added parsing of XML string into SVG document. Added whitelist of elems/attributes for SVG-edit.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@308 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-10 05:04:06 +00:00
Jeff Schiller 5774490082 Fix Issue 53: invalid values shown for fill/stroke opacity
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@289 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-09 04:34:48 +00:00
Jeff Schiller 5551bc97ca Fix Issue 55: height of bottom toolbar. Also improve code for recalculating outline/dimensions. Also fix it so that multiple elements can be moved using the arrow keys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@281 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-08 00:03:08 +00:00
Jeff Schiller 5f8016a839 Fix Issue 28: Use spinners instead of pulldowns for stroke-width and rect radius. Add spinbtn jquery plugin
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@278 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-07 01:21:19 +00:00
Jeff Schiller e4af0eb261 Woops again, left a debug alert in by accident
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@274 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-06 18:54:38 +00:00
Jeff Schiller 8537e0c35c Typo in previous checkin preventing bold from working
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@273 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-06 16:21:12 +00:00
Jeff Schiller 09b0e8bd4f Fix Issue 30: Add bold/italic buttons for text elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@270 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-06 14:57:13 +00:00
Pavol Rusnak b7562af19e don't set alpha to 0 when color was N/A
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@255 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 17:35:30 +00:00
Pavol Rusnak a485b53595 move opacity control to jPicker
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@254 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 17:19:51 +00:00
Jeff Schiller f084d731b0 Clear undo history when clearing document
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@252 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-02 03:54:11 +00:00
Jeff Schiller 634b7efeb8 Add a multiselect tool panel. Can now delete multiply-selected elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@246 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 20:22:29 +00:00
Jeff Schiller e36b3d97bd Enabled multi-select dragging
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@244 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 19:54:51 +00:00
Jeff Schiller 797f53345b Large number of small fixes. Multi-select getting closer now (still not working)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@243 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 19:28:08 +00:00
Jeff Schiller 8785b3674f More refactoring for selection, still only single selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@241 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-07-01 15:34:15 +00:00
Jeff Schiller 097649b330 Can now single-select by dragging the rubber-band box around. Still no multiselect
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@236 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-30 14:29:28 +00:00
Jeff Schiller a0aa794cb9 Move color picker leftward so that it is (usually) always fully visible
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@228 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 21:48:42 +00:00
Pavol Rusnak d1299beb5c fixed Issue#50
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@227 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 17:34:02 +00:00
Jeff Schiller 579dac1219 Make contextual panel taller again
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@225 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 15:00:11 +00:00
Pavol Rusnak ece4974a91 small changes to UI
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@224 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-29 14:38:30 +00:00
Jeff Schiller ae1cd5592b Fix position of color picker. Fadeout flyouts so that user has a chance to see them upon first click
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@220 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 14:35:08 +00:00
Jeff Schiller d7a2c3e71c Mousedown to open flyouts, mouse up on the tool the user wants
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@217 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 05:48:11 +00:00
Jeff Schiller 9293eb66e6 Change flyouts to close when mousing out. Also since rect/ellipse flyouts can no longer get stuck open, remove code to hide them and change color picker to not be a flyout
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@216 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-28 05:09:10 +00:00
Narendra Sisodiya 94e7f6c645 Fixing issue 47, click to hover
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@213 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-27 23:31:56 +00:00
Jeff Schiller cfa488a502 Make changing resolution undo/redo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@202 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-26 14:31:03 +00:00
Jeff Schiller ecb0f0e74e Fix Issue 19: Undo/Redo in context panel and react as buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@201 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 15:35:28 +00:00
Pavol Rusnak 5c67d896ac buttons for undo/redo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@200 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 08:31:36 +00:00
Pavol Rusnak 1f5fca2fd6 resize drawing area
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@199 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 08:22:30 +00:00
Jeff Schiller d955ca51d1 Change shortcut keys to z, y and shift-z
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@198 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 03:31:56 +00:00
Jeff Schiller 48ec8a7c14 Fix Issue 19: implement undo/redo command history and shortcut keys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@196 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-25 02:54:07 +00:00
Jeff Schiller 7c5c80beec Fix Issue 26: context tools for rect, circle, ellipse, line are now editable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@188 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 04:33:09 +00:00
Jeff Schiller 96f74b4dae Add circle, ellipse, line context controls
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@187 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-24 04:17:35 +00:00
Jeff Schiller 35ad2d7841 Fix Issue 29: Key bindings for moving selected, move to top/back, delete for Macbook users
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@186 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 21:18:23 +00:00
Jeff Schiller 016a3572c5 Now update x,y,w,h for a rect when it's moved or resized, but only when you mouseup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@184 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 18:06:53 +00:00
Jeff Schiller 61a1259efa Add in x,y,w,h contextual controls for rects (updated by not editable)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@183 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:30:30 +00:00
Jeff Schiller 9b312d694f More concise code to set radius pulldown value
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@182 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:26:17 +00:00
Jeff Schiller 880592cafc Update radius pulldown with value of selected rectangle's corner radius
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@181 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 17:20:21 +00:00
Pavol Rusnak f3c4a87bed switch icons on circle/square tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@179 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 07:53:32 +00:00
Pavol Rusnak 07c349048a - replaced circles in grips with squares
- circles will be used for rotation
- added simple switch (selectedOperation) which sets it
  (does not modify the behaviour, yet)


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@178 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 07:48:15 +00:00
Jeff Schiller 6ac2227fae Fix Issue 27: Allow resizing of all elements except text, properly compute new sizes, shuffled some code around
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@173 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-23 05:17:53 +00:00
Pavol Rusnak 28af49697d added move to top/bottom feature
reworked context panels


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@144 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 20:08:53 +00:00
Jeff Schiller 543308a82d Fix Issue 13: Disable tool buttons when stroke or stroke+fill are none
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@140 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 17:36:00 +00:00
Jeff Schiller 766c9f50c0 Fix Issue 11: WebKit browsers return initial instead of transparent
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@139 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 17:17:11 +00:00
Jeff Schiller 033062049f Fix bug in shift-click handling for stroke color
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@137 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 02:21:32 +00:00
Jeff Schiller 8ce1b3fea7 Fix Issue 10: Remove need for right-click and just use shift-click for palette (works on all browsers)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@135 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 02:17:22 +00:00
Jeff Schiller 66b15f760f Fix Issue 16: shortcut keys using js-hotkeys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@134 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-17 02:04:10 +00:00
Jeff Schiller f3bce20321 Add rect radius contextual tool. Fix bug where text elements were 50% opacity by default
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@97 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-11 15:18:46 +00:00
Jeff Schiller 540115ed3b Fix Issue 17: Add a contextual tool panel and changed the way the Delete tool works
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@87 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-10 04:44:59 +00:00
Jeff Schiller 4e27f43026 Fix Issue 14: manual merge of text-enabled branch into trunk to enable text element creation/editing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@85 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-10 03:12:19 +00:00
Pavol Rusnak d843eb92dd keyboard handling (work in progress)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@79 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-09 13:28:37 +00:00
Pavol Rusnak 882c59d800 update stroke-style in UI too
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@73 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 16:28:48 +00:00
Jeff Schiller 2d38e17386 Fix moving elements without fill (using pointer-events:all), also this seems to fix the cursor issue in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@68 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 12:32:08 +00:00
Jeff Schiller 7103e25a2f Fix last bit of Issue 12: Show move cursor when hovering over visible elements in Select mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@61 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-08 02:55:15 +00:00
Vidar Hokstad 897604b863 Return svgCanvas from the setup function for convenience
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@57 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 15:07:57 +00:00
Vidar Hokstad e9024ed4cc The wave gadget can't rely on the editor initializing on the 'ready' event, so make it a function and handle the 'ready' event from the svg-editor.html file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@54 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 13:11:01 +00:00
Pavol Rusnak 47603917c9 cleanup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@50 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 10:27:55 +00:00
Jeff Schiller d346bd02ee Fix issue 6: Select elements in the editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@49 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 05:07:23 +00:00
Vidar Hokstad d6057f0674 Removed dependency on svgcanvas.svg by creating the SVG element via javascript
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@48 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-07 00:17:21 +00:00
Pavol Rusnak 8a55732a30 put server-save into "extras"
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@47 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 23:54:53 +00:00
Narendra Sisodiya 35e68a1dd5 Fixed issue 9 - Add Save svg to Server feature
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@46 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 20:55:23 +00:00
Pavol Rusnak 4aedad493b add getters
fix transparent handling in picker


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@38 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-06 12:25:26 +00:00
Pavol Rusnak 979949da7a forgot one line
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@37 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 14:05:28 +00:00
Pavol Rusnak f2d90fe0d3 replaced Farbtastic with jPicker, because of the license issues
change license to Apache License v 2.0


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@36 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 14:02:34 +00:00
Jeff Schiller 6799707fc7 Fix Issue 5: flyout menus collapse when color picker activated
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@32 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-05 00:15:17 +00:00
Pavol Rusnak 411f6d7aec change dir layout
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@31 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-06-04 22:16:59 +00:00