Skip to content

Commit 1476095

Browse files
data-manbnoordhuis
andcommitted
Update to Unicode 17.0.0
Co-authored-by: Ben Noordhuis <[email protected]> Fixes: #1168
1 parent 8614243 commit 1476095

File tree

6 files changed

+2124
-2064
lines changed

6 files changed

+2124
-2064
lines changed

libunicode-table.h

Lines changed: 2095 additions & 2046 deletions
Large diffs are not rendered by default.

test262

Submodule test262 updated 3447 files

test262.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ arraybuffer-transfer
6262
arrow-function
6363
async-functions
6464
async-iteration
65-
# atomics are broken in recent versions of tcc
66-
Atomics=!tcc
6765
Atomics.pause=!tcc
6866
Atomics.waitAsync=skip
67+
Atomics=!tcc # atomics are broken in recent versions of tcc
6968
BigInt
7069
caller
7170
canonical-tz=skip
@@ -140,6 +139,7 @@ Intl.Segmenter=skip
140139
IsHTMLDDA
141140
iterator-helpers
142141
iterator-sequencing
142+
joint-iteration=skip
143143
json-modules=skip
144144
json-parse-with-source=skip
145145
json-superset
@@ -149,6 +149,7 @@ logical-assignment-operators
149149
Map
150150
Math.sumPrecise
151151
new.target
152+
nonextensible-applies-to-private=skip
152153
numeric-separator-literal
153154
object-rest
154155
object-spread
@@ -186,6 +187,8 @@ ShadowRealm=skip
186187
SharedArrayBuffer
187188
source-phase-imports-module-source=skip
188189
source-phase-imports=skip
190+
stable-array-sort
191+
stable-typedarray-sort
189192
string-trimming
190193
String.fromCodePoint
191194
String.prototype.at

