[ruby-cvs:52219] naruse:r45074 (ruby_2_1): merge revision(s) 44604, 44605, 44606: [Backport #9415]

naruse at ruby-lang.org naruse at ruby-lang.org
Fri Feb 21 17:34:36 JST 2014


naruse	2014-02-21 17:34:35 +0900 (Fri, 21 Feb 2014)

  New Revision: 45074

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45074

  Log:
    merge revision(s) 44604,44605,44606: [Backport #9415]
    
    test_m17n.rb: split tests for inspect
    
    * test/ruby/test_m17n.rb (test_utf_16_32_inspect): split tests for
      each encodings.
    * string.c (get_actual_encoding): get actual encoding according to
      the BOM if exists.
    
    * string.c (rb_str_inspect): use according encoding, instead of
      pseudo encodings, UTF-{16,32}.  [ruby-core:59757] [Bug #8940]
    
    * string.c (get_encoding): respect BOM on pseudo encodings.
      [ruby-dev:47895] [Bug #9415]

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/encoding.c
    branches/ruby_2_1/string.c
    branches/ruby_2_1/test/ruby/test_m17n.rb
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list