Permalink
Switch branches/tags
Commits on Mar 28, 2014
  1. struct.c: avoid pinning down

    nobu committed Mar 28, 2014
    * struct.c (rb_struct_set, rb_struct_aref, rb_struct_aset): get
      rid of pinning down dynamic symbols by SYM2ID.
    
    * struct.c (rb_struct_aref_sym, rb_struct_aset_sym): use Symbol
      instead of ID.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. parse.y: rb_id_attrget

    nobu committed Mar 28, 2014
    * parse.y (rb_id_attrget): new function to convert setter ID to
      getter ID.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. struct.c: encoding of member name

    nobu committed Mar 28, 2014
    * struct.c (not_a_member): preserve encoding of member name in
      error messages.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. struct.c: not_a_member message

    nobu committed Mar 28, 2014
    * struct.c (not_a_member): extract name error and use same error
      messages.  based on the patch by Marcus Stollsteimer <sto.mar AT
      web.de> at [ruby-core:61721].  [Bug #9684]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. .gdbinit (rp): dump T_SYMBOL

    nobu committed Mar 28, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. string.c: infect match result

    nobu committed Mar 28, 2014
    * string.c (rb_pat_search): match result should be infected by the
      pattern.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. string.c: backref substitution

    nobu committed Mar 28, 2014
    * re.c (rb_reg_regsub): allow nil regexp for string matching.
    
    * string.c (rb_str_sub_bang, str_gsub): make substitution if
      replacement string has backref escapes.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. string.c: unset $~ if unmatch

    nobu committed Mar 28, 2014
    * string.c (rb_pat_search): unset $~ if the last match failed.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. revert r45417

    nurse committed Mar 28, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. revert r45417

    nurse committed Mar 28, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. * ext/psych/psych.gemspec: update gemspec for psych-2.0.5

    hsbt committed Mar 28, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. * 2014-03-28

    matzbot committed Mar 28, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. * ext/psych/lib/psych.rb: Merge psych-2.0.5. bump version to

    hsbt committed Mar 28, 2014
      libyaml-0.1.6 for CVE-2014-2525.
    * ext/psych/yaml/config.h: ditto.
    * ext/psych/yaml/scanner.c: ditto.
    * ext/psych/yaml/yaml_private.h: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 27, 2014
  1. string.c: suppress warnings

    nobu committed Mar 27, 2014
    * string.c (rb_str_sub_bang, str_gsub): initialize conditionally
      assigned variables to suppress maybe-uninitialized warnings.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. string.c: search by rb_str_index

    nobu committed Mar 27, 2014
    * re.c (match_regexp): set regexp for MatchData from string.
    * re.c (rb_backref_set_string): create MatchData from string and
      set backref.
    * string.c (rb_pat_search, rb_str_sub, rb_str_sub_bang, str_gsub),
      (scan_once, rb_str_scan, rb_str_partition): use rb_str_index
      instead of rb_reg_search() when pattern is a String.  based on
      the patch by Sam Rawlins <sam.rawlins@gmail.com> [Fixes GH-579]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. string.c: mustnot_broken

    nobu committed Mar 27, 2014
    * string.c (mustnot_broken): extract function to reject invalid
      byte sequence, from rb_str_split_m().
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. re.c: class name encoding

    nobu committed Mar 27, 2014
    * re.c (match_inspect): preserve class name encoding by PRIsVALUE.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. test_m17n_comb.rb: refine assertions

    nobu committed Mar 27, 2014
    * test/ruby/test_m17n_comb.rb (test_str_scan): refine assertion
      messages.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. [DOC] Fix NEWS about Symbol GC

    authorNari committed Mar 27, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. string.c: invert flag

    nobu committed Mar 27, 2014
    * string.c (str_gsub): invert and rename `str_replace` flag as
      `need_backref`.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * addr2line.c (fill_lines): check shdr[i].sh_type because even if

    nurse committed Mar 27, 2014
      .symtab section exists, the section's type can be SHT_NOBITS and
      actual data doesn't exist in the file. [Bug #9654]
      revert r45441.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. re.c: indent

    nobu committed Mar 27, 2014
    * re.c (rb_reg_search): adjust indent.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. parse.y: type-punning cast

    nobu committed Mar 27, 2014
    * parse.y (rb_gc_free_dsymbol): use intermediate st_data_t and get
      rid of type-punning cast.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 26, 2014
  1. * 2014-03-27

    matzbot committed Mar 26, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. temporally change for powerpc64-linux fc18

    nurse committed Mar 26, 2014
    fc18 powerpc64's libc6-dbg has symtab/strtab but it can't be
    referenced. therefore add workaround not to see them.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. [DOC] Add NEWS about Symbol GC

    authorNari committed Mar 26, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. parse.y: set encoding

    nobu committed Mar 26, 2014
    * parse.y (rb_str_dynamic_intern): associate proper encoding with
      the result symbol.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. encoding.c: fix encoding of dynsym

    nobu committed Mar 26, 2014
    * encoding.c (rb_enc_get_index): the encoding of dynamic symbol
      comes from fstr.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. remove break because strtab/symtab is usually the last segment

    nurse committed Mar 26, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. encoding.c: enc_capable symbol

    nobu committed Mar 26, 2014
    * encoding.c (enc_capable): Symbol is now encoding capable.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. temporaly show sym->st_name and so on

    nurse committed Mar 26, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. parse.y: fix rb_str_symname_type call

    nobu committed Mar 26, 2014
    * parse.y (rb_str_dynamic_intern): fix the second argument to
      rb_str_symname_type, which is a bit mask but not a boolean.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * parse.y (rb_str_dynamic_intern): fix commit miss.

    nobu committed Mar 26, 2014
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. parse.y: guard dup string

    nobu committed Mar 26, 2014
    * parse.y (rb_str_dynamic_intern): prevent a string which may be
      duplicated, from GC.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. parse.y: dup iff needed

    nobu committed Mar 26, 2014
    * parse.y (rb_str_dynamic_intern): dup the given string only if
      needed.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e