Skip to content
Commits on May 2, 2016
  1. @nobu

    string.c: fix braces

    nobu committed May 2, 2016
    * string.c (search_nonascii): fix braces unmatched by a
      preprocessing condition.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 1, 2016
  1. @akr

    complex.c don't refer rb_cFixnum and rb_cBignum.

    akr committed May 1, 2016
    * complex.c: Don't refer rb_cFixnum and rb_cBignum.
      (k_fixnum_p): Use FIXNUM_P.
      (k_bignum_p): Use RB_TYPE_P.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nurse

    fix mixed declaration on non UNALIGNED_WORD_ACCESS

    nurse committed May 1, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @akr

    * test/ruby/test_numeric.rb (test_step): Use Integer::FIXNUM_MAX.

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

    test_name use Integer instead of Fixnum.

    akr committed May 1, 2016
    * test/ruby/test_module.rb (test_name): Use Integer instead of Fixnum.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @akr

    test/lib/test/unit/assertions.rb defines assert_fixnum and assert_big…

    akr committed May 1, 2016
    …num.
    
    * test/lib/test/unit/assertions.rb (assert_fixnum): Defined.
      (assert_bignum): Defined.
    
    * test/ruby/test_bignum.rb: Use assert_bignum.
    
    * test/ruby/test_integer_comb.rb: Use assert_fixnum and assert_bignum.
    
    * test/ruby/test_optimization.rb: Ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @akr

    Add a cast to avoid signed integer overflow.

    akr committed May 1, 2016
    * vm_trace.c (recalc_remove_ruby_vm_event_flags): Add a cast to
      avoid signed integer overflow.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @akr

    envutil.rb defines Integer::{FIXNUM_MIN,FIXNUM_MAX}.

    akr committed May 1, 2016
    * test/lib/envutil.rb: Define Integer::{FIXNUM_MIN,FIXNUM_MAX}.
    
    * test/ruby/test_bignum.rb: Use Integer::{FIXNUM_MIN,FIXNUM_MAX}.
    
    * test/ruby/test_bignum.rb: Ditto.
    
    * test/ruby/test_integer_comb.rb: Ditto.
    
    * test/ruby/test_marshal.rb: Ditto.
    
    * test/ruby/test_optimization.rb: Ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * 2016-05-02

    svn committed May 1, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. @mrkn

    Fix rb_ary_sum for mathn

    mrkn committed May 1, 2016
    * array.c (rb_ary_sum): fix for mathn
    
    * test/ruby/test_array.rb (test_sum): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. @unak

    * test/logger/test_logdevice.rb (TestLogDevice#test_shifting_period_s…

    unak committed May 1, 2016
    …uffix):
    
      too many shifting.  the last shifting created logs named as `*.3`, and
      they were never unlinked.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. @unak

    * test/lib/test/unit.rb (Options#non_options): fixed wrong regexp.

    unak committed May 1, 2016
      if both positives and negatives were specified, postives had to
      be spcicifed from the beginning.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. @nurse

    fix for where UNALIGNED_WORD_ACCESS is not allowed

    nurse committed May 1, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. @akr

    update comments.

    akr committed May 1, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. @akr

    Fix a test message.

    akr committed May 1, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  15. @unak

    * win32/win32.c: drop Win2K support.

    unak committed May 1, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  16. @unak

    * cont.c, hash.c, random.c, win32/win32.c: cleanup some Win9x/ME/NT4

    unak committed May 1, 2016
      support leftovers.
      [fix GH-1328] patched by @cremno
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  17. @nurse

    Use WORDS_BIGENDIAN

    nurse committed May 1, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  18. @akr

    [DOC] merge documents for {Integer,Fixnum}#succ.

    akr committed May 1, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  19. @nobu

    ChangeLog: fix a typo [ci skip]

    nobu committed May 1, 2016
    * ChangeLog: fix typo, process ID is unrelated to login shell
      name, should be user ID.
      http://twitter.com/nagachika/status/726553209821523968
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 30, 2016
  1. @nurse

    * string.c (search_nonascii): use nlz on big endian environments.

    nurse committed Apr 30, 2016
    * internal.h (nlz_intpr): defined.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    fix a typo.

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

    More optimization for r54854's search_nonascii

    nurse committed Apr 30, 2016
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * 2016-05-01

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

    revert UNALIGNED_WORD_ACCESS for GCC6

    nurse committed Apr 30, 2016
    Released GCC 6.0 fixed the issue.
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291
    [ruby-core:72211] [Bug #11831] [Bug #11979]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @nurse

    * string.c (search_nonascii): unroll and use ntz

    nurse committed Apr 30, 2016
    * configure.in (__builtin_ctz): check.
    
    * configure.in (__builtin_ctzll): check.
    
    * internal.h (rb_popcount32): defined for ntz_int32.
      it can use __builtin_popcount but this function is not used on
      GCC environment because it uses __builtin_ctz.
      When another function uses this, using __builtin_popcount
      should be re-considered.
    
    * internal.h (rb_popcount64): ditto.
    
    * internal.h (ntz_int32): defined for ntz_intptr.
    
    * internal.h (ntz_int64): defined for ntz_intptr.
    
    * internal.h (ntz_intptr): defined as ntz for uintptr_t.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. @akr

    [DOC]

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

    Gather Fixnum method definitions.

    akr committed Apr 30, 2016
    * numeric.c (Init_Numeric): Gather Fixnum method definitions.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. @akr

    Define Integer#/ instead of Bignum#/.

    akr committed Apr 30, 2016
    * numeric.c (rb_int_div): Define Integer#/.
    
    * bignum.c (rb_big_div): Don't define Bignum#/.
    
    * lib/mathn.rb (Integer#/): Replace Integer#/ instead of Bignum#/.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. @akr

    Define Integer#+ instead of Bignum#+.

    akr committed Apr 30, 2016
    * numeric.c (rb_int_plus): Define Integer#+.
    
    * bignum.c (rb_big_plus): Don't define Bignum#+.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. @akr

    Define Integer#- instead of Bignum#-.

    akr committed Apr 30, 2016
    * numeric.c (rb_int_minus): Define Integer#-.
    
    * bignum.c (rb_big_minus): Don't define Bignum#-.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. @akr

    Define Integer#* instead of Bignum#*.

    akr committed Apr 30, 2016
    * numeric.c (rb_int_mul): Define Integer#*.
    
    * bignum.c (rb_big_mul): Don't define Bignum#*.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. @akr

    Define Integer#% instead of Bignum#%.

    akr committed Apr 30, 2016
    * numeric.c (rb_int_modulo): Define Integer#%.
    
    * bignum.c (rb_big_modulo): Don't define Bignum#%.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. @akr

    Define Integer#== instead of Bignum#==.

    akr committed Apr 30, 2016
    * numeric.c (int_equal): Define Integer#==.
    
    * bignum.c (rb_big_eq): Don't define Bignum#==.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  15. @akr

    Define Integer#> instead of Bignum#>.

    akr committed Apr 30, 2016
    * numeric.c (int_gt): Define Integer#>.
    
    * bignum.c (rb_big_gt): Don't define Bignum#>.
      Renamed from big_gt.
    
    * internal.h (rb_big_gt): Declared.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.