1
0
mirror of https://github.com/golang/go synced 2024-11-11 18:51:37 -07:00

unicode: upgrade to Unicode 12

This does not include an upgrade of golang.org/x/net.
This is optional and best done as a separate CL.

Change-Id: Ifecc3fb6e3b7fe026b4ddefbe637186a3445b0bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/204658
Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Marcel van Lohuizen 2019-11-01 09:42:37 +01:00 committed by Russ Cox
parent 3c0fbeea7d
commit 79a00a3fe8
11 changed files with 10050 additions and 261 deletions

View File

@ -459,3 +459,4 @@ pkg syscall (freebsd-arm-cgo), type Statfs_t struct, Mntfromname [88]int8
pkg syscall (freebsd-arm-cgo), type Statfs_t struct, Mntonname [88]int8
pkg text/scanner, const GoTokens = 1012
pkg unicode, const Version = "10.0.0"
pkg unicode, const Version = "11.0.0"

View File

@ -0,0 +1,5 @@
pkg unicode, const Version = "12.0.0"
pkg unicode, var Elymaic *RangeTable
pkg unicode, var Nandinagari *RangeTable
pkg unicode, var Nyiakeng_Puachue_Hmong *RangeTable
pkg unicode, var Wancho *RangeTable

View File

@ -6,5 +6,5 @@ require (
golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8
golang.org/x/net v0.0.0-20191021124707-24d2ffbea1e8
golang.org/x/sys v0.0.0-20190529130038-5219a1e1c5f8 // indirect
golang.org/x/text v0.3.2 // indirect
golang.org/x/text v0.3.3-0.20191031172631-4b67af870c6f // indirect
)

View File

@ -9,7 +9,7 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20190529130038-5219a1e1c5f8 h1:2WjIC11WRITGlVWmyLXKjzIVj1ZwoWZ//tadeUUV6/o=
golang.org/x/sys v0.0.0-20190529130038-5219a1e1c5f8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3-0.20191031172631-4b67af870c6f h1:wYBuYA3M/ZC3iBpL1jKHNRNEK7d8D3JoJmM+zx6rLVQ=
golang.org/x/text v0.3.3-0.20191031172631-4b67af870c6f/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e h1:FDhOuMEY4JVRztM/gsbk+IKUQ8kj74bxZrgw87eMMVc=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

View File

