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