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 |
leitner
|
aa285bfd1b
|
remove failing assert that failed build
|
5 years ago |
leitner
|
50c1daf653
|
use _Static_assert if available
|
5 years ago |
leitner
|
8b0450cd29
|
some old glibc may define MSG_ZEROCOPY but not SO_ZEROCOPY :-(
|
5 years ago |
leitner
|
261420b7b6
|
the glibc case of the new __writememsz__ and friends macros broke
|
5 years ago |
leitner
|
8a8109f27e
|
support gcc 10's access attribute when compiling with dietlibc
|
5 years ago |
leitner
|
8bf1af6122
|
make mmap_private on Windows work on read-only files, too
|
6 years ago |
leitner
|
71f52a7148
|
add some comments
|
6 years ago |
leitner
|
6a71cd9a91
|
add libowfat/ to includes
|
6 years ago |
leitner
|
77a2bbd17a
|
half-hearted improvements to Windows compilability
|
6 years ago |
leitner
|
3aef1c2faa
|
half-hearted Windows compilability improvements
|
6 years ago |
leitner
|
278a675a69
|
bsd fix
|
6 years ago |
leitner
|
14df96bc34
|
less warnings
|
6 years ago |
leitner
|
5c7270190b
|
scan_utf8_sem
|
6 years ago |
leitner
|
9e07364ad3
|
another attempt
|
6 years ago |
leitner
|
7bb7679563
|
make headers fix for bsd make
|
6 years ago |
leitner
|
97368fbfa6
|
BSD build fix (hopefully)
move more #include to <libowfat/...>
|
6 years ago |
leitner
|
dbd1f990c8
|
be less restrictive (RFC says NUL CR and LF need to be escaped)
|
6 years ago |
leitner
|
421df2174c
|
systems without fastopen support return EPIPE
|
6 years ago |
leitner
|
27331bbc10
|
version bump
|
6 years ago |
leitner
|
fa9c86e8d8
|
update Makefile
|
6 years ago |
leitner
|
533195b16f
|
add unit test
|
6 years ago |
leitner
|
8714ae112d
|
mention that the str_copy return value does not include the \0
add unit test
|
6 years ago |
leitner
|
2d78cb8406
|
fix unit test for fmt_escapecharc
add unit tests for fmt_xmlescape
|
6 years ago |
leitner
|
c857c95f06
|
s/write/writev/
|
6 years ago |
leitner
|
50a03e6b6f
|
add make pic
|
6 years ago |
leitner
|
1137831ddd
|
make fastopen fall back to connect if len==0
|
7 years ago |
leitner
|
3873bab74b
|
add stralloc_APPEND
use atomic updates for iom->working
|
7 years ago |
leitner
|
a8fa432152
|
minimal demonstrator program for iom api
|
7 years ago |
leitner
|
ce595ae0cc
|
add experimental iom API for multithreaded I/O multiplexing (in io.h)
|
7 years ago |
leitner
|
b3bccb9d88
|
#include_next no longer needed
|
7 years ago |
leitner
|
94feba3667
|
use write in buffer_put for a slight perf improvement
|
7 years ago |
leitner
|
d4d9b091ef
|
add rmdir
|
7 years ago |
leitner
|
708e34ab7f
|
don't escape poop emoji (emit as utf8 instead)
if input is not valid utf8, encode each invalid byte as utf8 in output
|
7 years ago |
leitner
|
112ccf19e7
|
zero-terminate utf8 strings in ent
|
7 years ago |
leitner
|
ed67042965
|
undo freebsd fix, does not compile
|
7 years ago |
leitner
|
2cc0eec6cc
|
#define _POSIX_SOURCE for FreeBSD
|
7 years ago |
leitner
|
3b44408747
|
jsonescape
|
7 years ago |
leitner
|
30952a7e96
|
wtf
|
7 years ago |
leitner
|
b1d44d62dd
|
update Makefile
|
7 years ago |