Permalink
Switch branches/tags
Commits on Jan 28, 2012
  1. * win32/win32.c (rb_w32_read): fix an issue that $stdin.read doesn't

    shirosaki committed Jan 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
  2. * test/ruby/test_thread.rb

    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
  3. * thread_win32.c (rb_w32_wait_events_blocking): use

    shirosaki committed Jan 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
  4. * test/zlib/test_zlib.rb (TestZlibGzipReader#test_reader_wrap): set

    shirosaki committed Jan 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
Commits on Jan 27, 2012
  1. * 2012-01-28

    matzbot committed Jan 27, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * lib/irb/completion.rb (IRB::InputCompletor::CompletionProc):

    nobu committed Jan 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
  3. * common.mk (test-ruby): pass TESTS for options.

    nobu committed Jan 27, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * 2012-01-27

    matzbot committed Jan 27, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * gc.c (HEAP_ALIGN, HEAP_ALIGN_MASK): DRY, let compiler calculate

    nobu committed Jan 27, 2012
      from HEAP_ALIGN_LOG.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 26, 2012
  1. * lib/matrix.rb: Clean up extra whitespace in output documentation.

    drbrain committed Jan 26, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 25, 2012
  1. * 2012-01-26

    matzbot committed Jan 25, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * ext/io/console/console.c (io_getch): default delegating method

    nobu committed Jan 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
  3. * file.c (rb_file_s_basename): ignore non-ascii extension in

    nobu committed Jan 25, 2012
      different encoding, which cannot match.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * file.c (rmext): no extension to strip if empty string.

    nobu committed Jan 25, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * 2012-01-25

    matzbot committed Jan 25, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * file.c (rb_enc_path_next, rb_enc_path_skip_prefix)

    nobu committed Jan 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
Commits on Jan 24, 2012
  1. * object.c (rb_Hash): fix mixed declaration and code.

    nobu committed Jan 24, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * README.EXT, README.EXT.ja: rb_iter_break() and rb_iter_break_value().

    nobu committed Jan 24, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * vm.c (rb_iter_break_value): new function to break a block with

    nobu committed Jan 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
  4. * object.c (rb_Hash): trivial optimization.

    nobu committed Jan 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
  5. * object.c (rb_Hash): add Kernel#Hash conversion method like

    matz committed Jan 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
  6. Additional test for r34358.

    nurse committed Jan 24, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * 2012-01-24

    matzbot committed Jan 24, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * lib/uri/common.rb (URI.encode_www_form_component): initialize on

    nurse committed Jan 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
Commits on Jan 23, 2012
  1. ChangeLog added.

    shyouhei committed Jan 23, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Writing entire packet at once to avoid incomplete transmission

    shyouhei committed Jan 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
  3. * lib/uri/mailto.rb (URI::MailTo.build): follow Array#to_s change of

    nurse committed Jan 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
  4. * io.c (extract_binmode): raise an exception if binmode/textmode

    nurse committed Jan 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
  5. * io.c (rb_io_extract_modeenc): set ASCII-8BIT if binmode is specified

    nurse committed Jan 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
  6. * test/cgi/test_cgi_util.rb (test_cgi_escape_preserve_encoding):

    mrkn committed Jan 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
Commits on Jan 22, 2012
  1. * 2012-01-23

    matzbot committed Jan 22, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * misc/rdoc-mode.el (rdoc-imenu-create-index): Add imenu support

    knu committed Jan 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
  3. * parse.y (rb_intern3): split to registration check and new

    nobu committed Jan 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
  4. * 2012-01-22

    matzbot committed Jan 22, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * parse.y (rb_intern3, rb_intern_str): check the coderange first.

    nobu committed Jan 22, 2012
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e