Skip to content

Commit

Permalink
Bug 1792775 - Part 7: Update Gecko to Unicode 15. r=platform-i18n-rev…
Browse files Browse the repository at this point in the history
…iewers,jfkthame

Update Gecko to Unicode 15 by running `genUnicodePropertyData.pl` and
`genSpecialCasingData.pl`.

Differential Revision: https://phabricator.services.mozilla.com/D160185
  • Loading branch information
anba committed Nov 23, 2022
1 parent 0d68ee2 commit 628263f
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 36 deletions.
18 changes: 10 additions & 8 deletions intl/components/src/UnicodeScriptCodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
*/

/*
* Created on Thu Dec 2 15:20:26 2021 from UCD data files with version info:
* Created on Tue Oct 25 06:53:25 2022 from UCD data files with version info:
*
# Unicode Character Database
# Date: 2021-09-10, 17:22:00 GMT [KW]
# © 2021 Unicode®, Inc.
# Date: 2022-09-02
# © 2022 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use, see https://www.unicode.org/terms_of_use.html
#
Expand All @@ -24,17 +24,17 @@
# UAX #44, "Unicode Character Database"
# UTS #51, "Unicode Emoji"
#
# The UAXes and UTS #51 can be accessed at https://www.unicode.org/versions/Unicode14.0.0/
# The UAXes and UTS #51 can be accessed at https://www.unicode.org/versions/Unicode15.0.0/
This directory contains the final data files
for the Unicode Character Database, for Version 14.0.0 of the Unicode Standard.
for the Unicode Character Database, for Version 15.0.0 of the Unicode Standard.
# IdentifierStatus.txt
# Date: 2021-08-12, 01:13:34 GMT
# Date: 2022-08-26, 16:49:09 GMT
#
# Unihan_Variants.txt
# Date: 2021-08-06 16:32:36 GMT [JHJ]
# Date: 2022-08-01 16:36:07 GMT [JHJ]
# VerticalOrientation-17.txt
# Date: 2016-10-20, 07:00:00 GMT [EM, KI, LI]
Expand Down Expand Up @@ -246,8 +246,10 @@ enum class Script : int16_t {
TANGSA = 195,
TOTO = 196,
VITHKUQI = 197,
KAWI = 198,
NAG_MUNDARI = 199,

NUM_SCRIPT_CODES = 198,
NUM_SCRIPT_CODES = 200,

INVALID = -1
};
Expand Down
12 changes: 6 additions & 6 deletions intl/locale/cldr-quotes.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

/*
* Created on Thu Nov 4 11:41:07 2021 from CLDR data file cldr-common-40.0.zip.
* Created on Wed Oct 26 05:55:58 2022 from CLDR data file cldr-common-42.0.zip.
*
* * * * * This file contains MACHINE-GENERATED DATA, do not edit! * * * * *
*
Expand All @@ -18,28 +18,28 @@

static const LangQuotesRec sLangQuotes[] = {
// clang-format off
{ "af\0ak\0as\0asa\0az\0bem\0bez\0bn\0brx\0ccp\0ceb\0cgg\0chr\0cy\0da\0dav\0dje\0doi\0dz\0ebu\0ee\0en\0es-419\0ff-Adlm\0fil\0fo\0gd\0gl\0gu\0guz\0hi\0id\0jmc\0jv\0kam\0kde\0kea\0khq\0ki\0kln\0km\0kn\0ko\0kok\0ksb\0ku\0lg\0ln\0lo\0lrc\0lu\0luo\0lv\0mas\0mer\0mfe\0mgo\0mi\0ml\0mn\0mr\0ms\0mt\0my\0naq\0nd\0ne\0nus\0nyn\0or\0pa\0pcm\0rof\0rwk\0saq\0sat\0sbp\0sd\0seh\0ses\0si\0sw\0ta\0te\0teo\0th\0to\0tr\0tt\0twq\0tzm\0uz-Cyrl\0vai\0vi\0vun\0wo\0xog\0yo\0yue-Hans\0zh\0zu\0", { { 0x201c, 0x201d, 0x2018, 0x2019 } } },
{ "af\0ak\0as\0asa\0az\0bem\0bez\0bn\0brx\0ccp\0ceb\0cgg\0chr\0cy\0da\0dav\0dje\0doi\0dz\0ebu\0ee\0en\0es-419\0ff-Adlm\0fil\0fo\0gd\0gl\0gu\0guz\0hi\0id\0jmc\0jv\0kam\0kde\0kea\0khq\0ki\0kln\0km\0kn\0ko\0kok\0ksb\0ku\0lg\0ln\0lo\0lrc\0lu\0luo\0lv\0mas\0mer\0mfe\0mgo\0mi\0ml\0mn\0mr\0ms\0mt\0my\0naq\0nd\0ne\0nus\0nyn\0or\0pa\0pcm\0pis\0rof\0rwk\0saq\0sat\0sbp\0sd\0seh\0ses\0si\0sw\0ta\0te\0teo\0th\0to\0tr\0tt\0twq\0tzm\0uz-Cyrl\0vai\0vi\0vun\0wo\0xh\0xog\0yo\0yue-Hans\0zh\0zu\0", { { 0x201c, 0x201d, 0x2018, 0x2019 } } },
{ "agq\0ff\0", { { 0x201e, 0x201d, 0x201a, 0x2019 } } },
{ "am\0az-Cyrl\0fa\0fr-CH\0gsw\0jgo\0kkj\0mzn\0", { { 0xab, 0xbb, 0x2039, 0x203a } } },
{ "ar\0ur\0", { { 0x201d, 0x201c, 0x2019, 0x2018 } } },
{ "ast\0bm\0br\0ca\0dyo\0el\0es\0ewo\0it\0kab\0kk\0mg\0mua\0nnh\0pt-PT\0sc\0sg\0sq\0ti\0", { { 0xab, 0xbb, 0x201c, 0x201d } } },
{ "bas\0be\0ky\0ru\0sah\0uk\0", { { 0xab, 0xbb, 0x201e, 0x201c } } },
{ "ast\0bm\0br\0ca\0dyo\0el\0es\0eu\0ewo\0it\0kab\0kk\0mg\0mua\0nnh\0pt-PT\0sc\0sg\0sq\0ti\0", { { 0xab, 0xbb, 0x201c, 0x201d } } },
{ "bas\0be\0cv\0ky\0ru\0sah\0uk\0", { { 0xab, 0xbb, 0x201e, 0x201c } } },
{ "bg\0lt\0", { { 0x201e, 0x201c, 0x201e, 0x201c } } },
{ "bs-Cyrl\0cs\0de\0dsb\0et\0hr\0hsb\0is\0lb\0luy\0mk\0sk\0sl\0", { { 0x201e, 0x201c, 0x201a, 0x2018 } } },
{ "bs\0", { { 0x201e, 0x201d, 0x2018, 0x2019 } } },
{ "dua\0ksf\0no\0rw\0", { { 0xab, 0xbb, 0x2018, 0x2019 } } },
{ "eu\0tk\0", { { 0x201c, 0x201d, 0x201c, 0x201d } } },
{ "fi\0he\0lag\0rn\0sn\0sv\0", { { 0x201d, 0x201d, 0x2019, 0x2019 } } },
{ "fr-CA\0", { { 0xab, 0xbb, 0x201d, 0x201c } } },
{ "fr\0hy\0yav\0", { { 0xab, 0xbb, 0xab, 0xbb } } },
{ "hu\0", { { 0x201e, 0x201d, 0xbb, 0xab } } },
{ "ia\0ti-ER\0xh\0", { { 0x2018, 0x2019, 0x201c, 0x201d } } },
{ "ia\0ti-ER\0", { { 0x2018, 0x2019, 0x201c, 0x201d } } },
{ "ja\0yue\0zh-Hant\0", { { 0x300c, 0x300d, 0x300e, 0x300f } } },
{ "ka\0", { { 0x201e, 0x201c, 0xab, 0xbb } } },
{ "nl\0", { { 0x2018, 0x2019, 0x2018, 0x2019 } } },
{ "nmg\0pl\0ro\0", { { 0x201e, 0x201d, 0xab, 0xbb } } },
{ "shi\0zgh\0", { { 0xab, 0xbb, 0x201e, 0x201d } } },
{ "sr\0", { { 0x201e, 0x201c, 0x2018, 0x2018 } } },
{ "tk\0", { { 0x201c, 0x201d, 0x201c, 0x201d } } },
{ "uz\0", { { 0x201c, 0x201d, 0x2019, 0x2018 } } },
// clang-format on
};
4 changes: 2 additions & 2 deletions intl/unicharutil/util/nsSpecialCasingData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "mozilla/ArrayUtils.h" // for ArrayLength
#include <stdlib.h> // for bsearch

/* SpecialCasing-14.0.0.txt */
/* Date: 2021-03-08, 19:35:55 GMT */
/* SpecialCasing-15.0.0.txt */
/* Date: 2022-02-02, 23:35:52 GMT */

using mozilla::unicode::MultiCharMapping;

Expand Down
Loading

0 comments on commit 628263f

Please sign in to comment.