svgedit/editor/extensions
Brett Zamir 2e5c7557a9 - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback
- Breaking change: Treat callbacks to `editor.ready` as Promises, only resolving after all resolve
- Breaking change: Make `editor.runCallbacks` return a `Promise` which resolves upon all callbacks resolving
- Breaking change: Require `npx` (used with `babel-node`) to allow Node files
  for HTML building and JSDoc type checking to be expressed as ESM.
- Breaking change: `addExtension` now throws upon a repeated attempt to add an already-added extension
- Breaking change (storage preference cookies): Namespace the cookie as "svgeditstore" instead of just "store"
- Breaking change (API): Remove `svgCanvas.rasterExport` fourth (callback) argument, collapsing fifth (options) to fourth
- Breaking change (API): Remove `svgCanvas.exportPDF` third (callback) argument
- Breaking change (API): `editor/contextmenu.js` `add` now throws instead of giving a console error only upon detecting a bad menuitem or preexisting context menu
- Breaking change (API): Remove `svgCanvas.embedImage` second (callback) argument
- Breaking change (API): Make `getHelpXML` a class instead of instance method of `RGBColor`
- Breaking change (internal API): Refactor `dbox` (and `alert`/`confirm`/`process`/`prompt`/`select`) to avoid a callback argument in favor of return a Promise
- Fix: Avoid running in extension `langReady` multiple times or serially
- Enhancement (API): Add svgCanvas.runExtension to run just one extension and add `nameFilter` callback to `runExtensions`
- Enhancement (API): Supply `$` (our wrapped jQuery) to extensions so can use its plugins, e.g., dbox with its `alert`
- Enhancement: Use alert dialog in place of `alert` in webappfind
- Enhancement: `editor.ready` now returns a Promise resolving when all callbacks have resolved
- Enhancement: Allow `noAlert` option as part of second argument to `loadSvgString` (and `loadFromURL` and `loadFromDataURI`) to avoid UI alert (and trigger promise rejection)
- Enhancement: Make `dbox` as a separate module for alert, prompt, etc. dialogs
- Refactoring: Internal `PaintBox` as class; other misc. tweaks; no bitwise in canvg
- Linting (ESLint): Further linting changes (for editor); rename `.eslintrc` -> `.eslintrc.json` per recommendation
- Optimization: Recompress images (imageoptim-cli updated)
- npm: Update devDeps
- npm: Bump to 4.0.0
2018-11-16 12:48:23 +08:00
..
ext-locale - Openclipart API work (waiting on possibility of their adding a missing CORS header) 2018-09-26 16:49:46 +08:00
imagelib - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
mathjax - Security fix: 'extPath', 'imgPath', 'extIconsPath', 'canvgPath', 'langPath', 'jGraduatePath', and 'jspdfPath' were not being prevented 2018-07-08 22:39:46 -07:00
shapelib (INCOMPLETE: ES6 Module conversion and linting) 2018-05-22 18:02:57 +08:00
allowedMimeTypes.php - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
closepath.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
closepath_icons.svg - Docs: Move from closing rawgit.com to unpkg.com 2018-10-14 12:45:11 +08:00
ext-arrows.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-closepath.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-connector.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-eyedropper.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-foreignobject.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-grid.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-helloworld.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-imagelib.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-imagelib.xml - Remove carriage returns; fixes #37 2018-05-18 15:39:36 +08:00
ext-markers.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-mathjax.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-overview_window.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-panning.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-panning.xml - Remove carriage returns; fixes #37 2018-05-18 15:39:36 +08:00
ext-php_savefile.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-polygon.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-server_moinsave.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-server_opensave.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-shapes.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-shapes.xml - Remove carriage returns; fixes #37 2018-05-18 15:39:36 +08:00
ext-star.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-storage.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-webappfind.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
ext-xdomain-messaging.js - Breaking change: `loadSvgString` now returns a `Promise` rather than accepting a callback 2018-11-16 12:48:23 +08:00
eyedropper-icon.xml - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
eyedropper.png (INCOMPLETE: ES6 Module conversion and linting) 2018-05-22 18:02:57 +08:00
fileopen.php - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
filesave.php - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
foreignobject-edit.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
foreignobject-icons.xml - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
foreignobject-tool.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
grid-icon.xml - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
grid.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
helloworld-icon.xml - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
helloworld.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
imagelib.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-box.png - Optimization: Image compression 2018-09-07 05:41:46 +08:00
markers-box_o.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-forwardslash.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-icons.xml - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
markers-leftarrow.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-leftarrow_o.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-mcircle.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-mcircle_o.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-mkr_markers_dimension.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-mkr_markers_label.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-mkr_markers_off.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-nomarker.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-reverseslash.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-rightarrow.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-rightarrow_o.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-star.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-star_o.png - Optimization: Image compression 2018-09-07 05:41:46 +08:00
markers-textmarker.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-triangle.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-triangle_o.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-verticalslash.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
markers-xmark.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
mathjax-icons.xml - Further convert tabs -> 2 spaces in JS code comments (except in test performance 2018-05-18 14:41:43 +08:00
mathjax.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
openpath.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
panning.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
polygon-icons.svg - Remove carriage returns; fixes #37 2018-05-18 15:39:36 +08:00
polygon.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
savefile.php - Code comments: Coding standards within 2018-05-31 07:52:13 +08:00
shapes.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
star-icons.svg - Remove carriage returns; fixes #37 2018-05-18 15:39:36 +08:00
star.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00
webappfind-icon.svg - Remove carriage returns; fixes #37 2018-05-18 15:39:36 +08:00
webappfind.png - Fix: Add images (and references) for fallback (#135) 2018-07-31 00:18:39 -07:00