Commit Graph

1497 Commits (282f81f27aa2ae3533da79217e58ed836a9d1c0f)

Author SHA1 Message Date
Jeff Schiller 282f81f27a Rewrite browsersupport JS module to only expose functions. Added detection for Selectors and XPath support. Updated svgcanvas.js to create its getElem() function based on browsersupport.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1909 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 07:38:27 +00:00
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
Alexis Deveria 15165fe7b9 Possibly fixed Issue 753: line tool icon goes black
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1907 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 20:38:16 +00:00
Alexis Deveria d3bfb4a46c Fixed bug where showRulers=false wasn't hiding the rulers properly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1906 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 15:10:01 +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 e5ce3448b1 Mass conversion of locale files to new format
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1901 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-11 21:15:08 +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 1b7e991bfe Made several minor visual improvements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1899 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-07 18:37:21 +00:00
Alexis Deveria a14e02d71c Updated jGraduate, to set the inverse of the current color as the default second gradient stop
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1898 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-07 17:35:05 +00:00
Alexis Deveria 1c8e1001a6 Fixed image library regression
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1897 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-04 21:12:00 +00:00
Alexis Deveria f411047b04 Finalizing new locale system
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1896 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-04 20:03:02 +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 0bc65d35c6 Begin locale revamp (will break all non-en languages for now)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1894 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-31 20:02:35 +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 5193e8732d Fixed Issue 702: Ability to recognize stroke weight of group
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1892 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-21 14:34:54 +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 3622c3d92b Fixed bug where wireframe mode would hide grid, made minor translation changes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1886 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-17 21:11:18 +00:00
Alexis Deveria 833b280504 Fixed bug where rulers weren't drawn correctly on zoom in Safari or IE9
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1885 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-16 17:06:25 +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
Alexis Deveria 2ef4f9fa3c Fixed icon bug in IE9, fixed flyout menus
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1883 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-15 17:03:42 +00:00
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 8bf4dfbe7a Forogt MIME type yet again
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1875 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-15 19:14:25 +00:00
Jeff Schiller 111dba0350 Add select_test to all_tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1874 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-15 19:13:52 +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 1918ddae7a Add test for BatchCommand
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1870 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-14 03:12: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 deb5e4a2fa Test for UndoManager.undo() and redo()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1866 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 05:09:21 +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 86c750848b Move matrixMultiply() test to math test file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1863 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-09 05:37:36 +00:00
Jeff Schiller dd719b48ea Start on a math unit test file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1862 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-09 05:29:41 +00:00
Jeff Schiller d798f483e2 Add which browsers currently pass
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1861 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 19:06:56 +00:00
Jeff Schiller 45e8914e9f Add HTML5 DOCTYPE and CSS MIME type to tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1860 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 19:04:43 +00:00
Jeff Schiller 3a76f5e4d6 Correct mime type on svgutils_test.html. Add test for svgedit.utilities.bboxToObj()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1859 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 18:10:06 +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