Nicholas Nethercote 
								
							 
						 
						
							
							
							
							
								
							
							
								bab6d17ebf 
								
							 
						 
						
							
							
								
								Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.  
							
							... 
							
							
							
							This patch makes the following changes on many in-class methods.
- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}
Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f 
							
						 
						
							2016-08-08 10:54:47 +10:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								d564a1740d 
								
							 
						 
						
							
							
								
								Bug 1286664 - TLSFilterTransaction::WriteSegments null Connection() r=hurley  
							
							
							
						 
						
							2016-07-13 16:52:51 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Nathan Froyd 
								
							 
						 
						
							
							
							
							
								
							
							
								9a956c9885 
								
							 
						 
						
							
							
								
								Bug 1223808 - part 3 - replace nsAutoArrayPtr<T> with UniquePtr<T[]> in netwerk/; r=mcmanus  
							
							
							
						 
						
							2015-11-08 21:28:05 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ben Bucksch 
								
							 
						 
						
							
							
							
							
								
							
							
								2572e8c3db 
								
							 
						 
						
							
							
								
								Bug 1200802 - Accept RFC1929 SOCKS credentials in proxyInfo. r=michal  
							
							
							
						 
						
							2015-11-24 22:56:00 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Nathan Froyd 
								
							 
						 
						
							
							
							
							
								
							
							
								0d181baf2d 
								
							 
						 
						
							
							
								
								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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Nathan Froyd 
								
							 
						 
						
							
							
							
							
								
							
							
								01583602a9 
								
							 
						 
						
							
							
								
								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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h 
							
						 
						
							2015-10-18 01:24:48 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								ad9258704b 
								
							 
						 
						
							
							
								
								bug 1208114 - fix h2 connect tunnels r=hurley  
							
							
							
						 
						
							2015-10-07 12:55:07 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Wes Kocher 
								
							 
						 
						
							
							
							
							
								
							
							
								163f262ba5 
								
							 
						 
						
							
							
								
								Backed out changeset 3cd86929d883 (bug 1208114) for test_video_playback.py crashes  
							
							
							
						 
						
							2015-10-08 13:12:20 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								bfd706e3e8 
								
							 
						 
						
							
							
								
								bug 1208114 - fix h2 connect tunnels r=hurley  
							
							
							
						 
						
							2015-10-07 12:55:07 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Birunthan Mohanathas 
								
							 
						 
						
							
							
							
							
								
							
							
								a8939590de 
								
							 
						 
						
							
							
								
								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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Emanuel Hoogeveen 
								
							 
						 
						
							
							
							
							
								
							
							
								7d1e52f2ff 
								
							 
						 
						
							
							
								
								Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell  
							
							
							
						 
						
							2015-07-07 04:17:00 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ehsan Akhgari 
								
							 
						 
						
							
							
							
							
								
							
							
								486e079300 
								
							 
						 
						
							
							
								
								Bug 1158543 - Remove SpdyConnectTransaction::mRequestHead and make the base class mRequestHead protected; r=mcmanus  
							
							... 
							
							
							
							There is no need to have two separate variables for the same thing
in the same object. 
							
						 
						
							2015-04-25 18:41:28 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Henry Chang 
								
							 
						 
						
							
							
							
							
								
							
							
								d7d5a942ab 
								
							 
						 
						
							
							
								
								Bug 1053650 - Part 3: Make use of gonk-specific per-interface DNS lookup. r=mcmanus  
							
							... 
							
							
							
							--HG--
extra : rebase_source : a859ed97ede124c0d87dd72c6399be15c72c272d 
							
						 
						
							2015-01-28 11:21:37 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ehsan Akhgari 
								
							 
						 
						
							
							
							
							
								
							
							
								883849ee32 
								
							 
						 
						
							
							
								
								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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								1d224b6824 
								
							 
						 
						
							
							
								
								bug 1094522 - claim conns with null transactions instead of starting new ones r=hurley  
							
							
							
						 
						
							2015-01-27 21:55:38 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								175115e709 
								
							 
						 
						
							
							
								
								bug 1116867 - make nsIProgressEventSink and nsITransportEventSink safely scriptable r=mayhemer r=bz  
							
							... 
							
							
							
							These scriptable interfaces use uint_64 arguments with sentinel values
