ChangeLog in kgio-2.8.1 vs ChangeLog in kgio-2.9.0
- old
+ new
@@ -1,6 +1,158 @@
ChangeLog from http://bogomips.org/kgio.git
+ commit cbba2690a75830d68c1db779a1c15ecad3725528
+ Author: Eric Wong <e@80x24.org>
+ Date: Tue Feb 4 03:06:42 2014 +0000
+
+ kgio 2.9.0 - cleanups, bug fixes, minor improvements
+
+ This adds a new kgio_syssend method for Ruby 1.9+ which behaves
+ like BasicSocket#send, but will not raise exceptions on EAGAIN.
+
+ Eric Wong (12):
+ test_poll: remove race prone test_poll_EINTR_changed test
+ tryopen: remove RARRAY_PTR usage in init
+ read_write: remove the rest of RARRAY_PTR usage
+ my_writev: stylistic fixes
+ Rakefile: kill raa_update task
+ avoid downsizing casts
+ connect: constify RSTRING-related things
+ set RSTRING_MODIFIED where appropriate for Rubinius
+ split read_write.c into {read,write,writev}.c
+ add kgio_syssend method to wrap send(2)
+ write: correct check for various blocking regions
+ tryopen: additional debug information for bad Errno values
+
+ Hleb Valoshka (1):
+ Don't use deprecated api
+
+ commit f991debdcc3cbba721029285e4a77f32d8222aa1
+ Author: Eric Wong <e@80x24.org>
+ Date: Tue Feb 4 03:01:46 2014 +0000
+
+ tryopen: additional debug information for bad Errno values
+
+ In case users run into the same problem in the future.
+ ref: http://mid.gmane.org/20131227074129.GA6381@dcvr.yhbt.net
+
+ commit cf4c09c3f280850cd5a018d603e9df08ce54ade2
+ Author: Eric Wong <e@80x24.org>
+ Date: Tue Feb 4 02:42:51 2014 +0000
+
+ write: correct check for various blocking regions
+
+ This will allow us to support past/future Rubies without
+ rb_thread_io_blocking_region but still have other ways
+ of releasing GVL.
+
+ commit 070b5aeb9313ef09303dffa7bc72c771f6f86f31
+ Author: Eric Wong <normalperson@yhbt.net>
+ Date: Tue Feb 4 00:51:59 2014 +0000
+
+ add kgio_syssend method to wrap send(2)
+
+ This behaves like kgio_trywrite on GNU/Linux, but allows extra flags
+ to be specified. The main purpose of this is to support use of the
+ MSG_MORE flag on GNU/Linux.
+
+ commit a876a30e4bfae6e3aa4af2e34f68bf66be5715b4
+ Author: Eric Wong <normalperson@yhbt.net>
+ Date: Thu Nov 21 21:18:45 2013 +0000
+
+ split read_write.c into {read,write,writev}.c
+
+ This helps make our code more manageable, as well as isolating
+ RSTRING_MODIFIED usage to files which actually need it.
+ writev.c can eventually be fixed to avoid modifying RSTRING
+ pointers, but write.c can already benefit from const RSTRING_PTR
+ values right away.
+
+ commit 8788e248f9978da6708dd1e85d40531bb30d0bb2
+ Author: Eric Wong <normalperson@yhbt.net>
+ Date: Thu Nov 21 19:05:23 2013 +0000
+
+ set RSTRING_MODIFIED where appropriate for Rubinius
+
+ Not yet tested, but it makes sense to do this.
+
+ commit 7a49e4df0a8f23594a83f21f2fd54955dcb6a0fc
+ Author: Eric Wong <normalperson@yhbt.net>
+ Date: Thu Nov 21 18:57:09 2013 +0000
+
+ connect: constify RSTRING-related things
+
+ This should enforce correctness with our non-use of RSTRING_MODIFIED
+ in this file, hopefully allowing Rubinius to optimize better.
+
+ commit 809b9716a2593c0bfcaa115e7e560615c6357b55
+ Author: Eric Wong <normalperson@yhbt.net>
+ Date: Mon Jan 20 21:16:14 2014 +0000
+
+ avoid downsizing casts
+
+ It's always safe to cast a 32-bit value to a 64-bit value, but
+ compilers can warn going the other way (because VALUE is a pointer).
+
+ Tested with `ruby -v`
+ ruby 2.2.0dev (2014-01-19 trunk 44646) [x86_64-linux]
+ which enables -Wpointer-to-int-cast
+
+ commit 008483785d1a5bb801219af8afbb77be18b9bef1
+ Author: Hleb Valoshka <375gnu@gmail.com>
+ Date: Mon Jan 20 22:36:19 2014 +0300
+
+ Don't use deprecated api
+
+ Signed-off-by: Eric Wong <normalperson@yhbt.net>
+
+ commit a8cb03f58be2c2742f0030a28a9e8454c3d56634
+ Author: Eric Wong <normalperson@yhbt.net>
+ Date: Mon Sep 30 18:22:43 2013 +0000
+
+ Rakefile: kill raa_update task
+
+ RAA is dead
+
+ commit fc91f1d424af2a94d0fbed4b1f4d0171c8add79f
+ Author: Eric Wong <e@yhbt.net>
+ Date: Wed Sep 25 19:37:22 2013 +0000
+
+ my_writev: stylistic fixes
+
+ Rename 'str' to 'ary', as that's the whole point of supporting
+ writev... Also, long lines need to be wrapped at 80 columns
+
+ commit 13725d97e0c493cc38a4c833c1053216fb5c799b
+ Author: Eric Wong <e@yhbt.net>
+ Date: Wed Sep 25 19:26:26 2013 +0000
+
+ read_write: remove the rest of RARRAY_PTR usage
+
+ I have not benchmarked this, but this should not make a difference
+ as far as performance goes. This should also allow better
+ performance of better GCs in Ruby 2.1.0 and Rubinius.
+
+ commit e0d3b3cbe90b47facf0e67036429502ad8f99c49
+ Author: Eric Wong <e@yhbt.net>
+ Date: Wed Sep 25 19:20:11 2013 +0000
+
+ tryopen: remove RARRAY_PTR usage in init
+
+ This is trivially non-performance-critical, and can only
+ help with advanced GCs in Ruby 2.1.0 and Rubinius
+
+ commit 98bbc4bd1fda4aa7fddcb57db659bb3e507238e7
+ Author: Eric Wong <normalperson@yhbt.net>
+ Date: Wed Sep 25 17:42:17 2013 +0000
+
+ test_poll: remove race prone test_poll_EINTR_changed test
+
+ We haven't figured out a way to reliably test this w/o races, so lets
+ just remove it for now and trust it works by reading the C code.
+
+ ref: <CAAB-KcnpvcG6=OZNsBmvv440OHfCWs6-eDD7L6oD=ziCRXPHLA@mail.gmail.com>
+
commit 9bde3ab9a7e6e1776ba43bd0e7a3e9202f1026f6
Author: Eric Wong <normalperson@yhbt.net>
Date: Wed Sep 11 00:01:21 2013 +0000
kgio 2.8.1 - minor improvements and test fixes