-
* win32/win32.c (rb_w32_read): fix an issue that $stdin.read doesn't
shirosaki committedJan 28, 2012 terminate by CTRL-C on Windows. [ruby-dev:45149] [Bug #5812] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
shirosaki committed
Jan 28, 2012 (TestThreadGroup#test_thread_timer_and_interrupt): skip exit status assertion because we cannot get signal status on Windows. * win32/win32.c (CreateChild): create process group to receive the signal by GenerateConsoleCtrlEvent(). * win32/win32.c (kill): use CTRL_BREAK_EVENT instead of CTRL_C_EVENT if a process group is specified. CTRL_C_EVENT signal cannot be generated for process groups for the specification. [ruby-dev:45149] [Bug #5812] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* thread_win32.c (rb_w32_wait_events_blocking): use
shirosaki committedJan 28, 2012 ruby_thread_from_native() instead of GET_THREAD() because GET_THREAD() doesn't always return the current thread and WaitForMultipleObjects() at rb_w32_read() doesn't return by Thread#kill. This fixes TestQueue#test_thr_kill failure on Windows. * thread_win32.c (rb_w32_wait_events): use ruby_thread_from_native() instead of GET_THREAD() for consistency with the above change. * thread_win32.c (rb_w32_sleep): ditto. * thread_win32.c (rb_w32_Sleep): ditto. [ruby-dev:45149] [Bug #5812] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* test/zlib/test_zlib.rb (TestZlibGzipReader#test_reader_wrap): set
shirosaki committedJan 28, 2012 binmode explicitly for fixing test error on Windows. This is consistent with r34243. [ruby-dev:45149] [Bug #5812] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
matzbot committed
Jan 27, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* lib/irb/completion.rb (IRB::InputCompletor::CompletionProc):
nobu committedJan 27, 2012 ignore non-string name modules. [ruby-core:42244][Bug #5938] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* common.mk (test-ruby): pass TESTS for options.
nobu committedJan 27, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
matzbot committed
Jan 27, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* gc.c (HEAP_ALIGN, HEAP_ALIGN_MASK): DRY, let compiler calculate
nobu committedJan 27, 2012 from HEAP_ALIGN_LOG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* lib/matrix.rb: Clean up extra whitespace in output documentation.
drbrain committedJan 26, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
matzbot committed
Jan 25, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* ext/io/console/console.c (io_getch): default delegating method
nobu committedJan 25, 2012 for StringIO. https://github.com/nobu/io-console/issues/4 * ext/stringio/stringio.c: moved some methods to hidden modules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* file.c (rb_file_s_basename): ignore non-ascii extension in
nobu committedJan 25, 2012 different encoding, which cannot match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* file.c (rmext): no extension to strip if empty string.
nobu committedJan 25, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
matzbot committed
Jan 25, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* file.c (rb_enc_path_next, rb_enc_path_skip_prefix)
nobu committedJan 25, 2012 (rb_enc_path_last_separator, rb_enc_path_end) (ruby_enc_find_basename, ruby_enc_find_extname): encoding-aware path handling functions. * file.c (rb_home_dir, file_expand_path, rb_realpath_internal) (rb_file_s_basename, rb_file_dirname, rb_file_s_extname) (rb_file_join): should respect the encodings of arguments than file system encoding. [ruby-dev:45145] [Bug #5919] * dir.c (check_dirname, ruby_glob0): ditto. * ext/pathname/pathname.c (path_sub_ext): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* object.c (rb_Hash): fix mixed declaration and code.
nobu committedJan 24, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* README.EXT, README.EXT.ja: rb_iter_break() and rb_iter_break_value().
nobu committedJan 24, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* vm.c (rb_iter_break_value): new function to break a block with
nobu committedJan 24, 2012 the value. [ruby-dev:45132] [Feature #5895] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* object.c (rb_Hash): trivial optimization.
nobu committedJan 24, 2012 * test/ruby/test_object.rb (TestObject#test_convert_hash): fix arguments order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* object.c (rb_Hash): add Kernel#Hash conversion method like
matz committedJan 24, 2012 Array() or Float(). a patch from Run Paint Run Run. Fix #3131 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
nurse committed
Jan 24, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
matzbot committed
Jan 24, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* lib/uri/common.rb (URI.encode_www_form_component): initialize on
nurse committedJan 24, 2012 requiring to support JRuby, which runs parallel multithreads. [ruby-core:42222] [Bug #5925] * lib/uri/common.rb (URI.decode_www_form_component): initialize on git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
shyouhei committed
Jan 23, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
Writing entire packet at once to avoid incomplete transmission
shyouhei committedJan 23, 2012 Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* lib/uri/mailto.rb (URI::MailTo.build): follow Array#to_s change of
nurse committedJan 23, 2012 Ruby 1.9; use Array#join. [Bug #5840] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* io.c (extract_binmode): raise an exception if binmode/textmode
nurse committedJan 23, 2012 is specified with both vmode and opthash. [ruby-core:42199] [Bug #5918] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* io.c (rb_io_extract_modeenc): set ASCII-8BIT if binmode is specified
nurse committedJan 23, 2012 with opthash. [ruby-core:42197] [Bug #5917] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* test/cgi/test_cgi_util.rb (test_cgi_escape_preserve_encoding):
mrkn committedJan 23, 2012 add a test for CGI::escape to preserve encoding. * test/cgi/test_cgi_util.rb (test_cgi_unescape_preserve_encoding): add a test for CGI::unescape to preserve encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
matzbot committed
Jan 22, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* misc/rdoc-mode.el (rdoc-imenu-create-index): Add imenu support
knu committedJan 22, 2012 to rdoc-mode. * misc/rdoc-mode.el (rdoc-mode): Fix regexp patterns containing "\s " where CR/LF is not supposed to match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* parse.y (rb_intern3): split to registration check and new
nobu committedJan 22, 2012 registration. * parse.y (rb_intern_str): make interned string shared with the given string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
matzbot committed
Jan 22, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
* parse.y (rb_intern3, rb_intern_str): check the coderange first.
nobu committedJan 22, 2012 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e