leitner
b2be335043
win32 compat
18 years ago
leitner
4fec25060b
small man page updates and add a cdbget test
18 years ago
leitner
b0d5046428
fmt_ip6 compresses at best spot, not at first spot (Nikola Vladov)
18 years ago
leitner
ff1805d310
remove unnecessary casts in test/uudecode
18 years ago
leitner
d22de55cee
add some int overflow check macros to rangecheck.h
18 years ago
leitner
6358d73f64
use a non-blocking socket (oops)
18 years ago
leitner
f046d1cdc1
add iob_bytesleft
...
don't leak memory in test/httpd.c
18 years ago
leitner
e443e06b28
#include <strlen.h>
18 years ago
leitner
3004b518ef
switch to size_t and ssize_t
18 years ago
leitner
0e190f60ab
make uudecode print offsets, too
18 years ago
leitner
5d6ab12b28
catch write error in uudecode
19 years ago
leitner
f7e6432a2b
convert test programs from socket_tcp[46] to socket_tcp[46]b
19 years ago
leitner
83c1186870
fix for NetBSD 3.0 (they broke their sys/types.h)
...
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
19 years ago
leitner
d361d81c64
make socket_(tc|ud)p[46] actually return non-blocking sockets as
...
documented (Richard Lyons)
19 years ago
leitner
dbd9fe1ea5
add rangecheck.h
19 years ago
leitner
c1c50c7dbd
further Windoze support (test/io5.c works, gatling still doesn't)
...
This is just to get gatling to work, I may remove it again after
that.
19 years ago
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
20 years ago
leitner
6196f771cd
remove a few gcc 4 warnings
...
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
but TCP? never heard of it")
20 years ago
leitner
9eb09b5bfe
add iob_free and man page for iob_reset.
...
check in some windoze compat crap (still does not compile through for
windoze)
20 years ago
leitner
34df761a0a
add buffer_mmapread
20 years ago
leitner
e520740f09
add proxy, use errmsg.h in test/dnsip
20 years ago
leitner
5553129f01
fix uudecode to also decode one yenc file I came across
20 years ago
leitner
f3c6288559
fix base64 decoding
20 years ago
leitner
b48ce77792
add iob_write (to write an io batch through a callback)
20 years ago
leitner
0b30b66db1
remove warnings in tests
20 years ago
leitner
ff026235d2
#include <fmt.h>
20 years ago
leitner
dd66bcb7c3
don't output newline if output is not going to terminal
20 years ago
leitner
897e787b5e
remove warning (changed API from int to long)
21 years ago
leitner
ed1558cd3d
darn!
21 years ago
leitner
afb0de8d34
make b64decode more useful
21 years ago
leitner
70e112b892
add fd passing functions
21 years ago
leitner
d1df8e4b7b
add two useful little test programs
21 years ago
leitner
fa476a9200
add experimental prefetching support
21 years ago
leitner
f52aa87441
more alloca fixes
21 years ago
leitner
3fe23979fd
skip initial slashes
21 years ago
leitner
056760c5f1
add cescape stuff and two tests
21 years ago
leitner
e86a457f5c
harmonize semantics of io_sendfile and iob_send
21 years ago
leitner
5b599cb67d
fix httperror in httpd test
21 years ago
leitner
2a2e1ddc75
add sigio support
...
extend code to cope with edge triggered event notification
add io_eagain() so that you can notify io_wait if accept() returned EAGAIN
21 years ago
leitner
3e2f6d0439
add stupid little httpd
21 years ago
leitner
8fd1875041
make iob_send return aggregate total
21 years ago
leitner
63ba06c763
add iob test
21 years ago
leitner
c080055248
make the accepted connections non-blocking, too
22 years ago
leitner
149c908c8a
more error messages in io5 test
22 years ago
leitner
325a6176ca
write a small socket server with io_wait integration and add and debug
...
io framework enough to support the test program
22 years ago
leitner
ef0495b5e2
reverse return code for safemult API to conform to newer djb APIs
22 years ago
leitner
f2d8be239f
oops, forgot !
22 years ago
leitner
63e070c1cb
add long long buffer routines
...
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
22 years ago
leitner
e14b48d8b3
two test programs straight from djb's documentation
22 years ago
leitner
49818590ee
beginnings of the io library
22 years ago
leitner
9e8043f4d8
change case_*b from char* to void* so it is function pointer compatible
...
to byte_*
22 years ago
leitner
5226dd010d
change length or size specifiers in APIs from int to long
...
add array API (http://cr.yp.to/lib/array.html )
22 years ago
leitner
2a90560c44
small demo for token reading
22 years ago
leitner
a327b75831
add buffer_fromsa (make virtual buffer from stralloc)
22 years ago
leitner
558c6128fe
better and more predication, improved documentation
22 years ago
leitner
11ff22f33c
vd now sends argv[0] instead of "vd"
22 years ago
leitner
4a7692f4d7
one more scan test
22 years ago
leitner
7f3c1ccc0c
improve range check
22 years ago
leitner
33498d7c2d
add small scan test
22 years ago
leitner
72ba2ad6b5
add beginnings of integer range checking
22 years ago
leitner
5674c5186d
add long long fmt routines
22 years ago
leitner
f7c6b5b3ee
another small mldonkey helper
22 years ago
leitner
9e85dc61a0
add scan_httpdate
22 years ago
leitner
40bba8865b
add fmt_human, fmt_humank and fmt_httpdate
22 years ago
leitner
0546ea048c
add html encoders
...
add vd (mldonkey support program) as test for socket API
22 years ago
leitner
b938a069db
improve MIME handling (accept Base64 as base64)
22 years ago
leitner
2911ccae43
better "cut here" line handling for uuencoded files
22 years ago
leitner
2b793c7244
accept longer input
22 years ago
leitner
21df155d61
add el-cheapo MIME decoding to test/uudecode
...
make install forgot to install ndelay.h
22 years ago
leitner
e108646f26
simplistic support for single-part yenc
22 years ago
leitner
0b798993b9
flush buffer_2 properly and cleanup
22 years ago
leitner
da67326c27
doppel-oops
22 years ago
leitner
3564408189
oops
22 years ago
leitner
3e6162e477
less verbose reconstruction reporting
22 years ago
leitner
835d141770
change warning output
22 years ago
leitner
4f91afcbd2
yenc reconstruction feature for uudecode
22 years ago
leitner
5589008c77
add two tests
22 years ago
leitner
ff96d53e3f
even more man pages
22 years ago
leitner
dd2d9119fc
comment typo in byte.h
...
byte_rchr did not work at all (oops)
uudecode now handles yenc (a little)
22 years ago
leitner
2d23d4bbeb
a few more tests
23 years ago
leitner
393e781241
add urlencode test application
23 years ago
leitner
fe3e56b802
add unurl test (rename "foo%20bar" to "foo bar")
23 years ago
leitner
22d76deac6
smarter uudecode
23 years ago
leitner
cde4c19716
make uudecode be able to decode more than one file
23 years ago
leitner
bd38223824
me stupid, read from fd 1 and not 0
23 years ago
leitner
05f4463ec3
fix cut-and-paste error in test/uudecode program (fileout used same
...
buffer as filein)
23 years ago
leitner
4f3f4ea52f
test/uudecode now appears to actually work ;)
23 years ago
leitner
271b380cb3
more textcode stuff
23 years ago