Jordan Eldredge
46d0020143
Add Maki class ids
2019-09-27 06:51:26 -07:00
Jordan Eldredge
ffdbbeacb5
Log raw ID when we can't find a class
2019-09-27 06:43:17 -07:00
Jordan Eldredge
7b37b647a6
Add PlDir to runtime
2019-09-27 06:43:17 -07:00
Jordan Eldredge
7380ca281b
Test that all classes are implemented
2019-09-27 06:43:17 -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
Jordan Eldredge
ed8409b644
Return a string so other methods don't crash
2019-09-14 20:10:42 -07:00
Jordan Eldredge
442de3243f
Add font support ( #902 )
2019-09-14 19:52:35 -07:00
jberg
149a352a86
Fix image lookups for animated layers ( #928 )
2019-09-14 19:41:46 -07:00
jberg
ab3789b180
Move all image lookups to XML tree and support directly specifying image file ( #886 )
...
* handle image lookup in initialize for zip files
* remove unused params
* get image paths from node separately
* do image lookups in initialize
* fix lint errors
* handle case insensitivity and small tweaks
* handle nodes without name before we call toLowerCase
* fix isString
* move image lookups to xml tree
* update function comment
* spell out lowercase
* add additional comment about why we return node itself
* remove extra variable
* rename imagePaths to imageAttributes
* early returns
* move all resolved images to js_assets attribute instead of overwriting attr
* missed on previous renaming path->attribute
* fix lint errors
* need node back after rebase
* dont need children param anymore
2019-09-14 19:15:42 -07:00
jberg
01d00c74f8
Fix store namespacing in tests ( #927 )
2019-09-14 13:38:32 -07:00
jberg
201773c7a0
Implement goToTarget animations and setTargetX/Y/W/H/Alpha ( #923 )
...
* Implement goToTarget animations and setTargetX/Y/W/H/Alpha
* add defaults to simplify logic
2019-09-14 08:26:41 -07:00
Jordan Eldredge
6229ea6d09
Remove empty dir
2019-09-13 07:38:35 -07:00
Jordan Eldredge
6a73015276
Clean up types a bit
2019-09-13 07:28:05 -07:00
Jordan Eldredge
703f2fb1d6
Namespace modern app state
2019-09-13 07:18:38 -07:00
Jordan Eldredge
3b0e532569
Derive pos inside parseComand
2019-09-11 20:36:46 -07:00
Jordan Eldredge
df5693bdd2
Add disabled regression test for https://github.com/captbaritone/webamp/issues/898
2019-09-11 20:36:46 -07:00