Commits


partial revert of "abstract over evbuffers" partial revert of commit d54dd8160b88709f3d243e1410a781e5de7fc187. We don't really need an abstraction over "printf-like" things. I can just use plain old FILEs. open_memstream (which conforms to POSIX.1) is what I should have used from the beginning in my mcache implementation.


document write-buffer function, binding and alias


bind write-buffer to C-x C-w and add `w' alias


add write-buffer saves a page to the disk. Also, changes the order of the downloads so the new one is always at the top.


parser/serialize: abstract over evbuffers the serialize "method" will soon be used in other context where using evbuffers would be awkward. Introduce a small abstraction over it: a printfn (print function) fprintf-like.


regen


typo the command spotted by tgl^W freezr, thanks!


server moved


fmt


readd rcs id to ease trackability


sync recallocarray.c original commit from claudio@: Type-cast getpagesize() from int to size_t for the comparison with d. getpagesize() will only return positive numbers (there is no negative page size system) and it can not fail. Should fix some compiler warnings seen in -portable projects. OK otto@ (plus readding back the RCS id)


sync imsg.h original commit from claudio@: Make imsg.h a bit more self-contained by prototyping struct iovec. OK martijn@ mvs@ deraadt@


readd scan_scaled even if unused reduces the diff with /usr/src. (scan_scaled was updated since the initial import of fmt_scaled, hence the file revision bump.)


update bundled imsg-buffer.c to rev. 1.13 original commit from eric@: change the barrier so that fd's are always passed and received with the first byte of the imsg they belong to. idea, tweaks and ok claudio@


declare uri as static; while here improve legibility of the length check too