test262_errors.txt

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,22 @@ test262/test/built-ins/AsyncFromSyncIteratorPrototype/throw/iterator-result-reje
1717
test262/test/built-ins/AsyncFromSyncIteratorPrototype/throw/iterator-result-rejected-promise-close.js:74: strict mode: TypeError: $DONE() not called
1818
test262/test/built-ins/AsyncFromSyncIteratorPrototype/throw/throw-result-poisoned-wrapper.js:81: TypeError: $DONE() not called
1919
test262/test/built-ins/AsyncFromSyncIteratorPrototype/throw/throw-result-poisoned-wrapper.js:81: strict mode: TypeError: $DONE() not called
20-
test262/test/built-ins/Atomics/notify/retrieve-length-before-index-coercion-non-shared-detached.js:34: RangeError: out-of-bound access
21-
test262/test/built-ins/Atomics/notify/retrieve-length-before-index-coercion-non-shared-detached.js:34: strict mode: RangeError: out-of-bound access
22-
test262/test/built-ins/Atomics/notify/retrieve-length-before-index-coercion-non-shared-resize-to-zero.js:33: RangeError: out-of-bound access
23-
test262/test/built-ins/Atomics/notify/retrieve-length-before-index-coercion-non-shared-resize-to-zero.js:33: strict mode: RangeError: out-of-bound access
24-
test262/test/built-ins/Atomics/notify/retrieve-length-before-index-coercion-non-shared.js:35: Test262Error: Expected a RangeError but got a Test262Error
25-
test262/test/built-ins/Atomics/notify/retrieve-length-before-index-coercion-non-shared.js:35: strict mode: Test262Error: Expected a RangeError but got a Test262Error
26-
test262/test/built-ins/Atomics/notify/retrieve-length-before-index-coercion.js:35: Test262Error: Expected a RangeError but got a Test262Error
27-
test262/test/built-ins/Atomics/notify/retrieve-length-before-index-coercion.js:35: strict mode: Test262Error: Expected a RangeError but got a Test262Error
28-
test262/test/built-ins/Atomics/wait/retrieve-length-before-index-coercion.js:38: Test262Error: Expected a RangeError but got a Test262Error
29-
test262/test/built-ins/Atomics/wait/retrieve-length-before-index-coercion.js:38: strict mode: Test262Error: Expected a RangeError but got a Test262Error
20+
test262/test/built-ins/Iterator/concat/next-method-returns-throwing-value.js:25: Test262Error: Expected a Test262Error to be thrown but no exception was thrown at all
21+
test262/test/built-ins/Iterator/concat/next-method-returns-throwing-value.js:25: strict mode: Test262Error: Expected a Test262Error to be thrown but no exception was thrown at all
22+
test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Unknown.js:16: SyntaxError: unknown unicode script
23+
test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Unknown.js:16: strict mode: SyntaxError: unknown unicode script
24+
test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Unknown.js:16: SyntaxError: unknown unicode script
25+
test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Unknown.js:16: strict mode: SyntaxError: unknown unicode script
3026
test262/test/built-ins/RegExp/property-escapes/special-property-value-Script_Extensions-Unknown.js:14: SyntaxError: unknown unicode script
3127
test262/test/built-ins/RegExp/property-escapes/special-property-value-Script_Extensions-Unknown.js:14: strict mode: SyntaxError: unknown unicode script
32-
test262/test/built-ins/RegExp/prototype/exec/regexp-builtin-exec-v-u-flag.js:45: Test262Error: Actual argument shouldn't be nullish. Unicode property escapes with v flag
33-
test262/test/built-ins/RegExp/prototype/exec/regexp-builtin-exec-v-u-flag.js:45: strict mode: Test262Error: Actual argument shouldn't be nullish. Unicode property escapes with v flag
28+
test262/test/built-ins/RegExp/prototype/exec/regexp-builtin-exec-v-u-flag.js:45: Test262Error: Actual argument [null] shouldn't be primitive. Unicode property escapes with v flag
29+
test262/test/built-ins/RegExp/prototype/exec/regexp-builtin-exec-v-u-flag.js:45: strict mode: Test262Error: Actual argument [null] shouldn't be primitive. Unicode property escapes with v flag
3430
test262/test/built-ins/RegExp/unicodeSets/generated/rgi-emoji-16.0.js:16: Test262Error: `\p{RGI_Emoji}` should match 🇨🇶 (U+01F1E8 U+01F1F6)
3531
test262/test/built-ins/RegExp/unicodeSets/generated/rgi-emoji-16.0.js:16: strict mode: Test262Error: `\p{RGI_Emoji}` should match 🇨🇶 (U+01F1E8 U+01F1F6)
36-
test262/test/built-ins/String/prototype/match/regexp-prototype-match-v-u-flag.js:10: Test262Error: Actual argument shouldn't be nullish. Unicode property escapes with v flag
37-
test262/test/built-ins/String/prototype/match/regexp-prototype-match-v-u-flag.js:10: strict mode: Test262Error: Actual argument shouldn't be nullish. Unicode property escapes with v flag
32+
test262/test/built-ins/RegExp/unicodeSets/generated/rgi-emoji-17.0.js:16: Test262Error: `\p{RGI_Emoji}` should match 👨🏻‍🐰‍👨🏼 (U+01F468 U+01F3FB U+00200D U+01F430 U+00200D U+01F468 U+01F3FC)
33+
test262/test/built-ins/RegExp/unicodeSets/generated/rgi-emoji-17.0.js:16: strict mode: Test262Error: `\p{RGI_Emoji}` should match 👨🏻‍🐰‍👨🏼 (U+01F468 U+01F3FB U+00200D U+01F430 U+00200D U+01F468 U+01F3FC)
34+
test262/test/built-ins/String/prototype/match/regexp-prototype-match-v-u-flag.js:10: Test262Error: Actual argument [null] shouldn't be primitive. Unicode property escapes with v flag
35+
test262/test/built-ins/String/prototype/match/regexp-prototype-match-v-u-flag.js:10: strict mode: Test262Error: Actual argument [null] shouldn't be primitive. Unicode property escapes with v flag
3836
test262/test/built-ins/String/prototype/matchAll/regexp-prototype-matchAll-v-u-flag.js:73: Test262Error: Actual [] and expected [𠮷, 𠮷, 𠮷, 0, 3, 6] should have the same contents.
3937
test262/test/built-ins/String/prototype/matchAll/regexp-prototype-matchAll-v-u-flag.js:73: strict mode: Test262Error: Actual [] and expected [𠮷, 𠮷, 𠮷, 0, 3, 6] should have the same contents.
4038
test262/test/built-ins/String/prototype/replace/regexp-prototype-replace-v-u-flag.js:9: Test262Error: Unicode property escapes with v flag Expected SameValue(«"𠮷a𠮷b𠮷"», «"XaXbX"») to be true
@@ -79,7 +77,12 @@ test262/test/language/expressions/in/private-field-invalid-assignment-target.js:
7977
test262/test/language/expressions/in/private-field-invalid-assignment-target.js:23: strict mode: unexpected error type: Test262: This statement should not be evaluated.
8078
test262/test/language/expressions/object/computed-property-name-topropertykey-before-value-evaluation.js:31: Test262Error: Expected SameValue(«"bad"», «"ok"») to be true
8179
test262/test/language/expressions/object/computed-property-name-topropertykey-before-value-evaluation.js:31: strict mode: Test262Error: Expected SameValue(«"bad"», «"ok"») to be true
80+
test262/test/language/module-code/ambiguous-export-bindings/import-and-export-propagates-binding.js:75: SyntaxError: export 'foo' in module 'test262/test/language/module-code/ambiguous-export-bindings/imp' is ambiguous
81+
test262/test/language/module-code/ambiguous-export-bindings/namespace-unambiguous-if-export-star-as-from-and-import-star-as-and-export.js:74: SyntaxError: export 'foo' in module 'test262/test/language/module-code/ambiguous-export-bindings/nam' is ambiguous
82+
test262/test/language/module-code/ambiguous-export-bindings/namespace-unambiguous-if-export-star-as-from.js:75: SyntaxError: export 'foo' in module 'test262/test/language/module-code/ambiguous-export-bindings/nam' is ambiguous
83+
test262/test/language/module-code/ambiguous-export-bindings/namespace-unambiguous-if-import-star-as-and-export.js:74: SyntaxError: export 'foo' in module 'test262/test/language/module-code/ambiguous-export-bindings/nam' is ambiguous
8284
test262/test/language/module-code/top-level-await/module-graphs-does-not-hang.js:10: TypeError: $DONE() not called
85+
test262/test/language/module-code/top-level-await/rejection-order.js:20: TypeError: $DONE() not called
8386
test262/test/language/statements/class/elements/syntax/valid/grammar-field-named-get-followed-by-generator-asi.js:40: SyntaxError: invalid property name
8487
test262/test/language/statements/class/elements/syntax/valid/grammar-field-named-get-followed-by-generator-asi.js:40: strict mode: SyntaxError: invalid property name
8588
test262/test/language/statements/class/elements/syntax/valid/grammar-field-named-set-followed-by-generator-asi.js:40: SyntaxError: invalid property name

