Commit Graph

2949 Commits

Author SHA1 Message Date
Nathan Adams e25e03a841 core: Log to new avm_trace method where we want things to show up 2020-09-13 13:51:39 -07:00
Nathan Adams de009c7673 core: Add Log backend, for capturing trace output specific to a movie 2020-09-13 13:51:39 -07:00
dependabot-preview[bot] 091f04096d build(deps-dev): bump eslint from 7.8.1 to 7.9.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.8.1 to 7.9.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.8.1...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-13 13:39:29 -07:00
dependabot-preview[bot] cff131a494 build(deps-dev): bump archiver from 5.0.0 to 5.0.2 in /web
Bumps [archiver](https://github.com/archiverjs/node-archiver) from 5.0.0 to 5.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/5.0.0...5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 21:26:57 -07:00
dependabot-preview[bot] e4f22f3494 build(deps): bump serde from 1.0.115 to 1.0.116
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.115 to 1.0.116.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.115...v1.0.116)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 21:23:38 -07:00
dependabot-preview[bot] 491526cc93 build(deps): bump bitstream-io from 0.8.5 to 0.9.0
Bumps [bitstream-io](https://github.com/tuffy/bitstream-io) from 0.8.5 to 0.9.0.
- [Release notes](https://github.com/tuffy/bitstream-io/releases)
- [Commits](https://github.com/tuffy/bitstream-io/compare/v0.8.5...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 21:17:24 -07:00
dependabot-preview[bot] 32c4becb93 build(deps): [security] bump node-fetch from 2.6.0 to 2.6.1 in /web
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. **This update includes a security fix.**
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 21:16:34 -07:00
dependabot-preview[bot] eff5964acb build(deps-dev): bump @wdio/cli from 6.4.6 to 6.4.7 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.4.6 to 6.4.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.4.6...v6.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 19:16:47 -07:00
dependabot-preview[bot] 6247ad200c build(deps-dev): bump @wdio/mocha-framework from 6.4.0 to 6.4.7 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.4.0 to 6.4.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.4.0...v6.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 19:16:29 -07:00
dependabot-preview[bot] a0ce873394 build(deps-dev): bump @wdio/spec-reporter from 6.4.0 to 6.4.7 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.4.0 to 6.4.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.4.0...v6.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 19:16:16 -07:00
dependabot-preview[bot] b4d71330a6 build(deps-dev): bump @wdio/sync from 6.4.6 to 6.4.7 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.4.6 to 6.4.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.4.6...v6.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 19:15:30 -07:00
dependabot-preview[bot] f81a94ff0e build(deps-dev): bump @wdio/local-runner from 6.4.6 to 6.4.7 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.4.6 to 6.4.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.4.6...v6.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 19:15:18 -07:00
dependabot-preview[bot] d4346f16e9 build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 6.4.0 to 6.4.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.4.0...v6.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 19:14:57 -07:00
dependabot-preview[bot] 3379181b1e build(deps): bump wasm-bindgen-futures from 0.4.17 to 0.4.18
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen) from 0.4.17 to 0.4.18.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 19:14:10 -07:00
dependabot-preview[bot] 5a85558135 build(deps): bump web-sys from 0.3.44 to 0.3.45
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen) from 0.3.44 to 0.3.45.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 18:29:47 -07:00
Nathan Adams 7b1f53ddc0 chore: Fix nightly generation not triggering if an older PR lands 2020-09-09 12:04:52 -07:00
dependabot-preview[bot] c0451cfc80 build(deps-dev): bump chromedriver from 85.0.0 to 85.0.1 in /web
Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 85.0.0 to 85.0.1.
- [Release notes](https://github.com/giggio/node-chromedriver/releases)
- [Commits](https://github.com/giggio/node-chromedriver/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 11:01:40 -07:00
dependabot-preview[bot] 644a9107a1 build(deps): bump js-sys from 0.3.44 to 0.3.45
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen) from 0.3.44 to 0.3.45.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 11:00:07 -07:00
dependabot-preview[bot] 374840e4e5 build(deps): bump bytemuck from 1.4.0 to 1.4.1
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/Lokathor/bytemuck/releases)
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 10:46:26 -07:00
Adrian Wielgosik 0fe88f23bb
avm1: Use fnv hash in PropertyMap 2020-09-09 10:44:52 -07:00
Toad06 048bfaf53d tests: Add polyfill samples from #457 2020-09-07 13:16:44 -07:00
CUB3D 8a5434c956 core: Switch to enum for differentiating callable values from uncallable ones 2020-09-07 13:14:48 -07:00
CUB3D efa7e862fd core: Propagate this through scope and get_variable 2020-09-07 13:14:48 -07:00
CUB3D 91d5e0f74b core: Update tests 2020-09-07 13:14:48 -07:00
CUB3D 136a5664b0 core: Pass the correct this for CallFunction when in a with scope
fixes #805, #945, #1018
2020-09-07 13:14:48 -07:00
Mike Welsh a18e80baf2 chore: Fix clippy lints 2020-09-07 12:18:41 -07:00
dependabot-preview[bot] 08f1299595 build(deps): bump syn from 1.0.39 to 1.0.40
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.39...1.0.40)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 11:14:14 -07:00
dependabot-preview[bot] 07a6075765 build(deps): bump indexmap from 1.5.2 to 1.6.0
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Commits](https://github.com/bluss/indexmap/compare/1.5.2...1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 11:13:54 -07:00
David Wendt 35b589b2ac avm2: `in` should only ever query non-namespaced/public properties. 2020-09-07 11:07:07 -07:00
David Wendt 3b5411547a avm2: Implement `in` 2020-09-07 11:07:07 -07:00
David Wendt 11b8354905 avm2: `resolve_any` should resolve prototype properties. 2020-09-07 11:07:07 -07:00
Nathan Adams e68b980f33 chore: Release nightlies through github - #584 2020-09-04 16:16:25 -07:00
dependabot-preview[bot] de16681b02 build(deps-dev): bump @wdio/sync from 6.4.5 to 6.4.6 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.4.5 to 6.4.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.4.5...v6.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 14:59:04 -07:00
Nathan Adams ce0a340870 chore: Add CODE_OF_CONDUCT.md to satisfy GitHub's "you don't have a code of conduct" 2020-09-04 14:24:12 -07:00
dependabot-preview[bot] 2b68555e3d build(deps-dev): bump @wdio/local-runner from 6.4.5 to 6.4.6 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.4.5 to 6.4.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.4.5...v6.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 14:20:51 -07:00
dependabot-preview[bot] a0deaecf2e build(deps-dev): bump @wdio/cli from 6.4.5 to 6.4.6 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.4.5 to 6.4.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.4.5...v6.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 13:30:24 -07:00
JustinCB ee99a05f9b chore: Add github actions build badge 2020-09-04 11:38:32 -07:00
Mike Welsh 64679e8796 avm1: typeof button/text should be object (fix #1110) 2020-09-04 11:33:40 -07:00
Nathan Adams b2dc564628 avm1: Fix String.lastIndexOf(undefined) 2020-09-04 11:32:16 -07:00
Nathan Adams ea7a9758c4 avm1: Fix String.indexOf(undefined) 2020-09-04 11:32:16 -07:00
Nathan Adams db86cdab79 chore: Workaround for chrome not being found on windows tests 2020-09-04 11:31:39 -07:00
Mike Welsh 86ab300ee8 core: Call post_instantiate on initial empty root (fix #946)
The `fake_root` did not have an object, which could cause the
player to panic if the SWF was not completely loaded when playing.
Calling `post_instantiate` ensures that this dummy root has an
object.
2020-09-04 11:31:04 -07:00
Mike Welsh 3a813f1f15 tests: Test for #1104 2020-09-03 19:09:48 -07:00
Mike Welsh 5ea06b0ce6 swf: Use Option for more PlaceObject parameters
There is a difference between empty/default (change value to default)
and none (don't modify), so make this explicit for some PlaceObject
parameters where it wasn't.

Fixes #1104.
2020-09-03 19:09:48 -07:00
Mike Welsh 151b13a424 avm1: ExternalInterface properties are read only 2020-09-03 18:17:44 -07:00
Nathan Adams 4de2b7f3a0 web: Ensure exposed callbacks are on the <ruffle-player> 2020-09-03 18:17:44 -07:00
Nathan Adams 91cb597a79 web: Expose ExternalInterface callbacks on the player object, not the canvas 2020-09-03 18:17:44 -07:00
Nathan Adams 5880db43cd web: Respect allowScriptAccess, which defaults to false for streaming or 'sameDomain' for objects 2020-09-03 18:17:44 -07:00
Nathan Adams b5531a48d0 web: Allow reentrant ExternalInterface callbacks 2020-09-03 18:17:44 -07:00
Nathan Adams a49e8d8587 web: Implement two-way communication with ExternalInterface 2020-09-03 18:17:44 -07:00