Commit Graph
28 Commits
Author SHA1 Message Date
Dragana Damjanovic aff410cc33 Bug 1238017 - Remove ClosingService. r=mcmanus 2016-01-08 10:20:00 -05:00
Patrick McManus 548e3c08be Bug 1240122 - threadsafe fix for getselfaddr() r=dragana 2016-01-15 12:16:01 -05:00
Dragana Damjanovic 0743c82e36 Bug 1239655 - Do not do PR_ConnectContinue during the shutdown. r=mcmanus 2016-01-14 08:53:00 -05:00
Dragana Damjanovic 27abb7c476 Bug 1238910 - Rework shutdown necko. r=mcmanus 2016-01-14 04:42:00 -05:00
Ben Bucksch 1250b30d58 Bug 1200802 - Accept RFC1929 SOCKS credentials in proxyInfo. r=michal 2015-11-24 22:56:00 +01: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
Dragana Damjanovic c5b8ba0969 Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer 2015-09-10 19:07:00 +02:00
Birunthan Mohanathas a0f7c73250 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07: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 0e1e345def Bug 1177848 - Add telemetry to measure ipv6 miss and hits. r=mcmanus 2015-07-01 13:51:00 +02:00
Ted Mielczarek d8fe521790 bug 1170582 - Fix nsSocketTransport on iOS. r=mayhemer 2015-05-06 07:51:51 -04:00
Dragana Damjanovic 380cb51d9c Bug 1169554 - Do not reconnect on shutdown. r=mayhemer 2015-05-29 02:06:00 -04:00
Honza Bambas 1dc83b6242 Bug 1170534 - Remove Visual Event Tracer. r=dougt 2015-06-02 11:44:00 -04:00
Dragana Damjanovic 4dc1bbacaa Bug 1152046 - Don't try to connect if we are shutting down. r=mayhemer 2015-05-29 02:04:00 -04:00
Dragana Damjanovic 0e0d5e43d7 Bug 1152041 - Do not try to reconnect if we are offline. r=mayhemer 2015-05-09 09:27:00 -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
Patrick McManus 0d2c0e891e bug 1153212 - 2/2 Necko explicitly track origin vs routed host and give psm only origin r=dkeeler r=hurley IGNORE IDL
Allow necko to simultaneously track the dual concept of routed host
and origin (authenticated host). The origin is given to the socket
provider and the routed host is inserted at DNS lookup time as if it
were a SRV or CNAME.
2015-04-09 11:31:59 -04: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 f19e096335 Bug 1153437 - rename proxyFlags to controlFlags with nsISocketProvider interfaces r=hurley 2015-04-10 17:27:27 -04:00
Henry Chang 6c3617b044 Bug 1053650 - Part 3: Make use of gonk-specific per-interface DNS lookup. r=mcmanus 2015-01-28 11:21:37 +08:00
Andrew McCreight 362b5c9f5f Bug 1147572 - Remove implementation language field from DOM class info. r=jst 2015-03-30 10:45:39 -07:00
Andrew McCreight 5cc7a1afef Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Nicholas Nethercote 0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Patrick McManus df36c63e19 bug 1129571 - h2/spdy coalsescing by full DNS rrset r=hurley 2015-01-30 10:55:07 -05:00
Nicholas Nethercote 40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
James Kitchener f3e2ed9bfd Bug 1100184 - Flatten netwerk/base/{public,src}/ directories. r=mcmanus, r=poiru 2015-01-20 03:58:00 -05:00