Jordan Eldredge
f1696fd7e6
Type getGenExColors
2019-05-01 22:05:42 -07:00
Jordan Eldredge
cb0e328ec7
Type getPlaylistStyle
2019-05-01 22:05:42 -07:00
Jordan Eldredge
4dfc19a527
Type getCursorFromFilename
2019-05-01 22:05:42 -07:00
Jordan Eldredge
b873e0df31
Type getSpriteUrisFromFilename
2019-05-01 22:05:42 -07:00
Jordan Eldredge
f56e707a16
Type getImgFromFilename
2019-05-01 22:05:42 -07:00
Jordan Eldredge
8b49b5fa6a
Move getFileExtension to skinparserutils
2019-05-01 22:05:42 -07:00
Jordan Eldredge
2de880a917
Type getFileFromZip
2019-04-29 06:22:22 -07:00
Jordan Eldredge
3c97b2668f
Type getSpriteUrisFromImg
2019-04-25 07:29:25 -07:00
Jordan Eldredge
a1495cfd16
Start pulling parts of skinParser out into a TypeScript utils file
...
This will let us gradually type this file
2019-04-25 06:57:10 -07:00
Jordan Eldredge
bd5fa82c99
Trailing commas!
2019-03-19 06:55:24 -07:00
Jordan Eldredge
415463a579
Remove console.log
2018-10-11 07:03:44 -07:00
Jordan Eldredge
01f3b1a0ea
First stab at media library
2018-10-10 22:15:08 -07:00
Jordan Eldredge
1bdb7d6345
Inject lazy dependencies ( #639 )
...
Still TODO Find a nice way to expose WebampLazy as:
```JavaScript
import WebampLazy from 'webamp/lazy';
```
2018-09-02 09:01:51 -07:00
Jordan Eldredge
ea55456dc6
Ensure jszip is included in library build
2018-06-22 00:07:32 -07:00
Jordan Eldredge
902ef2f7c8
Move some skin data to JSON
2018-05-28 16:04:10 -07:00
Jordan Eldredge
3a4e5c146c
Name chunks
2018-05-14 22:40:16 -07:00
Jordan Eldredge
a801bbda7b
Lazy load JSZip
2018-05-14 20:40:06 -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
d30ce2eb23
Use default color if viscolor is short
2018-04-12 06:26:43 -07:00
Jordan Eldredge
b88e87b658
Use png in default skin to save 14kb
2018-04-01 13:03:09 -07:00
remigallego
2e360020ef
fix avaliable into available
2018-04-01 09:08:51 -07:00
Jordan Eldredge
bdb599fe32
Use default playlist colors when not specified
2018-02-17 21:55:54 -08:00
Jordan Eldredge
259f3bb9b4
Clean up skinParser comment
2018-01-31 20:43:39 -08:00
Jordan Eldredge
a46fbc80e9
Dramatically improve handling of cursors
...
Many thanks to Skinner's Atlas
Fixes #406
2018-01-24 09:15:47 -08:00
Jordan Eldredge
2848837dff
Remove myFile in favor of stateless functions
2018-01-14 14:36:21 -08:00
Jordan Eldredge
64468fef98
Improve handling of skins without gen.bmp
2018-01-14 14:36:21 -08:00
Jordan Eldredge
188bb3027d
Handle missing gen.bmp
2018-01-11 20:13:29 -08:00
Jordan Eldredge
816adde576
Add generic window component
2018-01-10 21:11:40 -08:00
Jordan Eldredge
07d31aded6
Clean up import order
2018-01-03 19:52:00 -08:00
Jordan Eldredge
d86f20705c
Handle corrupt PLEDIT.txt files
2017-11-16 21:31:39 -08:00
Jordan Eldredge
a7600c5a02
Make playlist colors more robust
2017-11-16 21:31:28 -08:00
Jordan Eldredge
e94f86e0aa
First attempt at region support
2017-11-15 21:10:31 -08:00
Jordan Eldredge
b10dffe454
Make ini not case sensitive
2017-11-15 21:10:21 -08:00
Jordan Eldredge
7a74d612c0
Make .ini parsing more robust
2017-11-15 21:10:16 -08:00
Jordan Eldredge
dd38be8098
Remove debug log statement
2017-11-02 08:00:55 -07:00
Jordan Eldredge
a104e35b36
Use createImageBitmap if possible
2017-10-12 14:16:02 -07:00
Jordan Eldredge
c03949bb59
Move cursors into skin
2017-10-08 11:49:19 -07:00
Jordan Eldredge
6855f8d5cb
Allow skin parsing to happen in parallel.
2017-10-07 15:54:22 -07:00
Jordan Eldredge
0e9541bcdb
Start reading curors from skin.
2017-10-07 15:45:45 -07:00
Jordan Eldredge
cf4c2ba909
Use createObjectURL in clase of data URI
...
This is cheaper and saves some memory. As suggested by @nkwiatek.
2017-09-30 14:35:21 -07:00
Jordan Eldredge
f8e4defdde
Remove extra values from skin image object
2017-09-07 21:37:08 -07:00
Jordan Eldredge
3a02258d81
Export the same name as the file
2017-09-07 21:36:34 -07:00
Jordan Eldredge
27645c35e1
Handle missing txt files in skins.
2017-08-27 13:15:25 -07:00
Jordan Eldredge
9775c6b915
Refactor sprites to async/await
...
This cleans up the implementation quite a bit, and allows us to clean up the
data for the sprite data.
Most importantly, this allows us to avoid problems where a cursor file like
`main.cur` would be picked up as the `main.bmp` file as was the case here:
https://twitter.com/LuigiHann/status/879077419331747841
2017-06-28 16:07:49 -07:00
Jordan Eldredge
fa16b4c6da
Upgrade JSZip
2017-06-25 14:07:49 -07:00
Jordan Eldredge
c40a78845b
Swith to Prettier
2017-03-20 23:14:15 +00:00
Jordan Eldredge
0872f5fad4
Standardize on es6 exports
2017-01-17 17:44:51 -08:00
Jordan Eldredge
7ecea310c7
Use implicit return where possible
2016-12-29 19:28:07 -08:00
Jordan Eldredge
1f5e7503b0
Separate sprite definitions from CSS rules
2016-08-29 20:15:21 -07:00
Jordan Eldredge
299b4cac77
Parse PLEDIT.TXT
2016-08-10 18:12:38 -07:00