-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix weightless code point handling in IndexOf and friends, plus other CompareInfo improvements #1514
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
Merged
GrabYourPitchforks
merged 34 commits into
dotnet:master
from
GrabYourPitchforks:string_replace
Apr 24, 2020
Merged
Fix weightless code point handling in IndexOf and friends, plus other CompareInfo improvements #1514
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
54f1679
Create spanified overloads of CompareInfo APIs
GrabYourPitchforks 864c28a
Plumb through more CompareInfo APIs
GrabYourPitchforks 273a92f
Plumb MemoryExtensions through new CompareInfo public APIs
GrabYourPitchforks ff709a0
Cleanup CompareInfo.IsSortable, use mostly safe code
GrabYourPitchforks 4e68767
Plumb CompareInfo.IsPrefix/IsSuffix through span-based APIs
GrabYourPitchforks 7c4bc13
Plumb CompareInfo.IndexOf atop span-based APIs
GrabYourPitchforks 521e735
Rewrite CompareInfo.Compare in terms of Span
GrabYourPitchforks 25bd0d8
Plumb CompareInfo.GetHashCode through Span versions
GrabYourPitchforks 4d1d3f0
Plumb CompareInfo.LastIndexOf through the Span APIs
GrabYourPitchforks 555566d
Plumb string.Replace through spanified code paths
GrabYourPitchforks bf8209f
Plumb string.[Last]IndexOf through CompareInfo always
GrabYourPitchforks ed180c0
Remove workaround for #8890
GrabYourPitchforks c25e5c1
Add ref asms
GrabYourPitchforks b913b03
Return 'matched length' on Unix, remove dead code
GrabYourPitchforks cfbd8d3
Fill in CompareInfo.IsPrefix|Suffix tests
GrabYourPitchforks 25868a6
More CompareInfo test additions
GrabYourPitchforks b30e6cf
Work around ICU usearch_* handling empty inputs incorrectly
GrabYourPitchforks b757f05
Drop 'new' prefix on newly introduced methods
GrabYourPitchforks 3d1f14b
Remove spurious WindowsRuntime reference
GrabYourPitchforks 1df99ad
Merge remote-tracking branch 'origin/master' into string_replace_2
GrabYourPitchforks e4ceb18
Remove outdated CoreFx.Private.TestUtilities.Unicode references
GrabYourPitchforks 3bae3b4
Merge commit 'e4ceb18' into string_replace_2
GrabYourPitchforks 39773f9
Merge remote-tracking branch 'origin/master' into string_replace_2
GrabYourPitchforks 054366c
Merge remote-tracking branch 'origin/master' into string_replace_2
GrabYourPitchforks c34a329
PR feedback
GrabYourPitchforks 880fb63
Fix buffer overrun in ICU
GrabYourPitchforks fc1fff3
Fix weightless comparison bug in ICU EndsWith
GrabYourPitchforks 53c83ae
Account for LastIndexOf differences between NLS and ICU
GrabYourPitchforks 890fe28
Fix implicit null string to empty span conversion in tests
GrabYourPitchforks 0bacd52
Patch memory leak in ComplexEndsWith
GrabYourPitchforks 64e531a
Fix bad span test in StringTests
GrabYourPitchforks 5747c45
Work around ICU nullptr bug
GrabYourPitchforks 8647570
Implement workaround for Win7 LCMapStringEx bug
GrabYourPitchforks 276cdd3
Rename CompareInfo.GetSortKey output parameter to 'destination'
GrabYourPitchforks 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 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
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.