Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: trunk

Apr 18, 2014

  1. Nobuyoshi Nakada

    * remove trailing spaces.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  2. akr

    * numeric.c (rb_num2long): Returns a long.

      (rb_num2ulong): Returns a unsigned long.
    
    * bignum.c (rb_big2long): Returns a long.
      (rb_big2ulong): Returns a unsigned long.
    
    * include/ruby/intern.h: Follow above changes.
    
    * include/ruby/ruby.h: Follow above changes.
      (rb_num2long_inline): No need to cast.
      (rb_num2ulong_inline): Ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  3. Nobuyoshi Nakada

    string.c: SHARABLE_SUBSTRING_P

    * string.c (SHARABLE_SUBSTRING_P): predicate if substring can be
      shared with the original string.  true if just at the end of the
      original string, for the time being.  all substring will be able to
      be shared in the future.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  4. Nobuyoshi Nakada

    fix typo

    * NEWS, README.EXT: fix typo.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  5. * 2014-04-19

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  6. Nobuyoshi Nakada

    time.c: fix non-terminated string

    * time.c (month_arg, time_strftime): RSTRING_PTR() may not be
      NUL-terminated.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  7. Nobuyoshi Nakada

    parse.y: shared substring of source

    * parse.y (lex_get_str): return shared sub-string of entire source
      string instead of a partial copy.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  8. Nobuyoshi Nakada

    string.c: share middle of a string

    * string.c (rb_str_new_frozen): consider the shared string at
      middle.
    * string.c (rb_str_subseq, rb_str_substr, str_byte_substr): share
      middle of a string.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  9. Nobuyoshi Nakada

    README.EXT: about string termination

    * README.EXT (Appendix B): add RSTRING_PTR and RSTRING_LEN.
      and NULL-termination by StringValueCStr.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  10. Nobuyoshi Nakada

    ossl_x509name.c: null-terminate field name

    * ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): field
      name of X509_NAME_add_entry_by_txt() must be NULL-terminated.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  11. Nobuyoshi Nakada

    zlib.c: return unshared string

    * ext/zlib/zlib.c (zstream_shift_buffer): create new copied string
      since it cannot be shared ever.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  12. Nobuyoshi Nakada

    string.c: revert r45622

    * string.c (str_buf_cat): revert r45622.  broken data can be added
      later.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  13. Nobuyoshi Nakada

    string.c: r45621

    * string.c (str_buf_cat): revert r45621.  this function does not
      scan appended data.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  14. Nobuyoshi Nakada

    string.c: don't clear coderange at expanding

    * string.c (rb_str_modify_expand): like as str_modify_keep_cr,
      don't clear coderange unless broken.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  15. Nobuyoshi Nakada

    string.c: keep code range

    * string.c (str_buf_cat): keep code range if possible.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  16. NARUSE, Yui

    * string.c: use uintptr_t instead of VALUE because they are not ruby

      object.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  17. NARUSE, Yui

    * string.c: check str_strlen's argument, and add comment or

      use NULL if simply it uses str's enc.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  18. NARUSE, Yui

    * string.c (str_strlen): use enc_strlen if the coderange is known.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014
  19. NARUSE, Yui

    * string.c (enc_strlen): move UTF-8 optimization from str_strlen to

      enc_strlen.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 18, 2014

Apr 17, 2014

  1. * 2014-04-18

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  2. Nobuyoshi Nakada

    configure.in: rb_cv_getcwd_malloc

    * configure.in (rb_cv_getcwd_malloc): check if getcwd allocates
      buffer if NULL is given [ruby-core:62072] [Bug #9752]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  3. Nobuyoshi Nakada

    ruby.c: drop older cygwin

    * ruby.c (push_include_cygwin): drop older cygwin support.
    
    * ruby.c (ruby_init_loadpath_safe): ditto, and always use String as
      libpath buffer on Windows.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  4. Nobuyoshi Nakada

    gc.c: suppress a warning

    * gc.c (get_envparam_size): suppress a warning by char-subscripts.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  5. SHIBATA Hiroshi

    * prelude.rb: [DOC] Update Thread::exclusive docs by @stevenharman.

      [ci skip][fix GH-589]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  6. SHIBATA Hiroshi

    * template/opt_sc.inc.tmpl: [DOC] Fix typo in comment by @imasahiro […

    …ci skip][fix GH-595]
    
    * template/optinsn.inc.tmpl: ditto.
    * template/optunifs.inc.tmpl: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  7. Nobuyoshi Nakada

    string.c: argument check

    * string.c (rb_str_cat_cstr): check the argument as other `_cstr`
      functions.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  8. Nobuyoshi Nakada

    string.c: rb_str_cat_cstr

    * string.c (rb_str_cat): make non-buf version main.
    
    * string.c (rb_str_cat_cstr): rename from rb_str_cat2.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  9. Nobuyoshi Nakada

    configure.in: FUNC_MINIMIZED

    * configure.in (RUBY_FUNC_ATTRIBUTE): escape double quotes in
      attribute.
    
    * configure.in (FUNC_MINIMIZED): attribute to minimize function
      body.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  10. Nobuyoshi Nakada

    string.c: alias of rb_str_buf_cat and rb_str_buf_cat2

    * string.c (rb_str_cat, rb_str_cat2): make aliases of
      rb_str_buf_cat and rb_str_buf_cat2 respectively.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  11. Nobuyoshi Nakada

    string.c: reduce duplicated code

    * string.c (rb_str_cat, rb_str_cat2): reduce duplicated code, they
      are same as rb_str_buf_cat and rb_str_buf_cat2 respectively now.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  12. * 2014-04-17

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014
  13. Nobuyoshi Nakada

    fileutils.rb: [DOC] update rdoc

    * lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
      preserve option and permissions, following r31123.
      [ruby-core:62065] [Bug #9748]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 17, 2014

Apr 16, 2014

  1. Nobuyoshi Nakada

    enum.c: fix condition to recycle block argument

    * enum.c (dont_recycle_block_arg): fix condition to recycle block
      argument.  lambda with rest can get internal array directly.
      [ruby-core:62060] [Bug #9749]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 16, 2014
  2. Nobuyoshi Nakada

    test_enum.rb: add tests

    * test/ruby/test_enum.rb (test_each_slice, test_each_cons): add
      missing tests for Enumerable#each_slice and Enumerable#each_cons.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 16, 2014
  3. Nobuyoshi Nakada

    * test/fileutils/test_fileutils.rb: revert r45600.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored April 16, 2014
Something went wrong with that request. Please try again.