Commit Graph

70 Commits (44979555a64b83d54120e3cbac326bb6dfd8840e)

Author SHA1 Message Date
Brett Zamir 623a8a715a - Docs: Link to (Tiger) screenshot SVG source 2020-03-03 20:16:29 +08:00
Brett Zamir 7c6f512512 - Linting: Lint hidden `ncurc.js` file
- Docs: Add 6.0.0.md migration file
- Docs: Update Contributing, Testing (renamed to Development), Linting and ReleaseInstructions
- Docs: Info on submodules
- npm: Add scripts for updating submodules
- npm: Add `license-badges`, `build-docs`, and `copy` scripts to `prepublishOnly` script
- npm: Bump to 6.0.0
2020-02-22 14:16:12 +08:00
Brett Zamir 7b8ef46ce7 - Comment out simple licenses badge as integrate into others 2020-01-08 10:58:23 +08:00
Brett Zamir 11a21fe93a - License: Reflect actual license of library in `package.json` based
not only on licenses of repository as a whole (i.e., "MIT") but
  individual component files; see `filesByLicense` in `licenseInfo.json`
  for a map of license to these files within the repo with their own
  licenses. See the new license badges on the README for a summary of
  the licenses including either bundled devDependencies or all
  `devDependencies` (we have no direct npm `dependencies` currently).
- Docs: Add license badges and `licenseInfo.json` (has a
  `filesByLicense` map of files to licenses (not yet used programmatically)
  and `bundledRootPackages` which is used by `license-badger` to know which
  dev. packages are being bundled (added by `npm run copy`) for determining
  summary of all licenses including bundled).
- npm: Update devDep.
2020-01-08 10:56:21 +08:00
Brett Zamir 6287bdfb6b - Docs (README): Add lb before code example 2020-01-07 09:30:25 +08:00
Igin 0ef2c24c80
Add screenshot 2020-01-06 23:57:55 +08:00
Brett Zamir 8fd368d06c - Docs: Update link for `master` 2020-01-06 22:06:03 +08:00
Brett Zamir 37ddd63863 - Docs: Fix error in flag 2020-01-06 21:33:03 +08:00
Brett Zamir b94802a57c - Docs: Add note about not cloning recursively 2020-01-06 21:29:37 +08:00
Igin a552fff347
Update README.md 2020-01-06 20:22:45 +08:00
Brett Zamir 97f64d2189 - Refactoring: Move `build-html` to `build` directory
- Optimization: Remove old build/tools closure/yuicompressor code
- Testing: Produce mochawesome report
- Testing: Cypress with multiple reporters (was expecting we'd need, but doesn't hurt to add for now)
- Docs: Add testing badge
- Docs: Reprioritize `docs` in commit lists (prioritize user-facing)
- npm: Update `package-lock.json` (seems to have fixed so Cypress shows incremental results)
2020-01-06 13:42:52 +08:00
Brett Zamir 5f9085be1b - Move badges to own folder 2019-12-21 11:04:07 +08:00
Brett Zamir af42d1fb0f - Docs (README): Change coverage badge embedding to work on npmjs (as well as github) 2019-12-20 17:04:27 +08:00
Brett Zamir a6f65cec0b - Docs: Use SVG-based coverage badge on README in place of PNG 2019-12-18 21:32:44 +08:00
Brett Zamir 3200e0ab8e - Docs/Build: Script to build coverage badge 2019-11-25 08:40:37 +08:00
Brett Zamir 11fd7afbc7 - Docs: Use https in link as elsewhere 2019-11-24 17:38:51 +08:00
Brett Zamir 1930d01007 - Build: Add Github workflows
- Docs: Indicate current coverage on README
2019-11-24 17:06:35 +08:00
Brett Zamir f7c1174427 - Docs: Update README re: release 2019-11-16 10:55:08 +08:00
Brett Zamir 4785aa9cae - Docs: Add vulnerabilities badge; reorder
- npm: Bump to 5.1.0
2019-11-16 10:52:24 +08:00
Brett Zamir ed2e6e8a97 - npm: Rename `build-config` to `build-by-config` 2019-07-12 19:14:49 -07:00
Brett Zamir 5eb3e09034 - Docs: Further indenting 2019-06-27 15:29:01 +08:00
Brett Zamir 6d5c1cc2c3 - Doc indenting for Github 2019-06-27 15:28:16 +08:00
Brett Zamir d142dbc745 - Docs: Clarify build steps 2019-06-27 15:23:53 +08:00
Brett Zamir f3399b8839 - Docs: Clarify build steps 2019-06-27 15:22:03 +08:00
Brett Zamir f802bfa4c2 - Docs: Clarify 2019-06-27 15:14:20 +08:00
Brett Zamir bd97406c5d - Docs: Indicate `--save` flag for installing 2019-06-27 15:10:36 +08:00
Brett Zamir 9e392cf66b - Docs: Further installation clarifications 2019-06-27 15:06:56 +08:00
Brett Zamir efcde397ac - Optimization: Re-rerun image optimization per update
- Linting (ESLint): Adjust per now applied rules
- Testing: Accessibility test API update
- Docs: Clarify need for Node.js/npm being installed
- npm: Update devDeps and core-js-bundle copy; add new axe testing peer dep. axe-core
2019-06-27 12:24:37 +08:00
Brett Zamir c39d86cb58 Add IssueHunt button 2019-06-20 13:36:59 +08:00
Brett Zamir fc0c53f61a - Breaking change: Switch from deprecated `@babel/polyfill` to
`core-js-bundle` and `regenerator-runtime` replacements
- Fix: Fully redirect extension entrances for lacking browser support
- Docs: Simplify comments in HTML files re: script purposes
- Docs: Update release instructions
- npm: Update devDeps (jsdoc, security audit)
- npm: Bump to 5.0.0
2019-05-07 08:02:32 +08:00
Brett Zamir b8cc9cf724 - Docs (README): lbs; add release blurb
- npm: Bump to 4.3.0
2019-04-03 17:44:00 +08:00
cuixiping 104dc8041f fix link of ES6-Module version 2019-03-12 18:05:57 +08:00
Brett Zamir 01083faf73 - Docs: Update CHANGES
- npm: Update devDeps
- npm: Bump to 4.2.0
2018-12-13 09:48:06 +08:00
Brett Zamir 0bdd87c39f - Docs (README): Help wanted 2018-11-30 18:42:43 +08:00
Brett Zamir c6d07fbb7c - Fix: Extension locales with hyphens
- npm: Bump to 4.1.0
2018-11-29 20:41:50 +08:00
Brett Zamir efa8cbfb83 - Docs: Update README 2018-11-16 15:47:27 +08:00
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
Brett Zamir bcf31405fc - npm: Update README 2018-11-04 15:57:15 +08:00
Brett Zamir 9b9c900ede - Linting (ESLint compat): Add eslint-plugin-compat to get browser support
warnings
- Docs (README): Indicate minimal polyfills needed for older browsers
    (IE <= 11, IE Mobile, Opera Mini, Blackberry Browser <= 10,
    Android Browser 4.4.3-4.4.4)
