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
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
cd560993f0
JSLint JQuerySpinBtn.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2704 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-18 00:12:56 +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
463207276a
JSLint rgbcolor.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2702 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-17 07:05:29 +00:00
Brett Zamir
14397f4b19
JSLint
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2701 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-17 06:48:40 +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
6fe03a595f
Add back 'in' checks just to be sure
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2699 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-17 00:46:24 +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
9df09a2aab
Indicate human translation (perhaps there are plenty others by now as well)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2697 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-16 03:18:45 +00:00
Brett Zamir
f18cdbbeae
Fix issue 1174 reported by psh.tnt re: XML entity escaping (within attributes); updated test as well
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2696 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-12 10:10:56 +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
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
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
Bruno Heridet
480c41ee69
fixed #873 function getFontSize() should be called getFontColor()
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2434 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 20:27:53 +00:00
Bruno Heridet
fd5ab3dc30
cleaned extra white spaces in embedapi
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2433 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 16:30:56 +00:00
Bruno Heridet
d809578c6c
fixed indentation and removed two unneeded local vars
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2432 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 15:00:56 +00:00
Bruno Heridet
570c59ebf2
used .data() method shortcut to retrieve zoomValue
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2431 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 13:25:54 +00:00
Bruno Heridet
12f5fd9bce
added getPaintOpacity() on svgCanvas, used it to simplify mouseDown callback on palette in svgEditor
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2430 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 13:17:27 +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
363bfb4cf2
fixed missing semicolons and leaking ret var
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2428 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 11:18:04 +00:00
Bruno Heridet
47b6e11be9
simplified getPaint()
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2427 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 11:13:03 +00:00
Jeff Schiller
6431ee15dd
Fix MIME type of unit test files added
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2426 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-19 01:02:07 +00:00
Bruno Heridet
3ccba8d739
misc code reordering to ease future addDropDown addAltDropDown merge
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2425 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 20:55:04 +00:00
Bruno Heridet
5d0e169237
cleaned indentation in css
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2424 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 19:04:56 +00:00
Bruno Heridet
8eceeb2b3f
unified overlays styling
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2423 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 18:52:07 +00:00
Bruno Heridet
5ce4431658
used svgedit.browser checks instead of redefined ones
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2422 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 18:22:00 +00:00
Bruno Heridet
15d765de85
used .prop() for #grid_snapping_on checkbox state
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2421 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-18 18:02:39 +00:00
Jeff Schiller
164b22d0c1
Some more unit tests for coords
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2417 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-17 08:21:07 +00:00
Jeff Schiller
29534a7d4b
Move remapElement() to coords and add a first unit test
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2416 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-17 04:58:04 +00:00
Bruno Heridet
4441810638
simplified undo/redon, node link and sub path button states
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2415 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 16:07:19 +00:00
Bruno Heridet
79f7ee4614
simplified wireframe button toggling
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2414 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:49:33 +00:00
Bruno Heridet
b599a2a54b
fixed old Chrome bug handling for svg saving
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2413 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:36:19 +00:00
Bruno Heridet
525e869e7f
set show_save_warning to camelCase
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2412 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:19:20 +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
5d5abbd2b0
removed unneeded vars in browser
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2410 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 12:14:54 +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
Bruno Heridet
dd6b28d886
used default step values for SpinButtons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2404 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 10:28:17 +00:00
Bruno Heridet
a851e70c6e
fixed $hcanv leak
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2403 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 23:17:56 +00:00
Bruno Heridet
7a36f90eb6
fixed getRefElem and smoothControlPoints leaking variables
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2402 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 23:05:23 +00:00
Bruno Heridet
d5dca6b4a3
misc cleanup
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2401 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 22:32:35 +00:00
Bruno Heridet
ad7e26b8de
renamed some snake_case
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2400 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 22:07:05 +00:00
Bruno Heridet
b3b363523b
fixed missing fallback png align buttons, cleaned quotes, if style inconsistencies
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2399 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 21:57:35 +00:00
Bruno Heridet
4c4fff6a0d
cleaned svgedit.math.transformBox(), wrote the according test
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2398 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 19:42:04 +00:00
Bruno Heridet
e906a0f6fd
cleaned quote inconsistencies
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2397 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 17:02:24 +00:00
Bruno Heridet
3d61d46f6b
cleaned inconsistencies with comma spacing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2396 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 16:51:48 +00:00
Bruno Heridet
c446a7185f
added missing semicolons, radix and cleaned some style inconsistencies
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2395 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 15:51:58 +00:00
Bruno Heridet
7fef647173
updated french translation. thanks kiruahxh
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2394 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 13:49:05 +00:00
Bruno Heridet
7b7f03a24f
fixed heaps of missing semicolons and indentation inconsistencies, still a lot to do
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2393 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 13:38:55 +00:00
Jeff Schiller
ed4e7e9ec6
Fix error in findDefs()
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2392 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 19:11:30 +00:00
Jeff Schiller
746499f637
Fixed bad paste
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2391 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 15:24:14 +00:00
Jeff Schiller
a779a74aa9
Add fully qualified function calls, shuffle a couple tiny functions into svgutils.js, add an empty coords.js module for later
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2390 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 15:19:46 +00:00
Bruno Heridet
e150132453
added missing base 10 radix
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2389 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 13:29:02 +00:00
Bruno Heridet
11d58b0ad7
added missing semicolons. Need to investigate contextMenuExtensions potential leaking
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2388 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 13:22:01 +00:00
Bruno Heridet
6afcd9da2b
added missing semicolons. Suspecting several leaking global vars, I'll investigate later
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2387 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 13:11:01 +00:00
Bruno Heridet
edcc7edec6
added missing semicolons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2386 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:57:15 +00:00
Bruno Heridet
d51f96012b
improved gripRadius ternary assignment in Selector and misc formating
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2385 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:47:32 +00:00
Bruno Heridet
a9ab2f2c7e
removed unused var and uneeded else
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2384 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:34:11 +00:00
Bruno Heridet
5e68aefef8
fixed unit[s] typo in svgedit.units.convertUnit, added the corresponding test
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2382 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:18:13 +00:00
Waldir Pimenta
7f560c0ed1
minor change so we don't have two variables named "attrName" and "attrname", and make it more explicit that these are style-related attributes.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2380 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 17:21:13 +00:00
Waldir Pimenta
5dcdc76912
reorder namespaces (put all W3C ones first); align a few lines; tweak comments for consistency and clarity.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2379 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 17:09:12 +00:00
Waldir Pimenta
f43adb25fa
code readability/organization: move nsMap_ getter to immediately after it is created. make comment on nsRevMap_ more explicit.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2378 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 16:37:10 +00:00
Iseki Masaya (井関正也)
4ddcc94f2f
Support smooth curve in real-time
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2377 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 16:10:15 +00:00
Jeff Schiller
936d9cc362
Fix issue 1052: Properly parse the style attribute during sanitization
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2376 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-13 15:04:58 +00:00
Jacques Distler
bc84fac91b
Ack! Butterfingers.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2349 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-10 17:44:09 +00:00
Jacques Distler
7fe3d3ef2d
Fix Bug 1048 (foreignObject selection in Webkit)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2348 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-10 17:07:30 +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
197c62f7cd
Enable ext-panning extension
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2337 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 17:41:42 +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
Luis Aguirre
93950ca293
Change name from svgEditor.setPan to svgEditor.setPanning
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2332 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 13:55:23 +00:00
Luis Aguirre
45389b6b94
Create setPan at svg-editor.js to let move the document without pressing any key or mouse button. Usefull for future tablet/mobile edition
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2331 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-07 11:47:17 +00:00
Luis Aguirre
522b0d6f35
Fix for issue 1046: Firefox drag-and-drop bug with elements in scaled canvas
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2330 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-06 15:49:12 +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
Chance Roth
ec0b458fff
Added Star and Polygon Extensions - Looks like Firefox recently broke something and shows mitre ends too long. USed to work great, Chrome is fine.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2318 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-18 18:04:17 +00:00
Rafael Couto
e5a32fc003
prettify the resulting zoom decimal
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2311 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-17 11:05:06 +00:00
Rafael Couto
795eed4525
removed console.log
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2310 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-17 10:58:40 +00:00
Rafael Couto
a4c4539117
fix mouse wheel scroll
...
(in the right place this time!)
//TODO(rafaelcastrocouto): User preference for shift key and zoom factor
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2284 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-16 11:42:18 +00:00
Rafael Couto
bf0a0c991c
viewport meta tag should use , instead of ;
...
no more error alerts in console
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2283 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-16 10:35:54 +00:00
Rafael Couto
8823218968
fix - function already exist in other file (sorry about that!)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2277 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-16 00:31:32 +00:00
薄成文
c659d36b88
correct some mistake
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2275 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-10 03:29:08 +00:00
Rafael Couto
fcdbbe7474
Mouse Wheel Zoom
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2274 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-09 23:23:28 +00:00
Dale Harvey
89416b0ac6
Add a default autosave canvas to localstorage
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2273 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-09 23:14:35 +00:00
Rafael Couto
944e652a01
pt-BR por rafaelcastrocouto v 1.0
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2272 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-01-09 21:39:11 +00:00
Christian Tzurcanu
b17b4c1548
Romanian ready for 2.6
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2253 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-05 10:59:23 +00:00
Marc Laporte
cf4c7c4f68
Testing translation via web interface to update documentation accordingly
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2228 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-05 00:33:15 +00:00
Mark MacKay
bea865ae4f
fix for transparent color
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2225 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-05 00:06:48 +00:00
Mark MacKay
fb7e0d6682
Changing Româneşte to Română (issue 1032)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2209 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-04 18:12:34 +00:00
Marc Laporte
9fdc9cf01b
Initiating some stigmergy ( https://en.wikipedia.org/wiki/Stigmergy ). Even if the version number is not readily visible anymore, everyone watching closely will get the signal that the time to release 2.6 is that much closer! :-)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2205 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-12-04 04:19:44 +00:00
Mark MacKay
5025411c13
larger grips for touch devices
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2200 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 06:14:13 +00:00
Mark MacKay
b8c8b65024
correct 'use' behavior when dragging elements in webkit
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2199 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 05:39:48 +00:00
Mark MacKay
c99f759d46
changing context now clears the selection
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2198 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 05:02:46 +00:00
Mark MacKay
650fa70404
added zoomChanged to the embedded api, partial patch from RobertLeePlummerJr #973
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2197 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 04:32:59 +00:00
Mark MacKay
6065268f32
fixing positioning of color picker
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2196 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 02:08:13 +00:00
Mark MacKay
08e5405a41
interface optimizations for maximizing canvas area
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2195 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-28 01:42:57 +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
Mark MacKay
7846230af9
Adding vectorEffect: non-scaling-stroke workaround to all of Webkit, since this bug has propagated to Safari 6 and Mobile Safari on iOS6
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2154 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-11-13 10:37:24 +00:00
Ahmad Syazwan
4cc9c7d0ec
Apply duopixel's patch for drag 'n drop image support (see issue 999). Also removed trailing spaces
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2090 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-10-22 10:47:50 +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
Will Schleter
cfa0f0b697
Address issue 526: new file that is part of patch to handle touch events
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2086 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-07-21 11:06:01 +00:00
Will Schleter
7f487a89b2
Address issue 526 - incorporate duopixel's patch to convert touch events to mouse events.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2085 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-07-21 11:02:54 +00:00
Ahmad Syazwan
36e0fbd2d5
Fix issue 934. Patch by adambender.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2083 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-25 04:04:22 +00:00
Ahmad Syazwan
db95f77300
Fix issue 964. Patch by bdkzero.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2082 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-23 10:33:22 +00:00
Jacques Distler
a808ea61ef
Applying this logic to foreignObject leads to incorrect positioning of the grip for the element (displaced from its correct location by (x,y) ).
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2081 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-05-22 12:05:25 +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
Jeff Schiller
7e6a6e68a1
Rollback bad revision 2075
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2076 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-31 18:02:08 +00:00
Jeff Schiller
b0aa96bdec
Fix a test failing in Firefox by decreasing the precision expected
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2075 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-31 17:55:01 +00:00
Ahmad Syazwan
2d74a7ace5
Fix regression due to earlier fix of issue 937
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2072 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-30 03:50:54 +00:00
Ahmad Syazwan
f2c76b4b39
Fix issue 937
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2071 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-29 02:47:06 +00:00
Ahmad Syazwan
168eed7944
Fix issue 874
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2070 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-26 13:33:48 +00:00
Ahmad Syazwan
277e391108
Fix issue 929
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2069 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-26 11:53:12 +00:00
Ahmad Syazwan
49d9bf34d9
Fix issue 904 for Chrome on linux
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2068 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-26 07:55:03 +00:00
Ahmad Syazwan
c3f7b7541d
Fix issue 927 and issue 462. Patch by duopixel.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2067 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-22 10:31:25 +00:00
Ahmad Syazwan
c15e813afb
Fix issue 924 by calling jQ .attr() for empty object, which basically will return 'undefined' instead of 'this'
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2066 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-22 07:43:11 +00:00
Ahmad Syazwan
70429df0cd
Fix issue 919, patch by duopixel. Also introduced browser.isMac
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2065 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-20 08:58:24 +00:00
Ahmad Syazwan
8a576812f0
Uplift canvg to v1.1, which also fixes r928
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2064 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-20 04:57:23 +00:00
Jeff Schiller
3ab630261f
Partial fix for issue 927 (patch by duopixel)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2063 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-17 20:16:43 +00:00
Jeff Schiller
7c949e2e17
Fix issue 925, patch by asyazwan
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2062 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-17 17:56:46 +00:00
Jeff Schiller
aefa8a5061
Remove minified file as it is no longer used
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2061 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-17 17:46:40 +00:00
Jeff Schiller
5786a1bc30
Patch for jquery.contextmenu.js. Add jquery.contextmenu.js to Closure compiler step in Makefile
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2060 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-03-17 17:45:28 +00:00
Jeff Schiller
2b669ce556
Hopefully fix 889: adopt/import nodes and handle CDATA nodes (patch by asyazwan)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2059 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-27 17:24:03 +00:00
Jeff Schiller
0f85c54128
Potential fix for issue 889, importing problems by adding style element to whitelist (patch by asyazwan)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2057 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-26 18:08:34 +00:00
Jeff Schiller
e9cb4c2ce1
Fix Issue 909: editor-wide access to the show_save_warning bit (applied patch by adambender)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2056 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-25 02:17:34 +00:00
Jeff Schiller
c7635282f4
Fix Issue 907: Allow custom menu options (Apply patch from adambender)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2055 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-25 02:13:18 +00:00
Jeff Schiller
1d05b8340b
Second attempt to fix bug 904 by asyazwan
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2054 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-23 04:13:59 +00:00
Jeff Schiller
53b1c45ed9
Fix bug 904: Chrome Windows crashing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2053 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-23 03:11:28 +00:00
Jeff Schiller
dfc67588dc
Update to jQuery and jQuery-UI latest
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2052 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-02-23 02:48:21 +00:00
Adrian Jones
9c2148a983
Fixes issue with r2045 that prevented selecting text in various controls
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2048 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-10-14 15:07:24 +00:00
Jacques Distler
4cc0e5c78d
Fix regression (drawing of zoomed paths) from rev 1826.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2047 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-10-01 04:41:14 +00:00
Adrian Jones
1c11da64a4
Extra part to undesirable selection patch
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2046 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-30 14:50:00 +00:00
Adrian Jones
f1fcca06a8
Patch for preventing undesirable selection of tool buttons. For example if ctrl-a is pressed.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2045 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-30 14:37:52 +00:00
Peter Reid
718d377a98
Fixed flyout menus sometimes getting stuck partially closed (Issue 856).
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2042 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-24 23:38:47 +00:00
Jeff Schiller
25c6faf0e8
Commit patch for Issue 840, duplicate shortcut key for D
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2041 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-23 00:05:16 +00:00
Jeff Schiller
53fbb25328
Check in James Wright's patch for proper zooming of the background image
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2040 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-22 23:58:12 +00:00
Jacques Distler
6b1483446b
Some MathML3 attributes for the Sanitizer (to match itex2MML 1.4.7)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2039 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-09-11 04:15:15 +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
Jacob Brookover
364b0a61ae
-More null checks for alternative interfaces
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2037 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-07-07 17:36:58 +00:00
Jacob Brookover
f85d4b9e88
-null element checks for alternative HTML interfaces
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2035 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-06-24 16:28:34 +00:00
Alexis Deveria
1c38606a34
Fixed Issue 760: Drawing with an imported Image selected sets default stroke and fill to none
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2028 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-03-09 20:00:49 +00:00
Alexis Deveria
3f54e9d5e2
Fixed Issue 784: Allow extensions to set font color
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2027 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-03-09 18:55:48 +00:00
Jeff Schiller
582b249a97
Move recalcRotatedPath() into path.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2025 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-03-07 18:26:12 +00:00
Jeff Schiller
13cee8b672
Tiny bit of refactoring. Tentative removal of selectedBBoxes from svgcanvas.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2005 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-24 16:13:26 +00:00
Alexis Deveria
7575794281
Updated minified spinner script
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2004 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 21:06:26 +00:00
Alexis Deveria
2b075e7e62
More minor IE9 bug fixes
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2003 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 20:06:33 +00:00
Alexis Deveria
0b7c8d489a
Made IE text bug be detected through supportsGoodTextCharPos rather than browser sniffing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2002 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 19:45:02 +00:00
Alexis Deveria
47001a9488
Removed some code for IE9 beta that's no longer necessary in the IE9RC
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2001 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 18:30:09 +00:00
Alexis Deveria
2cf69fb759
Fixed Issue 781: Drawing area jumps to top-left corner on window resize (IE9)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2000 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 17:10:21 +00:00
Alexis Deveria
4c4db71652
Fixed rest of Issue 782: Text editing is buggy (IE9)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1999 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 16:44:20 +00:00
Jeff Schiller
d63a9ac760
Fix Issue 787: Paths keeping old path edit nodes
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1998 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 16:34:59 +00:00
Jeff Schiller
34bc623f08
Migrate another few bits of code into path.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1997 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 16:24:07 +00:00
Alexis Deveria
6d6c6aa61f
Fixed sub-bug in Issue 717: Bounding box not surrounding entire image library image, started on Issue 782: Text editing is buggy (IE9)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1996 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-23 15:56:14 +00:00
Alexis Deveria
90fffe8a09
Fixed locale script to no longer use eval() (and work locally in chrome)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1995 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-11 19:21:50 +00:00
Alexis Deveria
01e08e2116
Fixed bugs causing tests to fail in Firefox and IE9
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1993 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 19:09:35 +00:00
Alexis Deveria
32f61b2b3a
Fixed more bugs related to issue 717
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1992 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 18:10:05 +00:00
Jeff Schiller
f69f89659f
Remove debugger statement. woops.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1991 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 04:11:19 +00:00
Jeff Schiller
45a26c1602
Fix bug where IDs could not be changed. Moved cleanupElement into svgutils.js. Corrected MIME type of two new test files.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1990 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 04:10:03 +00:00
Alexis Deveria
ca671f90d2
Fixed issue 717: Bounding box not surrounding entire image library image
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1988 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-09 21:32:53 +00:00
Alexis Deveria
292391150f
Cleanup code left from last revision
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1987 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-09 17:48:00 +00:00
Alexis Deveria
085d7f479f
Fixed error thrown on shift+mousemove in path create mode
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1986 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-09 16:30:11 +00:00
Jeff Schiller
99a73cc06f
Refactor a few more functions into the math and path modules. Update MIME type on all JS files
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1984 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-09 06:14:47 +00:00
Alexis Deveria
50660b37b5
Fixed Issue 721: Label box doesn't work as expected (for title element in groups)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1980 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-04 18:49:12 +00:00
Jeff Schiller
52c74f266b
Move most of Path into svgedit.path
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1978 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-04 16:06:25 +00:00
Alexis Deveria
8032d08acb
Fixed Issue 775: Undo funkiness with <use>
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1977 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-04 15:55:47 +00:00
Jeff Schiller
bf2757a4de
Move getElem() and assignAttributes() into svgutils.js. Started moving pathActions into path.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1976 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-04 08:02:46 +00:00
Jeff Schiller
cb3bf30c94
Fix importing the same symbol multiple times (Issue 774)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1975 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-03 18:16:22 +00:00
Jeff Schiller
76a2ce76d5
Add third mode of id randomization and some tests
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1974 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-03 16:38:15 +00:00
Alexis Deveria
e3a8fb92b2
Remove scrollbar generated since r1957
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1973 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-03 14:58:47 +00:00
Jeff Schiller
09ab8a85fe
Fix randomizeIds() to also add a nonce to the current document if not present
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1972 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-03 06:45:01 +00:00
Alexis Deveria
67384a5a71
Fixed more of issue 662
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1971 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 21:26:41 +00:00
Alexis Deveria
28d1dbcfe5
Fixed other part of issue 662: Break link to reference element Undo weirdness
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1970 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 19:36:49 +00:00
Alexis Deveria
245c92d378
Fixed part of issue 662: Break link to reference element Undo weirdness
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1969 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 18:24:44 +00:00
Jeff Schiller
99931f7d5b
Move shortFloat() into svgedit.units. Add test file for svgedit.units.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1966 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 17:28:43 +00:00
Alexis Deveria
fe537b05a8
Added 'supportsPathBBox' to svgedit.browser to replace a webkit browser sniff
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1965 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-01 20:25:06 +00:00
Jeff Schiller
aeaa8b0213
Upgrade qunit to latest at github
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1964 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-01 15:36:45 +00:00
Alexis Deveria
9e9c758167
Another attempt at fixing issue 769
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1963 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-01 15:23:18 +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
846ee8eca1
Better fix for Issue 769: Text tool defaults to white in FF4
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1961 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 20:27:05 +00:00
Alexis Deveria
f639150fed
Fixed Issue 769: Text tool defaults to white in FF4
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1960 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 20:02:24 +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
Alexis Deveria
ba028851bc
Fixed Issue 762: Editing imported SVGs with <symbols> included causes some major issues
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1958 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 18:22:04 +00:00
Alexis Deveria
ae042a81bb
Fixed bug in last revision by relocating context panel
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1957 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 16:52:05 +00:00
Alexis Deveria
201d284071
Fixed issue 764: Small window size may cause the UI to be drawn over the drawing area
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1956 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-31 15:57:01 +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
Jeff Schiller
d85a7bc8a2
Add deleteCurrentLayer() to Drawing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1953 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-30 17:11:56 +00:00
Jeff Schiller
cd00087f2a
Fix Bug 767: Fire changed events when changing stacking order of elements (modified patch from Da.Waterworth)
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1952 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-30 16:45:29 +00:00
Adrian Jones
4da11c4924
Renamed clone to duplicate and added ALT arrow and ALT drag duplicate
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1951 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-30 05:55:33 +00:00
Alexis Deveria
81ac3d75c6
Added default keyboard shortcuts to common commands including: Undo, Redo, Cut, Copy and Paste
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1949 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 20:11:18 +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
Alexis Deveria
262b0da7e7
Undo work on Issue 336: Live Updates to Dimensions
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1944 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 16:10:43 +00:00
Jeff Schiller
00d05776a2
Move setLayerVisibility() and setLayerOpacity() into Drawing and some tests
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1943 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 07:39:30 +00:00
Jeff Schiller
4190990d69
Move getLayerVisibility() and getLayerOpacity() into Drawing and some tests
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1942 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 06:45:34 +00:00
Jeff Schiller
3e9f1747ff
Add createLayer() to Drawing and tests
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1941 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-28 04:37:41 +00:00
Alexis Deveria
3398b37947
Fixed Issue 336: 'Live Updates to Dimensions' and Issue 766: 'Rotating an object produce many elementChanged events' by creating/using 'transition' event
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1940 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-27 14:23:33 +00:00
Alexis Deveria
f8b1a99c41
Fixed Issue 765: The context menu can go off the side of the screen by updating jquery.contextMenu.min.js with unminified version
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1939 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-26 18:19:39 +00:00
Alexis Deveria
276972ab7d
Fixed Issue 763: Drawing with the pencil tool fires two elementChanged events
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1938 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-26 17:35:28 +00:00
Jeff Schiller
ec56e8b2c3
Move setCurrentLayer() into Drawing. Rename getCurrentLayer() to getCurrentLayerName() and move into Drawing. Tests.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1937 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-26 03:18:59 +00:00
Jeff Schiller
493ac8ae41
Move current_layer into Drawing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1936 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-25 16:15:29 +00:00
Jeff Schiller
c6cd4c800a
Fix inclusion of jQuery in release-mode. Tweak shippy
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1934 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 19:04:34 +00:00
Alexis Deveria
717f596928
Fixed gradient picker by updating minified file
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1933 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 18:54:50 +00:00
Jeff Schiller
6b8958bd39
Turn on Closure compilers SIMPLE_OPTIMIZATIONS. Slightly change how svgedit namespace is set up in each module
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1931 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 06:46:45 +00:00
Jeff Schiller
8379711c3e
Finish Python script that switches the release script tags in svg-editor.html. Updated Makefile
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1930 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 06:13:40 +00:00
Jeff Schiller
af0599d632
Changes to Makefile so things build better. Start on a python script for releasing the HTML file
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1929 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-17 22:11:35 +00:00
Jeff Schiller
97071abd0e
Move getLayer() into Drawing with tests
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1928 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-17 05:02:08 +00:00
Jeff Schiller
8691a37376
Add identifyLayers() to svg.draw.Drawing with tests
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1927 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-17 04:36:54 +00:00
Jeff Schiller
6f9f943093
Move hasLayer() into svgedit.draw.Drawing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1926 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 23:18:51 +00:00
Jeff Schiller
0db154bff4
Rename document module to draw. Add getNumLayers() to draw module.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1925 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 23:07:35 +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
Adrian Jones
ff498b5bc7
Added IE9 to list of browser alternatives
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1923 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 20:40:17 +00:00
Jeff Schiller
e4714fd767
Restore layer button functionality broken since locale-script change
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1922 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 20:25:57 +00:00
Adrian Jones
372b5d996b
Added links to other browser downloads, including the Chrome plugin
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1921 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 17:55:20 +00:00
Jeff Schiller
3ffc78a81c
Remove debugging statements
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1920 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 16:30:29 +00:00
Jeff Schiller
c21b9be33c
Fix width of layer button panel for Firefox OSX. Fix setting of uiStrings in editor for New Label. Move all_layers into svgedit.document.Document
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1919 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 16:28:26 +00:00
Adrian Jones
881cfab46b
Added new browser-not-supported.html file
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1917 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 03:22:24 +00:00
Adrian Jones
b6263bc7ff
Adds check for browser svg support and redirects to error page if not supported
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1916 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-16 03:18:19 +00:00
Jeff Schiller
b34d721491
Remove unused exportNoImage warning. Fix translation string when converting a use-symbol into a group
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1915 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-15 06:40:37 +00:00
Adrian Jones
daa3dda356
Fixed main menu width to prevent text wrapping with some languages
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1914 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-14 22:00:51 +00:00
Jeff Schiller
82f5bfdc30
Actually use svgedit.document.Document in svgcanvas.js. Added Document.releaseId() to prevent mouseUp using up ids.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1912 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-14 18:18:29 +00:00
Alexis Deveria
7ce0c3336b
Added 'selectNew' config option to disable auto-selection when an element is created
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1911 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 16:17:00 +00:00
Jeff Schiller
28b9c0cfd7
Rename browsersupport module to browser
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1910 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 07:47:21 +00:00
Jeff Schiller
282f81f27a
Rewrite browsersupport JS module to only expose functions. Added detection for Selectors and XPath support. Updated svgcanvas.js to create its getElem() function based on browsersupport.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1909 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 07:38:27 +00:00
Jeff Schiller
e557f346e9
Add unused document JS module and test. Change svgcanvas to always increment object ids for every call to getNextId().
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1908 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 06:57:26 +00:00
Alexis Deveria
15165fe7b9
Possibly fixed Issue 753: line tool icon goes black
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1907 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 20:38:16 +00:00
Alexis Deveria
d3bfb4a46c
Fixed bug where showRulers=false wasn't hiding the rulers properly
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1906 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-12 15:10:01 +00:00