Skip to content

Commit 48afe63

Browse files
authored
Unicode 17.0→ 18.0 (#1204)
* Copy emoji/dev to emoji/17.0. * Copy idna/dev to idna/17.0.0. * Copy security/dev to security/17.0.0. * Copy uca/dev to uca/17.0.0. * Copy ucd/dev to ucd/17.0.0. * Copy ucdxml/dev to ucdxml/17.0.0. * Bump version numbers in pub/meow.sh. * Manually fix a dozen files * Regenerate UCD * Delimiter change
1 parent ecd26be commit 48afe63

File tree

254 files changed

+3678908
-36
lines changed

Some content is hidden

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

254 files changed

+3678908
-36
lines changed

.github/workflows/build-jsp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Build JSP
22

33
env:
4-
CURRENT_UVERSION: 17.0.0 # FIX_FOR_NEW_VERSION
5-
PREVIOUS_UVERSION: 16.0.0 # not used at present
4+
CURRENT_UVERSION: 18.0.0 # FIX_FOR_NEW_VERSION
5+
PREVIOUS_UVERSION: 17.0.0 # not used at present
66
REGISTRY: ghcr.io
77
IMAGE_NAME: ${{ github.repository }}
88

.github/workflows/cli-build-instructions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- '*'
1010

1111
env:
12-
CURRENT_UVERSION: 17.0.0 # FIX_FOR_NEW_VERSION
13-
PREVIOUS_UVERSION: 16.0.0
12+
CURRENT_UVERSION: 18.0.0 # FIX_FOR_NEW_VERSION
13+
PREVIOUS_UVERSION: 17.0.0
1414

1515
jobs:
1616

UnicodeJsps/src/main/java/org/unicode/jsp/UBAVersion.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ public class UBAVersion {
1919
Age_Values.V14_0,
2020
Age_Values.V15_0,
2121
Age_Values.V15_1,
22-
Age_Values.V16_0
22+
Age_Values.V16_0,
23+
Age_Values.V17_0
2324
// FIX_FOR_NEW_VERSION
2425
/* Current version is always last */
2526
);

docs/pipeline.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ git merge main
164164
git checkout main unicodetools/data/ucd/dev/Derived*
165165
git checkout main unicodetools/data/ucd/dev/extracted/*
166166
git checkout main unicodetools/data/ucd/dev/auxiliary/*
167-
rm -r ../Generated/BIN/17.0.0.0/
168-
rm -r ../Generated/BIN/UCD_Data17.0.0.bin
169-
mvn -s ~/.m2/settings.xml compile exec:java -Dexec.mainClass="org.unicode.text.UCD.Main" -Dexec.args="version 17.0.0 build MakeUnicodeFiles" -am -pl unicodetools -DCLDR_DIR=$(cd ../../../cldr/mine/src ; pwd) -DUNICODETOOLS_GEN_DIR=$(cd ../Generated ; pwd) -DUNICODETOOLS_REPO_DIR=$(pwd) -DUVERSION=17.0.0
167+
rm -r ../Generated/BIN/18.0.0.0/
168+
rm -r ../Generated/BIN/UCD_Data18.0.0.bin
169+
mvn -s ~/.m2/settings.xml compile exec:java -Dexec.mainClass="org.unicode.text.UCD.Main" -Dexec.args="version 18.0.0 build MakeUnicodeFiles" -am -pl unicodetools -DCLDR_DIR=$(cd ../../../cldr/mine/src ; pwd) -DUNICODETOOLS_GEN_DIR=$(cd ../Generated ; pwd) -DUNICODETOOLS_REPO_DIR=$(pwd) -DUVERSION=18.0.0
170170
# fix merge conflicts in unicodetools/src/main/java/org/unicode/text/UCD/UCD_Types.java
171171
# and in UCD_Names.java
172172
# rerun mvn
173-
cp -r ../Generated/UCD/17.0.0/* unicodetools/data/ucd/dev
173+
cp -r ../Generated/UCD/18.0.0/* unicodetools/data/ucd/dev
174174
rm unicodetools/data/ucd/dev/ZZZ-UNCHANGED-*
175175
rm unicodetools/data/ucd/dev/*/ZZZ-UNCHANGED-*
176176
rm unicodetools/data/ucd/dev/extra/*
@@ -195,7 +195,7 @@ eggrobin (Windows, in-source).
195195
```powershell
196196
rm .\Generated\* -recurse -force
197197
mvn compile exec:java '-Dexec.mainClass="org.unicode.text.UCD.Main"' '-Dexec.args="build MakeUnicodeFiles"' -am -pl unicodetools "-DCLDR_DIR=..\cldr\" "-DUNICODETOOLS_GEN_DIR=Generated" "-DUNICODETOOLS_REPO_DIR=."
198-
cp .\Generated\UCD\17.0.0\* .\unicodetools\data\ucd\dev -recurse -force
198+
cp .\Generated\UCD\18.0.0\* .\unicodetools\data\ucd\dev -recurse -force
199199
rm unicodetools\data\ucd\dev\zzz-unchanged-*
200200
rm unicodetools\data\ucd\dev\*\zzz-unchanged-*
201201
rm .\unicodetools\data\ucd\dev\extra\*
@@ -211,7 +211,7 @@ eggrobin (Windows, in-source).
211211
```powershell
212212
rm .\Generated\* -recurse -force
213213
mvn compile exec:java '-Dexec.mainClass="org.unicode.text.UCD.Main"' '-Dexec.args="build MakeUnicodeFiles"' -am -pl unicodetools "-DCLDR_DIR=..\cldr\" "-DUNICODETOOLS_GEN_DIR=Generated" "-DUNICODETOOLS_REPO_DIR=."
214-
cp .\Generated\UCD\17.0.0\LineBreak.txt .\unicodetools\data\ucd\dev
214+
cp .\Generated\UCD\18.0.0\LineBreak.txt .\unicodetools\data\ucd\dev
215215
```
216216

217217
### GenerateEnums
@@ -229,6 +229,6 @@ git commit -m GenerateEnums
229229

230230
eggrobin (Windows, in-source).
231231
```powershell
232-
mvn test -am -pl unicodetools "-DCLDR_DIR=$(gl|split-path -parent)\cldr\" "-DUNICODETOOLS_GEN_DIR=$(gl|split-path -parent)\unicodetools\Generated\" "-DUNICODETOOLS_REPO_DIR=$(gl|split-path -parent)\unicodetools\" "-DUVERSION=17.0.0" "-Dtest=TestTestUnicodeInvariants#testAdditionComparisons" -DfailIfNoTests=false -DtrimStackTrace=false
232+
mvn test -am -pl unicodetools "-DCLDR_DIR=$(gl|split-path -parent)\cldr\" "-DUNICODETOOLS_GEN_DIR=$(gl|split-path -parent)\unicodetools\Generated\" "-DUNICODETOOLS_REPO_DIR=$(gl|split-path -parent)\unicodetools\" "-DUVERSION=18.0.0" "-Dtest=TestTestUnicodeInvariants#testAdditionComparisons" -DfailIfNoTests=false -DtrimStackTrace=false
233233
```
234234
Results are in Generated\UnicodeTestResults-addition-comparisons-[RMG issue number].html.

pub/copy-alpha-to-draft.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ UNITOOLS_DATA=$UNICODETOOLS/unicodetools/data
1212

1313
# Adjust the following for each year and version as needed.
1414
COPY_YEAR=2025
15-
UNI_VER=17.0.0
16-
EMOJI_VER=17.0
15+
UNI_VER=18.0.0
16+
EMOJI_VER=18.0
1717

1818
TODAY=`date --iso-8601`
1919

pub/copy-beta-to-draft.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ UNITOOLS_DATA=$UNICODETOOLS/unicodetools/data
1212

1313
# Adjust the following for each year and version as needed.
1414
COPY_YEAR=2025
15-
UNI_VER=17.0.0
16-
EMOJI_VER=17.0
15+
UNI_VER=18.0.0
16+
EMOJI_VER=18.0
1717

1818
TODAY=`date --iso-8601`
1919

pub/copy-final.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ UNITOOLS_DATA=$UNICODETOOLS/unicodetools/data
1212

1313
# Adjust the following for each year and version as needed.
1414
COPY_YEAR=2025
15-
UNI_VER=17.0.0
16-
EMOJI_VER=17.0
15+
UNI_VER=18.0.0
16+
EMOJI_VER=18.0
1717

1818
TODAY=`date --iso-8601`
1919

pub/copy-ucd-to-draft.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ UNITOOLS_DATA=$UNICODETOOLS/unicodetools/data
1212

1313
# Adjust the following for each year and version as needed.
1414
COPY_YEAR=2025
15-
UNI_VER=17.0.0
16-
EMOJI_VER=17.0
15+
UNI_VER=18.0.0
16+
EMOJI_VER=18.0
1717

1818
TODAY=`date --iso-8601`
1919

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Unicode Emoji
2+
# © COPY_YEAR Unicode®, Inc.
3+
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
4+
# For terms of use and license, see https://www.unicode.org/terms_of_use.html
5+
6+
This directory contains PUB_STATUS data files for Unicode Emoji, Version EMOJI_VER
7+
8+
PUBLIC_EMOJI/
9+
10+
emoji-sequences.txt
11+
emoji-zwj-sequences.txt
12+
emoji-test.txt
13+
14+
The following related files are found in the UCD for Version EMOJI_VER
15+
16+
PUBLIC_UCD/ucd/emoji/
17+
18+
emoji-data.txt
19+
emoji-variation-sequences.txt
20+
21+
For documentation, see UTS #51 Unicode Emoji, Version EMOJI_VER

0 commit comments

Comments
 (0)