Brett Zamir
04d522b43b
Properly allow for ext-grid showGrid default setting
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2805 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 02:25:25 +00:00
Brett Zamir
3e14f4374f
Allow initial showGrid value to be set by config.js or URL
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2804 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 01:50:52 +00:00
Brett Zamir
0d34fcfa7d
Properly-formed URLs will not have spaces, so no need to replace; no need for "/" escaping unless within HTML doc; properly encode loadingImage window text; support loading of (properly URL encoded) non-base64 "data:image/svg+xml;utf8,"-style data URIs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2782 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-08 01:31:22 +00:00
Brett Zamir
dd9e3b4864
Ensure top URL will change in case it wishes to react according to storagePrompt param (such as in the embedded editor).
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2722 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-22 05:19:50 +00:00
Brett Zamir
1e2e6529d2
Critical privacy/data integrity fix: Move cross-domain capable message listener into own extension (ext-xdomain-messaging.js) and do not include by default (the extension now won't work anyways without an allowedOrigins config first being set (in config.js) for security reasons (and not via URL)); add allowedOrigins config and demo use in config-sample.js; JSLint; update embedapi.html to supply the xdomain extension in case running xdomain (again, allowedOrigins must be supplied in the local copy of config.js for this to work); modify embedapi.js to allow reuse of cross-domain API with same-domain usage, but without the intermediate JSON parsing which could lose some non-JSONable arguments or response.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2714 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-22 04:08:24 +00:00
Brett Zamir
48f6dd42ca
Simplify storage checking/access
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2711 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-19 04:36:49 +00:00
Brett Zamir
dc1bf5d88c
Safer encoding of cookies; ensure emptyStorageOnDecline only works with explicit decline (and as before, with config so set); add cookie removal to emptyStorageOnDecline behavior
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2709 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-19 01:37:21 +00:00
Brett Zamir
51dcf01415
Minor: Avoid internal use of svgEditor, fix comment
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2706 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-18 23:57:49 +00:00
Brett Zamir
e463b43220
1. Reference config.js in the editor (and remove encouragement for adding extensions to HTML) but ignore config.js in SVN (let user configure) but supply config-sample.js to indicate config/pref/extension possibilities;
...
2. Move ext-overview_window.js to default but overridable list of extensions (as with other extensions);
3. Allow extensions to avoid problems if failing to return an object (in svgcanvas.js);
4. Support new langReady callback to ensure extension always called when locale info is ready (and always load locale, even English);
5. Move localStorage storing to a new (i18n-ized and available-by-default) storage extension which adds a dialog asking user for whether to store prefs and/or SVG content; $.pref() now falls back to checking defaultPrefs (which may have been expanded at runtime to include URL or storage settings); use new config "forceStorage" to get old (bad) behavior
6. Remove initial cap from "Editor" to reflect singleton nature of object (as compared to JSLint conventions for initial cap constructors);
7. Begin a little JSDoc, clearer grouping of properties/methods; JSLint/clean-up
8. Omit values for lang and iconsize to be successfully auto-detected; 9. Document "save_notice_done" and "export_notice_done" within list of prefs; document "showlayers" and "no_save_warning" as config
10. Add "preventAllURLConfig" and "preventURLContentLoading" config for URL security;
11. Add "lockExtensions" and "noDefaultExtensions" config for URL behavior re: extension loading
12. Document "showGrid", and new "noStorageOnLoad" and "emptyStorageOnDecline" extension-related config
13. Change setConfig to allow a second object with "overwrite" and "allowInitialUserOverride" properties and to behave accordingly (with URL config acting with overwrite=false to act under lower priority given security concern), along with checking "preventAllURLConfig" and "lockExtensions" config.
14. Remove any dupe extensions
15. Strip all path config from URL setting in addition to extPath (imgPath, langPath, jGraduatePath)
16. Support select+checkbox type dialog (used for storage ext.)
17. Ensure clickSelect is public so can be properly used by ext-connector.js
18. Reinstate 'in' checks just to be safe
19. Fix broken linkControlPoints() and addSubPath() functions
20. Fix problem when position returned by extension object was too high (e.g., if too few other extensions were included).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2705 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-18 15:06:27 +00:00
Brett Zamir
52f6464aa7
rmv redundant line
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2703 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-17 10:55:20 +00:00
Brett Zamir
ce0e07b278
Very minor: indent/clean-up
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2700 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-17 00:46:57 +00:00
Brett Zamir
b058e518ef
Very minor clean-up
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2698 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-16 03:21:15 +00:00
Brett Zamir
d6cc464ba5
JSLint extensions
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2695 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-12 09:38:38 +00:00
Brett Zamir
d97e21b604
Remove dupe keys in JSON
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2694 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-12 07:58:46 +00:00
Brett Zamir
51b18d2664
Apply changes of mmariani in Github extpath branch ( https://github.com/mmariani/svg-edit/compare/extpath ) as reported by birbag in issue 1184
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2693 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-12 03:48:48 +00:00
Brett Zamir
1181de6847
Minor clean-up; UTF-8 for SVG
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2667 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-02 01:06:25 +00:00
Brett Zamir
a5083f0394
JSLint
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2666 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-02 00:34:04 +00:00
Brett Zamir
adbec3e33e
Safer XHTML escape
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2665 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-01 17:00:36 +00:00
Brett Zamir
506db8ce30
Fix charset addition for ext-server_opensave.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2664 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-01 16:50:05 +00:00
Brett Zamir
0e9a7a7766
Avoid URL decoding; remove dead code; add encoding to XML Declaration in php_savefile extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2663 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-01 16:42:46 +00:00
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
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
a0914b8a01
Removed some log calls and changed image lib open option name
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1737 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-21 12:48:44 +00:00
Alexis Deveria
5fad4fdfe0
Added Raphael icons to shape library
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1736 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-21 12:43:38 +00:00
Alexis Deveria
a54a874ffd
Fixed issue 680, added Raphael icons to path lib (thanks Christian)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1735 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-20 20:40:41 +00:00
Alexis Deveria
fb653705d6
Applied patch by bencurthoys to fix embed api
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1734 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-20 18:55:10 +00:00
Alexis Deveria
99fb199663
Made some optimizations related to selections
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1730 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 20:33:33 +00:00
Alexis Deveria
0ac0ab505c
Enabled preview_url for SVGs when given
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1728 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 17:58:18 +00:00
Alexis Deveria
95d0cc487b
Made improvements to library importing procedure, allowing metadata to be sent before transfer
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1727 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-17 17:13:15 +00:00
Alexis Deveria
ad1933e297
Made raster images be offset on multi-import too
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1725 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 20:25:44 +00:00
Alexis Deveria
1f0e966d1c
Added method of importing multiple images in one go or opening a library image (dropdown list in image library)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1724 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-16 20:10:12 +00:00
Alexis Deveria
119bf24229
Made optimizations to connector plugin, fixed issue 670 and possibly issue 664
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1714 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-13 19:41:21 +00:00
Alexis Deveria
85ac3dace0
More optimization to element selection
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1713 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-10 19:17:06 +00:00
Alexis Deveria
73fd86ecd9
Fixed Issue 651: Allow selection of last created element while still in creation mode
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1704 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 17:38:33 +00:00
Alexis Deveria
e6dd5ea757
Added excellent grid/snapping extension by redou.mine
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1700 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-09-09 12:46:02 +00:00
Alexis Deveria
450cc3df8c
Fixed some imagelib bugs, added nicer icon, nicer buttons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1695 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-31 20:31:58 +00:00
Alexis Deveria
31dd2a429c
Added canvg callback to opensave extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1693 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-31 13:52:54 +00:00
Alexis Deveria
3130f85ac6
Added timeout to PNG export for server_opensave extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1669 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-18 16:45:02 +00:00
Alexis Deveria
4ba054b7ec
Added Cut, Copy, Paste and Paste in Place options to context menu, adjusted menu's styling
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1664 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-17 18:09:50 +00:00
Alexis Deveria
11a318de72
Made new image URL start out empty when changing a data URL, removed part of imagelib description
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1661 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-08-16 17:53:15 +00:00
Alexis Deveria
35ac12a3c9
Made all imported SVGs be placed in the defs with corresponding use elements, added button to convert a use elem to its reference element. Also fixed some minor bugs.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1649 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-29 15:09:49 +00:00
Alexis Deveria
1a9b08bed6
Made editor work better locally in Chrome 5, fixed some minor bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1642 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-21 17:12:57 +00:00
Alexis Deveria
ee62c61181
Added support for raster image loading through image libraries
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1636 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 18:33:48 +00:00
Alexis Deveria
3bbc7173b7
Undid little viewBox experiment
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1635 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 16:05:43 +00:00
Alexis Deveria
234b2581ce
Added IAN Symbol Libraries to imagelib extension, courtesy of adrianbjones
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1634 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 16:05:00 +00:00
Alexis Deveria
eb575ef68d
Added proper support for child SVG elements and made image library import SVGs, taking care of more of issue 71. Also fixed Opera 10.60 layer bug
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1633 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-16 15:46:54 +00:00
Alexis Deveria
a9ea21c521
Added some files missing from last checkin
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1631 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-14 18:08:22 +00:00
Alexis Deveria
d627c01d1e
Added extension that adds Image library option to main menu, includes minimal local and external libraries
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1630 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-14 18:05:03 +00:00
Alexis Deveria
5a66cd4f9f
Made various minor improvements to ext-shapes.js, fixed several issues related to issues 593 and 595, including better handling of imported images with 100% width/height
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1628 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-12 20:19:43 +00:00
Alexis Deveria
38cbb00690
Created and included path library extension, based on data by Christian Tzurcanu. Takes care of most of issue 541
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1626 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-09 19:09:37 +00:00
Alexis Deveria
8ce73cd5ca
Added file saving/export ability to server_opensave extension, fixing issue 582
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1625 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-06 13:57:05 +00:00
Alexis Deveria
c0fa1ef4b1
Added file select option for raster images in server_open extension. Also added Uploading file dialog box for server-based uploads
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1624 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-05 15:38:06 +00:00
Alexis Deveria
f679554ce4
Added extension to offer server-based import/open ability to browsers without File API support
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1621 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-01 20:14:12 +00:00
Alexis Deveria
c24d4933ad
Fixed issue 580 by making connector extension more compatible with markers extension (trunk)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1602 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-17 17:57:24 +00:00
Alexis Deveria
e953bd9c78
Fixed issue 575 and issue 577 on trunk
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1599 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-16 13:16:00 +00:00
Alexis Deveria
58639c2ea2
Added pt_BR file (thanks rafaelcastrocouto), fixed some minor bugs
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1593 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-15 14:36:55 +00:00
Alexis Deveria
83308ef46b
Added Spanish translation (in progress) by Alicia Puerto, fixed bug where circle icon used circle marker icon
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1590 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-08 18:40:13 +00:00
Alexis Deveria
281e70de9a
Fixed issue 559: Polyline doesn't rotate correctly in safari and chrome. Also made undo/redo work better for markers
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1589 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-08 16:48:41 +00:00
Alexis Deveria
cfa2e640db
Added option to set column count on dropdown lists, set marker columns to be 3 wide, fixed bug occuring on open path creation
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1588 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-03 13:05:48 +00:00
Will Schleter
f4f738d2bd
update for issues 556, 569, 570, 571
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1585 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-03 07:25:06 +00:00
Alexis Deveria
0b82668ed3
Fixed issue 547 and another icon size bug
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1569 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-12 20:33:05 +00:00
Alexis Deveria
9be03c4746
Updated locale files as well as lang.en.js with most new strings
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1548 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-27 18:50:16 +00:00
Jeff Schiller
942ccd469d
Fix part of Issue 518: Translates now handled for nested uses in groups
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1492 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-01 04:55:10 +00:00
Alexis Deveria
4a79a4b1da
Made SVG icons no longer require a viewBox to display properly
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1489 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-30 15:28:57 +00:00
Jeff Schiller
effc4200e9
Issue 115: First attempt at an eye-dropper extension/tool. Also add color-interpolation-filters attribute to whitelist
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1486 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-29 03:22:42 +00:00
Jacques Distler
20567c2998
Connector Extension Should Use Defaults
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1469 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-23 01:27:20 +00:00
Jacques Distler
3a9f38f699
Bring extension up-to-date with new API.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1458 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-12 16:42:15 +00:00
Alexis Deveria
85a7f57e78
Changed basic structure for improved integration and customization, introduces global svgEditor object
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1456 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-11 21:07:13 +00:00
Alexis Deveria
66457b70bf
Added hello world extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1442 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 15:30:38 +00:00
Jeff Schiller
1899a59a7f
Correct tooltip in the foreignObject extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1441 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-03-03 07:23:11 +00:00
Jacques Distler
5f6830745b
SVG-Edit-generated IDs can now sport a nonce (to uniquify them). The value of the nonce is recorded as an se:nonce attribute on the root <svg> element.
...
The default behaviour is as before. But, if you call svgCanvas.randomizeIds() or if setSvgString() detects an se:nonce attribute on the root <svg> element, this will trigger the new behaviour (in the latter case, using the existing nonce).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1436 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-27 22:55:53 +00:00
Alexis Deveria
a52cc55ec2
Fixed issue 502, removed unnecessary old dupe extensions that I keep accidentally editing first only to get really frustrated as my changes don't appear
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1432 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-26 20:31:33 +00:00
Jacques Distler
40c820c503
Another tweak to the close_path icons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1418 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-20 16:43:52 +00:00
Jacques Distler
7c55db60c0
Slightly nice placeholder content for foreignObject.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 23:18:47 +00:00
Jacques Distler
6f568b05b9
Close_path Icons, Mark II
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1416 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 23:05:19 +00:00
Jacques Distler
ae1ef30956
Make close_path icons work
...
The icons still need tweaking (in particular, I don't know why the arrowhead doesn't render), but at least we can see them now :-).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1415 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 22:40:04 +00:00
Jeff Schiller
796cee60e1
A little more work on the closepath extension (still doesn't show SVG icons yet)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1412 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-19 16:55:08 +00:00
Alexis Deveria
78c9ae4ad7
Fixed issue 487: foreignObject extension breaks connect two objects tool and made sure both extensions work together
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1409 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-18 15:42:10 +00:00
Alexis Deveria
a3f81f06f2
Fixed bug in foreignobject plugin when creating new foreignObject element
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1405 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 20:08:53 +00:00
Alexis Deveria
57125bc237
Made extension improvements to svg-editor.js and added foreignObject plugin based on patch by Jaques Distler (disabled by default)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1395 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 21:07:13 +00:00
Jeff Schiller
3ee6a57b96
Start Issue 258: dirt-simple extension of a context button to close/open a path. Needs images. And paths that were closed and then opened need some debugging in svgcanvas.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1366 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 21:46:18 +00:00
Alexis Deveria
c032cfb370
Moved extensions to live within editor dir, fixed left toolbar visibility on dialog box
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1361 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 21:26:54 +00:00