Commit graph

22 commits

Author SHA1 Message Date
Jordan Eldredge
f552edb2b0 Fix some type errors in System 2019-10-10 06:40:15 -07:00
Jordan Eldredge
51eea19ed0 Remove unused import 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
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
e2240a67cd Clean up System a tiny bit 2019-09-23 08:19:22 -07:00
Jordan Eldredge
ef6e207999 Fix some type errors in System 2019-09-20 06:44:43 -07:00
Jordan Eldredge
1f3cb76212 Remove the Redux store from Maki objects 2019-09-19 07:11:20 -07:00
jberg
6f7cb02bf1
Add more string functions (#911)
* Add more string functions

* add doc strings from std.mi

* fix strleft
2019-09-10 09:27:10 -07:00
Jordan Eldredge
be9734676b Prefer Date.getFullYear() (#920)
MDN says `.getYear` is deprecated.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear
2019-09-10 09:10:23 -07:00
Jordan Eldredge
3619859a8c Appease linter 2019-09-10 08:47:55 -07:00
jberg
8e83d8e5c9 Add more datetime functions (#916)
* Implement more datetime functions

* split out function

* add getdateyear and getdatedst

* add function comments from MAKI

* remove year/dst functions from test
2019-09-10 08:25:37 -07:00
jberg
1db9cfe031 Trigger hookables (#917) 2019-09-10 08:09:16 -07:00
jberg
f03452ebbb Add getVUMeter functions (#912) 2019-09-07 19:03:44 -07:00
jberg
49293be610 Add more system time and number functions (#913)
* Add more system time and number functions

* rename 2->Two
2019-09-07 15:44:50 -07:00
jberg
e7eb0c1500 Implement mouse position (#908)
* Implement mouse position

* move getMousePosition to utils
2019-09-07 10:29:28 -07:00
jberg
c70abfc6c4 Implement float <-> string conversion (#907) 2019-09-06 09:04:43 -07:00
Jordan Eldredge
0d9c05882c Add/enforce return types for implemented Maki methods 2019-09-05 06:16:31 -07:00
Jordan Eldredge
1868047e1a Add some missing method return types 2019-09-05 06:12:55 -07:00
Jordan Eldredge
b409aec8b3 Implement some simple System methods 2019-09-05 06:12:55 -07:00
Jordan Eldredge
78fd267407 Fix a few type errors 2019-08-30 07:35:10 -07:00
Jordan Eldredge
58c6c11244 Automatically add some types to Maki method arguments
These were added using `yarn lint --fix`.
2019-08-29 07:08:50 -07:00
Jordan Eldredge
e634095d66 Make all Maki objects TypeScript 2019-08-29 07:08:50 -07:00
Renamed from modern/src/runtime/System.js (Browse further)