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

ruby-changes:41426

From: duerst <ko1@a...>
Date: Mon, 11 Jan 2016 21:28:34 +0900 (JST)
Subject: [ruby-changes:41426] duerst:r53499 (trunk): include/ruby/oniguruma.h: Added flags needed for upcase/downcase

duerst	2016-01-11 21:28:55 +0900 (Mon, 11 Jan 2016)

  New Revision: 53499

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

  Log:
    include/ruby/oniguruma.h: Added flags needed for upcase/downcase
    Unicode addition (with Kimihito Matsui)

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/oniguruma.h
Index: include/ruby/oniguruma.h
===================================================================
--- include/ruby/oniguruma.h	(revision 53498)
+++ include/ruby/oniguruma.h	(revision 53499)
@@ -122,7 +122,15 @@ ONIG_EXTERN OnigCaseFoldType OnigDefault https://github.com/ruby/ruby/blob/trunk/include/ruby/oniguruma.h#L122
 
 /* #define ONIGENC_CASE_FOLD_HIRAGANA_KATAKANA  (1<<1) */
 /* #define ONIGENC_CASE_FOLD_KATAKANA_WIDTH     (1<<2) */
+#define ONIGENC_CASE_TITLECASE                  (1<<10)
+#define ONIGENC_CASE_UPCASE                     (1<<11)
+#define ONIGENC_CASE_DOWNCASE                   (1<<12)
+#define ONIGENC_CASE_FOLD                       (1<<13)
+#define ONIGENC_CASE_ONCEONLY                   (1<<14)
+#define ONIGENC_CASE_MODIFIED                   (1<<15)
+#define ONIGENC_CASE_ASCII_ONLY                 (1<<19)
 #define ONIGENC_CASE_FOLD_TURKISH_AZERI         (1<<20)
+#define ONIGENC_CASE_FOLD_LITHUANIAN            (1<<21)
 #define INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR   (1<<30)
 
 #define ONIGENC_CASE_FOLD_MIN      INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53498)
+++ ChangeLog	(revision 53499)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jan 11 21:28:28 2016  Martin Duerst  <duerst@i...>
+
+	* include/ruby/oniguruma.h: Added flags needed for upcase/downcase
+	  Unicode addition (with Kimihito Matsui)
+
 Mon Jan 11 09:50:24 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in: check if the API version number is consistent with

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

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