Commit Graph

1711 Commits (d5216c8dbd4ee9b216b5469635b1b87104ae4dfe)

Author SHA1 Message Date
Brett Zamir 7295eece09 Potentially breaking change: Prevent setting of extPath via URL and prevent setting of cross-domain or cross-folder extensions via URL, i.e., if the extensions string possesses the character ":", "/", or, to be extra safe, "\", (issue #4 of mailing list post "Agenda for resolving security issues"). extPath and extensions can still be meaningfully set freely via setConfig calls, e.g., "svgCanvas.setConfig({extPath: ..., extensions: ...});" if made before Editor.init() is called in svg-editor.js (which is called on a jQuery ready (i.e., DOMContentLoaded) event). To avoid modifying svg-editor.html, one could build an extension which loaded its own scripts as done by the simple extFunc() function in svg-editor.js, but this would occur a little later (Should we export extFunc() for this usage?).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2671 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-10 05:33:05 +00:00
Brett Zamir bc3f7923e0 Very minor clean-up
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2668 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-04 04:08:24 +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 f67b3f3e4f Change Polish key export_png to export_img (as already changed in other locales); have emailed for confirmation of accuracy of translation, awaiting reply
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2659 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 13:06:43 +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 515de36d65 Check for urldata.extPath!
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2657 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 12:22:20 +00:00
Brett Zamir 51ed2f6106 JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2653 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 10:55:18 +00:00
Brett Zamir 525e8322a9 JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2652 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 10:40:52 +00:00
Brett Zamir f22e95f437 Tab fixes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2651 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 08:57:22 +00:00
Brett Zamir 4d42195d63 Properly prevent "extensions" in URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2650 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 08:23:27 +00:00
Brett Zamir 712c52ed54 Critical security fix preventing cross-domain extensions or extension path via URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2648 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 07:13:47 +00:00
Brett Zamir 881d82859b Minor clean-up; remove old comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2647 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 07:13:17 +00:00
Brett Zamir 5f01a845e6 Clarify, JSLintify examples in comments
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2646 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 04:54:49 +00:00
Brett Zamir 326a517074 JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2645 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 02:23:40 +00:00
Brett Zamir 75bd787023 JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2644 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 02:13:37 +00:00
Brett Zamir d12694f9fa More JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2642 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 01:05:03 +00:00
Brett Zamir 0df050aeb4 JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2641 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 00:39:35 +00:00
Brett Zamir afa427a4a2 Begin JSLint journey
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2640 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 00:27:46 +00:00
Brett Zamir 6b5a4e645e change beforeunload to use addEventListener (only supporting IE9 now and better to allow multiple if user wishes); also CamelCase internal variable for consistency; add brackets
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2639 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 00:06:50 +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
Aleksander Lurie d666be9bce - now You can choose polish translation in "Editor options"
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2619 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-29 08:19:13 +00:00
Aleksander Lurie 33351a5d61 - full translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2618 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-29 08:06:26 +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 395badc387 Avoid duplicate sliders when switching between WEBP and JPEG (thanks adrianbjones for the report!); fix tabs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2616 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-29 07:07:09 +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 6ad70cf440 Prevent error when disabling image label
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2612 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-29 03:58:24 +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 009a9e67ce Note on limitations (these limitations existed previously to the eval() dependency removal)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2596 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 03:25:35 +00:00
Brett Zamir c54b7865e1 Fix arguments passing in new postMessage code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2594 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 03:15:16 +00:00
Brett Zamir 3bc9f286a4 Remove unneeded text/javascript
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2593 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 02:02:54 +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 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
Brett Zamir 109cbaf99b Remove 2-space sequences
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2584 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-13 23:23:08 +00:00
Brett Zamir 62a7c13e9c Consistent indentation (tab seemed to be main convention in this file, so changed to tab)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2581 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-12 03:08:26 +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
Mike Baynton af639eb56b Fix vertical position of flyouts from left toolbar when viewport <= 1250px
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2562 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-07 01:35:01 +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
Daniel Shapiro 02adda7a98 Fix bug with applying text attribute changes. Change to select mode AFTER setting new attribute on text element. https://code.google.com/p/svg-edit/issues/detail?id=1143
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2525 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-09-21 22:19:24 +00:00
Ben McDonald c3bea689b2 Fixed zoom calculations for Firefox. See https://groups.google.com/forum/#!topic/svg-edit/cvrwclZVeGI and Issue 1046
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2524 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-08-21 06:20:22 +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
薄成文 089f061641 fix a bug in svgToString function:
some elements have no attribute, so when convert it to stinrg some namespace can't be set correctly.

