Aaron Hill
1d883688e0
avm2: Correctly check when toJSON is missing, and use vtable properties
...
We were previously calling `get_property` to determine if a `toJSON`
property exists, but that produces an error if the method is missing
on a sealed class.
Additionally, JSON serialization wasn't taking into account properties
from the vtable. All public properties (including fields, const fields,
and getter methods) get serialized.
Unfortunately, our vtable property order currently doesn't match
Flash's. I've hand-edited the test output for now (all of the actual
properties are there, just in a different order), and added a note
2023-03-03 15:34:26 -06:00
Adrian Wielgosik
1ba3ec0bf0
avm2: Implement BitmapData.getVector
2023-03-03 12:47:54 +01:00
Aaron Hill
a07ff36726
avm2: Implement describeType
...
This includes all of the XML elements described in 'describeType' docs.
Unfortunately, the order of elements produced by Flash depends on
the iteration order of internal hashtables. As a result, the test
manually stringifies an XML object, sorting the stringified children,
to produce consistent output between Flash and Ruffle.
2023-03-02 20:37:59 -06:00
Nathan Adams
fcaa17308c
avm2: Workaround haxe calling addChild(this) before super()
2023-03-02 00:38:24 +01:00
Nathan Adams
6e5e8b13fc
core: Use a lookup table in Color::to_un_multiplied_alpha to match Flash's output
2023-03-01 23:24:35 +01:00
CUB3D
4723c0414b
avm1: Remove resolved todos, add comment and test about known reference launder issue
2023-03-01 22:36:39 +01:00
CUB3D
38f897eff4
test: Even more tests
2023-03-01 22:36:39 +01:00
CUB3D
af9810c22e
avm1: More scope fixes
2023-03-01 22:36:39 +01:00
CUB3D
ca0e2488cb
avm1: Dont double borrow the cache, update test output
2023-03-01 22:36:39 +01:00
CUB3D
6d4c04c1c3
avm1: Cleanup todos, add even more tests
2023-03-01 22:36:39 +01:00
CUB3D
6ba75d6045
avm1: Refactor movieclip path logic
2023-03-01 22:36:39 +01:00
CUB3D
6f13276341
tests: Uniform test naming
2023-03-01 22:36:39 +01:00
CUB3D
11d76fc2c4
tests: Add more string paths tests
2023-03-01 22:36:39 +01:00
CUB3D
c71070f015
tests: Add string paths keypress event test, add support for keydown in input.json
2023-03-01 22:36:39 +01:00
CUB3D
619dbe8566
test: Add test for clip constructors and timers
2023-03-01 22:36:39 +01:00
CUB3D
71a58db8a4
test: Add test for unload and variable scopes
2023-03-01 22:36:39 +01:00
CUB3D
03f5fd8154
test: Add test for string paths aliasing
2023-03-01 22:36:39 +01:00
CUB3D
87947976d3
test: Add test for basic string paths
2023-03-01 22:36:39 +01:00
CUB3D
b43510535f
test: Add button v5/v6 tests
2023-03-01 22:36:39 +01:00
Aaron Hill
076016b1be
avm2: Get XMLList 'filter' syntax working
...
This requires the ability to do a limited 'set_property',
as well as `get_enumerant_value`.
To prevent modification of XMLLists derived from queries,
I've introduced a `target` field on `XMLList`. This is
`None` for lists created with `new XMLList()`, and `Some`
when the list was derived from a query on an existing `XML`
/`XMLList`. We only allow `set_property` when `target` is `None`:
this is enough for filtering to work, and prevents silent incorrect
execution when trying to modify an existing node.
2023-03-01 12:04:02 -06:00
Aaron Hill
44a301e16a
avm2: Add `attribute` and `attributes` methods to `XML/XMLList`
2023-03-01 10:51:21 -06:00
Aaron Hill
78c9de7b8f
avm2: Fix constructing empty XMLList
...
A default empty text node should only be created for XML.
2023-03-01 15:57:34 +01:00
EmperorBale
93ce5e2328
tests: Extend loader_applicationDomain test
2023-02-28 13:04:24 -08:00
Nathan Adams
f79015e201
render: Use swf Filter types where possible. Gradient types had to be split into duplicate classes to allow for different trait impls based on which gradient filter type it is.
2023-02-28 16:25:12 +01:00
Nathan Adams
a7edeb4638
tests: Add avm2/gradient_glow_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Nathan Adams
d869a6e0ab
tests: Add avm2/gradient_bevel_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Nathan Adams
0a40a2d43f
tests: Add avm2/glow_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Nathan Adams
bfee81485d
tests: Add avm2/drop_shadow_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Nathan Adams
238b25daf5
tests: Add avm2/displacement_map_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Nathan Adams
30a114a441
tests: Add avm2/convolution_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Nathan Adams
ec605db19c
tests: Add avm2/color_matrix_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Nathan Adams
aabfc6c9c0
tests: Add avm2/blur_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Nathan Adams
e240bf8472
tests: Add avm2/bevel_filter test for swf->core->avm2 and avm2->core->avm2 testing
2023-02-28 16:25:12 +01:00
Aaron Hill
54eb6e33ca
avm2: Ignore XML comments and processing instructions by default
...
This matches the default value of the settings on XML.
2023-02-27 15:53:39 -06:00
Aaron Hill
82d03b4062
avm2: Ignore XML declaration and doctype
...
These are completely ignored by AVM2
2023-02-27 13:41:18 -06:00
Aaron Hill
c04b463f1f
avm2: Implement XML.children, XMLList.children, and related methods
2023-02-27 13:25:16 -06:00
Aaron Hill
7f58b92348
avm2: Implement encodeURI and encodeURIComponent
2023-02-27 12:40:39 -06:00
Nathan Adams
cfcd257932
avm2: Xml(foo) converts foo to string
2023-02-27 17:37:28 +01:00
Aaron Hill
f9fc4b3179
avm2: Store interfaces from superclases/superinterfaces in ClassObject ( #9728 )
2023-02-25 23:57:50 +00:00
Aaron Hill
c7709dffec
avm2: Handle Event::CData when parsing XML
2023-02-25 17:26:31 -06:00
Adrian Wielgosik
8bdf215462
avm2: Add a test for box-then-to-bool bug
2023-02-25 23:31:17 +01:00
Aaron Hill
b26f2fd6fb
avm2: Initial incomplete implementation of XML ( #9647 )
2023-02-25 20:06:36 +00:00
EmperorBale
216bb1bb28
tests: Add test for duplicate definitions
2023-02-24 11:55:58 -08:00
Nathan Adams
edd7f80341
wgpu: Fix blown out colors when transforming them above 100% - fixes #9698
2023-02-24 19:01:41 +01:00
Aaron Hill
455124d3ba
render: Fix blending onto BitmapData contents
...
When rendering to an offscreen texture for `Bitmapdata.draw`,
we first render to a temporary frame buffer, and then copy the contents
of the frame buffer back to the target texture. However, this results
in blend modes being incorrectly applied - for example, rendering with
BlendMode.SUBTRACT will subtract against the framebuffer (which starts
with each pixel as 0x00000000), instead of the previous BitmapData
contents.
To fix this, we now use our texture target as the frame buffer
when performing `render_offscreen`. This ensure that we blend
over existing pixels (taking into account the `blendMode` provided
in the `BitmapData.draw` call).
When multisampling is enabled, we use a copy pipeline to copy
the existing contents of our texture to a fresh multisampled frame
buffer (the non-multisampled texture target becomes our resolve buffer).
2023-02-23 09:52:56 -06:00
Nathan Adams
e17b154d47
avm2: Iterate the inheritance chain for class-symbol linkage
2023-02-22 22:27:13 +01:00
Aaron Hill
c258423dc3
avm2: Allow resolving interfaces before ClassObjects are available
...
The Adobe Animate compiler can emit a 'newclass' opcode for
a concrete class before the 'newclass' opcodes for the interfaces
it implements. As a result, we cannot rely on looking up an interface
`ClassObject` when resolving a class's interfaces.
We now store a map of exported classes in `Domain`, and use this
to lookup interfaces before their `ClassObject`s have been created.
Additionally, `link_interfaces` was failing to consider superinterfaces,
which meant that methods from superinterfaces were not being copied
into the vtable. I've fixed this along with the other changes.
2023-02-22 14:41:01 -06:00
Bale
2cfa97e84d
avm2: ByteArray.readUTF/readUTFBytes should cut off after null byte ( #9673 )
...
* avm2: Fix #9668
* tests: Extend ByteArray test
2023-02-22 18:47:59 +00:00
Nathan Adams
a550c877f6
tests: Update avm2/simplebutton_constr_params test to check the button on frame 2
2023-02-22 18:49:04 +01:00
Nathan Adams
aef466f8f3
avm2: Implemented BitmapData.drawWithQuality
2023-02-22 17:36:55 +01:00
Lord-McSweeney
74640ed44e
tests: Remove ^M characters from Dictionary tests ( #9656 )
...
* Remove ^M characters from Dictionary test
Using Github's automatic line ending conversion to CRLF.
* Remove ^M characters from dictionary_delete test
* Remove ^M characters from dictionary_in test
2023-02-22 09:57:50 +02:00
nosamu
1e2ab9cd0e
tests: Add new clipDepth test
2023-02-21 16:39:42 +02:00
EmperorBale
fa6d01c505
tests: Extend `movielcip.gotoAndPlay` test
2023-02-17 18:46:43 -08:00
EmperorBale
46bd6bbee9
tests: Add test for scopechain resolution order
2023-02-18 01:37:12 +01:00
CUB3D
f7b0c021a9
avm1: The this property should be mutable
2023-02-17 14:39:10 -06:00
Aaron Hill
4149913967
core: Introduce dedicated avm2 mouse picking logic ( #9565 )
...
The mouse picking behavior in AVM2 interacts in complicated
ways with `mouseEnabled` and `mouseChildren.` It's sufficiently
different from AVM1 that I decided to split the logic into separate
`mouse_pick_avm1` and `mouse_pick_avm2` methods.
The `mouseChildren` property is now fully implemented.
Additionally, the `click_block` tests now work correctly
under Ruffle.
Combined with the orphan-movie PR, this is enough to make
SteamBirds fully playable (though performance greatly degrades
over a course of a level).
2023-02-17 19:04:52 +00:00
TÖRÖK Attila
c9864bbeb4
tests: Require the "mp3" feature of core as well, just to be sure.
2023-02-16 06:23:35 +01:00
TÖRÖK Attila
0e1bddff65
tests: Fix build when running from inside the `tests` folder.
2023-02-16 06:23:35 +01:00
Aaron Hill
4e25a4fcae
avm1: Add ignored test for strange rewind behavior
...
Ruffle doesn't correctly remove certain objects from the stage
when processing an AVM1 rewind goto.
2023-02-15 15:21:29 -06:00
EmperorBale
1e12f2d49b
tests: Add test for finddef opcode
2023-02-14 14:22:02 -08:00
TÖRÖK Attila
35e21ce51d
tests: Add a regression test for SoundMixer.computeSpectrum()
2023-02-14 18:47:33 +01:00
TÖRÖK Attila
4d0fee0cf8
tests: Add TestAudioBackend, used only on request
2023-02-14 18:47:33 +01:00
Adrian Wielgosik
5eb887c628
avm2: Stub describeType to have .@name work
2023-02-13 23:55:00 +01:00
Aaron Hill
a52a41de97
core: Fix stageX and stageY getters for MouseEvent
...
These getters were previously calling `local_to_global`
with the unused localX/localY coordinate set to 0. Howver,
`local_to_global` does a matrix multiplication, which in general
will depend on both the x and y values. This was causing the getters
to return incorrect results when any of the `transform.matrix` values
included a non-diagonal matrix.
We now call `local_to_transform` with the real `localX` and `localY`
values.
2023-02-13 21:19:20 +01:00
Aaron Hill
c597f9f996
core: Fix Clippy lints on nightly
2023-02-13 03:38:54 +01:00
Bale
73e9fd55fb
avm2: Make sure scripts get initialized after all scripts have been loaded when lazy init is disabled ( #9478 )
...
* avm2: Initialize scripts **after** all scripts have been loaded
* tests: Add test for eager initialization
2023-02-11 00:38:38 +00:00
Aaron Hill
4b76d1b32a
core: Support using URLVariables as a POST request body ( #9489 )
...
This is needed by the Newgrounds API. We don't have the ability
to make fake requests to HTTP urls in our test frameworks,
so I haven't added any tests for this. However, I tested locally
that this allows the Newgrounds API to work (and got a medal
in Cloud Wars).
2023-02-11 00:18:10 +00:00
nosamu
a2cd3ee06e
tests: Update fills_and_lines expected image
2023-02-10 23:43:01 +01:00
golfinq
37ec94f95b
Avm2: Implement Stage.invalidate
2023-02-08 17:47:21 -07:00
Adrian Wielgosik
61a5161a20
avm2: Convert most errors in get/set/initproperty to AVM errors
2023-02-07 18:50:15 -06:00
Adrian Wielgosik
c844d2ab6f
avm2: Only store actually-passed arguments to 'arguments'
2023-02-07 18:35:30 -06:00
Nathan Adams
dff558170e
avm2: Implement BitmapData.getPixels()
2023-02-07 19:10:25 +01:00
Nathan Adams
43d9c3deed
avm2: Make sure SoundChannel.soundTransform always returns a value
2023-02-07 18:26:27 +01:00
Nathan Adams
bc7773596b
avm2: addFrameScript allows null to unset the script, and only allows one script per frame
2023-02-07 18:26:27 +01:00
CUB3D
48f4df51a5
avm1: Correct depth calculation for AVM1 clips pending removal and add tests
2023-02-06 10:53:45 -07:00
CUB3D
6b6e07c7cb
test: Update unload fla
2023-02-06 10:53:45 -07:00
CUB3D
2d11a250da
avm1: Retrieving the child of a container should prioritise lowest depth
2023-02-06 10:53:45 -07:00
CUB3D
a356be15fe
avm1: Only delay removals on AVM1, check for dynamic unload handlers
2023-02-06 10:53:45 -07:00
CUB3D
755425ebfa
avm1: Delay clip removals when a child has an unload listener
...
When removing a clip, first check if it has an unload event listener somewhere
it's hierarchy.
If it does, enqueue the removal to happen on the next frame, by moving it to a negative depth.
2023-02-06 10:53:45 -07:00
Nathan Adams
a220703618
core: Made PlayerBuilder take quality instead of setting it after the Player was made
2023-02-06 16:08:04 +01:00
Nathan Adams
1cb3ea7bf9
wgpu: Store quality, not sample_count, and calculate the correct sample count per format
2023-02-06 16:08:04 +01:00
Nathan Adams
00c7e8f634
avm2: Fixed bytearray compress/decompress methods setting position of resulting bytearray
2023-02-05 19:22:01 +01:00
Nathan Adams
e73389aa71
wgpu: Implement blur filter
2023-02-05 18:41:43 +01:00
Nathan Adams
284a58c817
avm2: Implement BitmapData.apply_filter for ColorMatrixFilter
2023-02-05 18:41:43 +01:00
Nathan Adams
5e2f1a66eb
tests: Enable tests that no longer need to be ignored
2023-02-04 15:26:45 -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
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
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
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
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
Nathan Adams
48c9cdd5ad
tests: Ported visual tests from ruffle-rs/visual-tests repo
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
Nathan Adams
56bc2b5051
tests: Added Test::should_run()
2023-01-28 12:15:59 -07:00
Nathan Adams
dda8debadc
tests: Move shared object tests to their own file
2023-01-28 12:15:59 -07:00
Nathan Adams
792d68d370
tests: Move TestLogBackend to runner
2023-01-28 12:15:59 -07:00
Nathan Adams
99da686822
tests: Move external interface tests to their own file
2023-01-28 12:15:59 -07:00
Nathan Adams
ccc7c0a424
tests: Move ExternalInterfaceTestProvider to its own mod
2023-01-28 12:15:59 -07:00
Nathan Adams
c5ab440083
tests: Move run_test(test) to Test::run()
2023-01-28 12:15:59 -07:00
Nathan Adams
6384034e47
tests: Move test_swf_with_hooks to util/runner
2023-01-28 12:15:59 -07:00
Nathan Adams
ce8cb9501b
tests: Move test_swf_approx to util/runner
2023-01-28 12:15:59 -07:00
Nathan Adams
818897b74e
tests: Move run_swf to util/runner
2023-01-28 12:15:59 -07:00
Nathan Adams
4418431bfe
tests: Move assert_eq to utils
2023-01-28 12:15:59 -07:00
Nathan Adams
a741f373b4
tests: Take in a &Path for various paths
2023-01-28 12:15:59 -07:00
Nathan Adams
83af3e6b4e
tests: Extract Test struct that contains all the info for a test
2023-01-28 12:15:59 -07:00
Nathan Adams
ff8506d351
tests: Extract TestOptions::read() for parsing a file
2023-01-28 12:15:59 -07:00
Nathan Adams
316df5b415
tests: Extract TestOptions into its own file
2023-01-28 12:15:59 -07:00
Nathan Adams
7d234956eb
tests: Move tests away from giant macro to individual test.toml files that describe the test
2023-01-27 13:53:43 +01:00
Aaron Hill
6fe7af58d5
Move back to upstream wgpu repository
...
We're relying on unreleased changes, so we depend on the latest commit
from their repository.
2023-01-23 11:31:04 +01:00
EmperorBale
954a7513f8
tests: Update date tests
2023-01-16 21:48:00 +01:00
Nathan Adams
8db8e4669a
wgpu: Implement Multiply blend mode as a trivial blend
2023-01-12 10:54:03 -05:00
Nathan Adams
09608c2abc
wgpu: Implement Screen blend mode as a trivial blend
2023-01-12 10:54:03 -05:00
dependabot[bot]
b7986406a8
build(deps): bump regex from 1.7.0 to 1.7.1
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.7.1 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 14:27:19 +02:00
MrCheeze
d1b01c9db7
tests: Update AVM2 currentLabels test for case insensitivity
2023-01-10 11:28:56 -05:00
CUB3D
ea6ea8074a
tests: Add tests for BitmapData.threshold, fix issues found as a result
2023-01-10 13:59:06 +01:00
MrCheeze
c2ad376e2c
tests: Add test for AVM2 hitTestPoint (without shapeFlag) and hitTestObject.
...
This is a port of a similar regression test written for AVM1.
AVM1 also has a test for hitTestPoint with shapeFlag=true, but it can't
be ported for now, because the implementation of AVM2 hit testing is not
yet accurate enough for it.
2023-01-10 12:53:20 +01:00
Nathan Adams
7a9e8b4771
core: Made NullNavigatorBackend no longer use unwraps
2023-01-10 11:10:46 +01:00
CUB3D
84d0111a14
avm1: Add test for with scope nesting
2023-01-10 10:34:10 +01:00
CUB3D
ca82ff65de
avm1: Defining a local in a with scope should actually define it on the parent scope
2023-01-10 10:34:10 +01:00
Aaron Hill
40d8751d67
avm2: Implement clipRect parameter for BitmapData.draw
2023-01-08 16:11:55 -05:00
Aaron Hill
1b71e288fd
Remove 'gc_context lifetime
...
The latest `gc-arena` makes this unnecessary - we can just
use our `'a` lifetime for `MutationContext`
2023-01-06 19:20:39 -05:00
MrCheeze
41df7fdc59
avm2: For old swf versions, invalid goto labels jump to frame 1 ( fix #8954 )
...
The regression test for this was edited directly in JPEXS, so there is
no corresponding fla to compile into the swf.
2023-01-03 17:10:06 -07:00
MrCheeze
77104ca473
avm2: Improve accuracy of gotoAndPlay / gotoAndStop (partially fix #8954 )
...
Partially based on AVM1 implementation, partially based on the new
regression tests added in this commit.
2023-01-03 17:10:06 -07:00
nosamu
664a86161a
avm2: Fix `for each..in` loops over Dictionary values
2023-01-03 16:52:15 -07:00
Nathan Adams
c6045a4f24
wgpu: Multiply can't be trivial blend mode because of 0 alpha
2023-01-03 03:39:13 +01:00
Nathan Adams
df8ead3f96
tests: New multiply blend mode image
2023-01-03 03:39:13 +01:00
Nathan Adams
81f4741300
wgpu: Default msaa on mobiles to 2x, same as webgl backend
2023-01-03 03:39:13 +01:00
Nathan Adams
864f404f2f
tests: Add blendmode visual tests
2023-01-03 03:39:13 +01:00
Nathan Adams
45339e037e
tests: Added new output of bitmapdata_draw tests for github agents. Seems visually identical.
2023-01-03 03:39:13 +01:00
EmperorBale
0e2fbe4cf7
tests: Update date tests
2023-01-02 11:43:03 -08:00
EmperorBale
8b9bae8ca6
tests: Add test for LoaderContext.applicationDomain
2022-12-28 17:25:11 -05:00