Commit Graph

846 Commits (aafe8434854cf13a169107f5786e732aea12e8d7)

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