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
Lord-McSweeney
9833a2d19d
avm2: Resolve review comments
2023-09-24 12:11:24 +02:00
Lord-McSweeney
1adde21a9b
avm2, tests: Improve String.substr; add a complex test
2023-09-24 12:11:24 +02:00
Lord-McSweeney
6a1d0e32de
avm2: Minor fix to string_wrapping_index
...
This improves the ecma3/String/substr test.
2023-09-24 12:11:24 +02:00
Aaron Hill
8aec2f1703
Add another test
2023-09-23 14:11:24 +02:00
Aaron Hill
c20b7b37fe
Adjust behavior
2023-09-23 14:11:24 +02:00
Aaron Hill
bb4410e387
avm2: Skip nested 'goto' frame for SWF 9
...
This fixes 'who_killed_travolta', and unblocks DeathvsMonstars and
NeoPets Lost City Lanes once some additional button fixes are merged.
This isn't 100% correct (as shown by the disabled test), but it brings
us closer to what Flash Player does.
2023-09-23 14:11:24 +02:00
nosamu
e8bbb21554
avm1: tellTarget on an undefined object targets the base clip in SWF6-
2023-09-23 13:42:03 +02:00
Tom Schuster
dc53758488
avm2: Implement support for indexes in xml.child()
2023-09-22 21:28:20 +02:00
Tom Schuster
fe8390760a
avm2: Support node namespace in XML.namespace
2023-09-21 22:12:51 +02:00
Crowdin Bot
5b9806bdb3
chore: Update translations from Crowdin
2023-09-19 23:41:23 +02:00
Daniel Jacobs
a768399612
web: Only re-run polyfill when embed or object added to DOM
2023-09-19 20:49:27 +02:00
Daniel Jacobs
65d1ba4803
web: Switch from deprecated rules property to preferred cssRules
2023-09-18 21:28:27 +02:00
Daniel Jacobs
c1f53b3253
web: Fix deletion order of dynamicStyles rules
2023-09-18 21:28:27 +02:00
Crowdin Bot
695c2ff9f5
chore: Update translations from Crowdin
2023-09-18 00:03:15 +02:00
TÖRÖK Attila
d7d5928c21
chore: Follow rfd API change (set_description)
2023-09-18 00:00:45 +02:00
TÖRÖK Attila
b8190660aa
chore: Follow rfd API change (MessageDialogResult)
2023-09-18 00:00:45 +02:00
renovate[bot]
37e2c06034
fix(deps): update rust dependencies
2023-09-18 00:00:45 +02:00
Crowdin Bot
8885c35c54
chore: Update translations from Crowdin
2023-09-17 22:45:09 +02:00
Lord-McSweeney
98cfa60832
avm2: Namespace improvements
2023-09-17 22:22:50 +02:00
Lord-McSweeney
6eddd3532e
avm2: Support Error 1089
2023-09-17 22:03:05 +02:00
Lord-McSweeney
613c21a5d2
avm2: Minor Video improvements
...
Throw RangeError when Video is initialized with negative height or width
Stub Video.clear
2023-09-16 22:55:03 +02:00
sleepycatcoding
6028505f8c
avm2: Small XML code cleanup
2023-09-15 20:20:12 +02:00
Crowdin Bot
7f416f85a8
chore: Update translations from Crowdin
2023-09-14 23:50:25 +02:00
Daniel Jacobs
33eb739ee6
web: Add width, height, and type to RufflePlayer ( fix #13176 )
2023-09-14 23:49:31 +02:00
sleepycatcoding
ecbf325d41
avm2: Improve XML set_property_local implementation ( #13041 )
...
* avm2: Add error 1087
* avm2: Add deep_copy method to XmlObject
Changes existing AS3 copy method to use this instead
* avm2: Add a few utility methods to E4XNode
* avm2: Change XML.replace impl to use new utility methods
* avm2: allow setting XML/XMLList as a element
* avm2: Fix `xml_namespaced_property` test failure
* chore: fmt
* chore: Appease clippy
* avm2: Add test for XML/XMLList as element
2023-09-14 21:33:32 +00:00
Ikko Eltociear Ashimine
67f2d85e38
core: fix typo in movie_clip.rs
...
occured -> occurred
2023-09-13 23:03:14 +02:00
sleepycatcoding
b5fdd9142f
avm2: Coerce value in set slot opcode
...
This was causing a bunch of implicit conversion test failures.
2023-09-13 23:02:44 +02:00
Positron832Alt
591e4b4da1
desktop: Change "Open URL Mode" to "Open Links" ( #13099 )
2023-09-13 22:33:17 +02:00
Lord-McSweeney
53199a5116
avm2: Fix a stub message ( #13140 )
2023-09-11 17:51:55 -04:00
Nathan Adams
f092fa5809
core: Make a glyph shape handle Optional, for ie whitespace
2023-09-09 00:01:20 +02:00
Nathan Adams
bcf47622f0
core: Don't make Font/GlyphSource Clone, it's super wasteful if something did actually clone it
2023-09-09 00:01:20 +02:00
Nathan Adams
8d71ab3436
core: Make Font ascent and descent i16, as it can technically be negative
2023-09-09 00:01:20 +02:00
Nathan Adams
3758f27490
core: Move kerning info to GlyphSource
2023-09-09 00:01:20 +02:00
Nathan Adams
b8ce4e9249
core: Extract out GlyphSource from FontData
2023-09-09 00:01:20 +02:00
Nathan Adams
2cd10f614e
core: Split up Drawing's registration of the shape vs rendering of the shape
2023-09-09 00:01:20 +02:00
Nathan Adams
4d4e9b55a2
core: Refactor Glyph's internal Shape a bit, and make it not contain two duplicate shapes
2023-09-09 00:01:20 +02:00
Nathan Adams
e8e7e91584
core: Store advance separately in Glyph
2023-09-09 00:01:20 +02:00
Aaron Hill
981dedafd2
avm2: Fix avmplus.describeTypeJSON bugs and add test
2023-09-08 17:52:12 -04:00
Aaron Hill
34fb2e4f48
avm2: Fix some Object method signature definitions
...
This is exposed by avmplus.describeTypeJSON
2023-09-08 17:52:12 -04:00
Daniel Jacobs
d6bc408286
web: Don't show context menu when any modal is open ( fix #13096 )
2023-09-08 20:26:18 +02:00
nosamu
a4a9653ecd
avm2: Fix a RangeError message
2023-09-08 09:57:07 -04:00
Aaron Hill
a3e0a84a3d
core: Convert two unused doc comments to normal comments
...
This fixes Nightly warnings
2023-09-07 19:36:23 -04:00
Aaron Hill
1c0ae0b6d8
render: Bump wgpu to 0.17 and naga to 0.13
2023-09-07 18:49:59 -04:00
Lord-McSweeney
20db9f8326
avm2: Implement XML.setName ( #12979 )
...
* avm2/tests: Implement XML.setName; add a test
* avm2: Basic support for QNames in XML.setName (no namespace support yet)
* avm2: Reorder order of Attribute/Element/PI checks in XML.setName
* avm2: Throw error #1117 when the name passed to XML.setName is not a valid XML name
2023-09-07 21:47:02 +02:00
Adrian Wielgosik
0e507e870d
ci: Only run clippy on Linux
2023-09-07 18:51:00 +02:00
Adrian Wielgosik
f1a8fa8840
ci: only save cache on master builds
2023-09-07 18:51:00 +02:00
sleepycatcoding
9c7eb90d69
avm2: Implement XML.prependChild
2023-09-07 01:13:16 +02:00
Kornelius Rohrschneider
53ba75d587
Move logarithmic volume transformation to AudioMixer
...
Previously, the volume transformation to adapt the volume for
logarithmic hearing has been performed in the VolumeControls Rust struct
and TypeScript class each.
Since this calculation is the same on desktop and web and should be
implemented in the audio backend, it has been moved into the
AudioMixer::mix_audio method.
The VolumeControls struct and class now only calculate the linear volume
out of the checkbox and the slider.
Player::set_volume and Player::volume now don't take and return the
adapted volume, but use the linear volume (which gets saved internally).
2023-09-07 00:51:58 +02:00