93111d2
(HEAD -> master)
add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf by
2021-01-03 23:15:28 +0000
96a42d6
document changes by
2020-12-07 17:54:40 +0000
c9823c9
you need to #include <stdlib.h> by
2020-12-07 17:53:46 +0000
40a5ae7
add fmt_strm_malloc by
2020-12-07 17:53:24 +0000
bd5461a
add man page for fmt_strm_alloca and fmt_strm_malloc by
2020-12-07 17:53:13 +0000
6acd715
mmap_private opens the file for reading, not for writing by
2020-12-07 15:00:54 +0000
624c3ac
more cross references for open_* by
2020-12-07 14:57:16 +0000
00b0891
correct file open mode for mmap_private man page by
2020-12-07 14:20:57 +0000
7a484e1
more cross references by
2020-12-07 14:20:04 +0000
bab35a1
update dependencies, use $(AR) and $(RANLIB) by
2020-12-01 13:50:02 +0000
8b93394
forward changes made in prototypes to actual implementation by
2020-11-20 13:42:58 +0000
fe000e3
buffer_seek did not work at all m( by
2020-11-14 17:34:21 +0000
1948ac1
undo fatfinger by
2020-11-14 17:21:58 +0000
81def53
also advance cur if upstream is a bytestream or an iobuf by
2020-11-14 17:09:49 +0000
96ea061
also increment cur in bs_skip if upstream is not a memory buffer by
2020-11-14 16:53:54 +0000
c3366f8
only use writev for larger chunks in buffer_putflush only use lseek if it saves a read in buffer_seek by
2020-11-10 21:51:22 +0000
726614a
abort loop if EOF by
2020-11-10 21:23:45 +0000
a10f89d
add compiler.h to abstract gcc attributes by
2020-11-08 00:29:35 +0000
78084c5
also set upstream to error state by
2020-11-01 20:15:32 +0000
addd1d3
add bs_seterrorstate by
2020-11-01 15:16:16 +0000
622ee36
also install parse.h by
2020-10-30 21:39:46 +0000
c7e6a3a
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 by
2020-10-30 20:54:08 +0000
26a4866
add functions for capacity checking and to skip bytes by
2020-10-30 19:50:06 +0000
36e3301
make check can now run in parallel by
2020-10-30 19:46:30 +0000
36059b0
move bs_err into own C file by
2020-10-30 15:35:53 +0000
da6046b
add unit tests for bs_capacitycheck (same as for bs_capacityassert basically) by
2020-10-30 15:18:37 +0000
626a424
remove some warnings in unit tests catch impossible buffer in bs_init_membuf by
2020-10-30 15:06:17 +0000
da34bb9
add "make check" target and make it work :) by
2020-10-30 14:50:42 +0000
8354764
fix unit tests by
2020-10-30 14:39:49 +0000
5ce2f87
make unit tests self contained by
2020-10-30 14:36:05 +0000
671b6ed
add prs_readblob (no unit tests yet) by
2020-10-30 12:52:15 +0000
c8b8fbe
add and use bs_capacityassert by
2020-10-30 12:13:05 +0000
04f6a50
add asciiz parsing by
2020-10-30 01:27:19 +0000
6c12762
add buffer_peekc by
2020-10-30 00:26:41 +0000
e148456
add a few helpers for parsing binary data by
2020-10-29 23:25:54 +0000
ee6c774
give __readmem__ its own #ifndef by
2020-10-27 20:43:09 +0000
966c3f4
add byte_start, byte_starts add a man page for byte_equal_notimingattack by
2020-10-22 20:43:13 +0000
f56460e
first_deferred actually needs to be extern all the time, not just my_extern by
2020-08-10 01:40:40 +0000
0d817b6
add man pages for fmt_copybytes and fmt_copybytes_sizeof_minus1 by
2020-07-14 19:55:38 +0000
39587d0
fmt_copybytes and fmt_copybytes_sizeof_minus1 now follow the dest==NULL convention by
2020-07-14 19:49:39 +0000
85dfa44
add fmt_copybytes_sizeof_minus1 by
2020-07-14 19:46:35 +0000
1b2e166
add fmt and scan versions of uint* by
2020-07-14 18:11:59 +0000
6567d89
add static analyzer targets by
2020-07-14 16:08:26 +0000
e69ffa4
fix memory leak in error path by
2020-07-14 16:08:08 +0000
519c596
add errmsg documentation by
2020-07-14 16:07:30 +0000
d9d7a26
fix two complaints by clang's static analyzer by
2020-06-16 12:40:57 +0000
a208136
port the epoll optimizations to kqueue, hopefully repairing it in the process by
2020-05-15 11:42:53 +0000
8ada277
silence another compiler warning by
2020-05-14 14:48:40 +0000
798848e
remove compiler warnings in ent try to fix io_waituntil2 on freebsd by
2020-05-14 14:46:31 +0000
b8fd3b6
escape </script> in fmt_jsonescape by
2020-05-07 12:08:38 +0000
77b31e2
don't assume memory allocations will succeed by
2020-05-05 12:39:19 +0000
c0b851d
try to work with gcc 8.3, too by
2020-04-17 07:50:37 +0000
bf4f402
remove failing assert that failed build by
2020-04-16 17:33:09 +0000
445a565
use _Static_assert if available by
2020-04-08 11:37:31 +0000
3262a8d
some old glibc may define MSG_ZEROCOPY but not SO_ZEROCOPY :-( by
2020-04-05 20:19:25 +0000
782cbd8
the glibc case of the new __writememsz__ and friends macros broke by
2020-04-05 20:19:11 +0000
a9b2cc5
support gcc 10's access attribute when compiling with dietlibc by
2020-04-01 17:10:26 +0000
7208ff9
make mmap_private on Windows work on read-only files, too by
2019-05-07 16:18:59 +0000
a85915b
add some comments by
2019-04-27 09:28:40 +0000
c629697
add libowfat/ to includes by
2019-04-27 09:15:53 +0000
5945afe
half-hearted improvements to Windows compilability by
2019-04-23 13:25:26 +0000
62b1800
half-hearted Windows compilability improvements by
2019-04-23 13:22:07 +0000
600d51d
bsd fix by
2019-02-21 12:43:06 +0000
e78d79b
less warnings by
2019-02-21 12:39:44 +0000
79f12bb
scan_utf8_sem by
2019-02-21 12:38:12 +0000
1514eee
another attempt by
2019-02-21 12:33:37 +0000
75b28ec
make headers fix for bsd make by
2019-02-21 12:31:59 +0000
43983c9
BSD build fix (hopefully) move more #include to <libowfat/...> by
2019-02-21 12:24:05 +0000
0a75373
be less restrictive (RFC says NUL CR and LF need to be escaped) by
2018-12-14 22:21:53 +0000
d4adc80
systems without fastopen support return EPIPE by
2018-12-14 13:54:26 +0000
40178af
version bump by
2018-10-02 10:28:54 +0000
eed9582
update Makefile by
2018-10-02 09:59:34 +0000
eb4d3af
add unit test by
2018-09-30 19:29:31 +0000
2c4e279
add unit test by
2018-09-30 19:29:22 +0000
e0ab898
mention that the str_copy return value does not include the \0 add unit test by
2018-09-30 19:27:16 +0000
133aa01
fix unit test for fmt_escapecharc add unit tests for fmt_xmlescape by
2018-09-30 19:18:35 +0000
cc06de3
s/write/writev/ by
2018-09-24 22:38:10 +0000
1d1cd71
add make pic by
2018-08-24 12:00:46 +0000
da1d2a6
make fastopen fall back to connect if len==0 by
2018-07-09 21:01:37 +0000
7bfadf4
add stralloc_APPEND use atomic updates for iom->working by
2018-04-11 14:12:50 +0000
c4f30cc
minimal demonstrator program for iom api by
2018-03-27 02:48:47 +0000
22408af
add experimental iom API for multithreaded I/O multiplexing (in io.h) by
2018-03-27 02:23:00 +0000
9edee65
#include_next no longer needed by
2018-03-26 22:43:20 +0000
49dea92
use write in buffer_put for a slight perf improvement by
2018-03-12 13:04:30 +0000
8eceaa5
add rmdir by
2018-03-05 10:00:50 +0000
39a431f
don't escape poop emoji (emit as utf8 instead) if input is not valid utf8, encode each invalid byte as utf8 in output by
2018-02-02 18:16:09 +0000
707f0cc
zero-terminate utf8 strings in ent by
2018-02-02 17:43:25 +0000
20db301
undo freebsd fix, does not compile by
2017-12-17 10:39:45 +0000
e872340
#define _POSIX_SOURCE for FreeBSD by
2017-12-17 10:23:48 +0000
fd90aac
jsonescape by
2017-12-17 10:05:51 +0000
88f8d8a
wtf by
2017-12-17 10:01:19 +0000
cf4b194
update Makefile by
2017-12-17 09:51:16 +0000
d6ccf1d
remove warning by
2017-11-24 17:22:40 +0000
0073f74
compile if MSG_ZEROCOPY is not defined by libc by
2017-11-24 17:21:10 +0000
84436cb
add MSG_ZEROCOPY support (only used for buffers >8k) by
2017-11-15 14:09:26 +0000
f7078fb
support __builtin_swap16 and __builtin_swap32 by
2017-11-15 14:09:06 +0000
62fc452
fix fmt_ip6 (Erwin Hoffmann) by
2017-08-11 14:41:56 +0000
297abe2
update man pages by
2017-08-07 19:25:09 +0000
8dc2bb2
no :: at the end if it's only :0 by
2017-08-07 19:24:19 +0000
5a711cb
fmt_ip6 was violating rfc5952 section 4.2.2 by
2017-08-06 21:43:09 +0000