971 Commits (1564beb8a3902a41b9e3add8a22ee1b0ea21af33)
 

Author SHA1 Message Date
leitner a9ca21ffc9 remove compiler warnings 11 years ago
leitner 324c8e0e8b add rules regarding ent 11 years ago
leitner d14d2536f0 get rid of -Wconversion warnings 11 years ago
leitner e1081e4b13 remove -Wconversion warnings 11 years ago
leitner 18afec7d68 scan_*longlong now properly abort if the number would not fit 11 years ago
leitner 9a1addce2f remove compiler warnings 11 years ago
leitner 01ffc04006 do proper early abort in the other scan_* routines if the numeric value
is too large
11 years ago
leitner 35942878c2 $ 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
11 years ago
leitner dd4f86fbfa add some unit tests for the formatting routines 11 years ago
leitner 73db80daec get rid of some compiler warnings 11 years ago
leitner 35382a430e if called with srclen > maxlen, return maxlen not srclen 11 years ago
leitner 21d0ea4549 if srclen>maxlen, truncate at maxlen 11 years ago
leitner a85bfc1b81 fmt_strn aborted one byte too late 11 years ago
leitner fb5bd841a8 | not + 11 years ago
leitner 1d2add208f add json encoding routines to textcode 11 years ago
leitner 66cb1c1c82 fix dependencies 11 years ago
leitner ff3a3410ec hopefully this fixes the looping gatling processes 11 years ago
leitner 45702476e7 add scan_netstring 11 years ago
leitner 69eb8c01e3 add scan_ulongn, scan_8longn, scan_xlongn and scan_longn 11 years ago
leitner ee4a2c0cdb add man pages for buffer_from* 11 years ago
leitner 24d8e81116 add buffer_fromarray, buffer_frombuf 11 years ago
leitner 875c0dc491 add haveuint128.h
byte.h now defines UNALIGNED_ACCESS_OK on x86
11 years ago
leitner 9343743743 fix compile error 11 years ago
leitner 76e9ed7b3b add tryuing128.c and ignore haveuint128.h 11 years ago
leitner 1333904fea make first argument to mmap_unmap const 11 years ago
leitner a451325318 add better comments
add fmt_copybytes
11 years ago
leitner 50b45b0f8d define UNALIGNED_ACCESS_OK on x86 11 years ago
leitner bba5426d38 add haveuint128.h 11 years ago
leitner f2ee8239d1 add more examples 11 years ago
leitner 37013d414b add compiletimeassert.h 12 years ago
leitner dfb4915f0a add cast so the file compiles in c++ mode too 12 years ago
leitner 5ef52a7e44 catch more bad encoding 12 years ago
leitner cdb07d6d95 minor update 12 years ago
leitner f7606283c8 add byte_equal_notimingattack 13 years ago
leitner 852608b829 add awesome hack in isset.h (comex, Linus Torvalds) 13 years ago
leitner e175800a8c add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
13 years ago
leitner 6e6fc8b85d fix endless loop bug on freebsd 13 years ago
leitner 6185645a35 add trivial compare-and-swap test 13 years ago
leitner 662bd78aa4 fix return value 13 years ago
leitner 2a86a4e789 win32 cross compile fix for iarray 13 years ago
leitner c2a2a15c12 document the return value expected from the callback given to iob_write
remove unused #include in iob_reset
if iob_addfile_close fails, it now closes the fd
if iob_addbuf_munmap fails, it now munmaps the buf
if iob_addbuf_free fails, it now frees the buf
some win32 cross-compile fixes for iarray
13 years ago
leitner 4f1e1d300c make headers work in C++
add two more variable length integer encoding functions
13 years ago
leitner d17c2d1012 add functions to encode and decode integers in variable length binary
formats
13 years ago
leitner ad6c2d9ce7 add functions to encode and decode variable length integers in binary 13 years ago
leitner 662cf55fc9 accept -3 as error return from the callback, too 13 years ago
leitner c099365ec7 mingw compile fix 13 years ago
leitner b0886bc324 the iob calls return int, not void 13 years ago
leitner 82e6b4086b socket_remote4 does not need havescope.h 13 years ago
leitner f2a33b77ef change macros to inline functions to get rid of gcc warning 14 years ago
leitner bc6735c61c change macros to inline functions to get rid of strict aliasing gcc
warnings in code using them
14 years ago