Commit Graph

28 Commits (45702476e7d00b3e4ce832ef36b6c9b79da9ca5d)

Author SHA1 Message Date
leitner 4f1e1d300c make headers work in C++
add two more variable length integer encoding functions
leitner d17c2d1012 add functions to encode and decode integers in variable length binary
formats
leitner acd4fdb68b add/fix man pages
zero a buffer in io_passfd so valgrind does not complain when we pass it
to a syscall (which did not use the uninitialized parts anyway)
leitner 67a8f54b63 fix gcc warning
update Makefile for BSD users
leitner aa435fbee3 add fmt_strm
leitner 3c31c1a03b fmt_xlonglong was utterly broken (Johannes Vetter)
leitner 3004b518ef switch to size_t and ssize_t
leitner eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
leitner e0f6355a91 add a few man pages
sanjiyan 8f66476e0d remove strict alias warning...
leitner a8f6a1c121 remove special case stralloc textcode functions
write generic stralloc and array textcode wrapper functions
change textcode API to use long instead of int
add cescape fmt and scan functions to textcode
add fmt_foldwhitespace to textcode
leitner 5226dd010d change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
leitner 5674c5186d add long long fmt routines
leitner 40bba8865b add fmt_human, fmt_humank and fmt_httpdate
leitner a3b08eb5e5 add fmt_human and fmt_humank
leitner 5950f0c5ae add some man pages
leitner 85c18a49cb Lots of good clean-ups from Jukka Zitting!
leitner a7360d9385 fmt_long did not count the '-'
leitner b40bae5bf4 fmt_str was broken. It did not check for out==NULL
leitner d6ae7e2265 this time for real ;)
sanjiyan ffd6158589 removed div with a shift
leitner ada92190c4 change semantic of fmt_fill and add man pages.
leitner 6629de6768 add fmt_pad and fmt_fill.
leitner 6eca5174a8 fix outputting 0.
leitner 5c1abf12b5 hex conversion bug fix.
leitner 99bc1eb7e4 fmt_double looped inifinitely when trying to format 0.
leitner 762298de12 fmt_ulong did not output '0' properly.
leitner 3083708670 Initial revision