Граф коммитов

330 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm 6c7be83907 Bug 1239870 - Part 4: Disable broken proxy tunnel tests. r=bwc
Several of the proxy tunnel tests are broken. The proxy tunnel test is also
not run in automation.
2016-02-25 15:54:04 -08:00
Eric Rahm dc59103e98 Bug 1239870 - Part 3: Add a base mtransport gtest. r=bwc
This adds a base test for other mtransport tests to be derived from. It
handles common setup used by the mtransport tests and parses relevant env
vars.
2016-02-25 14:25:49 -08:00
Eric Rahm a90c690c9a Bug 1239870 - Part 1: Remove declaration of test_utils from header. r=bwc
Once files are all compiled into the same gtest this will cause duplicate
symbol errors. It's also unused.
2016-02-09 10:02:37 -08:00
Byron Campen [:bwc] 139b740255 Bug 1231973 - Allow NAT simulator to be enabled with the pref system. r=drno
--HG--
extra : transplant_source : %DC%23%97%86a%7D-%C5%1BU%10%C4%13%5E%BE%D7%CA%9B%3B%8D
2015-12-16 14:26:02 -06:00
Nils Ohlmeier [:drno] 738a3eff1d Bug 1214269 - read multiple DTLS packets from NSS if present. r=mt r=jesup
--HG--
extra : rebase_source : 4024e950cf0fdd46c8b59cd4d4dafc6b8bae2115
2015-11-03 17:21:35 -08:00
Byron Campen [:bwc] ea0d28b380 Bug 1231971 - Refactor the NAT simulator to use e10s sockets when appropriate. r=drno
--HG--
extra : transplant_source : %B4%2B%26%B8I%C5%E4%F9%83%A6%0B%21%D8%AA%D5%96%3B%B2%00%E1
2016-01-20 17:25:26 -06:00
Nils Ohlmeier [:drno] 8bdb943452 Bug 1241690: reduce logging output for unconnected PCs. r=bwc
--HG--
extra : rebase_source : c2a1d73d3cb5f26df333c23dd94b35214f1d7721
2016-01-21 12:04:28 -08:00
Nils Ohlmeier [:drno] 2e19c2bfed Bug 1219557 - don't pair candidates from different reserved networks. r=mt r=bwc
--HG--
extra : transplant_source : %19xT%C2%94C%92%8C%F7%16%FA%5C%CE%3A%C5A%DB%D5%B1%29
2015-12-04 20:43:15 -08:00
Nils Ohlmeier [:drno] b912f1ee3a Bug 1006809 - update triggered check behavior to RFC 5245. r+bwc r=mjf
--HG--
extra : transplant_source : q%BDT%0A%29%7B%7C%A0%92%B1%AE%81%AA%EE%94%9B%A0b3%A7
2015-11-27 23:50:14 -08:00
Nils Ohlmeier [:drno] 8420475130 Bug 1220441 - Improve gather trickle ice unit tests. r=bwc r=mjf
--HG--
extra : transplant_source : %60%F7%F7%11%21%C1%10L%19u%C4M%11%40%E6%0F%D9%0AO%C5
2015-11-02 14:57:30 -08:00
Nils Ohlmeier [:drno] 1622f57a40 Bug 1216815 - fix memory leaks in test TCP STUN server. r=mjf
--HG--
extra : transplant_source : %23%AE%89%D1%AD%D2Sr%ED%0DKc%14%C3%3F%CC%CC%86%99%B8
2015-10-20 17:07:09 -07: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
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Byron Campen [:bwc] c80a5ed958 Bug 1208176 - Part 3: Be forgiving when we see prflx instead of host candidates in ice_unittest. r=drno
--HG--
extra : rebase_source : efe5b4e6c631a354d70ccbdd53427a282d254222
2015-10-06 15:09:45 -05:00
Byron Campen [:bwc] c513778651 Bug 1208176 - Part 2: Add a one-sided trickle test case to ice_unittest. r=drno
--HG--
extra : rebase_source : 24f6c0d825a2f0fc161197c0143e0808c6df67f2
2015-10-06 15:07:19 -05:00
Nils Ohlmeier [:drno] cdfa84b6c4 Bug 1207451 - removed framing from multi_tcp API. r=bwc
--HG--
extra : transplant_source : %F9%C6%02H%9B%97%C0%2C%AC%07%F4%F6%99%25%09%0D%B6%11b%A1
2015-09-19 12:12:15 -07:00
Nils Ohlmeier [:drno] 2a1411fa20 Bug 1206465 - removed ice_ctx from TestStunTcpServer. r=bwc
--HG--
extra : rebase_source : 88db248915f75421f881f293ed08963065a21b31
2015-09-18 23:25:38 -07:00
Nils Ohlmeier [:drno] 8e7eb5231c Bug 1205421 - fix DNS resolution of STUN server in ice_unittest. r=bwc
--HG--
extra : transplant_source : %CA%C8M%F6%8DrK%8D%113%C9%D512C%96%06%B8%86o
2015-09-16 13:42:57 -07:00
Martin Thomson f2d864c210 Bug 1125292 - Sending ALPN header field for WebRTC calls, r=bwc
--HG--
extra : commitid : 76muueM8Vfu
extra : amend_source : 0bdbcb10d875a100a91fd583bb863958a24c127c
2015-09-15 10:28:34 -07:00
Byron Campen [:bwc] c59ebacca3 Bug 1186590 - Part 2 - Move hard-coded interface priority list into nrinterfaceprioritizer, and simplify some functions. r=drno
--HG--
extra : rebase_source : 63cd39c3a1b721c78244064b32338643c7e0e436
2015-09-04 15:25:37 -05:00
Byron Campen [:bwc] 0909da6121 Bug 1186590 - Part 1 - Enable interface prioritizer on all platforms. r=drno
--HG--
extra : rebase_source : 7a7b4d0481561a71aed0f3fa46aceaf297afefcc
2015-09-02 15:06:58 -05:00
Byron Campen [:bwc] feb3886659 Bug 1200763 - Remove hard-coded STUN IP address from ice_unittest, and do a DNS lookup instead. r=drno
--HG--
extra : transplant_source : %A0%B1z%00%7E%0B3n%C5%0A%15%5E%E5%15M%AD%CF%01n%D8
2015-09-04 10:21:12 -05:00
Byron Campen [:bwc] 379ef453c3 Bug 1201209 - Extend the timeout on socket readiness in test_nr_socket_unittest. r=drno
--HG--
extra : transplant_source : Y%C5%23%21%80%3B%AD%98%F2%23%C2pU%3E0%82%11%16%13%B2
2015-09-02 14:27:07 -05:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Nils Ohlmeier [:drno] 2e1a4f0fea Bug 1194385 - Add new unit tests which demonstrate the current behavior. r=bwc
--HG--
extra : rebase_source : 9098108ce25f030714138f7be1e10c2285aa6eb1
2015-08-13 12:05:40 -07:00
Nils Ohlmeier [:drno] 8d4c72128b Bug 1194019 - New defaults for gather tests. r=bwc
--HG--
extra : rebase_source : 8c94cd28e969aa540cf103eca74fe50b8e1995dd
2015-08-14 14:52:06 -07:00
Nils Ohlmeier [:drno] fe493d428a Bug 1037618 - Relax candidate verification for TCP. r=bwc
--HG--
extra : rebase_source : 0cd791b27dde34b3a0bc6aeecf4c098211e7fbae
2015-08-10 16:31:12 -07:00
EKR e92a0a38f4 Bug 1189041 - Add option to only gather addresses for default route. r=bwc 2015-08-12 10:53:15 -04:00
Jan-Ivar Bruaroey 3a173c04fa Bug 1187775 - Plumb RTCConfiguration.iceTransportPolicy down to NrIceCtx. r=smaug, r=bwc
--HG--
extra : transplant_source : %8D%E4%F6%CCY%D4M%9E8%21%2A%13Wz%88%D4d%02v4
2015-07-30 10:11:52 -04:00
EKR 1fe487642d Bug 1178349 - Enable ice_unittests on desktop linux on CI. r=bwc
CLOSED TREE

