-
-
Notifications
You must be signed in to change notification settings - Fork 809
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
AVM1 DefineFunction support #63
Commits on Oct 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b0f25c9 - Browse repository at this point
Copy the full SHA b0f25c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for acfe0cc - Browse repository at this point
Copy the full SHA acfe0ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06c81d6 - Browse repository at this point
Copy the full SHA 06c81d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 693e791 - Browse repository at this point
Copy the full SHA 693e791View commit details -
Give AVM1 the notion of a stack frame.
This necessitates the use of a copy of SWF data into the GC arena, along with unsafe (and possibly unsound) pointer manipulation to get the action reader to hold a GC pointer.
Configuration menu - View commit details
-
Copy full SHA for 617b493 - Browse repository at this point
Copy the full SHA 617b493View commit details -
Allow stack frames to hold SwfSlices, which are
Rc
already.Functions that manipulate the stack now run inside of `with_current_reader_mut`, which calls a given function with a Reader for the current stack frame. If the stack frame still exists after that code runs, we update it's PC with the Reader's position.
Configuration menu - View commit details
-
Copy full SHA for 728c3d1 - Browse repository at this point
Copy the full SHA 728c3d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83c832c - Browse repository at this point
Copy the full SHA 83c832cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00b5d9e - Browse repository at this point
Copy the full SHA 00b5d9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for edc37de - Browse repository at this point
Copy the full SHA edc37deView commit details -
Off-the-end execution should implicitly return undefined if there's a…
…nother stack frame to run.
Configuration menu - View commit details
-
Copy full SHA for 13a8814 - Browse repository at this point
Copy the full SHA 13a8814View commit details -
Configuration menu - View commit details
-
Copy full SHA for 667b30f - Browse repository at this point
Copy the full SHA 667b30fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3d8390 - Browse repository at this point
Copy the full SHA f3d8390View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ab2eec - Browse repository at this point
Copy the full SHA 3ab2eecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 215d4f2 - Browse repository at this point
Copy the full SHA 215d4f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca1fb71 - Browse repository at this point
Copy the full SHA ca1fb71View commit details -
Move
this
into the activation object.Also, change the implicit `this` on functions to `active_clip` as per the `ActionContext` docstrings.
Configuration menu - View commit details
-
Copy full SHA for 9ede91d - Browse repository at this point
Copy the full SHA 9ede91dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90b0140 - Browse repository at this point
Copy the full SHA 90b0140View commit details -
Configuration menu - View commit details
-
Copy full SHA for d757ce0 - Browse repository at this point
Copy the full SHA d757ce0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22f75b7 - Browse repository at this point
Copy the full SHA 22f75b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for face06f - Browse repository at this point
Copy the full SHA face06fView commit details -
Minor refactor/adjustment of GetVariable/SetVariable impl to explicit…
…ly check for slashpaths
Configuration menu - View commit details
-
Copy full SHA for 7bf6e22 - Browse repository at this point
Copy the full SHA 7bf6e22View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc1ce76 - Browse repository at this point
Copy the full SHA fc1ce76View commit details -
Fix a number of bugs preventing the with-scope test from working at all:
1. We no longer implicitly return Undefined unless we're specifically returning from a function (this also keeps actions from filling the stack with Undefined) 2. With scopes are now always inserted behind the current set of locals rather than overriding them 3. `ActionSubtract` now subtracts (instead of adds)
Configuration menu - View commit details
-
Copy full SHA for 9b81a92 - Browse repository at this point
Copy the full SHA 9b81a92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 002dd99 - Browse repository at this point
Copy the full SHA 002dd99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17482b8 - Browse repository at this point
Copy the full SHA 17482b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 582b3a8 - Browse repository at this point
Copy the full SHA 582b3a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51a7b42 - Browse repository at this point
Copy the full SHA 51a7b42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 697a02b - Browse repository at this point
Copy the full SHA 697a02bView commit details -
Configuration menu - View commit details
-
Copy full SHA for deecd85 - Browse repository at this point
Copy the full SHA deecd85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 171cb9f - Browse repository at this point
Copy the full SHA 171cb9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d822a35 - Browse repository at this point
Copy the full SHA d822a35View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec1b5c4 - Browse repository at this point
Copy the full SHA ec1b5c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5865d7 - Browse repository at this point
Copy the full SHA a5865d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91cbbb4 - Browse repository at this point
Copy the full SHA 91cbbb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8734c03 - Browse repository at this point
Copy the full SHA 8734c03View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf5420e - Browse repository at this point
Copy the full SHA cf5420eView commit details -
Refactor: Since
function.rs
handles calling conventions it should j……ust hand the avm an activation object directly
Configuration menu - View commit details
-
Copy full SHA for 8ed09e2 - Browse repository at this point
Copy the full SHA 8ed09e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06d0cf5 - Browse repository at this point
Copy the full SHA 06d0cf5View commit details -
Since it is possible to have virtual properties in the scope chain, o…
…verwriting them should trigger their setters. Define, since it's intended for setting locals only, always uses force-set and does not trigger setters.
Configuration menu - View commit details
-
Copy full SHA for 5873eef - Browse repository at this point
Copy the full SHA 5873eefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 588b2bb - Browse repository at this point
Copy the full SHA 588b2bbView commit details -
Fix tellTarget being broken by the introduction of scopes. We now cre…
…ate a new scope chain based off the selected active clip.
Configuration menu - View commit details
-
Copy full SHA for 2d36585 - Browse repository at this point
Copy the full SHA 2d36585View commit details -
* Remove clone calls from Copy objects * Used Iterator::cloned() instead of manually cloning * Pass swf::Function into AvmFunction2::new() * Use action_clone_sprite
Configuration menu - View commit details
-
Copy full SHA for 1c3e440 - Browse repository at this point
Copy the full SHA 1c3e440View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6eba80 - Browse repository at this point
Copy the full SHA b6eba80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18a3494 - Browse repository at this point
Copy the full SHA 18a3494View commit details