From: Mischa POSLAWSKY Date: Sun, 5 Jul 2015 18:15:57 +0000 (+0200) Subject: countries: mark user-assignments with semantics in unicode X-Git-Tag: v1.8~49 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/5fb5ef93dc4a86bdc00b2f4a643af0063c41f7c9 countries: mark user-assignments with semantics in unicode --- diff --git a/base.css b/base.css index 1e060d6..55d4793 100644 --- a/base.css +++ b/base.css @@ -368,7 +368,7 @@ table.dimap { .Mn {background: #ACC} /* modifier */ .Cc, .Cf {color: #666; background: #BBB} /* control */ .Zs {background: #ACB} /* space */ -.Co {background: #DCC} /* private */ +.Co, .Xi.Co {background: #DCC} /* private */ .Xi, .Cs {background: #CCC} /* invalid */ .Xd {color: #844} /* deprecated */ .Xr {color: #888} /* reserved (digraph reverse or proposal) */ @@ -448,6 +448,7 @@ table.dimap { .Cc:hover, .Cf:hover {background: #DDD} /* control */ .Co:hover {background: #A77} /* private */ .Xr:hover {background: #FFF} /* reserved */ +.Xi:hover {background: #DDD} /* invalid */ .Xa:hover {outline: 1px solid #0F0} /* ascii */ .Xl:hover {outline: 1px solid #0C0} /* latin1 */ .u-prop:hover {outline: 1px solid #F00} /* proposed */ diff --git a/dark.css b/dark.css index a4dfa6b..69a8f10 100644 --- a/dark.css +++ b/dark.css @@ -53,7 +53,7 @@ th, td { .X {background: #000} /* unidentified */ .Xr {background: #111} /* reverse */ -.Co {background: #322} /* private */ +.Co, .Xi.Co {background: #322} /* private */ /* implementation-based alternatives */ .l1 {background: #411} /* bmp */ diff --git a/mono.css b/mono.css index 51737ff..f6ba3c5 100644 --- a/mono.css +++ b/mono.css @@ -58,7 +58,7 @@ body .keys td.new { border-color: #888; } -.Co {background: #FFF} /* private */ +.Co, .Xi.Co {background: #FFF} /* private */ /* code syntax */ #source pre { color: #444 } diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index 88109df..5128d5a 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -60,6 +60,11 @@ my %cc; # map of country code to info array ib => ["not used: International Bureau of WIPO", "Xi", "IB"], oa => ["not used: African Intellectual Property Organization", "Xi", "OAPI"], # c-af wo => ["not used: World Intellectual Property Organization", "Xi", "WIPO"], + + # unicode identifiers + qo => ["Unicode semantics: Outlying Oceania", "c-oc Co Xi", "Oceania"], + qu => ["Unicode semantics: European Union deprecated reserve", "c-eu Co Xi", "EU", 'eu'], + zz => ["Unicode semantics: unknown or invalid territory", "Co Xi","unknown"], ); while (<>) {