countries: mark user-assignments with semantics in unicode
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 5 Jul 2015 18:15:57 +0000 (20:15 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 21 Sep 2015 22:20:08 +0000 (00:20 +0200)
base.css
dark.css
mono.css
tools/mkcountries-geonames

index 1e060d662795ea658db6d4e6b720a3a6cfc14932..55d4793af422939c13bbe9b7107e23cff63d600f 100644 (file)
--- 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 */
index a4dfa6b0a2d6ef209634d303f64f2784c2a160d6..69a8f10f66825bc93a34ab3c8f429c40ca00fe79 100644 (file)
--- 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 */
index 51737ff20ca5aa2218ab6c0fce2959e8157ffe10..f6ba3c529c00d5c1594d0e96eceab7b6351dc823 100644 (file)
--- 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 }
index 88109dff3b740ec581491b3bfbc71f3cb942675a..5128d5a9153b4c801eec8a31fb097dc0336e3d75 100755 (executable)
@@ -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 (<>) {