Commit Graph

1184 Commits

Author SHA1 Message Date
Ehsan Akhgari
375d25b349 Bug 918928 - Minimize the #includes in netwerk/base; r=mcmanus 2013-09-21 23:04:57 -04:00
Phil Ringnalda
bc7b010710 Backed out 6 changesets (bug 881804) for frequent Android reftest and jsreftest timeouts
Backed out changeset 61972f55702b (bug 881804)
Backed out changeset 0a24b77d4ffb (bug 881804)
Backed out changeset 9fbcf4c3ab2b (bug 881804)
Backed out changeset 2d35068ec2f5 (bug 881804)
Backed out changeset 757790e5cd9f (bug 881804)
Backed out changeset d8a172fa4b20 (bug 881804)
2013-09-21 17:59:14 -07:00
Nicholas Hurley
bdaf3aee5c Bug 881804 (part 1) - Add support for predictive network actions. r=mcmanus f=honzab sr=biesi 2013-09-20 15:24:06 -07:00
Honza Bambas
ea8ec4777e Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Birunthan Mohanathas
66861c6445 Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan 2013-09-19 15:28:26 -04:00
Benoit Jacob
eeccdc3ba1 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-19 09:54:42 -04:00
Benoit Jacob
f9813a5b18 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
508c0eaa0a Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Wes Kocher
0ef93db36c Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Benoit Jacob
6560634fb1 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob
5bf87f575b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Shih-Chiang Chien
3cc21fe5bc Bug 901805 - Report network activity in nsUDPServerSocket. r=honzab 2013-09-17 16:07:06 -04:00
Camilo Viecco
bbd934ff77 Bug 916226: Enable ecdhe AES128 CGM ciphers in psm now that nss support them. r=bsmith
--HG--
extra : rebase_source : 82379823637ef6cda9ffd8765881ff30a76b5b46
2013-09-16 15:43:05 -07:00
Ehsan Akhgari
ff292be3eb Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Dan Gohman
8b7074b6dc Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
James Kitchener
1b2b3a4929 Bug 912981 - Expose srcdoc status in nsIViewSourceChannel. r=bz 2013-09-10 13:40:35 -04:00
Valentin Gosu
14afabb9f3 Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg 2013-09-06 21:29:24 -04:00
Monica Chew
8796e58da3 Bug 904607: Add protocol parser for -digest256 lists (r=gcp). 2013-09-06 17:12:33 -07:00
Ed Morley
b8995a71d5 Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Ed Morley
f49790f43b Merge latest green fx-team changeset and mozilla-central 2013-09-06 16:19:32 +01:00
Jim Blandy
d5b6b24fc6 Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
6581e4276a Bug 892114: Whitespace and spelling fixes encountered while working on Unix domain socket support. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
28ebe45d1b Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Jim Blandy
742666beae Bug 899757: Distinguish PR_ADDRESS_NOT_SUPPORTED_ERROR from other network failures. r=mayhemer
I broke out this this change on its own, because it seemed to require some care:
PR_ADDRESS_NOT_SUPPORTED_ERROR used to be lumped in with several other NSPR
error codes and reported as NS_ERROR_CONNECTION_REFUSED; and a dumb grep shows
that the NS_ERROR_ is widely checked for. Introducing the distinction might
require the new NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED value to be checked for
everywhere that currently checks for NS_ERROR_CONNECTION_REFUSED.

But that seems unlikely to be necessary: first of all, it shouldn't really
be possible, via the XPCOM interface, to force this error path to occur at
present: the components' implementations are in complete control over which
socket address types get used. I also did a Try push with a call to
NS_ABORT if a PR_ADDRESS_NOT_SUPPORTED_ERROR ever flows through
ErrorAccordingToNSPR; there were no crashes.

But if that's so, then why introduce the new error code at all? A later
patch adds support for Unix-domain sockets, a type of socket address which
is *not* supported on non-Unix systems. In that case, a distinct error code
will help people diagnose problems quickly.
2013-09-06 08:06:22 -07:00
Catalin Iordache
b1526fc677 Bug 910942 - Don't include unnecessary things in netwerk/.../Dashboard. r=mcmanus, r=valentin.gosu 2013-09-05 16:12:38 -04:00
Mark Hammond
57cb2e4175 Bug 909218 - add defaultLoadFlags to nsILoadGroup and have the docShell set them. r=mayhemer 2013-09-06 16:33:29 +10:00
Steve Workman
16f5cf53c9 Bug 913151 - Always call nsInputStreamPump::OnStateTransfer on the main thread r=jduell 2013-09-05 17:07:04 -07:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Wes Kocher
8bba56d03f Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Wes Kocher
6adaca6598 Merge fx-team to m-c on a CLOSED TREE 2013-09-04 17:02:06 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Catalin Iordache
0d2e09c3ea Bug 912259 - about:networking DNS Lookup Diagnostic Tool - patch over backend. r=mcmanus 2013-09-04 12:50:11 -04:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Valentin Gosu
889ebbb081 Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Ryan VanderMeulen
75bf650b68 Merge m-c to fx-team. 2013-08-30 13:41:29 -04:00
Mike de Boer
6d805dd6c8 Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-30 18:20:22 +02:00
Andrea Marchesini
4715ba2404 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Ryan VanderMeulen
12e1ab669d Backed out changeset 41729438f597 (bug 900865) for Windows mochitest-bc crashes. 2013-08-29 15:48:29 -04:00
Mike de Boer
fd0f53cf2f Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-28 13:36:48 +02:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
9abdca7279 Bug 909623 (part 5) - Remove |#include "jsapi.h"| from jsfriendapi.h. r=luke.
--HG--
extra : rebase_source : 2a7f0f65f3e08bb15ade23f4c556340650b48c71
2013-08-21 22:28:12 -07:00
Justin Lebar
a12ca3e4e8 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Gavin Sharp
0fbf5d3cc3 Bug 907893: update nsIBrowserSearchService IID because we forgot to in bug 493051, r=lumpy
--HG--
extra : transplant_source : %81%8F%8Dw2%BCp%E6%02B%CE6%23%F5%8Bz%A7%88%A0p
2013-08-24 08:09:10 -07:00
Makoto Kato
63341bc0ca Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg 2013-08-22 19:31:48 +09:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
add9ce17b9 Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
John Schoenick
1d0b574237 Bug 902375 - Strict file origin policy - handle case where the target is the parent directory of the source. r=bz 2013-08-21 14:47:53 -07:00