Commits


colorize text/x-patch


add compat for explicit_bzero Looking at the build failure for the nix package on darwin I noticed that explicit_bzero is used by recallocarray but not included in the compat layer...


wrap unfreeze in ifdef instead of defining macros in compat.h. It's clearer that it's only for libevent2 this way


unfrozen by default it seems that we can "melt" :P the evbuffer from the start to avoid the unfreeze/freeze dance


buffer is frozen; drain becomes a NOP


fix bufferevent tls I/O on libevent2 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. Retain compatibility with the custom libevent1 in base on OpenBSD.


libevent is already included by telescope.h


fix off-by-one Thanks to the fact that we're using a bigger buffer in the net process, and thanks to the way otto@' malloc works, it was easy to detect this off-by-one in a large page (RFC3089 in particular).


rendering text/plain documents as text an not pre-content let's start an experiments: using LINE_TEXT instead of LINE_PRE_CONTENT for documents managed by the texplain parser. I never read much text/plain content until now, but by starting to use finger and gopher the amount of text pages is only bound to grow.


factorize the line type


sync


simplify parsers api; use domain name if no title


fix gopher requests


sync


initial gophermaps support