Commit graph

2608 commits

Author SHA1 Message Date
Jordan Eldredge
98e9e342de Update usage data 2019-09-28 17:00:13 -07:00
Jordan Eldredge
2a25f190a5 Add missing type annotation 2019-09-28 17:00:07 -07:00
Jordan Eldredge
ace4669f89 Upgrade to std.mi from Winamp 5.66 2019-09-28 16:42:57 -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
Jordan Eldredge
a17489de93 Fix types for Timer 2019-09-19 07:14:26 -07:00
Jordan Eldredge
1f3cb76212 Remove the Redux store from Maki objects 2019-09-19 07:11:20 -07:00
Jordan Eldredge
bd4b938268 Start typechecking more runtime objects 2019-09-19 07:03:31 -07:00
Jordan Eldredge
76976878a4 Improive typing in modern 2019-09-19 07:03:31 -07:00
Jordan Eldredge
416377fb1c Expose children via js_getChildren 2019-09-18 20:55:02 -07:00
Jordan Eldredge
ae32220624 Don't spread attributes into components
Eventually we want `.attributes` to be private and require going through methodso on the maki object to access.
2019-09-18 16:52:01 -07:00
Jordan Eldredge
c5a93d7954 Rename components to clarify that nodes are actually maki objects 2019-09-18 16:51:57 -07:00
Jordan Eldredge
b317c74468 Add parent references to XML tree 2019-09-17 21:09:05 -07:00
Jordan Eldredge
025bbc02fe Remove console.log 2019-09-17 07:36:24 -07:00
Jordan Eldredge
5f2f12cdd4 Trigger js_update on self 2019-09-17 07:10:58 -07:00
Jordan Eldredge
eb815d2ed1 Avoid rerender cascade
Previously a `js_trigger` event in MMD3's resting state would take about
40ms to render. Now it takes about 4ms.
2019-09-16 09:05:36 -07:00