Commit Graph

2722 Commits (7c6f512512b715a66def4412faa28f99e2d1810a)

Author SHA1 Message Date
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 105037ef79 - npm: Add `add-release` script (Newer versions of Git might be able to use `set-branch`, but the Git version with Mac does not so using another approach)
- Docs: Fix `ReleaseInstructions.md`
2020-02-22 10:32:53 +08:00
Brett Zamir ec881e2362 - npm: Update devDeps (cypress-related, mochawesome-merge, linting-related, rollup)
- Build: Update
2020-02-21 18:24:20 +08:00
Brett Zamir e60812e196 - Linting (ESLint): Check eslintrc file itself
- Linting: Add linting plugins (mocha, chai-expect, chai-friendly, cypress)
- Testing: Change cypress plugins file to ESM (so can set up any needed unit testing tasks)
2020-02-21 16:34:55 +08:00
Neil Fraser b1ceb3c911 Add Clipboard unit tests 2020-02-21 14:51:09 +08:00
Neil Fraser 2e2caaa2d5 Lint fixes. 2020-02-21 14:51:09 +08:00
Neil Fraser 3766d748d5 Move clipboard from localStorage to sessionStorage
This change eliminates the permanent clipboard that unexpectedly survives beyond the current session.  Uses localStorage to momentarily flash the clipboard to other tabs.  Resolves #379
Also fixes traceback if paste is called with nothing on clipboard.
Also fixes traceback if copy is called and no context menu exists.
2020-02-21 14:51:09 +08:00
Brett Zamir 334dc09c63 - Docs: Update `ReleaseInstructions` per new procedures 2020-02-21 11:08:06 +08:00
Brett Zamir 9ce26bafc8 - Docs: Update `ReleaseInstructions` per new procedures 2020-02-21 11:07:23 +08:00
Brett Zamir 8f2d50873e - Testing (UI): Add `force: true` and longer timeout to get tests passing 2020-02-21 10:33:56 +08:00
Brett Zamir 178374afdf - Linting (ESLint): Ignore `releases` (Fixes #387)
- npm: Ignore `releases`, `gh-disabled-workflows`, `.travis.yml`
- npm: Change `open-tests` script to run `instrument`
- Docs: Clarifications on testing
2020-02-21 08:43:58 +08:00
Brett Zamir f59481340f - Docs: Clarify; update CHANGES 2020-02-20 12:50:42 +08:00
Brett Zamir 091b3b707e - Docs: Add to testing re: Cypress config/environmental variable info 2020-02-20 12:42:42 +08:00
Brett Zamir 08bf6f63b8 - Docs: Update testing info; update CHANGES
- `editorconfig`: Use 4 spaces for Markdown
- npm: Rename and group various development scripts
2020-02-20 12:31:06 +08:00
Pavol Rusnak 2fa2bfac1e
- docs: update Pavol's email address 2020-02-15 13:20:32 +01:00
Brett Zamir 58c0370b04 - npm: Update devDeps 2020-02-12 10:48:10 +08:00
Brett Zamir 8a544f85c3 - npm/Build: Move out badge building to external devDep. 2020-02-11 13:20:24 +08:00
Brett Zamir 36ec1a109a - npm: Clean-up and fix new timing issues with cypress test scripts
- npm: Update devDeps (testing)
2020-02-07 12:46:45 +08:00
Brett Zamir 4b14d1efec - npm: Update devDeps (ash-nazg, coveradge) 2020-02-06 01:41:39 +08:00
Brett Zamir b7f8a63158 - Build: Update
- npm: Update devDeps.
2020-02-05 23:42:38 +08:00
Brett Zamir 33c84d89b8 - Linting (ESLint): As per latest ash-nazg
- npm: Update devDeps
2020-02-01 20:44:13 +08:00
Brett Zamir f9f359b98f - Linting (ESLint): As per latest ash-nazg (jsdoc for classes/methods)
- npm: Update devDeps
2020-01-29 12:09:42 +08:00
Brett Zamir cf80e31de7 - Build: Update
- npm: Update devDeps
2020-01-25 10:32:24 +08:00
Brett Zamir 6acca0cf6a - npm: Use stable mocha-badge-generator now that updated 2020-01-21 12:17:06 +08:00
Brett Zamir 03a56e035d - Testing: Clarify 2020-01-21 12:05:29 +08:00
Brett Zamir 5992fadd0f - Docs: Update badges 2020-01-21 12:03:15 +08:00
Brett Zamir 1624b64264 - npm: Remove redundant script 2020-01-21 11:53:12 +08:00
Brett Zamir fd77dc2b30 - Testing: Add key commands test 2020-01-21 11:50:06 +08:00
cuixiping 2235f81ee7 Fix: remove "null" attributes in svg source #76 2020-01-17 15:34:00 +08:00
cuixiping e69fd11766 Testing: add testing for convertPath function 2020-01-16 14:20:19 +08:00
cuixiping 6ff0d9d58f Fix: export path element to PDF, support more path commands #269 2020-01-16 14:17:55 +08:00
cuixiping 5c21127791 Fix: fix a bug of convertPath function when convert H and V to relative 2020-01-16 14:15:53 +08:00
cuixiping f9cc6821c7 Fix: export path with holes to PDF #269 2020-01-15 16:13:14 +08:00
cuixiping 980aa80169 Fix: Path element cannot be exported to PDF #269 2020-01-14 17:08:39 +08:00
cuixiping b30036a424 Fix: Pressing 'Ctrl+A' causes js error when canvas is empty 2020-01-14 10:57:24 +08:00
Brett Zamir cb5f2b5b4f - Update: core-js-bundle copy
- npm: Bump devDeps (Babel-related, eslint-related, core-js-bundle, cypress)
2020-01-13 21:30:22 +08:00
Brett Zamir cd5f80eac0 - Refactoring: Add favicon no-op to suppress favicon 404s until
loaded dynamically (might make configurable in future)
2020-01-10 09:34:44 +08:00
Brett Zamir e50dfe77e0 - npm: Rmv ws in comparison check 2020-01-09 10:14:48 +08:00
Brett Zamir effa4829d0 - npm: Update devDep (`license-badger`) 2020-01-09 09:47:01 +08:00
Brett Zamir 1be01bc89a - Build: Updae
- npm: Update devDeps
2020-01-09 02:27:56 +08:00
Brett Zamir 9fcdebac44 - Build: Update license dev. badge (CC-BY-4.0 packages listed now as permissive)
- npm: Update devDep.
2020-01-08 17:23:29 +08:00
Brett Zamir 80b31b3776 - Build: Update license dev. badge (CC-BY-3.0 packages listed now as permissive)
- npm: Update devDep.
2020-01-08 17:10:18 +08:00
Brett Zamir cbd4c1f40a - Build: Update license badges
- npm: Update devDeps
2020-01-08 16:17:25 +08:00
Brett Zamir 310157e37e - npm: Update devDep. (no need for badge color override) 2020-01-08 11:38:35 +08:00
Brett Zamir 602dc36631 - Docs: Use darker, easier-to-read yellow color for weakly protective dev licenses 2020-01-08 11:03:49 +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 3fe912eba8 - Linting (ESLint): As per latest eslint-plugin-jsdoc
- npm: Bump devDep.
2020-01-08 04:11:06 +08:00
cuixiping 18c52ca4b9 Merge branch 'master' of https://github.com/SVG-Edit/svgedit 2020-01-07 21:12:54 +08:00
Brett Zamir 2ea517fc1b - Linting (ESLint): Revert addition of radix which is not needed in ES6 dev. environment (Babel to handle) 2020-01-07 18:59:36 +08:00