Commit graph

2641 commits

Author SHA1 Message Date
jberg
59feff8dd5 Fix for getprivateint/string defaultvalue, check for value, not just section (#944)
* Fix for getprivateint defaultvalue, check for value, not just section

* fix getprivatestring too
2019-11-30 13:42:53 -08:00
jberg
9ec4b8d882 Handle font loading breaking (#941) 2019-11-30 13:42:53 -08:00
Jordan Eldredge
2b882d3f1f Add back missing imports 2019-11-30 13:42:53 -08:00
Jordan Eldredge
557c05980e Clean up lint errors 2019-11-30 13:42:53 -08:00
Jordan Eldredge
63edd3c27c Fix some types in Actions 2019-11-30 13:42:53 -08:00
Jordan Eldredge
cbb309c8e8 Clean up copy/paste cruft 2019-11-30 13:42:53 -08:00
Jordan Eldredge
ad428e9e33 Fix some type errors in System 2019-11-30 13:42:53 -08:00
Jordan Eldredge
29c0034364 Utility to extract info about XML 2019-11-30 13:42:53 -08:00
Jordan Eldredge
6034d80d86 Log more stuff to Discord 2019-11-30 13:42:53 -08:00
Jordan Eldredge
607f1ad10c Only alert via Discorn on logs that opt into alerting 2019-11-30 13:42:53 -08:00
Jordan Eldredge
750f28580a Move tweet bot notifications from Python to JS 2019-11-30 13:42:53 -08:00
Jordan Eldredge
10b4c558d3 Consolidate Discord logger setup 2019-11-30 13:42:53 -08:00
Jordan Eldredge
8a544c86c8 Don't require Internet Archive info to get skin 2019-11-30 13:42:53 -08:00
Jordan Eldredge
3d8b8432d9 Remove s3 stuff from Twitter bot 2019-11-30 13:42:53 -08:00
Jordan Eldredge
7feac1a223 Handle missing skins better and move s3 update from Python to JS 2019-11-30 13:42:53 -08:00
Jordan Eldredge
46d1cb9874 Fix getting a tweetable skin, and stats 2019-11-30 13:42:53 -08:00
Jordan Eldredge
d68f9b8ea8 Bail 2019-11-30 13:42:53 -08:00
Jordan Eldredge
44798d0a29 Output is not an object 2019-11-30 13:42:53 -08:00
Jordan Eldredge
f9c6fdc6ab Ensure cli disconnects from DB 2019-11-30 13:42:53 -08:00
Jordan Eldredge
9ca10abdb4 Improve Discord logging 2019-11-30 13:42:53 -08:00
Jordan Eldredge
f526e4ba39 Remove reference to undefined db 2019-11-30 13:42:53 -08:00
Jordan Eldredge
41dccd3731 Type AnimatedLayer (#939) 2019-11-30 13:42:53 -08:00
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