974 Commits (58283caf586f5de3b28c6c0bb085ce7e6d38b727)
 

Author SHA1 Message Date
leitner 5259ce9092 you need to #include <stdlib.h> 4 years ago
leitner 47043a16a8 add fmt_strm_malloc 4 years ago
leitner b6195a540a add man page for fmt_strm_alloca and fmt_strm_malloc 4 years ago
leitner dda1b00937 mmap_private opens the file for reading, not for writing 4 years ago
leitner 35e3a2fdb5 more cross references for open_* 4 years ago
leitner b0306a795d correct file open mode for mmap_private man page 4 years ago
leitner cf69bb3ac1 more cross references 4 years ago
leitner fa2eeedcfa update dependencies, use $(AR) and $(RANLIB) 4 years ago
leitner e7358e888e forward changes made in prototypes to actual implementation 4 years ago
leitner ebb3086b5c buffer_seek did not work at all m( 4 years ago
leitner 91c02ad365 undo fatfinger 4 years ago
leitner 6ca4390c8e also advance cur if upstream is a bytestream or an iobuf 4 years ago
leitner 93a13274e0 also increment cur in bs_skip if upstream is not a memory buffer 4 years ago
leitner b67a1af443 only use writev for larger chunks in buffer_putflush
only use lseek if it saves a read in buffer_seek
4 years ago
leitner 45f7a362e0 abort loop if EOF 4 years ago
leitner ddfdd4d077 add compiler.h to abstract gcc attributes 4 years ago
leitner 51869a80f8 also set upstream to error state 4 years ago
leitner 235dfb18cd add bs_seterrorstate 4 years ago
leitner 606a282145 also install parse.h 4 years ago
leitner b3b68521ef buffer_seek is no longer limited to the current buffer contents
add automated way to run unit test: make check
  add parse.h
  add bytestream abstraction for parsing data from a buffer or a file
4 years ago
leitner 302026f1b2 add functions for capacity checking and to skip bytes 4 years ago
leitner 03feeb7ef2 make check can now run in parallel 4 years ago
leitner f63eb1d9c5 move bs_err into own C file 4 years ago
leitner acee16d884 add unit tests for bs_capacitycheck (same as for bs_capacityassert
basically)
4 years ago
leitner 4f66a05d0b remove some warnings in unit tests
catch impossible buffer in bs_init_membuf
4 years ago
leitner 7ce1c93d0f add "make check" target and make it work :) 4 years ago
leitner fbb1a69c9c fix unit tests 4 years ago
leitner 3128a340ac make unit tests self contained 4 years ago
leitner 4df5ee1bf3 add prs_readblob (no unit tests yet) 4 years ago
leitner 3fff3ae6db add and use bs_capacityassert 4 years ago
leitner 9ddab2153f add asciiz parsing 4 years ago
leitner 50ceb217ab add buffer_peekc 4 years ago
leitner 32cafc2b80 add a few helpers for parsing binary data 4 years ago
leitner 48f36eb580 give __readmem__ its own #ifndef 4 years ago
leitner 32eb43f99c add byte_start, byte_starts
add a man page for byte_equal_notimingattack
4 years ago
leitner 48f7fea2c1 first_deferred actually needs to be extern all the time, not just
my_extern
4 years ago
leitner 58160829b4 add man pages for fmt_copybytes and fmt_copybytes_sizeof_minus1 5 years ago
leitner 567cfbb96a fmt_copybytes and fmt_copybytes_sizeof_minus1 now follow the dest==NULL
convention
5 years ago
leitner 818712d067 add fmt_copybytes_sizeof_minus1 5 years ago
leitner 94ebb21f87 add fmt and scan versions of uint* 5 years ago
leitner adea4281a7 add static analyzer targets 5 years ago
leitner 1544cf006c fix memory leak in error path 5 years ago
leitner 2389a150ac add errmsg documentation 5 years ago
leitner 19c65ab54f fix two complaints by clang's static analyzer 5 years ago
leitner 69c9d1454d port the epoll optimizations to kqueue, hopefully repairing it in the process 5 years ago
leitner 9d51f000ef silence another compiler warning 5 years ago
leitner bbaf63c7fd remove compiler warnings in ent
try to fix io_waituntil2 on freebsd
5 years ago
leitner dc69bc24ec escape </script> in fmt_jsonescape 5 years ago
leitner 99a29eaf6b don't assume memory allocations will succeed 5 years ago
leitner 751bb5bb66 try to work with gcc 8.3, too 5 years ago