Commits


define a handy HEADERSIZE sizeof(struct np_msg_header) includes unwanted padding...


don't write the struct, the compiler adds some padding!


wrap


rename client_imsg_compose_listener-> client_send_...


different fix for the frozen buffer issue like did on telescope 73bb7969cfc48e90a10200bd6b1c8c1ed9aff4f2 unfreeze the buffer by default ("melt" it :P)


adding various debugging printfs...


repl improvements * use evbuffer for stdin * shell-like parsing * start to implement Tversion


add more useful constants


fix bufferevent tls I/O on libevent2 port of telescope commit 1470eab31452d2fab50bc4965320dab7892b2ef3 original commit message: > on libevent2 we need to wrap evbuffer_add with > evbuffer_freeze/evbuffer_unfreeze. Not sure exactly why, probably > because we're doing some evbuffer_enable/disable/enable-again.


improve logging if getpwnam fails it doesn't set errno when fails to find a user (which is correct, since a missing user is not *technically* an error, but still...)


log before closing the connection


typo


s/SIMPLEQ_/STAILQ_/g STAILQ_* macros seems to be more widespread than SIMPLEQ_*


check for arc4random now that we have proper libbsd


fix linkage to libbsd With this it automatically check if it's possible to link to to libbsd, using libbsd-ctor to avoid cluttering the sources.