Commit Graph

3022 Commits

Author SHA1 Message Date
dependabot-preview[bot] 9a13de0df6 build(deps-dev): bump mocha from 8.1.3 to 8.2.0 in /web
Bumps [mocha](https://github.com/mochajs/mocha) from 8.1.3 to 8.2.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.1.3...v8.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 19:55:51 -07:00
dependabot-preview[bot] a965d2f6ba build(deps-dev): bump webpack-cli from 3.3.12 to 4.0.0 in /web
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.12 to 4.0.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/v3.3.12...webpack-cli@4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 15:33:13 -07:00
Mike Welsh 990052db77 chore: Bump to webpack 5 2020-10-17 14:07:28 -07:00
dependabot-preview[bot] 2fdb378e4f build(deps): bump syn from 1.0.44 to 1.0.45
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.44...1.0.45)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 13:00:00 -07:00
Nathan Adams 9da94764fa chore: Run `cargo update` and pull in newer versions of dependencies 2020-10-17 12:58:12 -07:00
Nathan Adams bbd8fc768c render: Store view_matrix as a global in wgpu renderer, and only change it when changed 2020-10-17 04:16:24 -07:00
Nathan Adams a2d53df49c render: Store immutable part of wgpu rendering as a reusable object, to speed up exporting 2020-10-17 04:16:24 -07:00
Nathan Adams 4dd5fcfd6a render: Don't make a new sampler for each bitmap in wgpu renderer 2020-10-17 04:16:24 -07:00
Nathan Adams 7bd4590fc2 render: Remove unused register_encoder from wgpu. There's a built in staging encoder now. 2020-10-17 04:16:24 -07:00
David Wendt 6f659db342 tests: Fix the lazyinit test so that it actually passes on Ruffle 2020-10-17 03:32:09 -07:00
David Wendt 50d6ffb510 avm2: Prevent circularly referential scripts from causing stack overflows or double-borrows. 2020-10-17 03:32:09 -07:00
David Wendt a484861f79 tests: Add a test for lazy initialization load order. 2020-10-17 03:32:09 -07:00
David Wendt d27360b282 avm2: Enable lazy initialization for ABCs that request it. 2020-10-17 03:32:09 -07:00
David Wendt 0d1676afda avm2: Create a separate domain for each loaded movie and pull symbols out of each. 2020-10-17 03:32:09 -07:00
David Wendt cdab885979 avm2: Implement `ApplicationDomain` and all methods that don't require `Vector` or domain memory 2020-10-17 03:32:09 -07:00
David Wendt 1aceb7776d avm2: Superclasses should resolve out of the current scope stack. 2020-10-17 03:32:09 -07:00
David Wendt 00fcc5ffa4 avm2: Reference the current domain at the bottom of the scope stack. 2020-10-17 03:32:09 -07:00
David Wendt f2caf60d3e avm2: Scripts should run in a child of the global domain. 2020-10-17 03:32:09 -07:00
David Wendt 1792939212 avm2: Script scopes should hold the domains they are a part of.
Also, this means we have a `TObject` representation for domains now.
2020-10-17 03:32:09 -07:00
David Wendt 6a736b0d2b avm2: Wrap all player globals in a separate appdomain and script.
This entirely abolishes the "global scope object" in AVM2. I even had to redefine several global object functions to work with the bottom of the scope stack, which seems to be where ASC likes to stick the script scope.
2020-10-17 03:32:09 -07:00
David Wendt add7c4d43d avm2: Collect all script definition names and associated scripts into a `Domain`. 2020-10-17 03:32:09 -07:00
David Wendt 02e05e3d7f Add separate scope object for each script. 2020-10-17 03:32:09 -07:00
Mike Welsh 89c1378569 wgpu: Use premultiplied alpha for bitmaps 2020-10-17 02:42:56 -07:00
Mike Welsh 4558be948e render: Fix masking issues on wgpu/webgl backends
Change the usage of the stencil buffer to avoid running out of
stencil bits when too many nested masks are active.

