ruby_io_splice.git
13 years agofix indentation bug
Eric Wong [Sat, 13 Mar 2010 00:21:01 +0000 (12 16:21 -0800)]
fix indentation bug

13 years agoRuby io_splice 1.0.0v1.0.0
Eric Wong [Thu, 27 May 2010 19:35:15 +0000 (27 19:35 +0000)]
Ruby io_splice 1.0.0

13 years agocleanup makefiles
Eric Wong [Thu, 27 May 2010 19:30:52 +0000 (27 19:30 +0000)]
cleanup makefiles

13 years agotest for non-blocking, non-pipe descriptor
Eric Wong [Thu, 27 May 2010 19:20:04 +0000 (27 19:20 +0000)]
test for non-blocking, non-pipe descriptor

13 years agoclarify wording in license
Eric Wong [Thu, 27 May 2010 19:06:55 +0000 (27 19:06 +0000)]
clarify wording in license

13 years agoallow IO(-ish) objects as descriptor arguments
Eric Wong [Thu, 27 May 2010 09:35:23 +0000 (27 09:35 +0000)]
allow IO(-ish) objects as descriptor arguments

This should be more convenient to use than having
to remember to call "fileno" every time...

13 years agotest: enable Ruby warnings
Eric Wong [Thu, 27 May 2010 09:13:28 +0000 (27 09:13 +0000)]
test: enable Ruby warnings

13 years agoIO.splice always releases the GVL
Eric Wong [Thu, 27 May 2010 09:08:52 +0000 (27 09:08 +0000)]
IO.splice always releases the GVL

We can't reliably/efficiently know if the non-pipe descriptor
may block, and releasing the GVL is fairly cheap under Linux.

13 years agotest: more descriptive Tempfile names
Eric Wong [Thu, 27 May 2010 09:05:33 +0000 (27 09:05 +0000)]
test: more descriptive Tempfile names

13 years agodoc: better explain the need for IO::Splice::F_NONBLOCK
Eric Wong [Thu, 27 May 2010 09:04:27 +0000 (27 09:04 +0000)]
doc: better explain the need for IO::Splice::F_NONBLOCK

13 years agoavoid partial writes on IO.vmsplice unless F_NONBLOCK
Eric Wong [Thu, 27 May 2010 08:08:56 +0000 (27 08:08 +0000)]
avoid partial writes on IO.vmsplice unless F_NONBLOCK

vmsplice-ing a partial array of strings into a pipe is not very
useful under Ruby, so wait for I/O availability if the pipe is
full.  This code/logic was also contributed to the io-extra
gem (by me) for the IO.writev implementation.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
13 years agosplit out ARY2IOVEC macro
Eric Wong [Tue, 25 May 2010 06:27:14 +0000 (24 23:27 -0700)]
split out ARY2IOVEC macro

13 years agoGNUmakefile: switch to RDoc 2.5.x
Eric Wong [Sun, 23 May 2010 20:14:39 +0000 (23 13:14 -0700)]
GNUmakefile: switch to RDoc 2.5.x

13 years ago"Splice" should be a module, not a class
Eric Wong [Sun, 23 May 2010 00:18:14 +0000 (22 17:18 -0700)]
"Splice" should be a module, not a class

We never create IO::Splice objects :x

14 years agoREADME: add mailing list archive information
Eric Wong [Sun, 21 Feb 2010 03:33:30 +0000 (20 19:33 -0800)]
README: add mailing list archive information

14 years agoLICENSE: s/posix_mq/io_linux/
Eric Wong [Mon, 15 Feb 2010 09:40:11 +0000 (15 01:40 -0800)]
LICENSE: s/posix_mq/io_linux/

14 years agoadd gemspecv0.1.0
Eric Wong [Mon, 15 Feb 2010 08:35:24 +0000 (15 00:35 -0800)]
add gemspec

14 years agoinitial
Eric Wong [Tue, 27 Nov 2007 18:14:03 +0000 (27 10:14 -0800)]
initial