Commit Graph
20 Commits
Author SHA1 Message Date
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
Reece H. Dunn 8799bc5e53 The ctype.cpp file is not generated, so remove the comment stating that it is. 2012-12-24 14:29:10 +00:00
Reece H. Dunn 2d982956a5 Store the category data in uint8_t arrays to minimize their compiled size. 2012-12-22 13:05:09 +00:00
Reece H. Dunn 2df0e6abdb Factor out the remaining single category tables. 2012-12-22 12:55:23 +00:00
Reece H. Dunn 7f1dd9cc96 Avoid duplicating Lo only tables. 2012-12-22 12:49:55 +00:00
Reece H. Dunn ea09eb5c45 Add tests for querying UCD properties; fix discovered issues. 2012-12-22 12:18:49 +00:00
Reece H. Dunn 9c3a87dbeb Add toupper, tolower and totitle case-conversion APIs. 2012-12-22 09:57:21 +00:00
Reece H. Dunn e3e85d33f2 Rename Ci to Ii and move it to an I/Invalid category group as it is not part of the UCD C/Other category group. 2012-12-22 01:27:18 +00:00
Reece H. Dunn bc6a5c23cc Remove the Zc class as it is not part of the UCD; special case Cc-based whitespace instead. 2012-12-22 01:19:03 +00:00
Reece H. Dunn ff7a5e0209 Add support for looking up the general category group for a codepoint. 2012-12-22 01:09:49 +00:00
Reece H. Dunn 2282735a4c Add ctype-style APIs that are compatible with wctype.h. 2012-12-22 00:56:39 +00:00
Reece H. Dunn a416b4090c Display the Unicode Character Database version in the generated file. 2012-12-22 00:08:38 +00:00
Reece H. Dunn 7f4f3ee7d1 Add the generated file src/categories.cpp so you don't need the Unicode Character Database to build the project. 2012-12-21 23:57:39 +00:00
Reece H. Dunn 12bafa6b4d tools/categories.py: generate category lookup tables for the full unicode range. 2012-12-21 23:55:27 +00:00
Reece H. Dunn 2813950acc Infrastructure for building libucd.a. 2012-12-21 19:41:33 +00:00