Commit Graph

2246 Commits (f59481340f931c3d7d147f448c3d7f824d3ec9c9)

Author SHA1 Message Date
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
cuixiping 2235f81ee7 Fix: remove "null" attributes in svg source #76 2020-01-17 15:34:00 +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 1be01bc89a - Build: Updae
- npm: Update devDeps
2020-01-09 02:27:56 +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
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