[前][次][番号順一覧][スレッド一覧]

ruby-changes:43231

From: duerst <ko1@a...>
Date: Tue, 7 Jun 2016 15:05:24 +0900 (JST)
Subject: [ruby-changes:43231] duerst:r55305 (trunk): * regenc.h/c: Rename onigenc_not_support_case_map to

duerst	2016-06-07 15:05:18 +0900 (Tue, 07 Jun 2016)

  New Revision: 55305

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55305

  Log:
    * regenc.h/c: Rename onigenc_not_support_case_map to
      onigenc_ascii_only_case_map.
    * regenc.h: Add definition of onigenc_single_byte_ascii_only_case_map.
    * enc/iso_8859_X.c, windows_125X.c, ascii.c, us-ascii.c, koi8_x.c:
      Replace onigenc_not_support_case_map by
      onigenc_single_byte_ascii_only_case_map.
    * enc/big5.c, cp949.c, emacs_mule.c, euc_X.c, gbX.c, shift_jis.c,
      windows_31j.c: Replace onigenc_not_support_case_map by
      onigenc_ascii_only_case_map.

  Modified files:
    trunk/ChangeLog
    trunk/enc/ascii.c
    trunk/enc/big5.c
    trunk/enc/cp949.c
    trunk/enc/emacs_mule.c
    trunk/enc/euc_jp.c
    trunk/enc/euc_kr.c
    trunk/enc/euc_tw.c
    trunk/enc/gb18030.c
    trunk/enc/gbk.c
    trunk/enc/iso_8859_1.c
    trunk/enc/iso_8859_10.c
    trunk/enc/iso_8859_11.c
    trunk/enc/iso_8859_13.c
    trunk/enc/iso_8859_14.c
    trunk/enc/iso_8859_15.c
    trunk/enc/iso_8859_16.c
    trunk/enc/iso_8859_2.c
    trunk/enc/iso_8859_3.c
    trunk/enc/iso_8859_4.c
    trunk/enc/iso_8859_5.c
    trunk/enc/iso_8859_6.c
    trunk/enc/iso_8859_7.c
    trunk/enc/iso_8859_8.c
    trunk/enc/iso_8859_9.c
    trunk/enc/koi8_r.c
    trunk/enc/koi8_u.c
    trunk/enc/shift_jis.c
    trunk/enc/us_ascii.c
    trunk/enc/windows_1250.c
    trunk/enc/windows_1251.c
    trunk/enc/windows_1252.c
    trunk/enc/windows_31j.c
    trunk/regenc.c
    trunk/regenc.h
