Commit Graph

341 Commits (c3c98033b6e96b5fab7235592894151f6754e72f)

Author SHA1 Message Date
Brett Zamir f8aeacd7a8 Support PNG, JPEG, BMP, WEBP export formats by change of "Export to PNG" menu item into "Export" with its own pull-down dialog (and a HTML5 range type input element for "quality" selection for JPEG or WEBP files), including changes for the server_opensave extension; change locale key from "export_png" to "export_img" and change the corresponding localized strings (currently CS, DE, ES, FR, IT, NL, PT-BR, RO, SK, all reset to English to avoid translation errors); within the setCustomHandlers() API, deprecate "pngsave" in favor of "exportImage" (chosen to avoid just using the simpler but reserved JS keyword "export") including use within the server_opensave extension; a few JSLint-friendly changes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2602 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-28 03:53:30 +00:00
Brett Zamir c75661c758 Indent consistency per file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2591 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 01:50:42 +00:00
Brett Zamir 1566e522b8 Remove backward-compatible, HTML5-unnecessary type="text/javascript" and convert to shorter, backward-compatible, HTML5-friendly meta charset
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2574 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-12 01:31:16 +00:00
Brett Zamir 414cf7ca9c XHTML/XML fixes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2573 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-12 01:25:20 +00:00
James Sacksteder 3887d822b2 Added a thumbnail overview as described in Issue 208 part 6.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2533 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-09-23 18:55:52 +00:00
Jeff Schiller 59130ed555 Create jquery-svg module and empty test, update build. Add a couple tiny unit tests for recalculate.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2442 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 15:34:42 +00:00
Jeff Schiller ba387c22d3 Move recalculateDimensions() into its own module: recalculate.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2436 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 06:29:25 +00:00
Bruno Heridet 617c5c32bb fixed #895 thanks to FlintOBrien - Grid is invisible when background is black
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2435 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 21:07:24 +00:00
Bruno Heridet 8eceeb2b3f unified overlays styling
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2423 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 18:52:07 +00:00
Bruno Heridet f9b8aa624c created svgedit main object, moved all namespaces handling in the same place
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2411 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:02:26 +00:00
Jeff Schiller a779a74aa9 Add fully qualified function calls, shuffle a couple tiny functions into svgutils.js, add an empty coords.js module for later
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2390 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 15:19:46 +00:00
Luis Aguirre 197c62f7cd Enable ext-panning extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2337 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 17:41:42 +00:00
Rafael Couto bf0a0c991c viewport meta tag should use , instead of ;
no more error alerts in console

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2283 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-16 10:35:54 +00:00
Mark MacKay bea865ae4f fix for transparent color
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2225 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-05 00:06:48 +00:00
Mark MacKay fb7e0d6682 Changing Româneşte to Română (issue 1032)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2209 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-04 18:12:34 +00:00
Marc Laporte 9fdc9cf01b Initiating some stigmergy (https://en.wikipedia.org/wiki/Stigmergy). Even if the version number is not readily visible anymore, everyone watching closely will get the signal that the time to release 2.6 is that much closer! :-)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2205 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-04 04:19:44 +00:00
Mark MacKay 08e5405a41 interface optimizations for maximizing canvas area
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2195 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 01:42:57 +00:00
Ahmad Syazwan 4cc9c7d0ec Apply duopixel's patch for drag 'n drop image support (see issue 999). Also removed trailing spaces
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2090 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-10-22 10:47:50 +00:00
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
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
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 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 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
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
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
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
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
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 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 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 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 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
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 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 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 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 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
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 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 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