Commit Graph

162 Commits (aacc77b6a63fe40251d9977664ff71352cb46428)

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