953 Commits

Author SHA1 Message Date
leitner
03feeb7ef2 make check can now run in parallel 2020-10-30 19:46:30 +00:00
leitner
f63eb1d9c5 move bs_err into own C file 2020-10-30 15:35:53 +00:00
leitner
acee16d884 add unit tests for bs_capacitycheck (same as for bs_capacityassert
basically)
2020-10-30 15:18:37 +00:00
leitner
4f66a05d0b remove some warnings in unit tests
catch impossible buffer in bs_init_membuf
2020-10-30 15:06:17 +00:00
leitner
7ce1c93d0f add "make check" target and make it work :) 2020-10-30 14:50:42 +00:00
leitner
fbb1a69c9c fix unit tests 2020-10-30 14:39:49 +00:00
leitner
3128a340ac make unit tests self contained 2020-10-30 14:36:05 +00:00
leitner
4df5ee1bf3 add prs_readblob (no unit tests yet) 2020-10-30 12:52:15 +00:00
leitner
3fff3ae6db add and use bs_capacityassert 2020-10-30 12:13:05 +00:00
leitner
9ddab2153f add asciiz parsing 2020-10-30 01:27:19 +00:00
leitner
50ceb217ab add buffer_peekc 2020-10-30 00:26:41 +00:00
leitner
32cafc2b80 add a few helpers for parsing binary data 2020-10-29 23:25:54 +00:00
leitner
48f36eb580 give __readmem__ its own #ifndef 2020-10-27 20:43:09 +00:00
leitner
32eb43f99c add byte_start, byte_starts
add a man page for byte_equal_notimingattack
2020-10-22 20:43:13 +00:00
leitner
48f7fea2c1 first_deferred actually needs to be extern all the time, not just
my_extern
2020-08-10 01:40:40 +00:00
leitner
58160829b4 add man pages for fmt_copybytes and fmt_copybytes_sizeof_minus1 2020-07-14 19:55:38 +00:00
leitner
567cfbb96a fmt_copybytes and fmt_copybytes_sizeof_minus1 now follow the dest==NULL
convention
2020-07-14 19:49:39 +00:00
leitner
818712d067 add fmt_copybytes_sizeof_minus1 2020-07-14 19:46:35 +00:00
leitner
94ebb21f87 add fmt and scan versions of uint* 2020-07-14 18:11:59 +00:00
leitner
adea4281a7 add static analyzer targets 2020-07-14 16:08:26 +00:00
leitner
1544cf006c fix memory leak in error path 2020-07-14 16:08:08 +00:00
leitner
2389a150ac add errmsg documentation 2020-07-14 16:07:30 +00:00
leitner
19c65ab54f fix two complaints by clang's static analyzer 2020-06-16 12:40:57 +00:00
leitner
69c9d1454d port the epoll optimizations to kqueue, hopefully repairing it in the process 2020-05-15 11:42:53 +00:00
leitner
9d51f000ef silence another compiler warning 2020-05-14 14:48:40 +00:00
leitner
bbaf63c7fd remove compiler warnings in ent
try to fix io_waituntil2 on freebsd
2020-05-14 14:46:31 +00:00
leitner
dc69bc24ec escape </script> in fmt_jsonescape 2020-05-07 12:08:38 +00:00
leitner
99a29eaf6b don't assume memory allocations will succeed 2020-05-05 12:39:19 +00:00
leitner
751bb5bb66 try to work with gcc 8.3, too 2020-04-17 07:50:37 +00:00
leitner
aa285bfd1b remove failing assert that failed build 2020-04-16 17:33:09 +00:00
leitner
50c1daf653 use _Static_assert if available 2020-04-08 11:37:31 +00:00
leitner
8b0450cd29 some old glibc may define MSG_ZEROCOPY but not SO_ZEROCOPY :-( 2020-04-05 20:19:25 +00:00
leitner
261420b7b6 the glibc case of the new __writememsz__ and friends macros broke 2020-04-05 20:19:11 +00:00
leitner
8a8109f27e support gcc 10's access attribute when compiling with dietlibc 2020-04-01 17:10:26 +00:00
leitner
8bf1af6122 make mmap_private on Windows work on read-only files, too 2019-05-07 16:18:59 +00:00
leitner
71f52a7148 add some comments 2019-04-27 09:28:40 +00:00
leitner
6a71cd9a91 add libowfat/ to includes 2019-04-27 09:15:53 +00:00
leitner
77a2bbd17a half-hearted improvements to Windows compilability 2019-04-23 13:25:26 +00:00
leitner
3aef1c2faa half-hearted Windows compilability improvements 2019-04-23 13:22:07 +00:00
leitner
278a675a69 bsd fix 2019-02-21 12:43:06 +00:00
leitner
14df96bc34 less warnings 2019-02-21 12:39:44 +00:00
leitner
5c7270190b scan_utf8_sem 2019-02-21 12:38:12 +00:00
leitner
9e07364ad3 another attempt 2019-02-21 12:33:37 +00:00
leitner
7bb7679563 make headers fix for bsd make 2019-02-21 12:31:59 +00:00
leitner
97368fbfa6 BSD build fix (hopefully)
move more #include to <libowfat/...>
2019-02-21 12:24:05 +00:00
leitner
dbd1f990c8 be less restrictive (RFC says NUL CR and LF need to be escaped) 2018-12-14 22:21:53 +00:00
leitner
421df2174c systems without fastopen support return EPIPE 2018-12-14 13:54:26 +00:00
leitner
27331bbc10 version bump 2018-10-02 10:28:54 +00:00
leitner
fa9c86e8d8 update Makefile 2018-10-02 09:59:34 +00:00
leitner
533195b16f add unit test 2018-09-30 19:29:22 +00:00