unicode_download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -e
33

4-
url="ftp://ftp.unicode.org/Public/16.0.0/ucd"
4+
url="https://www.unicode.org/Public/17.0.0/ucd"
55
emoji_url="${url}/emoji/emoji-data.txt"
66

77
files="CaseFolding.txt DerivedNormalizationProps.txt PropList.txt \

unicode_gen_def.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ DEF(Bamum, "Bamu")
5454
DEF(Bassa_Vah, "Bass")
5555
DEF(Batak, "Batk")
5656
DEF(Bengali, "Beng")
57+
DEF(Beria_Erfe, "Berf")
5758
DEF(Bhaiksuki, "Bhks")
5859
DEF(Bopomofo, "Bopo")
5960
DEF(Brahmi, "Brah")
@@ -107,6 +108,7 @@ DEF(Javanese, "Java")
107108
DEF(Kaithi, "Kthi")
108109
DEF(Kannada, "Knda")
109110
DEF(Katakana, "Kana")
111+
DEF(Katakana_Or_Hiragana, "Hrkt")
110112
DEF(Kawi, "Kawi")
111113
DEF(Kayah_Li, "Kali")
112114
DEF(Kharoshthi, "Khar")
@@ -178,6 +180,7 @@ DEF(Saurashtra, "Saur")
178180
DEF(Sharada, "Shrd")
179181
DEF(Shavian, "Shaw")
180182
DEF(Siddham, "Sidd")
183+
DEF(Sidetic, "Sidt")
181184
DEF(SignWriting, "Sgnw")
182185
DEF(Sinhala, "Sinh")
183186
DEF(Sogdian, "Sogd")
@@ -192,6 +195,7 @@ DEF(Tagbanwa, "Tagb")
192195
DEF(Tai_Le, "Tale")
193196
DEF(Tai_Tham, "Lana")
194197
DEF(Tai_Viet, "Tavt")
198+
DEF(Tai_Yo, "Tayo")
195199
DEF(Takri, "Takr")
196200
DEF(Tamil, "Taml")
197201
DEF(Tangut, "Tang")
@@ -203,6 +207,7 @@ DEF(Tifinagh, "Tfng")
203207
DEF(Tirhuta, "Tirh")
204208
DEF(Tangsa, "Tnsa")
205209
DEF(Todhri, "Todr")
210+
DEF(Tolong_Siki, "Tols")
206211
DEF(Toto, "Toto")
207212
DEF(Tulu_Tigalari, "Tutg")
208213
DEF(Ugaritic, "Ugar")

0 commit comments

Comments
 (0)