45 Commits (b9af5f3905f26351d57173c32c60fc5abc77b4b4)

Author SHA1 Message Date
Felix von Leitner b9af5f3905 darwin compat 7 years ago
Felix von Leitner 8f64f1c9af add marshaling code for protocol buffers 8 years ago
Felix von Leitner ec32c40bab add netstring formatter
fix scan_netstring to actually correctly return the length of the transported string
add documentation
8 years ago
Felix von Leitner 3ccdc6055a support gcc 5 builtins for multiplication overflow in safemult.h
fix copypasted comment in fmt_asn1dertag
add man pages for add_of, sub_of and assign
8 years ago
Felix von Leitner ea849e7ebf a few missing headers and minor fixes
fix corking behavior for the case where a buffer follows a buffer in
iob_send
8 years ago
Felix von Leitner 33fcc42d09 add documentation 8 years ago
Felix von Leitner 5f90c12917 add fmt_iso8601 8 years ago
Felix von Leitner 6a74a47988 more updates 8 years ago
Felix von Leitner 21ca7d8264 remove compiler warnings 9 years ago
Felix von Leitner de26fa9ec3 remove compiler warnings 9 years ago
Felix von Leitner 6a1c199a99 $ make WERROR=-Werror now builds with -Werror
add some single char escaping routines to fmt.h
pull in html5 entities from w3c and use those to do a proper scan_html decoding
fix an off-by-one in fmt_to_array
add a ton of unit tests for the fmt routines
9 years ago
Felix von Leitner 4381f7c6a2 get rid of some compiler warnings 9 years ago
Felix von Leitner e1d937c67b if called with srclen > maxlen, return maxlen not srclen 9 years ago
Felix von Leitner 31ce8647fe if srclen>maxlen, truncate at maxlen 9 years ago
Felix von Leitner 29b9860a37 fmt_strn aborted one byte too late 9 years ago
Felix von Leitner 0482a9ec04 add json encoding routines to textcode 9 years ago
Felix von Leitner cf46170dc7 make headers work in C++
add two more variable length integer encoding functions
11 years ago
Felix von Leitner 24c6e42b3c add functions to encode and decode integers in variable length binary
formats
11 years ago
Felix von Leitner dfced9889c 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)
13 years ago
Felix von Leitner 36a09cdbbe fix gcc warning
update Makefile for BSD users
16 years ago
Felix von Leitner 1c8ffa9021 add fmt_strm 16 years ago
Felix von Leitner dc6ea1902b fmt_xlonglong was utterly broken (Johannes Vetter) 16 years ago
Felix von Leitner 0698149baf switch to size_t and ssize_t 17 years ago
Felix von Leitner e5c56dc6b0 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
18 years ago
Felix von Leitner cc8b30ba1d add a few man pages 19 years ago
Olaf Dreesen 748f7857e4 remove strict alias warning... 20 years ago
Felix von Leitner 640edc1651 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
20 years ago
Felix von Leitner c4b0574495 change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
20 years ago
Felix von Leitner 0a989950f6 add long long fmt routines 20 years ago
Felix von Leitner 7751ba7082 add fmt_human, fmt_humank and fmt_httpdate 20 years ago
Felix von Leitner e47b02cdf7 add fmt_human and fmt_humank 20 years ago
Felix von Leitner 10f26fd5bc add some man pages 21 years ago
Felix von Leitner d9ce04f950 Lots of good clean-ups from Jukka Zitting! 21 years ago
Felix von Leitner e518d7e0f0 fmt_long did not count the '-' 21 years ago
Felix von Leitner 5d07297e8c fmt_str was broken. It did not check for out==NULL 22 years ago
Felix von Leitner 28f2b90b1c this time for real ;) 22 years ago
Olaf Dreesen 88192569ba removed div with a shift 22 years ago
Felix von Leitner 818e782ce0 change semantic of fmt_fill and add man pages. 22 years ago
Felix von Leitner e29be9e016 add fmt_pad and fmt_fill. 22 years ago
Felix von Leitner f3ce612e36 fix outputting 0. 22 years ago
Felix von Leitner 4f44f5a482 fix outputting 0. 22 years ago
Felix von Leitner c4914f530b hex conversion bug fix. 22 years ago
Felix von Leitner 047ed33b8f fmt_double looped inifinitely when trying to format 0. 22 years ago
Felix von Leitner 0112bac580 fmt_ulong did not output '0' properly. 22 years ago
Felix von Leitner 28486b8367 Initial revision 22 years ago