940 Commits (d342fa80e27bfccd6a48d2260de714f5e45c09c6)
 

Author SHA1 Message Date
Felix von Leitner d342fa80e2 properly initialize deferred list in io_fd (did not help though) 1 year ago
Felix von Leitner 9f9b777fab add snarky comment 1 year ago
Felix von Leitner ce92de14c0 might actually work now 2 years ago
Felix von Leitner 5420136c6b attempt to prevent future endless loops in io_wait half-closed fd 2 years ago
Felix von Leitner 93111d2dc7 add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf 2 years ago
Felix von Leitner 96a42d6c7e document changes 2 years ago
Felix von Leitner c9823c9fbd you need to #include <stdlib.h> 2 years ago
Felix von Leitner 40a5ae7d3b add fmt_strm_malloc 2 years ago
Felix von Leitner bd5461a618 add man page for fmt_strm_alloca and fmt_strm_malloc 2 years ago
Felix von Leitner 6acd715154 mmap_private opens the file for reading, not for writing 2 years ago
Felix von Leitner 624c3ac378 more cross references for open_* 2 years ago
Felix von Leitner 00b0891427 correct file open mode for mmap_private man page 2 years ago
Felix von Leitner 7a484e1f0e more cross references 2 years ago
Felix von Leitner bab35a1169 update dependencies, use $(AR) and $(RANLIB) 2 years ago
Felix von Leitner 8b933945a1 forward changes made in prototypes to actual implementation 2 years ago
Felix von Leitner fe000e3df8 buffer_seek did not work at all m( 2 years ago
Felix von Leitner 1948ac17a4 undo fatfinger 2 years ago
Felix von Leitner 81def53a7d also advance cur if upstream is a bytestream or an iobuf 2 years ago
Felix von Leitner 96ea061228 also increment cur in bs_skip if upstream is not a memory buffer 2 years ago
Felix von Leitner c3366f8bbb only use writev for larger chunks in buffer_putflush 2 years ago
Felix von Leitner 726614af36 abort loop if EOF 2 years ago
Felix von Leitner a10f89d5f3 add compiler.h to abstract gcc attributes 2 years ago
Felix von Leitner 78084c5bd5 also set upstream to error state 2 years ago
Felix von Leitner addd1d3e88 add bs_seterrorstate 2 years ago
Felix von Leitner 622ee36925 also install parse.h 2 years ago
Felix von Leitner c7e6a3a55d buffer_seek is no longer limited to the current buffer contents 2 years ago
Felix von Leitner 26a48663ab add functions for capacity checking and to skip bytes 2 years ago
Felix von Leitner 36e3301ed9 make check can now run in parallel 2 years ago
Felix von Leitner 36059b066a move bs_err into own C file 2 years ago
Felix von Leitner da6046bc71 add unit tests for bs_capacitycheck (same as for bs_capacityassert 2 years ago
Felix von Leitner 626a424607 remove some warnings in unit tests 2 years ago
Felix von Leitner da34bb9603 add "make check" target and make it work :) 2 years ago
Felix von Leitner 835476466a fix unit tests 2 years ago
Felix von Leitner 5ce2f8743c make unit tests self contained 2 years ago
Felix von Leitner 671b6ed25e add prs_readblob (no unit tests yet) 2 years ago
Felix von Leitner c8b8fbe93b add and use bs_capacityassert 2 years ago
Felix von Leitner 04f6a50952 add asciiz parsing 2 years ago
Felix von Leitner 6c1276294d add buffer_peekc 2 years ago
Felix von Leitner e1484560e8 add a few helpers for parsing binary data 2 years ago
Felix von Leitner ee6c774c98 give __readmem__ its own #ifndef 2 years ago
Felix von Leitner 966c3f4d2f add byte_start, byte_starts 2 years ago
Felix von Leitner f56460eebc first_deferred actually needs to be extern all the time, not just 2 years ago
Felix von Leitner 0d817b6e57 add man pages for fmt_copybytes and fmt_copybytes_sizeof_minus1 2 years ago
Felix von Leitner 39587d0c14 fmt_copybytes and fmt_copybytes_sizeof_minus1 now follow the dest==NULL 2 years ago
Felix von Leitner 85dfa44135 add fmt_copybytes_sizeof_minus1 2 years ago
Felix von Leitner 1b2e166e79 add fmt and scan versions of uint* 2 years ago
Felix von Leitner 6567d89ac0 add static analyzer targets 2 years ago
Felix von Leitner e69ffa426f fix memory leak in error path 2 years ago
Felix von Leitner 519c59690d add errmsg documentation 2 years ago
Felix von Leitner d9d7a26770 fix two complaints by clang's static analyzer 2 years ago