Commit Graph
317 Commits
Author SHA1 Message Date
Dragana Damjanovic 27abb7c476 Bug 1238910 - Rework shutdown necko. r=mcmanus 2016-01-14 04:42:00 -05:00
Bogdan Postelnicu bc6fd63b88 Bug 1226526 - NS_ENSURE_ARG_POINTER on result to remove warning added by scan-build. r=mcmanus 2016-01-13 11:41:04 +02:00
Dragana Damjanovic 39f6f3c1cd Bug 1236277 - Retry all connections not just the reused one. r=mcmanus 2016-01-11 05:20:00 +01:00
Patrick McManus a56ebe0754 Bug 1234896 - refptrs for httphandler.cpp r=valentin.gosu 2015-12-23 11:43:41 -05:00
Patrick McManus d21e3fc9b6 Bug 513129 - Dont reuse connections after security prefs change r=hurley 2015-12-17 17:37:53 -05:00
Nathan Froyd 54dfa729a9 Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Nathan Froyd 638feef71b Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
Many places that (re-)declared gSocketThread already included
nsSocketTransportService2.h; we can delete the declaration for those
places.  For all the other places, we need to include
nsSocketTransportService2.h.
2015-11-06 12:00:37 -05:00
Patrick McManus 050f902acb bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu 2015-11-02 23:35:29 -05:00
Wes Kocher cc0c8eac89 Merge m-c to inbound, a=merge 2015-11-02 15:57:48 -08:00
Fabrice Desré b75304540f Bug 1220061 - Android UA is not correct when MOZ_UA_OS_AGNOSTIC is set r=gerv 2015-11-02 09:23:28 -08:00
Ben Kelly 1a4d506677 Bug 1217501 P1 Expose Accept and Accept-Language to service worker FetchEvent.request. r=mcmanus 2015-10-26 08:25:15 -07:00
Kyle Huey 8f8794e1c7 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Wes Kocher 0fea81994f Backed out 3 changesets (bug 1217501) for m(4) leaks CLOSED TREE
Backed out changeset f00f079f712b (bug 1217501)
Backed out changeset 86ac4feb0e38 (bug 1217501)
Backed out changeset 0c7e876a69e5 (bug 1217501)
2015-10-26 11:52:23 -07:00
Ben Kelly 9be9432e37 Bug 1217501 P1 Expose Accept and Accept-Language to service worker FetchEvent.request. r=mcmanus 2015-10-26 08:25:15 -07:00
Madhurima 146983f2f2 Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj 2015-10-29 16:07:44 -04:00
Phil Ringnalda f8fdc4304c Back out changeset ea8093d8be6a (bug 1197313) for Linux xpcshell bustage in test_offlinecache_custom-directory.js
CLOSED TREE
2015-10-31 12:14:38 -07:00
Madhurima dd31bb522c Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj 2015-10-29 16:07:44 -04:00
Nathan Froyd 4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Shih-Chiang Chien 1b0968c1ed Bug 1199592 - support TV device type in UA string. r=fabrice. 2015-10-05 19:58:00 +02:00
Mike Perry 89e5050108 Bug 962358 - Provide an observer event to close persistent connections. r=arthuredelstein
We need to prevent linkability across "New Identity", which includes closing
keep-alive connections.

Conflicts:
	netwerk/protocol/http/nsHttpHandler.cpp
