Commit Graph

3135 Commits

Author SHA1 Message Date
Mike Welsh 93e7f657f1 tests: Update Array.concat test to print out entire array 2020-10-31 02:42:34 -07:00
Mike Welsh ff74f67db8 avm1: Fix Array.concat incorrectly creating arrays 2020-10-31 02:42:34 -07:00
dependabot-preview[bot] 1d56d649fd build(deps-dev): bump @wdio/local-runner from 6.7.0 to 6.7.1 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.7.0 to 6.7.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.7.0...v6.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 00:34:43 -07:00
dependabot-preview[bot] 36829dc252 build(deps-dev): bump @wdio/cli from 6.7.0 to 6.7.1 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.7.0 to 6.7.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.7.0...v6.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 00:34:33 -07:00
dependabot-preview[bot] 4fce27e564 build(deps-dev): bump @wdio/sync from 6.7.0 to 6.7.1 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.7.0 to 6.7.1.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.7.0...v6.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 00:34:23 -07:00
relrelb e74e115cd0 core: Fix bug in PcmDecoder::next
It looks like the mono and stereo cases were mistakenly swapped
for 8-bit sounds. This commit simply swaps them to the correct
order.
2020-10-30 12:39:57 -07:00
dependabot-preview[bot] 6d38eacf09 build(deps): bump num-derive from 0.3.2 to 0.3.3
Bumps [num-derive](https://github.com/rust-num/num-derive) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/rust-num/num-derive/releases)
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.3.2...num-derive-0.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 20:10:05 -07:00
dependabot-preview[bot] 741aadce22 build(deps): bump num-traits from 0.2.12 to 0.2.14
Bumps [num-traits](https://github.com/rust-num/num-traits) from 0.2.12 to 0.2.14.
- [Release notes](https://github.com/rust-num/num-traits/releases)
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.12...num-traits-0.2.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 20:09:52 -07:00
dependabot-preview[bot] ca6d648d13 build(deps-dev): bump webpack from 5.3.1 to 5.3.2 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.3.1...v5.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 20:09:31 -07:00
Mike Welsh 81da730eb4 wgpu: Resolve MSAA once at frame end (fix #1427) 2020-10-29 13:27:47 -07:00
Nathan Adams 66eb645b68 web: Add basic right click menu, only has About Ruffle link so far 2020-10-29 13:27:28 -07:00
dependabot-preview[bot] ea0b6940a3 build(deps-dev): bump webpack from 5.3.0 to 5.3.1 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.3.0...v5.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 13:06:09 -07:00
dependabot-preview[bot] 02c88f2bcc build(deps-dev): bump webpack from 5.2.0 to 5.3.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.2.0...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 11:35:44 -07:00
dependabot-preview[bot] b3ca827ef2 build(deps-dev): bump eslint-config-prettier in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.14.0 to 6.15.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.14.0...v6.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 11:35:21 -07:00
dependabot-preview[bot] 6b7c3f2214 build(deps-dev): bump eslint from 7.12.0 to 7.12.1 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.0 to 7.12.1.
- [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.12.0...v7.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 19:54:56 -07:00
Mike Welsh ef4d75e7d9 web: Fix incorrect handle used in audio ended handler (fix #1405) 2020-10-27 19:54:46 -07:00
dependabot-preview[bot] 57f5831522 build(deps-dev): bump @wdio/spec-reporter from 6.6.8 to 6.7.0 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.6.8 to 6.7.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.6.8...v6.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 11:03:31 -07:00
dependabot-preview[bot] 2dc7f73986 build(deps-dev): bump @wdio/local-runner from 6.6.7 to 6.7.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.6.7 to 6.7.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.6.7...v6.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 11:03:22 -07:00
dependabot-preview[bot] b998837cc0 build(deps-dev): bump @wdio/mocha-framework from 6.6.7 to 6.7.0 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.6.7 to 6.7.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.6.7...v6.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 11:03:12 -07:00
dependabot-preview[bot] e1a0e82d20 build(deps-dev): bump @wdio/sync from 6.6.7 to 6.7.0 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.6.7 to 6.7.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.6.7...v6.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 11:02:58 -07:00
dependabot-preview[bot] 2b7bd8fab6 build(deps-dev): bump @wdio/cli from 6.6.7 to 6.7.0 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.6.7 to 6.7.0.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.6.7...v6.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 11:01:58 -07:00
Nathan Adams f92f4f1b43 chore: Update cargo packages to make dx11 work 2020-10-27 11:01:36 -07:00
Mike Welsh 0f4219610d core: Properly handle masker-inside-masker (fix #1347)
If a masker is placed inside a masker, the inner mask is inactive
and instead renders as normal art, masked by the outer mask. Properly
handle this case by only pushing new masks if we are not currently
drawing the mask stencil.

Maskee inside maskee still functions as expected. (i.e., a clip
using a mask is masked itself).
2020-10-25 20:41:31 -07:00
Mike Welsh 956f40a26f web: Use a Drop impl to ensure sounds are stopped 2020-10-25 20:41:20 -07:00
Mike Welsh 2939339330 desktop: Workaround bug in generational-arena 2020-10-25 20:41:20 -07:00
Mike Welsh 796805c31b web: Avoid bug in generational-arena (fix #1315)
An issue with Arena::clear allowed stale sound instance indices
to be remain valid, causing certain sounds to be removed when they
shouldn't (#1315). Workaround this issue by forcing Arena to bump
the generational index.
2020-10-25 20:41:20 -07:00
dependabot-preview[bot] 37ead31b2a build(deps): bump image from 0.23.10 to 0.23.11
Bumps [image](https://github.com/image-rs/image) from 0.23.10 to 0.23.11.
- [Release notes](https://github.com/image-rs/image/releases)
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md)
- [Commits](https://github.com/image-rs/image/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-25 17:57:11 -07:00
Nathan Adams 8436be7d55 render: Mark the gradient buffer as readonly in wgpu renderer 2020-10-25 12:07:58 -07:00
dependabot-preview[bot] 55d16c200a build(deps): bump approx from 0.3.2 to 0.4.0
Bumps [approx](https://github.com/brendanzab/approx) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/brendanzab/approx/releases)
- [Commits](https://github.com/brendanzab/approx/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-25 12:07:13 -07:00
dependabot-preview[bot] 4efc0015a2 build(deps): bump libflate from 1.0.2 to 1.0.3
Bumps [libflate](https://github.com/sile/libflate) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/sile/libflate/releases)
- [Commits](https://github.com/sile/libflate/compare/1.0.2...1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 20:55:36 -07:00
Mike Welsh bc31c33f65 avm1: Test for removed clip after a function call
0482d1c made it so that a stack frame halts if its base clip gets
removed (e.g. from a goto). It actually seems like this check
only occurs after a function/method call (see #1370). So
and gotoAndPlay method call can cause the stack frame to pop, but
a GotoFrame action cannot.

Only check if the base clip has been removed in CallFunction,
CallMethod, NewObject, NewMethod ops.

Fixes #1370.
2020-10-24 17:36:38 -07:00
Mike Welsh e55346a211 tests: Test for removed clip after a function call 2020-10-24 17:36:38 -07:00
dependabot-preview[bot] 05edb73d72 build(deps): bump syn from 1.0.46 to 1.0.48
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.46 to 1.0.48.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.46...1.0.48)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 17:20:21 -07:00
dependabot-preview[bot] 89635c7b01 build(deps): bump instant from 0.1.7 to 0.1.8
Bumps [instant](https://github.com/sebcrozet/instant) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/sebcrozet/instant/releases)
- [Commits](https://github.com/sebcrozet/instant/compare/v0.1.7...v0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 17:20:09 -07:00
dependabot-preview[bot] 8eeaf3880d build(deps-dev): bump eslint from 7.11.0 to 7.12.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.12.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.11.0...v7.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 17:19:54 -07:00
dependabot-preview[bot] cf126a2909 build(deps-dev): bump webpack from 5.1.3 to 5.2.0 in /web
Bumps [webpack](https://github.com/webpack/webpack) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.1.3...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-24 17:19:38 -07:00
Mike Welsh 21818a896d text: Draw white background for bordered text fields 2020-10-23 16:13:36 -07:00
relrelb 083e2a2ff5 core: Implement getBytes{Loaded,Total} (simpler approach) 2020-10-23 13:13:00 -07:00
relrelb 14a71b69cc core: Implement getBytes{Loaded,Total} 2020-10-23 13:13:00 -07:00
Nathan Adams bac4d8c2bf avm1: Ratelimit timeout check to help ease performance 2020-10-23 13:03:47 -07:00
Nathan Adams bf4ed7cc22 render: Fix logic for resolution changes 2020-10-23 13:02:27 -07:00
Nathan Adams 20ff951d5e render: Split off common mesh binds into a mesh bind group for wgpu renderer 2020-10-23 13:02:27 -07:00
Nathan Adams c0de319fd2 render: Split up bind groups from pipelines for wgpu shapes in prep for them being refactored further 2020-10-23 13:02:27 -07:00
dependabot-preview[bot] 29068b08b5 build(deps): bump futures from 0.3.6 to 0.3.7
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.6...0.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 12:54:27 -07:00
Mike Welsh 2172fef9bd web: Only fire mouse events for left clicks 2020-10-23 12:50:59 -07:00
dependabot-preview[bot] 289ac36058 build(deps-dev): bump eslint-config-prettier in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.13.0 to 6.14.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.13.0...v6.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-22 18:40:56 -07:00
Mike Welsh c2d4d56f88 avm1: Allow this in GetVariable/SetVariable paths 2020-10-22 17:23:22 -07:00
Mike Welsh 8da1eeafcb tests: Add test for this in GetVariable action 2020-10-22 17:23:22 -07:00
Mike Welsh 41f77fade1 avm1: Export names are case insensitive
Fixes capital letters not appearing in #1346
2020-10-21 17:09:31 -07:00
Mike Welsh e093f05656 tests: Add case insensitivity test for attachMovie 2020-10-21 17:09:31 -07:00