summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-14* io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-13* 2011-04-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-13 * thread.c (thread_fd_close_i): IOError exception should be assignednagachika
to rb_thread_t::thrown_errinfo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-13* 2011-04-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-13* io.c (rb_io_fdatasync): remove unused variable.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12* include/ruby/st.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12* lib/uri/common.rb: avoid race condition. fixes #4572naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12* ext/readline/extconf.rb: --disable-libedit to disablekouji
libedit. fixes #4550 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12* include/ruby/win32.h: VC doesn't have ftruncate() and others, butusa
ruby needs HAVE_ macros to use our emulation functions. (fix the problem of 31262) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11* 2011-04-12svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11Evaluate truncate, ftruncate and ftello existenceluislavena
This corrects mingw-w64 compilation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11* io.c: revert r31230.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11* test/ruby/test_io.rb: Added TestIO#test_cross_thread_close_stdiokosaki
and TestIO#test_cross_thread_close_fd. The patch was written by Eric Wong. [ruby-core:35669] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11* file.c (rb_group_member): kill 256K of stack usage.kosaki
the patch was written by Eric Wong. [ruby-core:35699] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-10* 2011-04-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-10 * ext/openssl/ossl.c: Fix typo, document version constants.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-10* include/ruby/ruby.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* 2011-04-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* ext/stringio/stringio.c (strio_each, strio_readlines):sorah
Use `NUM2LONG` instead of `FIX2INT`. Fixes [ruby-dev:43395]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* ext/stringio/stringio.c (strio_each):sorah
Fix exception message and don't raise immediately if block is not given. Fixes [ruby-dev:43394]. * test/stringio/test_stringio.rb (test_each_line_limit_0): Fix test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* ext/stringio/stringio.c (strio_each, strio_readlines):sorah
limit must not be zero. Fixes [ruby-dev:43392]. * test/stringio/test_stringio.rb: Add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* 2011-04-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* include/ruby/util.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-08* 2011-04-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-08* ext/stringio/stringio.c (strio_getline): check whether str isnaruse
a string when str and lim are given. https://twitter.com/watson1978/status/56225052152168449 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-07* 2011-04-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-07* include/ruby/io.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06* include/ruby/intern.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize):naruse
pop pushed error after each try of reading. fixes #4550 * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto. * ext/openssl/ossl_pkey_ec.c (ossl_ec_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06* 2011-04-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize):naruse
pop pushed error after each try of reading. fixes #4550 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-05* include/ruby/encoding.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-05* 2011-04-05svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-05fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-04* ext/io/nonblock/nonblock.c (io_nonblock_set): Avoid F_SETFL ifkosaki
we're not changing the O_NONBLOCK bit. F_SETFL is an expensive operation since it needs to affect all processes with the same file object. The patch is written by Eric Wong. [ruby-core:35556] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-04* io.c (rb_io_syswrite): While local FS writes are usuallykosaki
buffered, the buffers can be full or the file opened with O_SYNC. IO#syswrite can also be used on blocking IOs (pipe/socket) just like IO#write. The patch is written by Eric Wong. [ruby-core:35554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-04* 2011-04-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-04* test/test_tempfile.rb: simply ignore platform depedent testcasesusa
instead of skipping. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-03 * ext/syslog/syslog.c: improve rdoc.nagachika
a patch by Jonas Pfenniger. [ruby-core:35592] fixes #4545 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-03* ext/zlib/zlib.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-03* configure.in: disable fdatasync again on Mac OS X.kosaki
[ruby-core:35493][Bug #4500] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-03* 2011-04-03svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-03* io.c (io_reopen): IO#close releases GVL if possible.kosaki
close() may block for certain file types (NFS, SO_LINGER sockets, inotify), so let other threads run. The patch was created by Eric Wong [ruby-core:35555][Bug #4527] * io.c (fptr_finalize): ditto. * io.c (maygvl_fclose): new. * io.c (nogvl_fclose): ditto. * io.c (maygvl_close): ditto. * io.c (nogvl_close): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-01* ext/syslog/syslog.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-01Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi
* lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is permitted between tokens' according to RFC2965. Though 'Netscape spec' does not define the syntax clearly, make it tolerant as a server. As a real-world example, rest-client gem sends 'Cookie: foo=1;bar=2' * test/webrick/test_cookie.rb (test_parse_non_whitespace): test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-01* vm_core.h (RUBY_VM_CHECK_INTS_TH): merge a patch by ko1nobu
in [ruby-dev:43373]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-31* 2011-04-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-31* ChangeLog: fix typo of r31205arton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-31* misc/ruby-mode.el (ruby-brace-to-do-end, ruby-do-end-to-brace):nobu
adjust space between block beginning and block arguments git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-31* ext/strscan/strscan.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e