Commit Graph

162 Commits (dfe8c9aa27cfbbcdeff5437de1290384fe6ca348)

Author SHA1 Message Date
leitner 9eb09b5bfe add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
leitner bbf4c614bf fix iob_write to handle failure properly
document that the iob_write callback should limit itself
leitner f8d16ad407 document scan_urlencoded2
leitner 9cc9bf0e1b attribute
leitner f4c8a0c7c2 fix openbsd problem?
leitner d6b7c29808 uh, the scope_id detection #defined the wrong constant. libowfat
always thought there was no scope_id.  Oops.
leitner 4a3c687ea9 version bump
leitner 3407e87536 fix make tar target
leitner fd4344f3c0 how could this ever have worked?
leitner b617d63d1e update dependencies
add errmsg_info and msg
leitner 86cfc33dab add iob_write (send io batch through callback, e.g. for SSL)
leitner b48ce77792 add iob_write (to write an io batch through a callback)
leitner 5eb1cdf888 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
leitner 38ef27207a add buffer_putm and buffer_putmflush
leitner 5dfea5617e add buffer_putsaflush
leitner 82b0bb6f39 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
leitner e95599085a use madvise MADV_PREFETCH to implement iob_prefetch
leitner 8873a442f2 man page update
leitner 156ba1d275 bump version
leitner 72382af11a Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
leitner 499ca6a307 also support ip6.arpa in addition to ip6.int
leitner 696c5f872c add io_readwritefile, io_appendfile
leitner 11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit)
leitner a6a00edd75 add errmsg API
leitner d04293fd4f another brown paper bag release
leitner f543993669 document changes
leitner 7b413a4671 version bump
leitner 5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater)
leitner b65d281e53 fix byte_rchr return value (Marcus Winkler)
leitner d8ce4dc2e5 fix signal race (Scott Lamb)
leitner 75c0d8546c add safemult man pages
leitner 4aecd26995 add more man pages
leitner 1d9075071f add some man pages
leitner 70e112b892 add fd passing functions
leitner 745c4affc5 add io_socketpair
leitner d1df8e4b7b add two useful little test programs
leitner 751b791701 document changes
leitner bf2678e1f1 bump version
leitner 25181575b6 fix ip6_fmt (martin paljak)
leitner c4828b888a credit for AIX and MacOS
leitner f21e1c57a3 macos x support
leitner f484ecdc5f support HP-UX sendfile (thanks Rolf Eike Beer)
leitner f52aa87441 more alloca fixes
leitner 0bae11b63e remove socket_sendfile now that we have io_sendfile
make Makefile should also work with a BSD make ;)
leitner 6fdd2a9078 appending zero bytes to an empty array failed it
leitner 884e0b09b8 head -1 -> head -n 1
leitner 82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
leitner f954d96659 *** empty log message ***
leitner 80a838177e more documentation
leitner 97043d279f make io_waituntil actually take an "until", not a "how long"
fix io_timeouted to ignore fds where no timeout has been set
leitner e86a457f5c harmonize semantics of io_sendfile and iob_send
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
leitner c2453002d3 add small explanation to iob.h
leitner b6258d3dfa remove obsolete extern from header files
leitner f1c7c0462b brag about my io exploits ;)
leitner 63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
leitner c845e84c37 add man pages for array API
leitner 5226dd010d change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
leitner d1df715971 add API for integer multiplication with overflow detection
leitner a327b75831 add buffer_fromsa (make virtual buffer from stralloc)
leitner 558c6128fe better and more predication, improved documentation
leitner b36f12a121 document changes
leitner 674a60b278 rename Makefile to GNUmakefile; create Makefile target
leitner 53b201046e extended socket API; you can now pass NULL to ignore results you don't
need
leitner 72ba2ad6b5 add beginnings of integer range checking
leitner 5674c5186d add long long fmt routines
leitner 734b248bdc fix typo in buffer_GETC
leitner 9e85dc61a0 add scan_httpdate
leitner 40bba8865b add fmt_human, fmt_humank and fmt_httpdate
leitner a3b08eb5e5 add fmt_human and fmt_humank
leitner 0546ea048c add html encoders
add vd (mldonkey support program) as test for socket API
leitner b4f14ed6f7 add stralloc versions of textcode (Kai Ruemmler)
leitner f8409a0787 more man page typos
leitner e3b6d64e70 fix typo (Hynek)
leitner 21df155d61 add el-cheapo MIME decoding to test/uudecode
make install forgot to install ndelay.h
leitner 92594f480b use sys/poll.h instead of poll.h for iopause
scan_ip6 returned 1 for "::"
leitner 2cd4641da9 add stralloc_diff and stralloc_diffs
leitner b7154a5d3c man pages gave wrong include path (Hynek Schlawack)
leitner 4f91afcbd2 yenc reconstruction feature for uudecode
leitner 053aadde58 add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp
and stralloc_chop
leitner 008a17b7c9 new version tag
leitner a31d25af17 document changes, and add dependency on iopause.h to t.c
leitner a0dbb50dc7 avoid SIGBUS in byte_copy
leitner 52b12478c6 only use faster byte_copy on i386 to avoid bus error
leitner e4832a2d23 scan_urlencoded should convert '+' to ' '
leitner 12e2ed69b6 say what Jukka did
leitner dd9b39f970 credit Jukka in CHANGES
leitner 75a033e481 add buffer_putnlflush
leitner eb31b3eb62 add uint16_read API like uint32_read
leitner 44a5e65081 add uninstall target
leitner 12fbaf7c9c make buffer_get_token write \0 to buffer on end of file so it can be
distinguished from a length 0 token.
leitner 27fe10a2c2 add version 0.13 tag
leitner e0437a77ff add yenc
leitner f688af068b add url encoding
leitner 5a9a7e6f1a quoted unprintable
leitner d570a9c307 add textcode api for uuencode and uudecode, base64 and quoted printable.
leitner c607d1b01d mention man page fixes
leitner a7360d9385 fmt_long did not count the '-'
leitner 54c76b18f7 mention socket changes
leitner 6df029a2f8 add comments