Permalink
Switch branches/tags
Commits on Sep 16, 2015
  1. vm_core.h: revert VM objspace on Windows

    * vm_core.h (ENABLE_VM_OBJSPACE): disable now, as socklist and
      conlist will be freed exit_handler(), after object space
      destruction.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 16, 2015
  2. * encindex.h: fix typo of last #endif comment.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    suke committed Sep 16, 2015
  3. variable.c: fail if frozen

    * variable.c (set_const_visibility): fail if the class/module is
      frozen.  [ruby-core:70828] [Bug #11532]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 16, 2015
  4. vm_core.h: enable VM objspace on Windows

    * vm_core.h (ENABLE_VM_OBJSPACE): enable per-VM object space on
      Windows by default, as rb_w32_sysinit() no longer depends on
      ruby_xmalloc.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 16, 2015
  5. ruby.h: RUBY_FL_PROMOTED

    * include/ruby/ruby.h (ruby_fl_type): revive RUBY_FL_PROMOTED for
      .gdbinit.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 16, 2015
  6. [DOC] Remove `\0` since it's aprt of octal notation

    A typo is fixed while at it.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Sep 16, 2015
  7. [DOC] `\0` is interpreted as NUL only if not followed by an octal digit.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Sep 16, 2015
  8. literals.rdoc: add DEL [ci skip]

    * doc/syntax/literals.rdoc (Strings): [DOC] add DEL.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 16, 2015
  9. [DOC] Revise the character literal part.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Sep 16, 2015
  10. [DOC] Document the full list of supported escape sequences in string …

    …literals
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    knu committed Sep 16, 2015
  11. string.c: keep coderange

    * string.c (rb_str_setbyte): keep the code range as possible.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 16, 2015
  12. literals.rdoc: fix typos

    * doc/syntax/literals.rdoc (Strings): fix typos.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 16, 2015
  13. * doc/syntax/literals.rdoc (Strings): mention about ?a literal.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Sep 16, 2015
  14. * dir.c (glob_helper): check pathtype once again by lstat(2) if

      dp->d_type is DT_UNKNOWN. XFS may return DT_UNKNOWN.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Sep 16, 2015
Commits on Sep 15, 2015
  1. * 2015-09-16

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Sep 15, 2015
  2. * test/ruby/test_thread.rb (TestThread#test_mutex_synchronize):

      insert waste loop for invoking preemptive thread context switch.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    kosaki committed Sep 15, 2015
  3. gc.c: define objspace functions always

    * gc.c (rb_objspace_alloc, rb_objspace_free): define always
      regardless ENABLE_VM_OBJSPACE, and free heap pages.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  4. win32.c: no xmalloc at sys_init

    * win32/win32.c (rb_w32_sysinit, rb_w32_readdir): compare by
      encoding index to get rid of encoding initialization before VM
      object space allocation.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  5. dir.c: fundamental_encoding_p

    * dir.c (fundamental_encoding_p, push_glob): compare by encoding
      index immediately.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  6. win32.c: encindex.h

    * win32/win32.c: needs encindex.h for encoding indexes.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  7. localeinit.c: encindex.h

    * localeinit.c: needs encindex.h for ENCINDEX_US_ASCII and
      ENCINDEX_ASCII.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  8. enc: fundamental encindex

    * enc/{ascii,us_ascii,utf_8}.c: set encoding indexes of
      fundamental built-in encodings so that usable as well as
      allocated rb_encoding before rb_enc_init().
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  9. encindex.h: ENCINDEX

    * encindex.h: separate encoding index constants from internal.h.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  10. array.c: [DOC] correct Array#sort rdoc [ci skip]

    * array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] correct block
      return values, which may be a negative or positive integer, not
      ony -1 or +1.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  11. array.c: [DOC] correct Array#sort rdoc [ci skip]

    * array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] Correct
      description of array sort block return values.  And also fix up
      the grammar a bit.  [Fix GH-1020]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
  12. * 2015-09-15

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Sep 15, 2015
  13. util.c: BSD qsort_r

    * util.c (ruby_qsort): use BSD-style qsort_r if available.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 15, 2015
Commits on Sep 14, 2015
  1. * lib/net/ftp.rb (parse_mlsx_entry): parse pathnames including

      space correctly.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shugo committed Sep 14, 2015
  2. common.mk: excluding options to test-ruby

    * common.mk (yes-test-ruby): apply excluding options as well as
      "test".
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 14, 2015
  3. Fix typo in racc english documentation [ci skip]

    * lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo, "convertion" to
      "conversion".  [Fix GH-1016]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 14, 2015
Commits on Sep 13, 2015
  1. * 2015-09-14

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Sep 13, 2015
  2. fix a typo [ci skip]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Sep 13, 2015
  3. ruby.h: add prefix

    * include/ruby/ruby.h: prefix RUBY or RB to global symbols to get
      rid of name conflicts with other headers.
    * include/ruby/encoding.h, include/ruby/intern.h: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 13, 2015
  4. configure.in: enum_over_int

    * configure.in (enum_over_int): use ULLONG_MAX instead of
      ULONG_LONG_MAX for portability.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 13, 2015
  5. configure.in: enum_over_int

    * configure.in (enum_over_int): check if enum over int is allowed.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Sep 13, 2015