Commit Graph

961 Commits (f18cdbbeaef23ce55194b42c1f7ef9c1fc966abc)

Author SHA1 Message Date
Jeff Schiller e557f346e9 Add unused document JS module and test. Change svgcanvas to always increment object ids for every call to getNextId().
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1908 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 06:57:26 +00:00
Jeff Schiller 4a6ae77ba2 Tweak a couple function calls to use full svgedit namespace methods. Update eyedropper extension to remove usage of getPrivateMethods()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1905 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 07:34:07 +00:00
Jeff Schiller c47cc7cd0e Fix Issue 752: Importing SVG is not undo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1904 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 07:03:54 +00:00
Jeff Schiller 89641094de Fix Bug 751: Importing was not successfully ID'ing elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1903 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 06:51:34 +00:00
Jeff Schiller 53962cabb8 Added symbol as an element that is referred to when uniquifying elements, added a TODO for connectors/markers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1902 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 06:07:28 +00:00
Alexis Deveria be53f2a360 Fixed issue 750: Middle click start selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1900 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-10 18:42:42 +00:00
Alexis Deveria 73a4490b1d Made many more localization fixes/additions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1895 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-03 18:45:36 +00:00
Alexis Deveria dea45ccdfa Fixed gradients on reorient path w/gradients
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1893 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-21 19:36:51 +00:00
Alexis Deveria 2c7f131050 Improved paint box setting for selected groups
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1891 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-20 21:37:04 +00:00
Alexis Deveria 96d52da577 Fixed more of issue 716
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1890 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-20 20:00:17 +00:00
Alexis Deveria 8481584c74 Fixed more of issue 716: 'Rotate, move, break link messes up image library image shape' by converting H and V path segments to L on import
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1889 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-20 18:38:54 +00:00
Alexis Deveria f5754a4c6f Fixed bug where imported images could be imported wrong; fixed bug where parent group could be removed from source edit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1888 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-20 15:19:18 +00:00
Alexis Deveria 10519d9a0c Fixed bug where empty anchor elements would appear after deleting links
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1884 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-15 19:42:48 +00:00
Jeff Schiller 3b1b46f874 Fix some bugs with svgutils.js. Add a couple tiny tests to selector_test.html
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1880 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-02 17:14:24 +00:00
Alexis Deveria 8b19adc777 Fixed Issue 738: Extra instances of same <symbol> redefine path again
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1879 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-01 21:20:52 +00:00
Alexis Deveria aafe843485 Fixed Issue 123: Support for <a> element to make elements link to URLs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1878 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-01 17:54:11 +00:00
Alexis Deveria fe03c8f7e4 Improved behavior of manipulating single-child anchor elements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1877 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-30 20:51:07 +00:00
Jeff Schiller 3ef0229180 Move Selector and SelectorManager into select.js. Start of unit test file for select.js.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1873 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-15 09:25:49 +00:00
Jeff Schiller 383d52e157 Fix error introduced in r1852, accidentally moved uiStrings into sanitize.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1872 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-15 09:24:02 +00:00
Jeff Schiller 82f57ab4ab Made separate getVisibleElementsAndBBoxes() function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1871 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-14 19:01:00 +00:00
Jeff Schiller d5ae56ea8e Add tests for MoveElementCommand, InsertElementCommand and RemoveElementCommand
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 09:58:51 +00:00
Jeff Schiller 4a133d490d Move undo/redo functionality into history.js. Started unit test file.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1864 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-12 19:08:29 +00:00
Jeff Schiller 711346f109 Start on a svgutils unit test file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1856 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 08:42:46 +00:00
Jeff Schiller 3aabcb428b Add unit tests for svgtransformlist.js and all_tests page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1853 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 07:23:26 +00:00
Jeff Schiller a681fc2579 Add a sanitize.js module and put sanitizeSvg into it. Fix some browsersupport sniffing calls.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1852 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-07 20:14:05 +00:00
Jeff Schiller ab88088880 Change a few calls to their namespace equivalent
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1851 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-07 16:46:57 +00:00
Jeff Schiller 0dbe9bf0e5 Move remaining two unit functions into units.js. Plug a couple leaky abstractions. Fix a few calls to canvas functions.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1850 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-07 05:20:03 +00:00
Jeff Schiller abab2645af Move convertAttrs into units.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1849 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-06 14:37:00 +00:00
Jeff Schiller e64bee32a8 Move a couple functions into units.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1848 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-06 00:45:21 +00:00
Jeff Schiller 071a562c41 Start on a units JS package. Rename BrowserSupport and Utilities packages to lower-case
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1844 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 17:00:32 +00:00
Jeff Schiller 66fd00d10b Move getRotationAngle() into svgutils.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1841 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 15:59:30 +00:00
Jeff Schiller b104277fa1 Move getPathBBox() and getBBox() into svgutils.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1840 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 15:29:30 +00:00
Jeff Schiller 5e140062b8 Hide svgTransformLists from svgcanvas. Fix test HTML file.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1838 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 14:59:59 +00:00
Jeff Schiller 16ea2a36a5 Move getTransformList() into svgtransformlist.js, move getHref adn setHref into svgutils.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1837 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 14:43:12 +00:00
Alexis Deveria 985d061674 Fixed bug in HTML that broke editor, fixed scope of some variables
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1836 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-29 13:13:34 +00:00
Jeff Schiller 6a74f57cf4 Move snapToAngle() to math.js. Add build rule for Closure compiler in release mode.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1834 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-29 05:09:39 +00:00
Jeff Schiller 33fdd28713 Move math functions into new JS file: math.js. Add new version of Closure compiler.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1833 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 16:47:39 +00:00
Jeff Schiller f97395ced4 Move SVGTransformList out into its own separate JS file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1831 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 06:08:45 +00:00
Jeff Schiller 6218fc42b7 Revert changes of previous revision
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1830 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 05:50:39 +00:00
Jeff Schiller 7d81d66d9a Move history-related classes out into its own JS file: history.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1829 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 03:09:19 +00:00
Alexis Deveria 357a28ec68 Made root SVG width/height be set to base unit on serialization, fixed minor path drawing bug, fixed Issue 579: Text disappear when low blur is set
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1827 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-27 18:58:34 +00:00
Alexis Deveria 6900460816 Made root SVG width/height be set to base unit on serialization, fixed minor path drawing bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1826 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-27 18:15:28 +00:00
Alexis Deveria 2ce416fa7e Fixed Issue 299: Allow curves to be drawn in path creation mode (like in other editors)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1825 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-27 16:34:15 +00:00
Jeff Schiller 593beb4215 Move a few more functions into svgutils.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1822 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 17:11:23 +00:00
Jeff Schiller 0bd50af99b Move new modules into a svgedit 'namespace'
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1821 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 16:33:44 +00:00
Alexis Deveria 6298d557cf Fixed bug where test rect was appearing, changed path creation code a bit to prepare for curve creation ability
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1820 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 13:56:17 +00:00
Jeff Schiller d8f744fd2f Move browser support checking into its own JS module
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1818 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 07:25:21 +00:00
Jeff Schiller 89d5451cef Move Utils mostly over to a separate JS file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1817 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 02:48:36 +00:00
Alexis Deveria 8ba573662e Fixed bug where selection box appeared incorrectly on zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1816 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-25 19:25:38 +00:00
Alexis Deveria 1ff4caa1c6 Fixed bug where selection box wasn't shown on node-selectio
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1815 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-25 16:54:16 +00:00
Alexis Deveria 798704a715 Fixed most ruler bugs on high zoom in/out levels
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1814 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-21 20:30:42 +00:00
Alexis Deveria f367dde12b Overhaul of grid extension to make grid appear better and change based on the current unit type
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1813 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-21 17:02:12 +00:00
Alexis Deveria 5aabcff60c Fixed Issue 724: text tool is broken in chrome, added new pushGroupPropertiesfunction
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1812 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-20 18:07:30 +00:00
Alexis Deveria 7e6b6706cf Made some optimizations and fixed issue 716: Rotate, move, break link messes up image library image shape
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1811 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-20 13:53:43 +00:00
Alexis Deveria b7e8adca8a Begin change of unit system - currently no longer uses CSS units to allow decent interoperability
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1809 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-19 17:20:28 +00:00
Alexis Deveria 91f14298e0 Fixed Issue 646: No update of edge positions after shift+rotation on a path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1808 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-15 19:41:37 +00:00
Alexis Deveria 40dcfdae96 Added text styles to group elements in whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1807 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-15 16:12:00 +00:00
Alexis Deveria 9dc297862e Fixed Issue 720: Tree of life doesn't render properly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1804 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-14 17:54:01 +00:00
Alexis Deveria ae13b96bdf Attempt to upgrade the jPicker plug-in to 1.1.5
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1802 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-14 16:54:15 +00:00
Alexis Deveria 65020c53c7 Fixed Issue 508: Resizing of <g> with <use> causes problems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1800 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 19:36:47 +00:00
Alexis Deveria 9be5126a9f Fixed Issue 674: FF parsing errors message when viewing SVG code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1798 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 14:33:20 +00:00
Alexis Deveria 368f6e6417 Fixed Issue 718: Gradient missing when opening, but fine when imported
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1797 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 14:05:20 +00:00
Alexis Deveria 47bf005209 Fixed part of Issue 719: Patterns not displaying
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1796 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 13:27:39 +00:00
Alexis Deveria 1afd4224af Fixed issue 449: Gradients are not inverted when an element is flipped
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1795 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-12 20:09:37 +00:00
Alexis Deveria 289d7a8f41 Fixed issue 713: Fill tool breaks after using gradient and then new image
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1793 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-12 15:20:17 +00:00
Alexis Deveria bc965b8e58 Mostly fixed Issue 413: Undesired scaling effect on borders while resizing elements, fixed Issue 711: Scale and move of imported image image doesn't work and issue 712: defs not deleted when image library image (symbol) deleted
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1792 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-11 17:16:10 +00:00
Alexis Deveria 2696644a19 Fixed issue 715: Load via ?url= no longer working
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1791 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-11 12:21:37 +00:00
Alexis Deveria ddbbd53bf6 Fixed issue 377: Raster images don't invert
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1790 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 19:48:55 +00:00
Alexis Deveria 89a918a4f0 Fixed bug in last checkin
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1789 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 19:38:40 +00:00
Alexis Deveria 39f8a8b499 Optimized remapElement
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1788 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 19:25:35 +00:00
Alexis Deveria e936e96078 Fixed Issue 586: Unit test broken since r1541, made sure other unit tests pass too
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1785 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 17:25:11 +00:00
Alexis Deveria 1ef20a3afc Fixed issue 183: Removing unused gradients causes a problem for Undo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1784 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 16:34:24 +00:00
Alexis Deveria 4d65eaf2f9 Added support for editing inside rotated groups (issue 615), fixed some minor bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1782 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-07 20:20:43 +00:00
Alexis Deveria 58a71b0593 Possibly fixed issue 701: Break link to reference element increases stroke weight
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1781 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-07 19:34:53 +00:00
Alexis Deveria aea8325858 Fixed bug where imported images would lose their gradient in Firefox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1780 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-07 17:41:53 +00:00
Jacques Distler 55d7aeab18 Fix bug in serialization of attributes.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1779 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-06 21:05:27 +00:00
Alexis Deveria 3a637498c8 Minor optimizations, fixed issue 706: Revision 1774 Spooges icons on Firefox 4.0b
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1777 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-05 18:50:21 +00:00
Alexis Deveria c23123ab03 Split up doc props and editor prefs, added support for base units (issue 628)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1776 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-05 17:13:00 +00:00
Alexis Deveria f257722d9f Minor fix from last revision
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1775 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-04 17:12:29 +00:00
Alexis Deveria 40dd45125c Fixed part of issue 700, and possibly issue 703
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1774 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-04 16:01:58 +00:00
Alexis Deveria e26eb40fcc Bulk performance improvements by using .indexOf over $.inArray and >= 0
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1769 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-29 18:37:51 +00:00
Alexis Deveria 0dbe3a0b84 Fixed some minor bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1768 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-29 17:36:29 +00:00
Alexis Deveria 7674ea3564 Fixed gradient import bug for webkit browsers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1765 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-28 20:21:22 +00:00
Alexis Deveria a8df84c328 Fixed issue 619: Gradient issues with ungrouped imported images
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1764 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-28 18:59:31 +00:00
Alexis Deveria 5aa8cded2c Fixed issue 694 and some other related text bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1763 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-28 16:57:26 +00:00
Adrian Jones 06f6297ae3 Fixed broken double click to exit inside group edit mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1759 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-25 18:24:21 +00:00
Alexis Deveria d826136331 Fixed some selection related bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1751 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-24 17:24:42 +00:00
Alexis Deveria 73b2b93bab Fixed issue 691 by making resetUndoStack public through svgCanvas.undoMgr
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1750 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-24 16:44:20 +00:00
Alexis Deveria c363097f50 Made tab/shift+tab cycle through elements as long as no input field is focused
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1749 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-24 16:05:46 +00:00
Alexis Deveria 8f56429b1a Fixed bug on changing group level in last revision
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1748 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-23 20:04:44 +00:00
Alexis Deveria 7065218adc Made improvements to in-group editing, includes new panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1747 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-23 19:53:43 +00:00
Alexis Deveria 748c3a4057 Fixed bug where selection box of group was incorrect in Webkit
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1746 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-23 16:28:08 +00:00
Alexis Deveria b9cd59c8ed Added line to remove matrix on symbols converted to groups, fixes in-group editing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1745 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-22 19:48:09 +00:00
Alexis Deveria 5fa7df9835 Removed some unused code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1743 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-22 18:57:29 +00:00
Alexis Deveria be01fab6bc Start ability to edit inside groups (issue 615)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1742 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-22 18:42:24 +00:00
Alexis Deveria 1a494c3a42 Made arrow-key nudging work on grid-snap, made shift-arrow move elements by 10x multiple
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1741 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-21 19:22:52 +00:00
Alexis Deveria 99fb199663 Made some optimizations related to selections
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1730 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 20:33:33 +00:00
Alexis Deveria 75a1d6d3a3 Fixed some grid snapping bugs (related to freehand and path creation) and made some internal optimizations
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1729 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 19:34:23 +00:00
Alexis Deveria 01a5855dbd Fixed Issue 676: Image library elements not responsive with IE9 beta
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1726 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 14:29:22 +00:00
Alexis Deveria 4d817ef39c Fixed bug where textedit mode was being disabled in other browsers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1723 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 16:24:28 +00:00
Alexis Deveria dea7b5c896 Disabled inbuilt advanced text editing for IE9 until a bug is fixed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1722 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 16:20:48 +00:00
Alexis Deveria 411dbc49a1 Fixed more IE9 bugs, re-enabled animation in IE
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1720 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 12:56:09 +00:00
Alexis Deveria 119bf24229 Made optimizations to connector plugin, fixed issue 670 and possibly issue 664
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1714 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-13 19:41:21 +00:00
Alexis Deveria 6c4bc512ff Added some optimization to element selection
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1712 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-10 18:51:59 +00:00
Alexis Deveria d7c30bb45d Changed CSS selector to make all panels but editor and history hidden by default
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1710 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-10 13:58:34 +00:00
Alexis Deveria 2f767163b0 Made zoom and multi-select boxes flexible regardless of grid snapping, turned snapping off by default
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1707 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-10 13:23:31 +00:00
Alexis Deveria a6a2e7c469 Made selection of last created element remain when switching to select tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1706 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 20:10:34 +00:00
Alexis Deveria 9ed94bfc28 Made create->rotate result in switch to select mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1705 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 17:52:36 +00:00
Alexis Deveria 73fd86ecd9 Fixed Issue 651: Allow selection of last created element while still in creation mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1704 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 17:38:33 +00:00
Alexis Deveria 2e1dd1816d Added remaining updates for grid/snapping extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1701 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 12:46:34 +00:00
Alexis Deveria df2fc99450 Fixed last fix that wasn't the right fix
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1699 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-01 12:41:25 +00:00
Alexis Deveria 661f377baa Fixed bugs caused by last revision
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1697 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-01 12:13:26 +00:00
Alexis Deveria 450cc3df8c Fixed some imagelib bugs, added nicer icon, nicer buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1695 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-31 20:31:58 +00:00
Alexis Deveria 8e721292b8 Fixed issue 616: Rotated object from Image Library import jumps on move
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1694 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-31 14:37:36 +00:00
Alexis Deveria 292dd46316 Fixed issue 657 (color picker)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1689 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-30 17:17:57 +00:00
Alexis Deveria f37aaf8d39 Made more IE9 fixes, drawing shapes works properly now, as does alignment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1681 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-25 19:06:23 +00:00
Alexis Deveria 9df823863a Made icons work in IE9 (with a few minor bugs)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1680 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-25 15:10:43 +00:00
Alexis Deveria 631b2b4054 Made save option cause soure editor to appear in Chrome 5+ and IE9, started IE9 support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1679 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-23 20:16:27 +00:00
Alexis Deveria 6179ea465b Fixed issue 631 by giving all visible imported elements an ID
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1678 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-23 15:33:00 +00:00
Alexis Deveria 576f76e671 Fixed bug where matrix transform was left on right-clicked elements, and one where imported SVGs had the same ID as their use elems
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1677 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-23 13:58:51 +00:00
Alexis Deveria ebd0e582df Added basic context menu implementation of issue 20: Bring Forward/Send Backward Commands
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1674 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-20 14:52:55 +00:00
Alexis Deveria 8345aa43d1 Fixed issue 226 and issue 393, allowing the cloning and merging of layers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1672 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-19 18:30:19 +00:00
Alexis Deveria 23851a90a8 Uplifted to latest CanVG for <image> support, made sure (most) images will appear in exported canvas
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1667 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-17 20:28:04 +00:00
Alexis Deveria 16a3d9bc90 Fixed issue 431 by setting a null width/height document's dimensions to that of its contents
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1665 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-17 18:43:05 +00:00
Alexis Deveria 4ba054b7ec Added Cut, Copy, Paste and Paste in Place options to context menu, adjusted menu's styling
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1664 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-17 18:09:50 +00:00
Alexis Deveria da4f9dacfa Added experimental context menu (currently only for deleting elements)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1663 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-16 20:26:06 +00:00
Alexis Deveria 93d6dfa121 Fixed bug caused in r1576 that made path-drawing points and line appear incorrectly when zoomed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1662 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-16 18:14:21 +00:00
Alexis Deveria 11a318de72 Made new image URL start out empty when changing a data URL, removed part of imagelib description
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1661 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-16 17:53:15 +00:00
Alexis Deveria 7776034753 Applied fix for path arc segment delimiter big by zeware (issue 639)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1660 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-13 15:37:50 +00:00
Jacob Brookover 81512c8cb7 -Simple null check that allows setting a default font for the text tool before the program loads.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1653 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-30 20:41:07 +00:00
Alexis Deveria 30248d4790 Fixed several minor bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1652 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-29 19:43:52 +00:00
Alexis Deveria bcbb43ec91 Fixed import bug for Webkit browsers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1651 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-29 17:49:28 +00:00
Alexis Deveria 35ac12a3c9 Made all imported SVGs be placed in the defs with corresponding use elements, added button to convert a use elem to its reference element. Also fixed some minor bugs.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1649 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-29 15:09:49 +00:00
Alexis Deveria b2f2df4eac Added convert-to-group option for SVG elements, added label (title) field for groups/SVGs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1643 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-22 19:10:51 +00:00
Alexis Deveria 1a9b08bed6 Made editor work better locally in Chrome 5, fixed some minor bugs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1642 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-21 17:12:57 +00:00
Alexis Deveria f7d57e54c7 Fixed issue 599 by allowing font style changing without entered text
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1639 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-20 13:35:11 +00:00
Alexis Deveria ee62c61181 Added support for raster image loading through image libraries
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1636 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 18:33:48 +00:00
Alexis Deveria eb575ef68d Added proper support for child SVG elements and made image library import SVGs, taking care of more of issue 71. Also fixed Opera 10.60 layer bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1633 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 15:46:54 +00:00
Alexis Deveria d627c01d1e Added extension that adds Image library option to main menu, includes minimal local and external libraries
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1630 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-14 18:05:03 +00:00
Alexis Deveria 5a66cd4f9f Made various minor improvements to ext-shapes.js, fixed several issues related to issues 593 and 595, including better handling of imported images with 100% width/height
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1628 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-12 20:19:43 +00:00
Alexis Deveria 38cbb00690 Created and included path library extension, based on data by Christian Tzurcanu. Takes care of most of issue 541
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1626 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-09 19:09:37 +00:00
Alexis Deveria c0fa1ef4b1 Added file select option for raster images in server_open extension. Also added Uploading file dialog box for server-based uploads
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1624 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-05 15:38:06 +00:00
Alexis Deveria d80dd06bad Fixed issue 591 and issue 592
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1622 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-05 13:26:52 +00:00
Alexis Deveria f679554ce4 Added extension to offer server-based import/open ability to browsers without File API support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1621 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-01 20:14:12 +00:00
Alexis Deveria d96ddad902 More wacky internal changes and documentation updates
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1620 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-30 18:27:36 +00:00
Alexis Deveria 3d351fa0c7 More optimization/docs work
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1619 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-29 20:43:44 +00:00
Alexis Deveria a9b2010b28 Optimized some stroke/fill functions, more documentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1618 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-28 20:09:34 +00:00
Alexis Deveria 00ef6f5d74 Fixed issue 587, more code reorganization/documentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1617 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-28 13:10:22 +00:00
Alexis Deveria 42dd162ffe More code reorganization/documentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1616 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-22 18:17:42 +00:00
Alexis Deveria 63407c7542 Removed code for Opera/Win/Non-en bugs that were fixed in Opera 10.50. More code reorganization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1615 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-22 14:52:51 +00:00