Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
b0656d8
Rebase
jowilco Jun 6, 2024
3ce611a
Initial checkin for UcdXML
jowilco Jun 6, 2024
0ba5996
Interim checkin: implemented groups
jowilco Jun 6, 2024
7764f6c
Rebase
jowilco Jun 7, 2024
7e161a6
Ran GenerateEnums
jowilco Jun 7, 2024
d609d92
Fixing a broken rebase
jowilco Jun 26, 2024
cb314e8
Fixing a broken rebase
jowilco Jun 26, 2024
776e00e
Added support for comparing different ucdxml files
jowilco Aug 23, 2024
8b870a6
Ran spotless
jowilco Aug 23, 2024
d612e96
Added support for the generation of UAX42
jowilco Oct 14, 2024
f552e63
Added note about NFD
jowilco Oct 14, 2024
242f22b
Spotless code cleanup
jowilco Oct 14, 2024
e625ff0
Merge branch 'unicode-org:main' into ucdxml
jowilco Oct 16, 2024
109fcb4
Support remap rules in the segmenter (#949)
eggrobin Oct 17, 2024
bf10f7d
We are not using Java 1.4 anymore. (#950)
eggrobin Oct 17, 2024
250884c
Test InCB=Extend for Gujarati Shadda (#957)
eggrobin Oct 31, 2024
fc59f0d
Only run Maven cache workflow on the upstream repo (#959)
echeran Nov 5, 2024
c5ad635
fix typo (#960)
echeran Nov 5, 2024
f32aee2
Allow redundant lines in data files to facilitate merging (#962)
eggrobin Nov 12, 2024
6ee2467
Implemented review comments from eggrobin
jowilco Nov 12, 2024
a3e3740
ARABIC LETTER NOON WITH RING ABOVE (#703)
eggrobin Nov 13, 2024
7da5a74
Bengali Sanskrit BA (#758)
eggrobin Nov 13, 2024
97d58bf
Oriya dots above (#781)
eggrobin Nov 13, 2024
5e40d67
Kannada and Telugu: Archaic Ligature SHRII (#862)
eggrobin Nov 13, 2024
617b9d1
Combining double caron (#779)
eggrobin Nov 13, 2024
7a3737c
UTC-176-C35 Six compound tone diacritics (#637)
macchiati Nov 13, 2024
6a6f6a5
Remove expired canned rules (#964)
eggrobin Nov 13, 2024
47d165a
3 compound tone diacritics 1AD6..1AD8 (#588)
eggrobin Nov 13, 2024
8f51864
5 Harrington diacritics (#587)
eggrobin Nov 13, 2024
2fb2e8b
12 IPA diacritics, 11 above and 1 below (#742)
eggrobin Nov 13, 2024
422bf47
One Chess Symbol (#664)
eggrobin Nov 13, 2024
7b4359d
Latin small and capital pharyngeal voiced fricative (#589)
eggrobin Nov 13, 2024
2fa8b48
UTC-176-C32 Adding capital double thorn/wynn (#635)
macchiati Nov 13, 2024
ce13c8b
Modifier capital S (#743)
eggrobin Nov 13, 2024
399ba7f
Twenty-five more Arabic honorifics (#705)
eggrobin Nov 13, 2024
5e7b13a
Eight more Arabic honorifics (#662)
eggrobin Nov 14, 2024
5a39610
Sidetic (#417)
eggrobin Nov 14, 2024
c64da22
Two Quranic Characters (#754)
eggrobin Nov 14, 2024
5c1cbad
Thin ن (#756)
eggrobin Nov 14, 2024
69070a9
Yeh with four dots below (#706)
eggrobin Nov 14, 2024
0f41413
Arabic biblical end of verse (#760)
eggrobin Nov 14, 2024
6da6862
Arabic double vertical bar below (#592)
eggrobin Nov 14, 2024
1562660
Sharada vowel signs for Kashmiri (#757)
eggrobin Nov 14, 2024
6b9f06a
Chisoi (#759)
eggrobin Nov 14, 2024
35e96c6
Beria Erfe (#661)
eggrobin Nov 14, 2024
96e92df
Tolong Siki (#732)
josh-hadley Nov 15, 2024
25ab030
Remove Joining_Group numeric constants from UCD_Types (#967)
eggrobin Nov 15, 2024
c255ee4
Two small form CJK characters for Chinese (#666)
eggrobin Nov 15, 2024
0bdae18
揚琴 slow 2..4 (#782)
eggrobin Nov 15, 2024
e9cb075
2 Tangut components and 28 Tangut ideographs (#578)
eggrobin Nov 15, 2024
46bb6d2
Two Tangut ideographs (#951)
eggrobin Nov 15, 2024
c1857c5
114−1=113 Tangut components (#579)
eggrobin Nov 15, 2024
8e98583
10 more legacy computing symbols (#581)
eggrobin Nov 15, 2024
d2160f5
21 historical asteroid symbols (#590)
eggrobin Nov 16, 2024
b9dd702
16 geomantic figures (#591)
eggrobin Nov 16, 2024
1aaefbf
Ten Chemical Symbols (#586)
eggrobin Nov 16, 2024
c0e13dd
Tai Yo (#755)
eggrobin Nov 16, 2024
cf818ba
Shatranj symbols (#665)
eggrobin Nov 16, 2024
57a3085
8 emoji for 17 (#963)
eggrobin Nov 16, 2024
46a1263
Unihan 17.0 (#966)
eggrobin Nov 16, 2024
eb6b085
Unihan 17 USource... files
markusicu Nov 20, 2024
a7013ce
NamesList-17.0.0d8.txt (#965)
eggrobin Nov 21, 2024
b41f723
StandardizedVariants-17.0.0d1.txt
markusicu Nov 20, 2024
c4731c8
in-file versions 16->17
markusicu Nov 21, 2024
d1bdcb8
SegmenterDefault.txt: more remapping, less renaming (#970)
eggrobin Nov 25, 2024
b1e89f4
sc=Berf for Beria Erfe
markusicu Nov 28, 2024
7ae67b4
Clean up GenerateBreakTest (#975)
eggrobin Nov 28, 2024
5d3937e
script: publish early UCD snapshot
markusicu Nov 28, 2024
f930b35
Remove OldUnicodeMap (#978)
eggrobin Nov 28, 2024
8459b0b
Generate old monkeys (#979)
eggrobin Dec 4, 2024
024167e
Add Tfng to scx of U+0306, U+0308, and U+0323 (#981)
roozbehp Dec 4, 2024
9eaef44
update to CLDR 46 & ICU 76 (#984)
markusicu Dec 7, 2024
7233d4b
UCD 17 draft Blocks bugs (#986)
markusicu Dec 11, 2024
f731c41
Fix placeholder name for addition comparison test (#985)
eggrobin Dec 11, 2024
dbb5dd3
Updates from Marcus's review comments
jowilco Dec 16, 2024
d558b32
remove CollationTest.html from data folder
markusicu Dec 16, 2024
e999c3e
remove TangutSources conflict markers
markusicu Dec 17, 2024
2794ab9
EmojiSources: no changes anticipated
markusicu Dec 20, 2024
1850932
issue templates to steer the public elsewhere (#994)
markusicu Dec 23, 2024
3f7f0af
Emoji 17.0 alpha data (#996)
nedley Jan 9, 2025
a4fac43
Reorder a few emoji based on ESR discussion (#998)
nedley Jan 21, 2025
14496bf
UCD 17 updates from KenW jan23
markusicu Jan 27, 2025
c315678
UCD 17 generate with (c) 2025
markusicu Jan 27, 2025
3f8b822
Unihan 17 from KenL jan24
markusicu Jan 27, 2025
65c1aa5
Unihan 17 -> DerivedNumericValues
markusicu Jan 27, 2025
27875cb
Generate Java monkeys (#1006)
eggrobin Jan 28, 2025
1583ca8
feat: publish the JSP docker image via github
srl295 Jan 28, 2025
f991112
chore: bump cache and checkout versions
srl295 Jan 28, 2025
383be3a
jsp: If on a PR, just do a Docker build to make sure we can.
srl295 Jan 28, 2025
98c4258
Test that emoji are emoji (#993)
eggrobin Jan 28, 2025
10f1b4f
The Last Resort font should be downloaded by build-jsp.yml
srl295 Jan 28, 2025
7828561
chore: jsp: also fix artifact action version
srl295 Jan 28, 2025
1152b46
typo: yaml failure
srl295 Jan 28, 2025
624145e
Greedy context before in LB20a (#988)
eggrobin Jan 28, 2025
545a395
pub draft 17: no /UCD, no zipped
markusicu Jan 29, 2025
a8284c9
TangutSources uni17 jan28
markusicu Jan 28, 2025
4381875
Bring back the JSPs (#1018)
eggrobin Jan 29, 2025
f011b6e
No ExtPict for old symbols (#1019)
eggrobin Jan 29, 2025
9b78de9
UCD 17 VerticalOrientation.txt jan29 (#1020)
markusicu Jan 29, 2025
6110094
move Idna2008 to versioned idna/
markusicu Jan 29, 2025
abc84a7
beta pub to lowercase draft/uca
markusicu Jan 29, 2025
84bf4cb
Tweaks to Unihan property handling (#1022)
eggrobin Jan 30, 2025
c5147d3
IDNA 17 alpha & docs
markusicu Jan 29, 2025
026a1de
Idna2008-17.0.0.txt from Ken
markusicu Jan 30, 2025
1ae1898
Revert to previous version string format (#1002) (#1028)
nedley Jan 30, 2025
4f610eb
Parse pre-5.2 Unihan (#1026)
eggrobin Jan 30, 2025
f068b26
Fix misparsing of old binary defaults (#1029)
eggrobin Jan 31, 2025
daadb73
Rebase
jowilco Jun 6, 2024
d1a9a58
Initial checkin for UcdXML
jowilco Jun 6, 2024
a0be079
Interim checkin: implemented groups
jowilco Jun 6, 2024
4b138f4
Rebase
jowilco Jun 7, 2024
3e95155
Ran GenerateEnums
jowilco Jun 7, 2024
14ebb86
Fixing a broken rebase
jowilco Jun 26, 2024
b4d5d86
Added support for comparing different ucdxml files
jowilco Aug 23, 2024
a186e69
Ran spotless
jowilco Aug 23, 2024
c4e2513
Added support for the generation of UAX42
jowilco Oct 14, 2024
1bf2b4b
Added note about NFD
jowilco Oct 14, 2024
f17d222
Spotless code cleanup
jowilco Oct 14, 2024
4b204a7
Implemented review comments from eggrobin
jowilco Nov 12, 2024
3cd4ba4
Updates from Marcus's review comments
jowilco Dec 16, 2024
095095f
Merged main
jowilco Feb 6, 2025
cdb405a
Rebase
jowilco Jun 6, 2024
8757b50
Initial checkin for UcdXML
jowilco Jun 6, 2024
42dd048
Interim checkin: implemented groups
jowilco Jun 6, 2024
1bac8b4
Rebase
jowilco Jun 7, 2024
c12f06a
Fixing a broken rebase
jowilco Jun 26, 2024
1026cc0
Added support for comparing different ucdxml files
jowilco Aug 23, 2024
d9ff4e5
Ran spotless
jowilco Aug 23, 2024
531f33c
Added support for the generation of UAX42
jowilco Oct 14, 2024
56c0bd8
Added note about NFD
jowilco Oct 14, 2024
a567758
Spotless code cleanup
jowilco Oct 14, 2024
36d40c6
Implemented review comments from eggrobin
jowilco Nov 12, 2024
8216505
Updates from Marcus's review comments
jowilco Dec 16, 2024
d2d85ff
Merge branch 'ucdxml' of https://github.com/jowilco/unicodetools into…
jowilco Feb 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/unicodedata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Feedback on Unicode data, properties, algorithms
about: Not for reporting bugs or suggestions
title: ''
labels: ''
assignees: ''

---

## Members of UTC/PAG and other Unicoders with access
Please submit an issue in the Unicode-internal PAG repo.

## Otherwise
Please submit feedback via https://www.unicode.org/reporting.html
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/unicodetools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feedback on the internal Unicode Tools code and processes
about: Internal tools used by UTC/PAG
title: ''
labels: ''
assignees: ''

---

(Bugs, suggestions, ideas for internal Unicode Tools code, for its maintainers, their processes, etc.)

(These tools are public and open source but not public deliverables. They are used internally by Unicode maintainers.
Data is published at https://www.unicode.org/Public/ -- feedback: https://www.unicode.org/reporting.html)
67 changes: 57 additions & 10 deletions .github/workflows/build-jsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,26 @@ name: Build JSP
env:
CURRENT_UVERSION: 17.0.0 # FIX_FOR_NEW_VERSION
PREVIOUS_UVERSION: 16.0.0 # not used at present
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get the CLDR_REF from pom.xml
id: cldr_ref
run: echo "CLDR_REF="$(mvn help:evaluate -Dexpression=cldr.version -q -DforceStdout | cut -d- -f3) >> $GITHUB_OUTPUT && cat ${GITHUB_OUTPUT}
Expand All @@ -29,7 +36,7 @@ jobs:
restore-keys: |
cldr
- name: Check out CLDR
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: unicode-org/cldr
path: cldr
Expand All @@ -45,12 +52,16 @@ jobs:
with:
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Fetch Last Resort Font
run: |
wget https://github.com/unicode-org/last-resort-font/releases/latest/download/LastResort-Regular.ttf
mv ./LastResort-Regular.ttf ./UnicodeJsps/src/main/webapp/
# TODO: move this DOWN after JSPs once it works
- name: Regenerate the property cache files
run: >
Expand All @@ -69,10 +80,46 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload UnicodeJsps.war
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: UnicodeJsps
path: UnicodeJsps/target/UnicodeJsps.war
- name: build docker image
run: cd UnicodeJsps && bash update-bidic-ucd.sh && docker build .

- name: Build C Bidi
run: cd UnicodeJsps && bash update-bidic-ucd.sh
- name: Log in to the Container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
if: github.event_name != 'pull_request'
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: UnicodeJsps/
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Build and Docker image (PR)
if: github.event_name == 'pull_request'
id: builddocker
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: UnicodeJsps/
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Generate artifact attestation
if: github.event_name != 'pull_request'
uses: actions/attest-build-provenance@v2
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
4 changes: 4 additions & 0 deletions .github/workflows/cache_retain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
retain-maven-cache:
name: Run all tests with Maven
runs-on: ubuntu-latest
# Only run this on the upstream repo. Otherwise, running in a personal fork will cause
# Github to disable the personal fork copy of the workflow
# (Github complains about running a scheduled workflow on a repo with > 60 days of inactivity)
if: github.ref == 'refs/heads/main' && github.repository == 'unicode-org/unicodetools'
steps:
- name: Checkout and setup
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli-build-instructions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:

- name: Upload UnicodeTestResults artifact
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unicode-test-results
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-jsp-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload UnicodeJsps.war
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: UnicodeJsps
path: UnicodeJsps/target/UnicodeJsps.war
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ perf-*.xml
test-*.xml

# Directories
.idea/
.settings/
.vs/
.vscode/
Expand Down
5 changes: 0 additions & 5 deletions UnicodeJsps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
</dependency>

<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>utilities-for-cldr</artifactId>
</dependency>
<!-- cldr -->
<dependency>
<groupId>org.unicode.cldr</groupId>
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/main/java/org/unicode/jsp/Annotations.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.text.UnicodeSet;
import java.util.Collections;
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/main/java/org/unicode/jsp/BidiCharMap.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** */
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
import com.ibm.icu.text.UnicodeSet;
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/main/java/org/unicode/jsp/Confusables.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.text.Normalizer;
import com.ibm.icu.text.Normalizer.Mode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.dev.util.UnicodeMapIterator;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.UnicodeMapIterator;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.UnicodeSet;
import com.ibm.icu.text.UnicodeSetIterator;
Expand Down
2 changes: 1 addition & 1 deletion UnicodeJsps/src/main/java/org/unicode/jsp/NFM.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import java.util.regex.Pattern;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
import com.ibm.icu.lang.UScript;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Multimap;
import com.google.common.collect.TreeMultimap;
import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.lang.CharSequences;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.Normalizer2;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.CharSequences;
import com.ibm.icu.text.UnicodeSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.text.UnicodeSet;
import java.io.DataInput;
import java.io.IOException;
Expand Down
13 changes: 13 additions & 0 deletions UnicodeJsps/src/main/java/org/unicode/jsp/UnicodeJsp.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,19 @@ public static String getSimpleSet(
String a_out;
a.clear();
try {
if (setA.length() > 4
&& setA.startsWith("[:k")
&& setA.endsWith(":]")
&& setA.contains("=")
&& !setA.substring(2, setA.length() - 2).contains(":]")
&& XPropertyFactory.make()
.getProperty(setA.substring(2, setA.indexOf("=")))
.isMultivalued()) {
throw new Exception(
"POSIX-style queries for multivalued Unihan properties are temporarily disabled. Try \\p{"
+ setA.substring(2, setA.length() - 2)
+ "}");
}
// setA = UnicodeSetUtilities.MyNormalize(setA, Normalizer.NFC);
a.addAll(UnicodeSetUtilities.parseUnicodeSet(setA));
a_out = UnicodeUtilities.getPrettySet(a, abbreviate, escape);
Expand Down
25 changes: 15 additions & 10 deletions UnicodeJsps/src/main/java/org/unicode/jsp/UnicodeUtilities.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.unicode.jsp;

import com.ibm.icu.dev.util.UnicodeMap;
import com.ibm.icu.impl.Row.R4;
import com.ibm.icu.impl.UnicodeMap;
import com.ibm.icu.impl.Utility;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UProperty;
Expand Down Expand Up @@ -1648,6 +1648,7 @@ class PropertyAssignment {
VersionInfo last;
String value;
}
final boolean isMultivalued = getFactory().getProperty(propName).isMultivalued();
List<PropertyAssignment> history = new ArrayList<>();
// TODO(eggrobin): TUP normalization chokes on sufficiently old versions, but this is not
// worth debugging as we want to get rid of it.
Expand Down Expand Up @@ -1732,17 +1733,21 @@ class PropertyAssignment {
out.append(
"<td"
+ defaultClass
+ "><a target='u' "
+ (isNew ? "class='changed' " : "")
+ "href='list-unicodeset.jsp?a=[:"
+ (isCurrent ? "" : "U" + last + ":")
+ propName
+ "="
+ hValue
+ ":]'>"
+ ">"
+ (isMultivalued
? ""
: ("<a target='u' "
+ (isNew ? "class='changed' " : "")
+ "href='list-unicodeset.jsp?a=[:"
+ (isCurrent ? "" : "U" + last + ":")
+ propName
+ "="
+ hValue
+ ":]'>"))
+ versionRange
+ hValue
+ "</a></td>");
+ (isMultivalued ? "" : "</a>")
+ "</td>");
}
}
out.append("</tr>");
Expand Down
Loading
Loading