Commit Graph

1458 Commits

Author SHA1 Message Date
dependabot[bot] 5a4796407e chore: Bump stylelint from 13.13.0 to 13.13.1 in /web
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.0 to 13.13.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.0...13.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 15:00:23 -07:00
dependabot[bot] d8b144e972 chore: Bump @wdio/sync from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:57:10 -07:00
dependabot[bot] fe5f0c28ef chore: Bump @wdio/spec-reporter from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:57:04 -07:00
dependabot[bot] db9faa0d12 chore: Bump @wdio/static-server-service from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:57:00 -07:00
dependabot[bot] 507cec09eb chore: Bump @wdio/cli from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:55 -07:00
dependabot[bot] 0128185103 chore: Bump @wdio/local-runner from 7.5.2 to 7.5.4 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.4.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:52 -07:00
dependabot[bot] 1eeb73a845 chore: Bump @wdio/mocha-framework from 7.5.2 to 7.5.3 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.5.2...v7.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:47 -07:00
dependabot[bot] db04e43ecd chore: Bump webpack from 5.36.1 to 5.36.2 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.1 to 5.36.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.1...v5.36.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:26 -07:00
dependabot[bot] f2130f3c58 chore: Bump eslint-plugin-jsdoc from 32.3.4 to 33.0.0 in /web
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 32.3.4 to 33.0.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v32.3.4...v33.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 12:56:12 -07:00
relrelb f8a8b82c04 web: Cleanup ESLint configuration
* Cleanup .eslintrc.json files.
* Avoid unnecessary eslint-* directives.
2021-04-30 18:16:55 -07:00
dependabot[bot] c97b27da76 chore: Bump webpack from 5.35.1 to 5.36.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.35.1 to 5.36.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.35.1...v5.36.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 14:17:58 -07:00
dependabot[bot] ea227d332a chore: Bump @types/chrome from 0.0.135 to 0.0.136 in /web
Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) from 0.0.135 to 0.0.136.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 14:10:55 -07:00
Adrian Wielgosik 940cb8d2f7
web: Use unicode escapes for checkbox emojis 2021-04-28 13:58:04 -07:00
Adrian Wielgosik a1737b5922 avm1: Respect menu.builtInItems, but on root clip only 2021-04-27 16:42:02 -07:00
Adrian Wielgosik be40e2ce28 Fix formatting 2021-04-27 16:42:02 -07:00
Adrian Wielgosik ce4d66e0f4 avm1: support Stage.showMenu 2021-04-27 16:42:02 -07:00
Adrian Wielgosik 41a126885c web: Minimal context menu buttons for movie control 2021-04-27 16:42:02 -07:00
Mike Welsh ff6adaf706 chore: Bump JS packages 2021-04-26 12:09:42 -07:00
dependabot-preview[bot] a4db3b5461 build(deps-dev): bump webpack from 5.32.0 to 5.35.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.32.0 to 5.35.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.32.0...v5.35.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:52:02 -07:00
dependabot-preview[bot] ca9a07629f build(deps-dev): bump @wdio/local-runner from 7.3.1 to 7.5.1 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.3.1 to 7.5.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.3.1...v7.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:44:13 -07:00
dependabot-preview[bot] dabaee6bf7 build(deps-dev): bump ts-loader from 8.1.0 to 9.1.1 in /web
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.1.0 to 9.1.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.1.0...v9.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:43:54 -07:00
dependabot-preview[bot] 0e2839812e build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 7.3.1 to 7.4.2.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.3.1...v7.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:41:37 -07:00
dependabot-preview[bot] b53b4b7f5b build(deps-dev): bump eslint-config-prettier from 8.1.0 to 8.3.0 in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.1.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.1.0...v8.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:41:20 -07:00
dependabot-preview[bot] abbfc0fd3f build(deps-dev): bump @wdio/mocha-framework from 7.3.1 to 7.4.6 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 7.3.1 to 7.4.6.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.3.1...v7.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:38:10 -07:00
dependabot-preview[bot] d25a7f380e build(deps-dev): bump chai-html from 1.3.0 to 2.0.1 in /web
Bumps [chai-html](https://github.com/i-like-robots/chai-html) from 1.3.0 to 2.0.1.
- [Release notes](https://github.com/i-like-robots/chai-html/releases)
- [Changelog](https://github.com/i-like-robots/chai-html/blob/master/changelog.md)
- [Commits](https://github.com/i-like-robots/chai-html/compare/v1.3.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 10:37:44 -07:00
David Wendt 0c6584ca03 core: Store the viewport's scale factor on the stage 2021-04-26 01:15:42 -07:00
relrelb 24dcad9546 extension: Avoid script injection in XML documents
document.xmlVersion doesn't exist in Firefox, so use another method
to detect XML documents, described in MDN:
https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlVersion
2021-04-24 04:16:23 -07:00
Mike Welsh 10b014bf18 tests: Move utils.js out of polyfill folder 2021-04-23 16:58:24 -07:00
Mike Welsh 0c5951da52 tests: Add tests for Ruffle JS API
Add some basic scaffolding for testing the JS API. Adds a test for
`RufflePlayer.load` and `RufflePlayer.metadata`.
2021-04-23 16:58:24 -07:00
Mike Welsh d34b72cc47 web: Expose SWF metadata to JavaScript
Add `RufflePlayer.metadata` that exposes the SWF header fields to
JavaScript.

Add `RufflePlayer.readyState` and fire a `loadedmetadata` event
once the metadata is available, mimicking the HTML5 media APIs.
2021-04-23 16:58:24 -07:00
relrelb 488e4421e9 extension: Lint after TypeScript migration 2021-04-23 16:58:13 -07:00
relrelb cfc57a2e1d extension: Complete TypeScript migration 2021-04-23 16:58:13 -07:00
relrelb b0c6cfe1d3 extension: Initial TypeScript migration 2021-04-23 16:58:13 -07:00
relrelb a157d7ab72 extension: Avoid script injection in XML documents 2021-04-22 18:05:18 -07:00
relrelb 2b71786b8b extension: Convert manifest to JSON5
JSON5 is a more flexible superset of JSON. It supports comments,
trailing commas and more nice features that JSON doesn't support.
2021-04-21 19:03:19 -07:00
relrelb 0fa24b4ce0 web: Migrate file-loader to asset modules
file-loader is deprecated and asset modules are the recommended
alternative.
2021-04-21 19:03:19 -07:00
relrelb 201c4f5db0 web: Use relative paths for webpack entries
Only output.path needs to be absolute.
2021-04-21 19:03:19 -07:00
relrelb 5527973d48 web: Update package-lock.json 2021-04-21 19:03:19 -07:00
Daniel Jacobs c993ad8964 demo: Use absolute URLs for links in README 2021-04-19 16:50:52 -07:00
dependabot-preview[bot] 784e0f3436 build(deps): bump wasm-bindgen-test from 0.3.19 to 0.3.23
Bumps [wasm-bindgen-test](https://github.com/rustwasm/wasm-bindgen) from 0.3.19 to 0.3.23.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-18 23:54:51 -07:00
Daniel Jacobs 8c9db35baf
demo: Allow small screens to still upload local files 2021-04-18 21:04:02 -07:00
valadaptive f6602dd377
web: Handle errors from CSPs which block WebAssembly
This removes the "Report Bug" link from the error case in which
WebAssembly code generation is disallowed by the host's content security
policy, because there's nothing we can do to fix that, and directs
people to the wiki instead.
2021-04-17 19:21:39 -07:00
relrelb 79bcee07f5 audio: Properly round sound duration
Previously it was always rounded down. Change it to the nearest
integer.
2021-04-17 09:11:50 -07:00
Mike Welsh bab2701208 web: Bump wasm-bindgen and js-sys versions 2021-04-16 23:37:23 -07:00
Mike Welsh 7171628b44 ci: Append GitHub build ID instead to extension version
Appending the build date doesn't work (the Mozilla verison format
requires each numeric to be <65536). Use GITHUB_RUN_NUMBER instead,
which increases each time the workflow runs.
2021-04-16 22:17:01 -07:00
Mike Welsh 3f718e508e docs: Update Firefox add-on instructions 2021-04-16 12:31:14 -07:00
Mike Welsh 98c0146279 extension: Add build date to version in manifest
The Chrome/Firefox marketplaces require the version number of an
extension to increase with each upload, so append the build date
to the version in `manifest.json`. Add `versionName` with the more
readable version (`0.1 nightly 2010-15-04` for nightly builds).
2021-04-16 12:31:14 -07:00
Mike Welsh 100977a266 extension: Catch errors while signing the Firefox add-on
Properly catch errors from the `sign-addon` package and bail out
immediately. This will display better output from the Mozilla
validation service.
2021-04-16 12:31:14 -07:00
Mike Welsh 9e64f111c3 extension: Copy Firefox add-on after signing instead of moving
A rename will fail if the destination is on a different mount
(happened to me!). Instead, copy the file to the destination, then
delete the old file.
2021-04-16 12:31:14 -07:00
Mike Welsh 80dfefa45d extension: Add proper 128x128 icon 2021-04-16 12:31:14 -07:00
relrelb 4d2c8ec7f6 web: Set page title in player.js 2021-04-15 16:29:27 -07:00
relrelb 9021da874d web: Small improvement in player.js 2021-04-15 16:29:27 -07:00
relrelb 2fd0bb0183 web: Improve background.js 2021-04-15 16:29:27 -07:00
relrelb 54604c1be1 web: Prototype direct SWFs 2021-04-15 16:29:27 -07:00
relrelb d336926e3f web: Put Firefox-specific note in place 2021-04-15 16:21:23 -07:00
relrelb 9e4816c2f1 demo: Add missing class="hidden" 2021-04-15 15:56:52 -07:00
relrelb 71a17166f4 web: Rename index.js to ruffle.js 2021-04-15 13:47:07 -07:00
relrelb d86949d22f web: Refactor manifest.json 2021-04-15 13:47:07 -07:00
relrelb 1e7bd652e7 web: Update extension README.md 2021-04-15 13:47:07 -07:00
relrelb 027597039f web: Rename lv0.js to content.js 2021-04-15 13:47:07 -07:00
relrelb 0db98888b2 web: Rename extension/build/ to extension/assets/ 2021-04-15 13:47:07 -07:00
relrelb a3576da5f1 web: Unify extension/build/icons/ and extension/build/logo/ 2021-04-15 13:47:07 -07:00
relrelb 02669c0451 web: Rename extension/js/ to extension/src/ 2021-04-15 13:47:07 -07:00
relrelb 2d24afc318 web: Rename settings to options 2021-04-15 13:47:07 -07:00
dependabot-preview[bot] ee0b473f7d build(deps-dev): bump webpack from 5.30.0 to 5.32.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.30.0 to 5.32.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.30.0...v5.32.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 02:09:14 -07:00
dependabot-preview[bot] 082334a0bc build(deps-dev): bump eslint from 7.23.0 to 7.24.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.23.0 to 7.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.23.0...v7.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 01:59:01 -07:00
dependabot-preview[bot] 237ab46125 build(deps-dev): bump @wdio/sync from 7.3.0 to 7.3.1 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.3.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 01:17:35 -07:00
dependabot-preview[bot] 0f039e8c15 build(deps-dev): bump typescript from 4.2.3 to 4.2.4 in /web
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.3...v4.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 00:54:49 -07:00
dependabot-preview[bot] 74498ff77c build(deps-dev): bump webpack from 5.30.0 to 5.31.2 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.30.0 to 5.31.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.30.0...v5.31.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 00:29:03 -07:00
dependabot-preview[bot] d0cd9092b9 build(deps-dev): bump @wdio/spec-reporter from 7.2.1 to 7.3.1 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 7.2.1 to 7.3.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.2.1...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 00:28:44 -07:00
dependabot-preview[bot] c6cebee557 build(deps-dev): bump @wdio/local-runner from 7.3.0 to 7.3.1 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.3.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 00:28:31 -07:00
dependabot-preview[bot] 7ee4e17094 build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 7.2.1 to 7.3.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.2.1...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 00:26:01 -07:00
dependabot-preview[bot] 56488f65bd build(deps-dev): bump @typescript-eslint/parser in /web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.20.0 to 4.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.21.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 00:20:10 -07:00
dependabot-preview[bot] ef0a760e76 build(deps-dev): bump copy-webpack-plugin from 8.1.0 to 8.1.1 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v8.1.0...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 00:09:48 -07:00
dependabot-preview[bot] 31128298d2 build(deps-dev): bump @wdio/mocha-framework from 7.2.1 to 7.3.1 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 7.2.1 to 7.3.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.2.1...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-13 00:09:34 -07:00
Mike Welsh ae9be98821 web: Disable context menu from touch events
Once a touch event is seen, completely disable the context menu to
prevent a long press from triggering the context menu.

Fixes #1972.
2021-04-12 16:28:43 -07:00
relrelb 792519a725 demo: Improvements 2021-04-11 21:49:18 -07:00
relrelb 7fbae7c809 web: Appease ESLint 2021-04-11 15:04:16 -07:00
relrelb 26932c59bb extension: Remove util.js 2021-04-11 15:04:16 -07:00
relrelb 9e93b06d77 web: Refactor extension lv0.js and index.js 2021-04-11 15:04:16 -07:00
relrelb 3dc5b34706 web: Remove unused functions from util.js
As they were replaced with corresponding functions in utils.js.
The end goal is to gradually deprecate util.js, and then remove it.
2021-04-10 17:57:11 -07:00
relrelb 7b5d0b4359 web: Refactor extension settings page 2021-04-10 17:57:11 -07:00
relrelb 304d618f27 web: Refactor extension popup
This currently breaks the options page, which will be fixed in a
follow-up commit.
2021-04-10 17:57:11 -07:00
relrelb ee8b24b6fc web: Add common.css 2021-04-10 17:57:11 -07:00
relrelb 6eb5a95705 web: Add common.js 2021-04-10 17:57:11 -07:00
relrelb 2c2983236e web: Add utils.js 2021-04-10 17:57:11 -07:00
relrelb 51d02fb7f7 web: Add packages/extension/.gitignore 2021-04-10 17:38:39 -07:00
relrelb 47859af86b web: Move exclusive dependencies to extension 2021-04-10 17:38:39 -07:00
relrelb c6cd22258f web: Refactor extension build tools 2021-04-10 17:38:39 -07:00
Chris Midgley aab3ff781d web: use customElements.get over try-catch 2021-04-09 14:37:09 -07:00
Chris Midgley a171883d39 web: check for window.customElements before entering loop 2021-04-09 14:37:09 -07:00
Chris Midgley 2e42942058 web: try a limited number of times defining a custom element 2021-04-09 14:37:09 -07:00
Chris Midgley 20480ef6d8 web: crash out of infinite loop if not NotSupportedError 2021-04-09 14:37:09 -07:00
dependabot-preview[bot] a70941a537 build(deps-dev): bump eslint from 7.22.0 to 7.23.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 22:15:48 -07:00
dependabot-preview[bot] 31a8393df2 build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.18.0 to 4.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.21.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 22:15:39 -07:00
dependabot-preview[bot] ed6fe86e31 build(deps-dev): bump @wdio/cli from 7.2.3 to 7.3.1 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 7.2.3 to 7.3.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.2.3...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 12:39:25 -07:00
dependabot-preview[bot] f291b674ef build(deps-dev): bump webpack-cli from 4.5.0 to 4.6.0 in /web
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.5.0...webpack-cli@4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:50:58 -07:00
dependabot-preview[bot] 8859a90043 build(deps-dev): bump copy-webpack-plugin from 8.0.0 to 8.1.0 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v8.0.0...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:50:46 -07:00
dependabot-preview[bot] ba84ffb239 build(deps-dev): bump @typescript-eslint/parser in /web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.18.0 to 4.20.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.20.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:50:37 -07:00
dependabot-preview[bot] b1b40364b6 build(deps-dev): bump ts-loader from 8.0.18 to 8.1.0 in /web
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.18 to 8.1.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.18...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:50:23 -07:00
dependabot-preview[bot] 54284ac195 build(deps-dev): bump @wdio/local-runner from 7.2.1 to 7.3.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.2.1 to 7.3.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.2.1...v7.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:37:09 -07:00
dependabot-preview[bot] f32af79186 build(deps-dev): bump webpack from 5.27.1 to 5.30.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.27.1 to 5.30.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.27.1...v5.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:36:50 -07:00
dependabot-preview[bot] 40aeb26641 build(deps-dev): bump @wdio/sync from 7.2.1 to 7.3.0 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 7.2.1 to 7.3.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.2.1...v7.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:36:36 -07:00
EmperorBale e36ad2874b chore: Make error message more helpful 2021-04-06 16:01:34 -06:00
EmperorBale 51e2ebf492 web/desktop: Check the HTTP status of requests 2021-04-06 16:01:34 -06:00
David Wendt de1b0d4d0c core: Add support for an explicit loader URL (though nothing sets it yet) and expose it in `LoaderInfo`. 2021-04-05 16:18:37 -06:00
dependabot-preview[bot] 5cefaa16d2 build(deps-dev): bump @wdio/cli from 7.2.1 to 7.2.3 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 7.2.1 to 7.2.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.2.1...v7.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 23:55:47 -07:00
Mike Welsh d0c7aa0dff web: Fix fullscreen sizing on Safari
When Ruffle would go fullscreen on Safari, the content would often
not fill the viewport because Ruffle's width/height CSS would
override the :-webkit-full-screen CSS that Safari adds.

Add our own :-webkit-full-screen CSS with !important to force 100%
dimensions in fullscreen.
2021-03-25 16:26:37 -07:00
Suhao Jeffrey Huang ce72277a07 web: Hide navigation bar in fullscreen on Android (fix #1698) 2021-03-25 16:26:37 -07:00
dependabot-preview[bot] 5ad7990799 build(deps-dev): bump @wdio/mocha-framework from 7.1.2 to 7.2.1 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 7.1.2 to 7.2.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.1.2...v7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:22:50 -07:00
dependabot-preview[bot] b5e468c4ae build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.2 to 4.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.18.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:22:39 -07:00
dependabot-preview[bot] 775e054ed3 build(deps-dev): bump webpack from 5.25.1 to 5.27.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.25.1 to 5.27.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.25.1...v5.27.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:13:36 -07:00
dependabot-preview[bot] a7de3b771a build(deps-dev): bump @wdio/local-runner from 7.1.2 to 7.2.1 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.1.2 to 7.2.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.1.2...v7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:13:12 -07:00
dependabot-preview[bot] 7bd908271d build(deps-dev): bump @wdio/cli from 7.1.0 to 7.2.1 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 7.1.0 to 7.2.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.1.0...v7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:13:01 -07:00
dependabot-preview[bot] e96ff433f5 build(deps-dev): bump @wdio/sync from 7.0.9 to 7.2.1 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 7.0.9 to 7.2.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.9...v7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:12:46 -07:00
dependabot-preview[bot] e8eb751970 build(deps-dev): bump @wdio/spec-reporter from 7.1.1 to 7.2.1 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 7.1.1 to 7.2.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.1.1...v7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:12:33 -07:00
dependabot-preview[bot] 78b2e47123 build(deps-dev): bump @typescript-eslint/parser in /web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.15.2 to 4.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.18.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:12:19 -07:00
dependabot-preview[bot] 5331ba060e build(deps-dev): bump eslint from 7.21.0 to 7.22.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:12:10 -07:00
dependabot-preview[bot] 70d1f6e4c0 build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 7.1.1 to 7.2.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.1.1...v7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 10:14:01 -07:00
dependabot-preview[bot] 19d57941ee build(deps): bump serde from 1.0.124 to 1.0.125
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 10:03:17 -07:00
EmperorBale 760e8421ab
web: Fix URL sanitizing (fix #3444) 2021-03-20 23:02:57 -07:00
dependabot-preview[bot] 86147eb61a build(deps-dev): bump chromedriver from 88.0.0 to 89.0.0 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 88.0.0 to 89.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/compare/88.0.0...89.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-19 14:21:59 -07:00
dependabot-preview[bot] a08da74b83 build(deps-dev): bump mocha from 8.3.1 to 8.3.2 in /web
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.3.1...v8.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-18 18:32:58 -07:00
dependabot-preview[bot] 7eb4c1440a build(deps-dev): bump ts-loader from 8.0.17 to 8.0.18 in /web
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.17 to 8.0.18.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.17...v8.0.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-18 12:03:16 -07:00
dependabot-preview[bot] 2790c89291 build(deps-dev): bump @wdio/mocha-framework from 7.0.7 to 7.1.2 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 7.0.7 to 7.1.2.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.7...v7.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 20:48:18 -07:00
dependabot-preview[bot] f41227e51d build(deps-dev): bump webpack from 5.24.2 to 5.25.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.24.2 to 5.25.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.24.2...v5.25.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 20:37:37 -07:00
dependabot-preview[bot] 7773a185ad build(deps-dev): bump typescript from 4.2.2 to 4.2.3 in /web
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 20:24:44 -07:00
dependabot-preview[bot] 044b917c0d build(deps-dev): bump @wdio/spec-reporter from 7.0.7 to 7.1.1 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 7.0.7 to 7.1.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.7...v7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 20:17:43 -07:00
dependabot-preview[bot] 8f48e44761 build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 7.0.7 to 7.1.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.7...v7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 20:10:27 -07:00
dependabot-preview[bot] 4eb8ae03eb build(deps-dev): bump chai from 4.3.3 to 4.3.4 in /web
Bumps [chai](https://github.com/chaijs/chai) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.3.3...v4.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 20:10:19 -07:00
dependabot-preview[bot] fbcec52acd build(deps-dev): bump @wdio/local-runner from 7.1.0 to 7.1.2 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.1.0 to 7.1.2.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.1.0...v7.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 20:10:10 -07:00
relrelb 12dee2199e web: Pass obfuscatedEventPrefix via query string
This eliminates the need to create a script dynamically, and fixes
publicPath() to correctly return the extension URL rather than the
host site URL.
2021-03-13 02:19:05 -08:00
relrelb 56cece3336 web: Use publicPath() instead of ruffleRuntimePath
Similarly to how selfhosted currently does.
2021-03-13 02:19:05 -08:00
dependabot-preview[bot] 2ca6d2bf6c build(deps): bump byteorder from 1.4.2 to 1.4.3
Bumps [byteorder](https://github.com/BurntSushi/byteorder) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/BurntSushi/byteorder/releases)
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.4.2...1.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-11 00:11:51 -08:00
dependabot-preview[bot] 48a17db6e4 build(deps-dev): bump @wdio/cli from 7.0.9 to 7.1.0 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 7.0.9 to 7.1.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.9...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 23:10:07 -08:00
dependabot-preview[bot] 7bf21e7a85 build(deps-dev): bump lerna from 3.22.1 to 4.0.0 in /web
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna) from 3.22.1 to 4.0.0.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v4.0.0/core/lerna)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 16:29:00 -08:00
dependabot-preview[bot] c15c19389d build(deps-dev): bump chai from 4.3.0 to 4.3.3 in /web
Bumps [chai](https://github.com/chaijs/chai) from 4.3.0 to 4.3.3.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.3.0...4.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 15:42:05 -08:00
dependabot-preview[bot] ee8dfcd7e2 build(deps-dev): bump archiver from 5.2.0 to 5.3.0 in /web
Bumps [archiver](https://github.com/archiverjs/node-archiver) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/archiverjs/node-archiver/releases)
- [Changelog](https://github.com/archiverjs/node-archiver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/archiverjs/node-archiver/compare/5.2.0...5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 15:41:51 -08:00
dependabot-preview[bot] a2f20c5b15 build(deps-dev): bump copy-webpack-plugin from 7.0.0 to 8.0.0 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v7.0.0...v8.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 15:06:27 -08:00
dependabot-preview[bot] 5311b80197 build(deps-dev): bump @wdio/local-runner from 7.0.8 to 7.1.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.0.8 to 7.1.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.8...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 14:33:57 -08:00
dependabot-preview[bot] b09884405b build(deps-dev): bump mocha from 8.3.0 to 8.3.1 in /web
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.3.0...v8.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 14:33:43 -08:00
dependabot-preview[bot] b87c37e3b3 build(deps-dev): bump stylelint-config-standard in /web
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 20.0.0 to 21.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/20.0.0...21.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 14:33:30 -08:00
relrelb 32ff16e1da web: Remove packages/core/.eslintrc.json 2021-03-05 23:07:55 -08:00
relrelb 47c7a05340 web: Add packages/core/tools/.eslintrc.json 2021-03-05 23:07:55 -08:00
relrelb 690b51f15b web: Shorten CopyWebpackPlugin to CopyPlugin 2021-03-05 23:07:55 -08:00
relrelb 9a800e9b17 web: Remove unused html-webpack-plugin dependency 2021-03-05 23:07:55 -08:00
relrelb 1ed8dea599 web: Improvements 2021-03-05 23:07:55 -08:00
dependabot-preview[bot] c4af8114d0 build(deps): bump serde from 1.0.123 to 1.0.124
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.123 to 1.0.124.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 22:29:54 -08:00
relrelb f64e5d5b41 web: Get rid of move-file-cli 2021-03-03 07:08:43 -08:00
Mike Welsh f6f7222221 web: Remove clean-webpack-plugin dependency 2021-03-03 06:44:45 -08:00
dependabot-preview[bot] 48baf6f76b build(deps-dev): bump @wdio/cli from 7.0.7 to 7.0.9 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 7.0.7 to 7.0.9.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.7...v7.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 18:48:20 -08:00
dependabot-preview[bot] f16244759f build(deps-dev): bump @wdio/sync from 7.0.7 to 7.0.9 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 7.0.7 to 7.0.9.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.7...v7.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 17:39:53 -08:00
dependabot-preview[bot] 697ab27414 build(deps-dev): bump eslint from 7.20.0 to 7.21.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.20.0...v7.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 15:35:58 -08:00
dependabot-preview[bot] 21e4221971 build(deps-dev): bump typescript from 4.1.5 to 4.2.2 in /web
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.5...v4.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 15:34:48 -08:00
dependabot-preview[bot] e2ba148431 build(deps-dev): bump @typescript-eslint/parser in /web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.14.2 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 15:34:31 -08:00
dependabot-preview[bot] 9daa6468ee build(deps-dev): bump @wdio/local-runner from 7.0.7 to 7.0.8 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v7.0.7...v7.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 15:31:07 -08:00
dependabot-preview[bot] 9ff12a084f build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.1 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 15:30:54 -08:00
dependabot-preview[bot] cfd1be291b build(deps-dev): bump mocha from 8.2.1 to 8.3.0 in /web
Bumps [mocha](https://github.com/mochajs/mocha) from 8.2.1 to 8.3.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.2.1...v8.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 15:15:52 -08:00
Tempy111 00e1f36984 core: Add missing support for Tab keycode 2021-02-27 16:44:39 -08:00
dependabot-preview[bot] b2b066063c build(deps-dev): bump eslint-config-prettier from 7.2.0 to 8.1.0 in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-27 16:41:50 -08:00
dependabot-preview[bot] 0fe2178667 build(deps-dev): bump webpack from 5.21.2 to 5.24.2 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.21.2 to 5.24.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.21.2...v5.24.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-27 16:41:41 -08:00
Mike Welsh 3099914374 chore: Appease clippy 2021-02-27 16:10:46 -08:00
dependabot-preview[bot] 7927e0f0d6 build(deps-dev): bump source-map-loader from 2.0.0 to 2.0.1 in /web
Bumps [source-map-loader](https://github.com/webpack-contrib/source-map-loader) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/webpack-contrib/source-map-loader/releases)
- [Changelog](https://github.com/webpack-contrib/source-map-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/source-map-loader/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 11:41:32 -08:00
dependabot-preview[bot] 1a7a7a7274 build(deps-dev): bump eslint from 7.19.0 to 7.20.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 11:38:20 -08:00
dependabot-preview[bot] 18ef8a634b build(deps-dev): bump webpack-cli from 4.3.1 to 4.5.0 in /web
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.3.1 to 4.5.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.3.1...webpack-cli@4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-25 14:38:02 -08:00
dependabot-preview[bot] 31d96d2ae2 build(deps-dev): bump html-webpack-plugin from 5.1.0 to 5.2.0 in /web
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-25 14:37:20 -08:00
dependabot-preview[bot] 2f8b348d2f build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.0 to 4.15.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-25 14:37:02 -08:00
dependabot-preview[bot] ac056e7f83 build(deps-dev): bump eslint-plugin-jsdoc from 31.6.1 to 32.1.0 in /web
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 31.6.1 to 32.1.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v31.6.1...v32.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-25 14:36:42 -08:00
dependabot-preview[bot] 685a9bda6e build(deps-dev): bump typescript from 4.1.3 to 4.1.5 in /web
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-25 14:35:15 -08:00
dependabot-preview[bot] 4a45ec414d build(deps-dev): bump stylelint from 13.10.0 to 13.11.0 in /web
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.10.0 to 13.11.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.10.0...13.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-25 14:35:00 -08:00
relrelb d62c3c0500 web: Fix CSS variables in shadow-template.ts
Apparently CSS variables need to be defined in :host rather than in
:root when it comes to shadow DOM.
2021-02-25 14:34:40 -08:00
relrelb 1b41f8fad1 web: Fix panic message alignment 2021-02-25 14:34:40 -08:00
Mike Welsh eb173f06ca web: Strip query params from URL in GitHub issue titles 2021-02-20 14:12:07 -08:00
relrelb 73b5916b2a
web: Fix player positioning 2021-02-19 17:40:43 -08:00
relrelb 3700a32a5f web: Cleanup .prettierignore 2021-02-19 16:28:09 -08:00
relrelb 6b2978eb12 web: Add .stylelintignore 2021-02-19 16:28:09 -08:00
relrelb 8f62236fe1 web: Remove demo/package-lock.json
demo is the only package to have its own package-lock.json.
2021-02-19 16:28:09 -08:00
relrelb d3a006f62a web: Cleanup JSON files
Change indentation to 4 spaces and put newline at EOF.
2021-02-19 16:28:09 -08:00
relrelb 6a710fa1f3 web: Remove stale globals definitions
They were removed in 3e084963c6.
2021-02-19 16:28:09 -08:00
relrelb fbf33b6647 web: Update package-lock.json
Bump its lockfileVersion from 1 to 2, by deleting it and running:

npm install --package-lock-only
2021-02-19 16:28:09 -08:00
relrelb 8b7b5caa95 web: Upgrade all wdio packages 2021-02-19 16:28:09 -08:00
relrelb 524fb30acb chore: Cleanup .gitignore
And split it across multiple files.
2021-02-19 16:28:09 -08:00
Mike Welsh 2c53b4bed2 chore: Appease clippy 2021-02-19 02:47:39 -08:00
dependabot-preview[bot] 75fca8f6b6 build(deps): bump url from 2.2.0 to 2.2.1
Bumps [url](https://github.com/servo/rust-url) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.2.0...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-18 14:22:06 -08:00
Mike Welsh 836b631237 web: Revert style changes in #3239 2021-02-18 04:11:04 -08:00
dependabot-preview[bot] 6cf179fa24 build(deps-dev): bump chromedriver from 87.0.7 to 88.0.0 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 87.0.7 to 88.0.0.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/compare/87.0.7...88.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 23:09:28 -08:00
relrelb 1c21856980
web: General refactoring
* web: Don't load a random SWF Instead, show a prompt to select or drag an SWF.
* web: Refactor webpack.config.js
* demo: Refactor index.js
* demo: Cleanup CSS
2021-02-16 20:39:46 -08:00
Ben Lubar 1c620b2c9b add TypeScript documentation for maxExecutionDuration 2021-02-16 20:31:40 -08:00
Ben Lubar ca5cf0553f web: Add maxExecutionDuration to Config (close #1773) 2021-02-16 20:31:40 -08:00
David Wendt 299790b592 video: Enable software video decoding on web and exporter. 2021-02-16 19:03:48 -08:00
David Wendt 80bceeacab core: Add `VideoBackend` to host video decoders 2021-02-16 19:03:48 -08:00
dependabot-preview[bot] bee1d44892 build(deps-dev): bump @wdio/spec-reporter from 6.11.0 to 7.0.4 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.11.0 to 7.0.4.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.11.0...v7.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 18:56:42 -08:00
dependabot-preview[bot] 0e62164787 build(deps-dev): bump ts-loader from 8.0.15 to 8.0.17 in /web
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.15 to 8.0.17.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.15...v8.0.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 10:58:13 -08:00
dependabot-preview[bot] 7cff1ccd6f build(deps-dev): bump @wdio/sync from 6.11.0 to 7.0.3 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.11.0 to 7.0.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.11.0...v7.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 10:57:58 -08:00
dependabot-preview[bot] e401f9433c build(deps-dev): bump @wdio/mocha-framework from 6.11.0 to 7.0.3 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.11.0 to 7.0.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.11.0...v7.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 10:57:46 -08:00
dependabot-preview[bot] f499acc6de build(deps-dev): bump sign-addon from 3.2.0 to 3.3.0 in /web
Bumps [sign-addon](https://github.com/mozilla/sign-addon) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/mozilla/sign-addon/releases)
- [Commits](https://github.com/mozilla/sign-addon/compare/3.2.0...3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 10:00:10 -08:00
dependabot-preview[bot] 8977bd8814 build(deps-dev): bump stylelint from 13.9.0 to 13.10.0 in /web
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.9.0 to 13.10.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.9.0...13.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 09:52:37 -08:00
dependabot-preview[bot] a4415b0f03 build(deps-dev): bump html-webpack-plugin from 5.0.0 to 5.1.0 in /web
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v5.0.0...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 09:52:08 -08:00
dependabot-preview[bot] 2db2cc803f build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.2 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 09:51:01 -08:00
dependabot-preview[bot] cea703ad03 build(deps-dev): bump @wdio/cli from 6.12.1 to 7.0.3 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.12.1 to 7.0.3.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.12.1...v7.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 09:46:55 -08:00
Mike Welsh 7208476ea3 web: Update license
Update license in web folder, and remove a few duplicate entries.
2021-02-13 02:39:41 -08:00
relrelb bb89391f3a chore: Avoid deprecated constants
The Rust documentation considers numeric constants prefixed with std::
as deprecated.
For example: https://doc.rust-lang.org/std/u16/constant.MAX.html.
2021-02-12 06:36:17 -08:00
Mike Welsh e5fb1f09e7 chore: Appease clippy
* #[derive(Collect)] should be before #[collect]
 * Replace redunant `&buf[..]` with `buf`
 * Changes most cases of UPPERCase to UpperCase
 * Allow upper_case_acronym on most SWF types, as they are from
   SWF spec/more annoying to change.
2021-02-12 06:32:42 -08:00
Adrian Wielgosik f787cffe54
web: Minimal polyfill of window.Reflect 2021-02-09 19:10:47 -08:00
Mike Welsh 16bd7fade6 web: Use case-insensitive check for detecting javascript scheme 2021-02-08 03:41:16 -08:00
dependabot-preview[bot] b96325da62 build(deps-dev): bump ts-loader from 8.0.14 to 8.0.15 in /web
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.14 to 8.0.15.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.14...v8.0.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 02:27:24 -08:00
dependabot-preview[bot] fb975ba9ba build(deps-dev): bump webpack from 5.20.2 to 5.21.2 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.20.2 to 5.21.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.20.2...v5.21.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 02:27:09 -08:00
TÖRÖK Attila 4ea1d9e33c web/build: Make successful wasm-opt invocation mandatory on GitHub Actions 2021-02-05 10:38:47 -08:00
Toad06 b5749ee228
web: Fix some context menu and warning message issues 2021-02-04 15:10:04 -08:00
dependabot-preview[bot] 56830e9d10 build(deps-dev): bump webpack from 5.20.1 to 5.20.2 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.20.1 to 5.20.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.20.1...v5.20.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-04 11:32:02 -08:00
dependabot-preview[bot] 46195fab02 build(deps-dev): bump html-webpack-plugin from 4.5.1 to 5.0.0 in /web
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.5.1 to 5.0.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.5.1...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-04 11:31:48 -08:00
dependabot-preview[bot] 8bc7cf0358 build(deps-dev): bump chai from 4.2.0 to 4.3.0 in /web
Bumps [chai](https://github.com/chaijs/chai) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/master/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.2.0...4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-04 11:29:36 -08:00
dependabot-preview[bot] 2e821d9959 build(deps-dev): bump webpack from 5.19.0 to 5.20.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.19.0 to 5.20.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.19.0...v5.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-03 11:09:08 -08:00
relrelb 074731e1a4 audio: Add Nellymoser support 2021-02-02 00:41:01 -08:00
Mike Welsh 07ab770d4c web: Fix panning of mono sounds (fix #3017) 2021-02-01 13:18:24 -08:00
dependabot-preview[bot] 00e312c5f2 build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.1 to 4.14.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.2/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 11:33:56 -08:00
dependabot-preview[bot] a29103ef1a build(deps-dev): bump @typescript-eslint/parser in /web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.14.1 to 4.14.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.2/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 11:33:44 -08:00
Mads Marquart 1990e51639 avm2: Add UiBackend::display_unsupported_message
To allow displaying rich content when unsupported ActionScript 3 content is encountered.
2021-01-31 23:04:20 -08:00
Brian Gontowski 31dd2729e2 web: Add an onFSCommand callback into JavaScript 2021-01-31 18:03:31 -08:00
Mike Welsh d1fb36fbe2 chore: Add wasm-bindgen-cli version to docs 2021-01-31 12:42:51 -08:00
dependabot-preview[bot] 9c545db0ae build(deps-dev): bump eslint from 7.18.0 to 7.19.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-31 01:01:02 -08:00
Toad06 b62ca3d589
web: Move `allowScriptAccess` to `BaseLoadOptions` 2021-01-30 16:59:58 -08:00
relrelb 7431cd9b10
core: Merge InputBackend into UiBackend 2021-01-30 16:36:45 -08:00
dependabot-preview[bot] fd4cafb377 build(deps-dev): bump webpack from 5.18.0 to 5.19.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.18.0 to 5.19.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.18.0...v5.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-29 11:43:26 -08:00
Mike Welsh 008f0f596c core: Clip event slices are from parent movie in PlaceObject
Since 19034b7, clip event scripts are returned as slices from the
SWF. This caused a panic when a movie was loaded into a clip,
because the loaded clip's `movie` would be used as the source for
clip events. However, clip events are placed by the parent's
PlaceObject tags, so the movie in this case should be the parent's
movie.

Fixes #2870.
2021-01-28 16:36:42 -08:00
Mads Marquart bb4240ad1f chore: Add a few comments about unsafe usage 2021-01-28 14:39:35 -08:00
Mike Welsh a4699a3ca5 audio: Sound transforms apply to stream sounds
This unifies the code path for event sounds and stream sounds.
Both `AudioBackend::start_stream` and `start_sound` return a
`SoundHandle`. `stop_stream` is removed (`stop_sound` can be
used for both cases).

Also removes references to `CharacterId` from the `AudioBackend`
(instead, an increasing ID is returned to identiy streams while
loading).
2021-01-27 15:25:04 -08:00
Mike Welsh 95ce2abf17 audio: Remove AudioBackend::stop_sounds_with_handle/is_sound_playing_with_handle 2021-01-27 15:25:04 -08:00
Mike Welsh da2dd3b36c core: Implement sound transforms and Sound.setPan 2021-01-27 15:25:04 -08:00
Mike Welsh 34f60b127a core: Add AudioManager to handle actively playing sounds
Add an AudioManager struct to handle this list of actively playing
sounds. This will maintain information for each sound instance,
such as the owning display object, AVM1 object, etc.

This will allow us to implement the awkward AVM1 Sound API in a
fairly backend-agnostic way.
2021-01-27 15:25:04 -08:00
Omar Shehata 218f1f1da5 web: Pause player when tab is inactive (close #347) 2021-01-26 22:34:43 -08:00
Adrian Wielgosik 9195491f1b web: Redesign the context menu 2021-01-26 17:12:43 -08:00
dependabot-preview[bot] a0159a5efa build(deps-dev): bump webpack from 5.17.0 to 5.18.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.17.0 to 5.18.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.17.0...v5.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 12:44:56 -08:00
dependabot-preview[bot] 7856cdd3d7 build(deps): bump serde from 1.0.122 to 1.0.123
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.122 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 14:14:33 -08:00
dependabot-preview[bot] 9dfe21eda4 build(deps-dev): bump @typescript-eslint/eslint-plugin in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 14:10:31 -08:00
dependabot-preview[bot] 320b54ef57 build(deps-dev): bump @typescript-eslint/parser in /web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 13:27:01 -08:00
Mike Welsh 44bfd46bf9 chore: Lock wasm-bindgen and wasm-bindgen-cli to 0.2.69 2021-01-25 12:27:21 -08:00
relrelb aeda974143 web: Rename contextMenu to contextMenuElement
Firefox has a read-only "contextMenu" property, so avoid
shadowing it.
2021-01-25 03:51:50 -08:00
relrelb b07eb07afb web: Revert config removal 2021-01-25 03:51:50 -08:00
relrelb 5827801b03 web: Rename config.showContextMenu to config.contextMenu 2021-01-25 03:51:50 -08:00
relrelb 70326108b9 web: Rename "right click menu" to "context menu" 2021-01-25 03:51:50 -08:00
relrelb 21b0128bca web: Add option to disable the context menu 2021-01-25 03:51:50 -08:00
Andrew Larson f34bdb045d demo: Fix player not being destroyed when None is selected
Fix issue with duplicate instances in web demo when sample SWF
is unloaded.
2021-01-25 03:31:24 -08:00
dependabot-preview[bot] 64983cde22 build(deps): bump serde from 1.0.121 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.121 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.121...v1.0.122)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-24 17:26:09 -08:00
dependabot-preview[bot] 86b4c20809 build(deps): bump serde from 1.0.120 to 1.0.121
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.120 to 1.0.121.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.120...v1.0.121)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-23 14:12:08 -08:00
relrelb 0ea7b857cf demo: Lint index.js 2021-01-22 09:19:26 -08:00
relrelb 0349d90fcd demo: Add drag-and-drop functionality 2021-01-22 09:19:26 -08:00
relrelb 3fb58580c5
web: Add stylelint 2021-01-22 09:12:48 -08:00
dependabot-preview[bot] 62d6698056 build(deps-dev): bump webpack from 5.16.0 to 5.17.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.16.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.16.0...v5.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-22 09:10:52 -08:00
Mike Welsh 78f85d96f0 chore: Remove some debug spew 2021-01-21 18:22:42 -08:00