leitner
|
41db97d380
|
improve json escape decoder, add test suite
|
2017-03-13 14:45:48 +00:00 |
|
leitner
|
3c68ae0dcc
|
scan_jsonescape ends when it sees an unescaped "
|
2017-03-13 13:46:37 +00:00 |
|
leitner
|
da2a8332fe
|
move headers to <libowfat/> upon install
|
2017-03-13 11:11:59 +00:00 |
|
leitner
|
a2f86a77b5
|
put includes into <libowfat/*.h>
|
2017-03-13 11:10:28 +00:00 |
|
leitner
|
b067d41e63
|
check new json encoding
|
2017-02-28 12:30:37 +00:00 |
|
leitner
|
c493b262ac
|
handle \n etc
|
2017-02-28 12:27:46 +00:00 |
|
leitner
|
c29096b2e0
|
some more eagain handling in tryread and trywrite
cosmetic change
|
2017-02-04 17:23:33 +00:00 |
|
leitner
|
26a193bff0
|
- and _ are also safe characters
|
2016-11-23 01:36:27 +00:00 |
|
leitner
|
a7f74699da
|
add #include <string.h> for memset/strcpy
|
2016-10-22 10:34:24 +00:00 |
|
leitner
|
6cd198cb98
|
remove unnecessary x86intrin.h include
|
2016-10-22 10:27:51 +00:00 |
|
leitner
|
d862c9e482
|
"fmt.h" instead of <fmt.h>
|
2016-10-15 12:29:00 +00:00 |
|
leitner
|
b4c4eb607e
|
remove OpenBSD #warning (obsd maintainer says no longer needed)
|
2016-10-11 11:45:46 +00:00 |
|
leitner
|
1a53c2221a
|
add deferral code
|
2016-10-04 22:46:05 +00:00 |
|
leitner
|
2a0bcc2fb6
|
implement deferred closing
|
2016-10-04 22:43:31 +00:00 |
|
leitner
|
b73a699dab
|
reengineer alt queue handling to prevent race
|
2016-10-04 21:31:14 +00:00 |
|
leitner
|
f9570b38a1
|
attempt to work around race condition when you close an fd but there are
still outstanding events queued on it.
|
2016-10-04 20:38:04 +00:00 |
|
leitner
|
8913f6174c
|
document race condition caused by queueing of multiple events
|
2016-10-01 20:10:38 +00:00 |
|
leitner
|
3039d04915
|
version bump
|
2016-10-01 15:40:16 +00:00 |
|
leitner
|
6aa0e5f643
|
document a few more changes
|
2016-10-01 15:22:17 +00:00 |
|
leitner
|
f973d7f4ab
|
add mmap_readat (like mmap_read but open by fd, not by name)
|
2016-10-01 15:15:44 +00:00 |
|
leitner
|
8d1f7f4024
|
make dep fix
|
2016-10-01 15:07:31 +00:00 |
|
leitner
|
18615acf60
|
instead of calling mmap with a size of 0 (which will fail), skip the
syscall and fail directly
|
2016-09-16 16:22:00 +00:00 |
|
leitner
|
c3c05dd884
|
use AT_FDCWD instead of -1
|
2016-07-14 16:47:05 +00:00 |
|
leitner
|
5c999f4c62
|
add mmap_readat
|
2016-07-14 16:19:47 +00:00 |
|
leitner
|
82b17dbfe3
|
add pread test
|
2016-06-23 19:43:00 +00:00 |
|
leitner
|
137b80ea74
|
test for pread and use it instead of lseek+read in cdb and io_mmapwritefile
|
2016-06-23 19:42:13 +00:00 |
|
leitner
|
79cc92ec6f
|
remove warning for crippled operating systems
|
2016-05-23 09:46:05 +00:00 |
|
leitner
|
3872474e17
|
osx
|
2016-05-23 09:44:14 +00:00 |
|
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)
|
2016-05-23 09:36:48 +00:00 |
|
leitner
|
d26b8082d8
|
shut up new gcc 6 warnings
|
2016-04-27 14:07:49 +00:00 |
|
leitner
|
05e4dcc94a
|
stupid sign extension
|
2016-04-25 19:23:50 +00:00 |
|
leitner
|
624412ce03
|
fix two issues found by clang's static analyser
|
2016-04-25 12:07:13 +00:00 |
|
leitner
|
83712b7f23
|
attempt to support FreeBSD
|
2016-04-07 12:08:05 +00:00 |
|
leitner
|
755ebfcb53
|
-fomit-leaf-frame-pointer was wrong even for gcc m(
|
2016-03-22 23:30:46 +00:00 |
|
leitner
|
ffc648cc14
|
typo
|
2016-03-19 10:16:26 +00:00 |
|
leitner
|
2208bdff68
|
gcc -> clang
|
2016-03-19 10:12:11 +00:00 |
|
leitner
|
a1f1986247
|
include <foo> -> include "foo"
|
2016-03-17 11:13:23 +00:00 |
|
leitner
|
48592a2400
|
-I.
|
2016-03-17 11:13:12 +00:00 |
|
leitner
|
09c7eac41f
|
#include <> to ""
|
2016-03-17 11:04:08 +00:00 |
|
leitner
|
dace178f25
|
add base64url support (forgot header)
compile byte/* with -O3
|
2016-02-28 12:26:05 +00:00 |
|
leitner
|
7f829a36bc
|
add base64url support
|
2016-02-28 12:24:47 +00:00 |
|
leitner
|
9ed7f82dc8
|
ar -> $(CROSS)ar
|
2016-01-27 18:59:38 +00:00 |
|
leitner
|
ed507aad14
|
support $DESTDIR for make install targets
|
2016-01-27 15:55:55 +00:00 |
|
leitner
|
fb6c39be63
|
special case buffer_get_token with token length 1 through memccpy (almost 4x speedup)
|
2015-12-17 16:25:08 +00:00 |
|
leitner
|
9cfa19396e
|
special case buffer_get_token with token length 1 through memccpy
|
2015-12-17 16:24:17 +00:00 |
|
leitner
|
9b2377c4be
|
fix operator precedence
|
2015-12-15 14:11:35 +00:00 |
|
leitner
|
80a9933ff1
|
use static inline instead of extern inline
|
2015-12-04 12:11:57 +00:00 |
|
leitner
|
774a4b6714
|
add unistd.h
|
2015-11-23 01:56:23 +00:00 |
|
leitner
|
685ebdfb80
|
oops, did not actually flush the buffer
|
2015-11-19 13:43:57 +00:00 |
|
leitner
|
a0cde0fee9
|
slight optimization for buffer_flush
|
2015-11-19 13:06:15 +00:00 |
|