Jordan Eldredge
dffb0949a5
Fix prettier issue
2019-11-30 13:42:53 -08:00
Jordan Eldredge
fb395c39c2
Upgrade prettier
2019-11-30 13:42:53 -08:00
Jordan Eldredge
1e0a9114dd
Upgrade ts ( #952 )
...
* Upgrade Typescript
* Upgrade prettier
* Upgrade eslint-typescript
* Don't abide extra else
* Remove eslint plugin that we don't use any more
* Remove unused Webpack plugin
* Remove eslint rule that we don't really need
* Remove unused Jest plugin
* Remove redundant package
* Prettier fixes
2019-11-30 13:42:53 -08:00
Jordan Eldredge
d09293c975
Fix lints
2019-11-30 13:42:53 -08:00
Jordan Eldredge
51f548faea
Better error message when missing magic
2019-11-30 13:42:53 -08:00
jberg
46447cd24d
Use image size in GuiObject.getwidth/getheight ( #949 )
2019-11-30 13:42:53 -08:00
Jordan Eldredge
5f497cd51f
Avoid flash of no background when switching background images
2019-11-30 13:42:53 -08:00
Jordan Eldredge
de453d6c48
Remove unused third params
2019-11-30 13:42:53 -08:00
Jordan Eldredge
6845d4d788
Turn ESLint rules back on for /modern
2019-11-30 13:42:53 -08:00
Jordan Eldredge
f8ecb3965a
Simplify tsconfig white/black lists
2019-11-30 13:42:53 -08:00
Jordan Eldredge
943b3284f9
Remove unused utility functions
2019-11-30 13:42:53 -08:00
Jordan Eldredge
a11e8543b3
Improve typing of .ts files in /modern ( #950 )
...
* Improve typing of Actions
* Make typing of MakiObjects more explicit
* Make parent optional
* Allow group to be initialized with all nulls
* Whitelist all runtime ts files for type checking
* Typecheck the entire modern codebase!
* Ignore typescript
2019-11-30 13:42:53 -08:00
jberg
3399700d85
Comment with source of default values for AnimatedLayer ( #947 )
2019-11-30 13:42:53 -08:00
jberg
b97dc37905
Fix Layer that specifies its own w/h ( #943 )
...
* Fix Layer that specifies its own w/h
* better handling for 0 and less nesting
* document bug
2019-11-30 13:42:53 -08:00
jberg
450a65a939
AnimatedLayer playing default should be false ( #945 )
2019-11-30 13:42:53 -08:00
jberg
4daad6abed
Fix skin select box value ( #940 )
...
* fix skin select box value
* move skinUrl into local component state
2019-11-30 13:42:53 -08:00
jberg
8d8dc19a3c
Handle not finding font file ( #942 )
2019-11-30 13:42:53 -08:00
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
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
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
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
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
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
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