Dragana Damjanovic
aff410cc33
Bug 1238017 - Remove ClosingService. r=mcmanus
2016-01-08 10:20:00 -05:00
Dragana Damjanovic
27abb7c476
Bug 1238910 - Rework shutdown necko. r=mcmanus
2016-01-14 04:42:00 -05:00
Patrick McManus
c07974e685
Bug 1238290 - fix bad necko deps on unified_sources r=valentin.gosu
...
---
netwerk/base/ARefBase.h | 2 ++
netwerk/base/CaptivePortalService.cpp | 1 +
netwerk/base/CaptivePortalService.h | 1 +
netwerk/base/EventTokenBucket.cpp | 4 +++-
netwerk/base/LoadContextInfo.cpp | 3 +++
netwerk/base/LoadInfo.cpp | 3 +++
netwerk/base/MemoryDownloader.cpp | 1 +
netwerk/base/Predictor.cpp | 1 +
netwerk/base/RedirectChannelRegistrar.h | 1 +
netwerk/base/nsBaseChannel.cpp | 1 +
netwerk/base/nsChannelClassifier.cpp | 1 +
netwerk/base/nsDirectoryIndexStream.cpp | 3 ++-
netwerk/base/nsDownloader.cpp | 1 +
netwerk/base/nsIOService.cpp | 1 +
netwerk/base/nsIncrementalDownload.cpp | 3 +++
netwerk/base/nsNetUtil.cpp | 4 ++++
netwerk/base/nsNetUtil.h | 1 +
netwerk/base/nsProtocolProxyService.cpp | 1 +
netwerk/base/nsSecCheckWrapChannel.cpp | 2 ++
netwerk/base/nsUDPSocket.cpp | 4 +++-
netwerk/cache/nsDiskCacheBinding.cpp | 2 +-
netwerk/cache/nsDiskCacheDeviceSQL.cpp | 2 ++
netwerk/cache/nsMemoryCacheDevice.cpp | 2 +-
netwerk/cache2/CacheFileUtils.cpp | 2 ++
netwerk/cache2/CacheStorageService.h | 1 +
netwerk/ipc/NeckoParent.cpp | 1 +
netwerk/ipc/RemoteOpenFileChild.cpp | 1 +
netwerk/protocol/about/nsAboutBloat.cpp | 1 +
netwerk/protocol/about/nsAboutCacheEntry.cpp | 1 +
netwerk/protocol/about/nsAboutProtocolHandler.cpp | 1 +
netwerk/protocol/data/DataChannelParent.cpp | 1 +
netwerk/protocol/file/nsFileProtocolHandler.cpp | 1 +
netwerk/protocol/ftp/FTPChannelParent.cpp | 2 ++
netwerk/protocol/ftp/FTPChannelParent.h | 1 +
netwerk/protocol/ftp/nsFtpConnectionThread.cpp | 1 +
netwerk/protocol/ftp/nsFtpProtocolHandler.h | 1 +
netwerk/protocol/http/Http2Compression.cpp | 1 +
netwerk/protocol/http/Http2Session.cpp | 1 +
netwerk/protocol/http/Http2Stream.h | 2 ++
netwerk/protocol/http/HttpBaseChannel.cpp | 4 ++++
netwerk/protocol/http/HttpBaseChannel.h | 1 +
netwerk/protocol/http/HttpChannelChild.cpp | 25 ++--------------------
netwerk/protocol/http/HttpChannelChild.h | 24 +++++++++++++++++++++
netwerk/protocol/http/HttpChannelParent.cpp | 1 +
netwerk/protocol/http/HttpChannelParent.h | 1 +
.../protocol/http/HttpChannelParentListener.cpp | 1 +
netwerk/protocol/http/HttpChannelParentListener.h | 1 +
netwerk/protocol/http/InterceptedChannel.cpp | 1 +
netwerk/protocol/http/NullHttpChannel.cpp | 1 +
netwerk/protocol/http/NullHttpTransaction.cpp | 1 +
netwerk/protocol/http/PackagedAppService.cpp | 14 ++++++++++--
netwerk/protocol/http/PackagedAppService.h | 4 +++-
netwerk/protocol/http/PackagedAppVerifier.cpp | 1 +
netwerk/protocol/http/nsCORSListenerProxy.cpp | 2 +-
netwerk/protocol/http/nsHttpBasicAuth.cpp | 1 +
netwerk/protocol/http/nsHttpChannel.cpp | 2 ++
netwerk/protocol/http/nsHttpChunkedDecoder.cpp | 1 +
netwerk/protocol/http/nsHttpConnectionInfo.cpp | 2 ++
netwerk/protocol/http/nsHttpConnectionMgr.cpp | 1 +
netwerk/protocol/http/nsHttpDigestAuth.cpp | 1 +
netwerk/protocol/viewsource/nsViewSourceHandler.h | 4 ++++
.../protocol/websocket/BaseWebSocketChannel.cpp | 1 +
.../websocket/WebSocketEventListenerParent.cpp | 1 +
.../protocol/websocket/WebSocketEventService.cpp | 3 +++
netwerk/protocol/websocket/WebSocketFrame.cpp | 2 ++
netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp | 1 +
.../protocol/wyciwyg/nsWyciwygProtocolHandler.cpp | 1 +
netwerk/streamconv/converters/mozTXTToHTMLConv.cpp | 1 +
.../streamconv/converters/nsFTPDirListingConv.cpp | 1 +
.../streamconv/converters/nsHTTPCompressConv.cpp | 2 ++
netwerk/streamconv/converters/nsHTTPCompressConv.h | 1 +
netwerk/streamconv/converters/nsIndexedToHTML.cpp | 1 +
netwerk/streamconv/converters/nsMultiMixedConv.cpp | 2 ++
netwerk/streamconv/converters/nsTXTToHTMLConv.cpp | 2 ++
netwerk/streamconv/converters/nsUnknownDecoder.cpp | 2 ++
75 files changed, 147 insertions(+), 32 deletions(-)
2016-01-08 20:20:50 -05:00
Jonas Sicking
a90afc6d42
Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
cdf4286868
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
91219029e7
Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb
2015-12-05 01:46:20 -08:00
Blake Kaplan
f7f69b05e6
Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb
2015-11-30 13:25:29 -08:00
Nicholas Nethercote
60d611ed1d
Bug 1186783 (follow-up) - Bustage fix for Gonk.
2015-11-29 15:25:32 -08:00
Nicholas Nethercote
4dee80d7d8
Bug 1186783 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin.
2015-11-19 16:46:35 -08:00
Valentin Gosu
8b3a86ffa0
Bug 1218918 - Issues with devtools "work offline" when connectivity changes r=mcmanus,dao
...
* Flip the network.offline-mirrors-connectivity pref, so that ioservice.offline means the same as devtools work offline
* ioService.manageOfflineStatus shouldn't be changed when going to offline mode.
* Add logging to nsIOService in order to track offline/connectivity issues
2015-11-18 15:25:39 +01:00
Makoto Kato
c946c9e962
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on netwerk. r=nfroyd
2015-10-28 14:30:07 +09:00
Jonas Sicking
bb0dc3507b
Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb
2015-10-19 11:14:54 -07:00
Dragana Damjanovic
75156c4cb2
Bug 1214122 - Check if addon ProtocolHandler actually provide nsHttpChannel. r=sicking r=mayhemer
2015-10-16 06:07:00 +02: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
Ehsan Akhgari
bfcf1b7a20
Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking
2015-10-06 20:26:46 -04:00
Ehsan Akhgari
8432c75fe4
Bug 1210302 - Part 1: Rename nsINetUtil.parseContentType() to parseResponseContentType(); r=mcmanus
2015-10-06 20:24:49 -04:00
Dragana Damjanovic
e1637096ce
Bug 1152046 - move ClosingService::Start/Shutdown to nsIOService. r=mayhemer
2015-10-04 13:43:00 +02:00
Dragana Damjanovic
c5b8ba0969
Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer
2015-09-10 19:07:00 +02:00
Nicholas Hurley
75ab040180
Bug 1152048 - Send wakeup notification asynchronously to avoid reentrancy issues. r=bagder
2015-07-31 13:39:48 -07:00
Jessica Jong
0fdefc07fa
Bug 1167132 - Part 13: [NetworkManager] Move network information into a separate interface (Necko/NetStats). r=ethan
2015-07-29 02:14:00 -04:00
Bobby Holley
c628203bb4
Bug 1186152 - Implement nsIProtocolHandlerWithDynamicFlags and use it for moz-extension. r=bz
2015-07-28 12:26:51 -07:00
Franziskus Kiefer
07c4ad95f7
Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz
2015-06-05 15:25:24 -07:00
Valentin Gosu
6838dbecd3
Bug 1182515 - Clear reference to captive portal service when observing xpcom-shutdown. r=mcmanus
2015-07-13 15:50:58 +02: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
Valentin Gosu
ea10616017
Bug 1179779 - Neither XRE_START_OFFLINE nor -offline work any more. r=mayhemer
2015-07-08 15:56:12 +02:00
Dragana Damjanovic
6f4f66637f
Bug 1152046 - add telemetry for time spent in connect/close. r=mayhemer
2015-07-07 11:13:00 +02:00
Dragana Damjanovic
f5e3e71a6d
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Valentin Gosu
266cd764c0
Bug 1048131 - Make some network events trigger a captive portal recheck r=mcmanus
2014-10-14 00:35:51 +03:00
Carsten "Tomcat" Book
097d90283b
Backed out changeset 49f72333b407 (bug 1048131)
2015-07-03 14:25:56 +02:00
Valentin Gosu
0054b891e7
Bug 1048131 - Make some network events trigger a captive portal recheck r=mcmanus
2014-10-14 00:35:51 +03:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Christoph Kerschbaumer
9ebe69099b
Bug 1120487 - Implement shim before moving security checks into AsyncOpen, ioservice changes (r=sicking,sworkman)
2015-05-29 10:41:41 -07:00
Christoph Kerschbaumer
9ea833fd29
Bug 1162657 - Turn NewChannel deprecation warnings into assertions (r=sworkman,sicking,paolo)
2015-05-13 17:58:52 -07:00
Patrick McManus
44eeaf149e
Bug 1162243 - add anonymous speculative connections r=hurley
2015-05-05 21:15:36 -04:00
Valentin Gosu
d42158b48a
Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab
2015-04-03 16:23:18 +03:00
Valentin Gosu
41aa664b25
Bug 1134596 - Add network.offline-mirrors-connectivity pref to preserve previous behaviour r=honzab
2015-03-26 13:19:47 +02:00
Valentin Gosu
8ed5beb8b6
Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab
2015-05-02 00:14:39 +03:00
Christoph Kerschbaumer
d5d460d66c
Bug 1134096 - Revise docs for ::NewChannel2, ::GetChannelPrincipal and add deprecation warnings (r=tanvi,sicking)
2015-04-13 13:37:14 -07:00
Carsten "Tomcat" Book
6e5babb188
Backed out changeset 35e6bbc2136b (bug 1134596) for Android Crashtest failures
2015-04-09 12:33:41 +02:00
Carsten "Tomcat" Book
9310144839
Backed out changeset 82d6b5523a2b (bug 1134596)
2015-04-09 12:31:51 +02:00
Carsten "Tomcat" Book
d8e4b48fdf
Backed out changeset fb48ee62bab4 (bug 1134596)
2015-04-09 12:31:49 +02:00
Valentin Gosu
e9afff6cfa
Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab
2015-04-09 06:33:08 +03:00
Valentin Gosu
b4db404b83
Bug 1134596 - Add network.offline-mirrors-connectivity pref to preserve previous behaviour r=honzab
2015-04-09 06:33:03 +03:00
Valentin Gosu
49f6c78afe
Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab
2015-04-09 06:32:53 +03:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Christoph Kerschbaumer
cd9e41c663
Bug 1144270 : Update remaining callers of newChannel to newChannel2 in netwerk/ (r=mcmanus)
2015-03-20 12:27:34 -07:00
Patrick McManus
7aaee768e1
bug 1135160 - ioservice have speculative connect use proxy-resolve2() r=hurley
2015-03-13 17:32:18 -04:00
Daniel Stenberg
20c6d19586
Bug 1142586 - avoid asking the link service for online status on CHANGED. r=valentin
2015-03-12 09:46:00 +01:00