Commit Graph

  • cc670f686b Move into a subdirectory, to prepare for merge into the rust-url repository Simon Sapin 2018-02-02 09:48:00 +01:00
  • 617a99dbad Use cargo test --all on Travis Simon Sapin 2018-02-02 09:44:57 +01:00
  • d56fcdd066 Add Mime::get_parameter Simon Sapin 2018-02-02 09:35:40 +01:00
  • 72a19fa69e Switch to WHATWG’s MIME type parsing algorithm Simon Sapin 2018-02-02 09:20:27 +01:00
  • 16e0e57bbd Use serde to read JSON into custom types rather than serde_json::Value Simon Sapin 2018-02-02 06:13:46 +01:00
  • 226e0a4ece Run (very few of) the WPT MIME parsing tests Simon Sapin 2018-02-01 17:44:20 +01:00
  • 28c79fb2de Another base64 bug Simon Sapin 2018-02-01 17:28:14 +01:00
  • 245626794e Fix some base64 bugs Simon Sapin 2018-02-01 17:26:12 +01:00
  • f18ed94bce Add some detail to base64 errors Simon Sapin 2018-02-01 17:23:06 +01:00
  • fb3174bec8 Run WPT tests for base64 Simon Sapin 2018-02-01 17:12:50 +01:00
  • 63493ba0cc Move base64 to a separate module Simon Sapin 2018-02-01 17:09:18 +01:00
  • 0b58116c77 Add base64 decoding to Vec Simon Sapin 2018-02-01 17:05:04 +01:00
  • cfe91f8b0e Add base64 to the public API Simon Sapin 2018-02-01 16:49:56 +01:00
  • e2b423ab01 Run data URL tests from WPT Simon Sapin 2018-02-01 16:01:23 +01:00
  • 7c4eeea6a4 Import test cases from Web Platform Tests Simon Sapin 2018-02-01 15:18:04 +01:00
  • 5876b2933f Add a doctest Simon Sapin 2018-02-01 15:03:59 +01:00
  • 6953b97a16 Percent-encode fragments Simon Sapin 2018-02-01 14:54:04 +01:00
  • 105581033f Percent-encode the mime type like the URL parser would Simon Sapin 2018-02-01 14:41:08 +01:00
  • 9d8acc3980 Add a wrapper types for fragments Simon Sapin 2018-02-01 11:46:08 +01:00
  • 1cff0dd6cc Use a closure and a generic error type rather than io::Write Simon Sapin 2018-02-01 11:35:59 +01:00
  • dd3e072232 Separate base64 error from IO error Simon Sapin 2018-02-01 11:07:42 +01:00
  • 5551c48039 Don’t split at a comma within the URL fragment Simon Sapin 2018-02-01 10:15:02 +01:00
  • 14c82067d0 Implicit "text/plain" when MIME type starts with ";" Simon Sapin 2018-02-01 09:24:58 +01:00
  • c12c810675 Invalid MIME types default to "text/plain;charset=US-ASCII" Simon Sapin 2018-02-01 09:21:45 +01:00
  • ad7372a038 First pass at implementing "the data: URL processor", untested for now. Simon Sapin 2018-02-01 00:26:17 +01:00
  • 4c61d25b16 cargo new Simon Sapin 2018-01-31 17:28:37 +01:00
  • 6dc3307c6d Auto merge of #427 - dekellum:package-metadata-docs-rs, r=SimonSapin bors-servo 2018-01-21 13:42:43 -06:00
  • adb8bba215 Enable rustdoc for feature query_encoding on docs.rs David Kellum 2018-01-18 15:46:48 -08:00
  • 6d11869507 Auto merge of #425 - servo:rm-todo, r=SimonSapin bors-servo 2018-01-17 07:40:00 -06:00
  • 70b02dd2ee Remove github.png Anthony Ramine 2018-01-17 12:54:12 +01:00
  • 7afa9e5ba7 Remove rust-url-todo Anthony Ramine 2018-01-17 12:39:04 +01:00
  • 5b5188eae7 Auto merge of #419 - tailhook:remove_nonwasm_methods, r=SimonSapin bors-servo 2017-12-14 18:27:52 -06:00
  • 0f34fe859f Remove file-related methods on all except unix, windows, redox Paul Colomiets 2017-12-12 02:45:32 +02:00
  • b5bd774fd7 Normalize end of line whitespace in src/lib.rs Paul Colomiets 2017-12-10 16:46:15 +02:00
  • be28432ffc Add wasm target to CI Paul Colomiets 2017-12-10 16:26:44 +02:00
  • c47aecfc9b percent-encoding v1.0.1 Simon Sapin 2017-11-11 10:44:29 +01:00
  • 5a3cd2080b Auto merge of #414 - valenting:ipv4_overflow, r=SimonSapin bors-servo 2017-11-06 11:31:48 -06:00
  • 0a72a2ae80 Auto merge of #413 - valenting:non-transitional-idna, r=SimonSapin bors-servo 2017-11-06 11:28:25 -06:00
  • 33c0819a60 Auto merge of #412 - valenting:fix-file-bug, r=SimonSapin bors-servo 2017-11-06 11:24:42 -06:00
  • 557a785e2d Auto merge of #411 - valenting:no-host-username, r=SimonSapin bors-servo 2017-11-06 11:21:24 -06:00
  • fb792bb0c8 Auto merge of #410 - valenting:win-file-letter, r=SimonSapin bors-servo 2017-11-06 11:17:40 -06:00
  • ba1e419d24 Fail IPv4 parsing when the number is overflowing Valentin Gosu 2017-11-03 17:42:18 +01:00
  • e23ff30110 Switch to non-transitional IDNA Valentin Gosu 2017-11-02 12:49:26 +01:00
  • 2fd6636bb8 Fix file:#frag test case Valentin Gosu 2017-11-01 22:11:43 +01:00
  • d01ffefccd Do not allow username,password,port for URLs without a host or file URLs Valentin Gosu 2017-11-01 17:58:18 +01:00
  • 1785b5f43d Add test for file URL when path starts with windows drive letter Valentin Gosu 2017-11-01 15:32:57 +01:00
  • 7afddb9e7c Handle file URLs with host when path starts with Windows drive letter Valentin Gosu 2017-11-01 11:15:22 +01:00
  • 4c389b1661 Auto merge of #409 - valenting:new-tests, r=SimonSapin bors-servo 2017-11-02 07:46:53 -05:00
  • 682c7727f7 Add new setter tests that do not fail Valentin Gosu 2017-11-01 13:21:05 +01:00
  • dd997024c8 Add new parsing tests that do not fail Valentin Gosu 2017-11-01 11:37:40 +01:00
  • 49feca33af Auto merge of #408 - valenting:path-percent-2e, r=SimonSapin bors-servo 2017-11-01 01:33:04 -05:00
  • 7ef4ab27bf Update test for not decoding arbitrary %2e Valentin Gosu 2017-10-31 22:51:34 +01:00
  • 16cae69ca9 Stop percent decoding %2e all the time Valentin Gosu 2017-10-31 22:48:45 +01:00
  • b826e2919c Auto merge of #406 - valenting:empty-pass, r=SimonSapin bors-servo 2017-10-31 14:13:15 -05:00
  • 8ec4078b56 Auto merge of #405 - valenting:bad-bases, r=SimonSapin bors-servo 2017-10-31 14:09:29 -05:00
  • 20aff31e5b Auto merge of #403 - valenting:opaque-host-parser, r=SimonSapin bors-servo 2017-10-31 14:05:29 -05:00
  • 31f1b6e3ad Auto merge of #407 - servo:custom-encoding, r=mbrubeck bors-servo 2017-10-31 12:30:14 -05:00
  • aae1827eb1 Add tests for non-special schemes Valentin Gosu 2017-10-31 17:27:57 +01:00
  • f6fc9282bd Properly handle empty username and/or password Valentin Gosu 2017-10-31 17:16:43 +01:00
  • 30f73a5305 Add custom_encoding_override() to form_urlencoded::Serializer. Simon Sapin 2017-10-31 17:05:13 +01:00
  • ac5bb9434c Add tests to check for bad URL bases Valentin Gosu 2017-10-31 16:18:49 +01:00
  • b0f651123e Update comment for domain to mention opaque hosts Valentin Gosu 2017-10-31 10:18:28 +01:00
  • 96095ec976 Auto merge of #402 - valenting:ascii-origin, r=SimonSapin bors-servo 2017-10-27 03:02:41 -05:00
  • e3f754c54c Auto merge of #404 - valenting:ipv6_parser, r=SimonSapin bors-servo 2017-10-27 02:58:05 -05:00
  • 721e08f211 Update IPv6 parser Valentin Gosu 2017-10-26 06:01:26 +02:00
  • 008e13bab3 Opaque parser should parse IPv6 first Valentin Gosu 2017-10-26 05:57:16 +02:00
  • 15f6fd45fb Also use opaque host parser in set_host Valentin Gosu 2017-10-26 04:31:28 +02:00
  • cc8bbb0cd1 Use opaque host parser for non-special schemes Valentin Gosu 2017-10-25 20:22:36 +02:00
  • 34bd631aa9 Change quirks::origin to return ASCII serialization Valentin Gosu 2017-10-25 19:03:05 +02:00
  • 8a7fffbd0a Auto merge of #401 - servo:revert, r=SimonSapin bors-servo 2017-10-25 07:16:25 -05:00
  • 4c4aa2a7d2 Revert "Remove unnecessary bounds checking in a couple places." Simon Sapin 2017-10-25 14:14:50 +02:00
  • d7dd0af7f1 Auto merge of #400 - mbrubeck:doc, r=jdm bors-servo 2017-10-17 14:47:28 -05:00
  • b60af4d9af Auto merge of #392 - frewsxcv:frewsxcv-roundtrip, r=mbrubeck bors-servo 2017-10-17 14:32:15 -05:00
  • 7b0710ea55 Auto merge of #384 - mgeisler:patch-1, r=mbrubeck bors-servo 2017-10-17 13:35:40 -05:00
  • 8245d977be Auto merge of #394 - frewsxcv:frewsxcv-unnecessary-bounds-checking, r=mbrubeck bors-servo 2017-10-17 12:29:46 -05:00
  • a346b74cbe Make links in docs work with commonmark Matt Brubeck 2017-10-17 10:27:41 -07:00
  • 706b9f92f1 Auto merge of #399 - servo:frewsxcv-revert, r=SimonSapin bors-servo 2017-10-10 09:36:50 -05:00
  • 8ca4182480 Revert "Derive Copy for some structures." Corey Farwell 2017-10-01 16:38:30 -05:00
  • 657bfe204a Auto merge of #393 - frewsxcv:frewsxcv-copy, r=KiChjang bors-servo 2017-09-28 16:16:45 -05:00
  • 9a840228ea Remove unnecessary bounds checking in a couple places. Corey Farwell 2017-09-28 16:13:03 -05:00
  • 266e265a0d Derive Copy for some structures. Corey Farwell 2017-09-28 16:04:58 -05:00
  • 3b42103cc8 'fuzzers' directory is deprecated, use 'fuzz_targets'. Corey Farwell 2017-09-27 22:22:36 -04:00
  • c56eb75297 Extend fuzz target to also do serialization. Corey Farwell 2017-09-27 22:20:31 -04:00
  • dac3cb5473 Auto merge of #390 - copyninja:master, r=KiChjang bors-servo 2017-09-23 17:08:25 -05:00
  • 63de976664 Fix typo in parse.rs s/authentification/authentication/ Vasudev Kamath 2017-09-23 19:27:34 +05:30
  • 728ada6767 Auto merge of #389 - maghoff:patch-1, r=SimonSapin bors-servo 2017-08-23 09:32:34 -05:00
  • 2ada7c28dc Update example code to correctly reflect implementation Magnus Hoff 2017-08-23 16:25:11 +02:00
  • 6e14ec8b70 Add missing whitespace Magnus Hoff 2017-08-23 16:12:22 +02:00
  • c0f995a4a9 Fix repository URL for AppVeyor Martin Geisler 2017-07-25 22:51:11 +02:00
  • 0bb3f9eb6d Auto merge of #382 - rap2hpoutre:master, r=SimonSapin bors-servo 2017-07-17 05:00:05 -07:00
  • 55b9d6f5d4 add more documentation for errors rap2h 2017-07-17 13:17:22 +02:00
  • 804ef14441 Auto merge of #381 - theduke:patch-1, r=jdm bors-servo 2017-07-15 09:14:19 -07:00
  • f7d23c949e Bump heapsize to at least 0.4.1 (relicensed) theduke 2017-07-15 17:36:30 +02:00
  • d01a666981 Auto merge of #379 - rap2hpoutre:master, r=SimonSapin bors-servo 2017-07-13 09:21:22 -07:00
  • 224f2a032f Auto merge of #369 - behnam:ucd10, r=SimonSapin bors-servo 2017-07-13 09:17:25 -07:00
  • e9f5fce6f8 add error documentation on parse function rap2h 2017-07-10 14:06:22 +02:00
  • 32ad28ae57 Auto merge of #378 - ignatenkobrain:license, r=SimonSapin bors-servo 2017-07-05 09:22:14 -07:00
  • 5f96511968 add licenses to sub-crates Igor Gnatenko 2017-07-05 13:43:51 +02:00
  • 5e8c8c944b Auto merge of #377 - ignatenkobrain:patch-1, r=SimonSapin bors-servo 2017-07-05 04:37:04 -07:00
  • 45bc9823f2 percent-encoding doesn't require any dev-dependencies Igor Gnatenko 2017-07-05 13:36:24 +02:00