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
New IntoUrl trait #177
New IntoUrl trait #177
Commits on Mar 2, 2016
-
Make it possible to define new encode sets in other crates.
SimonSapin committedMar 2, 2016 -
Define encode sets based on another set.
SimonSapin committedMar 2, 2016 -
Remove the HTTP_VALUE encode set. It can be defined in another crate.
See the define_encode_set! macro.
SimonSapin committedMar 2, 2016
Commits on Mar 3, 2016
-
This changes the data structure for `Url`: Rather than having multiple `String` (or `Vec<String>`) components, this uses a single `String` that contains the serialization of an URL and some indices into it to access components in O(1) time. This saves on memory allocations and makes serialization and some other methods very cheap, as they return `&str` rather than building a new `String`. As a consequence, most of `src/lib.rs` and `src/parser.rs` had to be rewritten.
SimonSapin committedMar 3, 2016 -
Remove the dependency on uuid.
SimonSapin committedMar 3, 2016 -
Add URL slicing/indexing by component.
SimonSapin committedMar 3, 2016 -
Add stubs with partial implementation for the WebIDL API.
SimonSapin committedMar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
Optional dependencies *are* Cargo features.
SimonSapin committedMar 3, 2016 -
Make rustc-serialize an optional dependency.
SimonSapin committedMar 3, 2016 -
Rename *{Start,End} posititons to {Before,After}*
SimonSapin committedMar 3, 2016 -
Replace from_hex() with char::to_digit(16)
SimonSapin committedMar 3, 2016 -
Make percent-decoding an iterator.
SimonSapin committedMar 3, 2016 -
Make percent-encoding an iterator.
SimonSapin committedMar 3, 2016 -
Add percent-encoding convienience wrappers.
SimonSapin committedMar 3, 2016 -
Update tests from https://github.com/w3c/web-platform-tests/blob/mast…
…er/url/ Parser changes correspond to spec changes.
SimonSapin committedMar 3, 2016 -
Remove unused ParseError variants
SimonSapin committedMar 3, 2016 -
Make context a field of Parser.
SimonSapin committedMar 3, 2016 -
Remove the redundant is_relative field.
SimonSapin committedMar 3, 2016 -
Add Url::domain and Url::ip_address
SimonSapin committedMar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
Add Unicode and ASCII serializations of origins
SimonSapin committedMar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
Make Url::parse_with usable. (EncodingOverride is private.)
SimonSapin committedMar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
More consistent checks for URL with authority or path-only.
SimonSapin committedMar 3, 2016 -
Re-export OpaqueOrigin. It is exposed publicly through Origin::Opaque
SimonSapin committedMar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -
SimonSapin committed
Mar 3, 2016 -