Commit graph

95 commits

Author SHA1 Message Date
Jordan Eldredge
2c7c449b1a Use react-redux hooks for Marquee 2019-08-20 07:43:23 -07:00
Jordan Eldredge
da4d7f83ad
Start using react redux hooks (#845)
* Upgrade react-redux

* Upgrade react-redux types

* Start adopting react-redux hooks
2019-08-09 10:10:20 -07:00
Jordan Eldredge
76af4b6436 Revert "POC: Try adding rexux-observable"
This reverts commit 58fd75c8a1.
2019-06-14 22:38:10 -07:00
Jordan Eldredge
58fd75c8a1 POC: Try adding rexux-observable
I don't know how we'll feasibly solve the multide of potential race conditons and async clean up memory leaks without something like rxjs. So, this is a trial to see the following:

1. How much does it increase bundle size?
2. How effective is typechecking?
3. Does it solve some of the difficult cancelation issues we have?
2019-06-13 19:21:41 -07:00
Jordan Eldredge
b3a17c8f99 Release 1.4.0 2019-05-14 08:04:54 -07:00
Jordan Eldredge
92d95f57eb Remove unused import 2019-05-01 22:42:38 -07:00
Jordan Eldredge
6132acdf2c Make focus nullable 2019-05-01 22:29:10 -07:00
Jordan Eldredge
67441f3c1b Change how actions are typed
If we want to use the new version of react-redux we need to be compatible with their types.

Sadly it does not seem to be possible to create a Dispatchable type which can be eiher a plain action or a thunk and still be compatible with react-redux's types becuase they use redux's Store type under the hood which assumes you have an object with a string type property.
2019-05-01 22:29:10 -07:00
Jordan Eldredge
fb35324ab6 Always parse skins as blobs
This avoids converting the skin to an arrayBuffer for no reason
2019-04-25 06:49:56 -07:00
Jordan Eldredge
4a3929a2b5 Fix bug where we could not progress to the next track
This was because we would go into stopped mode, and once in stopped mode, going to the next track was disabled.
2019-03-27 23:56:31 -07:00
Jordan Eldredge
dd1f6164d9 Don't autoplay on next when stoppedFixes #730 2019-03-25 06:31:49 -07:00
Jordan Eldredge
c4282817db Add more methods to Webamp
Replaces #660
2019-03-24 21:51:52 -07:00
Jordan Eldredge
bd5fa82c99 Trailing commas! 2019-03-19 06:55:24 -07:00
Jordan Eldredge
ee439b0e2c Import first 2019-03-19 06:55:23 -07:00
Jordan Eldredge
1885028ae1 Avoid excessive else 2019-03-19 06:55:23 -07:00
Jordan Eldredge
54c32b0636 Consolidate imports 2019-03-19 06:55:23 -07:00
jberg
c631882d73 Butterchurn dont error out on non milk/json file in directory when loading 2019-03-17 15:15:30 -07:00
remi.gallego@gmail.com
411669655f Extend drop target behaviour for objects 2019-03-16 22:23:19 -07:00
Jordan Eldredge
c634cd8b94 Fix off by one error when converting .eqf values
Validated that this was correct by looking at the output in `winamp-eqf`'s snapshot tests. A .eqf generated by real winamp with all the bands set at the midpoint outputs values of 33.

Fixes #749
2019-03-15 07:33:13 -07:00
Jordan Eldredge
a4e64aa131 Make impossible states impossible 2019-03-13 21:28:18 -07:00
Jordan Eldredge
5400be9638 Make preset property access type safe 2019-03-13 21:28:18 -07:00
Jordan Eldredge
d61585c8e3 Allow user to reshow the song title in Milkdrop 2019-03-13 21:28:18 -07:00
Jordan Eldredge
e41fb3d9b4 Test initial track selection 2019-03-13 21:28:18 -07:00
Jordan Eldredge
41e0ad4563 Support preset cycling 2019-03-13 21:28:18 -07:00
Jordan Eldredge
1407a0afb7 Randomize presets. Allow users to toggle this behavior 2019-03-13 21:28:18 -07:00
Jordan Eldredge
8559dd7257 Select previous preset 2019-03-13 21:28:18 -07:00
Jordan Eldredge
02aa688ed3 Next Preset hotkeys 2019-03-13 21:28:18 -07:00
Jordan Eldredge
0c14b74d0d Load .milk files when dragged in 2019-03-13 21:28:18 -07:00
Jordan Eldredge
814a73fd6e Remove coment that does not apply any more 2019-03-13 21:28:18 -07:00
Jordan Eldredge
fbd4a08972 Improve architecture of Milkdrop code 2019-03-13 21:28:18 -07:00
Jordan Eldredge
43fb4ad303 Progress 2019-03-13 21:28:18 -07:00
Jordan Eldredge
96c73f79cc Add local dir 2019-03-13 21:28:18 -07:00
Jordan Eldredge
d1cfc707ff [WIP] Milkdrop rewrite 2019-03-13 21:28:18 -07:00
Jordan Eldredge
5a4fcf47a9 Rewrite visualizer to use hooks 2019-03-13 21:28:18 -07:00
Jordan Eldredge
05801a1197 Move initial preset into thunk 2019-03-13 21:28:18 -07:00
Jordan Eldredge
3ab29aba84 Move presets to state 2019-03-13 21:28:18 -07:00
Jordan Eldredge
c05099fd8f Type some more stuff 2019-02-09 23:22:44 -05:00
Jordan Eldredge
54a267efbd Move Milkdrop desktop mode to Redux 2018-12-31 15:12:48 -08:00
Jordan Eldredge
f5c67f8ab7 Remove unused imports 2018-12-29 16:06:51 -08:00
Jordan Eldredge
b16fb3a2ae Move file specific media info to the track
Fixes #712
2018-12-29 16:06:51 -08:00
Jordan Eldredge
7c52b52ea7 Set bitrate and sample rate when loading metadata 2018-12-29 11:14:31 -08:00
Jordan Eldredge
c960c2ede0 Make eq snap smaller 2018-11-20 07:58:45 -08:00
Jordan Eldredge
fc6ae06816 Apply snap to preamp 2018-11-20 07:58:45 -08:00
Jordan Eldredge
47ba520c24 Add method to reopen Webamp 2018-11-11 21:14:44 -08:00
Jordan Eldredge
12f4a89d5a Include default presets in dropdown 2018-11-09 07:17:17 -08:00
Jordan Eldredge
af82af36da type Time 2018-10-23 22:02:32 -07:00
Jordan Eldredge
9f5c20d413 Require load style always be explicit
Fixes #687
2018-10-21 15:49:57 -07:00
Jordan Eldredge
7074630713 Format css according to prettier default config
Looks like I had a .editorconfig in the project root (not sure how it
got there) which was git ignored by my ~/.gitignore. It also turns out
that prettier will respect the indent settings in .editorconfig.

This sets my `.editorconfig` to use the Prettier default, checks it in,
and also reformats all the CSS.

Fixes #684
2018-10-20 10:12:19 -07:00
Borewit
cde0b4eb74 #673 Integration with limited to jsmediatags function replacement. 2018-10-18 22:19:41 -07:00
Jordan Eldredge
3ba47e6ed4 Ensure windows are on screen when window size changes 2018-10-14 08:34:30 -07:00