-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
wip: string overhaul #24439
Closed
Closed
wip: string overhaul #24439
Commits on Dec 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1917811 - Browse repository at this point
Copy the full SHA 1917811View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80cb480 - Browse repository at this point
Copy the full SHA 80cb480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40ac089 - Browse repository at this point
Copy the full SHA 40ac089View commit details -
iswellformed(c::Char) to test if
c
represents a code pointThis allows testing before attempting to decode `c` which we use in a number of places to handle malformed UTF-8 data correctly.
Configuration menu - View commit details
-
Copy full SHA for 8ba3bba - Browse repository at this point
Copy the full SHA 8ba3bbaView commit details -
remove internal chomp! function
this function was always dangerous and has been equivalent to `chomp` since the `String` representation change introduced in Julia 0.6
Configuration menu - View commit details
-
Copy full SHA for 2aa2c8c - Browse repository at this point
Copy the full SHA 2aa2c8cView commit details -
convert(String, ::Vector{Char}): don't normalize surrogate pairs
we're in a new era where Julia tries as hard as it can to pass text data through intact rather than trying to guess what you meant. to that end, when converting a vector of characters to a `String` we no longer detect and combine surrogate pairs. there can be a utility function to do that kind of normalization on strings, but it's not the job of the basic string code.
Configuration menu - View commit details
-
Copy full SHA for 806441e - Browse repository at this point
Copy the full SHA 806441eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ab5eef - Browse repository at this point
Copy the full SHA 5ab5eefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08656a3 - Browse repository at this point
Copy the full SHA 08656a3View commit details -
iswellformed => !ismalformed; make test stricter
despite generally trying to avoid double negatives, it seems that "malformed" is the clearer and more common concept to test for here. it was also a bit confusing to have `MalformedCharError` but then have `iswellformed` as the predicate instead of `ismalformed`. testing for well-formedness more strictly doesn't seem to add too much complexity here; if performance becomes an issue, we'll need a `@inbounds`-like annotation anyway.
Configuration menu - View commit details
-
Copy full SHA for b8f7306 - Browse repository at this point
Copy the full SHA b8f7306View commit details -
Configuration menu - View commit details
-
Copy full SHA for 747ce23 - Browse repository at this point
Copy the full SHA 747ce23View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1e83e8 - Browse repository at this point
Copy the full SHA d1e83e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1972d46 - Browse repository at this point
Copy the full SHA 1972d46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0024056 - Browse repository at this point
Copy the full SHA 0024056View commit details -
Configuration menu - View commit details
-
Copy full SHA for a84e666 - Browse repository at this point
Copy the full SHA a84e666View commit details -
This reverts commit bc7f25d83165fe4be209d6485406604c762930dd.
Configuration menu - View commit details
-
Copy full SHA for 358ce5d - Browse repository at this point
Copy the full SHA 358ce5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 912779e - Browse repository at this point
Copy the full SHA 912779eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbbee08 - Browse repository at this point
Copy the full SHA cbbee08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a22a96 - Browse repository at this point
Copy the full SHA 8a22a96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 829aba2 - Browse repository at this point
Copy the full SHA 829aba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2d231b - Browse repository at this point
Copy the full SHA b2d231bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f82c793 - Browse repository at this point
Copy the full SHA f82c793View commit details -
Configuration menu - View commit details
-
Copy full SHA for c55cca0 - Browse repository at this point
Copy the full SHA c55cca0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68467ad - Browse repository at this point
Copy the full SHA 68467adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29dc1c3 - Browse repository at this point
Copy the full SHA 29dc1c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d68eb07 - Browse repository at this point
Copy the full SHA d68eb07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fadfb0 - Browse repository at this point
Copy the full SHA 2fadfb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aad731 - Browse repository at this point
Copy the full SHA 5aad731View commit details -
Configuration menu - View commit details
-
Copy full SHA for cad41c5 - Browse repository at this point
Copy the full SHA cad41c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f849593 - Browse repository at this point
Copy the full SHA f849593View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61dbb90 - Browse repository at this point
Copy the full SHA 61dbb90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 931b289 - Browse repository at this point
Copy the full SHA 931b289View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0794487 - Browse repository at this point
Copy the full SHA 0794487View commit details -
Configuration menu - View commit details
-
Copy full SHA for b674bc1 - Browse repository at this point
Copy the full SHA b674bc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b802606 - Browse repository at this point
Copy the full SHA b802606View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d414fd - Browse repository at this point
Copy the full SHA 8d414fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 120f9ca - Browse repository at this point
Copy the full SHA 120f9caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1861238 - Browse repository at this point
Copy the full SHA 1861238View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c722f1 - Browse repository at this point
Copy the full SHA 1c722f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e54e4c0 - Browse repository at this point
Copy the full SHA e54e4c0View commit details
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.