Commit graph

679 commits

Author SHA1 Message Date
Jordan Eldredge
a6522f69a6 Remove useless constructor 2018-04-30 17:48:30 -07:00
Jordan Eldredge
96ab4a1fee Enable Milkdrop behind a feature flag 2018-04-30 17:48:30 -07:00
Jordan Eldredge
22511ee522 Lazy load Butterchurn
This way Butterchurn is out of the critical path. It will not block
Webamp from becoming interactive/visible.
2018-04-30 17:48:30 -07:00
Jordan Eldredge
b302f5046b Use constants 2018-04-29 14:22:30 -07:00
jberg
be8a4c5025 integrate butterchurn 2018-04-27 13:46:38 -07:00
Jordan Eldredge
7c210677b1 Fix tests for genWindow 2018-04-26 07:17:11 -07:00
Jordan Eldredge
843a59cbb0 Merge duplicate utlity functions 2018-04-26 07:10:19 -07:00
Jordan Eldredge
21278239fa Fix window graph for generic windowsThis allows generic windows to bring along neighbor windows when sizes change (shade mode doubed etc) 2018-04-26 07:10:14 -07:00
Jordan Eldredge
842f12014e Move generic window size into state 2018-04-26 07:10:08 -07:00
Jordan Eldredge
db956cce6b Add key to genWindow context menu nodes 2018-04-26 07:10:02 -07:00
Jordan Eldredge
5e99ee46fa Allow generic windows to be toggled from the context menu 2018-04-26 07:09:25 -07:00
Jordan Eldredge
82c75bcc45 Add windows to context menu 2018-04-26 07:09:25 -07:00
Jordan Eldredge
7178bf7f9c Add gen windows to state 2018-04-26 07:09:25 -07:00
Jordan Eldredge
569a6819f0 Convert __extraWindows into an array 2018-04-23 07:11:34 -07:00
Jordan Eldredge
d7a2004d04 Allow custom windows to be provided via Webamp config 2018-04-22 21:47:45 -07:00
Jordan Eldredge
972689c448 Upgrade Prettier 2018-04-21 21:18:03 -07:00
Jordan Eldredge
a1541b59d6 Remove changelog from default playlist 2018-04-21 21:11:52 -07:00
Jordan Eldredge
b86413cda3 Add albumArtUrl to state
Helps with #510
2018-04-18 09:11:04 -07:00
Jordan Eldredge
0f27b2c47e Allow gen window to be resized via drag target 2018-04-15 11:08:29 -07:00
Jordan Eldredge
2d31310650 Pad track number
Fixes #412
2018-04-14 15:51:38 -07:00
Jordan Eldredge
91cd4d1dd3 Use setInterval 2018-04-14 12:31:29 -07:00
Jordan Eldredge
373822a6a4 Allow availableSkins to be optional 2018-04-14 11:44:24 -07:00
Jordan Eldredge
6b4859d43b Rename module 2018-04-14 11:44:24 -07:00
Jordan Eldredge
9afd9bc3d9 Rename css file 2018-04-14 11:44:24 -07:00
Jordan Eldredge
545c22a3fc Update CSS prefix 2018-04-14 11:44:24 -07:00
Jordan Eldredge
d20f1cae42 Start rename transition 2018-04-14 11:44:24 -07:00
Jordan Eldredge
d353dbcf1e Add 'on' to mock media instances 2018-04-14 11:44:23 -07:00
Jordan Eldredge
9cbef0cedc Document infinite duration bug better 2018-04-14 11:44:23 -07:00
Jordan Eldredge
ddc5fb74cb Use emitter abstraction for media class 2018-04-14 11:44:23 -07:00
Jordan Eldredge
d932aa139d Fix active state for main window title bar buttons
Fixes #541
2018-04-12 16:45:26 -07:00
Jordan Eldredge
854a09e3e6 Catch filePicker errors
Fixes #532
2018-04-12 08:25:25 -07:00
Jordan Eldredge
4a93013814 Add onMinimize callback 2018-04-12 06:26:43 -07:00
Jordan Eldredge
a180b96801 Pass correct mimetype to Firefox
When we switched to supporting .png skins, we forced Firefox to fallback to a sub-optimal image parsing strategy.
2018-04-12 06:26:43 -07:00
Jordan Eldredge
d700100626 Supress file drops outside of windows. Change drop cursors to better match Winamp
Fixes #529
2018-04-12 06:26:43 -07:00
Jordan Eldredge
d30ce2eb23 Use default color if viscolor is short 2018-04-12 06:26:43 -07:00
Jordan Eldredge
d2bfe64a44 Fix bug where we were continually destroying analysers that had already been destroyed 2018-04-10 20:24:42 -07:00
Jordan Eldredge
00eafd6b47 Shrink visualizer by one pixel
Fixes #536
2018-04-10 17:39:54 -07:00
Jordan Eldredge
aeb9522a47 Move analytics out of Winamp library 2018-04-10 17:39:54 -07:00
Jordan Eldredge
547c819919 Enclose case to avoid variable name conflict 2018-04-10 09:37:15 -07:00
Jordan Eldredge
25d2e66c25 Don't autoplay on buffer
Fix regression introduced in e9d2a21e7e.
2018-04-10 08:32:47 -07:00
Jordan Eldredge
e9d2a21e7e Don't error when trying to play an empty track 2018-04-09 16:24:29 -07:00
Jordan Eldredge
d5debf882c Try to do a better job cleaning up channel detection audio nodes 2018-04-09 07:01:02 -07:00
Jordan Eldredge
4f5ead46ed Make the linter happy 2018-04-08 21:42:49 -07:00
Jordan Eldredge
9c64e18bcc Try to work around iOS issue 2018-04-08 21:35:23 -07:00
Jordan Eldredge
82506df2dd Handle infinity for now 2018-04-08 20:00:54 -07:00
Jordan Eldredge
373d613e19 Un-revert, add duration to llama track
It seems the bug I saw (the demo track had an infinite duration), was not
a bug in my code, but a bug/change in the latest version of mobile
Safari.

Undoing the revert, since it doesn't really help, and adding back the
channel detection code.
2018-04-08 19:13:58 -07:00
Jordan Eldredge
5b39cb24a3 Revert to known state. Shit's broken 2018-04-08 15:08:10 -07:00
Jordan Eldredge
95d7432b5c Add Changelog podcast to default tracks... for a while 2018-04-08 14:50:32 -07:00
Jordan Eldredge
188b711952 Fix commit hash handling in dev mode 2018-04-08 14:50:19 -07:00
Jordan Eldredge
a1d73c2f34 Handle mono audio files 2018-04-08 14:48:28 -07:00