-
Notifications
You must be signed in to change notification settings - Fork 33
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
UTF-16 support #109
Merged
Merged
UTF-16 support #109
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
e30d741
[utf-16] Create a TextSource trait to be the abstract interface to te…
jfkthame a9eb4ae
[utf-16] Adapt explicit.rs to use the TextSource trait.
jfkthame f9affd5
[utf-16] Adapt implicit.rs to use the TextSource trait.
jfkthame 5ba5638
[utf-16] Factor out the processing in InitialInfo to use a TextSource…
jfkthame 29cae27
[utf-16] Refactor BidiInfo to move algorithms into helper functions.
jfkthame 666b5ce
[utf-16] Factor out work from Paragraph into a helper function.
jfkthame 229ec5a
[utf-16] Create a UTF-16 version of InitialInfo.
jfkthame 3a3b1d0
[utf-16] Create a UTF-16 version of BidiInfo.
jfkthame 1f53093
[utf-16] Create a UTF-16 version of Paragraph.
jfkthame 3656603
[utf-16] Duplicate testcases to exercise the UTF-16 APIs.
jfkthame f04d399
[utf-16] Check the BidiInfoU16 vs BidiInfo results in test_basic_conf…
jfkthame 0bc8c03
[utf-16] Add UTF-16 versions of benches.
jfkthame 6fb622d
[utf-16] Manually implement sealed-trait pattern for TextSource.
jfkthame 005e92e
[utf-16] Explicitly use core::char to resolve compilation failure in …
jfkthame c3d82dc
[utf-16] Fix tests to be compatible with 1.36.0
jfkthame 74a631e
[utf-16] Don't expose ...U16 types in the base module, just make the …
jfkthame 7866637
[utf-16] Use char_indices() to iterate in identify_bracket_pairs().
jfkthame 69aba46
fixup! [utf-16] Refactor BidiInfo to move algorithms into helper func…
jfkthame 52cc9ee
fixup! [utf-16] Don't expose ...U16 types in the base module, just ma…
jfkthame ccda52f
[utf-16] Move iterator bounds to the TextSource trait
jfkthame 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
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.
nit: all of these bounds should live on the TextSource trait, not on all these where clauses