Commit Graph

3043 Commits

Author SHA1 Message Date
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
dependabot-preview[bot] 3e5457f712 build(deps): bump syn from 1.0.45 to 1.0.46
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.45 to 1.0.46.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.45...1.0.46)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 17:08:57 -07:00
Mike Welsh cd96df7ee7 web: Disable automatic publicPath in webpack configs 2020-10-21 15:19:36 -07:00
dependabot-preview[bot] a4098ec72f build(deps-dev): bump @wdio/spec-reporter from 6.6.6 to 6.6.8 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.6.6 to 6.6.8.
- [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.6...v6.6.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 15:07:34 -07:00
dependabot-preview[bot] a6002aaa4f build(deps-dev): bump @wdio/local-runner from 6.6.6 to 6.6.7 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.6.6 to 6.6.7.
- [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.6...v6.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 15:07:21 -07:00
dependabot-preview[bot] a9b30758fa build(deps-dev): bump @wdio/mocha-framework from 6.6.6 to 6.6.7 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.6.6 to 6.6.7.
- [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.6...v6.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 15:07:10 -07:00
dependabot-preview[bot] abd22c8bb1 build(deps-dev): bump @wdio/cli from 6.6.6 to 6.6.7 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.6.6 to 6.6.7.
- [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.6...v6.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 15:06:58 -07:00
dependabot-preview[bot] a1873f99da build(deps-dev): bump @wdio/sync from 6.6.4 to 6.6.7 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.6.4 to 6.6.7.
- [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.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 15:06:48 -07:00
Colin Berry 5a93c7ffa0 desktop: Follow Redirects 2020-10-20 23:31:23 -07:00
Colin Berry 67d9b91448 desktop: Make Proxy behave during initial load 2020-10-20 23:31:23 -07:00
Colin Berry c51a31fde8 desktop: Support URL paths and Proxy options 2020-10-20 23:31:23 -07:00
Mike Welsh 8ee09ffc0c desktop: Switch task to ready state on wake 2020-10-20 23:18:42 -07:00
Mike Welsh ceddc55a91 chore: cargo update 2020-10-20 23:14:49 -07:00
Mike Welsh 8465638939 web: Drop webpack-dev-server and use webpack serve
See https://github.com/webpack/webpack-dev-server/issues/2759
2020-10-18 17:36:52 -07:00
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