Commits on Apr 26, 2016
  1. * 2016-04-27

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Apr 26, 2016
  2. @znz

    fix typos [ci skip]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Apr 26, 2016
  3. @unak

    * tool/redmine-backporter.rb (rel): should not raise exceptions even if

      the user input is wrong.  only reports the error and continue process.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Apr 26, 2016
  4. @nobu

    Fix -e script encoding

    * ruby.c (process_options): convert -e script to the encoding
      given by a command line option on Windows.  assume it is the
      expected encoding.  [ruby-dev:49461] [Bug #11900]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 26, 2016
  5. @akr

    [DOC] update Integer#<< doc.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Apr 26, 2016
  6. @akr

    {Fixnum,Bignum}#<< is unified into Integer.

    * numeric.c (rb_int_lshift): {Fixnum,Bignum}#<< is unified into
      Integer.
    
    * bignum.c (rb_big_lshift): Don't define Bignum#<<.
    
    * internal.h (rb_big_lshift): Declared.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Apr 26, 2016
  7. @akr

    {Fixnum,Bignum}#>> is unified into Integer.

    * numeric.c (rb_int_rshift): {Fixnum,Bignum}#>> is unified into
      Integer.
    
    * bignum.c (rb_big_rshift): Don't define Bignum#>>.
    
    * internal.h (rb_big_rshift): Declared.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Apr 26, 2016
  8. @akr

    {Fixnum,Bignum}#size is unified into Integer.

    * numeric.c (int_size): {Fixnum,Bignum}#size is unified into Integer.
    
    * bignum.c (rb_big_size_m): Don't define Bignum#size.
    
    * internal.h (rb_big_size_m): Declared.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Apr 26, 2016
  9. @akr

    forgot to remove Bignum#bit_length.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Apr 26, 2016
  10. @akr

    {Fixnum,Bignum}#bit_length is unified into Integer.

    * numeric.c (rb_int_bit_length): {Fixnum,Bignum}#bit_length is
      unified into Integer.
    
    * bignum.c (rb_big_bit_length): Don't define Bignum#bit_length.
    
    * internal.h (rb_big_bit_length): Declared.
    
    --This iine, and those below, will be ignored--
    
    M    ChangeLog
    M    bignum.c
    M    internal.h
    M    numeric.c
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Apr 26, 2016
  11. @akr

    * numeric.c (int_abs): Integer#{abs,magnitude} moved from Fixnum and …

    …Bignum.
    
    * internal.h (rb_big_abs): Declared.
    
    * bignum.c (rb_big_abs): Don't define Bignum#{abs,magnitude}.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    akr committed Apr 26, 2016
  12. * 2016-04-26

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Apr 26, 2016
  13. @nobu

    compile.c: true conditions

    * compile.c (compile_branch_condition): add more always-true
      conditions to optimize away unreachable branch.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 26, 2016
Commits on Apr 25, 2016
  1. @nobu

    tk/extconf.rb: refactor

    * ext/tk/extconf.rb (collect_tcltk_defs): split by -D at the
      beginning or preceded by a space.  exclude empty strings from
      $defs.
    
    * ext/tk/extconf.rb: test if value is set and has non-blank by
      matching /\S/ at once.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 25, 2016
  2. @nobu

    net/http/header.rb: refactor

    * lib/net/http/header.rb (connection_close?): match headers
      without making intermediate arrays.
    
    * lib/net/http/header.rb (connection_keep_alive?): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 25, 2016
  3. @nobu

    ripper: fix ripper.E

    * ext/ripper/depend (ripper.E): add missing $(INCFLAGS).
    
    * ext/ripper/tools/strip.rb: insert an empty line for blank or
      line directive lines.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 25, 2016
  4. @nobu

    extmk.rb: refactor

    * ext/extmk.rb: extract non-blank part without intermediate
      objects.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 25, 2016
  5. @nobu

    rbconfig/sizeof: calculate at compilation time

    * ext/rbconfig/sizeof/extconf.rb: just check the existence of each
      types, to reduce configuration time, especially cross-compiling.
    * template/sizes.c.tmpl: calculate sizes of checked types at
      compilation time.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 25, 2016
  6. @nobu

    sizes.c.tmpl: extra semicolon

    * template/sizes.c.tmpl (DEFINE): remove extra semicolon.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 25, 2016
  7. @nobu

    configure.in: do not create unnecessary verconf.h

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 25, 2016
  8. @hsbt

    * doc/extension.rdoc: Improvements to english grammers.

      [Bug #12246][ruby-core:74792][ci skip]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    hsbt committed Apr 25, 2016
  9. @hsbt

    * encoding.c: Fix return value of `Encoding::ISO8859_1.name`

      [Bug #12313][ruby-core:75147][ci skip]
    * ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new`
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    hsbt committed Apr 25, 2016
Commits on Apr 24, 2016
  1. * 2016-04-25

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Apr 24, 2016
  2. @nurse

    Revert "common.mk: timestamp file for verconf.h"

    This reverts commit r54748.
    It breaks build.
    http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20160424T120700Z.log.html.gz
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Apr 24, 2016
  3. @nurse

    Revert "vm_insnhelper.c: INLINE condition" [Bug #12316]

    This reverts commit r54747.
    !__clang__ is also essential.
    Anyway clang inlines vm_getivar into both vm_call_ivar and
    vm_getinstancevariable, which r54728 originally intended to.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Apr 24, 2016
  4. * configure.in: add missing -lm for AIX.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    odaira committed Apr 24, 2016
  5. @znz

    fix typos [ci skip]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Apr 24, 2016
  6. @nobu

    common.mk: timestamp file for verconf.h

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 24, 2016
  7. @nobu

    vm_insnhelper.c: INLINE condition

    * vm_insnhelper.c (INLINE): works with __NO_INLINE__ only,
      __clang__ is not the point.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 24, 2016
  8. @k-tsj

    * vm_insnhelper.c (INLINE): cosmetic change.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    k-tsj committed Apr 24, 2016
  9. @k-tsj

    * vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined.

      It caused "undefined reference to `vm_getivar'".
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    k-tsj committed Apr 24, 2016
  10. @nobu

    Revert r54742

    Commit miss.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 24, 2016
  11. @nobu

    Disable r54738 if clang

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 24, 2016
  12. @nobu

    Fix compile error other than gcc

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 24, 2016
  13. @nobu

    regexec.c: constify

    * regexec.c (match_at): constify oplabels.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Apr 24, 2016