Commit Graph

1325 Commits (f75eb79f0b566b48b7c8963a14877c72de540fca)

Author SHA1 Message Date
Jeff Schiller f75eb79f0b Woops, left in some test code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1881 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-02 17:15:47 +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 f77d832c25 Test DOM structure of Selectors
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1876 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-17 16:48:28 +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 304d83f0ed Add test for ChangeElementCommand
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1869 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 20:17:21 +00:00
Jeff Schiller e75b51e182 Pass history event handler down to batch command's subcommands on apply
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1868 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 10:01:19 +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 4a514ee231 Add some tests for history.js. Update History commands for getText() function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1865 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-12 23:10:19 +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 f03a503d9a Add more tests for svgtransformlist.js. Move from browser-sniffing to feature detection for SVGTransformList.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1858 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 18:03:33 +00:00
Jeff Schiller 1039b68c0a More tests for SVGTransformList
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1857 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 16:26:58 +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
Alexis Deveria 09a6a7c307 Fixed jGraduate display bugs in Windows
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1847 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 20:06:26 +00:00
Alexis Deveria f48ad463c7 Fixed utilities reference
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1846 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 18:29:39 +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
Alexis Deveria 8ed4d6b0d8 Fixed dragging bug for color picker on gradient stops
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1843 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 16:18:37 +00:00
Alexis Deveria 3f7f951c81 Updated to latest jGraduate version, fixes bugs and supports multi-stops/more radial gradient options
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1842 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 16:15:56 +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 c5083035ae Tiny uplift of jgraduate and really check in the Makefile changes this time
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1835 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-29 05:23:25 +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
Alexis Deveria a439a8fea5 Fixed icons in Opera which were broken due to jQuery 1.4.3
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1832 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 16:04:35 +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 2d9ff7a2e0 Fixed Issue 729: You can move dialog boxes off the page
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1828 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-27 19:28:32 +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 b1d892f703 Fix missing conversion from Utils. to svgedit.Utilities.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1824 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-27 15:49:26 +00:00
Jeff Schiller 653b6b1b19 Slight tweak to background color to increase contrast with buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1823 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 17:37:05 +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 91ae501438 Update Makefile for two new JS files
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1819 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-26 07:29:00 +00:00