Milan Sreckovic
da5b96ea90
Bug 1304605: Part 2. Optimizing NormalizeIPv4. Seems to be 4-6x faster. r=valentin.gosu
...
MozReview-Commit-ID: FjkNmbW5I93
--HG--
extra : rebase_source : f3b6e2c07e9376b6b25a62a93cffc4a58584e243
2017-04-26 12:02:58 -04:00
Milan Sreckovic
ff6839a8e1
Bug 1304605: Part 1. Unit tests, including performance, for NormalizeIPv4. r=valentin.gosu
...
MozReview-Commit-ID: KAecFlYTUfW
--HG--
extra : rebase_source : cddfd6fd05f33d2d2c50caf66669d87dc2f79ce7
2017-04-26 11:56:16 -04:00
dOn'tReallycAre
7686899ef4
Bug 1357155 - Convert PRCList usage in nsStandardURL to LinkedList. r=erahm
2017-04-21 01:46:12 +09:00
Valentin Gosu
e0f474ede9
Bug 1326175 - Stop preserving empty passwords in URLs r=mcmanus
...
MozReview-Commit-ID: 7wdZSJmpErF
--HG--
extra : rebase_source : 100061a5c1921f1a10cf339207548aceb3afbe49
2017-03-27 23:56:28 +02:00
Valentin Gosu
1c5fbd8c6e
Bug 1342438 - Remove url .hash encoding/decoding prefs r=bagder
...
These prefs have been added close to two years ago:
dom.url.encode_decode_hash and dom.url.getters_decode_hash
The main reason for their existence was in case we encounter any web-compat issues. At this point the extra code is mostly useless, and flipping the pref may lead to crashes.
MozReview-Commit-ID: LhAHkYmv0TR
--HG--
extra : rebase_source : 8f2d50d5633496cf165b3925d952bb6475bce3e0
2017-03-08 22:19:34 +01:00
Valentin Gosu
5847af980b
Bug 1324243 - Normalize IPv6 r=manishearth
...
MozReview-Commit-ID: 1UFIdeWrz1E
--HG--
extra : rebase_source : cb7e44b0afe06426e3268e80d94a2f59af633b9b
2017-03-09 00:55:05 +01:00
Carsten "Tomcat" Book
a25648d3cd
Backed out changeset 189b914221f4 (bug 1324243) for wpt-11 bustage
2017-03-06 14:13:03 +01:00
Valentin Gosu
0cb0b2702b
Bug 1324243 - Normalize IPv6 r=manishearth
...
MozReview-Commit-ID: Kxe9eLqvKp6
--HG--
extra : rebase_source : 195cafb81adeb9d5fa0a84535144debe1b26f6ff
2017-03-01 00:01:15 +01:00
Eric Rahm
6d6da9f240
Bug 1332202 - Followup to fix comment to say infallible. DONTBUILD r=me
...
MozReview-Commit-ID: ByRWrv7nGnM
2017-02-16 11:52:54 -08:00
Junior Hsu
a9616aa8f5
Bug 1338154 - not normalize ipv4 for resource and chrome uri. r=valentin
2017-02-13 03:10:00 +08:00
Valentin Gosu
f2fd6230e6
Bug 1337629 - Restrict allowed hostname characters r=mcmanus
...
MozReview-Commit-ID: H8u2C5oSiT9
2017-02-09 01:55:49 +01:00
Valentin Gosu
ff510f7133
Bug 1275746 - Don't allow empty host name for URLTYPE_AUTHORITY URLs r=mcmanus
...
* Return NS_ERROR_MALFORMED_URI if mURLType is URLTYPE_AUTHORITY and the hostname is empty.
* Make sure nsStandardURL::SetFile calls init with the correct arguments
MozReview-Commit-ID: 7t3mZtAbMF3
2016-07-07 15:06:08 +03:00
Valentin Gosu
2f7cc13432
Bug 1320925 - Backout changeset b80531102366 (bug 1254098) a=backout
...
MozReview-Commit-ID: 1tX0Keg66Dc
2017-02-07 21:07:30 +01:00
Eric Rahm
6af429ff8a
Bug 1332202 - Convert most infallible NS_EscapeURL calls to fallible version. r=froydnj
...
This makes most users of |NS_EscapeURL| use the fallible version. A few are
left infallible as it seems like the entire function is assumed to be
infallible.
MozReview-Commit-ID: Cy1L5jQwjO1
2017-01-24 11:11:44 -08:00
Masatoshi Kimura
0fde5f3808
Bug 1321705 - Remove "network.standard-url.(escape|encode)-utf8". r=valentin.gosu
...
MozReview-Commit-ID: D6fRD9ElrBd
--HG--
extra : rebase_source : 55fd4c55a4822076bde8a616dd4ddbde26c8e398
2016-12-30 20:32:29 +09:00
Sebastian Hengst
d9d1c52d92
Backed out changeset daabf6b822f0 (bug 1321705) for Android bustage. r=backout
2016-12-30 12:39:58 +01:00
Masatoshi Kimura
0c6dc2ea73
Bug 1323683 - Fold nsIURIWithQuery into nsIURI. r=valentin.gosu
...
MozReview-Commit-ID: BFfgr42sNyx
--HG--
extra : rebase_source : a28d6a3c96f0c86dd7269147f130b3195b1f1faf
2016-12-28 20:40:21 +09:00
Masatoshi Kimura
ab2ce0d4b3
Bug 1321705 - Remove "network.standard-url.(escape|encode)-utf8". r=valentin.gosu
...
MozReview-Commit-ID: D6fRD9ElrBd
--HG--
extra : rebase_source : 6414effcf9e68859781de004e06eedea378e92ca
2016-12-30 10:28:18 +09:00
Henri Sivonen
90a759ae3f
Bug 1225255 - Encode URL query string segments to bytes with HTML numeric character references for unmappable characters. r=valentin
...
MozReview-Commit-ID: HDJxSSZZYlw
--HG--
extra : rebase_source : e7fda143123a593b9d84ac4c924b9b1bef57f415
2016-07-15 14:49:22 +03:00
Manish Goregaokar
53cbc44a0b
Bug 1324251 - Unconditionally parse windows drive letters in file paths; r=valentin
...
MozReview-Commit-ID: 6nBPHYHNprF
--HG--
extra : rebase_source : 650d277eef3afe1f7637769bc05176dcb89e920c
2016-12-18 18:38:01 -08:00
Valentin Gosu
06bfd8cd82
Bug 1318432 - Make it possible to switch on rust-url at runtime r=bagder
...
MozReview-Commit-ID: 3BfqFWIpS7F
2016-11-22 01:53:43 +01:00
Valentin Gosu
6a82cdf759
Bug 1151899 - Add code to run both URL parsers at the same time; r=bagder,ted,valentin
...
MozReview-Commit-ID: Jd2RgPmdPrn
--HG--
extra : rebase_source : 674b910e813d271046b7dae7b10a55dfdafef1fc
2016-11-08 00:42:36 +01:00
Valentin Gosu
2ecccba5c7
Bug 1151899 - Add RustURL which implements nsIURI,nsIURL,nsIStandardURL,etc; r=bagder
...
MozReview-Commit-ID: 2rVu4t66cfD
--HG--
extra : rebase_source : 742c3bceb3fb4c259915f52ba98b368349ba9991
2016-11-08 00:42:27 +01:00
Sebastian Hengst
72c68b6881
Backed out changeset f87f327d7ef2 (bug 1151899)
2016-11-17 20:22:34 +01:00
Sebastian Hengst
31c02995a4
Backed out changeset 910b4b74261d (bug 1151899)
2016-11-17 20:21:55 +01:00
Valentin Gosu
753fdc9754
Bug 1151899 - Add code to run both URL parsers at the same time; r=bagder,ted,valentin
...
MozReview-Commit-ID: Jd2RgPmdPrn
--HG--
extra : rebase_source : ed9e5b027800a7a6ccbb443b294e208404bc5b01
2016-11-08 00:42:36 +01:00
Valentin Gosu
340e8eb8fe
Bug 1151899 - Add RustURL which implements nsIURI,nsIURL,nsIStandardURL,etc; r=bagder
...
MozReview-Commit-ID: 2rVu4t66cfD
--HG--
extra : rebase_source : fc9e9ee9c4021b61f53c4beb447b3e13b27714ba
2016-11-08 00:42:27 +01:00
Andrea Marchesini
9f4ca5a041
Bug 1310483 - Implement nsIURIWithQuery for having query part in simple URI, r=valentin
2016-11-14 13:04:33 +01:00
Gerald Squelart
0affeb4ab0
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Valentin Gosu
627f600a3e
Bug 1314859 - SetHost should also call NormalizeIPv4 r=mcmanus
...
MozReview-Commit-ID: 79sQrld6TBG
2016-11-06 23:26:04 +01:00
Manish Goregaokar
f68c6230d6
Bug 1151899 - Include rust-url-capi (leave-open); r=valentin,ted
...
MozReview-Commit-ID: 1ITlPLvwzF4
2016-10-28 16:34:21 -07:00
Valentin Gosu
3a14f83970
Bug 1305204 - (Part 3) Backout bug 1275746 a=backout
...
MozReview-Commit-ID: B627xyv9BRm
2016-10-23 14:24:49 +02:00
Manish Goregaokar
65e072aa45
Bug 1301621 - Parse URL ports as 16 bit; r=valentin
...
MozReview-Commit-ID: 5FbRUsYzJdy
--HG--
extra : rebase_source : dba9575a3d3a56560f39a81c6a3431da4e21f3e9
2016-09-09 15:42:42 +08:00
Carsten "Tomcat" Book
d63d14dfed
Backed out changeset fc9963bf6d98 (bug 1301621) for xpcshell bustage
2016-09-14 12:28:50 +02:00
Manish Goregaokar
ce7df594c1
Bug 1301621 - Parse URL ports as 16 bit; r=valentin
...
MozReview-Commit-ID: 5FbRUsYzJdy
--HG--
extra : rebase_source : 4274433be9e6c7f76909e22dc79f7a2a41e5f455
2016-09-09 15:42:42 +08:00
Junior Hsu
b552a263d3
Bug 1301344 - Bail out from canonicalizing IPv4 first. r=valentin
2016-09-08 02:59:00 -04:00
Dragana Damjanovic
67635a6600
Bug 1295636 - SetHostPort should reset the port if the host parameter does not have a port number. r=valentin, r=smaug
...
--HG--
extra : rebase_source : 2e63afd5708c55810206f9bc47b6f078a0824400
2016-08-17 23:25:00 -04:00
Junior Hsu
5536544c0b
Bug 1288049 - Canonicalize IPv4 for nsStandardURL, r=valentin
2016-08-09 03:18:00 +02:00
Gijs Kruitbosch
61094e5a36
Bug 1280584 - implement cloneWithNewRef and thereby make hash/ref links use a simple unified codepath in the IO service, r=valentin
...
MozReview-Commit-ID: 8FIyclkJPDp
--HG--
extra : rebase_source : 49fb2b12488bd57a5417c7c3bff2211d651c5de7
extra : amend_source : d9940a1d9009930dc2f499417a7e1446d4601c20
2016-07-26 23:38:46 +01:00
Valentin Gosu
eaee61d467
Bug 1275746 - Don't allow empty host name for URLTYPE_AUTHORITY URLs r=mcmanus
...
* Return NS_ERROR_MALFORMED_URI if mURLType is URLTYPE_AUTHORITY and the hostname is empty.
* Make sure nsStandardURL::SetFile calls init with the correct arguments
MozReview-Commit-ID: 7t3mZtAbMF3
2016-07-13 15:19:33 +03:00
Ralph Giles
2635086221
Bug 1275744 - Reference MOZ_LOG in netwerk comments. r=erahm
...
NSPR_LOG_MODULES is deprecated.
Programs in the test directory still use PR_NewLogModule,
so NSPR_LOG_MODULES is accurate for them. Getting these
to link against libxul for LazyLogModule is still to do,
so leave those for now.
MozReview-Commit-ID: 3uMR3YPJyyi
--HG--
extra : rebase_source : a94c6392cb0de1b6d6324b192954f48f784e8cbe
2016-05-25 16:13:54 -07:00
Andi-Bogdan Postelnicu
c6abaafa19
Bug 1276622 - initialize member variable |mDebugCList|. r=valentin
...
MozReview-Commit-ID: FJZz94Gi2dd
--HG--
extra : rebase_source : 905a5103e0c9d48de08652e29ea38d5da83dfcb7
2016-05-30 13:51:45 +03:00
Valentin Gosu
fa4080a0a7
Bug 1272284 - Encode C0 controls in path, query and hash r=mcmanus
...
MozReview-Commit-ID: 1zGRjVmAWts
2016-05-25 16:23:38 +02:00
Valentin Gosu
78d21aba95
Bug 1271955
- Strip leading and trailing C0 controls and space for urls passed to new URL() r=mcmanus
...
MozReview-Commit-ID: B7BiKE6P7GA
2016-05-25 16:23:37 +02:00
Patrick McManus
2cd574f25f
Bug 1274376 - more mozilla::net namespaces r=dragana
...
--HG--
extra : rebase_source : 914d48f23a4a5db052a789b9e21c1ff922533d35
2016-05-18 22:02:57 -04:00
Daniel Holbert
b09bf9aef3
Bug 1274044: Relax assertion in nsStandardURL for case when mDefaultPort is -1. r=valentin
...
The assertion is trying to require that the caller should never pass in mDefaultPort; instead, the caller should pass -1. BUT, if mDefaultPort is itself -1 (i.e. there's no default port), then we need to allow the caller to pass in -1 without spamming an assertion.
MozReview-Commit-ID: GKxndkJoXcv
--HG--
extra : rebase_source : 3fcd7815ec3e64a71f0f34efd1a397be8f3dc9a2
2016-05-19 10:05:17 -07:00
Andrea Marchesini
61b52e4aa3
Bug 1267130 - Improve the URL segment calculation, r=valentin
2016-05-10 10:52:19 +02:00
Stone Shih
4b11d5cdfa
Bug 1254098 - Part 1: Don't use base url encoding to encode url when charset override is absent. r=valentin
2016-04-06 11:13:30 +08:00
Kyle Huey
d9265a3eaf
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Valentin Gosu
1863d8b9cd
Bug 652186 - Implement URL Standard's backslash replacement r=mcmanus
...
* * *
[mq]: test
MozReview-Commit-ID: JAZ36DstjFs
--HG--
extra : rebase_source : ccce437c84a15319fa05db4c14c5d784b66f6638
2016-03-03 15:50:16 +01:00