Commit Graph

3139 Commits

Author SHA1 Message Date
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
Mike Welsh 2c2aa82730 chore: Remove debug message 2020-10-12 13:30:03 -07:00
dependabot-preview[bot] 94462ed236 build(deps-dev): bump @wdio/mocha-framework from 6.6.0 to 6.6.3 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.6.0 to 6.6.3.
- [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.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 11:29:30 -07:00
dependabot-preview[bot] 70fbd5398b build(deps-dev): bump @wdio/local-runner from 6.6.2 to 6.6.3 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.6.2 to 6.6.3.
- [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.2...v6.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 11:29:12 -07:00
dependabot-preview[bot] aa3512c087 build(deps-dev): bump @wdio/cli from 6.6.2 to 6.6.3 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.6.2 to 6.6.3.
- [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.2...v6.6.3)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 11:28:51 -07:00
dependabot-preview[bot] 4c796d792b build(deps): bump instant from 0.1.6 to 0.1.7
Bumps [instant](https://github.com/sebcrozet/instant) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/sebcrozet/instant/releases)
- [Commits](https://github.com/sebcrozet/instant/compare/v0.1.6...v0.1.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 00:42:20 -07:00
Nathan Adams fd6431f724 core: Don't use std Instant as it doesn't work for web, use a wrapper 2020-10-11 13:34:15 -07:00
Nathan Adams 4abd02e2f7 core: Implement a timeout for script execution, defaulting to 15 seconds. Fixes #554 2020-10-11 13:34:15 -07:00
Mike Welsh 137ac2887e core: Don't mouse pick children when invisible (fix #1242) 2020-10-11 04:10:25 -07:00
Mike Welsh 253c231788 webgl: Don't panic when trying to draw unregistered bitmap
Avoids a panic in #1248.
2020-10-11 02:47:57 -07:00
Mike Welsh 4034ef8d79 web: Use PanicInfo::to_string for displaying panic info
PanicInfo::payload wasn't giving anything useful (just resulted
in 'Unknown error') -- to_string displays all of the message,
payload, and location of the panic. Particularly the location
is helpful.
2020-10-11 00:51:00 -07:00
Mike Welsh 2c9cf6802d core: Squelch false AS3 error before initial SWF loads 2020-10-10 19:28:01 -07:00
dependabot-preview[bot] 86171c9cb9 build(deps-dev): bump eslint from 7.10.0 to 7.11.0 in /web
Bumps [eslint](https://github.com/eslint/eslint) from 7.10.0 to 7.11.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.10.0...v7.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 18:50:44 -07:00
Mike Welsh 5c3dd25638 avm1: Avoid unwrap in Sound constructor
At least avoid the panic in this case, but it can possibly fail
(see #701).
2020-10-10 18:13:08 -07:00
Mike Welsh 8e8afedccf ci: Remove CircleCI (everything moved to GH Actions) 2020-10-10 17:57:12 -07:00
Mike Welsh 212645d9b9 demo: Remove query parameter support (fix #1255)
The 'file' query parameter is no longer necessary now that the
sample drop-down box was added, populated by swfs.json.
2020-10-10 17:48:39 -07:00
dependabot-preview[bot] 2c2a70e714 build(deps): bump syn from 1.0.43 to 1.0.44
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.43...1.0.44)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 16:35:50 -07:00
Mike Welsh 23660e49c9 core: Avoid panic due to invalid style IDs
If the shape converter encountered a fill/line style with an
ID > the number of styles, Ruffle would panic as it tried to grab
the non-existent style. This could occur if we mis-parsed some
shape data, or the SWF contained incorrect data. Now we the invalid
style is gracefully ignored.
2020-10-10 16:35:37 -07:00
Mike Welsh 4467ccf7e3 tests: Add swf test for bitmap line style 2020-10-10 16:35:37 -07:00
Mike Welsh ed99a15dee swf: Fill styles are byte aligned
A bitmap fill style ends in a matrix, but the overall type should
still be byte aligned. This could cause certain shapes with bitmap
line styles to be incorrectly parsed. Fixes #1192.
2020-10-10 16:35:37 -07:00
Nathan Adams aedf1aa11d exporter: Add -g and -p options to control graphics 2020-10-10 13:43:18 -07:00
Nathan Adams 536352a0d3 render: Move wgpu options out from desktop and into wgpu render crate 2020-10-10 13:43:18 -07:00
Mike Welsh 3689bb607d docs: Update demo link in docs 2020-10-10 01:15:48 -07:00
Mike Welsh 0650b095f6 ci: Upload nightly demo build to GitHub Pages 2020-10-10 01:15:48 -07:00
Mike Welsh 10aaae9247 chore: Appease nightly clippy 2020-10-10 00:03:25 -07:00
Toad06 904b5c1463 web: Add missing file for the case-insensitive test 2020-10-09 12:25:37 -07:00
Toad06 6589710a61 web: Add tests to check swf extension 2020-10-09 12:25:37 -07:00
Toad06 1643d2335e web: Correctly detect swf file extension 2020-10-09 12:25:37 -07:00
dependabot-preview[bot] 5a64c18bb9 build(deps-dev): bump copy-webpack-plugin from 6.2.0 to 6.2.1 in /web
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.2.0...v6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 12:23:13 -07:00
dependabot-preview[bot] 4af9632761 build(deps): bump syn from 1.0.42 to 1.0.43
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.42 to 1.0.43.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.42...1.0.43)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 12:22:43 -07:00
JustinCB d4fa329c54 web(test): Add test for fixed issue 2020-10-08 23:35:33 -07:00
JustinCB ce6b19f1b2 web: Add more try/catch's to stop error spam crashing sites 2020-10-08 23:35:33 -07:00
dependabot-preview[bot] 73e836f33b build(deps-dev): bump @wdio/local-runner from 6.6.0 to 6.6.2 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.6.0 to 6.6.2.
- [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.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-08 14:15:10 -07:00