Brett Zamir
|
21c946fd99
|
server_opensave-related changes: 1) Be more lenient in filename possibilities for server_opensave (supporting Unicode except characters disallowed in Windows file names); 2) XHTML escape filename and SVG content when put into HTML hidden input element as opposed to unnecessary URL-encoding; 3) fix base64 encoding (with update to dependent utf8-encoding function)--old base64 code caused SVG to break with surrogate pairs (e.g., in title); 4) provide default UTF-8 encoding in XML declaration and add this XML declaration to the download attribute as well
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2662 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-01 16:13:51 +00:00 |
Brett Zamir
|
496ee1e875
|
Possible todo to support server-side saving of exports as well
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2660 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-01-31 13:12:52 +00:00 |
Brett Zamir
|
7fc5c51d66
|
Delete old insecure server-save PHP in favor of a new php-savefile extension which requires addition by user of a configuration page "savefile_config.php" in order to work (and where the user should do their own validation). Add this config file and "saved.svg" (the default name when no filename is supplied) to SVN ignore list.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2658 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-01-31 12:58:16 +00:00 |
Brett Zamir
|
7a4d8949c7
|
Changing naming of "method" to "mode" in error (very minor)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2638 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-01-26 11:06:27 +00:00 |
Brett Zamir
|
e17b03a59b
|
Filter out bad MIME types from fileopen.php and share allowable array with filesave.php
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2617 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-29 07:26:29 +00:00 |
Brett Zamir
|
5ff2311348
|
Making tabbing consistent
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2615 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-29 06:54:31 +00:00 |
Brett Zamir
|
c3c98033b6
|
Fix data:image/svg link loading for imagelib extension; fix server_opensave-extension-opened SVG files for older browsers; leverage utilities base 64 encoding in place of btoa also in server_opensave extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2614 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-29 06:33:37 +00:00 |
Brett Zamir
|
a0d485d336
|
Type sanitization for fileopen.php (no more need for character set/HTML-type concerns on htmlentities)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2613 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-29 06:13:33 +00:00 |
Brett Zamir
|
2b35ec344b
|
Prevent errors in svg-editor when imagelib extension is used; Update imagelib to proper HTML5 with charset
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2611 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-29 03:43:10 +00:00 |
Brett Zamir
|
2400493cab
|
Add charset to HTML5 doc (and make more XHTML friendly)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2609 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-29 03:09:52 +00:00 |
Brett Zamir
|
e5f3e81a07
|
Change ext-server_opensave.js to work wholly client-side if download attribute supported (and JSLint in process)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2606 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-29 01:26:23 +00:00 |
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
|
0c88f41818
|
Very minor commenting issues (sp./clarify comment)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2601 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-18 12:31:35 +00:00 |
Brett Zamir
|
80c16aa6ef
|
Move back to string messages for postMessage for sake of IE9 (though not with eval); avoid IE9 error with localStorage and missing select icon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2590 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-14 01:24:52 +00:00 |
Brett Zamir
|
f0b278762b
|
WebAppFind potential file: protocol support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2588 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-14 00:29:42 +00:00 |
Brett Zamir
|
a6814949fc
|
Add WebAppFind extension and icon (depends on WebAppFind add-on and executables)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2587 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-14 00:10:43 +00:00 |
Brett Zamir
|
ffde8814ac
|
Fix security issue by avoiding use of eval() within postMessage calls between embedAPI and main editor (also namespace the messages and protect the imagelib extension message listener from non-string messages); avoid embedAPI's unneeded randomizing of callback IDs in favor of incrementing; deprecate old embedded_svg_edit API name in favor of JS/JSLint-friendly EmbeddedSVGEdit name (and allow it to be instantiated w/o new keyword); JSLint/HTML5-ize embedAPI files, remove HTML5/browser-optional type="text/javascript", remove unused comments for embedAPI
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2585 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-10-13 23:59:32 +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 |
Ben McDonald
|
3b9b729194
|
Remove element if mouse has not moved.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2521 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-06-30 13:15:10 +00:00 |
Adrian Jones
|
f4057ce908
|
Trim title of leading/trailing spaces before making filename. Avoids excess hyphens in filename.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2514 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-05-30 17:35:48 +00:00 |
Jo Segaert
|
ccbb084bbf
|
Adding mathjax extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2504 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-04-12 19:25:18 +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
|
bccb227cdd
|
fixed indentation in ext-arrows
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2429 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-19 12:22:18 +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 |
Bruno Heridet
|
ce39cb21a6
|
fixed missing semicolons on star extension, this extension does not work as intended
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2409 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-16 11:53:07 +00:00 |
Bruno Heridet
|
c5357a607b
|
fixed missing semicolons in shapes extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2408 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-16 11:35:32 +00:00 |
Bruno Heridet
|
8c5976f488
|
fixed formatting in panning extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2407 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-16 11:21:06 +00:00 |
Bruno Heridet
|
6b23a26b82
|
fixed formatting in closepath extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2406 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-16 11:19:25 +00:00 |
Bruno Heridet
|
424bf3001b
|
cleaned up grid extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2405 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-16 11:10:26 +00:00 |
Luis Aguirre
|
9041ef9609
|
Fixed: ext-panning removes last created element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2338 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-07 18:12:36 +00:00 |
Luis Aguirre
|
3ad14a1e2a
|
Updating ext-panning to use svgEditor.setPanning() instead of svgEditor.setPan()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2335 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-07 14:07:04 +00:00 |
Luis Aguirre
|
167b502b67
|
Removing comments and updating wrong ones from ext-panning.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2334 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-07 14:00:11 +00:00 |
Luis Aguirre
|
a16a490f5e
|
Adding Padding extension for tablet/mobile devices
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2333 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-02-07 13:57:55 +00:00 |
Chance Roth
|
f410e21006
|
Added Star and Polygon Extensions - Looks like Firefox recently broke something and shows mitre ends too long. USed to work great, Chrome is fine. v.2
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2319 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2013-01-18 18:05:41 +00:00 |
Mark MacKay
|
79337bb3aa
|
Touch events for Image Library, issue 1008
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2155 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2012-11-13 11:01:07 +00:00 |
Marc Laporte
|
cf0dde3f4a
|
Updating license information as per http://code.google.com/p/svg-edit/issues/detail?id=959
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2088 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2012-09-16 18:53:27 +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 |
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 |
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
|
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 |
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 |
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 |
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 |
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 |
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
|
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
|
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
|
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
|
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 |
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 |