Commit Graph

81 Commits (5eb3e090340335063b503cb25a5d52ff0cf2e2a1)

Author SHA1 Message Date
Brett Zamir ae2394f086 (INCOMPLETE: ES6 Module conversion and linting)
- Breaking change: Require `new` with `EmbeddedSVGEdit` (allows us to use `class` internally)
- Breaking change: If `svgcanvas.setUiStrings` must now be called if not using editor in order
    to get strings (for sake of i18n) (and if using path.js alone, must also have its `setUiStrings` called)
- Breaking change (ext-overview-window): Avoid global `overviewWindowGlobals`
- Breaking change (ext-imagelib): Change to object-based encoding for namespacing of
    messages (though keep stringifying/parsing ourselves until we remove IE9 support)
- Breaking change: Rename `jquery.js` to `jquery.min.js`
- Breaking change: Remove `scoped` attribute from `style`; it is now deprecated and
    obsolete; also move to head (after other stylesheets)
- Enhancement: Make SpinButton plugin independent of SVGEdit via
    generic state object for tool_scale
- Enhancement: Remove now unused Python l10n scripts (#238)
- Enhancement: ES6 Modules (including jQuery plugins but not jQuery)
- Enhancement: Further JSDoc (incomplete)
- Enhancement (Optimization): Compress images using imageoptim (and add
    npm script) (per #215)
- Fix: i18nize path.js strings and canvas notifications
- Fix: Attempt i18n for ext-markers
- Refactoring (ext-storage): Move locale info to own file imported by the extension (toward modularity; still should be split into separate files by language and *dynamically* imported, but we'll wait for better `import` support to refactor this)
- Refactoring: For imagelib, add local jQuery copy (using old 1.4.4 as had
    been using from server)
- Refactoring: For MathJax, add local copy (using old 2.3 as had been using from
    server); server had not been working
- Refactoring: Remove `use strict` (implicit in modules)
- Refactoring: Remove trailing whitespace, fix some code within comments
- Refactoring: Expect `jQuery` global rather than `$` for better modularity
    (also to adapt line later once available via `import`)
- Refactoring: Prefer `const` (and then `let`)
- Refactoring: Add block scope keywords closer to first block in which they appear
- Refactoring: Use ES6 `class`
- Refactoring `$.isArray` -> `Array.isArray` and avoid some other jQuery core methods
    with simple VanillaJS replacements
- Refactoring: Use abbreviated object property syntax
- Refactoring: Object destructuring
- Refactoring: Remove `uiStrings` contents in svg-editor.js (obtains from locale)
- Refactoring: Add favicon to embedded API file
- Refactoring: Use arrow functions for brief functions (incomplete)
- Refactoring: Use `Array.prototype.includes`/`String.prototype.includes`;
    `String.prototype.startsWith`, `String.prototype.trim`
- Refactoring: Remove now unnecessary svgutils do/while resetting of variables
- Refactoring: Use shorthand methods for object literals (avoid ": function")
- Refactoring: Avoid quoting object property keys where unnecessary
- Refactoring: Just do truthy/falsey check for lengths in place of comparison to 0
- Refactoring (Testing): Avoid jQuery usage within most test files (defer script,
    also in preparation for future switch to ES6 modules for tests)
- Refactoring: Make jpicker variable declaration indent bearable
- Refactoring (Linting): Finish svgcanvas.js
- Docs: Mention in comment no longer an entry file as before
- Docs: Migrate old config, extensions, and FAQ docs
- Licensing: Indicate MIT is license type of rgbcolor; rename/add license file name for
    jgraduate and screencast to reflect type (Apache 2.0); rename file to reflect it
    contains license information (of type MIT) for Raphael icons
2018-05-22 18:02:57 +08:00
Brett Zamir 1f3b8dad52 - Apply tabs->4 spaces to Markdown code and remove extra WS (more like ESLint "standard")
- Apply spaces in README (now tabs confined to Python, Makefile, chrome.manifest, vendor code, and few test files for formatting)
2018-05-18 14:57:02 +08:00
Brett Zamir dc6ab72480 - Update Opera and jQuery links
- Use `https://` (fix #172), including in prompt for URL and relevant code comments (where available and naturally not on namespaces)
- Comment out broken link in svg-editor.html
- Trailing space
2018-05-18 13:48:47 +08:00
Brett Zamir a3b3525789 - Linting (ESLint): Finish
- Fix: Globals (x, y) in `mouseMove`
- Fix: Global (element, d_attr->dAttr) in `mouseDown`
- Fix: Avoid `drawnPath` not defined error
- Docs: sp.
2018-05-17 11:34:21 +08:00
Brett Zamir 38d6274723 - Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
    casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
    heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 09:58:13 +08:00
Chris DeLuca a80467c5d8
Fix documentation markdown
Github changed it's markdown parser, requiring a space between the hash and the text for headings.
2017-08-03 19:49:39 -04:00
Dennis Y. Parygin b7c52fad75 Add complete markdown converted SvgCanvas documentation 2016-03-24 17:52:33 +05:00
Philip Rogers f6005d6ac5 Update instructions to use binary attachments
Instead of storing compressed zip and tar.gz files on gh-pages, just link directly to them from the releases page (https://github.com/progers/svgedit/releases).
2015-11-24 18:41:38 -08:00
Philip Rogers 25900663cb Migrate Acknowledgements to markdown docs
This file has been manually converted to markdown from https://code.google.com/p/svg-edit/wiki/Acknowledgements. A few urls have been updated but there are otherwise no changes.
2015-11-24 17:18:23 -08:00
Philip Rogers b0f1cee47a Create ReleaseInstructions.md 2015-11-24 16:53:55 -08:00
Philip Rogers 98523876f3 Remove outdated SvgCanvas docs 2015-11-24 16:14:34 -08:00
Brett Zamir fc41825010 Convert remaining eval()-ish items in repo
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2586 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-14 00:00:40 +00:00
Brett Zamir d625e03e89 Remove unnecessary eval() dependency for tooltip hiding (also removed in commented out portion) (though this commit does not convert string-based setTimeout's into function-based ones)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2572 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-10-12 00:04:22 +00:00
Alexis Deveria f679554ce4 Added extension to offer server-based import/open ability to browsers without File API support
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1621 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-07-01 20:14:12 +00:00
Alexis Deveria d96ddad902 More wacky internal changes and documentation updates
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1620 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-30 18:27:36 +00:00
Alexis Deveria 3d351fa0c7 More optimization/docs work
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1619 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-29 20:43:44 +00:00
Alexis Deveria a9b2010b28 Optimized some stroke/fill functions, more documentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1618 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-28 20:09:34 +00:00
Alexis Deveria 00ef6f5d74 Fixed issue 587, more code reorganization/documentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1617 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-28 13:10:22 +00:00
Alexis Deveria 42dd162ffe More code reorganization/documentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1616 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-22 18:17:42 +00:00
Alexis Deveria 63407c7542 Removed code for Opera/Win/Non-en bugs that were fixed in Opera 10.50. More code reorganization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1615 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-22 14:52:51 +00:00
Alexis Deveria 93b509dd8e Reorganized undo related functions, added more docs, updated German lang file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1612 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-21 18:06:21 +00:00
Alexis Deveria 4cd1fbf995 More internal code improvements/documentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1610 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-21 15:05:41 +00:00
Alexis Deveria e420c6beba More documentation changes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1609 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-18 21:02:44 +00:00
Alexis Deveria f561211268 Start of new thorough code documentation effort
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1607 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-06-18 20:35:47 +00:00
Jeff Schiller 22bac1eac5 Refresh API docs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@827 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 05:21:40 +00:00
Jeff Schiller 87811c0fb8 More tweaking to the Layers panel. Added some missing API doc files.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@820 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-14 02:50:07 +00:00
Jeff Schiller 91d450b5cb More SvgCanvas API docs updates
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@811 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 02:48:27 +00:00
Jeff Schiller 588902cecf More API Docs updates
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@810 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 02:35:36 +00:00
Jeff Schiller 47852b96a0 Updated API docs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@809 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-13 01:40:38 +00:00
Jeff Schiller 8afac891c9 Correction to Makefile to remove naturaldocs config directory, not docs directory. Add main index.html doc file for API
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@790 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 19:15:18 +00:00
Jeff Schiller 469fc09f65 Starter documentation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@789 eee81c28-f429-11dd-99c0-75d572ba1ddd
2009-10-09 19:08:59 +00:00