Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-12 | Fix bugs in validating numbers of IPv6 address groups | Richard Walters | |
2020-10-12 | Replace lazy_static! with once_cell::sync::Lazy | Richard Walters | |
2020-10-12 | Remove unused statics | Richard Walters | |
2020-10-12 | Rust refactoring | Richard Walters | |
* Move decode_element out of Uri impl. * Rewrite encode_element to be more functional. * Add test for empty port number. | |||
2020-10-12 | Rust refactoring | Richard Walters | |
* Dismiss todos. * Remove unused parens for multi-line ifs. * Explain at_directory_level variable in Uri::normalize_path. | |||
2020-10-12 | Add ..._as_string methods to Uri for convenience | Richard Walters | |
2020-10-12 | Clean up tests in Rust | Richard Walters | |
* Use Uri::path_as_string() when convenient. * Remove unnecessary clones and temporary variables. | |||
2020-10-12 | Rust refactoring | Richard Walters | |
* Use Into trait for setters to accept input. * Make input to Uri::check_scheme more flexible. * Rewrite Uri::set_path_from_str to use match so as not to shadow path, and no need for 'a lifetime. * Rewrite Uri::set_scheme to use match. | |||
2020-10-12 | Remove unnecessary blank line | Richard Walters | |
2020-10-12 | Make functions accepting references more generic using AsRef | Richard Walters | |
2020-10-12 | Clean up Uri::host | Richard Walters | |
2020-10-12 | Use Into::into in place of closures | Richard Walters | |
2020-10-12 | Make Uri::decode_element more flexible in what it takes as an argument | Richard Walters | |
2020-10-12 | Clean up Uri::parse_path and make it functional | Richard Walters | |
2020-10-12 | Refactoring: collect path functionally | Richard Walters | |
2020-10-12 | Make Uri::check_scheme more functional | Richard Walters | |
2020-10-12 | clean up todos | Richard Walters | |
2020-10-12 | Make Uri::decode_element more functional | Richard Walters | |
2020-10-11 | Fix normalize test and corner case bug with path_as_string | Richard Walters | |
2020-10-10 | Remove explicit test vector array length declarations | Richard Walters | |
This method was proposed by @Serayen. | |||
2020-10-09 | Use named_tuple! to simplify test vector declarations | Richard Walters | |
2020-10-09 | Use thiserror to implement Error/Display/From traits for us | Richard Walters | |
2020-10-09 | Minor whitespace/comment cleanup | Richard Walters | |
2020-10-09 | Make Rust errors a bit more expressive | Richard Walters | |
2020-10-09 | Rust implementation refactoring | Richard Walters | |
* Use more expressive errors, especially in address parsing. * Use match in some cases where we were using if/else. * Split IPv6 address parsing tests up between good/base cases. | |||
2020-10-09 | Implement std::error::Error for custom error types | Richard Walters | |
2020-10-09 | Remove unnecessary check in IPv6 parsing | Richard Walters | |
It's not possible to have encountered a double-colon when in the COLON_BUT_NO_GROUPS_YET state. | |||
2020-10-09 | Slight improvement to name of a state in IPv6 address parsing | Richard Walters | |
AFTER_COLON_EXPECT_GROUP_OR_IPV4 -> AFTER_DOUBLE_COLON | |||
2020-10-09 | Fix bug in parsing IPv6 addresses | Richard Walters | |
Fix bug where an IPv6 address ending in a double-colon was not considered valid (it was being considered as truncated). | |||
2020-10-09 | Fix bug in IPv6 address parsing | Richard Walters | |
Fix bug where IPv6 address ending in a group with only digits followed by a double-colon would not get parsed correctly | |||
2020-10-09 | Dismiss some todos | Richard Walters | |
2020-10-07 | (Rust) Uri::is_path_absolute: match against whole path, not first segment | Richard Walters | |
2020-10-07 | (Rust) combine match with if/else in Uri::validate_ipv4_address | Richard Walters | |
2020-10-07 | (Rust) dismiss some todos | Richard Walters | |
2020-10-07 | (Rust) Add Uri::path_as_string convenience function | Richard Walters | |
2020-10-07 | (Rust) Make setting scheme fallible by checking for invalid characters | Richard Walters | |
2020-10-07 | Finish initial port of library to Rust | Richard Walters | |
2020-10-07 | Fix misspelling | Richard Walters | |
2020-10-06 | Work in progress porting to Rust | Richard Walters | |
2020-10-06 | Work in progress porting implementation to Rust | Richard Walters | |
2020-10-05 | Add tests for parsing hosts ending in dot | Richard Walters | |
2020-09-27 | No need to use try_from() when setting parts of a URI | Richard Walters | |
2020-09-27 | Finish porting unit tests to Rust | Richard Walters | |
2020-09-27 | Work in progress porting test cases to Rust, implemented by uriparse | Richard Walters | |
2019-12-02 | Support first > last for range constructor of CharacterSet | Richard Walters | |
2019-11-09 | StringExtensions moved from SystemAbstractions to its own library | Richard Walters | |
2019-05-10 | Remove useless increments | Richard Walters | |
Thank you to @ya-ming for pointing this out! | |||
2019-03-28 | Percent-encode '+' in the query portion | Richard Walters | |
2019-01-06 | Uri: remove old TODO comment no longer applicable | Richard Walters | |
2018-10-24 | Uri: fix bugs in copying and comparing URIs with query/fragment parts | Richard Walters | |
Copying query or fragment needs to copy the "hasQuery" and "hasFragment" flags. Comparing URIs should make use of "hasQuery" and "hasFragment" to properly compare URIs that might not have query and/or fragment parts. |