Commit Graph

473 Commits (d3a068a0dbdbeaad7bf7f878d7d566060c8e2719)

Author SHA1 Message Date
Jeff Schiller 33e3d9007e Started moving some <img> elements to <div> with background-image
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@646 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-15 13:25:19 +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 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 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
Jeff Schiller 3b33c919ec Add first bits of markup for Doc Props window. Nudge editor down a few pixels
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@636 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 16:31:33 +00:00
Jeff Schiller 314b7754f8 Add Document Properties button for Issue 186
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@635 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 16:17:12 +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 8019c343ec Fix Issue 199: remove unused vertical flyouts for now as they cause duplicate IDs in the HTML
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@632 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-13 13:00: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
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
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
Jeff Schiller 3557a0a94b Fix Issue 159: loop the right way when cloning elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@520 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 19:47:25 +00:00
Alexis Deveria ee2e362b1a Fixed issue 146: Rotating via mouse should only be undoable as one action
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@519 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 15:26:26 +00:00
Alexis Deveria 781cde5190 Fixed Issue 153: z-index of the clones is inverted when you clone several objects at once
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@518 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-09-01 14:14:19 +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
Jeff Schiller 4fd3442a0c Fix Issue 151: fill, fill-opacity added to whitelist for polyline
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@516 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 22:41:17 +00:00
Alexis Deveria e82ccf8f18 Fixed grip cursor update for multiple rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@515 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 20:05:52 +00:00
Jeff Schiller f4c5035c43 Moving to 'beta' string
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@514 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 19:29:39 +00:00
Jeff Schiller abdafedeae Really fix rotation of poly point grips when there are multiple paths with some rotated
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@513 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 19:24:45 +00:00
Jeff Schiller b05937aabc Fix rotation of poly point grips when the path was not rotated
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@512 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 19:19:07 +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
Alexis Deveria bf280af753 Fixed Issue 143: Opera 10 on Windows XP stopped rendering clones of objects with opacity different from 100%
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@510 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 18:52:59 +00:00
Jeff Schiller c53ad929c6 Fix Issue 141: can edit poly after pasting in SVG source
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@509 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 18:02:15 +00:00
Jeff Schiller 1b3ada5449 Fix Issue 150: Merge antimatter15's patch - thanks
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@508 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 17:48:36 +00:00
Alexis Deveria 402187cba4 Fixed issue 149: Make the object navigation start at the first object when the last one is reached
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@507 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 17:03:33 +00:00
Alexis Deveria ee2e10565d Fixed more bugs related to r505
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@506 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 15:59:42 +00:00
Alexis Deveria f311e73f0f Fixed issue 142: Gradients taking over
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@505 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-31 14:54:59 +00:00
Jeff Schiller 97136649f7 Fix Issue 145: Moving multiple rotated elements has wrong selector box and position
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@502 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-30 02:37:16 +00:00
Jeff Schiller bd613bd118 Check that poly_stretch_line exists before hiding
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@501 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-30 02:24:20 +00:00
Jeff Schiller f8e513e936 Fix Issue 144: Undo/redo poly editing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@500 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-29 22:10:52 +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
Jeff Schiller ec75f35c7a Whitelist text-anchor attribute on text. Partial work for Issue 134.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@498 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 23:12:46 +00:00
Alexis Deveria 96fbe69b9d Fixed Issue 140: Prevent zero-length lines from being created
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@497 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 20:18:27 +00:00
Alexis Deveria b81ce1c8e9 Fixed issue 138: Add 0% to the drop-down list for opacity; Added opacity to whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@496 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 20:03:31 +00:00
Alexis Deveria 8d54485ea4 Fixed issue 139: After copying the SVG code from one window/file to another, object browser SHIFT+O/P function is lost
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@495 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 19:20:54 +00:00
Pavol Rusnak e64035dc4e add a comment to output SVG saying 'created with SVG-edit - http://svg-edit.googlecode.com/'
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@494 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 14:39:53 +00:00
Alexis Deveria e2556a6574 Fixed selection box size on font family change
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@493 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 13:35:09 +00:00
Alexis Deveria 3a1559b5da Fixed Issue 128 and other Firefox/text bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@492 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 13:19:47 +00:00
Alexis Deveria 40cb7c0593 Fixed the Firefox bug part in issue 136
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@491 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-28 12:37:52 +00:00
Jeff Schiller 47d7f769fc Fix Issue 132: properly position selector box when scaling negatively
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@490 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 22:26:47 +00:00
Alexis Deveria 74c398b151 Fixed Issue 137: Can't change gradient of a text element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@489 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 18:42:46 +00:00
Alexis Deveria 60020d9cc2 Fixed bug where rotator handle wouldn't appear on text elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@488 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 14:44:23 +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 841d1c24d3 Made updateGripCursors work with negative angle values
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@485 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 12:37:02 +00:00
Jeff Schiller 3bb5c42198 Fix bug: rotated polyedit mode still had a problem
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@484 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 04:43:05 +00:00
Jeff Schiller cd4dc59027 Fix Issue 129: Selecting/manipulating rotated elements broken in Webkit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@483 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 04:01:19 +00:00
Jeff Schiller a46510a015 Integerize the angle when dragging rotation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@482 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 01:05:59 +00:00
Jeff Schiller 143680e3ee Final fix for Issue 103: merge in modified patch from antimatter15
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@481 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-27 01:03:08 +00:00
Jeff Schiller 9467ce13ba Remaining TODOs for rotate handle
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@480 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 23:15:32 +00:00
Jeff Schiller 223d5352e7 Minor tweak to getIntersectionList(). Added comment for Issue 129.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@479 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 21:50:35 +00:00
Alexis Deveria ecdcbf7d9b Changed getIntersectionList for minor performance improvement
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@478 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:59:52 +00:00
Jeff Schiller 5a62f3b209 Second part of Issue 103: tracking of mouse events and new 'rotate' state. Does not actually rotate the element yet.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@477 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:45:28 +00:00
Jeff Schiller 23069bfbfd First part of Issue 103: rotate handle on the selector box, doesn't do anything yet
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@476 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 19:09:13 +00:00
Alexis Deveria c204dcf5b0 Improved source view buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@475 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 18:32:24 +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 328261b9e3 Fixed issue 109: Arrow cursors are properly updated when rotating element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@473 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 13:59:25 +00:00
Pavol Rusnak 5eb2087f86 missing rx, ry in supported rect attributes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@472 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 13:03:02 +00:00
Jeff Schiller 0a754d20fd Fix Issue 93: rotation math issues
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@471 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-26 05:08:34 +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
Jeff Schiller c6df21abfc Fix Issue 121: Opera duplicates the id attribute on cloned nodes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@464 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 12:40:58 +00:00
Pavol Rusnak 52360d4927 make logo in the top-left corner nicer
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@463 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-25 11:03:20 +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 1366396082 More JS optimization in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@461 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 20:00:48 +00:00
Alexis Deveria 2aac696964 Fixed bug in last update
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@460 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 19:20:52 +00:00
Alexis Deveria 06069ae984 More JS optimization in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@459 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 19:19:27 +00:00
Alexis Deveria 13fc0f5d08 JS optimization in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@458 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 18:39:22 +00:00
Alexis Deveria d27fcf1da9 Fixed issue 116: Select a shape by dragging the mouse while being in Edit node of a polyline breaks all the tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@457 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 17:40:41 +00:00
Jeff Schiller b006ce9693 Fix final bit of Issue 52: aligning rotated elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@455 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 15:30:11 +00:00
Alexis Deveria dfe073545f Reverted svg-editor.html, element wasn't necessary for fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@454 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 15:28:34 +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 835574375c Fixed issue 114: A linear gradient becomes black when the object is selected
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@452 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-24 12:55:22 +00:00
Pavol Rusnak 2ec215492e simplify align code, all elements should work now
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@451 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 17:16:27 +00:00
Pavol Rusnak 9543eb4c2e implement align for text (still missing path polygon polyline)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@450 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 16:39:45 +00:00
Jeff Schiller c170ea5905 Fix bug when changing positon of a rotated element via contextual panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@449 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-23 03:18:59 +00:00
Jeff Schiller 96cc518072 Rotated elements properly size while mouse down (still a bug when mouseup though)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@448 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-22 19:08:01 +00:00
Alexis Deveria fa0ea55521 Fixed Issue 98: Blank text field deactives the Selection tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@447 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 20:12:01 +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 2f4043176c Fixed 50% opacity on new Element bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@445 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 17:02:51 +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
Jeff Schiller 790c3402d5 Minor fix to resize polyedit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@428 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-21 12:21:43 +00:00
Alexis Deveria e053c593f8 Fixed gap mentioned in issue 69
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@421 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 17:15:14 +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
Jeff Schiller aaea4016f8 Minor touchup to graphic and CSS. Still not ready for prime-time
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@419 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 14:47:04 +00:00
Jeff Schiller eee1027964 First attempt at Issue 69: little arrow for flyout menus
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@418 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 14:41:32 +00:00
Alexis Deveria 4e17c00920 Fixed issue 86: Text should have different starting fill/stroke properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-08-20 13:50:41 +00:00