Nathan Adams
0f4edf9574
avm2: Implement fscommand()
2023-07-26 17:00:15 +02:00
Nathan Adams
6b788faa9d
tests: Implement fscommand('quit') on test runner
2023-07-26 17:00:15 +02:00
Nathan Adams
1a0a82d898
core: Move fscommand execution outside of ExternalInterfaceProvider, so it can be implemented without causing ExternalInterface.available to become true
2023-07-26 17:00:15 +02:00
Nathan Adams
4252d035af
tests: Add issue to avm_plus ignored tests
2023-07-26 16:12:57 +02:00
Nathan Adams
3e7a7854ae
tests: Ignore failing avmplus tests
2023-07-26 16:12:57 +02:00
Nathan Adams
6b2813c022
tests: Port some avmplus tests over
2023-07-26 16:12:57 +02:00
sleepycatcoding
dc5cf083d2
tests: Add test for close event
2023-07-26 14:01:03 +02:00
sleepycatcoding
28f8937124
tests: Add read socket test (Little Endian)
2023-07-26 14:01:03 +02:00
sleepycatcoding
c3582464be
tests: Add socket read test (Big Endian)
2023-07-26 14:01:03 +02:00
sleepycatcoding
525c708fe8
tests: Fix some number ranges
...
Also reduce float precision.
2023-07-26 14:01:03 +02:00
sleepycatcoding
f23fe16557
tests: Write a signed short too
2023-07-26 14:01:03 +02:00
sleepycatcoding
b169671238
tests: Add test for socket write (Little Endian)
2023-07-26 14:01:03 +02:00
sleepycatcoding
4927d0c6b9
tests: Add test for socket write (Big Endian)
2023-07-26 14:01:03 +02:00
sleepycatcoding
d52f2a4409
tests: Add socket_connect test
2023-07-26 14:01:03 +02:00
sleepycatcoding
809e511656
chore: Remove accidental doc change
...
For some reason my IDE keeps adding random stuff :(
2023-07-26 14:01:03 +02:00
sleepycatcoding
9604b07518
tests: Allow passing path to mocket utility
...
Also use anyhow to remove some unwraps.
2023-07-26 14:01:03 +02:00
sleepycatcoding
a0e40287c9
tests: Rename socket-mock utility to mocket
2023-07-26 14:01:03 +02:00
sleepycatcoding
87ab1a22e9
chore: Fix clippy warning
2023-07-26 14:01:03 +02:00
sleepycatcoding
06e9656841
chore: fmt
2023-07-26 14:01:03 +02:00
sleepycatcoding
d5da477df8
tests: Improve socket testing backend
2023-07-26 14:01:03 +02:00
sleepycatcoding
c8b6a1cb4c
core: Send data directly to socket task
...
This improves socket latency. Sometimes the ping is better in Ruffle than
in Flash Player!
2023-07-26 14:01:03 +02:00
sleepycatcoding
f3917c8c62
core: Run async tasks until stalled
...
Previously it used run which tries to run until completion, but we can't do
that if we are testing socket behavior.
2023-07-26 14:01:03 +02:00
sleepycatcoding
5d29c909c6
tests: Use socket.json when running tests
2023-07-26 14:01:03 +02:00
sleepycatcoding
3e8ee00a67
tests: Move SocketEvent into ruffle_socket_format crate
2023-07-26 14:01:03 +02:00
sleepycatcoding
88626b7212
tests: Add experimental socket_mock tool
...
This is used to help to create/test socket.json files against real Flash Player to verify behavior.
2023-07-26 14:01:03 +02:00
Nathan Adams
a7c6a8bb77
chore: Update libz-sys to 1.1.12
2023-07-26 13:19:14 +02:00
TÖRÖK Attila
d1a94c5d24
tests: Don't exclude WARP from visual tests of blur
2023-07-26 13:03:11 +02:00
TÖRÖK Attila
2e721fdcbe
tests: Update the expected output of some visual blur tests
2023-07-26 13:03:11 +02:00
TÖRÖK Attila
9fa3a11b22
tests: Add a visual test for equivalence of blur quality/repetition and filters/applyFilter
2023-07-26 13:03:11 +02:00
TÖRÖK Attila
5f840bf103
tests: Add a visual test for blur filter quality
2023-07-26 13:03:11 +02:00
TÖRÖK Attila
41377c5472
swf: Different blur impotency check
2023-07-26 13:03:11 +02:00
TÖRÖK Attila
365f6bee6e
avm2: Clamp filter quality to (0, 15) instead of (1, 15)
2023-07-26 13:03:11 +02:00
TÖRÖK Attila
1c1a4aee18
wgpu: Don't use blur pass scaling (it was observed to not be needed)
2023-07-26 13:03:11 +02:00
Aaron Hill
a91b0cf5cb
avm2: Don't error in DisplayObject.removeChildren when `to` is max
...
Our previous special-case wasn't broad enough
2023-07-25 21:44:23 -04:00
renovate[bot]
3326aef6a8
chore(deps): lock file maintenance node.js dependencies
2023-07-25 17:42:46 +02:00
Aaron Hill
3c64e8e249
avm2: Implement AMF Vector serialization/deserialization
...
Some of the tests are currently disabled because (separate from this PR)
we can't actually run `toString()` on a Vector.<Object>, due to our
broken vector handling.
2023-07-25 09:35:50 -04:00
Lord-McSweeney
38b4357f59
avm1: Implement Button.filters
2023-07-25 14:20:36 +02:00
CUB3D
7346f9f6cb
avm1: Differentiate between clips with no name set and empty string names
2023-07-25 08:25:37 +02:00
renovate[bot]
3e63a88c34
chore(deps): lock file maintenance rust dependencies
2023-07-25 08:23:28 +03:00
TÖRÖK Attila
1c0fff9e12
tests: Update the expected output of the avm2/bitmapdata_sync visual test
2023-07-25 00:38:08 -04:00
TÖRÖK Attila
cee19c5735
core: Fix dirty region set by bitmap::set_pixel
2023-07-25 00:38:08 -04:00
sleepycatcoding
f2c9237ea1
avm2: Allow setting prototype to undefined ( #12282 )
...
* avm2+tests: Allow setting prototype to undefined
This is used internally by Adobe Flex in many places. Also add test.
* avm2: Set prototype when constructing a Function with null prototype
* tests: Expand prototype_set_null test
* chore: fmt
2023-07-24 20:41:38 +00:00
Aaron Hill
7a5c729d63
core: Use a slightly better DefineFont4 stub
...
This makes a Character available for a SymbolClass to link with
2023-07-24 14:58:01 -04:00
Nathan Adams
92e3e44453
avm1: Reverse iteration when applying filters - fixes #12272
2023-07-24 13:44:02 +02:00
relrelb
5f6d8d72ea
render: Skip unreasonably large bitmaps
...
Some SWFs report unreasonable bitmap dimensions, and trying to reserve
enough capacity for them always fails. To avoid panics, skip those bitmaps.
Fixes #1191
Fixes #2759
Fixes #10701
2023-07-24 09:37:37 +03:00
TÖRÖK Attila
0d1f7f8dcc
tests: Increase the tolerance of visual tests for the bevel filter slightly
...
To accomodate platform differences.
2023-07-24 04:44:22 +02:00
TÖRÖK Attila
e14b92ae3b
tests: Update visual test images due to slightly different blur algorithm
2023-07-24 04:44:22 +02:00
TÖRÖK Attila
0cf6a68d05
wgpu: Make the blur filter support fractional sizes fairly accurately
2023-07-24 04:44:22 +02:00
TÖRÖK Attila
7fe1c71257
tests: Add a visual test for fractional blur strength
2023-07-24 04:44:22 +02:00
Nathan Adams
9c661a14c3
tests: Port Shumway's avm1 tests over
2023-07-24 04:26:14 +02:00