Jordan Eldredge
b69356cd87
Better error message when missing magic
2019-11-14 22:25:59 -08:00
jberg
2f89be1e18
Use image size in GuiObject.getwidth/getheight ( #949 )
2019-11-02 14:07:14 -07:00
Jordan Eldredge
a1139ec371
Avoid flash of no background when switching background images
2019-10-22 16:32:43 -07:00
Jordan Eldredge
e57a958613
Remove unused third params
2019-10-22 08:28:51 -07:00
Jordan Eldredge
5fd96ef40e
Turn ESLint rules back on for /modern
2019-10-22 08:28:51 -07:00
Jordan Eldredge
209f3c4ada
Simplify tsconfig white/black lists
2019-10-22 08:28:51 -07:00
Jordan Eldredge
90217ad334
Remove unused utility functions
2019-10-22 08:28:51 -07:00
Jordan Eldredge
3f6dfd91dd
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-10-18 06:34:10 -07:00
jberg
d7c55e486d
Comment with source of default values for AnimatedLayer ( #947 )
2019-10-11 20:10:33 -07:00
jberg
8881332f1b
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-10-11 20:10:18 -07:00
jberg
833907e1c2
AnimatedLayer playing default should be false ( #945 )
2019-10-11 20:03:54 -07:00
jberg
3893f76d38
Fix skin select box value ( #940 )
...
* fix skin select box value
* move skinUrl into local component state
2019-10-11 16:15:53 -07:00
jberg
d56e688cd9
Handle not finding font file ( #942 )
2019-10-11 16:14:06 -07:00
jberg
8308cb99ee
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-10-11 16:13:15 -07:00
jberg
cd409279a4
Handle font loading breaking ( #941 )
2019-10-10 17:45:42 -07:00
Jordan Eldredge
c953300366
Fix some types in Actions
2019-10-10 06:49:33 -07:00
Jordan Eldredge
bc4e7e4a23
Clean up copy/paste cruft
2019-10-10 06:44:37 -07:00
Jordan Eldredge
f552edb2b0
Fix some type errors in System
2019-10-10 06:40:15 -07:00
Jordan Eldredge
024469649e
Utility to extract info about XML
2019-10-10 06:36:16 -07:00
Jordan Eldredge
26ffb91ab3
Type AnimatedLayer ( #939 )
2019-10-08 18:05:02 -07:00
jberg
108ae57c10
Handle Text node without font specified ( #938 )
2019-10-08 16:16:36 -07:00
Jordan Eldredge
51eea19ed0
Remove unused import
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
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
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
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