Commit Graph

8 Commits

Author SHA1 Message Date
Nathan Froyd 7552e6cd2b format tables with one entry per line
This change avoids formatting table entries into a string, only to split
them apart again.  The new format is also slightly easier to read and
compare when changes are made to how the tables are organized.
2017-03-27 15:13:36 -04:00
Nathan Froyd 6190241cc9 use more idiomatic python in unicode.py
STR.join(...) is better than manual `for` loops that remember whether
we've processed the first element.
2017-03-27 14:26:35 -04:00
Simon Sapin 5d0443bd92 Add a char::is_combining_mark function.
This is used for international domain name validation:
http://unicode.org/reports/tr46/#Validity_Criteria

> The label must not begin with a combining mark, that is: General_Category=Mark.
2016-01-15 17:49:39 +01:00
kwantam e0d33a8661 make load_properties() tolerate whitespace
This commit imports update to regexes in `load_properties()`,
d25c39f86568a147f9b7080c25711fb1f98f056a in rust-lang/regex

Does not result in any changes to tables.rs, but could if
published tables are updated in the future.
2015-04-16 16:11:04 -04:00
kwantam c7a8bcfdc5 make sure unicode.py puts out optimized tables 2015-04-15 20:04:41 -04:00
kwantam 3d02ca9e05 tiny doc touch 2015-04-15 16:03:36 -04:00
kwantam 7a49d257eb add Unicode norms test suite; bump to ver 0.0.3 2015-04-15 15:40:06 -04:00
kwantam 933f988530 add tablegen script and tables.rs 2015-04-14 21:22:32 -04:00