sleepycatcoding
4285d998dc
avm2: Add target property to XMLListObject
2023-10-10 00:24:39 +02:00
Nathan Adams
a3b95d9534
avm2: Fix missing stub imports in TextRenderer.as
2023-10-09 23:54:58 +02:00
Crowdin Bot
13b50fecb5
chore: Update translations from Crowdin
2023-10-09 23:10:41 +02:00
Adrian Wielgosik
cea0f1b1f1
swf: Add test for DefineFont2/3 roundtrips
2023-10-08 12:13:16 +02:00
Adrian Wielgosik
3e5482a761
swf: Better adjust offsets for has_wide_offsets in writer
2023-10-08 12:13:16 +02:00
Adrian Wielgosik
9ab50bcd74
swf: Fix writing an all-zeros straight ShapeRecord
2023-10-08 12:13:16 +02:00
Adrian Wielgosik
f08ee6de58
swf: Add a missing offset to DefineFont2/3 offset table
2023-10-08 12:13:16 +02:00
Adrian Wielgosik
cc5c46dda2
swf: Fix writing of an all-zeros curve ShapeRecord
2023-10-08 12:13:16 +02:00
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