of UINT64_MAX. However, UINT64_MAX exceeds MAX_SAFE_INTEGER and cannot
be gatewayed to/from javascript - so they cannot be used
correctly. Change them to use signed 64 bit numbers and -1 as the
sentinnel. C++ implementations ought to be enough to audit as the
special value could never be used correctly in JS anyhow - also
audited OnProgressChange() uses for downstream use of this data.
---
 dom/base/nsXMLHttpRequest.cpp                      | 19 +++++++----
 dom/base/nsXMLHttpRequest.h                        | 10 +++---
 dom/plugins/base/nsPluginStreamListenerPeer.cpp    |  4 +--
 .../webbrowserpersist/nsWebBrowserPersist.cpp      | 14 ++++----
 image/src/imgLoader.cpp                            |  4 +--
 modules/libjar/nsJARChannel.cpp                    |  3 +-
 netwerk/base/public/nsIProgressEventSink.idl       |  8 ++---
 netwerk/base/public/nsITransport.idl               |  8 ++---
 netwerk/base/public/nsNetUtil.h                    | 24 ++++++++++++++
 netwerk/base/src/Dashboard.cpp                     |  2 +-
 netwerk/base/src/nsBaseChannel.cpp                 | 12 +++----
 netwerk/base/src/nsIncrementalDownload.cpp         |  4 +--
 netwerk/base/src/nsSocketTransport2.cpp            |  5 +--
 netwerk/base/src/nsStreamTransportService.cpp      | 38 +++++++++++++---------
 netwerk/base/src/nsTransportUtils.cpp              | 12 +++----
 netwerk/protocol/file/nsFileChannel.cpp            |  8 +++--
 netwerk/protocol/ftp/nsFtpConnectionThread.cpp     |  4 +--
 netwerk/protocol/http/Http2Push.cpp                |  2 +-
 netwerk/protocol/http/Http2Session.cpp             |  2 +-
 netwerk/protocol/http/HttpChannelChild.cpp         | 31 +++++++++---------
 netwerk/protocol/http/HttpChannelChild.h           |  6 ++--
 netwerk/protocol/http/HttpChannelParent.cpp        |  4 +--
 netwerk/protocol/http/HttpChannelParent.h          |  4 +--
 netwerk/protocol/http/NullHttpTransaction.cpp      |  2 +-
 netwerk/protocol/http/PHttpChannel.ipdl            |  2 +-
 netwerk/protocol/http/SpdyPush31.cpp               |  2 +-
 netwerk/protocol/http/SpdySession31.cpp            |  2 +-
 netwerk/protocol/http/TunnelUtils.cpp              |  2 +-
 netwerk/protocol/http/nsAHttpTransaction.h         |  4 +--
 netwerk/protocol/http/nsHttpChannel.cpp            | 30 +++++++++++------
 netwerk/protocol/http/nsHttpConnection.cpp         |  4 +--
 netwerk/protocol/http/nsHttpConnectionMgr.cpp      |  4 +--
 netwerk/protocol/http/nsHttpPipeline.cpp           |  4 +--
 netwerk/protocol/http/nsHttpPipeline.h             |  6 ++--
 netwerk/protocol/http/nsHttpResponseHead.cpp       |  2 +-
 netwerk/protocol/http/nsHttpResponseHead.h         |  2 +-
 netwerk/protocol/http/nsHttpTransaction.cpp        | 32 +++++++++---------
 netwerk/protocol/http/nsHttpTransaction.h          |  2 +-
 netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp   |  2 +-
 netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp      |  3 +-
 netwerk/test/TestIncrementalDownload.cpp           |  7 ++--
 uriloader/base/nsDocLoader.cpp                     | 14 ++++----
 42 files changed, 203 insertions(+), 151 deletions(-) 
							
						 
						
							2015-01-08 14:48:52 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ehsan Akhgari 
								
							 
						 
						
							
							
							
							
								
							
							
								e9499ce141 
								
							 
						 
						
							
							
								
								Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus  
							
							
							
						 
						
							2015-01-02 09:04:04 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								ae83260be8 
								
							 
						 
						
							
							
								
								Bug 1090866 - wss over https proxy problem. r=hurley  
							
							
							
						 
						
							2014-10-31 15:46:43 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								a4aec59aa1 
								
							 
						 
						
							
							
								
								Bug 1079484 - Page stalls proxying over https part 1. r=hurley  
							
							
							
						 
						
							2014-10-07 16:35:05 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick Wang (Chih-Kai Wang) 
								
							 
						 
						
							
							
							
							
								
							
							
								09aed1e55d 
								
							 
						 
						
							
							
								
								Bug 951677 - Part 1: Add Bind function to SocketTransport. r=honzab  
							
							
							
						 
						
							2014-10-07 17:24:57 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ehsan Akhgari 
								
							 
						 
						
							
							
							
							
								
							
							
								748c8aca19 
								
							 
						 
						
							
							
								
								Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus  
							
							
							
						 
						
							2014-08-05 09:20:24 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								de773340e1 
								
							 
						 
						
							
							
								
								bug 1040930 - part 4 wss over https proxying r=hurley  
							
							... 
							
							
							
							--HG--
