1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
gotoyuzo 24cb3707eb * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read,
ossl_ssl_write):
  - need to set errno on Win32 platform.
  - should call rb_sys_fail instead of rasing SSLError if
    SSL_ERROR_SYSCALL occured.
  - should wait for that the underlying IO become readable or
    writable if the error was SSL_ERROR_WANT_READ or
    SSL_ERROR_WANT_WRITE. [ruby-dev:25795]

* ext/openssl/lib/openssl/buffering.rb
  (Buffering#initialize): should set @eof and @rbuffer.
  (Buffering#fill_rbuff): should rescue Errno::EAGAIN.
  (Buffering#consume_rbuf): pointless eof flag resetting is deleted.
  (Buffering#read): should return an empty string if the specified
  size is zero.
  (Buffering#readpartial): new method.
  (Buffering#readline): fix typo.
  (Buffering#getc): return the first character of string correctly.
  (Buffering#each): fix typo.  suggested by Brian Ollenberger.
  (Buffering#readchar): fix typo.
  (Buffering#eof?): should read again it the input buffer is empty.
  (Buffering#do_write): should rescue Errno::EAGAIN.
  (Buffering#puts): use "\n" as the output field separator.

* ext/openssl/lib/openssl/ssl.rb: set non-blocking flag to the
  underlying IO.

* ext/openssl/extconf.rb: get rid of GNUmakefile generation.

* text/openssl/test_pair.rb: test for IO like methods.

* test/ruby/ut_eof.rb: test about empty file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-07 12:10:03 +00:00
..
csv * lib/logger.rb: leading 0 padding of timestamp usec part. 2004-05-27 14:39:11 +00:00
dbm * ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to 2004-05-16 12:03:23 +00:00
digest * lib/drb/drb.rb (DRbServer.default_safe_level): fix typo. 2005-02-17 11:16:57 +00:00
drb (DRbObject#respond_to?) take two arguments. [ruby-dev:25722] 2005-02-19 09:14:55 +00:00
erb This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2004-02-28 02:00:37 +00:00
fileutils * test/fileutils/test_fileutils.rb (setup): support BSD-style directory group inheritance. (backport from HEAD, rev 1.32) 2005-01-26 15:16:09 +00:00
gdbm * ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to 2004-05-16 12:03:23 +00:00
io/nonblock * test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): ignore read result. 2004-12-16 11:43:45 +00:00
logger Sun Nov 14 08:51:04 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 2004-11-13 23:53:46 +00:00
monitor * test/monitor/test_monitor.rb (test_cond): use Queue#deq 2003-12-10 06:02:27 +00:00
net/http * lib/net/http.rb: HTTPHeader holds its header fields as an array (backport from CVS HEAD rev 1.112-1.123). [ruby-list:40629] 2005-03-06 07:42:35 +00:00
nkf This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-01-02 22:50:01 +00:00
openssl This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-03-07 12:10:03 +00:00
optparse * lib/optparse.rb (OptionParser::Completion#complete): new parameter 2004-12-05 10:39:58 +00:00
ostruct * lib/ostruct.rb: Added OpenStruct#==. 2003-09-25 00:03:11 +00:00
readline * test/readline/test_readline.rb: fix for BSD. Thanks, GOTOU Yuuzou. 2004-12-17 15:18:03 +00:00
rinda backport from CVS_HEAD. use MockClock.sleep instead of Kernel.sleep [ruby-dev:25387] 2005-02-28 15:50:19 +00:00
rss * lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): added 2005-02-13 14:21:21 +00:00
ruby * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read, 2005-03-07 12:10:03 +00:00
soap * lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup. 2004-12-21 15:08:56 +00:00
stringio * ext/stringio/stringio.c (strio_write): insufficiently filled string 2004-11-29 07:06:21 +00:00
strscan * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
testunit * lib/test/unit.rb: use standalone runner for -e. 2004-12-19 02:01:59 +00:00
uri * lib/uri/generic.rb (split_userinfo): should split ":pass" into "" 2005-02-23 06:08:29 +00:00
webrick * lib/webrick/ssl.rb (WEBrick::Config::SSL): the default value 2005-01-18 06:03:43 +00:00
wsdl * added files: 2004-12-20 14:41:10 +00:00
xmlrpc This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-01-02 22:50:01 +00:00
xsd * added files: 2004-12-20 14:41:10 +00:00
yaml * lib/yaml.rb: removed fallback to pure Ruby parser. 2004-05-16 16:09:41 +00:00
zlib don't modify $/ 2004-09-07 07:11:06 +00:00
runner.rb * lib/test/unit/collector.rb (collect_file): now deletes paths added 2005-02-17 02:56:47 +00:00