[glib] unicode: Add new line break classes from Unicode 6.1.0



commit 48e01af6f1115057d861367792e1e40f2a71fdd3
Author: Christian Persch <chpe gnome org>
Date:   Fri Feb 10 18:20:26 2012 +0100

    unicode: Add new line break classes from Unicode 6.1.0

 glib/gen-unicode-tables.pl |    2 ++
 glib/gunicode.h            |    6 +++++-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/glib/gen-unicode-tables.pl b/glib/gen-unicode-tables.pl
index 0e3b26b..f2b9237 100755
--- a/glib/gen-unicode-tables.pl
+++ b/glib/gen-unicode-tables.pl
@@ -118,6 +118,7 @@ $FOLDING_MAPPING = 2;
      'BB' => "G_UNICODE_BREAK_BEFORE",
      'BK' => "G_UNICODE_BREAK_MANDATORY",
      'CB' => "G_UNICODE_BREAK_CONTINGENT",
+     'CJ' => "G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER",
      'CL' => "G_UNICODE_BREAK_CLOSE_PUNCTUATION",
      'CM' => "G_UNICODE_BREAK_COMBINING_MARK",
      'CP' => "G_UNICODE_BREAK_CLOSE_PARANTHESIS",
@@ -126,6 +127,7 @@ $FOLDING_MAPPING = 2;
      'GL' => "G_UNICODE_BREAK_NON_BREAKING_GLUE",
      'H2' => "G_UNICODE_BREAK_HANGUL_LV_SYLLABLE",
      'H3' => "G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE",
+     'HL' => "G_UNICODE_BREAK_HEBREW_LETTER",
      'HY' => "G_UNICODE_BREAK_HYPHEN",
      'ID' => "G_UNICODE_BREAK_IDEOGRAPHIC",
      'IN' => "G_UNICODE_BREAK_INSEPARABLE",
diff --git a/glib/gunicode.h b/glib/gunicode.h
index f7b2213..4f5ca74 100644
--- a/glib/gunicode.h
+++ b/glib/gunicode.h
@@ -199,6 +199,8 @@ typedef enum
  * @G_UNICODE_BREAK_HANGUL_LV_SYLLABLE: Hangul LV Syllable (H2)
  * @G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE: Hangul LVT Syllable (H3)
  * @G_UNICODE_BREAK_CLOSE_PARANTHESIS: Closing Parenthesis (CP). Since 2.28
+ * @G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER: Conditional Japanese Starter (CJ). Since: 2.32
+ * @G_UNICODE_BREAK_HEBREW_LETTER: Hebrew Letter (HL). Since: 2.32
  *
  * These are the possible line break classifications.
  *
@@ -247,7 +249,9 @@ typedef enum
   G_UNICODE_BREAK_HANGUL_T_JAMO,
   G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
   G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE,
-  G_UNICODE_BREAK_CLOSE_PARANTHESIS
+  G_UNICODE_BREAK_CLOSE_PARANTHESIS,
+  G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER,
+  G_UNICODE_BREAK_HEBREW_LETTER
 } GUnicodeBreakType;
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]