Commit Graph

1943 Commits (02c8721c2dc0ca18cba2c9422a3898f8e553b068)

Author SHA1 Message Date
StalderT 1e2e578e8f Update lang.sr.js 2015-12-01 12:12:28 +01:00
StalderT 9111fb7b7b Update lang.sq.js 2015-12-01 12:12:05 +01:00
StalderT 11cd561a88 Update lang.ru.js 2015-12-01 12:11:19 +01:00
StalderT 1e3def544b Update lang.ro.js 2015-12-01 12:10:50 +01:00
StalderT ffe7fb042d Update lang.pt-PT.js 2015-12-01 12:09:22 +01:00
StalderT b4a99becee Update lang.no.js 2015-12-01 12:08:43 +01:00
StalderT 832e4e3ef6 Update lang.nl.js 2015-12-01 12:08:16 +01:00
StalderT 7dc5f52264 Update lang.mt.js 2015-12-01 12:07:59 +01:00
StalderT ae246c6d16 Update lang.ms.js 2015-12-01 12:07:42 +01:00
StalderT 114a63e582 Update lang.mk.js 2015-12-01 12:07:25 +01:00
StalderT d8625d6c20 Update lang.lv.js 2015-12-01 12:07:07 +01:00
StalderT ec887e29fd Update lang.lt.js 2015-12-01 12:06:47 +01:00
StalderT 9ff1eaef0f Update lang.ko.js 2015-12-01 12:06:19 +01:00
StalderT 6b276cef46 Update lang.ja.js 2015-12-01 12:06:00 +01:00
StalderT 97f0ff959b Update lang.it.js 2015-12-01 12:05:40 +01:00
StalderT 97f27fa706 Update lang.is.js 2015-12-01 12:05:18 +01:00
StalderT 0cd931fdec Update lang.id.js 2015-12-01 12:04:59 +01:00
StalderT 3af3537eee Update lang.hu.js 2015-12-01 12:04:26 +01:00
StalderT d213983acd Update lang.hr.js 2015-12-01 12:04:06 +01:00
StalderT 64ff6434bd Update lang.hi.js 2015-12-01 12:03:30 +01:00
StalderT 2ff1827c4c Update lang.he.js 2015-12-01 12:02:34 +01:00
StalderT 3f97780057 Update lang.gl.js 2015-12-01 12:01:57 +01:00
StalderT 263098c544 Update lang.ga.js 2015-12-01 12:01:11 +01:00
StalderT 2cee136268 Update lang.fy.js 2015-12-01 12:00:44 +01:00
StalderT c071c7c150 Update lang.fr.js 2015-12-01 11:53:09 +01:00
StalderT e9f1de2057 Update lang.fi.js 2015-12-01 11:51:54 +01:00
StalderT 27c247e0ef Update lang.fa.js 2015-12-01 11:51:29 +01:00
StalderT 59a4284487 Update lang.et.js 2015-12-01 11:51:00 +01:00
StalderT 1ebd7174b2 Update lang.es.js 2015-12-01 11:46:11 +01:00
StalderT 76f528eabe Update lang.el.js 2015-12-01 11:39:11 +01:00
StalderT 26acb1429a Update lang.de.js 2015-12-01 11:37:53 +01:00
StalderT e7d8c34b6d Update lang.da.js 2015-12-01 11:34:17 +01:00
StalderT 1da1a56db4 Update lang.cy.js 2015-12-01 11:33:45 +01:00
StalderT aa9cd93bfe Update lang.cs.js 2015-12-01 11:32:54 +01:00
StalderT afcda71283 Update lang.ca.js 2015-12-01 11:32:15 +01:00
StalderT de0ad3e91a Update lang.bg.js 2015-12-01 11:31:37 +01:00
StalderT 8ecf951091 Update lang.be.js 2015-12-01 11:31:11 +01:00
StalderT c76905325b Update lang.ar.js 2015-12-01 11:29:45 +01:00
StalderT 6b13bd5978 Update lang.af.js 2015-12-01 11:28:54 +01:00
Jeff Schiller d68c964588 Merge pull request #30 from progers/master
Fix icons in Safari due to a redefinition of the xmlns attribute
2015-11-30 20:45:03 -08:00
Jeff Schiller b9b05b3370 Merge branch 'master' of https://github.com/SVG-Edit/svgedit 2015-11-30 19:08:26 -08:00
Jeff Schiller 3f0db99c6c Use SVGElement.getIntersectionList() for multiselect. Remove some try-catch statements 2015-11-30 19:08:13 -08:00
Jeff Schiller 59303eb6cc Remove all suspendRedraws 2015-11-30 18:59:53 -08:00
Philip Rogers 243aa04d67 Merge pull request #33 from StalderT/patch-2
Update lang.de.js
2015-11-30 11:28:59 -08:00
StalderT 9ab7917393 Update lang.de.js 2015-11-30 15:47:56 +01:00
StalderT bdcd9fcb04 Update lang.fr.js
fix "delete" "move_down" "move_back" french translation
2015-11-30 15:46:28 +01:00
Philip Rogers 68580b5664 Fix icons in Safari due to a redefinition of the xmlns attribute 2015-11-29 17:59:28 -08:00
Philip Rogers c5dadfbe77 Include upstream fix for shape editing: 11f7e5a958 2015-11-06 21:08:23 -08:00
Philip Rogers 7e3f9e037d Add pathseg.js, a polyfill for the SVGPathSeg API
The SVGPathSeg API is being removed from the spec [1] and is being
removed in Chromium 47 [2]. I implemented a drop-in polyfill[3] so
svg-edit users are not broken as browsers migrate away from the
path seg api.

