Commit Graph

3131 Commits (797e021dba696d2d11a8018e7466c0bfa4f790e0)

Author SHA1 Message Date
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 332a562876 - npm: Update devDeps 2020-01-02 19:52:46 +08:00
Brett Zamir a9c743ad4e - npm: Update devDeps 2020-01-02 15:17:37 +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 c9e17b8aa7 - npm: Update devDep 2019-12-30 18:18:11 +08:00
Brett Zamir e63487b698 - npm: Update devDep (eslint-plugin-jsdoc) 2019-12-27 17:06:14 +08:00
Brett Zamir e33203914d - npm: Rename `open-allext` to remove "es"; regular `open` assumes es as well 2019-12-27 11:37:44 +08:00
Brett Zamir fdf31716e6 npm : Use `npm-run-all` for fewer race conditions and shorter scripts 2019-12-27 11:35:25 +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 b37d7608f6 - Docs: Update release instructions 2019-12-25 22:07:01 +08:00
Brett Zamir 4a13308618 - npm: Rename `test-prep` to `prep` 2019-12-25 16:33:01 +08:00
Brett Zamir 0be20acbc6 - Docs (CHANGES): Add re: fix to menu style/text 2019-12-25 16:20:21 +08:00
Brett Zamir a579878c6b - Docs (CHANGES): Update to indicate localization addition 2019-12-25 16:14:37 +08:00
Brett Zamir 6f8d45cda9 - Docs: Remove outdated info on jsdoc linting (now just part of eslint config)
- npm: Rename open script to open-tests, and add `open` script for opening instance of svgedit
- npm: Ensure starting server for open scripts
2019-12-25 16:06:44 +08:00
Brett Zamir 8bd9466827 - Build: Update 2019-12-25 16:04:07 +08:00
cuixiping f03cdc98a4 Testing: Fix the selector of editor preferences 2019-12-25 15:53:27 +08:00
cuixiping 24b51b5d57 Fix: Add CustomEvent to polyfills 2019-12-25 15:53:27 +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 8aaf40a64b - npm: Update `open-report` for cross-platform 2019-12-24 11:50:44 +08:00
Brett Zamir dbe0bb1615 - npm: Further cross-platform (Windows) support for development (building docs and instrumenting) 2019-12-24 10:42:30 +08:00
Brett Zamir ef4ea22a69 - npm: Move badge generation script after test running 2019-12-24 10:15:39 +08:00
Brett Zamir 145c9fb171 - Disable Github workflows for now 2019-12-24 09:48:49 +08:00
Brett Zamir 6a0a505558 - npm: Add rimraf toward supporting Windows development (needed for building docs and instrumenting) 2019-12-24 09:47:20 +08:00
Brett Zamir 5ffcc24f6f - npm: Update devDep 2019-12-24 08:14:41 +08:00
Brett Zamir 7d3e276738 - npm: Update devDep 2019-12-23 22:35:45 +08:00
Brett Zamir fc41ea7a43 - Testing: Separate tests into unit/ui; split UI tests by specific domain;
setup browser-bug folder and ui issues folder
- Testing: Create test utilities for selecting English and visiting and
  approving storage
- Testing: Add test for tool selection
2019-12-23 18:47:17 +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 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 4792426221 - Refactoring: Move out coverage badge generation to own repo
- npm: Update devDep
2019-12-20 16:38:08 +08:00
Brett Zamir d4e041c723 - Update coverage badge; remove PNG version 2019-12-20 09:18:12 +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