David Wendt
5cf005e69e
tests: Add test for seeking NetStream on AVM2
2023-10-10 18:49:09 -06:00
David Wendt
0d886dd860
core: Add `NetStream.Pause.Notify` event
2023-10-10 18:49:09 -06:00
David Wendt
3566d7f43a
core: Fire `NetStream.SeekStart.Notify` events
2023-10-10 18:49:09 -06:00
David Wendt
1f5947912d
core: Defensively program against `flv` being broken
2023-10-10 18:49:09 -06:00
David Wendt
9754d925a5
flv: `skip_back` needs to consider the offset of the back pointers and not just tags
2023-10-10 18:49:09 -06:00
David Wendt
3be9ce4ac0
avm2: Implement `NetStream.seek`
2023-10-10 18:49:09 -06:00
David Wendt
e440e175d9
avm1: Implement `seek` method
2023-10-10 18:49:09 -06:00
David Wendt
bc6291898c
core: Add a `seek` method
2023-10-10 18:49:09 -06:00
David Wendt
4867ff1210
core: Break type sniffing out into a separate fn.
2023-10-10 18:49:09 -06:00
TÖRÖK Attila
0ef28604b1
renovate: Include winit, egui-winit, and raw-window-handle in the wgpu dep group
2023-10-10 03:05:54 +02:00
renovate[bot]
18796a67fe
fix(deps): update rust dependencies
2023-10-10 02:15:59 +02:00
Lord-McSweeney
7254cdeef9
avm2: Throw ArgumentError when trying to construct `new Worker()`
2023-10-10 01:20:06 +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
sleepycatcoding
21a1e1f670
avm2: Small set_property_local fixup
...
Fixes a borrow panic and logic error.
2023-10-10 00:24:39 +02:00
sleepycatcoding
0b2771c23d
avm2: Implement other XMLList set_property_local path
2023-10-10 00:24:39 +02:00
sleepycatcoding
917e70086b
avm2: Throw Error 1089, if base list length bigger than 1
...
This is not mentioned in the E4X specification, but this is what avmplus
seems to be doing.
2023-10-10 00:24:39 +02:00
sleepycatcoding
ca5ba4877c
avm2: Implement one XMLList set_property path
2023-10-10 00:24:39 +02:00
sleepycatcoding
709306be81
avm2: Implement resolveValue
2023-10-10 00:24:39 +02:00
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