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
Version 1.0, rewrite the data structure and API #176
Merged
+9,345
−3,259
Move webidl.rs to Servo.
ef0a1b2
Select commit
83f4b9e
Split IDNA into a separate crate.
SimonSapin e0e60e9
IDNA: One test in the test harness per test case.
SimonSapin 46acea9
Make it possible to define new encode sets in other crates.
SimonSapin 87ee434
Define encode sets based on another set.
SimonSapin 4ec32fa
Remove the HTTP_VALUE encode set. It can be defined in another crate.
SimonSapin 9e759f1
Rewrite ALL THE THINGS!
SimonSapin 2972218
Remove the dependency on uuid.
SimonSapin 162e23f
Add URL slicing/indexing by component.
SimonSapin fa70482
Add stubs with partial implementation for the WebIDL API.
SimonSapin 46d9fc9
Shorter Cargo.toml syntax.
SimonSapin b6686eb
serde_serialization -> serde
SimonSapin 7517c8d
Make rustc-serialize an optional dependency.
SimonSapin 7881aa5
Rename *{Start,End} posititons to {Before,After}*
SimonSapin a880bd3
Replace from_hex() with char::to_digit(16)
SimonSapin 6db8b84
Make percent-decoding an iterator.
SimonSapin a3210b9
Make percent-encoding an iterator.
SimonSapin 6fadafa
Add percent-encoding convienience wrappers.
SimonSapin 1c9fb2f
Update tests from https://github.com/w3c/web-platform-tests/blob/mast…
SimonSapin f59870f
Remove Url::has_host
SimonSapin 42b57d3
Remove unused ParseError variants
SimonSapin 194da72
Make context a field of Parser.
SimonSapin 31bde79
Remove the redundant is_relative field.
SimonSapin 5364f2b
Add Url::domain and Url::ip_address
SimonSapin 1afe54f
Implement ToSocketAddrs
SimonSapin 21db81f
Remove Url::ip_address for now
SimonSapin 1a22a90
Add Unicode and ASCII serializations of origins
SimonSapin 8eba0ce
Test WebIdl::origin
SimonSapin 44b601b
Add a fragment setter
SimonSapin 0ac1ac5
Add a query setter.
SimonSapin ec1e55d
Make Url::parse_with usable. (EncodingOverride is private.)
SimonSapin 0e5e27c
Add Origin::is_tuple
SimonSapin 1813290
More consistent checks for URL with authority or path-only.
SimonSapin aaa1540
Re-export OpaqueOrigin. It is exposed publicly through Origin::Opaque
SimonSapin c9e687c
Add a scheme setter
SimonSapin 0c30434
Add host setters.
SimonSapin f8f9176
More setters
SimonSapin 5425385
Add a path setter
SimonSapin fc9a1db
Username and passowrd setters
SimonSapin 8306485
More WebIDL implementations.
SimonSapin 06f2faf
Port setters
SimonSapin a1f389f
All setters.
SimonSapin cb61d43
Replase set_ipv{4,6}_host with set_ip_host taking IpAddr.
SimonSapin 450af0e
Maintain the invariant that an URL can not be both non-relative and s…
SimonSapin 4ee7681
Add Url::into_string
SimonSapin 9bf2c60
Rename non-relative to cannot-be-a-base, per upcoming spec change.
SimonSapin ca6a4ae
Remove some `unsafe` blocks.
SimonSapin 6830dec
Back to the builder pattern after all.
SimonSapin b4bbaaa
Docs
SimonSapin ef0a1b2
Move webidl.rs to Servo.
SimonSapin d0c2bc2
One unit tests crate.
SimonSapin 8813343
Percent-encoding yields `&str` instead of `char`.
SimonSapin 988494d
Replace {lossy_,}utf8_percent_decode with percent_decode().decode_utf…
SimonSapin 31cdce5
form_urlencoded::parse returns an iterator.
SimonSapin 837a8da
Introduce "output encoding", per spec.
SimonSapin 507ff3f
Self
SimonSapin 8e6418a
Don’t take time to run 0 in-crate unit tests
SimonSapin d3e9824
Cow wrangling. (Reduce allocations/copying.)
SimonSapin bea7a48
form_urlencoded::Serializer is a "stateful" object.
SimonSapin 6f716e1
Add Url::mutate_query_pairs
SimonSapin 125cf96
Method chaining
SimonSapin 2375850
Backport to Rust 1.7
SimonSapin 6c6386d
Url::mutate_query_pairs return a value with Drop rather than take a c…
SimonSapin dd2d1ea
Rename append_pairs to append_pair_iter
SimonSapin 224aee6
Add form_urlencoded::Parse::into_owned
SimonSapin f4bd6e5
Check invariants during tests.
SimonSapin 0cd4d36
Rename test crates.
SimonSapin e8df8a3
Prepare for more than one kind of data-driven test.
SimonSapin 8685112
Bring back urlutils.rs / webidl.rs after all
SimonSapin 92eb5a6
Test harness for setters.
SimonSapin 81779d5
Add protocol setter tests.
SimonSapin eb4d9b1
Username setter tests and fixes.
SimonSapin 777413d
Password setter tests and fixes
SimonSapin 42e608e
host setter tests and fixes
SimonSapin e65ece7
Add hostname setter tests
SimonSapin 26bdb3a
Port setter tests and fixes
SimonSapin 680d93c
pathname setter tests and fixes
SimonSapin de99ede
Add search setter tests
SimonSapin d6da85d
Add tests for hash setter.
SimonSapin 1fdd019
Rename append_pair_iter to extend_pairs
SimonSapin 8bc3285
Typo fix.
SimonSapin adba760
Copyright date
SimonSapin cd9fda8
Fix/clarify comments, and add a debug_assert!
SimonSapin 806bab0
form_urlencoded::Parse::into_owned returns a dedicated type
SimonSapin 9602247
Use an atomic counter rather than allocation to make opaque origin un…
SimonSapin 3f92946
Fewer magic numbers.
SimonSapin e403579
More detailed error type for Url::set_host
SimonSapin f6996c8
Have a single `impl Url` block with public methods.
SimonSapin 18c0806
1.0.0
SimonSapin 4a59d93
Let’s not try to manually maintain a list of authors.
SimonSapin
Merged
Version 1.0, rewrite the data structure and API #176
Move webidl.rs to Servo.
Mar 30, 2016
Mar 30, 2016
Dec 4, 2015
Dec 4, 2015
Dec 4, 2015
Dec 9, 2015
Feb 8, 2016
Feb 8, 2016
Feb 8, 2016
Feb 8, 2016
Feb 8, 2016
Feb 8, 2016
Feb 9, 2016
Feb 9, 2016
Feb 9, 2016
Feb 9, 2016
Feb 9, 2016
Feb 10, 2016
Feb 11, 2016
Feb 12, 2016
Feb 11, 2016
Feb 15, 2016
Feb 15, 2016
Feb 15, 2016
Feb 15, 2016
Feb 16, 2016
Feb 16, 2016
Feb 11, 2016
Feb 12, 2016
Feb 19, 2016
Feb 19, 2016
Feb 19, 2016
Feb 19, 2016
Feb 19, 2016
Feb 19, 2016
Feb 23, 2016
Feb 26, 2016
Feb 26, 2016
Feb 26, 2016
Mar 1, 2016
Mar 1, 2016
Mar 23, 2016
Mar 23, 2016
Mar 23, 2016
Mar 23, 2016
Mar 23, 2016
Mar 24, 2016
Mar 24, 2016
Mar 25, 2016
Mar 30, 2016
Apr 1, 2016
Apr 1, 2016
Apr 1, 2016
Apr 2, 2016
Apr 2, 2016
Apr 2, 2016
Apr 2, 2016
Apr 2, 2016
Apr 2, 2016
Apr 2, 2016
Apr 2, 2016
Apr 3, 2016
Apr 3, 2016
Apr 8, 2016
Apr 4, 2016
Apr 8, 2016
Apr 8, 2016
Apr 8, 2016
Apr 8, 2016
Apr 12, 2016
Apr 12, 2016
Apr 12, 2016
Apr 13, 2016
Apr 13, 2016
Apr 13, 2016
Apr 13, 2016
Apr 13, 2016
Apr 13, 2016
Apr 19, 2016
Apr 19, 2016
Apr 19, 2016
Apr 19, 2016
Apr 19, 2016
Apr 19, 2016
Apr 20, 2016
Apr 20, 2016
Apr 20, 2016
Apr 20, 2016
Apr 20, 2016
ef0a1b2
Select commit
83f4b9e
Split IDNA into a separate crate.
SimonSapin e0e60e9
IDNA: One test in the test harness per test case.
SimonSapin 46acea9
Make it possible to define new encode sets in other crates.
SimonSapin 87ee434
Define encode sets based on another set.
SimonSapin 4ec32fa
Remove the HTTP_VALUE encode set. It can be defined in another crate.
SimonSapin 9e759f1
Rewrite ALL THE THINGS!
SimonSapin 2972218
Remove the dependency on uuid.
SimonSapin 162e23f
Add URL slicing/indexing by component.
SimonSapin fa70482
Add stubs with partial implementation for the WebIDL API.
SimonSapin 46d9fc9
Shorter Cargo.toml syntax.
SimonSapin b6686eb
serde_serialization -> serde
SimonSapin 7517c8d
Make rustc-serialize an optional dependency.
SimonSapin 7881aa5
Rename *{Start,End} posititons to {Before,After}*
SimonSapin a880bd3
Replace from_hex() with char::to_digit(16)
SimonSapin 6db8b84
Make percent-decoding an iterator.
SimonSapin a3210b9
Make percent-encoding an iterator.
SimonSapin 6fadafa
Add percent-encoding convienience wrappers.
SimonSapin 1c9fb2f
Update tests from https://github.com/w3c/web-platform-tests/blob/mast…
SimonSapin f59870f
Remove Url::has_host
SimonSapin 42b57d3
Remove unused ParseError variants
SimonSapin 194da72
Make context a field of Parser.
SimonSapin 31bde79
Remove the redundant is_relative field.
SimonSapin 5364f2b
Add Url::domain and Url::ip_address
SimonSapin 1afe54f
Implement ToSocketAddrs
SimonSapin 21db81f
Remove Url::ip_address for now
SimonSapin 1a22a90
Add Unicode and ASCII serializations of origins
SimonSapin 8eba0ce
Test WebIdl::origin
SimonSapin 44b601b
Add a fragment setter
SimonSapin 0ac1ac5
Add a query setter.
SimonSapin ec1e55d
Make Url::parse_with usable. (EncodingOverride is private.)
SimonSapin 0e5e27c
Add Origin::is_tuple
SimonSapin 1813290
More consistent checks for URL with authority or path-only.
SimonSapin aaa1540
Re-export OpaqueOrigin. It is exposed publicly through Origin::Opaque
SimonSapin c9e687c
Add a scheme setter
SimonSapin 0c30434
Add host setters.
SimonSapin f8f9176
More setters
SimonSapin 5425385
Add a path setter
SimonSapin fc9a1db
Username and passowrd setters
SimonSapin 8306485
More WebIDL implementations.
SimonSapin 06f2faf
Port setters
SimonSapin a1f389f
All setters.
SimonSapin cb61d43
Replase set_ipv{4,6}_host with set_ip_host taking IpAddr.
SimonSapin 450af0e
Maintain the invariant that an URL can not be both non-relative and s…
SimonSapin 4ee7681
Add Url::into_string
SimonSapin 9bf2c60
Rename non-relative to cannot-be-a-base, per upcoming spec change.
SimonSapin ca6a4ae
Remove some `unsafe` blocks.
SimonSapin 6830dec
Back to the builder pattern after all.
SimonSapin b4bbaaa
Docs
SimonSapin ef0a1b2
Move webidl.rs to Servo.
SimonSapin d0c2bc2
One unit tests crate.
SimonSapin 8813343
Percent-encoding yields `&str` instead of `char`.
SimonSapin 988494d
Replace {lossy_,}utf8_percent_decode with percent_decode().decode_utf…
SimonSapin 31cdce5
form_urlencoded::parse returns an iterator.
SimonSapin 837a8da
Introduce "output encoding", per spec.
SimonSapin 507ff3f
Self
SimonSapin 8e6418a
Don’t take time to run 0 in-crate unit tests
SimonSapin d3e9824
Cow wrangling. (Reduce allocations/copying.)
SimonSapin bea7a48
form_urlencoded::Serializer is a "stateful" object.
SimonSapin 6f716e1
Add Url::mutate_query_pairs
SimonSapin 125cf96
Method chaining
SimonSapin 2375850
Backport to Rust 1.7
SimonSapin 6c6386d
Url::mutate_query_pairs return a value with Drop rather than take a c…
SimonSapin dd2d1ea
Rename append_pairs to append_pair_iter
SimonSapin 224aee6
Add form_urlencoded::Parse::into_owned
SimonSapin f4bd6e5
Check invariants during tests.
SimonSapin 0cd4d36
Rename test crates.
SimonSapin e8df8a3
Prepare for more than one kind of data-driven test.
SimonSapin 8685112
Bring back urlutils.rs / webidl.rs after all
SimonSapin 92eb5a6
Test harness for setters.
SimonSapin 81779d5
Add protocol setter tests.
SimonSapin eb4d9b1
Username setter tests and fixes.
SimonSapin 777413d
Password setter tests and fixes
SimonSapin 42e608e
host setter tests and fixes
SimonSapin e65ece7
Add hostname setter tests
SimonSapin 26bdb3a
Port setter tests and fixes
SimonSapin 680d93c
pathname setter tests and fixes
SimonSapin de99ede
Add search setter tests
SimonSapin d6da85d
Add tests for hash setter.
SimonSapin 1fdd019
Rename append_pair_iter to extend_pairs
SimonSapin 8bc3285
Typo fix.
SimonSapin adba760
Copyright date
SimonSapin cd9fda8
Fix/clarify comments, and add a debug_assert!
SimonSapin 806bab0
form_urlencoded::Parse::into_owned returns a dedicated type
SimonSapin 9602247
Use an atomic counter rather than allocation to make opaque origin un…
SimonSapin 3f92946
Fewer magic numbers.
SimonSapin e403579
More detailed error type for Url::set_host
SimonSapin f6996c8
Have a single `impl Url` block with public methods.
SimonSapin 18c0806
1.0.0
SimonSapin 4a59d93
Let’s not try to manually maintain a list of authors.
SimonSapin