Repository navigation
<format>: Add grapheme clusterization support for width computation - #2119
Merged
Stephan T. Lavavej (StephanTLavavej) merged 71 commits intoApr 27, 2022
Merged
Stephan T. Lavavej (StephanTLavavej) merged 71 commits into
Stephan T. Lavavej (StephanTLavavej) merged 71 commits into
Conversation
Stephan T. Lavavej (StephanTLavavej)
requested changes
Aug 21, 2021
added 23 commits
September 13, 2021 17:51
This comment was marked as resolved.
This comment was marked as resolved.
added 5 commits
March 30, 2022 16:08
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Member
|
Stephan T. Lavavej (StephanTLavavej)
approved these changes
Apr 23, 2022
nicole mazzuca (strega-nil-ms)
approved these changes
Apr 23, 2022
nicole mazzuca (strega-nil-ms)
left a comment
Contributor
There was a problem hiding this comment.
Looks reasonable, just some small nits (and a terrified comment)
Stephan T. Lavavej (StephanTLavavej)
approved these changes
Apr 23, 2022
Member
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Stephan T. Lavavej (StephanTLavavej)
dismissed
Casey Carter (CaseyCarter)’s stale review
April 27, 2022 01:46
Casey approved internal mirror MSVC-PR-395673, feedback addressed
Member
😻 🎉 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
_Measure_string_prefixto count only the first character of each unicode extended grapheme cluster (untailored) as defined in UAX29 and using the Unicode 13 data files (included intools/unicode_properties_parse). This new processing is only turned on for the "statically UTF-8" case, and not when the system codepage is set to UTF-8, this could be improved in the future, although arguably leads to more consistent behavior._Fmt_codecis adapted to use the new unicode parsing functions, this makes it more robust against malformed (in particular truncated) UTF-8._Parse_alignstill gets only the number of code units in the alignment character, so it will copy an entire malformed subsequence to the format specs, not a U+FFFD replacement (this is not tested)._Decode_utffunction forchar32_tinputs, this is to facilitate testing, but could be removed without too much trouble (after modifying the test generator to encode its output).Future improvements:
closes: #1945