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.

219 lines
8.1 KiB

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