Commit Graph

2172 Commits

Author SHA1 Message Date
David Wendt 7f60fab1e5 Add the bare minimum necessary to get opcodes out of an ABC and into an interpreter loop.
Surprisingly enough, the "bare minimum" includes a stack, object model, and values already.
2020-07-13 17:42:45 -04:00
David Wendt e80c887261 Add a very basic object model to the AVM2 interpreter. 2020-07-13 17:42:44 -04:00
David Wendt b7f257e7c8 Add a path to get from the movie clip to the Avm2. 2020-07-13 17:42:43 -04:00
David Wendt a852a6939a Add an extremely trivial implementation for the AVM2 interpreter state. 2020-07-13 17:42:31 -04:00
dependabot-preview[bot] c87e30758f build(deps-dev): bump @wdio/local-runner from 6.1.25 to 6.2.0 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.1.25 to 6.2.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.1.25...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 14:01:50 -07:00
dependabot-preview[bot] a86cac65af build(deps-dev): bump @wdio/cli from 6.1.25 to 6.2.0 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.1.25 to 6.2.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.1.25...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 14:01:33 -07:00
dependabot-preview[bot] 7eb9d7902b build(deps-dev): bump @wdio/sync from 6.1.14 to 6.2.0 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.1.14 to 6.2.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.1.14...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 14:01:25 -07:00
dependabot-preview[bot] 6ca608a7db build(deps-dev): bump @wdio/mocha-framework from 6.1.19 to 6.2.0 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.1.19 to 6.2.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.1.19...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 14:01:17 -07:00
dependabot-preview[bot] 92fd0c6132 build(deps): bump wgpu from 0.5.1 to 0.5.2
Bumps [wgpu](https://github.com/gfx-rs/wgpu-rs) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/gfx-rs/wgpu-rs/releases)
- [Commits](https://github.com/gfx-rs/wgpu-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 11:31:39 -07:00
Nathan Adams fba8ccda81 avm1: Rename Avm1String to AvmString 2020-07-13 10:12:54 -07:00
Nathan Adams d8f043fa1a avm1: Value::coerce_to_string returns an Avm1String, as it can avoid a clone-and-reallocate 2020-07-13 10:12:54 -07:00
Nathan Adams f0ef68cb16 avm1: Reenabled paused string-value tests during string refactor 2020-07-13 10:12:54 -07:00
Nathan Adams c60b2cf4fc avm1: Implement From<&'static str> for Value 2020-07-13 10:12:54 -07:00
Nathan Adams e03e3f6c4e avm1: Allow Avm1String to contain &'static str 2020-07-13 10:12:54 -07:00
Nathan Adams ad733f2f21 avm1: Add Avm1String which wraps Gc<String> 2020-07-13 10:12:54 -07:00
Nathan Adams 016b9db3c5 avm1: Change Value::String(String) to Value::String(Gc<String>) 2020-07-13 10:12:54 -07:00
CUB3D 0591c0fe4b core: Add functions to prototypes 2020-07-12 15:25:58 -07:00
CUB3D ab022b66e9 chore: Format and cleanup clippy lints 2020-07-12 15:25:58 -07:00
CUB3D 83cca044ad core: Add tests for ContextMenu and ContextMenuItem 2020-07-12 15:25:58 -07:00
CUB3D 46cd8eb507 core: Add ContextMenuItem 2020-07-12 15:25:58 -07:00
CUB3D 04ca652f98 core: ContextMenu fully implemented 2020-07-12 15:25:58 -07:00
CUB3D 73a98c7f78 core: Implement copy() for ContextMenu 2020-07-12 15:25:58 -07:00
CUB3D f3aa6f7f01 core: Add stub of ContextMenuItem 2020-07-12 15:25:58 -07:00
CUB3D c8fefc56b5 core: Add stubs for context menu 2020-07-12 15:25:58 -07:00
dependabot-preview[bot] c353d1f079 build(deps): bump image from 0.23.6 to 0.23.7
Bumps [image](https://github.com/image-rs/image) from 0.23.6 to 0.23.7.
- [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/compare/v0.23.6...v0.23.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-12 15:12:48 -07:00
dependabot-preview[bot] aaf42d1948 build(deps): bump syn from 1.0.33 to 1.0.34
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.33...1.0.34)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-12 15:01:43 -07:00
dependabot-preview[bot] 529948735a build(deps-dev): bump archiver from 4.0.1 to 4.0.2 in /web
Bumps [archiver](https://github.com/archiverjs/node-archiver) from 4.0.1 to 4.0.2.
- [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/4.0.1...4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-12 13:57:18 -07:00
Mike Welsh 7b0a4a5838 chore: Bump to cpal 0.12 2020-07-10 17:17:11 -07:00
Nathan Adams 180891c58e avm1: Add impl_custom_object!() macro to simplify custom object types 2020-07-10 16:48:05 -07:00
Nathan Adams eb94cc54b2 chore: Move avm1 objects to their own module, we have plenty of them now 2020-07-10 16:48:05 -07:00
Mike Welsh 3322c2d916 avm1: Implement updateAfterEvent 2020-07-10 14:38:48 -07:00
Mike Welsh 8715589f50 tests: Add setInterval test 2020-07-10 14:38:48 -07:00
Mike Welsh 98e7da7d93 avm1: Implement setInterval 2020-07-10 14:38:48 -07:00
dependabot-preview[bot] ed73e3c1c2 build(deps): bump wgpu-native from 0.5.0 to 0.5.1
Bumps [wgpu-native](https://github.com/gfx-rs/wgpu) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/gfx-rs/wgpu/releases)
- [Changelog](https://github.com/gfx-rs/wgpu/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gfx-rs/wgpu/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 13:28:48 -07:00
dependabot-preview[bot] 36571dcb43 build(deps): bump wgpu from 0.5.0 to 0.5.1
Bumps [wgpu](https://github.com/gfx-rs/wgpu-rs) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/gfx-rs/wgpu-rs/releases)
- [Commits](https://github.com/gfx-rs/wgpu-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 12:49:58 -07:00
Mike Welsh a1ff80bb18 avm1: Object.watch is case insensitive on SWFv6 2020-07-10 12:02:26 -07:00
Nathan Adams 8a0430d744 avm1: Implement Object.watch & Object.unwatch (#268) 2020-07-10 12:02:26 -07:00
Nathan Adams ecbab536b5 avm1: Respect ScriptLimits for recursion depth, and use that in infinite_recursion_function 2020-07-08 14:47:38 -07:00
Nathan Adams 2b30fd32b7 avm1: Activation depth can be up to u16. 2020-07-08 14:47:38 -07:00
Nathan Adams 51ec5739c6 avm1: Throw errors when functions (user-called, or special) go too deep 2020-07-08 14:47:38 -07:00
Nathan Adams aa98c2c24f avm1: Track the reason for executions, if it's a function call vs
something special, like a getter
2020-07-08 14:47:38 -07:00
Nathan Adams 65396ba87a avm1: All errors are ignored during getters or setters 2020-07-08 14:47:38 -07:00
Nathan Adams 3ee1902117 avm1: Don't log errors at every Activation, only at the "root" frames 2020-07-08 14:47:38 -07:00
Nathan Adams 8218e14824 avm1: Remove unused field is_executing from Activation 2020-07-08 14:47:38 -07:00
dependabot-preview[bot] 118a1d3caf build(deps-dev): bump @wdio/cli from 6.1.24 to 6.1.25 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.1.24 to 6.1.25.
- [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.1.24...v6.1.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 19:13:52 -07:00
dependabot-preview[bot] de8f9e4ac5 build(deps-dev): bump @wdio/local-runner from 6.1.24 to 6.1.25 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.1.24 to 6.1.25.
- [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.1.24...v6.1.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 19:13:34 -07:00
dependabot-preview[bot] 3c927b20f3 build(deps-dev): bump chromedriver from 83.0.0 to 83.0.1 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 83.0.0 to 83.0.1.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/compare/83.0.0...83.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 19:06:58 -07:00
dependabot-preview[bot] a3bdb20cf1 build(deps): bump smallvec from 1.4.0 to 1.4.1
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 20:30:41 -07:00
Mike Welsh 2cbbe32412 tests: Add test for GetVariable/SetVariable on _x, etc. 2020-07-05 15:15:31 -07:00
Mike Welsh 804385347f tests: Add test for virtual properties on prototype 2020-07-05 15:15:31 -07:00