-
Notifications
You must be signed in to change notification settings - Fork 673
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
Partially Addresses #2616. Support combining sequences that don't normalize #2932
Merged
tig
merged 21 commits into
gui-cs:v2_develop
from
BDisp:v2_combining-normalize-fix_2616
Oct 29, 2023
Merged
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
0436019
Fixes #2616. Support combining sequences that don't normalize
BDisp f1a8308
Merge branch 'v2_develop' into v2_combining-normalize-fix_2616
tig 475a89e
Decouples Application from ConsoleDriver in TestHelpers
tig 860ceb1
Updates driver tests to match new arch
tig 5e3edce
Start on making all driver tests test all drivers
tig 3867df4
Merge pull request #161 from tig/BDisp-v2_combining-normalize-fix_2616
BDisp fc26a31
Improves handling if combining marks.
BDisp b491845
Fix unit tests fails.
BDisp f555243
Fix unit tests fails.
BDisp 917a84f
Fix merge conflicts.
BDisp 6f99b09
Handling combining mask.
BDisp cda0f01
Tying to fix this unit test that sometimes fail.
BDisp 0293f6a
Add support for combining mask on NetDriver.
BDisp 41cd364
Enable CombiningMarks as List<Rune>.
BDisp 877190b
Prevents combining marks on invalid runes default and space.
BDisp abcc5f9
Merge branch 'v2_develop' into v2_combining-normalize-fix_2616
tig 0e9b036
Formatting for CI tests.
BDisp 621c68a
Fix non-normalized combining mark to add 1 to Col.
BDisp 9a9e970
Reformatting for retest the CI.
BDisp 6893af5
Forces non-normalized CMs to be ignored.
tig 45e0d0d
Merge pull request #162 from tig/BDisp-v2_combining-normalize-fix_2616
BDisp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not sufficient. Many, many, characters cannot be combined with a combining mark, not just ' '. Try, for example
[
.WT (and other platforms) have sophisticated algorithms for figuring out whether a combining mark can combine with a base character. I am trying to find more details on these to see what we can do.
You can easily test this in WT and PS with (Caskadia Cove Nerd Font):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tig I only had to do that because of the
CharacterMap
scenario using the space to separate the runes to avoid incorrect output. I don't have enough knowledge to do better.