Commit Graph

872 Commits (c6cd4c800aec3447520142da89fda23935b00a01)

Author SHA1 Message Date
Jeff Schiller af0599d632 Changes to Makefile so things build better. Start on a python script for releasing the HTML file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1929 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-17 22:11:35 +00:00
Jeff Schiller 97071abd0e Move getLayer() into Drawing with tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1928 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-17 05:02:08 +00:00
Jeff Schiller 8691a37376 Add identifyLayers() to svg.draw.Drawing with tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1927 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-17 04:36:54 +00:00
Jeff Schiller 6f9f943093 Move hasLayer() into svgedit.draw.Drawing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1926 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 23:18:51 +00:00
Jeff Schiller 0db154bff4 Rename document module to draw. Add getNumLayers() to draw module.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1925 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 23:07:35 +00:00
Jeff Schiller c21b9be33c Fix width of layer button panel for Firefox OSX. Fix setting of uiStrings in editor for New Label. Move all_layers into svgedit.document.Document
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1919 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 16:28:26 +00:00
Jeff Schiller b34d721491 Remove unused exportNoImage warning. Fix translation string when converting a use-symbol into a group
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1915 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-15 06:40:37 +00:00
Jeff Schiller 82f5bfdc30 Actually use svgedit.document.Document in svgcanvas.js. Added Document.releaseId() to prevent mouseUp using up ids.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1912 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-14 18:18:29 +00:00
Alexis Deveria 7ce0c3336b Added 'selectNew' config option to disable auto-selection when an element is created
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1911 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 16:17:00 +00:00
Jeff Schiller 28b9c0cfd7 Rename browsersupport module to browser
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1910 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 07:47:21 +00:00
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
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