Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable locale macro to support single unicode key value pair extension #2382

Merged
merged 8 commits into from
Aug 18, 2022

Conversation

pdogr
Copy link
Contributor

@pdogr pdogr commented Aug 16, 2022

PR 2/2 to fix #2191

@pdogr pdogr requested review from sffc and robertbastian August 16, 2022 18:19
@pdogr pdogr marked this pull request as ready for review August 16, 2022 18:19
Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

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

Cool!

components/locid/src/extensions/mod.rs Outdated Show resolved Hide resolved
components/locid/src/extensions/unicode/keywords.rs Outdated Show resolved Hide resolved
utils/litemap/src/map.rs Outdated Show resolved Hide resolved
components/locid/src/extensions/unicode/mod.rs Outdated Show resolved Hide resolved
components/locid/src/parser/langid.rs Show resolved Hide resolved
components/locid/src/extensions/mod.rs Show resolved Hide resolved
components/locid/src/macros.rs Show resolved Hide resolved
Copy link
Member

@robertbastian robertbastian left a comment

Choose a reason for hiding this comment

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

Just some small things, although I agree with what Shane commented

components/locid/src/macros.rs Outdated Show resolved Hide resolved
utils/litemap/src/map.rs Outdated Show resolved Hide resolved
utils/litemap/src/map.rs Outdated Show resolved Hide resolved
components/locid/src/extensions/mod.rs Show resolved Hide resolved
pdogr added 2 commits August 17, 2022 13:50
Rename `LiteMap::from_store_unchecked` to
`LiteMap::from_sorted_store_unchecked`

Use `Unicode::single_unicode` when some keyword is parsed
with `from_sorted_store_unchecked`

Regenerate testdata files using `cargo make testdata`
@pdogr pdogr requested a review from a team as a code owner August 18, 2022 10:34
robertbastian
robertbastian previously approved these changes Aug 18, 2022
@robertbastian robertbastian requested a review from sffc August 18, 2022 14:50
components/locid/src/macros.rs Outdated Show resolved Hide resolved
components/locid/src/macros.rs Outdated Show resolved Hide resolved
utils/litemap/src/map.rs Show resolved Hide resolved
pdogr and others added 2 commits August 18, 2022 21:20
Co-authored-by: Shane F. Carr <shane@unicode.org>
Add comment of sorted store in Litemap::from_sorted_store_unchecked
@sffc sffc merged commit 56eaf09 into unicode-org:main Aug 18, 2022
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.

Migrate Unicode Extension Keywords to ShortVec and improve macro
3 participants