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

ruby-cvs:22159

From: akr ruby-lang.org
Date: Mon, 7 Jan 2008 11:49:03 +0900 (JST)
Subject: [ruby-cvs:22159] Ruby:r14922 (trunk): * encoding.c (rb_enc_internal_get_index): extracted from

akr	2008-01-07 11:49:01 +0900 (Mon, 07 Jan 2008)

  New Revision: 14922

  Modified files:
    trunk/ChangeLog
    trunk/encoding.c
    trunk/include/ruby/encoding.h
    trunk/marshal.c
    trunk/parse.y
    trunk/re.c
    trunk/string.c
    trunk/test/ruby/test_m17n.rb

  Log:
    * encoding.c (rb_enc_internal_get_index): extracted from
      rb_enc_get_index.
      (rb_enc_internal_set_index): extracted from rb_enc_associate_index
    
    * include/ruby/encoding.h (ENCODING_SET): work over ENCODING_INLINE_MAX.
      (ENCODING_GET): ditto.
      (ENCODING_IS_ASCII8BIT): defined.
      (ENCODING_CODERANGE_SET): defined.
    
    * re.c (rb_reg_fixed_encoding_p): use ENCODING_IS_ASCII8BIT.
    
    * string.c (rb_enc_str_buf_cat): use ENCODING_IS_ASCII8BIT.
    
    * parse.y (reg_fragment_setenc_gen): use ENCODING_IS_ASCII8BIT.
    
    * marshal.c (has_ivars): use ENCODING_IS_ASCII8BIT.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=14922&r2=14921&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/parse.y?r1=14922&r2=14921&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14922&r2=14921&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/encoding.h?r1=14922&r2=14921&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/marshal.c?r1=14922&r2=14921&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/re.c?r1=14922&r2=14921&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=14922&r2=14921&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_m17n.rb?r1=14922&r2=14921&diff_format=u


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