Commit Graph

261 Commits (c8c8fdb9f313c4c5d7f7f7168e98b45920d1cea3)

Author SHA1 Message Date
Jeff Schiller c8c8fdb9f3 Fix Issue 219: Remove rounding of dimensions when objects are moved, resized, etc
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@666 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-21 00:03:47 +00:00
Jeff Schiller 4015137b3e TODOs for Issue 73
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@665 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-20 23:31:54 +00:00
Jeff Schiller 705e18d9ab Start of Layers UI (Issue 73) - completely nonfunctional at this point
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@664 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-20 23:04:57 +00:00
Jeff Schiller 8036ac8f62 Started work for Issue 74: selector boxes sized properly at high zoom levels. Still a problem with polys
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@661 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-17 14:47:54 +00:00
Jeff Schiller 30a133a399 Add rubber-box for zoom tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@657 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-16 17:18:11 +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 57dab90b8c Fix Issue 205: scale the 'fuzz' factor for polygon point picking in case of zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@651 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 20:50:38 +00:00
Jeff Schiller 33ae9554a3 No reason to introduce a SVG rect here, we can just use the background-color or background-image of the svgcanvas div
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@644 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 19:11:06 +00:00
Jeff Schiller 3065e6a451 Start on background properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@642 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-14 05:53:56 +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 05253d1366 Finish Issue 40: grouping
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@633 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 15:50:43 +00:00
Jeff Schiller 158eb2eec4 Fix Issue 194: svgzoom is emptied, not svgroot
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@631 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 12:55:15 +00:00
Jeff Schiller 14725fb8bf Fix Issue 192: broken while working on the zoom feature
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@630 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 04:09:33 +00:00
Jeff Schiller 922b8c65ca More work for the Zoom feature (fix poly editing when rotated)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@629 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-12 04:49:50 +00:00
Alexis Deveria 92dee57fa7 Fixed rotation select box and added codedread's poly changes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@628 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 16:49:57 +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 53a6f81960 Fixed typo: paresInt->parseInt
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@626 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 13:40:04 +00:00
Alexis Deveria d9ebb5bf08 Standardized x/y variables on mouse events, more polyedit+zoom improvements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@625 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-11 13:32:56 +00:00
Alexis Deveria 05765706dc Fixed poly creation on zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@624 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-10 20:34:20 +00:00
Alexis Deveria 68716b04a7 Fixed multi-select rectangle on zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@623 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-10 19:20:26 +00:00
Jeff Schiller dad7b7f98b Final fix for Issue 119: Correctly updated selectedBBoxes after an element is removed from selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@619 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-10 14:27:34 +00:00
Jeff Schiller fe4cac17e6 More fixes for zoom: handle old content that does not have a viewBox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@617 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-09 18:15:28 +00:00
Jeff Schiller 9e925d1e1f More fixes for zoom functionality (serialization works again, it seems)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@616 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-09 17:41:28 +00:00
Jeff Schiller 7de608001e Fix svgToString() for new zoom DOM structure
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@615 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-09 16:43:09 +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 4eb30032d0 Most of the work for Issue 119: shift-click can be used. But still an intermittent resizing problem when drag-moving
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@608 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-06 23:25:12 +00:00
Jeff Schiller eb44c62740 Issue 40: Fix group, rotate, ungroup scenario when children are not themselves rotated.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@606 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-06 13:00:05 +00:00
Jeff Schiller f70cdf5043 Fix another bug with Issue 40: group, rotate, move, undo, redo: now works
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@605 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-06 03:51:16 +00:00
Jeff Schiller e1382ac70a Issue 40: Fix move, resize, rotate of groups. Ungroup with rotations do not work properly yet.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@604 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-06 01:59:26 +00:00
Jeff Schiller 45388a21f3 Rename recalculateSelectedDimensions() to recalculatDimensions()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@603 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 23:09:46 +00:00
Jeff Schiller a4f00f9c53 Issue 40: Fix selection of groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@602 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 22:20:36 +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 52a7216690 Fix namespace prefix problem in serializing function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@588 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 18:13:20 +00:00
Jeff Schiller b67871091b Fix xlink prefix serialization. Final bits of tabination :)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@586 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 11:59:25 +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
Jeff Schiller 93cfb44e91 Use global variable xlinkns. Fix tabbing/indentation.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@584 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 11:19:42 +00:00
Jeff Schiller 5fe5ce2fe6 Add transform to image whitelist so that images can rotate. Add xlink:title too
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@583 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-05 11:18:08 +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
Jeff Schiller 83df0e1403 Add more whitelisted attributes for the <image> element. Add XLINK namespace to svg root.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@581 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 23:08:27 +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
Jeff Schiller 40e51e83c2 Fix Issue 178: Selector boxes disappearing after New document
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@567 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 17:44:08 +00:00
Jeff Schiller 2dd77453a9 Another fix for Issue 172: restore the rubber-band box for multiselect
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@566 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 17:23:56 +00:00
Jeff Schiller 26f1b5bb0c Fix Issue 177: rotation point should always be an integer (should avoid Opera 10 bug on non-English systems)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@565 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 16:48:20 +00:00
Alexis Deveria b995f1663a Fixed last part of issue 172
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@564 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 16:26:48 +00:00
Jeff Schiller 4ec916cf9b Remove TODOs for rotator branch - they are done
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@560 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 14:32:58 +00:00
Alexis Deveria 062fcebe70 Fixed variable name change
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@559 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 13:42:44 +00:00
Jeff Schiller 14f42e8621 Fix Issue 172: ensure the selector manager is re-initialized upon clearing the document
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@556 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 06:36:37 +00:00
Jeff Schiller 701549a404 Fix gradients broken from previous checkins
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@555 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 06:30:18 +00:00