Commit graph

12 commits

Author SHA1 Message Date
Jordan Eldredge
aedd8e4745
Modern integration (#833)
* Make modern part of the code base

`yarn modern` will now start a dev server with the modern app running.

The debugger is not yet setup

`yarn test` will run all the tests, both Webamp and "modern".

* Let debug work

* Prettier

* Ignore lint errors for now

* Point test at the now skin location
2019-08-05 19:17:12 -07:00
jberg
931ba4d8ca Fix getclassname typo (#832) 2019-08-05 18:54:58 -07:00
jberg
596af530fa add events on GuiObjects (#830)
* add events on GuiObjects

* switch to mouse enter/leave instead of out/over
2019-08-05 17:52:12 -07:00
Jordan Eldredge
7cb1e45a1a Migrate to ES6 modules 2019-08-05 08:11:57 -07:00
Jordan Eldredge
b2267d569b Use getclassname to avoid dependency cyle 2019-08-05 08:04:00 -07:00
jberg
cc386e05ae
add more maki objects and functions for corner amp to work (#826)
* add more maki objects and functions for corner amp to work

* fix functions to lower case / add unimplemented warning
2019-08-02 15:29:16 -07:00
jberg
6454952812 Handle MAKI functions being case insensitive (#825) 2019-08-02 06:58:57 -07:00
jberg
6304537326 Initialize maki object tree (#823)
* make initialize tree out of maki objects

* pass global flag to variables, only need hooks for global variables

* implement new opcode

* start using non generic makiobject

* run scripts

* fix running scripts

* skip standardframe for now

* switch to simple example for now

* make WAL a group

* move xml/init functions to be in GuiObject

* handle creating backing XML nodes for objects created (new) in scripts

* simpler null check

* add js_ prefixes

* only bind event handlers for hooks if they are present

* uppercase for Classes

* make null checking explicit

* need to check undefined, not null

* implement init for adding nodes to state tree

* dont render groupdefs, dont execute scripts in groupdefs

* implement getContainer

* move find descendants to utils
2019-08-01 17:25:03 -07:00
Jordan Eldredge
41553c5a85 Make the VM sync 2019-07-23 16:53:20 -07:00
jberg
06f3a473ed Add runtime version and remove version check hacks (#818)
* add runtime version and remove version check hacks

* move jump logic into a shared function
2019-07-20 16:39:19 -07:00
Jordan Eldredge
386d46bcd7 Add comments in places where we await because of #814 2019-07-19 22:03:59 -07:00
Jordan Eldredge
7d76a5762b Move runtime to toplevel 2019-07-16 18:48:02 -07:00
Renamed from experiments/modern/src/maki-interpreter/runtime/System.js (Browse further)