Commit Graph

11679 Commits

Author SHA1 Message Date
Lord-McSweeney 22117e3eb5 avm2: Add more ops to optimizer and let it use resolved argument types 2024-02-25 21:52:24 -08:00
Lord-McSweeney 4da708edb8 chore: appease clippy 2024-02-25 21:52:24 -08:00
Lord-McSweeney e227576093 chore: cleanup 2024-02-25 21:52:24 -08:00
Lord-McSweeney d7cebd020b avm2: Support type inference for chained `GetProperty`s 2024-02-25 21:52:24 -08:00
Lord-McSweeney 8b19012123 avm2: Handle more ops in abstract optimizer 2024-02-25 21:52:24 -08:00
Lord-McSweeney 0cb0d4a6da avm2: More advanced optimizer 2024-02-25 21:52:24 -08:00
TÖRÖK Attila d2e854fb73 nit: desktop/navigator: Fix a typo in a comment: ownerhsip -> ownership 2024-02-22 21:14:41 +01:00
Kamil Jarosz 98c0dc4616 desktop: Prevent resource leak on reload
This patch makes TaskHandle reference the executor by a weak reference.
Prior to this change, there was a possibility of a resource leak, where
the executor, its tasks, and resources held by them were not properly
dropped due to existing references to the executor.

This manifested by e.g. unclosed sockets after reload, which required
the whole program to be restarted in order to be closed properly.
2024-02-21 21:45:01 -05:00
Nathan Adams ea77019eab web: Include wasm file in docker builds as Mozilla say this is okay, and it solves our reproducibility issues 2024-02-22 02:30:00 +01:00
Nathan Adams 6a548225f7 ci: Extend the docker test to include diffing against normal builds 2024-02-21 23:48:40 +01:00
dependabot[bot] 35630c3a2e build(deps-dev): bump ip from 1.1.8 to 1.1.9 in /web
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 00:42:08 +01:00
Crowdin Bot 00f1ce66ea chore: Update translations from Crowdin 2024-02-21 00:26:15 +01:00
TÖRÖK Attila 2ffebcfc8a chore: Run `cargo update` 2024-02-21 00:18:38 +01:00
Nathan Adams 30a0864329 web: Don't generate random name of wasm files in extension 2024-02-19 20:47:33 +01:00
renovate[bot] 6b89737093 fix(deps): update rust dependencies 2024-02-19 11:32:22 +01:00
Daniel Jacobs 279cbc4d5f ci: Update get-current-time to v2.1.2 which uses Node 20 2024-02-19 11:06:02 +01:00
Crowdin Bot 29821e9c84 chore: Update translations from Crowdin 2024-02-19 10:38:26 +01:00
Tom Schuster ba7c9a4e31 avm2: Always serialize as ECMAArray, which produces an AMF0 MixedArray 2024-02-19 10:13:18 +01:00
renovate[bot] c234c72897 chore(deps): update node.js dependencies 2024-02-19 08:31:37 +01:00
Nathan Adams 8d9b50d4f4 tests: Port remainder of shumway tests over 2024-02-18 18:01:28 +01:00
Nathan Adams 0eab4405f6 tests: When a test is known_failure but doesn't have an expected.png, don't mark it as now-passing 2024-02-18 18:01:28 +01:00
Adrian Wielgosik fe2ed81d8a avm2: Implement JS->AS3 Object deserialization 2024-02-16 15:25:55 +01:00
Nathan Adams 4ed608851e web: Fix version seal path 2024-02-16 11:59:40 +01:00
renovate[bot] 637b277481 web: chore: Bump wasm-bindgen to 0.2.91 2024-02-16 09:48:30 +01:00
TÖRÖK Attila 9646c86707 ci: Split Rust lint checks into their own job 2024-02-16 02:47:24 +01:00
renovate[bot] 1651b7a5b0 desktop: chore: Update `egui` to 0.26.2 2024-02-16 01:52:41 +01:00
Nathan Adams 50961bd684 tests: Don't test NaN output in amf_vector 2024-02-16 01:33:22 +01:00
Nathan Adams ffabf13f35 ci: switch to macos-14 runner 2024-02-16 01:33:22 +01:00
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