Commits


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...


amused-web: client_ev: handle client error case too


amused-web.1: drop BUGS (solved), add CAVEATS


amused-web: drop -t


amused-web: playlist_swap misuse


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.)


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.


amused-web: don't allocate client struct twice


amused-web: simplify http_reply


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.


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.


amused-web: sync DISTFILES


amused-web: split out css and js to their own routes In the future we could apply some caching to these.


amused-web: rename variable for clarity


amused-web: strip the query from the request path