Commit graph

2619 commits

Author SHA1 Message Date
jberg
7ae87d301c Handle Text node without font specified (#938) 2019-11-30 13:42:53 -08:00
Jordan Eldredge
008cad4256 Remove unused import 2019-11-30 13:42:53 -08:00
Jordan Eldredge
6708962b20 Whitelist a few more modules that already typecheck 2019-11-30 13:42:53 -08:00
Jordan Eldredge
dca126ba8e Put comments where we have untyped runtime classes 2019-11-30 13:42:53 -08:00
Jordan Eldredge
522a5788ea Add a bunch of runtime files that typecheck 2019-11-30 13:42:53 -08:00
Jordan Eldredge
ee5287b8cc Split out hello_world test 2019-11-30 13:42:53 -08:00
Jordan Eldredge
1b7255e9d8 Note that 122 is strangeCall 2019-11-30 13:42:53 -08:00
jberg
861945977f Unload scripts on skin change (#937)
* Unload scripts on skin change

* remove duplicate method, use onscriptloaded

* Add JsScript, unloadSkin in redux

* await unload call

* naming tweak
2019-11-30 13:42:53 -08:00
Jordan Eldredge
d6c9c823e0 Fix import path for snapshot 2019-11-30 13:42:53 -08:00
Jordan Eldredge
3b680c3c11 Pin corejs number 2019-11-30 13:42:53 -08:00
Jordan Eldredge
2dd4e45b78 Add a section for vm tests 2019-11-30 13:42:53 -08:00
Jordan Eldredge
bd7cf92993 Consolidate tests 2019-11-30 13:42:53 -08:00
Jordan Eldredge
9c35e3bef8 Derive data for scripts that include opcode 255 2019-11-30 13:42:53 -08:00
Jordan Eldredge
4bcb0e0575 Upgrade to std.mi from Winamp 5.66 (#936)
* Upgrade to std.mi from Winamp 5.66

* Add missing type annotation

* Update usage data
2019-11-30 13:42:53 -08:00
Jordan Eldredge
e28c2f4eea Add PlEdit and fix snapshots 2019-11-30 13:42:53 -08:00
Jordan Eldredge
bc69eec546 Add ID to error message when missing classes 2019-11-30 13:42:53 -08:00
Jordan Eldredge
d7face4261 Name assertion 2019-11-30 13:42:53 -08:00
Jordan Eldredge
99e963c231 Warn if a method is missing 2019-11-30 13:42:53 -08:00
Jordan Eldredge
aae83dffb2 Use 5.66 version of Config.mi
Adds a single method
2019-11-30 13:42:53 -08:00
Jordan Eldredge
7e60765bde Upgrade pldir to 5.66. Adds more methods 2019-11-30 13:42:53 -08:00
Jordan Eldredge
9330bb7570 Ensure method names never have spaces 2019-11-30 13:42:53 -08:00
Jordan Eldredge
dbec825823 Use common JS for stuff imported by eslint 2019-11-30 13:42:53 -08:00
Jordan Eldredge
db512847c7 Pull object definitions out into json files 2019-11-30 13:42:53 -08:00
Jordan Eldredge
460ea396ec Parse mi files (#935)
* Add more maki files found online

* Add parser for .mi files and confirm it can derive the objects we have today
2019-11-30 13:42:53 -08:00
Jordan Eldredge
1215beec76 Test that all classes are implemented (#933)
* Test that all classes are implemented

* Add PlDir to runtime

* Log raw ID when we can't find a class

* Add Maki class ids
2019-11-30 13:42:53 -08:00
Jordan Eldredge
e5d25b7289 Fix comment to reflect current knowledge 2019-11-30 13:42:53 -08:00
Jordan Eldredge
6eebad5e9c Confirm that getFormattedId is reversable 2019-11-30 13:42:53 -08:00
Jordan Eldredge
4e52a67d39 Add a few missing classes.
These still need to be added to runtime/index.ts I'm working on how to derive the IDs.

https://github.com/captbaritone/webamp/pull/855
2019-11-30 13:42:53 -08:00
Jordan Eldredge
75ce830ee5 Try to upgrade browserslist 2019-11-30 13:42:53 -08:00
Jordan Eldredge
dc4170fd38 Remove duplicate method 2019-11-30 13:42:53 -08:00
Jordan Eldredge
c7d3f0f947 Add pldir to objects 2019-11-30 13:42:53 -08:00
Jordan Eldredge
7f25ab2fb9 Fix OOM when parsing skins 2019-11-30 13:42:53 -08:00
Jordan Eldredge
d4a16239ed Clean up PopupMenu a tiny bit 2019-11-30 13:42:53 -08:00
Jordan Eldredge
39a6663960 Clean up System a tiny bit 2019-11-30 13:42:53 -08:00
Jordan Eldredge
b555cc720a Get script group via public method, not direct property access 2019-11-30 13:42:53 -08:00
Jordan Eldredge
6cabec22a9 Try to avoid OOM when parsing large numbers of skins (Untested) 2019-11-30 13:42:53 -08:00
Jordan Eldredge
1dff08f2d3 Clean up docs 2019-11-30 13:42:53 -08:00
Jordan Eldredge
1560df52ae Don't shadow global Map 2019-11-30 13:42:53 -08:00
Jordan Eldredge
86c3883af6 logger.warn only takes two arguments, unlike console.warn 2019-11-30 13:42:53 -08:00
jberg
55451ae5ac Fix for popupmenu commands (#931)
* Fix for popupmenu commands

* add return type
2019-11-30 13:42:53 -08:00
Jordan Eldredge
09bf9a73dc Fix some type errors in System 2019-11-30 13:42:53 -08:00
Jordan Eldredge
4d55557f7f Continue improving Maki types 2019-11-30 13:42:53 -08:00
Jordan Eldredge
09c4d7aaea Fix types for more Maki objects 2019-11-30 13:42:53 -08:00
Jordan Eldredge
a033d98f91 Remove accidental debug log 2019-11-30 13:42:53 -08:00
Jordan Eldredge
571b65ad8c Fix more types for maki standard library 2019-11-30 13:42:53 -08:00
Jordan Eldredge
5775dadae8 Improve a few more types in Maki objects 2019-11-30 13:42:53 -08:00
Jordan Eldredge
ef856bb617 Fix types for Config 2019-11-30 13:42:53 -08:00
Jordan Eldredge
9860da6570 Remove unused arguments 2019-11-30 13:42:53 -08:00
Jordan Eldredge
ab30417a24 Improve, but don't fix fully, types in Popmenu 2019-11-30 13:42:53 -08:00
Jordan Eldredge
bff2f94fc5 Implement list (#924)
* Add eslint support for Maki any

* Implement all of List
2019-11-30 13:42:53 -08:00