Permalink
Switch branches/tags
Commits on Mar 10, 2015
  1. * vm_insnhelper.h (THROW_DATA_STATE): return int, not VALUE.

    ko1 committed Mar 10, 2015
    * vm_insnhelper.h (THROW_DATA_STATE_SET): accept int value.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * vm_eval.c (rb_catch_protect): use THROW_DATA_VAL().

    ko1 committed Mar 10, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * vm_insnhelper.h: define struct IFUNC.

    ko1 committed Mar 10, 2015
    * vm_eval.c (rb_iterate): use it.
    * vm_insnhelper.c (vm_yield_with_cfunc): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * remove trailing spaces.

    matzbot committed Mar 10, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * eval_intern.h (THROW_DATA_P): use RB_TYPE_P() instead of

    ko1 committed Mar 10, 2015
      BUILTIN_TYPE().
    * thread.c (thread_join): use THROW_DATA_P().
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * proc.c: use RUBY_VM_IFUNC_P() to recognize IFUNC or not.

    ko1 committed Mar 10, 2015
    * vm.c: ditto.
    * vm_dump.c: ditto.
    * vm_insnhelper.c: ditto.
    * vm_core.h: use RB_TYPE_P() instead of BUILTIN_TYPE().
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * vm_insnhelper.h: define struct THROW_DATA to represent

    ko1 committed Mar 10, 2015
      throwing data. Also define accessor functions.
    * eval_intern.h: move related changes into vm_insnhelper.h.
      Now these MACROs (functions) are only used in vm*.c.
      There is only THROW_DATA_P(err) to check this data type or not.
    * vm.c: catch up these changes.
    * vm_eval.c: ditto.
    * vm_insnhelper.c: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * 2015-03-11

    matzbot committed Mar 10, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * test/rubygems/test_gem_security_trust_dir.rb: The return value of

    odaira
    odaira committed Mar 10, 2015
    File::Stat#mode is OS dependent. In AIX, 0200000 is set.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * enum.c (enum_slice_when): [DOC] fix typo.

    k-tsj committed Mar 10, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. * lib/webrick/server.rb: Invoke setup_shutdown_pipe in start method

    akr committed Mar 10, 2015
      instead of listen method.
      [ruby-core:68476] [Bug #10956] Reported by Shintaro Kojima.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. test_math.rb: to_f tests

    nobu committed Mar 10, 2015
    * test/ruby/test_math.rb (test_{fixnum,bignum,rational}_to_f):
      refine to_f tests.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. * thread.c (thread_join): Fixnum (except TAG_FATAL) and

    ko1 committed Mar 10, 2015
      NODE should not be reached here.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. * 2015-03-10

    matzbot committed Mar 10, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  15. math.c: fix tgamma on mingw

    nobu committed Mar 10, 2015
    * math.c (mingw_tgamma): tgamma(3) on mingw returns a NaN for a
      big number, not infinity.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 9, 2015
  1. * vm_insnhelper.c (ep_cref): rename to lep_cref() because it should be

    ko1 committed Mar 9, 2015
      local ep.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. stringio.c: don't raise after close

    nobu committed Mar 9, 2015
    * ext/stringio/stringio.c (strio_close): don't raise on dobule
      close for consistent to IO#close.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. suppress warnings

    nobu committed Mar 9, 2015
    * test/ruby/beginmainend.rb: suppress warnings.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. complex.c: suppress warnings on FreeBSD

    nobu committed Mar 9, 2015
    * complex.c (safe_mul): get rid of assignments in a macro.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. test_beginendblock.rb: assert_in_out_err

    nobu committed Mar 9, 2015
    * test/ruby/test_beginendblock.rb (TestBeginEndBlock): simplify
      with assert_in_out_err.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. io.c: duplicate code

    nobu committed Mar 9, 2015
    * io.c (rb_io_close_m): remove duplicate check.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 8, 2015
  1. proc.c, vm.c: fix implicit conversions

    nobu committed Mar 8, 2015
    * proc.c (rb_mod_define_method): fix implicit conversion of
      visibility type. erred by -Werror=shorten-64-to-32.
    
    * vm.c (vm_define_method): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * vm_insnhelper.h: define struct SVAR for SVAR.

    ko1 committed Mar 8, 2015
      This data type is also same layout of NODE (NODE_IF).
    * vm_insnhelper.c: catch up this change.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * vm_insnhelper.c (lep_svar_set): add WBs.

    ko1 committed Mar 8, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * internal.h: define rb_cref_t and change to use it.

    ko1 committed Mar 8, 2015
      rb_cref_t is data type of CREF. Now, the body is still NODE.
      It is easy to understand what is CREF and what is pure NODE.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * vm_insnhelper.h (COPY_CREF_OMOD): fix translation miss.

    ko1 committed Mar 8, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * 2015-03-09

    matzbot committed Mar 8, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * internal.h: define CREF accessor macros.

    ko1 committed Mar 8, 2015
      * CREF_CLASS(cref)
      * CREF_NEXT(cref)
      * CREF_VISI(cref)
      * CREF_VISI_SET(cref, v)
      * CREF_REFINEMENTS(cref)
      * CREF_PUSHED_BY_EVAL(cref)
      * CREF_PUSHED_BY_EVAL_SET(cref)
      * CREF_OMOD_SHARED(cref)
      * CREF_OMOD_SHARED_SET(cref)
      * CREF_OMOD_SHARED_UNSET(cref)
      This is process to change CREF data type from NODE.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * ext/zlib/zlib.c (rb_gzfile_close): Don't raise on double

    akr committed Mar 8, 2015
      close for consistent to IO#close.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. dir.c: glob short names

    nobu committed Mar 8, 2015
    * dir.c (glob_helper): match patterns against legacy short names
      too, not only ordinary names.  [ruby-core:67954] [Bug #10819]
    * win32/dir.h (struct direct): add short name members.
    * win32/win32.c (opendir_internal, readdir_internal): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. miniinit.c: minimum built-in encodings in miniruby

    nobu committed Mar 8, 2015
    * common.mk (MINIOBJS): no longer need dmyenc.o.
    
    * miniinit.c (Init_enc): declare minimum built-in encodings so
      that these Encoding constants will be available in miniruby.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. test_extlibs.rb: skip excluded libraries

    nobu committed Mar 8, 2015
    * test/ruby/test_extlibs.rb (TestExtLibs.check_existence): ignore
      tests for explicitly excluded libraries.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. Makefile.sub: RUBY_PROGRAM_VERSION

    nobu committed Mar 8, 2015
    * win32/Makefile.sub (config.status): now RUBY_PROGRAM_VERSION is
      necessary for fake.rb.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. * 2015-03-08

    matzbot committed Mar 8, 2015
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e