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
Brett Zamir
e1671cc372
- Linting (ESLint): Per latest ash-nazg/eslint
...
- npm: Update devDeps
2019-11-23 19:17:32 +08:00
Brett Zamir
19f7962c4a
- Revert `prefer-named-capture-group` due to apparently problematic Babel plugin
2019-11-16 10:08:38 +08:00
Brett Zamir
cd0bdd9cce
- Fix: IE 11 issue; fixes #363
...
- npm: Update devDeps
2019-11-16 09:29:09 +08:00
Brett Zamir
a09c47283e
- Linting: Add `ignore` folder to ignore file; ensure license versions are valid semver
...
- npm: Update devDeps
2019-11-13 14:16:06 +08:00
Brett Zamir
d808cc22de
- Linting: Comment out unused var.
...
- Maintenance: Add `.editorconfig`
- npm: Update jml, core-js-bundle, devDeps
2019-11-12 22:11:46 +08:00
Brett Zamir
c54444c08b
- npm: Update devDeps
2019-10-21 02:51:00 +08:00
Brett Zamir
d856dbae4a
- Build: Update build per latest Babel
...
- npm: Add script to fix eslint errors
- npm: Update devDeps
2019-10-01 17:33:36 +08:00
Brett Zamir
404911827e
- Linting (ESLint): Apply new rules ("fixme"->"todo"; prefer regex literals; defaults at end)
...
- Optimization: Image size
- npm: Bump devDeps (Babel/eslint/rollup-related; imageoptim, testcafe)
2019-09-20 12:40:31 +08:00
Brett Zamir
9e99e598f6
- Linting (ESLint): Fix for stricter linting checks
...
- npm: Update devDeps and core-js copy
2019-08-19 15:52:47 -07:00
Brett Zamir
3808f7d7c1
- Linting (ESLint): Avoid shadowing
...
- npm: Update devDeps
2019-08-05 21:36:51 -07:00
Moliman
0bb9728067
Use change event to be sure that file is loaded before the function
...
Click event can trigger the script before the user choose the file, so it will be loader on the next
Open SVG click. Change event trigger the script after the user choose the file.
2019-08-03 03:05:51 -04:00
Brett Zamir
af52265e1f
Merge pull request #348 from seahindeniz/patch-1
...
Fixed input width
2019-07-15 07:05:50 -07:00
Brett Zamir
f1b00fbfec
- npm: copy core-js-bundle map file
2019-07-15 07:05:19 -07:00
Sahin D
27707096ed
Fixed input width
...
2.2em is too small for long numbers
2019-07-15 04:12:46 +03:00
Brett Zamir
0ef3d2c64c
- npm: update devDeps
2019-07-14 07:35:16 -07:00
Brett Zamir
aa96a35f45
- Linting (ESLint): Apply per jsdoc improvements
...
- npm: Update devDeps (linting, Babel, axe testing)
2019-07-09 08:55:34 +08:00
Brett Zamir
f734625587
- Fix: Avoid race condition in `jQuery.svgIcons.js` (evident
...
when attempting to load from `file:` URL in Chrome)
- npm: Update devDeps
2019-07-04 15:15:58 +08:00
Brett Zamir
8a2f6ee6f2
- Linting (ESLint): Fix per latest ash-nazg update
...
- npm: Update ash-nazg devDep.
2019-07-03 18:36:45 +08:00
Brett Zamir
e4231aeb10
- Linting (ESLint): Lint per latest ash-nazg (e.g., named capture)
...
- Linting (ESLint): Add HTML files to linting and add devDeps for new ash-nazg
- npm: Update devDeps
2019-07-03 17:50:46 +08:00
Brett Zamir
21a6f4f456
- Refactoring: Avoid commonjs in Rollup
...
- Build: Update
- npm: Rebuild `package-lock.json` with later deps
2019-06-28 13:09:33 +08:00
Brett Zamir
c9d3bcf258
- Docs: Clarify role for `id` on `attr` on `SVGElementJSON`
...
- npm: Update devDeps
2019-06-28 07:59:58 +08:00
Brett Zamir
7f2c5f5359
- Linting (ESLint): Avoid disabling rule with jsdoc linter fix
...
- npm: Update devDep (linting jsdoc)
2019-06-27 14:27:20 +08:00
Brett Zamir
b07d0861b4
- Linting (ESLint): Fix per stricter eslint-plugin-jsdoc context checking
...
- npm: Update devDep (jsdoc linting plugin)
2019-06-27 13:54:40 +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
4177146acd
- Linting (ESLint): Remove now unneeded config and add per new update
...
- Refactoring: Prefer for-of, event.key (newly enforced linting)
- Refactoring: Better var. names
- npm: Update devDeps and update local copies
2019-06-11 16:40:28 +08:00
Brett Zamir
f6b5360a58
- Linting:
...
- npm: Update eslint-plugin-jsdoc
2019-05-24 16:35:15 +08:00
Brett Zamir
fa4ea90c72
INCOMPLETE: Remove check types file
...
- Linting: `match-description`, bad returns
- Linting: Use eslint-plugin-jdsoc `preferredTypes` in place of custom file
- Linting: Remove `report-unused-disable-directives` command as have as rule
- Lintin: Avoid overly generic `Array`
- npm: Update devDep
2019-05-24 14:44:57 +08:00
Brett Zamir
a7da98ca1b
- Linting (ESLint): Avoid unneeded tag name preference
...
- Linting (jsdoc): Avoid `Promise` without type
2019-05-24 10:12:10 +08:00
Brett Zamir
d5ef6c5619
- Linting: Use new preference for "object"; fix @example code; bad @returns
...
- npm: Update devDeps
2019-05-22 23:43:29 +08:00
Brett Zamir
8d179aee0c
- Deprecated: Should now use `avoidClientSideDownload` in place of
...
`avoidClientSide` (config for `ext-server_opensave.js`).
- Enhancement: Added `avoidClientSideOpen` config for
`ext-server_opensave.js`
- npm: Update devDeps (including switching from deprecate opn-cli
package to open-cli)
2019-05-21 17:50:56 +08:00
Brett Zamir
597644999d
- Refactoring: Use `static` keyword for classes
2019-05-08 09:58:18 +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
d423fb741f
- npm: Update devDeps
2019-04-28 20:32:45 +08:00
Brett Zamir
13835a368c
- Fix: Ensure PHP files are present in `dist/extensions` alongside JavaScript files using them
...
- Fix: Bug in obtaining `extPath` in ext-server_opensave.js
- Enhancement: Add config `avoidClientSide` to avoid using client-side support by default (and always require server)
- Build: Require Node 8.5
2019-04-18 21:13:48 +08:00
Brett Zamir
1d56d75837
- Linting (JSDoc): Reenable jsdoc/valid-jsdoc as fixed; notes re: `valid-jsdoc` replacement; use same namepath
...
- npm: Update devDep
2019-04-17 19:12:55 +08:00
Brett Zamir
4289d131a2
- npm: Update devDep
...
- Docs (code comment): Update comment now that config file is automatically created
2019-04-17 08:10:02 +08:00
Brett Zamir
d84f39cb3f
- Docs (JSDoc): Further on preferring `void`
2019-04-16 08:59:53 +08:00
Brett Zamir
894fed3e80
- Linting (JSDoc): Update per newly enforced `require-returns`; avoid Closure syntax
...
- Docs (JSDoc): Prefer `void`
- npm: Update devDeps
2019-04-16 08:58:40 +08:00
Brett Zamir
2cb6c51303
- npm: Update devDeps (and our @babel/polyfill copy)
2019-04-08 11:38:07 +08:00
Brett Zamir
0c1ddd44fa
- Refactoring: Destructuring, templates, label Unicode code point
...
- npm: Rename `build-doc` to `build-docs`; add `open-docs` script
2019-04-08 10:51:34 +08:00
Brett Zamir
91c0dc549b
- Enhancement: Return a Promise for Editor's `setCustomHandlers`,
...
`loadFromString`, `loadFromDataURI` so known when ready and set
- Docs (Refactoring): Formally specify `Promise` resolve type;
add `typedef` for dialog result object; add an
`ArbitraryCallbackResult` type
2019-04-05 22:59:41 +08:00
Brett Zamir
6d2794beb4
- Testing: Skip js errors in Testcafe; we're getting some uncaught
...
error despite not replicating manually; should file a Testcafe issue
- Build: Update
- npm: Update devDeps
2019-04-03 17:05:18 +08:00
Brett Zamir
1c30c42105
- Fix (regression) Accidental opensave extension path move
...
- Build: Update
2019-04-03 16:47:43 +08:00
Brett Zamir
056f4f197c
- Enhancement (svgIcons): Fix JSDoc param def; add `alt` options
...
- Accessibility: Begin work, add aria-label to some buttons and
form controls; add `role=main`; `<img alt>`; `<iframe title>`
- i18n: Add `lang` attribute
- Refactoring: lbs, simplify i18nized element retrieval call
- Docs: Some JSDoc descriptions, JSDoc spacing, fix svgIcons param
def; add todo
- Testing: Avoid reporting meta-viewport (have own zooming
controls and difficult to fix)
2019-04-03 16:32:14 +08:00
Brett Zamir
69ea647286
- Fix: Droplets for gradient pickers can now be double-clicked in
...
other browsers in addition to Firefox such as Chrome
to allow change of color (fixes #181 ) (@ajinkyas);
may be different between the browsers as a result of
<https://github.com/w3c/uievents/issues/141 >
- Builds: Update
2019-04-03 11:31:06 +08:00
Brett Zamir
0171e177cb
- Linting (LGTM): Update to suppress current LGTM warning
2019-04-02 17:51:24 +08:00
Brett Zamir
9bab917623
- Fix/Refactoring: Avoid missing item in loop, assuming it is possible and at least preventing lgtm warnings (lgtm.com-inspired)
2019-04-02 11:34:35 +08:00
Brett Zamir
1ae6e91bb0
- Linting (ESLint): Update polyfills to new compat rules of
...
eslint-config-ash-nazg and adhere to new rules (prefer `for-of`
(or array methods) to `for`, catch preferred `includes` to `indexOf`);
avoid `no-zero-fractions` rule for now
- npm: Update devDeps (removing one unneeded)
2019-03-31 17:39:19 +08:00
Brett Zamir
6d9130b1fb
- Refactoring: Make dialog OK button retrievable locale-independently (for testing)
...
- Testing: Avoid testing being locale-dependent; approve storage (and set locale to English) before each test
2019-03-16 19:31:19 +08:00
Brett Zamir
27aa89e481
- Build: Update
...
- Docs (CHANGES): Update
2019-03-16 19:07:14 +08:00
cuixiping
2631a21607
fix #334 JS error when changing language
2019-03-16 18:33:42 +08:00
Brett Zamir
dade2a7b37
- Linting (ESLint): Apply coding standards
...
- Testing (Refactoring): Abstract out to helper file functions for approving local storage and opening the main menu
- Docs (CHANGES): Update
- npm: Update devDeps; update nested deps for security audit
2019-03-16 12:33:35 +08:00