Commits


amused-web: allocate lazily the (double) buffer for chunking


amused-web: free ws secret as soon as possible


amused-web: sync -include *.d list in makefile


amused-web: parse POST data in bufio' rbuf Add a proper upper limit (4096 seems enough for now) and safely NUL-terminate the rbuf. The idea is to later drop the clt->buf static buffer and allocate it on demand only when we need to do (http) chunking.


drop useless logging


fmt


amused-web: alert when the websocket gets closed


amused-web: make the filtering work Generate the HTML for the filter input in js (it's useless to have it there otherwise) and actually filter the entries. It's a basic case insensitive match, but it's a start. To do so, add dispatch event type X: to mark the end of the playlist so js can replay the filtering.


move timespecsub compat out of ev.c


update the README to mention building of amused-web


add make target web and install-web to build/install amused-web


tweak the configure - more consistent naming for libs (LDADD_LIB_*) - allow to change CC and CFLAGS as arguments - allow to specify the LDADD_LIB_* as arguments


fmt


add -Wno-pointer-sign to the mix


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.