Nathan Adams
eb72cfb498
tests: Removed the need for test framework to depend on libtest_mimic
2023-11-10 22:02:18 +01:00
Nathan Adams
2b450af8d5
tests: Test framework doesn't need walkdir
2023-11-10 22:02:18 +01:00
Nathan Adams
bce0608e1f
tests: Move all wgpu code out of test framework, make it abstract over any/no renderer, and make wgpu option if imgtests isn't enabled
2023-11-10 22:02:18 +01:00
Nathan Adams
673d52f013
tests: Move test framework into its own crate
2023-11-10 22:02:18 +01:00
Lord-McSweeney
2f5166790c
chore: Update flash-lso
2023-11-10 18:26:02 +01:00
Nathan Adams
fe2ff4f242
chore: Update flash-lso
2023-11-09 20:01:52 +01:00
Nathan Adams
e6c46d22f2
avm2: Implement NetConnection.send and NetConnection.addHeader
2023-11-09 12:39:22 +01:00
renovate[bot]
acadb2b2d3
fix(deps): update wasm-bindgen
2023-11-07 12:18:50 +01:00
CUB3D
b0d88645bc
avm1: Implement FileReference
2023-11-03 19:32:24 +01:00
renovate[bot]
1377a5b07b
fix(deps): update rust dependencies
2023-11-01 00:45:43 +01:00
Aaron Hill
84f788c2d2
avm2: Use RawTable to implement 'public index' iteration ( #12470 )
...
* avm2: Use RawTable to implement 'public index' iteration
This makes our implementation more closely aligned with avmplus.
In particular, it's now possible to delete keys from an object
while iterating without disturbing the iteration order (as long
as those keys were already produced by the iterator).
This is based on @Bale001's work on RawTable-based iteration
A few tests had their output changed (they depend on the exact
object iteration order, and don't neccessarily match Flash Player
exactly).
* Use Cell to store index fields
* Remove outdated comment
2023-10-28 20:44:01 +00:00
TÖRÖK Attila
0c0b86c008
core,web: Replace `instant` with `web-time`
2023-10-28 03:01:45 +02:00
renovate[bot]
7b3ae30fbf
fix(deps): update rust crate async-io to v2
2023-10-23 13:05:02 +02:00
renovate[bot]
cd01bfe7d6
fix(deps): update rust dependencies
2023-10-23 02:55:11 +02:00
TÖRÖK Attila
627e8c8063
core: Switch dasp from a git revision to v0.11.0
2023-10-17 21:31:18 +02:00
renovate[bot]
b427940431
fix(deps): update rust dependencies
2023-10-16 09:51:22 +02:00
TÖRÖK Attila
0a9be1592c
chore: Run `cargo update`
2023-10-16 00:03:37 +02:00
TÖRÖK Attila
6c5187621d
build: Switch back to the v0.17 branch in the main wgpu repo
2023-10-16 00:03:37 +02:00
sleepycatcoding
d3765027f0
web: Use gloo_net instead of manually using web_sys
...
This relieves some headaches with on connect callback and spawning of the
sending async task, since some SWFs like to send data before the connect event
is called.
2023-10-15 12:00:41 +02:00
renovate[bot]
18796a67fe
fix(deps): update rust dependencies
2023-10-10 02:15:59 +02:00
TÖRÖK Attila
602154b1b7
core,desktop: Switch to egui v0.23.0
...
Since it's compatible with wgpu 0.17.x.
2023-10-09 18:51:01 -04:00
TÖRÖK Attila
214c5d3bf7
chore: Run `cargo update`
2023-10-04 19:19:51 -04:00
renovate[bot]
428e89af73
fix(deps): update rust dependencies
2023-10-04 19:19:51 -04:00
Aaron Hill
25cf77c4a2
desktop: Handle cookies and Content-Type for HTTP requests
...
Both of these are handled automatically by the browser in the
web backend. This makes the desktop client store cookies between
requests (though they are discarded when the desktop player is closed),
and set the "Content-Type" header based on the mime-type supplied
in the URLRequest.
2023-10-02 19:41:39 -04:00
Aaron Hill
2dcd783261
render: Disable wgpu unused shader output check when possible
...
Since wgpu hasn't yet released a version with this feature, I manually
backported it to the 0.17 branch.
This doesn't work on Windows (HLSL), but works on all other platforms.
2023-09-30 17:59:36 -04:00
Aaron Hill
ec7a8ac645
avm2: Add support for Stage3D bytearray/compressed textures ( #13180 )
2023-09-28 03:03:30 +00:00
renovate[bot]
7e4e4d4c5b
fix(deps): update rust dependencies
2023-09-25 11:14:39 +02:00
renovate[bot]
37e2c06034
fix(deps): update rust dependencies
2023-09-18 00:00:45 +02:00
Aaron Hill
1c0ae0b6d8
render: Bump wgpu to 0.17 and naga to 0.13
2023-09-07 18:49:59 -04:00
renovate[bot]
dabc2d56b9
fix(deps): update rust dependencies
2023-09-04 10:25:24 +02:00
Aaron Hill
ccf42c3614
naga-pixelbender: Stub out Opcode::Loop
...
Some experimentation with Pixel Bender Studio shows
that Opcode::Loop has a 23-byte payload. I haven't tried to
figure out how to interpet the payload yet, but we can now
skip over the opcode instead of bailing out entirely.
2023-08-30 17:36:31 -04:00
renovate[bot]
4e75c3890a
fix(deps): update rust dependencies
2023-08-28 07:39:35 +02:00
Nathan Adams
eb2afb19c4
render: Add DrawCommand::CubicCurveTo
2023-08-27 20:17:43 +02:00
TÖRÖK Attila
96505a7bde
video,chore: Bump h263-rs git refs (and update Cargo.lock fully while there)
2023-08-26 22:18:14 +02:00
Moulins
87437c1d6b
avm2: use `RefLock` instead of `GcCell` in avm2's scope chain
...
Also bumps gc-arena to be able to use `Write<Option<_>>::as_write`
2023-08-26 11:00:40 +02:00
TÖRÖK Attila
b69bd09546
video/vp6: Bump nihav-vp6 crate git refs
2023-08-26 11:35:38 +03:00
renovate[bot]
2f4c7d2fe3
fix(deps): update rust dependencies
2023-08-21 08:59:07 +02:00
renovate[bot]
1f4bfcf10d
fix(deps): update rust dependencies
2023-08-18 23:32:15 +02:00
renovate[bot]
93f08d7738
chore(deps): lock file maintenance rust dependencies
2023-08-14 23:58:45 +02:00
renovate[bot]
a4b179e1e0
chore(deps): lock file maintenance rust dependencies
2023-08-08 23:19:16 +02:00
renovate[bot]
477ff400a7
chore(deps): lock file maintenance rust dependencies
2023-08-02 13:36:13 +02:00
sleepycatcoding
a31a9668bc
chore: update Cargo.lock
2023-07-31 22:32: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
d5da477df8
tests: Improve socket testing backend
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
renovate[bot]
3e63a88c34
chore(deps): lock file maintenance rust dependencies
2023-07-25 08:23:28 +03:00