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 |
leitner
|
da2a8332fe
|
move headers to <libowfat/> upon install
|
8 years ago |
leitner
|
a2f86a77b5
|
put includes into <libowfat/*.h>
|
8 years ago |
leitner
|
b067d41e63
|
check new json encoding
|
8 years ago |
leitner
|
c493b262ac
|
handle \n etc
|
8 years ago |
leitner
|
c29096b2e0
|
some more eagain handling in tryread and trywrite
cosmetic change
|
8 years ago |
leitner
|
26a193bff0
|
- and _ are also safe characters
|
8 years ago |
leitner
|
a7f74699da
|
add #include <string.h> for memset/strcpy
|
8 years ago |
leitner
|
6cd198cb98
|
remove unnecessary x86intrin.h include
|
8 years ago |
leitner
|
d862c9e482
|
"fmt.h" instead of <fmt.h>
|
8 years ago |
leitner
|
b4c4eb607e
|
remove OpenBSD #warning (obsd maintainer says no longer needed)
|
8 years ago |
leitner
|
1a53c2221a
|
add deferral code
|
8 years ago |
leitner
|
2a0bcc2fb6
|
implement deferred closing
|
8 years ago |
leitner
|
b73a699dab
|
reengineer alt queue handling to prevent race
|
8 years ago |
leitner
|
f9570b38a1
|
attempt to work around race condition when you close an fd but there are
still outstanding events queued on it.
|
8 years ago |
leitner
|
8913f6174c
|
document race condition caused by queueing of multiple events
|
8 years ago |
leitner
|
3039d04915
|
version bump
|
8 years ago |
leitner
|
6aa0e5f643
|
document a few more changes
|
8 years ago |
leitner
|
f973d7f4ab
|
add mmap_readat (like mmap_read but open by fd, not by name)
|
8 years ago |
leitner
|
8d1f7f4024
|
make dep fix
|
8 years ago |
leitner
|
18615acf60
|
instead of calling mmap with a size of 0 (which will fail), skip the
syscall and fail directly
|
8 years ago |
leitner
|
c3c05dd884
|
use AT_FDCWD instead of -1
|
9 years ago |
leitner
|
5c999f4c62
|
add mmap_readat
|
9 years ago |
leitner
|
82b17dbfe3
|
add pread test
|
9 years ago |
leitner
|
137b80ea74
|
test for pread and use it instead of lseek+read in cdb and io_mmapwritefile
|
9 years ago |
leitner
|
79cc92ec6f
|
remove warning for crippled operating systems
|
9 years ago |
leitner
|
3872474e17
|
osx
|
9 years ago |
leitner
|
d020e6d88b
|
another gcc 6 warning fix
compile on osx again
remove asm version of i?mult64 (was needed only for clang because it
didn't have __uint128_t, but it now has it)
|
9 years ago |
leitner
|
d26b8082d8
|
shut up new gcc 6 warnings
|
9 years ago |
leitner
|
05e4dcc94a
|
stupid sign extension
|
9 years ago |
leitner
|
624412ce03
|
fix two issues found by clang's static analyser
|
9 years ago |