Commit Graph

11401 Commits

Author SHA1 Message Date
Aaron Hill 1a1ce91e98 core: Only report socket connected just before we fire 'connect'
Platform Racing 3 relies on 'Socket.connected' reporting 'false'
immediately after calling 'Socket.connect' - it internally buffers
data made when 'Socket.connected' is false
2024-02-16 01:10:57 +01:00
Nathan Adams 4bcba36957 ci: Try without dist-upgrade, it's slow 2024-02-16 00:33:39 +01:00
Nathan Adams 7e80ece016 ci: Install newer mesa from a PPA due to current mesa bug 2024-02-16 00:33:39 +01:00
Nathan Adams d515dfb5b0 ci: Use different name for each artifact uploaded by a failing Test Rust run 2024-02-16 00:33:39 +01:00
TÖRÖK Attila 425e38755d ci: Remove Rust version from the web CI matrix - it was always stable 2024-02-15 22:57:43 +01:00
Tom Schuster 49b3b9d7de avm2: Stub all flash.sampler methods 2024-02-14 14:10:41 +01:00
TÖRÖK Attila 555fcfa9c4 web,ci: Recommend and test with Node.js 20 LTS and 21 stable 2024-02-12 15:56:32 -05:00
svitkin b55db7083c tests: Add test for flash.net.navigateToURL 2024-02-12 17:14:11 +01:00
svitkin 5028f66608 avm2: parse data for flash.net.navigateToURL (closes #13898) 2024-02-12 17:14:11 +01:00
Crowdin Bot 45c5d8f10c chore: Update translations from Crowdin 2024-02-12 00:25:24 +01:00
Crowdin Bot 5c6930d72e chore: Update translations from Crowdin 2024-02-09 17:56:24 +01:00
Marco Bartoli 50a8815a50
avm2: Deserialize AMF dictionary (#15169) 2024-02-09 00:06:08 +01:00
Aaron Hill 71f828a3fd avm2: Use playerglobals domain as parent for `new ApplicationDomain()`
We were incorrectly using the stage domain as the parent, which caused
classes to be incorrectly shared between domains.
2024-02-07 20:13:23 -05:00
Tom Schuster ec403e614d tests: Test TextField::getLineText 2024-02-07 20:34:43 +01:00
Tom Schuster d7c7716c34 avm2: Implement TextField::getLineText 2024-02-07 20:34:43 +01:00
Positron832Alt 0df6bafdaf
chore: Fix typo in readme (#15124) 2024-02-07 18:49:01 +00:00
David Wendt e1bfd6f360 tests: Fix text failures caused by improper `output.txt` contents
For some reason, FP8 doesn't show the events anymore on its test output, even though the test it has clearly outputs both the connection status and events.

Also, the AVM2 test needs a trailing newline like all the others.
2024-02-07 19:46:39 +01:00
David Wendt 2e0dbba1b4 tests: AVM2 should also test to make sure `NetConnection.connected` works 2024-02-07 19:46:39 +01:00
David Wendt d7583289c9 avm1: Make `NetConnection.isConnected`'s stub more functional 2024-02-07 19:46:39 +01:00
renovate[bot] a73b48961c chore(deps): update node.js dependencies 2024-02-07 19:24:57 +01:00
Tom Schuster 95f5701072 tests: Verify the URLRequest method setter can throw 2024-02-06 17:52:08 +01:00
Tom Schuster cadae9303f avm2: Verify the URLRequest method 2024-02-06 17:52:08 +01:00
sleepycatcoding 4c6f2ba973 avm2: Fix `in` operator not handling attributes in XML object 2024-02-05 21:09:39 +01:00
Tom Schuster ecda68b81c avm2: has_property should do proto.has_property instead of
has_own_property
2024-02-05 19:34:09 +01:00
TÖRÖK Attila 28c380cfac desktop: Update egui to 0.26.0 2024-02-05 19:05:10 +01:00
renovate[bot] 477440d387 fix(deps): update rust dependencies 2024-02-05 07:56:07 +01:00
renovate[bot] c044f57bc1 chore(deps): update rust crate naga_oil to 0.13.0 2024-02-04 20:50:19 -05:00
Nathan Adams aaba552413 web: Remove npm version requirement; it was only needed to be 7 and the bot just kept updating it. We're long past 7 now. 2024-02-04 23:12:57 +01:00
TÖRÖK Attila efe8777a00 chore: Fix formatting according to the updated linter 2024-02-04 22:48:50 +01:00
renovate[bot] 7ea3ebe3f2 chore(deps): update node.js dependencies 2024-02-04 22:48:50 +01:00
Kamil Jarosz f3f8a4522e text: Add support for relative font sizes in HTML 2024-02-04 22:01:32 +01:00
Aaron Hill 8001ce18f1 github: Generate AVM2 report as part of nightly release
We upload it to the release as a file named 'avm2_report.json'
The website will use this to automatically display the latest
report
2024-02-04 15:42:25 -05:00
Aaron Hill 86e471835e Fix clippy beta lint 2024-02-04 21:14:05 +01:00
TÖRÖK Attila 4b21cb0a0b github: Use full version for the `mnao305/chrome-extension-upload` action
This regressed in #15094.
2024-02-03 19:50:02 -05:00
TÖRÖK Attila 0f52d9808c chore: Add a .dockerignore file 2024-02-04 00:06:11 +01:00
_Mads b5d0c965f0
avm2: Implement TimerEvent.toString 2024-02-03 21:54:52 +00:00
Daniel Jacobs 42719ee8e1 ci: Update chrome-extension-upload to v5 2024-02-03 15:29:21 -05:00
Kamil Jarosz 50b5f29c0a text: Make enter add a new line in multiline fields 2024-02-03 13:40:07 +01:00
Aaron Hill b02a96373b debug_ui: Show ClassObjects for domain class
This re-uses our existing infrastructure for displaying
AVM2 Class objector. One minor limitation of this approach
is the inability to view a `Class` that hasn't yet had its
`ClassObject` created - however, this should be rare in practice.

We show a collapsing header with all of the ClassObjects associated
with the given Class.
2024-02-02 19:24:36 -08:00
Tom Schuster 28dc164d18 web: Explicit instruction how to use sudo for docker building 2024-02-02 19:57:38 +01:00
TÖRÖK Attila 98b8b05538 github: Also exclude `.git` and `tests/tests/swfs` from `reproducible-source.zip` 2024-02-02 05:48:13 +01:00
Lord-McSweeney 603a76bab0 avm2: Add fast path for `Value::abstract_lt`-ing two integers 2024-02-01 17:03:57 -08:00
Nathan Adams 71c9de410d core: Clarify CPU vs GPU branch in BitmapData.draw 2024-02-02 00:59:45 +01:00
Nathan Adams 2e0e7aec5c wgpu: Remove the readback-upgrade path. It's now slower than normal drawing 2024-02-02 00:59:45 +01:00
Nathan Adams bac78442fc core: Don't do bmd.draw() on cpu if it exists on gpu 2024-02-02 00:59:45 +01:00
Nathan Adams 70af5cd5dd wgpu: Submit occasionally to avoid submitting a large encoder 2024-02-02 00:59:45 +01:00
Nathan Adams fb8f3301b6 wgpu: Queue up offscreen draws, don't do them immediately 2024-02-02 00:59:45 +01:00
Nathan Adams 70fbb4a7ac render: Move away from SyncHandle.retrieve_offscreen_texture to RenderBackend::resolve_sync_handle 2024-02-02 00:59:45 +01:00
Nathan Adams 1a5dff5d12 wgpu: Keep a CommandEncoder for the duration of a frame, extract out a struct to hold it with a StagingBelt 2024-02-02 00:59:45 +01:00
Marco Bartoli 5ae3be3ac9
avm2: Ignore version marks in non-playerglobal namespaces 2024-02-01 21:50:26 +00:00