Commit Briefs

Omar Polo

add -Wno-pointer-sign to the mix


Omar Polo

add configure check for libmd; needed on some OSes for amused-web

On the BSDs the SHA1Init() and friends are part of libc, while on linux (and maybe other systems as well) we need an implementation of these function: libmd for example.


Omar Polo

fix the test for getdtablecount

The configure ran it but wasn't present in the tests.c file. Will need to switch away from this all-in-one someday...




Omar Polo

amused-web: drop -t


Omar Polo

amused-web: playlist_swap misuse


Omar Polo

amused-web: first round of portability tweaks

We still need an implementation of SHA1Init() & co, which on linux is not in libc (but is available with the same APIs in libmd.)


Omar Polo

amused-web: add websocket support; send forms via js if available

This allows amused-web to stay in sync using websockets (much like existing amused clients watch `amused monitor') and sends the forms in the background to avoid refreshing the page. Still missing is reopening the websocket, maybe blocking the UI in that case and showing the progress.



Omar Polo

amused-web: simplify http_reply


Omar Polo

amused-web: centralize the imsg handling

Keep a copy of the playing queue, status etc. to render the UI without doing imsg in the render path.


Omar Polo

don't reply with a STATUS on MODE change

This is to help amused-web. Change the ctl to send an extra STATUS after a MODE change to preserve the behaviour.


Omar Polo

amused-web: sync DISTFILES


Omar Polo

amused-web: split out css and js to their own routes

In the future we could apply some caching to these.