Commit graph

12 commits

Author SHA1 Message Date
Jordan Eldredge
79ac60f1f1 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-11-30 13:42:53 -08:00
jberg
a0fab01e0e Fix getclassname typo (#832) 2019-11-30 13:42:53 -08:00
jberg
de7f9655a3 add events on GuiObjects (#830)
* add events on GuiObjects

* switch to mouse enter/leave instead of out/over
2019-11-30 13:42:53 -08:00
Jordan Eldredge
617574ed44 Migrate to ES6 modules 2019-11-30 13:42:53 -08:00
Jordan Eldredge
656c4ef8a9 Use getclassname to avoid dependency cyle 2019-11-30 13:42:53 -08:00
jberg
0335e4129f 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-11-30 13:42:53 -08:00
jberg
97dd22f314 Handle MAKI functions being case insensitive (#825) 2019-11-30 13:42:53 -08:00
jberg
769c7b9577 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-11-30 13:42:53 -08:00
Jordan Eldredge
0e059efe99 Make the VM sync 2019-11-30 13:42:53 -08:00
jberg
1ab5a9d0d7 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-11-30 13:42:53 -08:00
Jordan Eldredge
2cfec69c66 Add comments in places where we await because of #814 2019-11-30 13:42:53 -08:00
Jordan Eldredge
3105ab1372 Move runtime to toplevel 2019-11-30 13:42:53 -08:00
Renamed from experiments/modern/src/maki-interpreter/runtime/System.js (Browse further)