Commit Graph

298 Commits (9e3a4a90912481857703060a79093eb97e106cc1)

Author SHA1 Message Date
JFH a493dad418 update tests 2021-03-18 23:50:20 +01:00
Agriya Dev5 18ec805fab
#85 JavaScript conversion changes (#87)
* #85 javascript convertion changes

* #85 package json updated

* #85 extension context_tools code  again added

* #85 lint issue fixed

* #84 path tool draw issue fixed
2021-03-18 23:10:42 +01:00
JFH 6e1f7d2a07 use npm package 2021-03-15 00:09:32 +01:00
JFH 867f0b739f deparam to a npm package 2021-03-14 23:10:50 +01:00
JFH 57e7fe316b refactor with Panel classes 2021-03-14 21:16:35 +01:00
JFH b1a7cf34e8 use npm dragmove 2021-03-11 20:33:22 +01:00
JFH 811dc5ae5b fix tests 2021-03-09 22:54:05 +01:00
JFH 04d841fa8c remove licence-badger (breaks ci) 2021-03-08 15:39:18 +01:00
JFH 82ed16c983 npm update 2021-02-23 23:39:14 +01:00
JFH 47c365bf2a remove some non standard lint rules 2021-01-31 23:16:43 +01:00
mathieucura c31efbd088 fix #48 first set of new icons 2021-01-10 00:36:01 +01:00
JFH 3e97186f6e update husky 2021-01-08 21:05:31 +01:00
JFH ad877e7882 npm update + associated fixes 2021-01-07 01:21:42 +01:00
JFH a1a0f72bef build with new node resolve 2021-01-03 22:59:00 +01:00
JFH 53b22a46d6
V7 preview 2 (#463)
* commit toward svgcanvas/svgedit isolation

* jquery removal, isolate svgcavas from svgedit, tests

* refactor(panels)

* fix update of colorpickers

* update cypress

* #tool_imagelib image library menu missing in main menu

* #tool_imagelib lint issue fixed

* #seConfirmDialog confirm change to elix alertdialog

* #seConfirmDialog alert change to elix alert dialog

* #seConfirmDialog remove super.attributeChangedCallback

* #process_cancel prompt changes to alertDialog and seConfirmDialog

* refactor to class step 1

* make load faster

* #storageDialog dialog separate moved dialog

* #process_cancel alert and process_cancel changes

* #process_cancel lint issue fixed

* add seList component

* merge

* fixes

* storagedialog

* move all storage related code to ext-storage

* fix ruler

* Update ConfigObj.js

* fix resize

* Update ext-storage.js

* picker starts withthe right color

* fix prefs

* fix initial content load

* npm update and fix some tests

* npm run build
2021-01-02 00:15:23 +01:00
JFH 3f2d64e4bd commit 2020-12-25 00:33:22 +01:00
JFH d7898ff29c update rollup and web server (es dev no more maintained) 2020-12-19 22:53:45 +01:00
JFH 047e55c7be upgrade eslint and associated fixes
don't keep ie() by the way
2020-12-19 20:42:18 +01:00
JFH a284ddf61d progress on Dropdow using Elix lib 2020-11-14 16:35:51 +01:00
jfh 63999c017d button was not removing the pressed state 2020-11-11 14:45:21 +01:00
JFH 28019eef07
Refactor canvas in multiple pieces to increase maintainability (#446)
* #refactor-canvas getJsonFromSvgElement and svgroot code moved to separate file
* #refactor-canvas build files changes
* #refactor-canvas addSVGElementsFromJson move to json file
* #refactor-canvas selected element option function move separate file
* #refactor-canvas moveUpDownSelected move to select-elem
* ##refactor-canvas build file updated
* #refactor-canvas moveSelectedElements  move to selected-elem
* #refactor-canvas cloneSelectedElements move to slected-elem
* #refactor-canvas alignSelectedElements move to selected-elem
* #refactor-canvas deleteSelectedElements move to selected-elem
* #refactor-canvas copySelectedElements and groupSelectedElements move to selected-elem
* #refactor-canvas pushGroupProperty, ungroupSelectedElement move to selected-elem
* #refactor-canvas comment changes
* #refactor-canvas UndoManager move to separate file
* #refactor-canvas event file move to mouseMove, mouseUpEvent and dblClickEvent
* #refactor-canvas mouseDown move to event
* #refactor-canvas move to undo file
* #refactor alignment changes  and set function revert return
* #refactor-canvas textaction move to separate file
* #refactor-canvas paste-element function move to separate file
* #refactor-canvas set and get  method move to separate file
* #refactor-canvas set and get function moved changes
* #refactor clear file import and regaring function moved changes changes
* #refactor-canvas svg related function move to separate file
* #refactor-canvas setBackground methos move to elem-get-set file
* #refactor-canvas getBsplinePoint method move to event file
* #refactor-canvas export functions move to svg-exec
* #refactor-canvas svg related function moved separate file
* #refactor-canvas updateCanvas,  cycleElement move to selected-elem file
* #refactor-canvas removeUnusedDefElems move to svg-exec file
* #refactor-canvas blur method move to separate file blur-event.js
* #refactor-canvas selection related function move to separate file slection.js
* #refactor-canvas convertGradients, mousewheelmove event bind function move to other files
* #refactor-canvas extension function move to selection file
* #refactor-canvas svg tag long string changes to es6 format
* eslint fixes
* eslint and test fixes
* add netlify logo per their requirements
* #refactor-canvas path file separate to path-method.js and path-actions.js
* #refactor-canvas lint issue fixed
* #refactor-canvas path.js file class and const move to path-method.js
* #refactor-canvas eslint issue fixed. 'jsdoc/check-examples': 'off' already so removed eslint-disable jsdoc/check-examples
* #refactor-canvas path class moved changes and copy-elem.js file cypress test issue fixed
* #refactor-canvas UI - Clipboard paste element  cypress issue fixed
* #refactor-canvas cypress test cases issue fixed changes
* #refactor-canvas cypress test cases issue fixed changes
* #refactor-canvas cypress test case issue fixed
* npm update and fix a few eslint new errors
* fix snapshot and run tests
* add star tool to cypress
* #refactor-canvas shapelibrary, star, polygon and panning tool issue fixed
* build
* Update layer.js
* revert proper declarations

Authored-by OptimistikSAS
2020-11-11 11:38:45 +01:00
jfh af6597d261 in progress 2020-11-07 01:39:44 +01:00
jfh f2698c2ca8 npm update with fix to new eslint issues 2020-10-25 17:54:04 +01:00
Brett Zamir d03e5eeae6 - Linting: Apply latest eslint-plugin-jsdoc; lint properties/param defaults 2020-10-20 09:48:07 +08:00
Brett Zamir 19342e4349 - npm: Update eslint-plugin-jsdoc 2020-10-20 09:47:48 +08:00
jfh b957a3c5aa npm update (include cypress 5.4) 2020-10-16 23:50:25 +02:00
jfh cfbb5a5ec8 npm update + fix linked to this update
found an issue with eslint when empty comments were used.
2020-10-04 23:07:31 +02:00
jfh e535a26fd5 remove some unused packages 2020-09-23 21:18:28 +02:00
jfh b7133d5604 supportsGoodDecimals_ not used anywhere so was removed 2020-09-22 19:43:40 +02:00
jfh aeaa20408c remove ncu because underscore is not anymore an issue (jspdf imported from npm) 2020-09-20 00:15:48 +02:00
jfh 37fbc055fc use pathseg from npm
improvements that were made to svgpathseg polyfill locally may have to be applied to the original package.
2020-09-19 12:57:14 +02:00
jfh 909a0634aa npm updates 2020-09-18 22:26:13 +02:00
jfh ff711f080b remove externals in favor of npm packages 2020-09-13 12:08:05 +02:00
jfh a61cfdf553 add a cypress scenario 2020-09-13 01:32:13 +02:00
jfh 9a8b573ca5 npm update 2020-09-10 00:51:34 +02:00
jfh ff71d836f8 npm update 2020-09-06 12:28:26 +02:00
jfh 4643bab371 fix editor start with src and dist using es-dev-server 2020-09-01 00:15:18 +02:00
jfh 0bfee46b33 make test run with systemjs build 2020-08-29 01:20:37 +02:00
jfh bac5d13d20 move canvg and rgbcolor libs to external 2020-08-28 01:28:14 +02:00
jfh 5b6e3fef8e add extensions and locales 2020-08-24 01:23:00 +02:00
jfh 2e2e86641d in progress 2020-08-20 14:31:19 +02:00
Brett Zamir 37b5490db5 - npm: Update lock file 2020-08-13 04:01:49 +08:00
jfh 2a850bcf1a fix iife with chrome 2020-08-10 01:01:14 +02:00
jfh 842f59b6c1 use standard polyfills (only tested with esm) 2020-08-09 18:33:17 +02:00
JFH 06c48ec088 fix integration tests after cypress update 2020-08-07 22:01:23 +02:00
JFH 7f461f9c63 working but incomplete version with new build. 2020-08-06 21:09:16 +02:00
JFH 31bca25b1c Starting Branch to simplify Build process 2020-08-05 19:58:06 +02:00
Brett Zamir f390983dc1 - npm: Apply linting to `lint-staged` and remove from `run-if-changed`
- npm: Create `prep-no-eslint` script
2020-08-05 18:58:22 +08:00
Brett Zamir 7910794f90 - npm: Update devDeps 2020-08-05 17:59:33 +08:00
Brett Zamir 5bcf6821e6 - npm: Add hkdobrev/run-if-changed and tie to prepublishOnly script (if packages changed, may need to rebuild license docs, local copies, and/or builds) 2020-08-05 17:27:31 +08:00
JFH 90a4d721b8 npm update 2020-08-03 17:39:27 +02:00
Brett Zamir 4f882a947a - Fix: Ensure cypress process will continue on errors (so coverage badge should be created once executing properly)
- npm: Use cross-platform `cp-cli` for copying directories
2020-08-03 16:38:47 +08:00
JFH bb5cb2c955 npm update 2020-07-25 19:40:40 +02:00
Brett Zamir 54fd0975d7 - Linting: As per latest ash-nazg (unicorn updates)
- npm: Update devDeps.
2020-07-19 22:32:40 +08:00
Brett Zamir e560784961 Merge branch 'master' into refactor-folders
* master:
  - Build: Update - Linting: Update to-do - Linting: Disable console inline for now to get CI passing - npm: Update devDeps.

# Conflicts:
#	src/common/units.js
2020-07-18 18:30:50 +08:00
Brett Zamir 5c237535d5 - Build: Update
- Linting: Update to-do
- Linting: Disable console inline for now to get CI passing
- npm: Update devDeps.
2020-07-15 09:06:16 +08:00
JFH b1e4429741 update dependencies 2020-07-14 17:55:02 +02:00
JFH 01418b44f3 move files to adequate folders and fix imports 2020-07-14 01:47:46 +02:00
Brett Zamir 859d09c1be - docs: Update release instructions
- npm: work on release scripts
- submodules: Add old versions as submodules for availability on Github Pages
2020-07-13 10:20:14 +08:00
Brett Zamir 47e901ca3c - npm: Work on fixing `add-release` scripts; make platform-independent with `cross-var`
- npm: Update package-lock to reduce vulnerabilities
2020-07-12 22:39:30 +08:00
Brett Zamir 20617d1d13 - npm: Update devDeps and `package-lock.json` 2020-07-06 18:52:54 +08:00
Brett Zamir 4c638d4820 - Linting: As per latest ash-nazg
- Docs: Update license badge
- Docs(CHANGES): Update
- npm: Update devDeps. and package-lock.json
2020-07-01 13:34:47 +08:00
Brett Zamir ce2a8fb1e8 - Linting: As per latest ash-nazg
- Docs: Add feature and PR templates
- npm: Update devDeps.
2020-06-20 15:55:23 +08:00
Brett Zamir b7e11f1bf8 - Linting: As per latest ash-nazg
- npm: Update devDeps (and Jamilih copy)
2020-05-26 20:44:54 +08:00
Brett Zamir 850bf97fc1 - Build: Update copies of core-js-bundle and stackblur and other files per latest Rollup/Babel
- Build: Use new rollup/plugin-babel in other Rollup file
- npm: Update devDeps.
2020-05-10 20:16:21 +08:00
Brett Zamir 863b41bfcc - npm: Update from deprecated `rollup-plugin-babel` to `@rollup/plugin-babel`
(and make `babelHelpers` explicit)
2020-05-10 11:14:36 +08:00
Brett Zamir 354bdc476d - Docs: Update badges per latest badge devDeps.
- npm: Update badge devDeps.
2020-05-10 10:42:05 +08:00
Brett Zamir c1e5bc70f7 - Build: Update
- npm: Update devDeps
2020-05-09 21:59:46 +08:00
Brett Zamir f46f5fc889 - Build: Update with recent jsdoc changes
- npm: Update devDeps
2020-05-07 10:14:01 +08:00
Brett Zamir 381a0d9460 - Build: Update per latest Babel/Rollup
- npm: Update devDeps (no resulting license changes)
2020-05-04 09:26:21 +08:00
Brett Zamir e43d128a2f - Docs: Mention lack of relative repo maintenance in issue template
- Linting (ESLint): As per latest ash-nazg
- npm: Update devDeps.
2020-04-29 13:07:22 +08:00
Brett Zamir 3a494dfee9 - npm: Remove `gh-badges` 2020-04-24 07:36:36 +08:00
Brett Zamir 4b92acc790 - Update: Cypress code coverage plugin
- Linting: Update as per latest ash-nazg
- npm: Update devDeps.
2020-04-12 10:45:03 +08:00
Brett Zamir e4f36a3c5b - Build: Update
- npm: Add `prepare` script to update license-badges, copy, and prep (leaving prepublishOnly to handle build-docs)
- npm: Make license badge prep. in series as getting too many files open error running in parallel
- npm: Update devDeps
2020-04-01 15:32:51 +08:00
Brett Zamir ea58adbab1 - Build: Update with namespaced `parseFloat`, etc. changes
- npm: Update devDeps. (remove axe-core now that bundled with cypress-axe)
2020-03-31 00:25:54 +08:00
Brett Zamir 1f1452f4fa - npm: Update devDeps 2020-03-27 20:11:47 +08:00
Brett Zamir 8fe42204ce - Docs: Update coverage badge per latest coveradge
- npm: Update devDeps
2020-03-27 15:23:45 +08:00
Brett Zamir 2b07946b6b - Build: Update per latest Rollup
- npm: Update devDeps
2020-03-24 10:04:15 +08:00
Brett Zamir 0d48e317a7 - npm: Fix duplicate properties
- npm: Update devDeps and `package-lock.json`
2020-03-18 08:39:23 +08:00
dependabot[bot] 7c9cf29735
Bump acorn from 6.4.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-13 21:44:43 +00:00
Brett Zamir f3a83dcb1d - Linting (ESLint): As per latest ash-nazg (unicorn)
- npm: Update devDeps; use stable eslint-plugin-mocha-cleanup now that updated
- npm: Add scripts for reporting with test summaries (free of full noise during tests);
    auto-run at end of tests
- npm: Update devDeps. and use stable version of eslint-plugin-mocha-cleanup
2020-03-11 00:23:54 +08:00
Brett Zamir 231fdb2189 - Update: Underscore copy; build files per Rollup/Babel updates
- npm: Update devDeps (babel, cypress, linting, mocha, rollup related)
2020-03-07 17:45:59 +08:00
Brett Zamir f8ed5018f5 - Linting: Reenable `mocha-cleanup/no-expressions-in-assertions` with new `replacementsOnly` rule
- npm: Point to `master` of `eslint-plugin-mocha-cleanup` fork (until release)
2020-02-28 19:08:16 +08:00
Brett Zamir 9fac8ecc58 - Linting (ESLint): Add `fintechstudieos/eslint-plugin-chai-as-promised`,
`eslint-plugin-chai-expect-keywords`, and `eslint-plugin-mocha-cleanup`
    plugins
2020-02-26 14:34:42 +08:00
Brett Zamir 221c243017 - npm: Update devDep (license-badger)
- npm: Update `package-lock.json`
2020-02-23 18:08:52 +08:00
Brett Zamir 6d81322f26 - npm: Update devDeps (cypress/fiddle) 2020-02-23 09:59:06 +08:00
Brett Zamir 47dacb74e1 - npm fix: Update `package-lock.json`; had replaced SHA for custom `badge-up`; fixes #388 2020-02-23 09:57:14 +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 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
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 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