- npm: Update devDeps
2018-10-29 08:46:34 +08:00
Brett Zamir b573a85fba - Fix: Save broken on Firefox (since FF version?)
- Docs: Mention potentially more frequent release schedule
- Docs (ReleaseInstructions): Update per new testing; update
  `grep-doc` -> `types-doc` and indicate current failing status; indicate
  when `build-doc` will be used; clarify `npm pack`
- npm: Add newly renamed `jsdoc-check-overly-generic-types.js` to ignore
- npm: Bump to 3.1.1
2018-10-25 10:45:57 +08:00
Brett Zamir 283ef0b521 - Fix: Have export handler, if triggered, always open a window even if no
window name was given (needed in Chrome to avoid opening an extra window)
- Fix (Embedded editor regression): Ensure event handlers are added even if
    document cannot be directly modified
- Enhancement: Add `opts` object to `rasterExport` with `avoidEvent` property
  to avoid calling the `exported` event
- Docs (CHANGES): Update
- Docs (README): Deemphasize unstable embedded editor fixes
2018-10-24 14:56:09 +08:00
Brett Zamir 07f59ba01a - Refactoring: Reorder path config to group (non-modular-dependent) image
paths together (and correct code comment)
- Docs: CHANGES clarifications/fixes
- Docs: Migrations documents section
- Docs: Add code comment re: use of `extIconsPath` in Mathjax
- Docs: Add JSDoc indicate @this for `ExtensionInitResponse#callback`
- Build: Update build files
- npm: Bump to 3.1.0
2018-10-24 13:52:08 +08:00
Brett Zamir f4bbd34d34 - Fix: Revert fix to have extension `mouseup` events run on "zoom" and
"select" modes (#159); breaks polygon selection
- npm: Bump to 3.0.1
2018-10-22 23:43:59 +08:00
Brett Zamir 5e7a90b809 - Docs: More info on unpkg.com and how releases share URLs only, not downloads (at least for now) 2018-10-21 19:31:46 +08:00
Brett Zamir 7dce21aa93 - npm: Bump to 3.0.0! 2018-10-21 18:48:15 +08:00
Brett Zamir 6617110d76 - Docs: Clarify unpkg is latest npm, not `master` 2018-10-14 12:46:20 +08:00
Brett Zamir b7269db7f4 - Docs: Move from closing rawgit.com to unpkg.com 2018-10-14 12:45:11 +08:00
Brett Zamir 71b2b33e41 - Fix: Avoid errors occurring in Chrome now for `supportsGoodTextCharPos`
- Linting: Avoid Jamilih file in doc linting
- Testing: Add testcafe (ESLint plugin/rules, accessibility test
  (failing), ui test beginnings (passing))
- Docs: Add "Testing" prefix to contributing file
- npm: Bump to 3.0.0-rc.3
2018-09-30 12:13:34 +08:00
Brett Zamir f3b29b94db - Docs: Add badges (npm, license, lgtm)
- npm: Update devDeps
2018-09-22 11:14:53 +08:00
Brett Zamir 97d093d6ef - Linting (ESLint): Add xdomain file to ignore file
- Fix (i18n): Regression in last commit with locales and apostrophe values
- npm: Avoid adding config files to ignore file
- npm: Bump to 3.0.0-rc.2
- Build: Update build
2018-07-31 15:15:25 -07:00