Commit Graph
64 Commits
Author SHA1 Message Date
Reece H. Dunn 4226457fb5 Add Terminal_Punctuation support from PropList.txt. 2017-04-11 21:21:22 +01:00
Reece H. Dunn ab0a1da5be Simplify the Dash property classification logic. Pd is the 'Dash' general category. 2017-04-11 08:01:07 +01:00
Reece H. Dunn a9aabc6242 Add tests for the PropList API. 2017-04-09 14:01:59 +01:00
Reece H. Dunn ec1a17b229 Add Quotation_Mark support from PropList.txt. 2017-04-09 13:30:51 +01:00
Reece H. Dunn d1eb23a741 Add Hyphen support from PropList.txt. 2017-04-08 20:05:33 +01:00
Reece H. Dunn 1e02d05c61 proplist.c: Create helper functions for all matched categories. 2017-04-08 19:56:28 +01:00
Reece H. Dunn 249960bae4 Add Dash support from PropList.txt. 2017-04-08 19:49:41 +01:00
Reece H. Dunn fd8a8d17b0 Add Join_Control support from PropList.txt. 2017-04-08 19:25:17 +01:00
Reece H. Dunn eae8740117 Add Bidi_Control support from PropList.txt. 2017-04-08 19:21:56 +01:00
Reece H. Dunn bc16887a79 Use ucd_properties to implement ucd_isspace. 2017-04-08 19:11:45 +01:00
Reece H. Dunn 8cc80d671d Add <noBreak> support from UnicodeData.txt. 2017-04-08 19:08:50 +01:00
Reece H. Dunn 54a8ea2a70 Add White_Space support from PropList.txt. 2017-04-08 19:05:59 +01:00
Reece H. Dunn 6346ede604 isalnum: use the Alphabetic derived core property to check that the character is in the alpha class. 2017-02-12 21:22:01 +00:00
Reece H. Dunn cbddf092c9 isalpha: use the Alphabetic derived core property to check that the character is in the alpha class. 2017-02-12 21:20:03 +00:00
Reece H. Dunn b38659582f islower: include the Other_Lowercase characters. 2017-02-12 17:28:22 +00:00
Reece H. Dunn 1fc20f39f5 isupper: include the Other_Uppercase characters. 2017-02-12 14:51:24 +00:00
Reece H. Dunn eb08dc422d Update the copyright dates. 2017-02-12 12:24:18 +00:00
Reece H. Dunn c9f2940373 isblank: don't include <noBreak> characters, and add tests for this API. 2017-02-12 11:47:30 +00:00
Reece H. Dunn f109bb918f isspace: don't include <noBreak> characters. 2017-02-12 11:11:52 +00:00
Reece H. Dunn bd71fed013 ctype: return true in isupper/islower if there is a simple case mapping present 2017-02-12 09:22:25 +00:00
Reece H. Dunn 01852ee90d isdigit: C99 compatibility -- only check [0-9]. 2017-02-11 18:20:08 +00:00
Reece H. Dunn 34167771fd Add an iswxdigit compatibility API. 2017-02-11 18:18:38 +00:00
Reece H. Dunn 3e321158e7 Update the documentation on the is* APIs. 2017-02-11 17:54:25 +00:00
Reece H. Dunn d585c77804 Add an iswblank compatibility API. 2017-02-11 17:37:42 +00:00
Reece H. Dunn cd9cc8e6e2 Unicode Character Data 9.0.0 2016-12-28 20:16:35 +00:00
Reece H. Dunn 7201a1a150 Convert scripts.cpp from C++ to C. 2016-05-31 00:07:30 +01:00
Reece H. Dunn 707998940d Convert categories.cpp from C++ to C. 2016-05-31 00:00:41 +01:00
Reece H. Dunn 0afcb3f89f Convert case.cpp from C++ to C. 2016-05-30 23:59:17 +01:00
Reece H. Dunn 63b08a352b Convert ctype.cpp from C++ to C. 2016-05-30 23:28:28 +01:00
Reece H. Dunn b45cf54f4d Convert tostring.cpp from C++ to C. 2016-05-30 23:12:03 +01:00
Reece H. Dunn 454038dbfa Create a C-based API in addition to the C++-based API in <ucd/ucd.h>. 2016-05-30 22:29:04 +01:00
Reece H. Dunn bddb25bdc7 Unicode Character Data 8.0.0 2015-06-18 17:39:09 +01:00
Reece H. Dunn 1154409393 Use PropertyValueAliases for the script mapping.
The mapping of the script labels in the UCD data to ISO 15924
script tags is now done using the sc property map in the
PropertyValueAliases data.

This has the following benefits:

    1.  It removes the dependency on the IANA subtag registry.

    2.  It ensures the scripts are correct as specified in the
        UCD data files.
2014-11-08 10:08:04 +00:00
Reece H. Dunn a370cc607a src/tostring: fix up the Script name entries 2014-07-14 15:02:35 +01:00
Reece H. Dunn fe8633b1bf src/tostring: use an array instead of a switch for script names 2014-07-14 14:59:06 +01:00
Reece H. Dunn 24f6e97f05 tostring: map the new script values 2014-07-14 14:10:32 +01:00
Reece H. Dunn ced06ed0f4 Do not include supplementary data in the UCD APIs.
This removes support for the CSUR (ConScript Unicode Registry) data
in the main Unicode APIs. This data should be accessed through a
different API.
2014-07-14 13:12:22 +01:00
Reece H. Dunn b757f60c63 Unicode Character Data 7.0.0 2014-06-28 11:33:59 +01:00
Reece H. Dunn ec34ff5854 ucd.h: update script to match ISO 15924 2014-06-28 11:33:22 +01:00
Reece H. Dunn 64e69c4e52 ucd.h: don't use named groups in the documentation 2013-10-17 08:23:58 +01:00
Reece H. Dunn 01c4669961 ucd.h: correct a parameter name in the documentation 2013-10-17 08:19:37 +01:00
Reece H. Dunn e4a1167496 Unicode Character Data 6.3.0 2013-10-16 21:06:24 +01:00
Reece H. Dunn be49d9cce6 ucd.h: fix a typo 2013-02-07 14:43:38 +00:00
Reece H. Dunn 1116d02aa9 Make the category/category_type/script to-string helper methods part of the public API. 2013-02-04 14:12:04 +00:00
Reece H. Dunn 4ded80bdb3 ctype: add default cases to switch statements to suppress -Wswitch warnings with clang 2013-01-12 17:40:00 +00:00
Reece H. Dunn 7e411b34e9 F8D0-D8FF: Klingon 2012-12-24 22:37:18 +00:00
Reece H. Dunn c06f296d87 tools/scripts.py: merge some script set ranges 2012-12-24 21:34:34 +00:00
Reece H. Dunn 65f95033c8 Add support for querying the Script property. 2012-12-24 21:32:22 +00:00
Reece H. Dunn 349e225aae Support mapping a General Category to a General Category Group. 2012-12-24 15:55:23 +00:00
Reece H. Dunn cc9abdff12 Fetch UnicodeData.txt from unicode.org if not present to make the build fully automated. 2012-12-24 14:47:06 +00:00