Commit Graph

145 Commits

Author SHA1 Message Date
Andrew McCreight
0c176ddcff Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
Andrea Marchesini
cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Jim Blandy
6afdd6c96b Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium
--HG--
extra : rebase_source : d210822225d307f3e3685cb5f95b461c48c0be7e
2015-03-19 00:46:40 -07:00
Mike Hommey
c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Randell Jesup
09b8bced54 Bug 1148231: fix wrong error message on DataChannel failed resend of packet r=khuey 2015-03-27 13:34:45 -04: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
Martin Thomson
24bfc1582b Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup
--HG--
extra : rebase_source : fc02059f7b80bc9bf4953030e910a923dd9a69d8
2015-01-28 14:05:56 -08:00
Wes Kocher
9e20c00a70 Backed out changeset 5970fced4222 (bug 1118398) for zmedia failures on a CLOSED TREE 2015-01-21 18:17:56 -08:00
Martin Thomson
8966c2b84a Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup
--HG--
extra : rebase_source : d1046d4daf3afc1c2e56962e485f321f9c73806f
2015-01-21 14:34:13 -08:00
James Kitchener
1bd934d3a1 Bug 1100184 - Use absolute paths in /network local includes. r=gps
--HG--
extra : rebase_source : d7c10a04b8d3822ea20ca37537c7947c3ba88b3f
2015-01-16 20:41:06 +10:30
Ehsan Akhgari
ea2e039efd Bug 1119256 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=jduell 2015-01-14 17:57:08 -05:00
Randell Jesup
9c505baf27 Bug 1030372: use explicit runnable and Release for ReadBlob to avoid wrong-thread release assert r=bsmedberg relanding on a CLOSED TREE
--HG--
extra : amend_source : 4351ac6c3a17885cd5a24d19c080ff8aa610de3f
2015-01-11 00:28:34 -05:00
Tom Schuster
967d0d250a Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE 2015-01-11 20:43:32 +01:00
Randell Jesup
0ef23256a4 Bug 1030372: use explicit runnable and Release for ReadBlob to avoid wrong-thread release assert r=bsmedberg 2015-01-11 00:28:34 -05:00
Ehsan Akhgari
860da94550 Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel 2015-01-06 16:30:03 -05:00
Nils Ohlmeier [:drno]
a5dbd6b71b Bug 1098583 - Clean up data channel open request. r=jesup 2014-11-26 14:00:36 -05:00
Randell Jesup
4328c74073 Bug 1079729: Fix handling of increasing number of SCTP channels used by DataChannels r=tuexen 2014-10-28 11:06:00 -04:00
Eric Rahm
8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Wes Kocher
445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
80d2b8bba6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Nathan Froyd
a088ec81d5 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Ehsan Akhgari
748c8aca19 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Benoit Jacob
c50ccf8dba Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
David Major
a10a304509 Bug 1035068: Remove unused Windows logging code that VS2013 doesn't like. r=jesup
--HG--
extra : rebase_source : a6da82fc96b9042a112b2943ff7bf1e68875232b
2014-07-09 10:44:52 +12:00
Randell Jesup
7825a71046 Bug 1017835: use array delete for SCTP/DTLS SendPacket data r=jib DONTBUILD 2014-06-28 04:26:34 -04:00
Randell Jesup
d1f11de061 Backed out changeset f04ad92a05ea (forgot to add r=) 2014-06-28 04:23:24 -04:00
Randell Jesup
1142ce1bd0 Bug 1017835: use array delete for SCTP/DTLS SendPacket data 2014-06-28 04:19:29 -04:00
Benoit Jacob
ff32bb14c1 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Benoit Jacob
117676ec6f Bug 1027251 - Fix or whitelist dangerous public destructors in netwerk/ - r=mcmanus 2014-06-20 07:08:24 -04:00
Randell Jesup
63f0d0928d Bug 1021335: Fix DataChannel leak of recv buffers from SCTP r=tuexen 2014-06-08 09:53:13 -04:00
Nils Ohlmeier [:drno]
24c7206622 Bug 1014304 - Remove onconnection and onclosedconnection from RTCPeerConnection. r=jib, r=jesup, r=smaug 2014-05-28 09:36:00 -04:00
Sylvestre Ledru
ed8f0ee038 Bug 1003929: Remove some useless declarations in netwerk/sctp found by scan-build, the LLVM/Clang static analyzer. r=mcmanus 2014-05-13 17:01:15 +02:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Ms2ger
4eb83267c9 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Randell Jesup
9f058b2c24 Bug 986762: don't release DataChannelConnection on transient thread on readblob failure r=smaug 2014-03-23 14:52:02 -04:00
Randell Jesup
d6aca105d1 Bug 876167: backout the backout since it appears the upstream bug is not fixed rs=philor 2014-03-15 15:15:17 -04:00
Kyle Huey
b564544cf7 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Randell Jesup
14639dd4b3 Bug 976115: disable Nagle algorithm for DataChannels/sctp r=tuexen 2014-03-14 05:10:11 -04:00
Randell Jesup
78bcbe6e16 Bug 876167: backout temporary fix for SCTP library bug (now fixed) r=tuexen 2014-03-12 20:14:59 -04:00
Byron Campen [:bwc]
3297b4132e Bug 979471 - Populate ICE stats for DataChannels when we have a null selector. r=jib 2014-03-10 08:41:35 -07:00
Ehsan Akhgari
5704b555e2 Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Randell Jesup
a295012da8 Bug 892630: Fix for SendBlob() IO thread races and event loop spinning r=smaug,ekr 2014-02-01 08:09:00 -05:00
Jonathan Kew
d6be5bb981 Backed out changeset a9930b656941 (bug 892630) due to crashtest orange 2014-02-01 14:49:26 +00:00
Randell Jesup
fd572c46eb Bug 892630: Fix for SendBlob() IO thread races and event loop spinning r=smaug 2014-02-01 08:09:00 -05:00
Steven Lee
ca307dca4e Bug 952220 - Read blob on non-main thread. r=jesup 2014-01-23 15:41:29 +08:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Gregory Szorc
fe4a7a2ab1 Bug 951352 - Disallow XPIDL_MODULE if XPIDL_SOURCES isn't defined; r=glandium
Once upon a time XPIDL_MODULE and MODULE were kind of the same and
MODULE got mass-converted into XPIDL_MODULE with the removal of MODULE
in bug 939044. Unfortunately, we forgot to add a check for XPIDL_MODULE
being defined if XPIDL_SOURCES isn't (a build config that makes no sense
and only results in cargo culting).

This patch corrects that oversight.

--HG--
extra : rebase_source : d609e2baa8d16df97c944bc9def26ad05527d937
2013-12-17 12:45:56 -08:00
Mike Hommey
62d390485a Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Ms2ger
4cd3e164ae Bug 937224 - Part g: Move LOCAL_INCLUDES to moz.build in netwerk/; r=mshal 2013-11-28 15:25:39 +01:00