Commit Graph

38 Commits (a62f7c1c5ae7cf0fd05283a203ea183ffd7adef4)

Author SHA1 Message Date
Brett Zamir 6afa75adda Rename labels to fix issue 1206 of confusing labels ("Open Image"->"Open SVG" and "Import SVG"->"Import Image")
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-05-22 23:55:05 +00:00
Brett Zamir 9129d652e4 Add storage strings to other locales
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2710 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-02-19 04:33:21 +00:00
Brett Zamir 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 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 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
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
Alexis Deveria e5ce3448b1 Mass conversion of locale files to new format
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1901 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-11 21:15:08 +00:00
Alexis Deveria 3622c3d92b Fixed bug where wireframe mode would hide grid, made minor translation changes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1886 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-12-17 21:11:18 +00:00
Alexis Deveria 8000c9651e Updated lang files, fixed another textedit bug
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1561 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-05-03 20:12:41 +00:00
Alexis Deveria fa44f7d2ef Fixed issue 545: Cursor/selection block are positioned incorrectly when zoomed in/out on transformed text. Also updated canvg to version supporting arrows
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1557 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-30 15:06:47 +00:00
Alexis Deveria d0d499f259 More locale fixes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1555 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-29 16:42:58 +00:00
Alexis Deveria 7d4978740e Made more locale-related fixes, fixed issue 544 using codedread's help
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1550 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-28 16:34:02 +00:00
Alexis Deveria 9be03c4746 Updated locale files as well as lang.en.js with most new strings
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1548 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-27 18:50:16 +00:00
Alexis Deveria c2d4aa0061 Fixed bug that caused errors when changing an attribute while in text-edit mode. Also changed some lang IDs to better match tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1547 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-26 19:16:37 +00:00
Jeff Schiller 0b6fa02ca8 Add some missing tooltips to English translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1536 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 16:09:43 +00:00
Jeff Schiller ffc666c77f Move tooltip for rect width/height to the label instead of just input control. Update all translations.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1534 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 16:05:32 +00:00
Jeff Schiller 8c13cceea9 Move blur tooltip to the div so that icon gets a tooltip, also add to locale script for English
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1533 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-04-21 15:51:10 +00:00
Jeff Schiller 37aab7dd8f Added 'Import SVG' menu item and icon - only shows up in Firefox 3.6 and functions identically to Open at the moment
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1420 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-20 23:38:49 +00:00
Wormsxulla e2b264ea64 Make the tooltip description for id="stroke_width" in lang.en.js match the HTML. (All languages files will need to translate the new string").
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1338 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-04 07:13:09 +00:00
Alexis Deveria 98c707e53f Removed _show entries in language files (no longer needed)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1333 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-03 14:50:27 +00:00
Jeff Schiller 9e0c8fff0e Updated python script to fix lang files, ran all lang files through python script
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1229 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-15 19:11:22 +00:00
Jeff Schiller 8bff0591d3 Fix all lang files so they are proper JSON (JSON does not allow single-quoted strings) except for lang.es.js. Started a python script that will help use manage the translation files going forward
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1205 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-01-13 16:28:33 +00:00
Alexis Deveria db718cb201 Made fixes to/updated en,fr,nl lang files, made lang files no longer require keyboard shortcut hints
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1026 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-11 20:35:51 +00:00
Alexis Deveria 161714b157 Updated lang.en.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1003 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-08 18:08:23 +00:00
Alexis Deveria fddc6f2b10 Removed language list from lang.en.js in favor of local-langage names in HTML file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1001 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-07 21:16:13 +00:00
Alexis Deveria bf1cd8606d Updated lang.en.js file and added fixes to issues 346 and 347 to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1000 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-12-07 15:42:36 +00:00
Alexis Deveria 1bd107b58b Updated lang.en.js with latest changes (may still be some entries missing)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@963 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-20 19:23:09 +00:00
Alexis Deveria 55f791910a Added locale improvements: JS strings - see lang.en.js, dropdown list in doc props, browser language detect on startup
git-svn-id: http://svg-edit.googlecode.com/svn/branches/transformlist@928 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-11-10 21:31:47 +00:00
Alexis Deveria 0e578d675c Fixed issues 269 and 307, added clone SVG icon
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@888 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-29 19:43:34 +00:00
Jeff Schiller e667d63ac8 Rename all script/UI poly elements to path. Add TODOs for localization. Change MIME type of lang.XX.js files to text/javascript to better track in Subversion.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@842 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-18 20:46:32 +00:00
Jeff Schiller 2b6d0c467b Add shortcut key (X) to eXpand/collapse the side panel
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@822 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 04:16:48 +00:00
Jeff Schiller 7a784ad87c Rename Poly Tool tooltip to Path Tool (only in English translation)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@816 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 15:11:12 +00:00
Jeff Schiller 4a2141fd8a Make the layer handle draggable.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@798 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 06:07:57 +00:00
Jeff Schiller b1393df28c Move-To-Layer control now lives in the Layers panel. Restructured layout of layers panel and added a non-functional handle. Changed pointer-events to be 'inherit' for all elements inside the layer. Clear selection after moving elements to a layer.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@797 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-11 04:32:21 +00:00
Jeff Schiller 2549e8ddd6 Fix Issue 227: Move elements to a different layer. Also document all of the Layer API functions of SvgCanvas.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@796 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-10 21:46:06 +00:00
Jeff Schiller c0c0973cd9 Update English strings for new poly node contextual tools
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@792 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 19:39:31 +00:00
Pavol Rusnak a81d311f2a remove suffice parameter in translations + fix slovak translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@759 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-04 20:47:25 +00:00
Narendra Sisodiya e199e20ddd UI localisation, added English UI string file for reference purpose
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@758 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-03 19:56:31 +00:00