[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:20766

From: nobu ruby-lang.org
Date: Thu, 27 Sep 2007 04:46:59 +0900 (JST)
Subject: [ruby-cvs:20766] Ruby:r13529 (trunk): * encoding.c (rb_enc_associate_index): deal with ASCII compatible

nobu	2007-09-27 04:46:58 +0900 (Thu, 27 Sep 2007)

  New Revision: 13529

  Modified files:
    trunk/ChangeLog
    trunk/encoding.c
    trunk/include/ruby/encoding.h
    trunk/parse.y
    trunk/string.c

  Log:
    * encoding.c (rb_enc_associate_index): deal with ASCII compatible
      flags.
    
    * encoding.c (rb_enc_check): allow ASCII compatible strings.
    
    * parse.y (rb_intern_str): use ASCII encoding for ASCII string.
    
    * string.c (rb_enc_str_coderange): check for code-range.
    
    * string.c (rb_str_modify): clear code-range flags.
    
    * string.c (rb_str_hash, rb_str_eql): ASCII compatible strings are
      comparable.
    
    * include/ruby/encoding.h: added code-range flags.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=13529&r2=13528
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/parse.y?r1=13529&r2=13528
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13529&r2=13528
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/encoding.h?r1=13529&r2=13528
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=13529&r2=13528


[前][次][番号順一覧][スレッド一覧][生データ]