-
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
Split out namespace aware reader to a struct that manage the internal namespaces buffer #437
Commits on Jul 20, 2022
-
Move buffered and borrowing parts of reader to separate files
This commit only moves code without significant changes (the only changes is: - corrected imports - add imports to the doc comments which have become inaccessible )
Configuration menu - View commit details
-
Copy full SHA for ded1b77 - Browse repository at this point
Copy the full SHA ded1b77View commit details
Commits on Jul 23, 2022
-
Merge
xmlrs_display
intotest_bytes
The following commit will not allow to call `reader.decoder()` while reference to ResolveResult is valid, so we'll need to save decoder before the loop and update it when it could be changed
Configuration menu - View commit details
-
Copy full SHA for 136e77d - Browse repository at this point
Copy the full SHA 136e77dView commit details
Commits on Jul 24, 2022
-
ns: Introduce an
NsReader
struct and move all namespace-related API…… to it This commit only moves code and do not introduce any improvements
Configuration menu - View commit details
-
Copy full SHA for f3c0c1b - Browse repository at this point
Copy the full SHA f3c0c1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a90f83b - Browse repository at this point
Copy the full SHA a90f83bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd6b53 - Browse repository at this point
Copy the full SHA 6dd6b53View commit details -
ns: Add API that allow to not resolve namespaces after each event read
`Deserializer` implementation can buffer events and it will not be able to buffer the `resolve` result because it is bound to the `NsReader`
Configuration menu - View commit details
-
Copy full SHA for 6dc166f - Browse repository at this point
Copy the full SHA 6dc166fView commit details -
ns: Implement namespace reading for borrowed reader
Co-authored-by: Daniel Alley <dalley@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 0759dfd - Browse repository at this point
Copy the full SHA 0759dfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16168e1 - Browse repository at this point
Copy the full SHA 16168e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8759d3a - Browse repository at this point
Copy the full SHA 8759d3aView commit details -
ns: Remove
DerefMut
into Reader because we do not want that user ca……ll non-namespace-aware mutation methods Because `impl DerefMut<Target=Reader> for NsReader` is removed, all Reader's methods that accept `&mut self` won't be available for the NsReader, including configuration methods. Because we need a way to configure our reader, we need to reimplement necessary methods that accepts `&mut self`. In order to not duplicate the code and the doc of this configure methods, they was put into the macro `configure_methods!` and embed to both readers.
Configuration menu - View commit details
-
Copy full SHA for f8bae05 - Browse repository at this point
Copy the full SHA f8bae05View commit details -
ns: Add a note about rules for closing tags
Co-authored-by: Daniel Alley <dalley@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 45be217 - Browse repository at this point
Copy the full SHA 45be217View commit details