extra : rebase_source : 1e115e22468e7df06a2ca407bbcfd7e92f5a649a 
							
						 
						
							2014-07-18 14:59:01 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								29d2ce2ffe 
								
							 
						 
						
							
							
								
								bug 1037082 - part 3/3 407 proxy auth for https over https r=hurley  
							
							
							
						 
						
							2014-07-07 11:43:11 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Benoit Jacob 
								
							 
						 
						
							
							
							
							
								
							
							
								ff32bb14c1 
								
							 
						 
						
							
							
								
								Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus  
							
							
							
						 
						
							2014-06-24 12:36:44 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								83a742bc82 
								
							 
						 
						
							
							
								
								bug 1029163 - part 3 tunnel https/h1 over h2 could duplicate bytes in upload and corrupt data r=hurley  
							
							
							
						 
						
							2014-06-24 07:56:08 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								33ef954941 
								
							 
						 
						
							
							
								
								bug 1029163 - part 2 tlsproxy incomplete upload flushes need to be rescheduled r= hurley  
							
							
							
						 
						
							2014-06-24 07:56:07 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								548c66439c 
								
							 
						 
						
							
							
								
								bug 1029163 - part 1 nsPipe can turn failures into OK, consider that in the tlsproxy code r=hurley  
							
							
							
						 
						
							2014-06-24 07:56:07 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								3ad35f2407 
								
							 
						 
						
							
							
								
								bug 1014589 - problem with https proxying and http pipelines r=hurley  
							
							... 
							
							
							
							--HG--
extra : rebase_source : 7c4f9f80d37102baa8951961d54b6ff842a19afb 
							
						 
						
							2014-05-22 17:49:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								eb93537c6c 
								
							 
						 
						
							
							
								
								bug 1012827 - release https proxy connect serialization earlier r=hurley  
							
							
							
						 
						
							2014-05-19 15:37:58 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								803055099a 
								
							 
						 
						
							
							
								
								bug 1012825 - https proxying over http/2 connect stream r=hurley  
							
							
							
						 
						
							2014-05-19 15:37:35 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								0a3b1e638a 
								
							 
						 
						
							
							
								
								bug 378637 part 13 - https proxying changes to casting and trans lifecycle r=hurley  
							
							... 
							
							
							
							--HG--
extra : rebase_source : 9ba1d5a5c97e6fb42956433dd6738cbec0e8e90c 
							
						 
						
							2014-05-16 11:46:12 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								173d1dc1d2 
								
							 
						 
						
							
							
								
								bug 378637 part 12 - proxy over TLS (i.e. https proxying) r=hurley  
							
							... 
							
							
							
							--HG--
extra : rebase_source : 85b4f6b3eb1a3977ff888fa70214055a41f72da5 
							
						 
						
							2014-04-16 09:52:43 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ryan VanderMeulen 
								
							 
						 
						
							
							
							
							
								
							
							
								db079aae32 
								
							 
						 
						
							
							
								
								Backed out 11 changesets (bug 378637) for Android crashes.  
							
							... 
							
							
							
							Backed out changeset 2a607cddc4cb (bug 378637)
Backed out changeset e416503aea99 (bug 378637)
Backed out changeset b2257226899f (bug 378637)
Backed out changeset dafd618c3f52 (bug 378637)
Backed out changeset dfde9d47d8c4 (bug 378637)
Backed out changeset cf9de5c367a5 (bug 378637)
Backed out changeset 62aa68e8b499 (bug 378637)
Backed out changeset 38efa8f2e56e (bug 378637)
Backed out changeset 2b5753e09a92 (bug 378637)
Backed out changeset 7a73873e133d (bug 378637)
Backed out changeset f58ce7ac1c7f (bug 378637) 
							
						 
						
							2014-05-09 15:25:55 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Patrick McManus 
								
							 
						 
						
							
							
							
							
								
							
							
								f685e08634 
								
							 
						 
						
							
							
								
								bug 378637 part 11 - proxy over TLS (i.e. https proxying) r=hurley  
							
							... 
							
							
							
							--HG--
extra : rebase_source : 8962538247666781e30eaa3b9673b857ec150204 
							
						 
						
							2014-04-16 09:52:43 -04:00