Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

238 lines
8.9 KiB

  1. 0.24:
  2. fix scan_to_sa (Tim Lorenz)
  3. turns out we can not do file descriptor passing on OpenBSD
  4. if _XOPEN_SOURCE is defined, which is needed for Solaris.
  5. OpenBSD sucks. I checked in a _really_ kludge now. Please do not
  6. use OpenBSD if you have a choice. Or Solaris, for that matter.
  7. turns out the imult routines (which I never used) were incorrect.
  8. Noted by Matthew Dempsky
  9. open_* from open.h now open in large file mode
  10. 0.23:
  11. also recognize EPFNOSUPPORT as EAFNOSUPPORT (groan)
  12. fix a few man pages
  13. optimize fmt_base64 (Dan Gundlach)
  14. gcc 4 cleanups (mostly unsigned char* vs char*)
  15. fix scan_xlong, scan_xlonglong and scan_8long
  16. remove a few gcc 4 warnings
  17. work around freebsd 5.4 brokenness (if you don't have IPv6 in the
  18. kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
  19. instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
  20. but TCP? never heard of it")
  21. remove even more warnings
  22. 64-bit cleanliness issue with auto-NULL-appending macros
  23. IRIX compatibility (yuck!)
  24. 0.22:
  25. uh, the scope_id detection #defined the wrong constant. libowfat
  26. always thought there was no scope_id. Oops.
  27. #include <unistd.h> in io/io_sendfile.c (broken OpenBSD, thx Rob)
  28. add scan_urlencoded2 (like scan_urlencoded but will not convert '+' to
  29. ' '; needed for web servers, so they can serve libstdc++.tar.gz)
  30. fix iob_write to handle failure properly
  31. document that the iob_write callback should limit itself
  32. fix mmap_shared
  33. add iob_free, add man pages for iob_free and iob_reset
  34. fix descriptor leak in iob_addfile_close if the range was 0 (oops)
  35. 0.21:
  36. errno cleanup and man page updates (Rolf Eike Beer)
  37. implement iob_prefetch with madvise MADV_WILLNEED if it's defined
  38. extend API To read line/token to stralloc to allow clearing the
  39. stralloc first.
  40. add stralloc_zero to clear a stralloc
  41. add buffer_putsflush
  42. add stralloc_catm and stralloc_copym
  43. add buffer_putm and buffer_putmflush
  44. cleanups in stralloc and buffer:
  45. int -> long for sizes
  46. char -> unsigned char for strings
  47. buffer_getline is now a function, not a macro
  48. add iob_write (send io batch through callback, e.g. for SSL)
  49. add errmsg_info and errmsg_infosys to write to stdout instead
  50. epoll fix (how could this ever work?)
  51. 0.20:
  52. add errmsg API
  53. work around broken Linux sendfile API (offset 64-bit but count 32-bit)
  54. add io_appendfile, io_readwritefile
  55. support ip6.arpa in addition to ip6.int in dns_name (adds one
  56. parameter to dns_name6_domain and two constants in dns.h)
  57. Solaris compatibility for io_passfd and io_receivefd
  58. 0.19.2:
  59. for some reason, a botched dependency slipped in the the Makefile
  60. 0.19.1:
  61. oops, I botched havealloca.h, which was not generated but static
  62. Now it is generated.
  63. 0.19:
  64. add io_socketpair
  65. add io_passfd and io_receivefd (and test/fdpassing.c)
  66. io_trywrite and io_waitwrite not ignore SIGPIPE
  67. add man pages for libio, safemult
  68. fix possible signal race in io_tryread and io_trywrite (Scott Lamb)
  69. fix byte_rchr return value (Marcus Winkler)
  70. fix bug in mmap code path of io_sendfile (David Leadbeater)
  71. 0.18:
  72. make libowfat compile on BSD again (sorry, and thanks to everyone who
  73. sent me a patch :-D)
  74. add iob_addfile_close, needed for gatling 0.5+
  75. add test/client and test/server, two simple TCP shell interfaces
  76. 0.17:
  77. add Linux SIGIO support to IO
  78. expand IO api to be able to cope with edge triggered event
  79. notification: introduce io_eagain
  80. the integer scan routines should only write *dest if they actually
  81. scanned something
  82. io_sendfile and iob_send should return -1 to -3 just like io_trywrite
  83. make io_waituntil actually take an "until", not a "how long"
  84. turns out that BSD kqueue is actually Free/OpenBSD kqueue -- NetBSD
  85. doesn't have it. That means I'll need some adaptive two-threads-
  86. running-poll approach to get C10k type scalability on NetBSD :-(
  87. turns out that BSD sendfile is actually FreeBSD sendfile -- neither
  88. OpenBSD nor NetBSD have it (as of 3.4 and 1.6.1). That means I'll
  89. need to try using mmap on OpenBSD and NetBSD to get zero-copy TCP.
  90. guard against same event being signalled twice (confused our list
  91. handling)
  92. add support for Solaris /dev/poll
  93. add lose32 support (broken, please don't use!)
  94. head -1 -> head -n 1
  95. apending 0 bytes to an empty array would fail it
  96. remove socket_sendfile now that we have io_sendfile
  97. break out alloca #include dependency into havealloca.h
  98. support HP-UX sendfile64 (thanks to Rolf Eike Beer)
  99. support Solaris sendfile64
  100. support MacOS X sendfile (and comment it out again, the headers
  101. declare it but it's not actually there) (thanks to Bernhard Schmidt)
  102. support AIX 5 (thanks to Lutz Chwala and Arthur Erhardt)
  103. fix ip6_fmt (martin paljak)
  104. 0.16:
  105. add buffer_fromsa (make buffer from stralloc)
  106. add API for integer multiply with overflow detection
  107. change length counters from int to long for 64-bit platforms
  108. add array API from http://cr.yp.to/lib/array.html
  109. oops, had a declaration and man page for taia_addsec but not the
  110. function itself
  111. add buffer functions to write strerror(errno)
  112. add io API supporting poll, epoll and kqueue
  113. remove obsolete "extern" from header files
  114. add iob API to send several buffers and files in one batch
  115. 0.15:
  116. man page update (document stralloc return values)
  117. add stralloc_chop and stralloc_chomp
  118. add buffer_putsa, buffer_get_token_sa and buffer_getline_sa
  119. extended uudecode test. See comment at top for details.
  120. fix #include in ndelay*.3 (Hynek Schlawack)
  121. add stralloc_diff and stralloc_diffs (my invention)
  122. scan_ip6 returned 1 for "::" (Uwe Ohse)
  123. add el-cheapo MIME decoding to test/uudecode
  124. make install forgot to install ndelay.h
  125. fix typos in several man pages (Hynek Schlawack)
  126. add stralloc versions of textcode API (Kai Ruemmler)
  127. add html to textcode ('<' to '&lt;' etc)
  128. add fmt_human and fmt_humank (format numbers ala ls -H/-h)
  129. add fmt_httpdate and scan_httpdate
  130. fix typo breaking buffer_GETC in buffer (Marcus Winkler)
  131. fix typo breaking fmt_long for dest==NULL
  132. add fmt_*longlong()
  133. add range check to scan_ulong, scan_ulonglong, scan_uint and
  134. scan_ushort
  135. extended socket API; you can now pass NULL for results you don't want
  136. rename Makefile to GNUmakefile; create Makefile target
  137. add buffer_get_token_pred and buffer_get_token_sa_pred
  138. 0.14:
  139. avoid bus errors in byte_copy
  140. byte_rchr was completely broken
  141. add case, iopause, tai, taia, openreadclose and ipv6-enhanced dns
  142. 0.13:
  143. fixed several bugs in test/uudecode.c
  144. add uninstall target
  145. add uint16_read API like the uint32_read one
  146. add buffer_putnlflush
  147. lots of general clean-ups from Jukka Zitting:
  148. add FMT_LONG to fmt.h (FMT_ULONG plus 1 for sign)
  149. fmt_strn did not work for out==NULL
  150. fix inconsistencies in man pages
  151. make scan_urlencode do the '+' -> ' ' transformation
  152. 0.12:
  153. add textcode api for uuencode/uudecode, base64, quoted printable,
  154. url-encoding and yenc.
  155. 0.11:
  156. fix fmt_long (didn't count the '-'), which in turn broke
  157. buffer_putlong
  158. referenced wrong include file in stralloc_ready and stralloc_readyplus
  159. man page.
  160. 0.10:
  161. add comment to stralloc.h that explains the structure (Markus Brischke)
  162. fix socket routines (two cut-and-paste errors)
  163. 0.9:
  164. fmt_str did not check for out==NULL! Thanks, Uwe Ohse.
  165. Updated to buffer to fix read buffers. Thanks, David Lichteblau.
  166. Oops! byte_copy had a trivial and dumb typo in it that I'm unsure how
  167. I could have missed it.
  168. add mmap man pages.
  169. update and add socket man pages.
  170. don't include str.h from fmt.h
  171. document error signalling for the mmap functions.
  172. 0.8:
  173. BSD compatibility.
  174. fix mmap_shared.
  175. ranlib.
  177. 0.7:
  178. add buffer_putspace
  179. fix b0read prototype in buffer/buffer_0*
  180. scan_ip6 will not transparently scan IPv4 addresses and save them as
  181. v4-mapped addresses (::ffff:
  182. byte_copy was sped up (but made larger in the process)
  183. 0.6:
  184. changed name to libowfat.
  185. fixed fmt_ulong (did not output 0 correctly).
  186. added buffer.
  187. extended buffer API to include buffer_putulong() and friends.
  188. oops, the read buffering was completely broken!
  189. add mmap library (idea from Ingo Oeser)
  190. 0.5:
  191. made subdirectories for the different libraries.
  192. moved the sources into the corresponding subdirectory.
  193. imported my man pages from libdjb.
  194. removed fmt_int.c and fmt_uint.c (they are macros in fmt.h).
  195. corrected comment in open.h for open_excl.
  196. wrote new man pages for fmt_double, scan_double, the sign fmt_ and
  197. scan_ routines, the whitespace and charset scan_ routines, and the
  198. str and stralloc routines.
  199. 0.4:
  200. implemented stralloc.
  201. 0.3:
  202. implemented uint16, uint32 and uint64. The header files try to
  203. define shortcut endianness conversion routines that do not convert
  204. anything.
  205. implemented open (I hope I got open_excl right, I couldn't find an
  206. implementationen).
  207. 0.2:
  208. implemented the scan, fmt and str interfaces.
  209. added adapted fmt_double and scan_double from diet libc.
  210. 0.1:
  211. initial release.
  212. implemented the byte interface.