Skip to content

ICU-20834 Implement UTS35 Locale ID Canonicalization - #951

Merged
FrankYFTang merged 1 commit into
unicode-org:masterfrom
FrankYFTang:ICU-20834
Feb 12, 2020
Merged

FrankYFTang merged 1 commit into
unicode-org:masterfrom
FrankYFTang:ICU-20834

Conversation

@FrankYFTang

Copy link
Copy Markdown
Contributor

Implement UTS35 Locale ID Canonicalization

Checklist

@FrankYFTang

Copy link
Copy Markdown
Contributor Author

Please see my listing of test cases in https://docs.google.com/document/d/1niAeTYjhm3gPl8bpnynyHrcFVPXdpYHoO4rA4OIcWvw/edit

Please review that document first and put in your comments if you believe the expectation some of the are incorrect.

@jira-pull-request-webhook

Copy link
Copy Markdown

Notice: the branch changed across the force-push!

  • icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/GlobalizationPreferencesTest.java is now changed in the branch

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@jira-pull-request-webhook

Copy link
Copy Markdown

Notice: the branch changed across the force-push!

  • icu4c/source/common/locid.cpp is different
  • icu4c/source/test/intltest/loctest.cpp is different
  • icu4j/main/classes/core/src/com/ibm/icu/util/ULocale.java is different
  • icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ULocaleTest.java is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@jira-pull-request-webhook

Copy link
Copy Markdown

Hooray! The files in the branch are the same across the force-push. 😃

~ Your Friendly Jira-GitHub PR Checker Bot

@jira-pull-request-webhook

Copy link
Copy Markdown

Notice: the branch changed across the force-push!

  • icu4c/source/common/locid.cpp is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@jira-pull-request-webhook

Copy link
Copy Markdown

Notice: the branch changed across the force-push!

  • icu4j/main/classes/core/src/com/ibm/icu/impl/PluralRulesLoader.java is now changed in the branch

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@jira-pull-request-webhook

Copy link
Copy Markdown

Notice: the branch changed across the force-push!

  • icu4c/source/common/locid.cpp is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@jira-pull-request-webhook

Copy link
Copy Markdown

Notice: the branch changed across the force-push!

  • icu4c/source/common/locid.cpp is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@FrankYFTang

Copy link
Copy Markdown
Contributor Author

ping

FrankYFTang added a commit to FrankYFTang/icu that referenced this pull request Jan 3, 2020
@jira-pull-request-webhook

Copy link
Copy Markdown

Hooray! The files in the branch are the same across the force-push. 😃

~ Your Friendly Jira-GitHub PR Checker Bot

@jira-pull-request-webhook

Copy link
Copy Markdown

Notice: the branch changed across the force-push!

  • icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ULocaleTest.java is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@FrankYFTang

Copy link
Copy Markdown
Contributor Author

Ping

@markusicu markusicu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got a start on the review but got busy with the UTC meeting... will continue with locid.h

Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/unicode/locid.h Resolved
Comment thread icu4c/source/test/intltest/loctest.cpp Resolved
@FrankYFTang

Copy link
Copy Markdown
Contributor Author

PTAL

Comment thread icu4c/source/common/locid.cpp Resolved

@markusicu markusicu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple of quick replies, will look once more

@markusicu markusicu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few more small items

Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/common/locid.cpp Resolved
Comment thread icu4c/source/test/intltest/loctest.cpp Resolved

@markusicu markusicu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm pse squash

@jira-pull-request-webhook

Copy link
Copy Markdown

Hooray! The files in the branch are the same across the force-push. 😃

~ Your Friendly Jira-GitHub PR Checker Bot

@markusicu markusicu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm tnx

@FrankYFTang
FrankYFTang merged commit 6ea0fc7 into unicode-org:master Feb 12, 2020
@FrankYFTang
FrankYFTang deleted the ICU-20834 branch February 12, 2020 06:44
kishiguro pushed a commit to kishiguro/icu that referenced this pull request Jun 16, 2020
ICU 67.1 migration caused 30ms startup performance regression because
the new code to implement UTS35 Locale ID Canonicalization
unicode-org/icu#951
(but later prove incomplete due to UTS35 / CLDR spec inconsistency
issue) use ures_openDirect and "the increased time is likely due to
increased paging in ICU data from disk on cold start."

To help relanding the ICU67.1 ASAP without risking the startup
performance regression, #ifdef 0 out that part of code (in PR 951).
This is a temp fix to make other part of the chrome to use ICU67.1 (for
example new timezone update) w/o the startup regression.

Bug: 1080367
Change-Id: Ia3c4acfa0782705d7cccb4e2c32541c747ea7bd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/2220773
Reviewed-by: Frank Tang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants