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
|
694359f6d6
|
JSLint including important path fixes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2692 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-12 01:07:26 +00:00 |
Brett Zamir
|
1ac6ec3f41
|
JSLint svgcanvas (50% scanned)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2691 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 14:02:48 +00:00 |
Brett Zamir
|
08211557c2
|
JSLint svgcanvas.js (45% scanned)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2690 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 13:46:39 +00:00 |
Brett Zamir
|
6c8e4e30ab
|
JSLint (fix one accidental global)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2689 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 13:32:40 +00:00 |
Brett Zamir
|
62e7afd659
|
Allow for "Make (hyper)link" tooltip to show through
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2688 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 02:20:19 +00:00 |
Brett Zamir
|
d63ed88e25
|
Rename PNG files accordingly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2687 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 02:03:54 +00:00 |
Brett Zamir
|
74810573b2
|
Change group to group_elements (though keep duplicate group under old name in case it is supposed to have a different function)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2686 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 01:58:57 +00:00 |
Brett Zamir
|
21520e6392
|
JSLint locale.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2685 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 01:24:09 +00:00 |
Brett Zamir
|
f378e667fb
|
Further documenting of $.pref
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2684 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 00:05:59 +00:00 |
Brett Zamir
|
cc780f39e6
|
Document $.pref
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2683 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-11 00:05:17 +00:00 |
Brett Zamir
|
05dc118abe
|
JSLint (minor)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2682 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 13:50:55 +00:00 |
Brett Zamir
|
645ab15976
|
Add missing 'e'
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2681 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 13:46:19 +00:00 |
Brett Zamir
|
6e5905370d
|
Add e.returnValue in addEventListener('beforeunload') for sake of Firefox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2680 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 13:45:48 +00:00 |
Brett Zamir
|
00092d4a03
|
JSLint svgcanvas.js (30% scanned)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2679 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 13:27:34 +00:00 |
Brett Zamir
|
6a9cf9551a
|
Finish most of svg-editor.js JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2678 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 13:14:38 +00:00 |
Brett Zamir
|
2b9e299240
|
Ensure panning extension can be over-ridden via URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2676 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 11:39:33 +00:00 |
Brett Zamir
|
5352fe0a64
|
JSLint (including avoiding global)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2675 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 10:53:51 +00:00 |
Brett Zamir
|
ba5aaeb1f0
|
JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2674 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 10:21:55 +00:00 |
Brett Zamir
|
6d4ec994f0
|
Clarify exportImage option in comments
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2672 eee81c28-f429-11dd-99c0-75d572ba1ddd
|
2014-02-10 05:54:17 +00:00 |
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
|
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 |