Permalink
Commits on Sep 8, 2009
  1. tags r24782 on the trunk as v1_9_2_preview2

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_2_preview2@24787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    yugui committed Sep 8, 2009
Commits on Sep 7, 2009
  1. * io.c (rb_io_tell): adjustment for ungotten data.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 7, 2009
  2. * io.c (io_encname_bom_p): removed magic number.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 7, 2009
  3. * io.c (Init_IO): added rdocs for constants.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 7, 2009
  4. * lib/irb/inspector.rb (IRB::INSPECTORS.def_inspector): support

      object without #inspect defined.  a patch from Daniel
      Bovensiepen.  [ruby-core:25200]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Sep 7, 2009
Commits on Sep 6, 2009
  1. * insns.def (opt_*): add IC operands.

    * vm_insnhelper.h (CALL_SIMPLE_METHOD): add a version which
      use an inline cache.  USE_IC_FOR_SPECIALIZED_METHOD macro
      switchs the behaviour.  This change also removes
      CALL_SIMPLE_METHOD_IC() macro.
    * tool/instruction.rb: fix elimination process to ignore
      variable "ic".
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Sep 6, 2009
  2. * Makefile.in, common.mk: move a id.h generation rule.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Sep 6, 2009
  3. * benchmark/driver.rb: remove RUBY_VERSION output.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Sep 6, 2009
  4. * vm_insnhelper.c: rename macro name ENABLE_IC_FOR_IVAR

      to USE_IC_FOR_IVAR.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Sep 6, 2009
  5. * 2009-09-07

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Sep 6, 2009
  6. * lib/uri/common.rb (URI.escape): obsoleted.

    * lib/uri/common.rb (URI,unescape): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Sep 6, 2009
  7. * vm_insnhelper.h (CALL_SIMPLE_METHOD_IC): make a macro

      invoke simple method with inline cache entry.
    * insns.def (opt_length, opt_size): fix to use inline method cache.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Sep 6, 2009
  8. * template/id.h.tmpl: fix this.

    * id.h: removed.  Because this file is generated automatically.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Sep 6, 2009
  9. * compile.c (iseq_specialized_instruction), insns.def (opt_size):

      optimize #size methods (by specialized instruction).
    * id.c, id.h, vm.c, vm_insnhelper.h: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Sep 6, 2009
  10. * insns.def (setinstancevariable), vm_insnhelper.c (vm_setivar):

      fix to use inline cache (trivial optimization).
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Sep 6, 2009
  11. * io.c: fixed rdoc, a patch from Nobuhiro IMAI at [ruby-core:25433].

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 6, 2009
Commits on Sep 5, 2009
  1. * io.c (argf_next_argv): fixed indent.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 5, 2009
  2. * 2009-09-06

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Sep 5, 2009
  3. * io.c: Add rdoc for ARGF.

      contributed by Run Paint Run Run. [ruby-core:23854]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Sep 5, 2009
  4. * numeric.c (flo_quo, int_round): added rdoc.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 5, 2009
  5. * compile.c (iseq_compile_each): op_asgn to aref should return rhs.

      [ruby-core:25387]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 5, 2009
  6. * compile.c (FIXNUM_OR): typo.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 5, 2009
  7. * compile.c (FIXNUM_INC, FIXNUM_OR): trivial optimizations.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 5, 2009
  8. * compile.c (iseq_compile_each): &&= and ||= should return rhs.

      [ruby-dev:39163] (#1996), [ruby-core:25143]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 5, 2009
  9. * compile.c (iseq_compile_each): &&= and ||= should return rhs.

      [ruby-dev:39163] (#1996), [ruby-core:25143]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 5, 2009
  10. update comment.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Sep 5, 2009
  11. * re.c (Init_Regexp): new methods. [ruby-core:24748]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 5, 2009
Commits on Sep 4, 2009
  1. * re.c (update_char_offset): position should be long.

    * re.c (match_hash, match_equal): new methods.  [ruby-core:24748]
    
    * re.c (reg_match_pos, rb_reg_eqq, rb_reg_s_quote): get rid of use
      VALUE as int.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 4, 2009
  2. * re.c (update_char_offset):

    * re.c (rb_reg_equal):
    * re.c (reg_match_pos):
    * re.c (rb_reg_eqq):
    * re.c (static VALUE):
    * re.c (Init_Regexp):
    [ruby-core:24748]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 4, 2009
  3. * test/ruby/test_io.rb (test_binmode_after_closed): test for [ruby-co…

    …re:25363].
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 4, 2009
  4. * numeric.c (round): added declaration. [ruby-dev:39222]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 4, 2009
  5. * bignum.c (rb_big_idiv): added rdoc.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 4, 2009
  6. * bignum.c (rb_big_div, rb_big_idiv): fixed indent.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 4, 2009
Commits on Sep 3, 2009
  1. * dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Sep 3, 2009
  2. * random.c (random_rand): fixed rdoc. [ruby-core:25332]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 3, 2009