Commit Graph

1828 Commits (f67b3f3e4ff95bce746ec33744c9c7fe0e790b98)

Author SHA1 Message Date
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 c5fbdce9cd jQuery should already be encoding in a POST data request
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2656 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 11:38:30 +00:00
Brett Zamir 7c3bc9189f Minor: single quotes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2655 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 11:31:41 +00:00
Brett Zamir 84fb451262 Fix broken JS code and add better Unicode support, JSLint, add txt ext. to README
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2654 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 11:27:58 +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 a682236528 Add HTML charset to tests, opera widget
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2610 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-29 03:32:01 +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 1a73a58433 Minor: WS
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2595 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 03:18:03 +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 8afeaf6295 Remove unneeded text/javascript from tests
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2592 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 02:02:33 +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 52419049fe Remove type=text/javascript and trailing whitespace from Wave svg-edit.xml source
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2589 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 00:57:11 +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 fc41825010 Convert remaining eval()-ish items in repo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2586 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 00:00:40 +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