--HG--
extra : amend_source : 03121b8bd5dce3777cd1dea62fbb260501831afc
extra : transplant_source : %C4V%D5%7E%17h%DE%9F%EB%95%C7%3B%A1%AE%E5%B6%DE%D1A%F6
2015-08-04 06:07:55 -07:00
Ryan VanderMeulen ff5375610d Backed out changeset 62561970f611 (bug 1178349) for Android crashes.
CLOSED TREE
2015-08-03 15:34:17 -04:00
EKR 80bdca1457 Bug 1178349 - Re-enable ice_unittest on Linux. r=drno
--HG--
extra : rebase_source : 5375d2e560a8952063dd1508a19552c22110c553
2015-08-01 07:22:12 -07:00
EKR 8ccbc8476f Bug 1177921 - Fix typo in STUN server name. r=drno
--HG--
extra : rebase_source : 89ba451be66a180fc9d024a261d5928b0b8b0ddd
2015-08-01 06:03:35 -07:00
Makoto Kato 50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Nils Ohlmeier [:drno] 05aa617f65 Bug 1185198 - use port 9 for TCP active candidates. r=bwc
--HG--
extra : transplant_source : %A1E%BEA%E6%60%E6%BE%12%CD%E6%04%F0%0C%DF%FB/%D2%28%80
2015-07-22 16:51:38 -07:00
Martin Thomson 0401014a7f Bug 1172785 - Switch to ECDSA for MTI suites, r=ekr
--HG--
extra : commitid : BV7RgOzWYvf
extra : rebase_source : 8f74bf40b69029b1aeee1dbc708872a8d0488656
2015-07-06 10:40:04 -07:00
Byron Campen [:bwc] 97d45626f1 Bug 797262 - IPV6 support for webrtc. r=drno
--HG--
rename : media/webrtc/trunk/webrtc/base/ifaddrs-android.cc => media/mtransport/third_party/nICEr/src/stun/ifaddrs-android.c
extra : rebase_source : a929d159e8e7b39a2bfe3d431395caa838f75a54
2015-04-22 15:02:50 -05:00
Nils Ohlmeier [:drno] 2e746f9a3a Bug 891551 - Part 11: fix a couple of issues from part 5. r=bwc 2015-06-18 23:02:38 -07:00
Nils Ohlmeier [:drno] ce7a04b4f0 Bug 891551 - Part 10: added user pref to turn of ICE TCP. r=mt 2015-06-18 23:02:33 -07:00
Nils Ohlmeier [:drno] 2ca1bfcdb2 Bug 891551 - Part 9: ignore initial socket connect failures during gathering. r=jesup 2015-06-18 23:02:25 -07:00
Byron Campen [:bwc] fedbd732d1 Bug 891551 - Part 7: Fix some intermittent failures in multi_tcp_socket_unittest. r=ekr 2014-06-09 15:04:42 -07:00
"Peter Tatrai ext:(%22) ae531cc1ad Bug 891551 - Part 6: Add log dumper to multi_tcp_socket_unittest. r=bwc 2014-06-03 08:44:59 +02:00
"Peter Tatrai ext:(%22) 6d354a80da Bug 891551 - Part 5: Add support for TCP ICE candidates. r=bwc,jesup 2014-04-23 10:15:25 +02:00
Nathan Froyd 2c0ec52c9a Bug 1162026 - move WrapRunnable &co over to variadic templates; r=ekr 2015-05-05 16:21:37 -04:00
Byron Campen [:bwc] dc3971b1c9 Bug 1035468: A NAT simulator based on NrSocket, and integrate into ice_unittest. r=ekr
--HG--
extra : rebase_source : 1ca1bb919526b3a4e091022e5aba04140efc9c90
extra : source : d354fa12177226f079090cc34277aaf1016e23fa
2015-06-10 15:27:12 -07:00
Felix Janda b019cb9ceb Bug 1152185 - Include port/generic/include also for mtransport/test and webrtc/signaling/test. r=ekr 2015-04-16 23:03:11 +02:00
Nils Ohlmeier [:drno] f12185dda1 Bug 1131779: 403 on permission request no longer invalidates the whole TURN relay. r=bwc 2015-05-08 11:59:52 -07:00
Karl Tomlinson 4c56402d38 Bug 1156621 - Don't assume --without-system-nspr. r=glandium
--HG--
extra : rebase_source : 1e1535572d91718d494884eab4119e772df84768
2015-04-21 18:06:33 +12:00
Byron Campen [:bwc] 0897a326eb Bug 1152137 - Part 1: Test case. r=ekr
--HG--
extra : rebase_source : aa6edff5a22fe8963715d79149bbb7e8ab19e694
2015-04-08 16:18:00 -07:00
EKR e4fc5c1d1c Bug 1151080: Rewrite NR_async_timer_set(0) to use direct dispatch. r=mt 2015-04-16 06:33:49 -07:00
Randall Barker 3263a9649b Bug 1101651 - Part 2: Enable WebRTC unit tests to be built using standalone WebRTC library. r=jesup
--HG--
extra : rebase_source : 97215946f8152cc8df425449b7052b0b365ab0e9
2015-04-09 09:15:00 -04:00
Martin Thomson bc958b8830 Bug 996238 - ALPN support for WebRTC. r=ekr
--HG--
extra : transplant_source : %8A2%AA%AA%A2G%5C%FF%F6%B8%9C%AA%EDI%D9%CE%0Cs%C7%C7
2015-04-01 11:21:06 -07:00
Martin Thomson 9521b41410 Bug 996238 - Reformat gtest_utils.h. r=ekr
--HG--
extra : transplant_source : %60%1EVr%11%DB%8FaI%0A%F7%89%89%E6%BD%5B%84%A4%C6%99
2015-04-01 11:21:06 -07:00
Wes Kocher 44651f2a21 Backed out changeset d02fb013d5b7 (bug 1101651) 2015-04-02 13:42:29 -07:00
Wes Kocher ca3edf64de Backed out changeset 4c9711732a18 (bug 1101651) 2015-04-02 13:41:58 -07:00
Ehsan Akhgari c097cb436b Bug 1101651 - Mark the constructor of WebRTC's ScopedXPCOM as explicit
Landed on a CLOSED TREE in order to fix build bustage.
2015-04-02 16:32:11 -04:00
Randall Barker f71860b325 Bug 1101651 - Part 2, Enable WebRTC unit tests to be built using standalone WebRTC library r=jesup 2015-04-02 12:14:46 -07:00
Byron Campen [:bwc] 3ff500ee41 Bug 1149298 - Part 1: Test cases. r=drno
--HG--
extra : rebase_source : a29be5c74c4bddfe672159b0de12a61e8540b9df
2015-03-30 15:46:49 -07:00
EKR c73f1f40f5 Bug 1149240 - Write unit test for no digests. r=mt
--HG--
extra : rebase_source : 1ac334948a5c9499c1055370ad9d8ec5b7ec4432
2015-03-30 11:09:59 -07:00
Byron Campen [:bwc] c24085b44b Bug 1146462: Close ICE transports when m-sections are disabled. r=drno
--HG--
extra : rebase_source : eee309eccf681f2ef606fb1e78ab6c04f59befd0
2015-03-23 16:56:08 -07: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
Byron Campen [:bwc] bdab9279f3 Bug 1144933: Only check that remote candidate is loopback in TestLoopbackOnlySortOf. r=drno
--HG--
extra : rebase_source : 5aa4a534b2b3462b3a752b331db2e94bca877e0d
2015-03-18 16:34:50 -07:00
Byron Campen [:bwc] dbbe9296e9 Bug 1136252 - Part 1: Increase the number of instances of signaling_unittests that can be run in parallel. r=mt
--HG--
extra : rebase_source : cae8bff0a69665eaf2f5532293e8fa25d2178e23
2015-03-06 15:16:38 -08:00
Martin Thomson 63701128a7 Bug 1115483 - Accept a match on any a=fingerprint value. r=ekr
--HG--
extra : rebase_source : aff16495f2be12cb4c06777df39b39ad32fc4e2e
2015-01-12 15:53:59 -08:00
Byron Campen [:bwc] 248d6e6d79 Bug 1017888 - Part 2: Testing for renegotiation. r=mt, r=drno
--HG--
extra : rebase_source : 7434ef35ea6294966220f20431941e0790c4221c
2015-02-10 10:17:03 -08:00
Byron Campen [:bwc] 1f815978b4 Bug 1017888 - Part 1: Renegotiation support. r=mt, r=smaug
--HG--
extra : rebase_source : df1c2962ee88f75c6ad676b9cd79978a87dafb65
extra : amend_source : c938904331323ff3565624795ac76d82502f43fb
2014-12-10 15:53:54 -08:00
Nils Ohlmeier [:drno] 96d001f3d4 Bug 1120065 - unit test for TURN deallocation. r=bwc 2015-01-30 12:36:00 +01:00
Byron Campen [:bwc] bf8ba31d3f Bug 949703 - Part 2: Consolidate the two copies of DummySocket we have floating around. r=drno
--HG--
extra : rebase_source : 53ff83c3f788dfb06e5fee0a276176f8bac805fd
2014-12-19 11:11:02 -08:00
f649bed22d Bug 949703 - Part 1: Use HTTP proxy for WebRTC TURN/TCP r=ekr
--HG--
extra : rebase_source : 607cd8e262fad408e605114ed0dabad249a10ec9
2015-01-21 16:26:00 -08:00
Wes Kocher eedd56c941 Backed out 2 changesets (bug 949703) for mochitest-e10s-3 orange
Backed out changeset 6f5a7adab265 (bug 949703)
Backed out changeset 7933aeabf6bd (bug 949703)
2015-01-21 17:15:02 -08:00
Byron Campen [:bwc] ca80783cb7 Bug 949703 - Part 2: Consolidate the two copies of DummySocket we have floating around. r=drno 2014-12-19 11:11:02 -08:00
1901ea4c92 Bug 949703 - Part 1: Use HTTP proxy for WebRTC TURN/TCP r=ekr 2015-01-18 11:51:00 -08:00
Ehsan Akhgari 02203cdfb4 Bug 1119267 - Mark virtual overridden functions as MOZ_OVERRIDE in media; r=jesup 2015-01-08 23:10:52 -05:00
Byron Campen [:bwc] 4d39bfe617 Bug 1091242 - Part 8: When running on tbpl, disable parts of ice_unittest that rely on external network. r=drno 2014-10-31 14:51:00 -07:00
Byron Campen [:bwc] 9f12762413 Bug 1091242 - Part 7: Wiring the build system together. r=jesup, r=ted 2014-11-17 17:03:28 -08:00
Byron Campen [:bwc] 3af28ea884 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Phil Ringnalda 5fe54ea0fd Backed out 10 changesets (bug 1091242) for Android/b2g non-unified build bustage
CLOSED TREE

