Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avm2: Use direct slot access in more native code #18911

Merged
merged 35 commits into from
Dec 13, 2024

Conversation

Lord-McSweeney
Copy link
Collaborator

@Lord-McSweeney Lord-McSweeney commented Dec 8, 2024

This also fixes a bug with BitmapData.paletteMap not using the right coordinates for the destination point, and another bug with PressAndTapGestureEvent::tapStageX/Y not working at all.

Notable changes:

  • Object::is_instance_of has been replaced with the new method Value::is_instance_of
  • Uses of FunctionObject::from_function have been replaced with FunctionObject::from_method. Previously, the former allocated a prototype while the latter did not; now, from_method always allocates a prototype.

@Lord-McSweeney Lord-McSweeney force-pushed the avm2-primobj-3 branch 2 times, most recently from 0e2b0b0 to 9c763d1 Compare December 9, 2024 06:52
@Lord-McSweeney Lord-McSweeney added A-avm2 Area: AVM2 (ActionScript 3) T-refactor Type: Refactor / Cleanup labels Dec 9, 2024
@Lord-McSweeney Lord-McSweeney force-pushed the avm2-primobj-3 branch 3 times, most recently from 9513d17 to cd21130 Compare December 10, 2024 01:23
@Lord-McSweeney Lord-McSweeney marked this pull request as ready for review December 10, 2024 05:26
@Lord-McSweeney Lord-McSweeney enabled auto-merge (rebase) December 13, 2024 21:13
@Lord-McSweeney Lord-McSweeney merged commit 9f95699 into ruffle-rs:master Dec 13, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) T-refactor Type: Refactor / Cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants