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

ruby-cvs:20793

From: nobu ruby-lang.org
Date: Sat, 29 Sep 2007 04:27:11 +0900 (JST)
Subject: [ruby-cvs:20793] Ruby:r13556 (trunk): * encoding.c (rb_enc_alias): allow encodings multiple aliases.

nobu	2007-09-29 04:27:10 +0900 (Sat, 29 Sep 2007)

  New Revision: 13556

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

  Log:
    * encoding.c (rb_enc_alias): allow encodings multiple aliases.
    
    * encoding.c (rb_enc_find_index): search the encoding which has the
      given name and return its index if found, or -1.
    
    * st.c (type_strcasehash): case-insensitive string hash type.
    
    * string.c (rb_str_force_encoding): force encoding of self.  this name
      comes from [ruby-dev:31894] by Martin Duerst.  [ruby-dev:31744]
    
    * include/ruby/encoding.h (rb_enc_find_index, rb_enc_associate_index):
      prototyped.
    
    * include/ruby/encoding.h (rb_enc_isctype): direct interface to ctype.
    
    * include/ruby/st.h (st_init_strcasetable): prototyped.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=13556&r2=13555
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/st.h?r1=13556&r2=13555
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13556&r2=13555
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/encoding.h?r1=13556&r2=13555
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=13556&r2=13555
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/st.c?r1=13556&r2=13555


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