summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-01-09 12:10:55 +0100
committerBruno Haible <bruno@clisp.org>2011-01-09 12:16:16 +0100
commitb40af985489d567bffe594cc61a4d9a3714d2088 (patch)
tree2897f4af953f884484e641c9d9e332fd083ba3e8
parent180b55336cfd418029ef5ba88eca9b77bdf73c8e (diff)
downloadlibunistring-b40af985489d567bffe594cc61a4d9a3714d2088.tar.gz
Update to Unicode 5.2.0.
-rw-r--r--ChangeLog5
-rw-r--r--NEWS13
-rw-r--r--doc/unictype.texi14
3 files changed, 32 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c5070a..12df00a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-01-09 Bruno Haible <bruno@clisp.org>
+ Update to Unicode 5.2.0.
+ * doc/unictype.texi: Mention the 7 new character properties.
+
+2011-01-09 Bruno Haible <bruno@clisp.org>
+
Bump copyright year.
* lib/libunistring.rc: Add year 2011.
diff --git a/NEWS b/NEWS
index 6dcec13..e9a2609 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,17 @@
New in 0.9.4:
+* The data tables and line breaking algorithm have been updated to Unicode
+ version 5.2.0.
+* In the include file unictype.h, functions for new predefined properties
+ have been added:
+ uc_is_property_cased
+ uc_is_property_case_ignorable
+ uc_is_property_changes_when_lowercased
+ uc_is_property_changes_when_uppercased
+ uc_is_property_changes_when_titlecased
+ uc_is_property_changes_when_casefolded
+ uc_is_property_changes_when_casemapped
+ But it's recommended to use the case mapping functions from unicase.h
+ instead.
* It is now easier to detect the subminor version: The value of the variable
_libunistring_version and of the macro _LIBUNISTRING_VERSION now includes
also the subminor version.
diff --git a/doc/unictype.texi b/doc/unictype.texi
index 129159c..c7559b5 100644
--- a/doc/unictype.texi
+++ b/doc/unictype.texi
@@ -702,6 +702,13 @@ The following properties are related to case folding.
@deftypevrx Constant uc_property_t UC_PROPERTY_LOWERCASE
@deftypevrx Constant uc_property_t UC_PROPERTY_OTHER_LOWERCASE
@deftypevrx Constant uc_property_t UC_PROPERTY_TITLECASE
+@deftypevrx Constant uc_property_t UC_PROPERTY_CASED
+@deftypevrx Constant uc_property_t UC_PROPERTY_CASE_IGNORABLE
+@deftypevrx Constant uc_property_t UC_PROPERTY_CHANGES_WHEN_LOWERCASED
+@deftypevrx Constant uc_property_t UC_PROPERTY_CHANGES_WHEN_UPPERCASED
+@deftypevrx Constant uc_property_t UC_PROPERTY_CHANGES_WHEN_TITLECASED
+@deftypevrx Constant uc_property_t UC_PROPERTY_CHANGES_WHEN_CASEFOLDED
+@deftypevrx Constant uc_property_t UC_PROPERTY_CHANGES_WHEN_CASEMAPPED
@deftypevrx Constant uc_property_t UC_PROPERTY_SOFT_DOTTED
@end deftypevr
@@ -840,6 +847,13 @@ The following properties are related to case folding.
@deftypefunx bool uc_is_property_lowercase (ucs4_t @var{uc})
@deftypefunx bool uc_is_property_other_lowercase (ucs4_t @var{uc})
@deftypefunx bool uc_is_property_titlecase (ucs4_t @var{uc})
+@deftypefunx bool uc_is_property_cased (ucs4_t @var{uc})
+@deftypefunx bool uc_is_property_case_ignorable (ucs4_t @var{uc})
+@deftypefunx bool uc_is_property_changes_when_lowercased (ucs4_t @var{uc})
+@deftypefunx bool uc_is_property_changes_when_uppercased (ucs4_t @var{uc})
+@deftypefunx bool uc_is_property_changes_when_titlecased (ucs4_t @var{uc})
+@deftypefunx bool uc_is_property_changes_when_casefolded (ucs4_t @var{uc})
+@deftypefunx bool uc_is_property_changes_when_casemapped (ucs4_t @var{uc})
@deftypefunx bool uc_is_property_soft_dotted (ucs4_t @var{uc})
@end deftypefun