Nathan Adams
10ec9a1a74
avm2: Replaced stubs in namespace with new format (but still err as I don't know what to return otherwise)
2023-02-01 21:45:12 +01:00
Nathan Adams
8f53f5414c
avm2: Replaced stubs in bitmap with new format
2023-02-01 21:45:12 +01:00
Nathan Adams
44981af409
avm1: Replaced all existing stub warnings with new stub system
2023-02-01 21:45:12 +01:00
Nathan Adams
366f8bef43
core: Add feature known_stubs to retrieve all known stubs
2023-02-01 21:45:12 +01:00
Nathan Adams
4a0529dedc
core: Add Stub and StubCollection for tracking stubs used during a movie
2023-02-01 21:45:12 +01:00
renovate[bot]
caaf6d5c87
fix(deps): update rust dependencies
2023-01-31 09:39:42 -06:00
Aaron Hill
e91f586523
desktop: Bump cpal to 0.15.0
...
`build_output_stream` now takes in a `timeout` parameter - I've
passed in `None` to keep the current behavior.
cpal addded lots of new `SampleFormat` enum values. For now, I'm
just returning an error if we encounter any of them - a quick test
showed that desktop audio is still working on my Linux machine.
2023-01-31 16:15:16 +01:00
David Wendt
4c8b225ddd
web: Version seal needs to run inside `npm` in order to get a version number
2023-01-31 15:57:30 +01:00
David Wendt
d629459a29
web: Demo should have a version seal
2023-01-31 15:57:30 +01:00
David Wendt
c7c1e845aa
core: Exclude all `node_modules` directories from the reproducible archive.
...
Yes, having local copies of `node_modules` is technically a reproducibility win, but ZIPping them breaks them.
2023-01-30 21:03:47 +01:00
David Wendt
6ad6912309
web: Seal version data in the extension manifest, too.
2023-01-30 17:58:57 +01:00
TÖRÖK Attila
15c7b6520b
chore: Bump h263-rs to latest master
2023-01-29 17:24:28 -06:00
Nathan Adams
06361ce01d
tests: Add overlay_onto_stage test to ensure blend buffers are cleared before use
2023-01-29 20:45:01 +01:00
Nathan Adams
5dd3060a28
wgpu: Ensure we clear before blending an object onto nothing
2023-01-29 20:45:01 +01:00
nosamu
009019d106
docs: Add info about DO render tree display
2023-01-29 11:58:59 -06:00
nosamu
5ee3b821dd
core: Fix DO render tree display
2023-01-29 11:58:59 -06:00
Moulins
e36b03bce9
core::html: correctly encode text in FormatSpans::to_html
...
Fixes issue #9327
2023-01-29 11:19:16 -06:00
CUB3D
f829157deb
avm1: Defining a local that already exists on the target of a with scope, defines it on the target not the parent
2023-01-29 18:05:25 +01:00
nosamu
cfa3363416
web: Construct SwfMovie with spoofed URL when loaded from data
2023-01-29 17:55:55 +01:00
Aaron Hill
c6eb25194e
core: Bump flash-lso to latest commit
...
This deduplicates some dependencies, and removes
a future-incompat warning from `nom`.
2023-01-29 17:31:10 +01:00
Nathan Adams
7b1c101c81
wgpu: Fix repeat & reflect gradients
2023-01-29 17:17:44 +01:00
Nathan Adams
85dc100ee9
avm2: Implement Sprite.dropTarget - though it's wrong right now
2023-01-29 00:52:52 +01:00
Nathan Adams
d918d47f66
tests: Temporarily remove EditText from text_blocks_clicks as it's broken in ruffle atm
2023-01-29 00:39:06 +01:00
Nathan Adams
8108e64bfa
tests: Add avm1 text_blocks_clicks test
2023-01-29 00:39:06 +01:00
Daniel Jacobs
6697848b92
avm1: Don't ignore mouse_pick on static text ( fix #9274 )
2023-01-29 00:39:06 +01:00
Aaron Hill
184734267d
tests: Deny unknown fields when deserializing test.toml files
...
This will catch typos and misplaced options when modifying tests.
2023-01-28 16:27:43 -06:00
Daniel Jacobs
b00628f45d
avm2: Add warning to MouseEvent.updateAfterEvent
2023-01-28 14:31:52 -06:00
Daniel Jacobs
65a0aaeb7b
avm2: Stub MouseEvent.updateAfterEvent
...
Basically a direct copy of https://github.com/ruffle-rs/ruffle/pull/7653
2023-01-28 14:31:52 -06:00
Nathan Adams
b14831417a
tests: Added avm2 click_test test from #9287 , ignored as it fails
2023-01-28 13:13:37 -07:00
Nathan Adams
666a55e503
tests: Added avm1 click_test test from #9287 , ignored as it fails
2023-01-28 13:13:37 -07:00
Aaron Hill
daeb132e53
tests: Handle trailing newlines more consistently
...
Previously, we would strip trailing newlines from the contents
of 'output.txt' files, and skip adding a trailing newline after
the final recorded `trace` call.
To reduce the amount of processing we do of expected/ruffle output,
and to make fpcompare tests easier, I've removed the special handling
of newlines. When recording `trace` calls, we now build up a single
large `String`, with a newline after every `trace` message. When
reading in an 'output.txt' file, we do not strip any newlines.
This required adding trailings newlines to lots of 'output.txt' files,
to match the behavior of Ruffle and Flash (the last 'trace' message
ends with a newline, just like every other 'trace' message).
2023-01-28 13:59:00 -06:00
p0008874
9bdc02e3a7
Update main.rs
2023-01-28 12:43:21 -07:00
p0008874
520248bc1d
Add detail on dont_warn_on_unsupported_content
2023-01-28 12:43:21 -07:00
Nathan Adams
48c9cdd5ad
tests: Ported visual tests from ruffle-rs/visual-tests repo
2023-01-28 12:15:59 -07:00
Nathan Adams
65c91fba87
ci: Enable image tests on mac
2023-01-28 12:15:59 -07:00
Nathan Adams
a6c6ae13fe
tests: Adjust tolerance of existing image tests
2023-01-28 12:15:59 -07:00
Nathan Adams
051927775c
tests: Clippy lint
2023-01-28 12:15:59 -07:00
Nathan Adams
9c4190b20b
tests: Readd suffix to actual/difference files
2023-01-28 12:15:59 -07:00
Nathan Adams
67ec70d960
tests: Set default log filter to warn for wgpu
2023-01-28 12:15:59 -07:00
Nathan Adams
cdb2c5fe04
tests: Allow image tolerance & max_outliers on image comparison tests. Changed all existing image tests to use 1 sample count since this changes them all anyway
2023-01-28 12:15:59 -07:00
Nathan Adams
d70d9067ec
tests: Fix clippy lints
2023-01-28 12:15:59 -07:00
Nathan Adams
4ef88eaaa0
tests: Fix imgchecks feature compiling
2023-01-28 12:15:59 -07:00
Nathan Adams
c73aa5b9d5
tests: Add sample_count to render options
2023-01-28 12:15:59 -07:00
Nathan Adams
cbe17c4455
tests: Filter early to avoid creating test info (and thus wgpu) for tests that won't run
2023-01-28 12:15:59 -07:00
Nathan Adams
9b43836d1d
tests: Allow executing of with_renderer tests always, but image comparison is still gated
2023-01-28 12:15:59 -07:00
Nathan Adams
836468b6dd
tests: Add player_options.with_renderer option, automatically set when image = true
2023-01-28 12:15:59 -07:00
Nathan Adams
6acf6009ef
tests: Made PlayerOptions non optional (just empty default), and it works with a PlayerBuilder instead of a Player
2023-01-28 12:15:59 -07:00
Nathan Adams
e614f788af
tests: Refactor code so all testing goes through Test::test(), allows for approximations with custom hooks
2023-01-28 12:15:59 -07:00
Nathan Adams
8b02045c6b
tests: Readd custom assert_eq
2023-01-28 12:15:59 -07:00
Nathan Adams
a340318486
tests: Refactor runner methods to take in &Test and not direct values
2023-01-28 12:15:59 -07:00