839 Commits (2cc0eec6ccb3559ccf7d40087f9b764e75a5e702)
 

Author SHA1 Message Date
leitner b6af872d43 update Makefile 11 years ago
leitner 321b30565d change return type to void 11 years ago
leitner 90acf965e7 add iarray_length 11 years ago
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
11 years ago
leitner dd436c5bf8 map mmap_read return a const char* 11 years ago
leitner c548cce5a1 another attempt at a thread-safe array 11 years ago
leitner c608502cd8 add scan_ulongn, scan_8longn, scan_xlongn, scan_longn, scan_netstring 11 years ago
leitner 74d676fc62 fix typo in man page
make use of __uint128_t in scan_ulongn and provide long long based
implementation for 32-bit platforms
11 years ago
leitner 9b6671efee add buffer_tosa check to marshal.c
failed attempt to improve scan_ulongn, results in essentially same code
but the C code looks slighly better so I'm keeping it
11 years ago
leitner cf3dc34288 actually increase stralloc.len 11 years ago
leitner 53e2af7389 never close fd 0, 1 or 2 in buffer_close 11 years ago
leitner 85d14a2703 ignore entities.h 11 years ago
leitner 9af06ac843 remove can't happen code and instead force a compile time error 11 years ago
leitner baec005507 improved code path for typical platforms where there is a wider integer type 11 years ago
leitner 08ba483bfb catch other potential overflow 11 years ago
leitner 4a04c40595 get rid of more -Wconversion warnings 11 years ago
leitner f7fee036c1 SECURITY: check for integer overflow in stralloc_ready 11 years ago
leitner 539ef564ab add unit tests for uint* 11 years ago
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 12 years ago
leitner 1333904fea make first argument to mmap_unmap const 12 years ago
leitner a451325318 add better comments
add fmt_copybytes
12 years ago
leitner 50b45b0f8d define UNALIGNED_ACCESS_OK on x86 12 years ago
leitner bba5426d38 add haveuint128.h 12 years ago
leitner f2ee8239d1 add more examples 12 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