MrCheeze
0f6dae56b5
core: Improve spacing of device font letters ( close #14185 )
2023-12-15 20:14:08 +01:00
Tom Schuster
c43f76eb2b
avm2: Stub InteractiveObject needsSoftKeyboard and softKeyboardInputAreaOfInterest
2023-12-14 23:13:18 +01:00
TÖRÖK Attila
906433e049
core: Clean up Timers::remove, remove Timer::is_alive
...
Now that we have BinaryHeap::retain, stable since Rust 1.70.
2023-12-14 18:47:39 +01:00
TÖRÖK Attila
bf9cf92af8
render/wgpu: Update wgpu to 0.18.0, naga to 0.14.1, naga_oil to 0.11.0, egui to 0.24.1
2023-12-14 01:36:42 +01:00
michiel2005
f28270376f
avm1: Implement TextField.maxChars and fix pasting behavior
2023-12-12 14:06:14 -05:00
renovate[bot]
3a033f0f28
fix(deps): update rust dependencies
2023-12-11 15:51:12 +01:00
renovate[bot]
e196a544dd
fix(deps): update rust crate bitstream-io to v2
2023-12-11 11:25:12 +01:00
Matt Trescott
06646bc4b8
avm1: Support FLV date conversion
...
Fixes Riva Web Player crash (rivavx.de)
2023-12-10 22:30:39 -07:00
TÖRÖK Attila
512a03815d
core/avm1: Stub NetConnection
2023-12-10 15:56:54 -07:00
David Wendt
9c3d197e2f
core: FLV must always backseek after finding our target otherwise we miss the keyframe.
2023-12-09 12:19:10 -07:00
David Wendt
f1a1299707
core: Don't execute no-op seeks.
2023-12-09 12:19:10 -07:00
sleepycatcoding
742ccaf705
avm2: Correctly set the return type of AS defined native methods
...
Previously, the return type of ActionScript defined native methods was always incorrectly set to the any (`*`) type.
2023-12-09 18:32:31 +01:00
Lord-McSweeney
8096146a0d
avm1: Correctly mark unloaded movies as unloaded instead of relying on depth
2023-12-09 00:29:37 +01:00
Tom Schuster
8688d4da21
avm2: Stub flash.text.engine.FontDescription::isFontCompatible
2023-12-08 16:16:15 -05:00
Tom Schuster
06e33c104d
avm2: Implement TextLine::textWidth and TextLine::textHeight
2023-12-08 19:15:01 +01:00
renovate[bot]
40b92e69f7
fix(deps): update rust dependencies
2023-12-05 21:08:16 +01:00
renovate[bot]
a0c33382bf
fix(deps): update wasm-bindgen
2023-12-04 12:08:22 +01:00
TÖRÖK Attila
82d61faa2c
avm2: Use explicitly wrapping integer arithmetic operations
2023-12-03 16:34:27 +01:00
Aaron Hill
19c3df7cb6
avm2: Perform early allocation and exposing of SimpleButton object
...
The allocated-but-unconstructed object should be set on
the parent field before we construct the 'up state' object - this
is observable by ActionScript
2023-11-30 12:49:32 -08:00
MrCheeze
9f6ab2b7c6
core: Allow default fonts to use bold/italic fonts
2023-11-30 21:04:41 +01:00
Lord-McSweeney
1ce3ec636a
avm2: Prevent `AVM1Movie`s from being moved around in the DO hierarchy
2023-11-30 07:12:37 -08:00
Lord-McSweeney
889c13f7c6
core: Remove leftover `avm2_avm1movie`
2023-11-30 07:12:37 -08:00
Lord-McSweeney
24c9f9386f
core: Resolve review comments (no functional changes)
2023-11-30 07:12:37 -08:00
Lord-McSweeney
f458a391fc
avm2: Use caller movie when creating a `Bitmap`
2023-11-30 07:12:37 -08:00
Lord-McSweeney
7e145d7c7c
core: Don't run DoABC(2) tags when the root movie is AVM1
...
KOF vs DNF relies on this.
2023-11-30 07:12:37 -08:00
Lord-McSweeney
8e1f145aba
core: Use correct movie version for `Bitmap` DOs
2023-11-30 07:12:37 -08:00
Lord-McSweeney
5c04925ebc
core/avm1: Remove usage of `context.stage` in a few places
2023-11-30 07:12:37 -08:00
Lord-McSweeney
23f7291a52
core: Immediately post-instantiate an AVM1 MovieClip being loaded by AVM2
2023-11-30 07:12:37 -08:00
Lord-McSweeney
a71bfe777c
avm2: Fix building after rebase, fix `AVM1Movie`, use `Avm2Activation::caller_movie_or_root` where appropriate
2023-11-30 07:12:37 -08:00
Lord-McSweeney
fb8bde252f
core/avm2: Hook up AVM1Movie
2023-11-30 07:12:37 -08:00
Lord-McSweeney
7eb3c3be0c
core: Remove NotAvm2 AVM2 mouse pick enum option since it is equivalent to Miss
2023-11-30 07:12:37 -08:00
Lord-McSweeney
cdbb08b4ee
core: Remove context.is_action_script_3
2023-11-30 07:12:37 -08:00
Lord-McSweeney
58f33b6b94
core: Provide global domain for loading movies without avm2_data.
2023-11-30 07:12:37 -08:00
Lord-McSweeney
6eba8a6444
core: Use current movie instead of root movie in Avm1Button.event_dispatch
2023-11-30 07:12:37 -08:00
Lord-McSweeney
2553b1acdb
core: Set movie of Stage's ChildContainer when Stage's movie is set
2023-11-30 07:12:37 -08:00
Lord-McSweeney
45f6dfdbd4
core: Remove some uses of context.swf
2023-11-30 07:12:37 -08:00
Lord-McSweeney
fd538915b3
core: Change some uses of Avm1Activation::from_stub to from_nothing
2023-11-30 07:12:37 -08:00
Lord-McSweeney
43fdd30fc1
core: Improve mouse picking for mixed AVM
2023-11-30 07:12:37 -08:00
Lord-McSweeney
9e2b49f857
core: Remove most uses of context.is_action_script_3()
2023-11-30 07:12:37 -08:00
David Wendt
6d77fea750
avm1, avm2: Convert Object to AVM values as well
2023-11-28 18:53:01 -07:00
David Wendt
204bdbf74c
avm1: Implement strict array conversion for AVM1, too.
2023-11-28 18:53:01 -07:00
Lord-McSweeney
0a4d1449fc
avm2: Implement StrictArray conversion for FLV script data
2023-11-28 18:53:01 -07:00
David Wendt
ab02e89b3b
core: FLV's Strict Array type holds values, not key/value pairs.
...
*draws a zero on the 'days since last misdocumented feature' sign*
2023-11-28 18:53:01 -07:00
renovate[bot]
6da223a875
fix(deps): update rust dependencies
2023-11-27 09:44:47 +01:00
Aaron Hill
24aa9b8fe4
avm2: Copy data for async loadCompressedTextureFromByteArray
...
The caller might modify the ByteArray immediately after the call,
so we need to copy the ByteArray.
2023-11-25 19:11:54 -08:00
TÖRÖK Attila
941f87ca8e
core/audio: Remove the now unused clip_frame parameter of start_stream
2023-11-26 03:51:28 +01:00
TÖRÖK Attila
8ce95d76fe
core/audio: Remove the now unused stream_handle parameter of start_stream
2023-11-26 03:51:28 +01:00
TÖRÖK Attila
23960883f8
core/audio: Remove the now dummy is_loading_complete
2023-11-26 03:51:28 +01:00
TÖRÖK Attila
ca8de7b791
core/avm2: Add sampledataevent to globals
2023-11-26 03:51:28 +01:00
Aaron Hill
993d8d9f9b
core: Add PlayerRuntime::{FlashPlayer, AIR} for Adobe AIR support
...
We've now had two different bug reports involving Adobe AIR
SWFs, so I'm going to go ahead and start adding a framework
for AIR support.
This commit just adds a command-line option
`--player-runtime <flash-player|air>` (defaulting to `flash-player`),
and passes it along to the `Player`. The actual value is currently
unused - in a follow-up PR, I'm going to implement namespace versioning
for AIR.
2023-11-25 19:05:51 -05:00