This patch simply imports the upstream pathseg.js and updates all
dependencies. With this change all tests pass in Chrome 46 (with
the path seg api), Chrome 47 (without the path seg api), and
there are no changes to tests in Safari 9.01 or Firefox 43. I
also manually tested svg-edit while developing the polyfill and
could not find any broken features.

[1] https://lists.w3.org/Archives/Public/www-svg/2015Jun/0044.html
[2] https://groups.google.com/a/chromium.org/d/msg/blink-dev/EDC3cBg9mCU/OvElJgOWCgAJ
[3] https://github.com/progers/pathseg
2015-11-04 19:25:30 -08:00
Jeff Schiller b8fc4eef01 Merge pull request #13 from mynext/master
Added class support
2015-10-12 07:24:48 -07:00
Ian f1b67e4159 Update svgcanvas.js
Changed docs and return value to match if unsuccessful
2015-09-30 11:24:16 +01:00
Francesco Strappini ce009a4581 Spacing like the code around 2015-09-27 09:01:04 +02:00
Francesco Strappini 1f11691c60 Added class support 2015-09-24 16:15:34 +02:00
Daniel Davis 9c45785cdd Changed jQuery absolute link to HTTPS
This is needed to display icon buttons (and other functionality) in browsers that block mixed content.
2015-09-03 15:24:42 +09:00
ibrierley ea129f009e formatting 2015-07-16 19:28:20 +02:00
ibrierley 4d745dc05b Fix for importing svg files where grabber just selects nothing as it doesnt know the svg to select 2015-07-16 15:45:48 +02:00
Jeff Schiller 7008583b15 Merge pull request #2 from ibrierley/master
Fix of pathtool deleting path when moving ctrl points.
2015-07-15 07:54:30 -07:00
ibrierley 85a68c3f42 fixed indentation and extra vars 2015-07-15 13:02:03 +02:00
Brett Zamir 072ca75c94 Let's let config.js take advantage of all other head-loaded scripts like jquery-ui if useful 2015-07-09 18:24:35 -07:00
ibrierley 5bd4952a13 formatting 2015-07-06 12:44:36 +02:00
ibrierley 7d278dbfd8 formatting 2015-07-06 12:42:25 +02:00
ibrierley 92caa0a8d7 indentation 2015-07-06 12:39:41 +02:00
Ian 75dbd66561 Update path.js 2015-07-06 11:36:24 +01:00
ibrierley fbbd740c79 fixed pathtool bug, where browsers would delete path with pathseg error in console. Worked around this by copying 'item' object, but could possibly be optimised further by only copying required pars of object 2015-07-06 12:21:37 +02:00
portablejim 692817d610 Fix delete element hover text in english locale file.
"Delete Layer" -> "Delete Element(s)"
2015-06-20 10:15:01 +10:00
portablejim a62f7c1c5a Make context menu group option work. 2015-06-16 18:17:52 +10:00
Brett Zamir 7a1273eb93 Strip trailing spaces
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2891 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-23 03:54:52 +00:00
Brett Zamir 0ac9754dbd further indenting fixes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2890 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-22 22:46:40 +00:00
Brett Zamir 35a44998bf Apply Slovenian locale patches by jaka@freeapproved.com with a few fixes (use tab indents, fix JS object, update 2 outdated keys)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2889 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-22 22:43:53 +00:00
Brett Zamir e8a15a5582 Some error reporting in fileopen.php
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2888 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 15:38:20 +00:00
Brett Zamir 6bffe68d65 PDF export in server_opensave extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2886 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 14:58:46 +00:00
Brett Zamir c9d7d008fa Comment on line of code appearing unnecessary
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2884 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 08:25:38 +00:00
Brett Zamir 6d7b874ef1 Fix case issue impacting server save of SVG files (usually not used by modern browsers given the checks)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2883 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 08:16:47 +00:00
Brett Zamir b1f88d2b94 Address issue with Unicode text in SVG icons; jshint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2880 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-13 02:45:12 +00:00
Brett Zamir d84b1d267f Simplify encodeUTF8 function; ensure base 64 decoding also uses new decodeUTF8
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2879 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-12 23:42:27 +00:00
Brett Zamir 6f7651299c Some additional JSLint; update jsPDF and SVG plugin; handle canvg for image export within svgcanvas and provide new "datauri" to "exported" event.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2875 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-06-01 21:29:54 +00:00
Brett Zamir c9544ce5bf Add reference to custom.css in appcache
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2871 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-23 12:35:27 +00:00
Brett Zamir eb0cb2e92d Add a custom.css stylesheet for customizations not requiring modification of the main editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2869 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-23 12:28:07 +00:00
Brett Zamir 6afa75adda Rename labels to fix issue 1206 of confusing labels ("Open Image"->"Open SVG" and "Import SVG"->"Import Image")
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 23:55:05 +00:00
Brett Zamir 8bda8fe16d Ensure loading... message closes upon completion or error
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2865 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 23:20:43 +00:00
Brett Zamir bddf4c2324 todo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2864 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 11:24:18 +00:00
Brett Zamir 09dd5e7975 Add todo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2863 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 11:03:53 +00:00
Brett Zamir d792d60808 Update JSLint global declarations
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2862 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 11:01:11 +00:00
Brett Zamir abc9cd6ffb Move embedapi.html code which is not part of the API into embedapi-dom.js; demo export PDF in embedded editor; add new exportPDF method to canvas (and exposed to embedded editor) which can support JSON-able data URI string response, removing PDF exporting from rasterExport; JSLint; move dependency checking code for canvg and jsPDF to utilities; simplify Utils calls; allow for custom PDF export handler (but not yet implemented in server-based extensions); import PDF todo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2860 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 10:21:29 +00:00
Brett Zamir 36dfb2bd17 Rmv extra var. declaration
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2859 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 10:01:51 +00:00
Brett Zamir 1941959449 Update canvg (https://code.google.com/p/canvg/source/detail?spec=svn202&r=202 ); check for empty images in canvg
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2857 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 07:40:17 +00:00
Brett Zamir 8fd81d158f Indicate new config for exportWindowType
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2856 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 07:39:13 +00:00
Brett Zamir 3fdb8f4377 Avoid window.name security errors and make export window name configurable through config.exportWindowType (new|same) based on configurable canvas name
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2855 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 07:22:57 +00:00
Brett Zamir 5bddabcec3 Switch to minified and complete distribution version of jsPDF; allow data URL to work in Firefox as well as Chrome instead of blob URL; rmv global saveAs requirement
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2854 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 06:43:37 +00:00
Brett Zamir 25a8d9a851 Fix callEnsure all dependencies available for canvg-using extensions (server_moinsave, server_opensave)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2853 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 03:47:10 +00:00
Brett Zamir 18c9fd0932 Ensure all dependencies available for canvg-using extensions (server_moinsave, server_opensave)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2852 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 03:45:31 +00:00
Jon Phillips 5fa1f574e0 fixed a formatting issue
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2850 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 03:00:00 +00:00
Brett Zamir 73a4804324 Ensure all dependencies available for canvg-using extensions (server_moinsave, server_opensave)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2849 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 02:56:00 +00:00
Brett Zamir 905dac6979 Update manifest to include some more dynamically loaded files
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2848 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 02:42:18 +00:00
Brett Zamir 9bda441c77 Abstract conditional script loading and allow jsPDF to load as needed (as with canvg); update jsPDF
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2847 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 02:34:37 +00:00
Brett Zamir 4ffd994c49 Spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2846 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 01:30:42 +00:00
Brett Zamir ad6dad8d65 Spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2845 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 01:28:32 +00:00
Jon Phillips e9c8515caf Added Openclipart support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2844 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-21 06:05:34 +00:00
Brett Zamir bf8c5308f2 Fix exportImage behavior if multiple setCustomHandlers calls are made
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2843 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-15 05:16:39 +00:00
Brett Zamir b574628d36 Apply patch by stuart.moore@spektrix.com to fix issue #1205
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2840 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-08 04:06:54 +00:00
Brett Zamir 978315f944 Allow override of jsPDF saveAs function (jsPDF work not complete however); apply fix for issue #1209 on push buttons; fix comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2839 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-08 03:47:14 +00:00
Brett Zamir 35e171a15f Return when no selected element to ungroup
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2837 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-08 03:14:59 +00:00
Brett Zamir df057b9736 Quick fix for small icon view and top toolbar
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2826 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-17 00:25:02 +00:00
Brett Zamir 582e71cb1b Minor: Spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2825 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 22:47:39 +00:00
Brett Zamir f854c00f4c Utilize PNG export instead as per issue 1201
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2824 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 07:01:25 +00:00
Brett Zamir 936d7d3aa4 Support external (embedded) export invocation; utilize export in embedded demo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2822 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 06:53:08 +00:00
Brett Zamir 20361c88d1 Update functions available to embedded editor; fix important ID situation with embedded API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2821 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 06:51:05 +00:00
Brett Zamir 2726f5f048 Change deprecated Attr.nodeValue to Attr.value
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2820 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 05:40:22 +00:00
Brett Zamir e07d4e61be Change deprecated Attr.nodeValue to Attr.value
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2819 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 05:38:20 +00:00
Brett Zamir 856d1971c2 Remove paramurl parameter as it encouraged improper encoding of a URL within the SVG Edit URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2815 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 04:26:34 +00:00
Brett Zamir d84a4465d2 Minor clean-up
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2813 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 03:44:19 +00:00
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 a506f6c02f Minor clarification of preventAllURLConfig
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2803 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 01:35:28 +00:00
Brett Zamir 297f10489f explain colorPickerCSS default behavior in comments
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2802 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 01:33:11 +00:00
Brett Zamir 1b5e55dc5c Simplify jsPDF switch
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2801 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-09 01:13:05 +00:00
Brett Zamir 35ab5a9862 Fix spacing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2800 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-08 13:49:58 +00:00
Brett Zamir 75928e9b63 Revert to using point regardless of base unit (with comment)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2798 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-08 11:27:05 +00:00
Brett Zamir b1ea39db46 Provide values for px, pc, em, ex and utilize switch for divisor determination in jsPDF in order to utilize the user's current base unit type in PDF exports. Accurate conversion formulas?
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2797 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-08 11:01:46 +00:00
Brett Zamir 667de19147 Set document title as PDF property
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2796 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-08 08:18:47 +00:00
Brett Zamir 1f95988b29 Make PDF export orientation dependent on width vs. height, based on "pt", and using the dimensions of the canvas (Todo: provide alternative of predefined jsPDF options like a4, legal, etc.)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2795 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-08 08:10:26 +00:00
Brett Zamir 50d0b1fb67 Add jsPDF(with SVG plugin)-based PDF export (courtesy of https://github.com/brettz9/jsPDF forked from https://github.com/MrRio/jsPDF => https://github.com/ahwolf/jsPDF ); provides data: URL where blob conversion is supported, and a blob URL otherwise.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2792 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-08 05:13:54 +00:00
Brett Zamir f8b10e95e9 Consistently use single quotes (except within XML or for localized strings) for streamlined searching
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2791 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-08 03:21:22 +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 91a627d53d Remove 2.7-deprecated pngsave option
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2780 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-07 23:31:00 +00:00
Brett Zamir 614895baf0 Uniform spelling for "Todo" throughout code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2760 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-07 04:13:01 +00:00
Brett Zamir 1ed3502074 Simplify meta tag (backward and HTML5 compatible)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2759 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-07 04:10:33 +00:00
Brett Zamir bdb81d541c Update trunk to the non-release-related minor changes in stable/branch 2.7
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2758 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-07 04:08:52 +00:00
Brett Zamir 5cbd05c8bd Some JSDoc work on history.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2734 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-03 14:21:55 +00:00
Brett Zamir 6e1393f2ea JSDoc
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2733 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-16 11:19:37 +00:00
Brett Zamir 5439b4dc73 accept float values in case ever any added to menu
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2732 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-16 03:32:12 +00:00
Brett Zamir 3e6dbcb111 Some JSDoc
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2731 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-15 13:27:39 +00:00
Brett Zamir d5216c8dbd JSLint/JSDoc
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2730 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-15 12:52:50 +00:00
Brett Zamir 94c598b7f6 JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2729 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-15 12:37:05 +00:00
Brett Zamir 46fdbdfb6a Update encodeUTF8 function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2728 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-15 09:50:49 +00:00
Brett Zamir 2ea686a118 JSDoc
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2727 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-15 08:53:45 +00:00
Brett Zamir 8f1c74260b Use proper DOM interface in JSDoc comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2726 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-02 23:31:41 +00:00
Brett Zamir 8bf64a2af7 Rmv empty comment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2725 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-02 23:09:27 +00:00
Brett Zamir 3560444cc7 In case the frame changes location to an untrusted source such as via link click, the embedding API is now required to supply a list of any other origins that should be allowed.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2724 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-02 01:25:39 +00:00
Brett Zamir 314bcb2e76 Critical security fix for embedded editor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2723 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-03-02 01:11:23 +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 86800563ff Allow embeddedapi.html to pass on its URL arguments to the iframe
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2719 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-22 04:52:04 +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 bb75f34ec3 Require extensions to begin with "ext-" and end with ".js" to prevent URL-prompted loading of other files within the extPath.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2712 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-19 05:26:46 +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 9129d652e4 Add storage strings to other locales
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2710 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-19 04:33:21 +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 cb02aad1f7 Mention locale editor methods in svg-editor.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2708 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-19 00:46:52 +00:00
Brett Zamir 9c8b6269cb Partially update (as-yet-not-reestablished) manifest
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2707 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-19 00:10:03 +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