now, the tag like this can be correctly converted:
<se:mytag>hello</se:mytag>

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2517 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-06-08 05:29:14 +00:00
薄成文 7b986e56ef fix a bug of layer changes.
see :http://code.google.com/p/svg-edit/issues/detail?id=1099

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2516 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-06-07 14:16:00 +00:00
Ben McDonald e1fa525e5d Sort elements before cloning.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2515 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-06-01 08:00: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
Adrian Jones 5b641cb5c0 Two more loading messages for Import and Open of images.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2513 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-29 01:39:37 +00:00
Adrian Jones 61295b83e6 Simplified the loading image from URL message to make use of existing dialog box types and text strings
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2512 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-28 22:29:14 +00:00
Adrian Jones f924e34fba Add loading message when loading image from URL. Complex SVGs take a long time to render!
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2510 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-08 17:29:18 +00:00
Mark Nickel fc5673ea4d Emergency patch to fix issue introduced in the svg core of Firefox as they are moving forward with implementing features of SVG 2
See this issue in svg-edit project tracker:  Issue 1081.

It contains pointers to the bugzilla thread if you are so interested


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2509 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-05-07 20:47:56 +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
Jonny Bradley d9e5b797f4 Correction for r2497 - namespace had changed from 2.6 branch, sorry, didn't spot it
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2498 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-16 14:11:43 +00:00
Jonny Bradley 50c248dcb0 Fix in setSvgString() for images with no href (images in pattern#gridpattern don't seem to have them)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2497 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-16 14:07:55 +00:00
Steve Quirion 3be90cdec5 82,84,141 à 145
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2495 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-14 18:52:14 +00:00
Steve Quirion 4a3ae47586 Modification des lignes 17,107,123, 124,125,204,205,206,207
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2491 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-14 18:23:35 +00:00
薄成文 17ce81f761 completely translated for 2.6 stable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2489 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-03-14 05:43:57 +00:00
Waldir Pimenta 00043ff56a use 2 spaces for indentation in sanitize.js
See r2469 and https://groups.google.com/d/topic/svg-edit/fKGQEZ6h7-g/


git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2471 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-26 15:21:46 +00:00
Bruno Heridet c3cc08655c added setStrokePaint() and setFillPaint() aliases for embedapi retro-compatibility
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2470 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-25 13:05:25 +00:00
Bruno Heridet 2c1c5da6de misc cleaned up sanitize inconsistent indentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2469 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-25 12:39:27 +00:00
Reda Lyazidi 71586aa5fe Correction of the problem with firefox with the radial gradient
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2468 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 21:32:09 +00:00
Bruno Heridet f6dcf51e37 cleaned up populateLayers()
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2467 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 19:22:00 +00:00
Bruno Heridet 78cb0e48bb added missing radix and misc formatting
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2466 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 18:56:45 +00:00
Bruno Heridet 4cdacdc168 improved loosed type coercion for reorient tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2465 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 18:34:23 +00:00
Bruno Heridet 541a981a21 removed non properly deleted test config introduced in r1467
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2464 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 18:09:16 +00:00
Bruno Heridet 0e92ca4a0e switched from properlySourceSizeTextArea() to a full CSS equivalent to optimize DOM repaint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2463 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 18:05:15 +00:00
Bruno Heridet 9f58a680c3 removed unneeded json_encode / json_decode for 3 reasons:
- it's available natively since IE8 and it's provided by Chrome Frame which is a requirement for old IE
- it's only used for postMessage exchange which is a newer API than JSON
- if ever we would need it, it should be added in an external lib, not inside the editor code itself

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2462 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 17:37:05 +00:00
Bruno Heridet cc2d05f125 simplified visElems, and renamed current_drawing -> currentDrawing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2461 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-23 16:46:02 +00:00
Jeff Schiller 230479e038 Fix issue 1053: tspans now get remapped when their text parent are translated
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2460 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-22 15:46:11 +00:00
Jeff Schiller 355492050c Convert tabs to spaces in recalculate.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2459 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-22 15:11:13 +00:00
Jeff Schiller 0d2a3ffea4 Add another unit test and update minor formatting in recalculate.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2458 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-22 14:46:50 +00:00
Bruno Heridet 8c8f7b4745 misc style harmonizing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2451 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-21 20:34:11 +00:00
Bruno Heridet e0dbc7e750 moved layers list styling to CSS
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2450 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-21 19:56:59 +00:00
Bruno Heridet 61be265b91 moved touch events listeners to touch.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2449 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-21 14:48:24 +00:00
Bruno Heridet c955780639 unified sidePanel resizing / toggling
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2448 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 22:28:45 +00:00
Bruno Heridet 24089d93f9 simplified label disabled
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2447 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 21:50:18 +00:00
Bruno Heridet 13904755b9 misc if simplification
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2446 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 21:45:10 +00:00
Bruno Heridet 5cad5c9981 camelCased default_img_url -> defaultImageURL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2445 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 21:40:21 +00:00
Bruno Heridet bdbdc6bddb misc var camelCasing and commenting in updateRulers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2444 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 21:04:54 +00:00
Jeff Schiller fb0879e74c Fix bad cut
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2443 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 15:37:25 +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
Bruno Heridet a83d2825cb closed #1051 - Japanese translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2441 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 12:22:14 +00:00
Bruno Heridet ec6cb81178 closed #1033 - German translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2440 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 12:19:44 +00:00
Bruno Heridet d00f932a0e Closed #1037 - Lang sk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2439 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 12:11:18 +00:00
Bruno Heridet 16936c5c6f closed #1031 Romanian translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2438 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-20 11:53:22 +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