Commit graph

2557 commits

Author SHA1 Message Date
Jordan Eldredge
f4ea5588b0 Implement all of List 2019-09-14 19:18:06 -07:00
Jordan Eldredge
fc979e8e04 Add eslint support for Maki any 2019-09-14 19:17:07 -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
Jordan Eldredge
a0a0c5dee4 Improve error reporting in function extraction script 2019-09-11 20:36:46 -07:00
Jordan Eldredge
62cc4af836 Throw usefull error instead of just logging it 2019-09-11 20:36:46 -07:00
Jordan Eldredge
646f8cfa52 Improve error message for missing opcode 2019-09-11 20:36:46 -07:00
Jordan Eldredge
78906d6f4c Check both types of call opcodes 2019-09-11 20:36:46 -07:00
Jordan Eldredge
f61097aff9 Try adding a progress dashboard (#925)
* First stab at dashboard

Show the % of classes that are complete

Use a table for the dashboard

Enable dashboard via `modern/ready`

* Add a box splitting out methods that are actually used
2019-09-11 11:29:43 -07:00
Jordan Eldredge
284e4b231a Fix summing count objects 2019-09-10 22:30:39 -07:00
Jordan Eldredge
b5f3602118 Add data from analyzing more skins 2019-09-10 22:11:36 -07:00
Jordan Eldredge
f93ccc31a6 Start analyzing more .wal files 2019-09-10 22:11:01 -07:00
Jordan Eldredge
3f43ab5aba Fix script to extract maki methods from a directory of .wal files 2019-09-10 21:07:42 -07:00
Jordan Eldredge
98f59996bd Enable overlays in devserver mode 2019-09-10 21:05:37 -07:00
jberg
65c419926a Need to prefix performance with window (#922) 2019-09-10 09:44:43 -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
jberg
54c5adc0b3
Implement timer (#909)
* Implement timer

* change isRunning in objects to match Winamp behavior, std.mi is wrong

* need to set start time for timer

* add comment to updated objects array
2019-09-10 09:17:26 -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
Jordan Eldredge
e7dc2e9ba3 Fix snapshots to work with new version of rc-slider 2019-09-10 08:05:42 -07:00
jberg
ea7946eaf0 Add more modern skins (#918) 2019-09-09 19:17:36 -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
9a3b133946 Fix layout overflow (#914)
* Fix layout overflow

* overflow if width or height are present
2019-09-07 15:42:37 -07:00
jberg
e7eb0c1500 Implement mouse position (#908)
* Implement mouse position

* move getMousePosition to utils
2019-09-07 10:29:28 -07:00
Jordan Eldredge
c8013edca2 Overflow hidden for layout 2019-09-06 21:03:36 -07:00
Jordan Eldredge
5bcf67f975 Upgrade rc-slider and lift React.StrictMode
rc-slider was preventing us from enabling this more broadly. With https://github.com/react-component/slider/pull/591 merged and released, we can make more of the app strict
2019-09-06 20:58:40 -07:00
Jordan Eldredge
19c0762853 Refactor portals to use hooks rather than deprecated lifecycle methods 2019-09-06 20:58:40 -07:00
jberg
a09a876c11 Trigger update on resize (#906) 2019-09-06 09:06:16 -07:00
jberg
c70abfc6c4 Implement float <-> string conversion (#907) 2019-09-06 09:04:43 -07:00
jberg
7db16faa63 Render animated layers, still needs image loading changes (#900)
* Render animated layers, still needs image loading changes

* convert params from strings once initially, add return types

* rename params->style

* fix gotoframe

* split out defaults/type conversion into own functions, review tweaks

* fix more null checks

* abstract out backgroundPosition and width/height calculation

* use raf for animation loop, split out into functions

* fix lint errors, specify window as global
2019-09-06 08:39:53 -07:00
jberg
4b54aed3bf fix ghost logic, add defaults and type conversion (#904) 2019-09-06 08:06:31 -07:00
dependabot[bot]
22b18786b0 Bump mixin-deep from 1.3.1 to 1.3.2 in /experiments/skin-database (#895)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-05 06:39:39 -07:00
dependabot[bot]
6a1a6628ec Bump mixin-deep from 1.3.1 to 1.3.2 in /experiments/skinArchiveTools (#896)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-05 06:39:32 -07:00
Jordan Eldredge
7d7dd7a2f2 alpha 2019-09-05 06:18:43 -07:00
Jordan Eldredge
f48731865c Type action 2019-09-05 06:16:31 -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
c13daa5cae Add a <title> 2019-09-05 06:12:55 -07:00
Jordan Eldredge
6c7afd2c3d Don't return undefined in asyncTreeFlatMap
Subsequent calls will try to access `node.children`, so we have to return some kind of object.

Prevents a failure in http://localhost:8080/modern?skinUrl=https%3A%2F%2Farchive.org%2Fcors%2Fwinampskin_EMP%2FEMP.wal

Now it fails due to opcode 255
2019-09-05 06:12:55 -07:00
jberg
02db018c28 Opacity tweak (#899) 2019-09-04 15:07:03 -07:00