Commit Graph

2233 Commits (11a21fe93a1f8f0966fda44da4e94222ae7d3ea2)

Author SHA1 Message Date
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
Brett Zamir 3d95c9095f -npm: Update devDeps and core-js-bundle copy 2020-01-07 18:57:12 +08:00
cuixiping d0348ddf4e Fix: fix the default src of empty iframe to avoid loading index page 2020-01-07 18:14:05 +08:00
cuixiping eea489e602 Fix: keep old text when there is no translation 2020-01-07 18:11:21 +08:00
cuixiping 6988dc4d7b Fix: let the checkerboard background style has pointer-events:none 2020-01-07 17:52:42 +08:00
cuixiping c924a120dd Enhancement: Add 3 fonts: Courier, Helvetica, Times 2020-01-07 17:50:49 +08:00
cuixiping 4a5a24f374 Feature: checkerboard background 2020-01-07 17:20:29 +08:00
cuixiping 9e1b702caf Enhancement: redraw the freehand square icon 2020-01-07 16:54:21 +08:00
cuixiping 2e7ca91ea5 Fix: popup position is wrong sometimes 2020-01-07 16:41:49 +08:00
cuixiping 4f6def7582 Fix: add radix parameter for parseInt 2020-01-07 16:39:42 +08:00
cuixiping 471035c0da Fix: Reset control points before freehand draw 2020-01-07 16:37:59 +08:00
Brett Zamir 22978edcb6 - Build: Update underscore copy
- npm: Update devDep (Jamilih)
2020-01-06 16:02:03 +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 205a70b385 - Linting (ESLint): Fix linting regression
- Build: Update
2020-01-05 18:30:21 +08:00
Brett Zamir 4b33c73f00 - Refactoring: Remove BBQ in favor of `deparam` (with npm script to copy in)
- Fix: `initFill`/`initStroke` `color`, and `bkgd_color` problematic when using decimal-component-only hex; fixes #314
2020-01-05 17:58:50 +08:00
Brett Zamir 86eff626ce - Fix (recent regression): check for `source` properly 2020-01-05 17:52:56 +08:00
Brett Zamir bf2409fd4c - Refactoring: lbs; clarify 2020-01-05 17:42:47 +08:00
Brett Zamir 711cfc4ecc - Fix: Ensure `setupCurPrefs` is run (including when `source` or
`url` is set within the URL)
2020-01-05 11:11:44 +08:00
Brett Zamir d0d7efabc4 - Refactoring: Reduce BBQ dependency (not yet removable as used still in svgeditor) 2020-01-05 10:32:31 +08:00
Brett Zamir 56197a493c - Refactoring: Switch from `$.param.querystring` to `URL` 2020-01-05 10:02:49 +08:00
Brett Zamir 37424278d1 - BREAKING CHANGE: Remove `$.pref` in favor of new `svgEditor.pref`
(avoiding polluting jQuery). (Might be moved to own module in
  future.)
- BREAKING CHANGE: `putLocale` (a function called automatically by
  `svg-editor.js`) no longer checks `pref`. Should not impact
  average consumers.

