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

ruby-cvs:22517

From: akr ruby-lang.org
Date: Sun, 27 Jan 2008 23:27:08 +0900 (JST)
Subject: [ruby-cvs:22517] Ruby:r15280 (trunk): * include/ruby/oniguruma.h: precise mbclen API redesigned to avoid

akr	2008-01-27 23:27:07 +0900 (Sun, 27 Jan 2008)

  New Revision: 15280

  Modified files:
    trunk/ChangeLog
    trunk/encoding.c
    trunk/include/ruby/encoding.h
    trunk/include/ruby/oniguruma.h
    trunk/io.c
    trunk/parse.y
    trunk/re.c
    trunk/regenc.c
    trunk/string.c

  Log:
    * include/ruby/oniguruma.h: precise mbclen API redesigned to avoid
      inline functions.
      (onigenc_mbclen_charfound): removed.
      (onigenc_mbclen_needmore): removed.
      (onigenc_mbclen_recover): removed.
      (ONIGENC_MBCLEN_CHARFOUND): removed.
      (ONIGENC_MBCLEN_CHARFOUND_P): defined.
      (ONIGENC_MBCLEN_CHARFOUND_LEN): defined.
      (ONIGENC_MBCLEN_INVALID): removed.
      (ONIGENC_MBCLEN_INVALID_P): defined.
      (ONIGENC_MBCLEN_NEEDMORE): removed.
      (ONIGENC_MBCLEN_NEEDMORE_P): defined.
      (ONIGENC_MBCLEN_NEEDMORE_LEN): defined.
      (ONIGENC_MBC_ENC_LEN): use onigenc_mbclen_approximate.
    
    * regenc.c (onigenc_mbclen_approximate): defined.
    
    * include/ruby/encoding.h (MBCLEN_CHARFOUND): removed.
      (MBCLEN_INVALID): removed.
      (MBCLEN_NEEDMORE): removed.
      (MBCLEN_CHARFOUND_P): defined.
      (MBCLEN_INVALID_P): defined.
      (MBCLEN_NEEDMORE_P): defined.
      (MBCLEN_CHARFOUND_LEN): defined.
      (MBCLEN_NEEDMORE_LEN): defined.
    
    * encoding.c: use new API.
    
    * re.c: ditto.
    
    * string.c: ditto.
    
    * parse.y: ditto.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/oniguruma.h?r1=15280&r2=15279&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=15280&r2=15279&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/parse.y?r1=15280&r2=15279&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15280&r2=15279&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/regenc.c?r1=15280&r2=15279&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=15280&r2=15279&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/include/ruby/encoding.h?r1=15280&r2=15279&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/re.c?r1=15280&r2=15279&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=15280&r2=15279&diff_format=u


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