984 Commits (4a54307d01b9c55a5a2056f7a3c2a39bed7d0410)
 

Author SHA1 Message Date
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
3 years ago
Felix von Leitner 0d817b6e57 add man pages for fmt_copybytes and fmt_copybytes_sizeof_minus1
3 years ago
Felix von Leitner 39587d0c14 fmt_copybytes and fmt_copybytes_sizeof_minus1 now follow the dest==NULL
3 years ago
Felix von Leitner 85dfa44135 add fmt_copybytes_sizeof_minus1
3 years ago
Felix von Leitner 1b2e166e79 add fmt and scan versions of uint*
3 years ago
Felix von Leitner 6567d89ac0 add static analyzer targets
3 years ago
Felix von Leitner e69ffa426f fix memory leak in error path
3 years ago
Felix von Leitner 519c59690d add errmsg documentation
3 years ago
Felix von Leitner d9d7a26770 fix two complaints by clang's static analyzer
3 years ago
Felix von Leitner a2081362bb port the epoll optimizations to kqueue, hopefully repairing it in the process
3 years ago
Felix von Leitner 8ada277583 silence another compiler warning
3 years ago
Felix von Leitner 798848ec05 remove compiler warnings in ent
3 years ago
Felix von Leitner b8fd3b6bc9 escape </script> in fmt_jsonescape
3 years ago
Felix von Leitner 77b31e22a0 don't assume memory allocations will succeed
3 years ago
Felix von Leitner c0b851da69 try to work with gcc 8.3, too
3 years ago