@ -6,7 +6,7 @@
package strconv
// (448+137+90)*2 + (418)*4 = 3022 bytes
// (442+132+90)*2 + (450)*4 = 3128 bytes
var isPrint16 = []uint16{
0x0020, 0x007e,
@ -75,7 +75,7 @@ var isPrint16 = []uint16{
0x0c55, 0x0c5a,
0x0c60, 0x0c63,
0x0c66, 0x0c6f,
0x0c78, 0x0cb9,
0x0c77, 0x0cb9,
0x0cbc, 0x0ccd,
0x0cd5, 0x0cd6,
0x0cde, 0x0ce3,
@ -92,11 +92,7 @@ var isPrint16 = []uint16{
0x0df2, 0x0df4,
0x0e01, 0x0e3a,
0x0e3f, 0x0e5b,
0x0e81, 0x0e84,
0x0e87, 0x0e8a,
0x0e8d, 0x0e8d,
0x0e94, 0x0ea7,
0x0eaa, 0x0ebd,
0x0e81, 0x0ebd,
0x0ec0, 0x0ecd,
0x0ed0, 0x0ed9,
0x0edc, 0x0edf,
@ -151,7 +147,7 @@ var isPrint16 = []uint16{
0x1c4d, 0x1c88,
0x1c90, 0x1cba,
0x1cbd, 0x1cc7,
0x1cd0, 0x1cf9,
0x1cd0, 0x1cfa,
0x1d00, 0x1f15,
0x1f18, 0x1f1d,
0x1f20, 0x1f45,
@ -177,7 +173,7 @@ var isPrint16 = []uint16{
0x2d30, 0x2d67,
0x2d6f, 0x2d70,
0x2d7f, 0x2d96,
0x2da0, 0x2e4e,
0x2da0, 0x2e4f,
0x2e80, 0x2ef3,
0x2f00, 0x2fd5,
0x2ff0, 0x2ffb,
@ -191,7 +187,8 @@ var isPrint16 = []uint16{
0xa490, 0xa4c6,
0xa4d0, 0xa62b,
0xa640, 0xa6f7,
0xa700, 0xa7b9,
0xa700, 0xa7bf,
0xa7c2, 0xa7c6,
0xa7f7, 0xa82b,
0xa830, 0xa839,
0xa840, 0xa877,
@ -208,7 +205,7 @@ var isPrint16 = []uint16{
0xab01, 0xab06,
0xab09, 0xab0e,
0xab11, 0xab16,
0xab20, 0xab65,
0xab20, 0xab67,
0xab70, 0xabed,
0xabf0, 0xabf9,
0xac00, 0xd7a3,
@ -302,13 +299,10 @@ var isNotPrint16 = []uint16{
0x0dd5,
0x0dd7,
0x0e83,
0x0e89,
0x0e98,
0x0ea0,
0x0e85,
0x0e8b,
0x0ea4,
0x0ea6,
0x0eac,
0x0eba,
0x0ec5,
0x0ec7,
0x0f48,
@ -341,8 +335,6 @@ var isNotPrint16 = []uint16{
0x1fdc,
0x1ff5,
0x208f,
0x2bc9,
0x2bff,
0x2c2f,
0x2c5f,
0x2d26,
@ -435,6 +427,7 @@ var isPrint32 = []uint32{
0x010e60, 0x010e7e,
0x010f00, 0x010f27,
0x010f30, 0x010f59,
0x010fe0, 0x010ff6,
0x011000, 0x01104d,
0x011052, 0x01106f,
0x01107f, 0x0110c1,
@ -458,7 +451,7 @@ var isPrint32 = []uint32{
0x01135d, 0x011363,
0x011366, 0x01136c,
0x011370, 0x011374,
0x011400, 0x01145e,
0x011400, 0x01145f,
0x011480, 0x0114c7,
0x0114d0, 0x0114d9,
0x011580, 0x0115b5,
@ -466,7 +459,7 @@ var isPrint32 = []uint32{
0x011600, 0x011644,
0x011650, 0x011659,
0x011660, 0x01166c,
0x011680, 0x0116b7,
0x011680, 0x0116b8,
0x0116c0, 0x0116c9,
0x011700, 0x01171a,
0x01171d, 0x01172b,
@ -474,9 +467,11 @@ var isPrint32 = []uint32{
0x011800, 0x01183b,
0x0118a0, 0x0118f2,
0x0118ff, 0x0118ff,
0x0119a0, 0x0119a7,
0x0119aa, 0x0119d7,
0x0119da, 0x0119e4,
0x011a00, 0x011a47,
0x011a50, 0x011a83,
0x011a86, 0x011aa2,
0x011a50, 0x011aa2,
0x011ac0, 0x011af8,
0x011c00, 0x011c45,
0x011c50, 0x011c6c,
@ -488,7 +483,8 @@ var isPrint32 = []uint32{
0x011d60, 0x011d98,
0x011da0, 0x011da9,
0x011ee0, 0x011ef8,
0x012000, 0x012399,
0x011fc0, 0x011ff1,
0x011fff, 0x012399,
0x012400, 0x012474,
0x012480, 0x012543,
0x013000, 0x01342e,
@ -502,13 +498,15 @@ var isPrint32 = []uint32{
0x016b50, 0x016b77,
0x016b7d, 0x016b8f,
0x016e40, 0x016e9a,
0x016f00, 0x016f44,
0x016f50, 0x016f7e,
0x016f00, 0x016f4a,
0x016f4f, 0x016f87,
0x016f8f, 0x016f9f,
0x016fe0, 0x016fe1,
0x017000, 0x0187f1,
0x016fe0, 0x016fe3,
0x017000, 0x0187f7,
0x018800, 0x018af2,
0x01b000, 0x01b11e,
0x01b150, 0x01b152,
0x01b164, 0x01b167,
0x01b170, 0x01b2fb,
0x01bc00, 0x01bc6a,
0x01bc70, 0x01bc7c,
@ -534,12 +532,19 @@ var isPrint32 = []uint32{
0x01da9b, 0x01daaf,
0x01e000, 0x01e018,
0x01e01b, 0x01e02a,
0x01e100, 0x01e12c,
0x01e130, 0x01e13d,
0x01e140, 0x01e149,
0x01e14e, 0x01e14f,
0x01e2c0, 0x01e2f9,
0x01e2ff, 0x01e2ff,
0x01e800, 0x01e8c4,
0x01e8c7, 0x01e8d6,
0x01e900, 0x01e94a,
0x01e900, 0x01e94b,
0x01e950, 0x01e959,
0x01e95e, 0x01e95f,
0x01ec71, 0x01ecb4,
0x01ed01, 0x01ed3d,
0x01ee00, 0x01ee24,
0x01ee27, 0x01ee3b,
0x01ee42, 0x01ee42,
@ -553,31 +558,34 @@ var isPrint32 = []uint32{
0x01f0a0, 0x01f0ae,
0x01f0b1, 0x01f0f5,
0x01f100, 0x01f10c,
0x01f110, 0x01f16b,
0x01f110, 0x01f16c,
0x01f170, 0x01f1ac,
0x01f1e6, 0x01f202,
0x01f210, 0x01f23b,
0x01f240, 0x01f248,
0x01f250, 0x01f251,
0x01f260, 0x01f265,
0x01f300, 0x01f6d4,
0x01f300, 0x01f6d5,
0x01f6e0, 0x01f6ec,
0x01f6f0, 0x01f6f9,
0x01f6f0, 0x01f6fa,
0x01f700, 0x01f773,
0x01f780, 0x01f7d8,
0x01f7e0, 0x01f7eb,
0x01f800, 0x01f80b,
0x01f810, 0x01f847,
0x01f850, 0x01f859,
0x01f860, 0x01f887,
0x01f890, 0x01f8ad,
0x01f900, 0x01f90b,
0x01f910, 0x01f970,
0x01f973, 0x01f976,
0x01f900, 0x01f976,
0x01f97a, 0x01f9a2,
0x01f9b0, 0x01f9b9,
0x01f9c0, 0x01f9c2,
0x01f9d0, 0x01f9ff,
0x01f9a5, 0x01f9aa,
0x01f9ae, 0x01f9ca,
0x01f9cd, 0x01fa53,
0x01fa60, 0x01fa6d,
0x01fa70, 0x01fa73,
0x01fa78, 0x01fa7a,
0x01fa80, 0x01fa82,
0x01fa90, 0x01fa95,
0x020000, 0x02a6d6,
0x02a700, 0x02b734,
0x02b740, 0x02b81d,
@ -676,8 +684,8 @@ var isNotPrint32 = []uint16{ // add 0x10000 to each entry
0xeeaa,
0xf0c0,
0xf0d0,
0xf93f,
0xf97b,
0xf90c,
0xf972,
}
// isGraphic lists the graphic runes not matched by IsPrint.

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
// +build go1.13
// +build go1.13,!go1.14
package bidi

1923
src/vendor/golang.org/x/text/unicode/bidi/tables12.0.0.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
// +build go1.13
// +build go1.13,!go1.14
package norm

7710
src/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go generated vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ golang.org/x/net/route
# golang.org/x/sys v0.0.0-20190529130038-5219a1e1c5f8
## explicit
golang.org/x/sys/cpu
# golang.org/x/text v0.3.2
# golang.org/x/text v0.3.3-0.20191031172631-4b67af870c6f
## explicit
golang.org/x/text/secure/bidirule
golang.org/x/text/transform