Commit Graph

353 Commits (05765706dc2ac448c5ecf0804b73c7ec6cde90b7)

Author SHA1 Message Date
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
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
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
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 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 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 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
Jeff Schiller 4c8227ce99 Proper MIME type for image.png. Relabel to 2.4-preAlpha.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@580 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 22:56:08 +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
Kevin Kwok 3be9c72c68 Added the image.png image
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@577 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 22:01:14 +00:00
Jeff Schiller 47ae164a00 Revert last change (link to unminified JS on trunk)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@572 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 21:31:50 +00:00
Jeff Schiller bc7b1880f8 Check in minimized JS and updated HTML. Remove jPicker (now included as part of jGraduate)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@571 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 21:23:54 +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
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 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
Alexis Deveria b6970bf6db Fixed Issue 164: Colorpicker doesn't display correctly on Firefox 1.5.x by updating to latest version of jGraduate
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@558 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 13:25:35 +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
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
Jeff Schiller c6847f23ad Fix Issue 158: Problems with redo/undo and rotated elements. Refactor of code for Issue 170.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@553 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-04 05:10:48 +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 14eac24ffa Fixed rotate bug in Webkit in issue 163
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@538 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-03 17:03:07 +00:00
Kevin Kwok bf1517652e added wave icon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@531 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 23:09:57 +00:00
Jeff Schiller d3cca22e7c Partial fix for Issue 158: rotations can be undone when using the angle context panel control
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@530 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 22:17:04 +00:00
Kevin Kwok 082adbfeb2 undid the last one, copy the selectedElements when deleting
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@527 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 18:22:35 +00:00
Kevin Kwok d10ed7bb08 deleted event
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@526 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 18:17:14 +00:00
Kevin Kwok 74cb13b6d7 bind now returns the previously bound function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@524 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-02 16:51:11 +00:00