-
Notifications
You must be signed in to change notification settings - Fork 236
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
[work-in-progress] Decoding BufReader implementation #441
Draft
dralley
wants to merge
8
commits into
tafia:master
Choose a base branch
from
dralley:decoding-reader
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jul 26, 2023
-
Assume UTF-8 for regex matches
This code wouldn't have worked on any other encoding anyway
Configuration menu - View commit details
-
Copy full SHA for 4b6f0c0 - Browse repository at this point
Copy the full SHA 4b6f0c0View commit details -
Add Utf8BytesReader infrastructure
When the source of the bytes isn't UTF-8 (or isn't known to be), the bytes need to be decoded first, or at least validated as such. Wrap 'Read'ers with Utf8BytesReader to ensure this happens. Defer the validating portion for now.
Configuration menu - View commit details
-
Copy full SHA for 9c59d53 - Browse repository at this point
Copy the full SHA 9c59d53View commit details -
This is inside the check! macro, meaning it gets implemented per reader type, but from_reader() doesn't apply to SliceReader
Configuration menu - View commit details
-
Copy full SHA for 4b848b7 - Browse repository at this point
Copy the full SHA 4b848b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a14c1a - Browse repository at this point
Copy the full SHA 8a14c1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b38ea1 - Browse repository at this point
Copy the full SHA 0b38ea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07c3a92 - Browse repository at this point
Copy the full SHA 07c3a92View commit details -
Remove
quick_xml::encoding::Decoder
andReader::decoder()
As quick-xml will pre-decode everything, it is unnecessary.
Configuration menu - View commit details
-
Copy full SHA for daf407e - Browse repository at this point
Copy the full SHA daf407eView commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 22430bc - Browse repository at this point
Copy the full SHA 22430bcView 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.