879 Commits

Author SHA1 Message Date
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
leitner
189d8bad1d darwin compat 2015-11-11 08:04:00 +00:00
leitner
f74f9b9b25 add socket_udp4b and socket_udp6b 2015-10-16 17:12:22 +00:00
leitner
32a312b8f1 add marshaling code for protocol buffers 2015-09-29 19:01:25 +00:00
leitner
6859c4b6ca add netstring formatter
fix scan_netstring to actually correctly return the length of the transported string
add documentation
2015-09-29 15:29:57 +00:00
leitner
fb1f19042f support gcc 5 builtins for multiplication overflow in safemult.h
fix copypasted comment in fmt_asn1dertag
add man pages for add_of, sub_of and assign
2015-09-29 14:42:40 +00:00
leitner
6cfc16fc40 add gcc 5 integer overflow intrinsics support to rangecheck.h
in the process, identify a gnarly problem that was not only not found by
  the test suite, there was a test testing for the wrong behavior!
2015-09-29 14:10:03 +00:00
leitner
7bdc1b29bb a few missing headers and minor fixes
fix corking behavior for the case where a buffer follows a buffer in
iob_send
2015-09-06 18:01:02 +00:00
leitner
cdecd16ab3 add documentation 2015-05-13 21:43:45 +00:00
leitner
e5865bcc52 fix timezone handling 2015-05-13 21:42:58 +00:00
leitner
ac6979e4af add scan_iso8601+test 2015-05-13 21:21:16 +00:00
leitner
ad5ce55281 add fmt_iso8601 2015-05-13 20:33:51 +00:00
leitner
695843c79e small buffer optimization
fix botched noipv6 case in buffer_tcp6
2015-04-23 15:15:08 +00:00
leitner
214ad3a92e use gcc magic and a #define to convert buffer_puts to buffer_put if the
string argument length is known at compile time (same for
buffer_putsflush)
2015-04-19 02:11:41 +00:00
leitner
fce165fdcb remove dead store 2015-04-10 23:15:59 +00:00
leitner
c523dcbc48 also install critbit.h
documentation clarification
2015-04-10 20:57:54 +00:00
leitner
1b3e55485b make critbit0_contains as pure 2015-04-09 23:35:40 +00:00
leitner
3dff6a2630 bump version 2015-04-09 20:26:12 +00:00
leitner
6d4c3850d6 update dependency 2015-04-09 19:06:39 +00:00
leitner
8a6186ba03 add critbit 2015-04-09 19:05:32 +00:00
leitner
42eb4c9830 use xz instead of bz2 in make tar 2015-04-09 18:28:03 +00:00
leitner
12caae78b2 cleaner make clean 2015-04-09 18:26:44 +00:00
leitner
10affedd80 update Makefile 2015-04-09 18:25:35 +00:00
leitner
79f534ffdf SECURITY: fix botched integer overflow handling logic in stralloc_ready (Giorgio) 2015-04-09 18:23:23 +00:00
leitner
d0e735e2c2 support noipv6 being set externally even when there is perfectly good
IPv6 support.
2015-03-20 14:58:13 +00:00
leitner
1856c8a2d7 damn it, fucked up the return value 2015-03-20 03:50:42 +00:00
leitner
6e022f98c9 ... but if errno==EINVAL still fall back to socket+fcntl (Robert Henney) 2015-03-20 03:34:37 +00:00
leitner
35f5a9692a if SOCK_NONBLOCK is defined, use it instead of socket+fcntl 2015-03-17 00:01:00 +00:00
leitner
a255cebc57 mmap_read/mmap_shared on zero length files no longer fail but return a
zero length buffer
2015-03-02 21:25:57 +00:00