2015-09-15 20:35:00 +02:00
Patrick McManus 913a4bfe03 bug 366559 - patch 7, content-encoding brotli for https r=bagder 2015-09-22 12:55:23 -04:00
Patrick McManus 0a05347a67 bug 366559 - backout due to android build bustage patch 7 on CLOSED TREE r=backout 2015-09-22 12:47:25 -04:00
Patrick McManus 838aef42ab bug 366559 - patch 7, content-encoding brotli for https r=bagder 2015-09-18 18:04:28 -04:00
Patrick McManus 52e2a465e6 bug 366559 - patch 6, support different content encodings for http vs https r=bagder 2015-09-19 18:51:32 -04:00
Patrick McManus 13da862969 bug 1204614 - use h2 per stream flow control to deal with suspended channels r=hurley 2015-09-11 15:53:27 -04:00
Michael Layzell 4aa2d0bee4 Bug 1200337 - Part 1: Don't expose standard HTTP headers during interception in non-e10s mode, r=mcmanus 2015-09-12 12:46:09 -04:00
Kalpesh Krishna 22cb4eaaa7 Bug 1198387 - Remove use-cache preference and its references. r=mcmanus 2015-09-01 01:09:00 -04:00
Nicholas Hurley bb76d521d7 Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL 2015-07-31 13:50:08 -07:00
Ehsan Akhgari 0c894a0536 Bug 1185988 - Don't hold the observer service alive from nsHttpHandler; r=mcmanus 2015-07-21 13:40:33 -04:00
Birunthan Mohanathas a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Dragana Damjanovic f5e3e71a6d Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Patrick McManus c3d9c99a48 bug 1174152 - update test to be nsIObserver based r=hurley 2015-06-24 13:50:37 -04:00
Mike Taylor 76bbd33aa3 Bug 1169772 - Add Android version to platform identifier of Fennec's UA string. r=mfinkle, r=gerv 2015-06-11 09:38:00 -04:00
Valentin Gosu 234b8ab84f Bug 1036275 - Change nsHttpChannel to call into PackagedAppService for urls containing !// r=honzab 2015-06-03 01:46:02 +03:00
Nicholas Hurley c0c2ec2206 Bug 1132357 - remove h2-draft* support. r=mcmanus 2015-05-22 14:29:15 -07:00
Patrick McManus 44eeaf149e Bug 1162243 - add anonymous speculative connections r=hurley 2015-05-05 21:15:36 -04:00
Eric Rahm b676a83446 Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 12:52:44 -07:00
Wes Kocher ce92b3fcd9 Backed out 2 changesets (bug 1162336) for breaking at least windows builds
Backed out changeset 8952a7fa4050 (bug 1162336)
Backed out changeset 0170a6c2a5be (bug 1162336)
2015-05-07 11:13:24 -07:00
Eric Rahm bd957615ed Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 10:35:28 -07:00
Patrick McManus d23222861b bug 1161253 close pconns on background notification r=bagder 2015-05-05 10:10:21 -04:00
Patrick McManus 658aa608ac Bug 1161558 cleanup some nsIObserver shutdown paths r=bagder 2015-05-05 10:04:34 -04:00
Patrick McManus 756f4b615d bug 1142384 - eventtokenbucket thread management r=hurley 2015-04-28 00:12:29 -04:00
Patrick McManus 13af726282 Bug 1154061 - clear cached alt svc mappings on a variety of state changes r=hurley
an alt-svc map is just an optimization which can get out of phase like
any other piece of state.. therefore it makes sense to
drop them when a user presses some kind of "serenity now" button such
as force-reload, clear cache, etc..
2015-04-10 16:13:30 -04:00
Patrick McManus 2c5f8f0172 Bug 1152897 - update Alt-Svc pref name and default r=hurley 2015-04-06 15:28:21 -04:00
Ryan VanderMeulen 838f96487a Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes.
CLOSED TREE
2015-04-09 20:05:49 -04:00
Nicholas Hurley 846155b38d Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj 2015-04-08 14:42:00 +02:00
Dragana Damjanovic 6b693dc9f7 Bug 647010 - Limit when HTTP authentication dialog is shown. Block cross-origin http auth prompts with pref. r=mayhemer, r=tanvi 2015-04-01 06:56:00 -04:00
awake f46d76591b Bug 1108183 - Regularize case of language subtags in Accept-Language header. r=mcmanus 2014-12-05 19:44:00 +01:00
Daniel Stenberg f3dee22df2 Bug 1144040 - Coverity detected uninitialized nsHttpHandler members, r=mcmanus 2015-03-17 02:19:00 +01:00