Skip to content

Commit 313ddfa

Browse files
committed
Merge branch 'master' into hotfix/segfault-extract
2 parents b191d33 + 8d533a0 commit 313ddfa

File tree

139 files changed

+23
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+23
-188
lines changed

cases/gen.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
// This program generates the trie for casing operations. The Unicode casing
98
// algorithm requires the lookup of various properties and mappings for each

cases/gen_trieval.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

cases/icu.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build icu
6-
// +build icu
76

87
package cases
98

cases/icu_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build icu
6-
// +build icu
76

87
package cases
98

cases/tables10.0.0.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables10.0.0_test.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables11.0.0.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables11.0.0_test.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables12.0.0.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables12.0.0_test.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables13.0.0.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables13.0.0_test.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables15.0.0.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables15.0.0_test.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables9.0.0.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cases/tables9.0.0_test.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/gotext/examples/rewrite/printer.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

collate/maketables.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
// Collation table generator.
98
// Data read from the web.
@@ -38,7 +37,7 @@ var (
3837
"test existing tables; can be used to compare web data with package data.")
3938
short = flag.Bool("short", false, `Use "short" alternatives, when available.`)
4039
draft = flag.Bool("draft", false, `Use draft versions, when available.`)
41-
tags = flag.String("tags", "", "build tags to be included after +build directive")
40+
tags = flag.String("tags", "", "build tags to be included after go:build directive")
4241
pkg = flag.String("package", "collate",
4342
"the name of the package in which the generated file is to be included")
4443

collate/tools/colcmp/darwin.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build darwin
6-
// +build darwin
76

87
package main
98

collate/tools/colcmp/icu.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build icu
6-
// +build icu
76

87
package main
98

currency/gen.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
// Generator for currency-related data.
98

currency/gen_common.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

date/gen.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

encoding/charmap/maketables.go

+15-16
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

@@ -40,79 +39,79 @@ var encodings = []struct {
4039
"",
4140
"CodePage037",
4241
0x3f,
43-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM037-2.1.2.ucm",
42+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM037-2.1.2.ucm",
4443
},
4544
{
4645
"IBM Code Page 437",
4746
"PC8CodePage437",
4847
"",
4948
"CodePage437",
5049
encoding.ASCIISub,
51-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM437-2.1.2.ucm",
50+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM437-2.1.2.ucm",
5251
},
5352
{
5453
"IBM Code Page 850",
5554
"PC850Multilingual",
5655
"",
5756
"CodePage850",
5857
encoding.ASCIISub,
59-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM850-2.1.2.ucm",
58+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM850-2.1.2.ucm",
6059
},
6160
{
6261
"IBM Code Page 852",
6362
"PCp852",
6463
"",
6564
"CodePage852",
6665
encoding.ASCIISub,
67-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM852-2.1.2.ucm",
66+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM852-2.1.2.ucm",
6867
},
6968
{
7069
"IBM Code Page 855",
7170
"IBM855",
7271
"",
7372
"CodePage855",
7473
encoding.ASCIISub,
75-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM855-2.1.2.ucm",
74+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM855-2.1.2.ucm",
7675
},
7776
{
7877
"Windows Code Page 858", // PC latin1 with Euro
7978
"IBM00858",
8079
"",
8180
"CodePage858",
8281
encoding.ASCIISub,
83-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/windows-858-2000.ucm",
82+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/windows-858-2000.ucm",
8483
},
8584
{
8685
"IBM Code Page 860",
8786
"IBM860",
8887
"",
8988
"CodePage860",
9089
encoding.ASCIISub,
91-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM860-2.1.2.ucm",
90+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM860-2.1.2.ucm",
9291
},
9392
{
9493
"IBM Code Page 862",
9594
"PC862LatinHebrew",
9695
"",
9796
"CodePage862",
9897
encoding.ASCIISub,
99-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM862-2.1.2.ucm",
98+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM862-2.1.2.ucm",
10099
},
101100
{
102101
"IBM Code Page 863",
103102
"IBM863",
104103
"",
105104
"CodePage863",
106105
encoding.ASCIISub,
107-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM863-2.1.2.ucm",
106+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM863-2.1.2.ucm",
108107
},
109108
{
110109
"IBM Code Page 865",
111110
"IBM865",
112111
"",
113112
"CodePage865",
114113
encoding.ASCIISub,
115-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM865-2.1.2.ucm",
114+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM865-2.1.2.ucm",
116115
},
117116
{
118117
"IBM Code Page 866",
@@ -128,23 +127,23 @@ var encodings = []struct {
128127
"",
129128
"CodePage1047",
130129
0x3f,
131-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/glibc-IBM1047-2.1.2.ucm",
130+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/glibc-IBM1047-2.1.2.ucm",
132131
},
133132
{
134133
"IBM Code Page 1140",
135134
"IBM01140",
136135
"",
137136
"CodePage1140",
138137
0x3f,
139-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/ibm-1140_P100-1997.ucm",
138+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/ibm-1140_P100-1997.ucm",
140139
},
141140
{
142141
"ISO 8859-1",
143142
"ISOLatin1",
144143
"",
145144
"ISO8859_1",
146145
encoding.ASCIISub,
147-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/iso-8859_1-1998.ucm",
146+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/iso-8859_1-1998.ucm",
148147
},
149148
{
150149
"ISO 8859-2",
@@ -208,7 +207,7 @@ var encodings = []struct {
208207
"",
209208
"ISO8859_9",
210209
encoding.ASCIISub,
211-
"http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/iso-8859_9-1999.ucm",
210+
"https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/iso-8859_9-1999.ucm",
212211
},
213212
{
214213
"ISO 8859-10",
@@ -478,7 +477,7 @@ func main() {
478477
switch {
479478
case strings.HasPrefix(e.mapping, "http://encoding.spec.whatwg.org/"):
480479
e.mapping = getWHATWG(e.mapping)
481-
case strings.HasPrefix(e.mapping, "http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/"):
480+
case strings.HasPrefix(e.mapping, "https://raw.githubusercontent.com/unicode-org/icu-data/main/charset/data/ucm/"):
482481
e.mapping = getUCM(e.mapping)
483482
}
484483

encoding/htmlindex/gen.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

encoding/ianaindex/gen.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

encoding/internal/identifier/gen.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

encoding/japanese/maketables.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

encoding/korean/maketables.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

encoding/simplifiedchinese/maketables.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

encoding/traditionalchinese/maketables.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

feature/plural/gen.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
package main
98

0 commit comments

Comments
 (0)