This also cleans things up on wgpu which requires us to make
pipeline states in advice; now we only need a few stencil states
for masking as opposed to hundreds.
2020-10-17 02:42:56 -07:00
dependabot-preview[bot] 8ba5dbfa49 build(deps): bump env_logger from 0.7.1 to 0.8.1
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.7.1 to 0.8.1.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 02:33:11 -07:00
dependabot-preview[bot] 11e000a1af build(deps-dev): bump @wdio/spec-reporter from 6.6.3 to 6.6.6 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.6.3 to 6.6.6.
- [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.3...v6.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 02:32:37 -07:00
dependabot-preview[bot] 01e58e88fd build(deps-dev): bump eslint-config-prettier in /web
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.12.0 to 6.13.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.12.0...v6.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 02:32:25 -07:00
dependabot-preview[bot] c37ecf2df5 build(deps-dev): bump @wdio/cli from 6.6.4 to 6.6.6 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.6.4 to 6.6.6.
- [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.4...v6.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 02:31:30 -07:00
dependabot-preview[bot] a4dc24cd2f build(deps-dev): bump @wdio/mocha-framework from 6.6.3 to 6.6.6 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.6.3 to 6.6.6.
- [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.3...v6.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 02:31:18 -07:00
dependabot-preview[bot] 6f395c072a build(deps-dev): bump @wdio/local-runner from 6.6.4 to 6.6.6 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.6.4 to 6.6.6.
- [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.4...v6.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 02:31:05 -07:00
dependabot-preview[bot] 53f7a2d862 build(deps): bump serde from 1.0.116 to 1.0.117
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.116 to 1.0.117.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.116...v1.0.117)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 11:45:27 -07:00
Mike Welsh 97a3ef73a3 tests: Add tests for issue #893 2020-10-15 00:10:55 -07:00
Mike Welsh e66b71817b avm1: Stop execution if base clip is removed (fix #893)
Stop execution of the current stack frame if the base clip was
removed (for example, due to a goto).
2020-10-15 00:10:55 -07:00
Nathan Adams 3f46567fc1 render: Remove PowerPreference::Default as it's no longer in wgpu 2020-10-14 13:59:25 -07:00
Nathan Adams a2593b0d52 desktop: Expose wgpu tracing through a `render_trace` feature and `--trace-path` argument 2020-10-14 13:59:25 -07:00
Nathan Adams 900553818a exporter: Expose wgpu tracing through a `render_trace` feature and `--trace-path` argument 2020-10-14 13:59:25 -07:00
Nathan Adams b68caebc23 render: Update wgpu to e3eadca8c6 2020-10-14 13:59:25 -07:00
dependabot-preview[bot] 0101035da4 build(deps-dev): bump @wdio/cli from 6.6.3 to 6.6.4 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.6.3 to 6.6.4.
- [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.3...v6.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 22:38:11 -07:00
dependabot-preview[bot] 65ece72137 build(deps-dev): bump @wdio/sync from 6.6.0 to 6.6.4 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.6.0 to 6.6.4.
- [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.0...v6.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 22:37:55 -07:00
dependabot-preview[bot] dac9d722a0 build(deps-dev): bump @wdio/local-runner from 6.6.3 to 6.6.4 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.6.3 to 6.6.4.
- [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.3...v6.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 22:37:44 -07:00
Justin-CB 114660dec9 Remove "Github Actions" from badges because we don't use circleci anymore 2020-10-13 22:16:24 -07:00
Mike Welsh 2c89b0b8e9 docs: Update nightly releases link in README 2020-10-12 17:59:52 -07:00
Mike Welsh 827a80c837 web: Remove sound instances upon completion
Sounds were not being removed from the instance list when they
completed playing. This could also cause StartSound tags with
NoMultiple set to not play, because the previous sound was presumed
to be playing.

Fixes part of #1245.
2020-10-12 15:28:31 -07:00
Nathan Adams 627a1f90e1 web: Ignore any errors converting flashvars 2020-10-12 15:28:16 -07:00
Nathan Adams 5862e7ba6b desktop: Add -Pkey=value for adding flashvars/properties 2020-10-12 15:28:16 -07:00
Nathan Adams b7b67cacb2 web: Merge flashvars with swf url query vars 2020-10-12 15:28:16 -07:00
Nathan Adams 30fffa8022 test: Add tests for flashvars on web 2020-10-12 15:28:16 -07:00
Nathan Adams 6b591269e9 web: Parse flashvars from swf urls 2020-10-12 15:28:16 -07:00
Nathan Adams 6d9155477c core: Add flashvars support - #312 2020-10-12 15:28:16 -07:00
Mike Welsh a6b952e44e core: Switch from libflate to flate2 2020-10-12 13:47:35 -07:00