Backed out changeset 7f72b55c5de7 (bug 1091242)
Backed out changeset f1501aa24397 (bug 1091242)
Backed out changeset 7fde5994aee5 (bug 1091242)
Backed out changeset 59b415714087 (bug 1091242)
Backed out changeset dadb65fedc08 (bug 1091242)
Backed out changeset 21be81424e4e (bug 1091242)
Backed out changeset 498fb1dafba5 (bug 1091242)
Backed out changeset 8d0653eb85ab (bug 1091242)
Backed out changeset c82d484e135a (bug 1091242)
Backed out changeset 3e0c8932f1b1 (bug 1091242)
2014-12-08 20:53:07 -08:00
Byron Campen [:bwc] a818fd6977 Bug 1091242 - Part 8: When running on tbpl, disable parts of ice_unittest that rely on external network. r=drno 2014-10-31 14:51:00 -07:00
Byron Campen [:bwc] c29c3be2eb Bug 1091242 - Part 7: Wiring the build system together. r=jesup, r=ted 2014-11-17 17:03:28 -08:00
Byron Campen [:bwc] bb404e8254 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Anuj Agarwal e23a96845a Bug 1028140 - Privitizing public destructor of DummySocket. r=bwc 2014-11-19 21:52:42 -05:00
Mike Hommey 47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
EKR fcfb4e0b1e Bug 1027350 - Allow loopback addresses for ICE. r=bwc
--HG--
extra : rebase_source : 525e2d8455beff596c1ae13b4a8c4d062533a0df
2014-06-22 15:11:48 -07:00
Ryan VanderMeulen 70b6968f5b Bug 1037618 - Skip ice_unittest on OSX. a=me 2014-09-15 12:13:43 -04:00
Mike Hommey 0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari f691bdfc0b Bug 1061056 - Fix more bad implicit constructors in WebRTC; r=jesup 2014-09-01 17:43:17 -04:00
Byron Campen [:bwc] 0b8faee779 Bug 1024028 - Part 1: Test that checking is reached in ice_unittest. r=drno 2014-08-06 10:36:01 -07:00
Martin Thomson aa27b163c0 Bug 1052610 - Removing cipher suite profiling. r=ekr 2014-08-13 14:08:00 -05:00
Mike Hommey b81fbc4f75 Bug 1050704 - Remove STLPORT_CPPFLAGS from Makefiles. r=mshal 2014-08-09 07:55:09 +09:00
Mike Hommey 89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey 9be788de2f Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal 2014-08-07 13:48:10 +09:00
EKR 120cc2db6c Bug 1028582 - Modify TransportLayerDtls to force a fresh ECDHE server key. r=mt 2014-08-05 09:06:48 -07:00
Martin Thomson 711095092a Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson a59efbec25 Bug 996237 - Tests for cipher mismatch. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson 68d95f7646 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-08-04 11:49:00 -04:00
Ed Morley 06a6fec094 Backed out changeset 1015ade997be (bug 996237) 2014-08-04 15:34:25 +01:00
Ed Morley 2411484004 Backed out changeset 5cc4c2e9f1e4 (bug 996237) 2014-08-04 15:34:22 +01:00
Ed Morley 824e8cae51 Backed out changeset 7c32b87be327 (bug 996237) 2014-08-04 15:34:18 +01:00
Martin Thomson 7d2eb97295 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-07-31 17:47:00 -04:00
Martin Thomson 9999772dad Bug 996237 - Tests for cipher mismatch. r=ekr 2014-07-31 17:45:00 -04:00
Martin Thomson 442c1b12d2 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-07-31 10:47:00 -04:00
Jeff Walden 46844a73d5 Bug 1037100 - Remove all use of ScopedDeleteArray from media/. r=ekr
--HG--
extra : rebase_source : 0f32325b868e5e07b0d2966aea7057a940004be9
2014-07-10 20:03:12 -07:00
Ryan VanderMeulen a3e32e545e Backed out changesets f601c449f86b, e5a36d268d11, 9a13eb125a47, and 351434e9157b (bug 996237) for Android/B2G bustage.
CLOSED TREE
2014-08-01 13:24:49 -04:00
Martin Thomson 8e553f20a3 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-07-31 17:47:00 -04:00
Martin Thomson 74834f871d Bug 996237 - Tests for cipher mismatch. r=ekr 2014-07-31 17:45:00 -04:00
Martin Thomson 1515f58947 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-07-31 10:47:00 -04:00
Byron Campen [:bwc] b88607d4d1 Bug 942188 - Various fixes to role-conflict resolution and some test-cases. r=abr 2013-12-13 20:18:24 -08:00
Andrew McCreight c095cf59fb Bug 1029478 - Remove dangerous public destructor of TransportFlow. r=abr 2014-07-31 10:05:58 -07:00
Mike Hommey 7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey 95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey 5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey 6d6d400ea1 Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Anuj Agarwal b5ac94c24d Bug 1028139 - DataBuffer should not be a refcounted class. r=jesup 2014-07-11 16:39:00 +02:00
Benoit Jacob a8c323ccfd Bug 1028588 - Fix dangerous public destructors in media/mtransport - r=abr 2014-06-24 12:36:44 -04:00
Byron Campen [:bwc] fefb11c744 Bug 1027938 - Bump max transmit count for ICE checks to 7. Also, adjust unit-tests. r=drno 2014-06-19 17:13:12 -07:00
Benoit Jacob 2ac8ed568a Bug 1027251 - Address review comments on mtransport - r=abr
(Sorry about that!)
2014-06-21 00:09:48 -04:00
Benoit Jacob a9291b104e Bug 1027251 - Fix or whitelist dangerous public destructors in media/mtransport - r=abr 2014-06-20 07:08:24 -04:00
EKR 47ef7d4cf0 Bug 1009227. Unit test for fix for DTLS connection establishment failure. r=mt 2014-06-17 14:30:28 -07:00
Jan Beich e558a18825 Bug 1024510 - Unbreak --with-system-nss build after bug 1022812. r=mshal 2014-06-16 01:02:25 -04:00
Byron Campen [:bwc] 77f21e56c7 Bug 1022776 - Bump max transmit count by 1 and modify unit-tests to compensate. r=ekr 2014-06-09 17:31:44 -07:00
EKR 9aac8c8c62 Bug 1022812 - Link a debuggable version of NSS into media/mtransport. r=mt 2014-06-11 07:17:02 -07:00
Byron Campen [:bwc] 7def3b061f Bug 1004530 - Part 3: Unit test that verifies that new pairs will start when local gather happens after all preceding pairs have failed, provided the grace period has not elapsed. Also a couple more tests that use a new test-case feature. 2014-06-04 17:21:59 -07:00
Byron Campen [:bwc] 48f7bf25bd Bug 1004530 - Part 2: Unit test for verifying that local candidates gathered after the check timer has stopped are ultimately scheduled. 2014-06-03 10:56:54 -07:00
Nathan Froyd de4d7777c1 Bug 968803 - part 2 - statically type runnable classes that return a result; r=ekr 2014-02-06 10:21:55 -05: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
Ehsan Akhgari ff62971cb9 Bug 973395 - Move the LOCAL_INCLUDES in media to moz.build; r=glandium 2014-02-18 01:15:48 -05:00
Ms2ger 33da18c67e Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
Nathan Froyd 8e258e88c4 Bug 928930 - don't define std::string variables in nricectx.h; r=ekr 2014-01-27 11:02:51 -05:00
Adam Roach [:abr] b4e6456431 Bug 930481: Improved failure instrumentation for transport layers r=ekr 2014-01-23 14:21:24 -06:00
EKR ef991655fa Bug 960296 - Update buffered stun socket size when flushes happen. r=abr 2014-01-16 08:29:00 -08:00
Byron Campen [:bwc] f49a130874 Bug 949708 - Dump RLogRingBuffer on test failures in ice_unittest. r=ekr 2014-01-03 13:36:37 -08:00
EKR b4adc04af8 Bug 906968 - Add support for TURN TCP. r=abr
--HG--
rename : media/mtransport/third_party/nICEr/src/stun/nr_socket_turn.h => media/mtransport/third_party/nICEr/src/stun/nr_socket_buffered_stun.h
2013-12-06 10:20:19 -08:00
Patrick Wang 4b96d498aa Bug 870660: Part 3: Test case. r=ekr 2013-11-30 00:16:37 +08:00
Mike Hommey 8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey 682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Byron Campen [:bwc] 67f0c411ba Bug 935723. Part 1. Decouple ICE state with ICE gathering state r=ekr,abr,jesup 2013-11-13 14:53:30 -08:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Byron Campen [:bwc] bd4d500bd5 Bug 906990: Part 9. Add correlator for ICE candidates. r=ekr 2013-10-25 16:47:14 -07:00
Jonas Finnemann Jensen 41edf8980c Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Byron Campen [:bwc] 9637af002c Bug 906990 - Part 6: Add a codeword field to NrIceCandidatePair so related logging can be pulled from RLogRingBuffer. Proof of concept in ice_unittest. r=ekr 2013-10-24 11:45:10 -07:00
Byron Campen [:bwc] 5e9a1e0da7 Bug 906990 - Part 5.1: Enable r_log and RLogRingBuffer so logging can be scraped. Also, tweak log levels so the RLogRingBuffer isn't rapidly overwritten by media packet logging. r=ekr 2013-10-29 11:53:44 -07:00
Byron Campen [:bwc] 738d512d1c Bug 906990 - Part 5: Allow logging related to a given candidate pair to be fetched. r=ekr 2013-10-29 10:45:09 -07:00
Byron Campen [:bwc] 0f1fb3b85f Bug 931186 - Dirt simple token bucket class. r=ekr 2013-10-25 15:15:59 -07:00
Phil Ringnalda 3cfef7fef6 Back out 1cbb486b4fb7:8e3a17767287 (bug 906990) for leaks
CLOSED TREE
2013-10-28 15:30:11 -07:00
Byron Campen [:bwc] a562097627 Bug 906990 - Part 11. Enable r_log and RLogRingBuffer so logging can be scraped. Also, tweak log levels so the RLogRingBuffer isn't rapidly overwritten by media packet logging. r=ekr 2013-10-24 11:47:16 -07:00
Byron Campen [:bwc] a9ae2734ef Bug 906990 - Part 6: Add a codeword field to NrIceCandidatePair so related logging can be pulled from RLogRingBuffer. Proof of concept in ice_unittest. r=ekr 2013-10-24 11:45:10 -07:00
Byron Campen [:bwc] a92563d94f Bug 906990 - Part 5: Allow logging related to a given candidate pair to be fetched. r=ekr 2013-10-24 11:52:01 -07:00
Mike Hommey 59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00