Commit graph

2619 commits

Author SHA1 Message Date
Jordan Eldredge
50a9e60a3b Type AnimatedLayer 2019-10-08 17:54:10 -07:00
Jordan Eldredge
51eea19ed0 Remove unused import 2019-10-07 06:51:44 -07:00
Jordan Eldredge
ba343f13d8 Whitelist a few more modules that already typecheck 2019-10-07 06:51:44 -07:00
Jordan Eldredge
0549606fb2 Put comments where we have untyped runtime classes 2019-10-07 06:51:44 -07:00
Jordan Eldredge
19797a5ce4 Add a bunch of runtime files that typecheck 2019-10-07 06:51:44 -07:00
Jordan Eldredge
31be62cba4 Split out hello_world test 2019-10-07 06:51:44 -07:00
Jordan Eldredge
f8b5077558 Note that 122 is strangeCall 2019-10-07 06:51:44 -07:00
jberg
db517f2948 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-10-05 15:35:01 -07:00
Jordan Eldredge
8c860903cc Fix import path for snapshot 2019-10-01 20:43:57 -07:00
Jordan Eldredge
f599f88acd Pin corejs number 2019-10-01 09:33:06 -07:00
Jordan Eldredge
d51201c265 Add a section for vm tests 2019-10-01 09:32:53 -07:00
Jordan Eldredge
8fd748e8f3 Consolidate tests 2019-10-01 09:32:41 -07:00
Jordan Eldredge
7c40cca3e7 Derive data for scripts that include opcode 255 2019-09-28 21:53:38 -07:00
Jordan Eldredge
88478a1670
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-09-28 21:52:42 -07:00
Jordan Eldredge
5a80dfdb39 Add PlEdit and fix snapshots 2019-09-28 16:41:57 -07:00
Jordan Eldredge
3b7a920667 Add ID to error message when missing classes 2019-09-28 16:38:21 -07:00
Jordan Eldredge
76006f497e Name assertion 2019-09-28 16:38:21 -07:00
Jordan Eldredge
c34068b4df Warn if a method is missing 2019-09-28 16:38:21 -07:00
Jordan Eldredge
4588836d9b Use 5.66 version of Config.mi
Adds a single method
2019-09-28 16:38:21 -07:00
Jordan Eldredge
d3f881a0e3 Upgrade pldir to 5.66. Adds more methods 2019-09-28 16:38:21 -07:00
Jordan Eldredge
1c917e9865 Ensure method names never have spaces 2019-09-28 16:38:21 -07:00
Jordan Eldredge
36762dcbab Use common JS for stuff imported by eslint 2019-09-28 16:38:21 -07:00
Jordan Eldredge
2e21057b94 Pull object definitions out into json files 2019-09-28 16:38:21 -07:00
Jordan Eldredge
3766dafe0c
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-09-28 14:50:35 -07:00
Jordan Eldredge
d29868091d
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-09-27 09:30:06 -07:00
Jordan Eldredge
73bc040136 Fix comment to reflect current knowledge 2019-09-27 08:11:51 -07:00
Jordan Eldredge
c1e7f711f9 Confirm that getFormattedId is reversable 2019-09-27 06:39:45 -07:00
Jordan Eldredge
3a8d7bdf08 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-09-26 06:35:17 -07:00
Jordan Eldredge
ac39ae13dd Try to upgrade browserslist 2019-09-25 21:06:27 -07:00
Jordan Eldredge
f8fa376c2c Remove duplicate method 2019-09-25 20:58:11 -07:00
Jordan Eldredge
bca16260d2 Add pldir to objects 2019-09-23 09:09:27 -07:00
Jordan Eldredge
0f80b52b5f Fix OOM when parsing skins 2019-09-23 08:33:23 -07:00
Jordan Eldredge
200e29318c Clean up PopupMenu a tiny bit 2019-09-23 08:19:22 -07:00
Jordan Eldredge
e2240a67cd Clean up System a tiny bit 2019-09-23 08:19:22 -07:00
Jordan Eldredge
9fd7f050b4 Get script group via public method, not direct property access 2019-09-23 08:19:22 -07:00
Jordan Eldredge
c25cca9e78 Try to avoid OOM when parsing large numbers of skins (Untested) 2019-09-23 08:17:20 -07:00
Jordan Eldredge
502c2c27fb Clean up docs 2019-09-23 08:17:20 -07:00
Jordan Eldredge
aba2cf0196 Don't shadow global Map 2019-09-23 08:17:20 -07:00
Jordan Eldredge
30cabb0ce6 logger.warn only takes two arguments, unlike console.warn 2019-09-23 08:17:20 -07:00
jberg
787f596820 Fix for popupmenu commands (#931)
* Fix for popupmenu commands

* add return type
2019-09-21 19:16:49 -07:00
Jordan Eldredge
ef6e207999 Fix some type errors in System 2019-09-20 06:44:43 -07:00
Jordan Eldredge
3c0d37d3c5 Continue improving Maki types 2019-09-20 06:29:24 -07:00
Jordan Eldredge
d562d41dea Fix types for more Maki objects 2019-09-20 06:22:44 -07:00
Jordan Eldredge
6d64eb99c0 Remove accidental debug log 2019-09-19 21:16:14 -07:00
Jordan Eldredge
e21d79dad8 Fix more types for maki standard library 2019-09-19 21:12:10 -07:00
Jordan Eldredge
66666efbb6 Improve a few more types in Maki objects 2019-09-19 21:12:10 -07:00
Jordan Eldredge
148a1afd2d Fix types for Config 2019-09-19 21:12:10 -07:00
Jordan Eldredge
6b12f6f47b Remove unused arguments 2019-09-19 07:26:02 -07:00
Jordan Eldredge
60876fd52f Improve, but don't fix fully, types in Popmenu 2019-09-19 07:25:04 -07:00
Jordan Eldredge
eafca2f182
Implement list (#924)
* Add eslint support for Maki any

* Implement all of List
2019-09-19 07:15:25 -07:00