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
|
6 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 |
leitner
|
2aceb52138
|
remove warning
|
7 years ago |
leitner
|
e4a2f4d068
|
compile if MSG_ZEROCOPY is not defined by libc
|
7 years ago |
leitner
|
f8c4132df0
|
add MSG_ZEROCOPY support (only used for buffers >8k)
|
7 years ago |
leitner
|
2bb35a6106
|
support __builtin_swap16 and __builtin_swap32
|
7 years ago |
leitner
|
e0ee49ba2e
|
fix fmt_ip6 (Erwin Hoffmann)
|
7 years ago |
leitner
|
5a803f3e7c
|
update man pages
|
7 years ago |
leitner
|
61db2acee6
|
no :: at the end if it's only :0
|
7 years ago |
leitner
|
a4a2aed3de
|
fmt_ip6 was violating rfc5952 section 4.2.2
|
7 years ago |
leitner
|
928da70f1d
|
add man pages for scan_urlencoded*
|
7 years ago |
leitner
|
42a78bb04e
|
man page and unit tests for scan_hexdump
|
7 years ago |
leitner
|
c8156a9841
|
add man page and unit tests for scan_base64url
|
7 years ago |
leitner
|
8d449d442b
|
don't write one more byte in error case
|
7 years ago |
leitner
|
527e2e7c5b
|
add unit tests and man page for scan_ldapescape
|
7 years ago |
leitner
|
ac2df2bf20
|
bring scan_cescape up to speed
|
7 years ago |
leitner
|
8526ae3d0d
|
fix utf-8 json encoding for outside basic multilingual plane
|
7 years ago |
leitner
|
84d3e6a7b4
|
fmt_jsonescape: convert utf-8 >ffff to \u escaped surrogate pair
|
7 years ago |
leitner
|
b9eb81c58f
|
move unit tests into each file (compile with -DUNITTEST)
|
8 years ago |
leitner
|
760598ec2f
|
#include <foo.h> -> #include <libowfat/foo.h>
|
8 years ago |
leitner
|
dba47741bf
|
remove new compiler warnings from gcc 7
|
8 years ago |
leitner
|
660c314341
|
a few more test suites
escapecharc now supports non-ascii
|
8 years ago |
leitner
|
607801f2fd
|
one less warning
|
8 years ago |
leitner
|
f412a657fb
|
remove a few compiler warnings
|
8 years ago |
leitner
|
e89f098743
|
remove signedness warnings
|
8 years ago |
leitner
|
ce64436772
|
document scan_uuencoded
|
8 years ago |
leitner
|
959151a24d
|
add man page for scan_base64, handle partial blocks better
|
8 years ago |
leitner
|
23b1412d47
|
add new line
|
8 years ago |
leitner
|
7d308b957d
|
add man page for scan_utf8_sem
|
8 years ago |
leitner
|
14f26729e9
|
add scan_utf8_sem
add utf8 test suite
|
8 years ago |
leitner
|
41db97d380
|
improve json escape decoder, add test suite
|
8 years ago |
leitner
|
3c68ae0dcc
|
scan_jsonescape ends when it sees an unescaped "
|
8 years ago |