61 Commits

Author SHA1 Message Date
leitner
4f66a05d0b remove some warnings in unit tests
catch impossible buffer in bs_init_membuf
2020-10-30 15:06:17 +00:00
leitner
aa285bfd1b remove failing assert that failed build 2020-04-16 17:33:09 +00:00
leitner
112ccf19e7 zero-terminate utf8 strings in ent 2018-02-02 17:43:25 +00:00
leitner
dba47741bf remove new compiler warnings from gcc 7 2017-04-30 20:22:21 +00:00
leitner
b067d41e63 check new json encoding 2017-02-28 12:30:37 +00:00
leitner
c29096b2e0 some more eagain handling in tryread and trywrite
cosmetic change
2017-02-04 17:23:33 +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
8a6186ba03 add critbit 2015-04-09 19:05:32 +00:00
leitner
a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
2014-04-04 18:11:03 +00:00
leitner
4a04c40595 get rid of more -Wconversion warnings 2014-03-14 19:42:54 +00:00
leitner
1d2add208f add json encoding routines to textcode 2014-01-28 16:12:39 +00:00
leitner
89b88f036d make it compile again 2009-11-12 10:52:43 +00:00
leitner
bb9cdaaafb add iarray 2009-03-12 21:32:43 +00:00
leitner
02818883df add buffer_tosa (buffer writing to auto-growing stralloc) 2009-02-28 00:07:55 +00:00
leitner
8583de1b55 fix man page for openreadclose 2008-06-24 14:19:17 +00:00
leitner
cf900e97d3 make stralloc_copym work 2008-06-20 14:12:37 +00:00
leitner
3004b518ef switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
leitner
dbd9fe1ea5 add rangecheck.h 2006-04-17 04:33:40 +00:00
leitner
25c57a0b1b implement Nikola's idea to remove limit number of strings in errmsg 2005-10-14 15:33:21 +00:00
leitner
19202d2320 turns out the imult routines (which I never used) were incorrect.
Noted by Matthew Dempsky
  open_* from open.h now open in large file mode
2005-07-15 20:57:07 +00:00
leitner
c874604f12 gcc 4 cleanups (mostly unsigned char* vs char*) 2005-04-23 15:50:16 +00:00
leitner
7cd919d333 silence two gcc warnings 2005-04-01 21:07:10 +00:00
leitner
60f3320ae0 allow specifying more characters to encode for subset encoders (for
example, you can say that fmt_quotedprintable should also escape ':', if
you want to use ':' as separator in a data file.
2005-03-30 13:22:17 +00:00
leitner
1205a3d38f byte_zero the allocated io_batch in iob_new 2005-03-08 20:12:59 +00:00
leitner
bbf4c614bf fix iob_write to handle failure properly
document that the iob_write callback should limit itself
2005-02-22 21:41:57 +00:00
leitner
f8d16ad407 document scan_urlencoded2 2005-02-21 13:15:33 +00:00
leitner
38ef27207a add buffer_putm and buffer_putmflush 2004-11-25 20:51:53 +00:00
leitner
a6a00edd75 add errmsg API 2004-05-05 16:36:00 +00:00
leitner
a9c687dec6 fix another case in byte_rchr 2004-03-09 00:20:10 +00:00
leitner
b65d281e53 fix byte_rchr return value (Marcus Winkler) 2004-03-07 21:59:36 +00:00
leitner
c18a0dbf62 actually check in AIX sendfile code 2004-01-14 01:11:49 +00:00
leitner
0f60bacb89 add routines to scan and output ipv6 addresses with %eth0 notation.
also add compat formatting routines that will output v4-mapped addresses
  as ipv4 addresses
2003-12-05 19:53:59 +00:00
leitner
3cac9c2b80 make sure the mmap based io_sendfile actually works (and terminates) 2003-11-24 04:12:07 +00:00
leitner
92594f480b use sys/poll.h instead of poll.h for iopause
scan_ip6 returned 1 for "::"
2002-12-07 14:54:43 +00:00
leitner
2cd4641da9 add stralloc_diff and stralloc_diffs 2002-10-28 20:15:03 +00:00
leitner
fdd0dcbea9 man pages for the DNS routines, too 2002-09-17 01:24:08 +00:00
leitner
ff96d53e3f even more man pages 2002-09-16 23:49:15 +00:00
leitner
f921b8cbb0 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 2002-09-16 01:09:56 +00:00
leitner
dd2d9119fc comment typo in byte.h
byte_rchr did not work at all (oops)
uudecode now handles yenc (a little)
2002-09-15 22:45:51 +00:00
leitner
e0437a77ff add yenc 2002-04-30 20:48:13 +00:00
leitner
f688af068b add url encoding 2002-04-30 18:39:37 +00:00
leitner
5a9a7e6f1a quoted unprintable 2002-04-30 18:24:10 +00:00
leitner
4d0eca89fc add base64 scanner 2002-04-30 17:55:41 +00:00
leitner
d570a9c307 add textcode api for uuencode and uudecode, base64 and quoted printable. 2002-04-29 21:03:08 +00:00
leitner
ae4b409c55 add and update man pages. 2001-11-25 23:50:09 +00:00
leitner
b40bae5bf4 fmt_str was broken. It did not check for out==NULL 2001-11-25 15:51:44 +00:00
leitner
d4753c43f3 test for ipv6 and if_name2index and socklen_t. 2001-11-24 19:34:32 +00:00
leitner
b600e2ef32 document changes 2001-10-13 03:45:17 +00:00
leitner
05b4cf85f7 some constness stuff for buffer_0, an experimental optimization for
byte_copy and add buffer_putspace, a trivial shortcut.
2001-09-10 10:37:00 +00:00