Commit Graph

891 Commits (48f36eb5803ac3ce0cc552b66a1b301033b541cf)
 

Author SHA1 Message Date
leitner 112ccf19e7 zero-terminate utf8 strings in ent
leitner ed67042965 undo freebsd fix, does not compile
leitner 2cc0eec6cc #define _POSIX_SOURCE for FreeBSD
leitner 3b44408747 jsonescape
leitner 30952a7e96 wtf
leitner b1d44d62dd update Makefile
leitner 2aceb52138 remove warning
leitner e4a2f4d068 compile if MSG_ZEROCOPY is not defined by libc
leitner f8c4132df0 add MSG_ZEROCOPY support (only used for buffers >8k)
leitner 2bb35a6106 support __builtin_swap16 and __builtin_swap32
leitner e0ee49ba2e fix fmt_ip6 (Erwin Hoffmann)
leitner 5a803f3e7c update man pages
leitner 61db2acee6 no :: at the end if it's only :0
leitner a4a2aed3de fmt_ip6 was violating rfc5952 section 4.2.2
leitner 928da70f1d add man pages for scan_urlencoded*
leitner 42a78bb04e man page and unit tests for scan_hexdump
leitner c8156a9841 add man page and unit tests for scan_base64url
leitner 8d449d442b don't write one more byte in error case
leitner 527e2e7c5b add unit tests and man page for scan_ldapescape
leitner ac2df2bf20 bring scan_cescape up to speed
leitner 8526ae3d0d fix utf-8 json encoding for outside basic multilingual plane
leitner 84d3e6a7b4 fmt_jsonescape: convert utf-8 >ffff to \u escaped surrogate pair
leitner b9eb81c58f move unit tests into each file (compile with -DUNITTEST)
leitner 760598ec2f #include <foo.h> -> #include <libowfat/foo.h>
leitner dba47741bf remove new compiler warnings from gcc 7
leitner 660c314341 a few more test suites
escapecharc now supports non-ascii
leitner 607801f2fd one less warning
leitner f412a657fb remove a few compiler warnings
leitner e89f098743 remove signedness warnings
leitner ce64436772 document scan_uuencoded
leitner 959151a24d add man page for scan_base64, handle partial blocks better
leitner 23b1412d47 add new line
leitner 7d308b957d add man page for scan_utf8_sem
leitner 14f26729e9 add scan_utf8_sem
add utf8 test suite
leitner 41db97d380 improve json escape decoder, add test suite
leitner 3c68ae0dcc scan_jsonescape ends when it sees an unescaped "
leitner da2a8332fe move headers to <libowfat/> upon install
leitner a2f86a77b5 put includes into <libowfat/*.h>
leitner b067d41e63 check new json encoding
leitner c493b262ac handle \n etc
leitner c29096b2e0 some more eagain handling in tryread and trywrite
cosmetic change
leitner 26a193bff0 - and _ are also safe characters
leitner a7f74699da add #include <string.h> for memset/strcpy
leitner 6cd198cb98 remove unnecessary x86intrin.h include
leitner d862c9e482 "fmt.h" instead of <fmt.h>
leitner b4c4eb607e remove OpenBSD #warning (obsd maintainer says no longer needed)
leitner 1a53c2221a add deferral code
leitner 2a0bcc2fb6 implement deferred closing
leitner b73a699dab reengineer alt queue handling to prevent race
leitner f9570b38a1 attempt to work around race condition when you close an fd but there are
still outstanding events queued on it.