Index: regenc.h
===================================================================
--- regenc.h	(revision 55304)
+++ regenc.h	(revision 55305)
@@ -133,7 +133,8 @@ CONSTFUNC(ONIG_EXTERN int onigenc_not_su https://github.com/ruby/ruby/blob/trunk/regenc.h#L133
 PUREFUNC(ONIG_EXTERN int onigenc_is_mbc_newline_0x0a P_((const UChar* p, const UChar* end, OnigEncoding enc)));
 
 #ifdef ONIG_CASE_MAPPING
-  ONIG_EXTERN int    onigenc_not_support_case_map P_((OnigCaseFoldType* flagP, const OnigUChar** pp, const OnigUChar* end, OnigUChar* to, OnigUChar* to_end, const struct OnigEncodingTypeST* enc));
+  ONIG_EXTERN int    onigenc_ascii_only_case_map P_((OnigCaseFoldType* flagP, const OnigUChar** pp, const OnigUChar* end, OnigUChar* to, OnigUChar* to_end, const struct OnigEncodingTypeST* enc));
+  ONIG_EXTERN int    onigenc_single_byte_ascii_only_case_map P_((OnigCaseFoldType* flagP, const OnigUChar** pp, const OnigUChar* end, OnigUChar* to, OnigUChar* to_end, const struct OnigEncodingTypeST* enc));
 #endif   /* ONIG_CASE_MAPPING */
 
 
Index: enc/iso_8859_5.c
===================================================================
--- enc/iso_8859_5.c	(revision 55304)
+++ enc/iso_8859_5.c	(revision 55305)
@@ -229,7 +229,7 @@ OnigEncodingDefine(iso_8859_5, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_5.c#L229
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-5", "ISO-8859-5")
Index: enc/iso_8859_6.c
===================================================================
--- enc/iso_8859_6.c	(revision 55304)
+++ enc/iso_8859_6.c	(revision 55305)
@@ -96,7 +96,7 @@ OnigEncodingDefine(iso_8859_6, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_6.c#L96
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-6", "ISO-8859-6")
Index: enc/iso_8859_7.c
===================================================================
--- enc/iso_8859_7.c	(revision 55304)
+++ enc/iso_8859_7.c	(revision 55305)
@@ -226,7 +226,7 @@ OnigEncodingDefine(iso_8859_7, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_7.c#L226
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-7", "ISO-8859-7")
Index: enc/iso_8859_8.c
===================================================================
--- enc/iso_8859_8.c	(revision 55304)
+++ enc/iso_8859_8.c	(revision 55305)
@@ -96,7 +96,7 @@ OnigEncodingDefine(iso_8859_8, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_8.c#L96
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-8", "ISO-8859-8")
Index: enc/iso_8859_9.c
===================================================================
--- enc/iso_8859_9.c	(revision 55304)
+++ enc/iso_8859_9.c	(revision 55305)
@@ -232,7 +232,7 @@ OnigEncodingDefine(iso_8859_9, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_9.c#L232
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-9", "ISO-8859-9")
Index: enc/shift_jis.c
===================================================================
--- enc/shift_jis.c	(revision 55304)
+++ enc/shift_jis.c	(revision 55305)
@@ -566,7 +566,7 @@ OnigEncodingDefine(shift_jis, Shift_JIS) https://github.com/ruby/ruby/blob/trunk/enc/shift_jis.c#L566
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 /*
Index: enc/iso_8859_10.c
===================================================================
--- enc/iso_8859_10.c	(revision 55304)
+++ enc/iso_8859_10.c	(revision 55305)
@@ -243,7 +243,7 @@ OnigEncodingDefine(iso_8859_10, ISO_8859 https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_10.c#L243
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-10", "ISO-8859-10")
Index: enc/iso_8859_11.c
===================================================================
--- enc/iso_8859_11.c	(revision 55304)
+++ enc/iso_8859_11.c	(revision 55305)
@@ -96,7 +96,7 @@ OnigEncodingDefine(iso_8859_11, ISO_8859 https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_11.c#L96
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-11", "ISO-8859-11")
Index: enc/ascii.c
===================================================================
--- enc/ascii.c	(revision 55304)
+++ enc/ascii.c	(revision 55305)
@@ -54,7 +54,7 @@ OnigEncodingDefine(ascii, ASCII) = { https://github.com/ruby/ruby/blob/trunk/enc/ascii.c#L54
   ENCINDEX_ASCII,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("BINARY", "ASCII-8BIT")
Index: enc/iso_8859_13.c
===================================================================
--- enc/iso_8859_13.c	(revision 55304)
+++ enc/iso_8859_13.c	(revision 55305)
@@ -236,7 +236,7 @@ OnigEncodingDefine(iso_8859_13, ISO_8859 https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_13.c#L236
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-13", "ISO-8859-13")
Index: enc/koi8_r.c
===================================================================
--- enc/koi8_r.c	(revision 55304)
+++ enc/koi8_r.c	(revision 55305)
@@ -217,7 +217,7 @@ OnigEncodingDefine(koi8_r, KOI8_R) = { https://github.com/ruby/ruby/blob/trunk/enc/koi8_r.c#L217
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("CP878", "KOI8-R")
Index: enc/iso_8859_14.c
===================================================================
--- enc/iso_8859_14.c	(revision 55304)
+++ enc/iso_8859_14.c	(revision 55305)
@@ -245,7 +245,7 @@ OnigEncodingDefine(iso_8859_14, ISO_8859 https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_14.c#L245
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-14", "ISO-8859-14")
Index: enc/iso_8859_15.c
===================================================================
--- enc/iso_8859_15.c	(revision 55304)
+++ enc/iso_8859_15.c	(revision 55305)
@@ -239,7 +239,7 @@ OnigEncodingDefine(iso_8859_15, ISO_8859 https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_15.c#L239
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-15", "ISO-8859-15")
Index: enc/iso_8859_16.c
===================================================================
--- enc/iso_8859_16.c	(revision 55304)
+++ enc/iso_8859_16.c	(revision 55305)
@@ -241,7 +241,7 @@ OnigEncodingDefine(iso_8859_16, ISO_8859 https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_16.c#L241
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-16", "ISO-8859-16")
Index: enc/koi8_u.c
===================================================================
--- enc/koi8_u.c	(revision 55304)
+++ enc/koi8_u.c	(revision 55305)
@@ -221,6 +221,6 @@ OnigEncodingDefine(koi8_u, KOI8_U) = { https://github.com/ruby/ruby/blob/trunk/enc/koi8_u.c#L221
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
Index: enc/euc_jp.c
===================================================================
--- enc/euc_jp.c	(revision 55304)
+++ enc/euc_jp.c	(revision 55305)
@@ -579,7 +579,7 @@ OnigEncodingDefine(euc_jp, EUC_JP) = { https://github.com/ruby/ruby/blob/trunk/enc/euc_jp.c#L579
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 /*
Index: enc/gb18030.c
===================================================================
--- enc/gb18030.c	(revision 55304)
+++ enc/gb18030.c	(revision 55305)
@@ -600,7 +600,7 @@ OnigEncodingDefine(gb18030, GB18030) = { https://github.com/ruby/ruby/blob/trunk/enc/gb18030.c#L600
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 
Index: enc/euc_tw.c
===================================================================
--- enc/euc_tw.c	(revision 55304)
+++ enc/euc_tw.c	(revision 55305)
@@ -224,7 +224,7 @@ OnigEncodingDefine(euc_tw, EUC_TW) = { https://github.com/ruby/ruby/blob/trunk/enc/euc_tw.c#L224
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("eucTW", "EUC-TW")
Index: enc/big5.c
===================================================================
--- enc/big5.c	(revision 55304)
+++ enc/big5.c	(revision 55305)
@@ -303,7 +303,7 @@ OnigEncodingDefine(big5, BIG5) = { https://github.com/ruby/ruby/blob/trunk/enc/big5.c#L303
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 
@@ -340,7 +340,7 @@ OnigEncodingDefine(big5_hkscs, BIG5_HKSC https://github.com/ruby/ruby/blob/trunk/enc/big5.c#L340
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("Big5-HKSCS:2008", "Big5-HKSCS")
@@ -377,6 +377,6 @@ OnigEncodingDefine(big5_uao, BIG5_UAO) = https://github.com/ruby/ruby/blob/trunk/enc/big5.c#L377
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
Index: enc/us_ascii.c
===================================================================
--- enc/us_ascii.c	(revision 55304)
+++ enc/us_ascii.c	(revision 55305)
@@ -32,7 +32,7 @@ OnigEncodingDefine(us_ascii, US_ASCII) = https://github.com/ruby/ruby/blob/trunk/enc/us_ascii.c#L32
   ENCINDEX_US_ASCII,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ASCII", "US-ASCII")
Index: enc/windows_1250.c
===================================================================
--- enc/windows_1250.c	(revision 55304)
+++ enc/windows_1250.c	(revision 55305)
@@ -209,7 +209,7 @@ OnigEncodingDefine(windows_1250, Windows https://github.com/ruby/ruby/blob/trunk/enc/windows_1250.c#L209
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 /*
Index: enc/windows_1251.c
===================================================================
--- enc/windows_1251.c	(revision 55304)
+++ enc/windows_1251.c	(revision 55305)
@@ -200,7 +200,7 @@ OnigEncodingDefine(windows_1251, Windows https://github.com/ruby/ruby/blob/trunk/enc/windows_1251.c#L200
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 /*
Index: enc/gbk.c
===================================================================
--- enc/gbk.c	(revision 55304)
+++ enc/gbk.c	(revision 55305)
@@ -214,7 +214,7 @@ OnigEncodingDefine(gbk, GBK) = { https://github.com/ruby/ruby/blob/trunk/enc/gbk.c#L214
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 /*
Index: enc/windows_1252.c
===================================================================
--- enc/windows_1252.c	(revision 55304)
+++ enc/windows_1252.c	(revision 55305)
@@ -201,7 +201,7 @@ OnigEncodingDefine(windows_1252, Windows https://github.com/ruby/ruby/blob/trunk/enc/windows_1252.c#L201
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 /*
Index: enc/windows_31j.c
===================================================================
--- enc/windows_31j.c	(revision 55304)
+++ enc/windows_31j.c	(revision 55305)
@@ -51,7 +51,7 @@ OnigEncodingDefine(windows_31j, Windows_ https://github.com/ruby/ruby/blob/trunk/enc/windows_31j.c#L51
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 /*
Index: enc/iso_8859_1.c
===================================================================
--- enc/iso_8859_1.c	(revision 55304)
+++ enc/iso_8859_1.c	(revision 55305)
@@ -274,7 +274,7 @@ OnigEncodingDefine(iso_8859_1, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_1.c#L274
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-1", "ISO-8859-1")
Index: enc/cp949.c
===================================================================
--- enc/cp949.c	(revision 55304)
+++ enc/cp949.c	(revision 55305)
@@ -214,7 +214,7 @@ OnigEncodingDefine(cp949, CP949) = { https://github.com/ruby/ruby/blob/trunk/enc/cp949.c#L214
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 /*
Index: enc/iso_8859_2.c
===================================================================
--- enc/iso_8859_2.c	(revision 55304)
+++ enc/iso_8859_2.c	(revision 55305)
@@ -239,7 +239,7 @@ OnigEncodingDefine(iso_8859_2, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_2.c#L239
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-2", "ISO-8859-2")
Index: enc/euc_kr.c
===================================================================
--- enc/euc_kr.c	(revision 55304)
+++ enc/euc_kr.c	(revision 55305)
@@ -191,7 +191,7 @@ OnigEncodingDefine(euc_kr, EUC_KR) = { https://github.com/ruby/ruby/blob/trunk/enc/euc_kr.c#L191
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("eucKR", "EUC-KR")
Index: enc/iso_8859_3.c
===================================================================
--- enc/iso_8859_3.c	(revision 55304)
+++ enc/iso_8859_3.c	(revision 55305)
@@ -239,7 +239,7 @@ OnigEncodingDefine(iso_8859_3, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_3.c#L239
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-3", "ISO-8859-3")
Index: enc/iso_8859_4.c
===================================================================
--- enc/iso_8859_4.c	(revision 55304)
+++ enc/iso_8859_4.c	(revision 55305)
@@ -242,7 +242,7 @@ OnigEncodingDefine(iso_8859_4, ISO_8859_ https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_4.c#L242
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_single_byte_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 ENC_ALIAS("ISO8859-4", "ISO-8859-4")
Index: enc/emacs_mule.c
===================================================================
--- enc/emacs_mule.c	(revision 55304)
+++ enc/emacs_mule.c	(revision 55305)
@@ -337,7 +337,7 @@ OnigEncodingDefine(emacs_mule, Emacs_Mul https://github.com/ruby/ruby/blob/trunk/enc/emacs_mule.c#L337
   0,
   ONIGENC_FLAG_NONE,
 #ifdef ONIG_CASE_MAPPING
-  onigenc_not_support_case_map,
+  onigenc_ascii_only_case_map,
 #endif   /* ONIG_CASE_MAPPING */
 };
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55304)
+++ ChangeLog	(revision 55305)
@@ -1,3 +1,18 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jun  7 15:05:13 2016  Martin Duerst  <duerst@i...>
+
+	* regenc.h/c: Rename onigenc_not_support_case_map to
+	  onigenc_ascii_only_case_map.
+
+	* regenc.h: Add definition of onigenc_single_byte_ascii_only_case_map.
+
+	* enc/iso_8859_X.c, windows_125X.c, ascii.c, us-ascii.c, koi8_x.c:
+	  Replace onigenc_not_support_case_map by
+	  onigenc_single_byte_ascii_only_case_map.
+
+	* enc/big5.c, cp949.c, emacs_mule.c, euc_X.c, gbX.c, shift_jis.c,
+	  windows_31j.c: Replace onigenc_not_support_case_map by
+	  onigenc_ascii_only_case_map.
+
 Tue Jun  7 14:57:09 2016  Kazuki Yamaguchi  <k@r...>
 
 	* ext/openssl/extconf.rb: Check for SSL_CTX_set_min_proto_version()
Index: regenc.c
===================================================================
--- regenc.c	(revision 55304)
+++ regenc.c	(revision 55305)
@@ -960,7 +960,7 @@ onigenc_property_list_init(int (*f)(void https://github.com/ruby/ruby/blob/trunk/regenc.c#L960
 
 #ifdef ONIG_CASE_MAPPING
 extern int
-onigenc_not_support_case_map (OnigCaseFoldType* flagP, const OnigUChar** pp, const OnigUChar* end,
+onigenc_ascii_only_case_map (OnigCaseFoldType* flagP, const OnigUChar** pp, const OnigUChar* end,
 			      OnigUChar* to, OnigUChar* to_end, const struct OnigEncodingTypeST* enc)
 {
   OnigCodePoint code;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]