-
-
Notifications
You must be signed in to change notification settings - Fork 828
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
Lord-McSweeney
merged 35 commits into
ruffle-rs:master
from
Lord-McSweeney:avm2-primobj-3
Dec 13, 2024
Merged
avm2: Use direct slot access in more native code #18911
Lord-McSweeney
merged 35 commits into
ruffle-rs:master
from
Lord-McSweeney:avm2-primobj-3
Dec 13, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lord-McSweeney
force-pushed
the
avm2-primobj-3
branch
2 times, most recently
from
December 9, 2024 06:52
0e2b0b0
to
9c763d1
Compare
Lord-McSweeney
added
A-avm2
Area: AVM2 (ActionScript 3)
T-refactor
Type: Refactor / Cleanup
labels
Dec 9, 2024
Lord-McSweeney
force-pushed
the
avm2-primobj-3
branch
3 times, most recently
from
December 10, 2024 01:23
9513d17
to
cd21130
Compare
adrian17
reviewed
Dec 10, 2024
adrian17
reviewed
Dec 10, 2024
adrian17
reviewed
Dec 10, 2024
adrian17
reviewed
Dec 10, 2024
adrian17
reviewed
Dec 10, 2024
Lord-McSweeney
force-pushed
the
avm2-primobj-3
branch
from
December 11, 2024 00:37
69bd560
to
296e6d5
Compare
adrian17
approved these changes
Dec 13, 2024
This removes `FunctionObject::from_function`, replacing it with `FunctionObject::from_method` which also now always allocates a prototype. Also, `Object::is_instance_of` has been simplified and moved to `Value`.
… some Shader classes
…` in `Metadata::as_json_object`
…ndent` in E4X code
…ct Objects instead of usual construction pipeline
torokati44
force-pushed
the
avm2-primobj-3
branch
from
December 13, 2024 21:03
296e6d5
to
269afce
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This also fixes a bug with
BitmapData.paletteMap
not using the right coordinates for the destination point, and another bug withPressAndTapGestureEvent::tapStageX
/Y
not working at all.Notable changes:
Object::is_instance_of
has been replaced with the new methodValue::is_instance_of
FunctionObject::from_function
have been replaced withFunctionObject::from_method
. Previously, the former allocated a prototype while the latter did not; now,from_method
always allocates a prototype.