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
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