Commit Graph

910 Commits (582b249a97172599a6a0619001b9a8af344845fa)

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