`putLocale` now also logs lang and checks `goodLangs` even if an explicit lang param is provided
2020-01-05 08:54:16 +08:00
Brett Zamir e356b95a03 - Fix: Background URL was not settable back to nothing; fixes #376 2020-01-04 22:32:52 +08:00
Brett Zamir 0029a932b2 - Fix: Misspelling for `dropXMLInternalSubset` method (also fixes
use in imagelib when defaulting to image's title)
- Fix: Redirect paths for imagelib redirect checks
2020-01-04 17:32:19 +08:00
Brett Zamir e0ceec2a38 - Docs(imagelib): Further jsdoc work 2020-01-04 17:05:11 +08:00
Brett Zamir d7d6b87255 - Docs(imagelib): JSDocs for extension 2020-01-04 16:45:18 +08:00
Brett Zamir 77eb85e91c - Refactoring: Remove redundant check 2020-01-04 16:43:42 +08:00
Brett Zamir 92f8a5be57 - Refactoring: Avoid redundant creation of text node for strings when passing to `append` 2020-01-04 16:43:03 +08:00
Brett Zamir cc6937ce96 - Linting (ESLint): Add rules to check for file-level tags 2020-01-01 01:15:16 +08:00
Brett Zamir 63ba8f39a1 - Linting (ESLint): Latest as per ash-nazg (disable now applicable rules not fixed during earlier testing)
- npm: Update devDeps
2019-12-31 17:55:15 +08:00
Brett Zamir 7fc26e114d - Refactoring: Ensure file-global tags are at beginning of file 2019-12-31 16:33:47 +08:00
Brett Zamir d9d4d94976 - Linting (ESLint): Apply per latest ash-nazg (jsdoc: complete sentence descriptions)
- npm: Update devDeps
2019-12-31 15:27:16 +08:00
Brett Zamir 22dda2c50b - Docs: Missing returns, param names 2019-12-31 13:45:42 +08:00
Brett Zamir 477d5fdb6c - Linting (ESLint): Update as per latest ash-nazg (bad jsdoc)
- npm: Update devDeps
2019-12-31 13:14:33 +08:00
Brett Zamir eb4401e998 - Update: Copy of core-js and qr-manipulation
- npm: Add `underscore` to copy script
- npm: Make `copy`, `compress-images`, `start-embedded`, `build-docs-remove`
  scripts cross-platform; add `start-allow-origin` script
- npm: Update devDeps/`package-lock.json`
2019-12-27 07:32:39 +08:00
Brett Zamir 1d590400f4 - Fix (openclipart browser): Redirect on lacking browser support 2019-12-26 08:11:55 +08:00
Brett Zamir 8bd9466827 - Build: Update 2019-12-25 16:04:07 +08:00
cuixiping a7447fbbe2 Fix: main menu style and text #371 2019-12-25 15:53:27 +08:00
cuixiping 88423c8424 Localization: Add 'SVG-Edit Home Page' to locale files 2019-12-25 15:53:26 +08:00
Brett Zamir 31a98c1408 - Linting (ESLint): Apply latest ash-nazg (with latest unicorn)
- npm: Update devDeps
2019-12-23 09:16:16 +08:00
Brett Zamir aee1a45fd7 - npm: Update devDeps
- Build: Update dist files
2019-12-19 16:59:45 +08:00
Brett Zamir 3ac0d58af9 - Linting (ESLint): Replace `innerHTML` with `textContent` from old demo
- npm: Update devDeps (including core-js copy)
2019-12-19 08:25:23 +08:00
Brett Zamir 5b91e6879e - npm: Update devDeps; update core-js-bundle copies 2019-12-17 21:16:47 +08:00
Brett Zamir 0588036373 - npm: Update devDeps and update core-js-bundle copy 2019-12-05 09:05:48 +08:00
Brett Zamir b4f9484011 - Build: Update build files
- npm: Update devDeps
2019-12-02 11:03:28 +08:00
Brett Zamir da819950dd - License: Relicense ext-mathjax from Apache-2.0 to MIT per https://github.com /josegaert/ext-mathjax/issues/6
- License: Reorder license listing in `jquery.contextMenu.js` so that more permissive is noticeable first
- License: Clarify in `@license` that `ext-server_moinsave.js` is MIT OR GPL-2.0-or-later per subsequent text
- Optimization: Remove unused `jquery-ui-1.8.custom.min.js` file
2019-11-30 11:54:58 +08:00
Brett Zamir a59170fbe1 - Linting (ESLint): Simplify regexes
- npm: Update scripts to reflect removal of `all_tests.html`;
  remove `browser-test` script
- npm: Update devDeps
2019-11-30 11:41:01 +08:00
Brett Zamir 70aa62ee7b - Linting: Ignore `instrumented`
- Fix instrumented path
- Add underscore map file
2019-11-23 21:54:01 +08:00
Brett Zamir 34721f2351 - Fix (Accessibility): Avoid duplicate IDs 2019-11-23 21:23:05 +08:00