Commit Graph

1670 Commits (05dc118abea7e3891eef88a2444bec44847ef7c9)

Author SHA1 Message Date
Will Schleter 7f487a89b2 Address issue 526 - incorporate duopixel's patch to convert touch events to mouse events.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2085 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-07-21 11:02:54 +00:00
Ahmad Syazwan 36e0fbd2d5 Fix issue 934. Patch by adambender.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2083 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-25 04:04:22 +00:00
Ahmad Syazwan db95f77300 Fix issue 964. Patch by bdkzero.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2082 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-23 10:33:22 +00:00
Jacques Distler a808ea61ef Applying this logic to foreignObject leads to incorrect positioning of the grip for the element (displaced from its correct location by (x,y) ).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2081 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-22 12:05:25 +00:00
Pavol Rusnak 519859eaf8 fix XSS in editor/extensions/fileopen.php
reported by Lukas Reschke <lukas@statuscode.ch>


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2080 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-08 20:09:38 +00:00
Jeff Schiller 7e6a6e68a1 Rollback bad revision 2075
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2076 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-31 18:02:08 +00:00
Jeff Schiller b0aa96bdec Fix a test failing in Firefox by decreasing the precision expected
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2075 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-31 17:55:01 +00:00
Ahmad Syazwan 2d74a7ace5 Fix regression due to earlier fix of issue 937
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2072 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-30 03:50:54 +00:00
Ahmad Syazwan f2c76b4b39 Fix issue 937
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2071 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-29 02:47:06 +00:00
Ahmad Syazwan 168eed7944 Fix issue 874
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2070 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-26 13:33:48 +00:00
Ahmad Syazwan 277e391108 Fix issue 929
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2069 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-26 11:53:12 +00:00
Ahmad Syazwan 49d9bf34d9 Fix issue 904 for Chrome on linux
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2068 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-26 07:55:03 +00:00
Ahmad Syazwan c3f7b7541d Fix issue 927 and issue 462. Patch by duopixel.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2067 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-22 10:31:25 +00:00
Ahmad Syazwan c15e813afb Fix issue 924 by calling jQ .attr() for empty object, which basically will return 'undefined' instead of 'this'
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2066 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-22 07:43:11 +00:00
Ahmad Syazwan 70429df0cd Fix issue 919, patch by duopixel. Also introduced browser.isMac
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2065 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-20 08:58:24 +00:00
Ahmad Syazwan 8a576812f0 Uplift canvg to v1.1, which also fixes r928
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2064 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-20 04:57:23 +00:00
Jeff Schiller 3ab630261f Partial fix for issue 927 (patch by duopixel)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2063 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-17 20:16:43 +00:00
Jeff Schiller 7c949e2e17 Fix issue 925, patch by asyazwan
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2062 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-17 17:56:46 +00:00
Jeff Schiller aefa8a5061 Remove minified file as it is no longer used
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2061 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-17 17:46:40 +00:00
Jeff Schiller 5786a1bc30 Patch for jquery.contextmenu.js. Add jquery.contextmenu.js to Closure compiler step in Makefile
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2060 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-17 17:45:28 +00:00
Jeff Schiller 2b669ce556 Hopefully fix 889: adopt/import nodes and handle CDATA nodes (patch by asyazwan)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2059 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-27 17:24:03 +00:00
Jeff Schiller 0f85c54128 Potential fix for issue 889, importing problems by adding style element to whitelist (patch by asyazwan)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2057 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-26 18:08:34 +00:00
Jeff Schiller e9cb4c2ce1 Fix Issue 909: editor-wide access to the show_save_warning bit (applied patch by adambender)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2056 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-25 02:17:34 +00:00
Jeff Schiller c7635282f4 Fix Issue 907: Allow custom menu options (Apply patch from adambender)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2055 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-25 02:13:18 +00:00
Jeff Schiller 1d05b8340b Second attempt to fix bug 904 by asyazwan
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2054 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-23 04:13:59 +00:00
Jeff Schiller 53b1c45ed9 Fix bug 904: Chrome Windows crashing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2053 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-23 03:11:28 +00:00
Jeff Schiller dfc67588dc Update to jQuery and jQuery-UI latest
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2052 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-23 02:48:21 +00:00
Adrian Jones 9c2148a983 Fixes issue with r2045 that prevented selecting text in various controls
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2048 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-10-14 15:07:24 +00:00
Jacques Distler 4cc0e5c78d Fix regression (drawing of zoomed paths) from rev 1826.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2047 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-10-01 04:41:14 +00:00
Adrian Jones 1c11da64a4 Extra part to undesirable selection patch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2046 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-30 14:50:00 +00:00
Adrian Jones f1fcca06a8 Patch for preventing undesirable selection of tool buttons. For example if ctrl-a is pressed.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2045 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-30 14:37:52 +00:00
Peter Reid 718d377a98 Fixed flyout menus sometimes getting stuck partially closed (Issue 856).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2042 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-24 23:38:47 +00:00
Jeff Schiller 25c6faf0e8 Commit patch for Issue 840, duplicate shortcut key for D
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2041 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-23 00:05:16 +00:00
Jeff Schiller 53fbb25328 Check in James Wright's patch for proper zooming of the background image
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2040 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-22 23:58:12 +00:00
Jacques Distler 6b1483446b Some MathML3 attributes for the Sanitizer (to match itex2MML 1.4.7)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2039 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-11 04:15:15 +00:00
Pavol Rusnak c19b88c509 added ext-server_moinsave.js extension by Reimar (Issue 821)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2038 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-07-27 15:39:43 +00:00
Jacob Brookover 364b0a61ae -More null checks for alternative interfaces
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2037 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-07-07 17:36:58 +00:00
Jacob Brookover f85d4b9e88 -null element checks for alternative HTML interfaces
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2035 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-06-24 16:28:34 +00:00
Alexis Deveria 1c38606a34 Fixed Issue 760: Drawing with an imported Image selected sets default stroke and fill to none
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2028 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-03-09 20:00:49 +00:00
Alexis Deveria 3f54e9d5e2 Fixed Issue 784: Allow extensions to set font color
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2027 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-03-09 18:55:48 +00:00
Jeff Schiller 582b249a97 Move recalcRotatedPath() into path.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2025 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-03-07 18:26:12 +00:00
Jeff Schiller 13cee8b672 Tiny bit of refactoring. Tentative removal of selectedBBoxes from svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2005 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-24 16:13:26 +00:00
Alexis Deveria 7575794281 Updated minified spinner script
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2004 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 21:06:26 +00:00
Alexis Deveria 2b075e7e62 More minor IE9 bug fixes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2003 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 20:06:33 +00:00
Alexis Deveria 0b7c8d489a Made IE text bug be detected through supportsGoodTextCharPos rather than browser sniffing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2002 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 19:45:02 +00:00
Alexis Deveria 47001a9488 Removed some code for IE9 beta that's no longer necessary in the IE9RC
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2001 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 18:30:09 +00:00
Alexis Deveria 2cf69fb759 Fixed Issue 781: Drawing area jumps to top-left corner on window resize (IE9)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2000 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 17:10:21 +00:00
Alexis Deveria 4c4db71652 Fixed rest of Issue 782: Text editing is buggy (IE9)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1999 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 16:44:20 +00:00
Jeff Schiller d63a9ac760 Fix Issue 787: Paths keeping old path edit nodes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1998 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 16:34:59 +00:00
Jeff Schiller 34bc623f08 Migrate another few bits of code into path.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1997 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 16:24:07 +00:00
Alexis Deveria 6d6c6aa61f Fixed sub-bug in Issue 717: Bounding box not surrounding entire image library image, started on Issue 782: Text editing is buggy (IE9)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1996 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 15:56:14 +00:00
Alexis Deveria 90fffe8a09 Fixed locale script to no longer use eval() (and work locally in chrome)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1995 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-11 19:21:50 +00:00
Alexis Deveria 01e08e2116 Fixed bugs causing tests to fail in Firefox and IE9
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1993 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 19:09:35 +00:00
Alexis Deveria 32f61b2b3a Fixed more bugs related to issue 717
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1992 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 18:10:05 +00:00
Jeff Schiller f69f89659f Remove debugger statement. woops.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1991 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 04:11:19 +00:00
Jeff Schiller 45a26c1602 Fix bug where IDs could not be changed. Moved cleanupElement into svgutils.js. Corrected MIME type of two new test files.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1990 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 04:10:03 +00:00
Alexis Deveria ca671f90d2 Fixed issue 717: Bounding box not surrounding entire image library image
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1988 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-09 21:32:53 +00:00
Alexis Deveria 292391150f Cleanup code left from last revision
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1987 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-09 17:48:00 +00:00
Alexis Deveria 085d7f479f Fixed error thrown on shift+mousemove in path create mode
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1986 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-09 16:30:11 +00:00
Jeff Schiller 99a73cc06f Refactor a few more functions into the math and path modules. Update MIME type on all JS files
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1984 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-09 06:14:47 +00:00
Alexis Deveria 50660b37b5 Fixed Issue 721: Label box doesn't work as expected (for title element in groups)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1980 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-04 18:49:12 +00:00
Jeff Schiller 52c74f266b Move most of Path into svgedit.path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1978 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-04 16:06:25 +00:00
Alexis Deveria 8032d08acb Fixed Issue 775: Undo funkiness with <use>
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1977 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-04 15:55:47 +00:00
Jeff Schiller bf2757a4de Move getElem() and assignAttributes() into svgutils.js. Started moving pathActions into path.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1976 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-04 08:02:46 +00:00
Jeff Schiller cb3bf30c94 Fix importing the same symbol multiple times (Issue 774)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1975 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-03 18:16:22 +00:00
Jeff Schiller 76a2ce76d5 Add third mode of id randomization and some tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1974 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-03 16:38:15 +00:00
Alexis Deveria e3a8fb92b2 Remove scrollbar generated since r1957
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1973 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-03 14:58:47 +00:00
Jeff Schiller 09ab8a85fe Fix randomizeIds() to also add a nonce to the current document if not present
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1972 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-03 06:45:01 +00:00
Alexis Deveria 67384a5a71 Fixed more of issue 662
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1971 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 21:26:41 +00:00
Alexis Deveria 28d1dbcfe5 Fixed other part of issue 662: Break link to reference element Undo weirdness
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1970 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 19:36:49 +00:00
Alexis Deveria 245c92d378 Fixed part of issue 662: Break link to reference element Undo weirdness
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1969 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 18:24:44 +00:00
Jeff Schiller 99931f7d5b Move shortFloat() into svgedit.units. Add test file for svgedit.units.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1966 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 17:28:43 +00:00
Alexis Deveria fe537b05a8 Added 'supportsPathBBox' to svgedit.browser to replace a webkit browser sniff
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1965 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-01 20:25:06 +00:00
Jeff Schiller aeaa8b0213 Upgrade qunit to latest at github
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1964 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-01 15:36:45 +00:00
Alexis Deveria 9e9c758167 Another attempt at fixing issue 769
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1963 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-01 15:23:18 +00:00
Jeff Schiller 9c8ba2361f Fix Issue 770: Trouncing the nonce. Restructured how random ids are produced. Updated how new documents are created.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1962 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-01 07:22:18 +00:00
Alexis Deveria 846ee8eca1 Better fix for Issue 769: Text tool defaults to white in FF4
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1961 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 20:27:05 +00:00
Alexis Deveria f639150fed Fixed Issue 769: Text tool defaults to white in FF4
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1960 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 20:02:24 +00:00
Alexis Deveria 60845f62b3 Fixed bug where Raphael icons appeared correct, but messud up on export
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1959 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 19:15:24 +00:00
Alexis Deveria ba028851bc Fixed Issue 762: Editing imported SVGs with <symbols> included causes some major issues
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1958 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 18:22:04 +00:00
Alexis Deveria ae042a81bb Fixed bug in last revision by relocating context panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1957 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 16:52:05 +00:00
Alexis Deveria 201d284071 Fixed issue 764: Small window size may cause the UI to be drawn over the drawing area
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1956 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 15:57:01 +00:00
Adrian Jones 212e5b1795 Cursory revamp of shortcut keys and cleanup of tooltips that show shortcuts that don't work. Kept modkeys out of things for the moment.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1955 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-30 20:03:09 +00:00
Jeff Schiller d85a7bc8a2 Add deleteCurrentLayer() to Drawing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1953 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-30 17:11:56 +00:00
Jeff Schiller cd00087f2a Fix Bug 767: Fire changed events when changing stacking order of elements (modified patch from Da.Waterworth)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1952 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-30 16:45:29 +00:00
Adrian Jones 4da11c4924 Renamed clone to duplicate and added ALT arrow and ALT drag duplicate
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1951 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-30 05:55:33 +00:00
Alexis Deveria 81ac3d75c6 Added default keyboard shortcuts to common commands including: Undo, Redo, Cut, Copy and Paste
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1949 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 20:11:18 +00:00
Alexis Deveria 2a8f6fbd20 Fixed bug where eyedropper would be incorrectly disabled at times
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1945 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 16:48:42 +00:00
Alexis Deveria 262b0da7e7 Undo work on Issue 336: Live Updates to Dimensions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1944 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 16:10:43 +00:00
Jeff Schiller 00d05776a2 Move setLayerVisibility() and setLayerOpacity() into Drawing and some tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1943 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 07:39:30 +00:00
Jeff Schiller 4190990d69 Move getLayerVisibility() and getLayerOpacity() into Drawing and some tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1942 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 06:45:34 +00:00
Jeff Schiller 3e9f1747ff Add createLayer() to Drawing and tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1941 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 04:37:41 +00:00
Alexis Deveria 3398b37947 Fixed Issue 336: 'Live Updates to Dimensions' and Issue 766: 'Rotating an object produce many elementChanged events' by creating/using 'transition' event
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1940 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-27 14:23:33 +00:00
Alexis Deveria f8b1a99c41 Fixed Issue 765: The context menu can go off the side of the screen by updating jquery.contextMenu.min.js with unminified version
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1939 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-26 18:19:39 +00:00
Alexis Deveria 276972ab7d Fixed Issue 763: Drawing with the pencil tool fires two elementChanged events
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1938 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-26 17:35:28 +00:00
Jeff Schiller ec56e8b2c3 Move setCurrentLayer() into Drawing. Rename getCurrentLayer() to getCurrentLayerName() and move into Drawing. Tests.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1937 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-26 03:18:59 +00:00
Jeff Schiller 493ac8ae41 Move current_layer into Drawing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1936 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-25 16:15:29 +00:00
Jeff Schiller c6cd4c800a Fix inclusion of jQuery in release-mode. Tweak shippy
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1934 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 19:04:34 +00:00
Alexis Deveria 717f596928 Fixed gradient picker by updating minified file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1933 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 18:54:50 +00:00
Jeff Schiller 6b8958bd39 Turn on Closure compilers SIMPLE_OPTIMIZATIONS. Slightly change how svgedit namespace is set up in each module
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1931 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 06:46:45 +00:00
Jeff Schiller 8379711c3e Finish Python script that switches the release script tags in svg-editor.html. Updated Makefile
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1930 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 06:13:40 +00:00
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
Will Schleter 71dc44137d Fix local part of issue 759 - Image library not working in embedded editor. IAN image library issue still needs addressed
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1924 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 22:11:27 +00:00
Adrian Jones ff498b5bc7 Added IE9 to list of browser alternatives
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1923 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 20:40:17 +00:00
Jeff Schiller e4714fd767 Restore layer button functionality broken since locale-script change
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1922 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 20:25:57 +00:00
Adrian Jones 372b5d996b Added links to other browser downloads, including the Chrome plugin
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1921 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 17:55:20 +00:00
Jeff Schiller 3ffc78a81c Remove debugging statements
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1920 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 16:30:29 +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
Adrian Jones 881cfab46b Added new browser-not-supported.html file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1917 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 03:22:24 +00:00
Adrian Jones b6263bc7ff Adds check for browser svg support and redirects to error page if not supported
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1916 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 03:18:19 +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
Adrian Jones daa3dda356 Fixed main menu width to prevent text wrapping with some languages
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1914 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-14 22:00:51 +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
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 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
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 331659ead0 Uplift to jQuery 1.4.3
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1810 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-19 18:17:37 +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 01579b6d24 Added Italian language by Furio Petrossi to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1805 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-14 18:07:12 +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 23c7ede442 Fixed bug where picker opacity appeared wrong
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1803 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-14 17:35:34 +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
Adrian Jones e02a152d0f Changed name and hid Show Libraries button when not relevant to avoid confusion
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1801 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 23:22:29 +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 4d01563caf Removed change call in updateToolbar to improve performance
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1799 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-13 14:40:13 +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 8c43ffa9d0 Overhaul for paint boxes, simplified and reduced code required
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1794 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-12 18:35:45 +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 d3b2f899a3 Fixed issue 698: failure to xhr load the svg reslts in an unusable svg-edit screen
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1787 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 18:21:46 +00:00
Alexis Deveria 884e92dc3a Fixed issue 625: SVG Data URLs fail to load when ending with an equals (=) character
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1786 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-08 17:54:45 +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 afc874626f Made some context menu optimizations
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1783 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-07 20:56:43 +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 e715594ae0 Removed alert from last checkin (sorry)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1778 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-05 20:20:20 +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 50b942d0ce Added basic rulers for issue 628
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1773 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-01 18:59:12 +00:00
Alexis Deveria d114662767 Changing version from pre-alpha to alpha
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1771 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-30 14:08:13 +00:00
Alexis Deveria 1988023fe0 Fixed issue 697
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1770 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-29 20:32:28 +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
Alexis Deveria 69a00c7ffe Added zoom in/out icons for webkit/gecko browsers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1762 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-27 18:58:04 +00:00
Adrian Jones d81ac5b876 Updated labels I forgot to change for Front/Back buttons on top menu
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1761 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-27 14:33:15 +00:00
Adrian Jones de64f02567 Added Bring to Front and Send to Back options to context menu and changed shortcut keys (fixes bug where shift+up/down changed stacking order while doing a large nudge)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1760 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-27 14:20:20 +00:00