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.

252 lines
9.5 KiB

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