Commit Graph

10725 Commits

Author SHA1 Message Date
Lord-McSweeney b877a39c47 avm2: Implement SharedObject.setProperty 2023-10-07 23:49:36 +02:00
Tom Schuster c6804be307 avm2: Add smoke test for namespace issue in monopoly 2023-10-07 23:46:40 +02:00
Tom Schuster ed1a2ee27c avm2: Add failing namespace test for flash.xml 2023-10-07 23:46:40 +02:00
Tom Schuster 278a6ddf53 avm2: Use the localName in XMLDocument::_convertXmlNode 2023-10-07 23:46:40 +02:00
Crowdin Bot 3dc75f7ab8 chore: Update translations from Crowdin 2023-10-07 23:37:34 +02:00
sleepycatcoding ce2862dd45 avm2: Fix KeyboardEvent clone
also adds missing commandKey property.
2023-10-07 08:57:34 +02:00
Aaron Hill 3a658f5dec avm2: Implement BitmapData.copyPixelsToByteArray
This basically just re-uses the implementation of getPixels
2023-10-05 17:35:54 -04:00
Crowdin Bot 53babdd675 chore: Update translations from Crowdin 2023-10-05 23:09:23 +02:00
sleepycatcoding 5992f6b3c7 avm2: Fix handling of XMLList when set as attribute value
Fixes test `e11_6_1` when combined #13255.
2023-10-05 21:26:41 +02:00
sleepycatcoding 80ccc1d8a3 avm2: Implement some obscure SWFv9 XML behavior
This affects appendChild, prependChild, insertChildBefore, insertChildAfter.
2023-10-05 16:12:43 +02:00
Aaron Hill 2fd6cd4147 naga-agal: Stub anisotropic filters in opcodes
We had already stubbed these when set from ActionScript, but were
were panicking when they were selected directly in the AGAL bytecode.
2023-10-05 15:38:21 +02:00
Aaron Hill c93020e729 wgpu: Correctly set format when rendering to Stage3D texture
This fixes a panic when trying to render a texture with a type
other than `TextureFormat::Rgba8Unorm`
2023-10-04 22:47:17 -04:00
Aaron Hill a5b4b63edc avm2: Stub Matrix3D.pointAt
Unfortunately, the OpenFL implementation has a TODO
noting that their implementation doesn't match Flash,
so getting this to work will require figuring out
how Flash does things.
2023-10-04 22:27:55 -04:00
Aaron Hill ddefac322a avm2: Run DoAbc/DoAbc2/SymbolClass as part of their frame
We previously ran these tags during preloading - however,
they are actually run as part of frame execution. This is observable
by ActionScript - a SWF can load in a class from a stop()'d MoveClip,
and then advance the clip to a frame with a SymbolClass referencing
the loaded class.
2023-10-04 22:00:22 -04:00
Aaron Hill 6394b29962 nagal-agal: Fix detection of writing a scalar to a destination
We weren't covering all cases, which resulted in an attempt to
AccessIndex on a scalar, or write a scalar directly to a vector
local.
2023-10-05 02:12:28 +02: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
Adrian Wielgosik c5704ed819 Revert "web: As appropriate use embed height mentioned in Mozilla bug 810082 c65"
This reverts commit b6d0e2ecce.
2023-10-05 00:50:22 +02:00
Adrian Wielgosik 112b442ad6 Revert "web: Add comment about when a default height of 200px is used"
This reverts commit 48c7c52aa2.
2023-10-05 00:50:22 +02:00
renovate[bot] abed8c1a1d chore(deps): update rust crate wgpu to 0.17.1 2023-10-04 17:42:02 -04:00
Aaron Hill d32b19e350 render: Implement Context3DTextureFormat::RgbaHalfFloat 2023-10-03 18:05:46 -04:00
dependabot[bot] 4f4f871cfa build(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /web
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-03 23:25:59 +02:00
Crowdin Bot 965b42fd3c chore: Update translations from Crowdin 2023-10-03 23:07:54 +02:00
sleepycatcoding 09716b8386 tests: make jpegxr optional 2023-10-03 16:08:51 -04:00
sleepycatcoding 4bfd2fc978 desktop: Make jpegxr optional
This is enabled for CI builds.
2023-10-03 16:08:51 -04:00
Daniel Jacobs 48c7c52aa2 web: Add comment about when a default height of 200px is used 2023-10-03 20:14:42 +02:00
Daniel Jacobs b6d0e2ecce web: As appropriate use embed height mentioned in Mozilla bug 810082 c65 2023-10-03 20:14:42 +02: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
Crowdin Bot 1886a5d434 chore: Update translations from Crowdin 2023-10-02 23:16:26 +02:00
Daniel Jacobs 1d3728e7ed i18n: Localize hardware accelerartion information 2023-10-02 14:21:57 -04:00
Daniel Jacobs 0158511a8e web: Display a pop-up about hardware acceleration when it's disabled 2023-10-02 14:21:57 -04:00
renovate[bot] e8da6159e4 chore(deps): update dependency chromedriver to v117 2023-10-02 13:13:07 +02:00
renovate[bot] 030e9270c5 chore(deps): update node.js dependencies 2023-10-02 13:02:30 +02:00
Crowdin Bot 58b18e282b chore: Update translations from Crowdin 2023-10-02 00:57:34 +02:00
Tom Schuster 6d51bc3964 avm2: Namespace support for XML.name() 2023-10-01 19:26:07 +02:00
Tom Schuster 30614bdd2f avm2: QName constructor improvements 2023-10-01 19:26:07 +02:00
renovate[bot] 673aa78f9a chore(deps): update actions/checkout action to v4 2023-10-01 06:46:20 -04:00
Aaron Hill 4c8f8829cb avm2: Implement Sound.loadCompressedDataFromByteArray 2023-09-30 21:03:37 -04:00
Aaron Hill d76306d5ae render: Fix incorrectly reading U24 in ATF parsing
We should be reading a big-endian U24.
2023-09-30 20:29:49 -04:00
Aaron Hill d2f0787c2c naga-agal: Fix Opcode::Rcp implementation
MathFunction::Inverse doesn't work on vectors.
2023-09-30 19:59:21 -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
Lord-McSweeney bdc0985276 avm2: Correctly fire `textureReady` event for asynchronous Texture uploads 2023-09-30 16:43:38 -04:00
Aaron Hill 742ee4052d naga-pixelbender: Implement Opcode::LogicalAnd 2023-09-30 15:58:06 -04:00
Aaron Hill c5abed07c4 Fix BitmapData.clone accidentally re-using GPU texture
This caused the clone to be linked to the original, instead of
being a completely independent BitmapData object.
2023-09-30 09:38:38 -04:00
sleepycatcoding f140e7a14b
core: Place jpegxr texture support behind feature flag (#13348) 2023-09-29 18:46:54 -04:00
Crowdin Bot c3d0540a6e chore: Update translations from Crowdin 2023-09-29 18:28:15 +02: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
Aaron Hill 01b1e36ef5
wgpu: Rename DepthBuffer to StencilBuffer and stop providing depth_ops (#13302) 2023-09-24 20:19:14 +00:00
Crowdin Bot bd67a5845b chore: Update translations from Crowdin 2023-09-24 12:13:31 +02:00