Iris Hsiao
1637787858
Backed out changeset e7b0bdaa0661 (bug 1295552
) for GTest crashed @mozilla::NrIceCtxHandler::CreateCtx
2016-08-22 11:11:05 +08:00
Michael Froman
8c9dbf602e
Bug 1295552
- restart ice ctx needs stun/turn/dns setup to match original ctx. r=drno
...
MozReview-Commit-ID: H8o3gEnFfzQ
--HG--
extra : rebase_source : d5b1d8a4beb7f2ad1cb76391c09efc01735771ad
2016-08-18 17:29:49 -05:00
Wes Kocher
37a02d441d
Backed out 6 changesets (bug 1264642) for marionette failures a=backout CLOSED TREE
...
Backed out changeset f0067001c059 (bug 1264642)
Backed out changeset 078e5c447f21 (bug 1264642)
Backed out changeset 7c60fc4144fb (bug 1264642)
Backed out changeset 9f434697ef2e (bug 1264642)
Backed out changeset 06fc278fcedf (bug 1264642)
Backed out changeset 162098402acc (bug 1264642)
2016-08-17 10:49:25 -07:00
Wes Kocher
e9097643d5
Merge inbound to central, a=merge
2016-08-12 13:44:29 -07:00
Byron Campen [:bwc]
fe142cf303
Bug 1280443: Copy this the hard way. r=drno
...
--HG--
extra : rebase_source : d3ad50a2fb57bdaab31e53188d918ed8d6d1daa7
2016-08-10 11:51:28 -05:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Nils Ohlmeier [:drno]
f8f35e1df4
Bug 1293172: improve DTLS handshake error message. r=mt
...
MozReview-Commit-ID: GM28RvCQ3O4
--HG--
extra : rebase_source : 690ec762844950c7aff2f7382d48de67a7f5e786
2016-08-07 22:34:41 -07:00
Nils Ohlmeier [:drno]
b3a05a317c
Bug 1290365: add TURN TCP socket to read poll after connect. r=bwc
...
MozReview-Commit-ID: FLITvQCt9Xq
--HG--
extra : rebase_source : 8346b3b8e1655882584bdf1a60a8af75fc1da1bf
2016-08-02 10:58:55 -07:00
Nils Ohlmeier [:drno]
650d5a0e64
Bug 1289984: fix Windows compiler warnings. r=bwc
...
MozReview-Commit-ID: EWSJZdxPzQk
--HG--
extra : rebase_source : 5d5c2e088c6e0dffcba9d8692d4e1a878b24ae44
2016-07-27 17:13:43 -07:00
Byron Campen [:bwc]
38b1158591
Bug 1287874: Add missing math.h include. r=drno
...
MozReview-Commit-ID: APRXVtWHlBX
--HG--
extra : rebase_source : fe8e299f81d4623456c28e2b5aca76b1e29b4503
2016-07-27 14:21:58 -05:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Nils Ohlmeier [:drno]
69df337992
Bug 1293206: cancel TCP connect callback after connect. r=bwc
...
MozReview-Commit-ID: 6hczFqHMBNA
--HG--
extra : rebase_source : 90a352c0bcf8e9d3b14f62a27c76160272cd45bb
2016-08-09 15:55:37 -07:00
Carsten "Tomcat" Book
838f21f656
merge mozilla-inbound to mozilla-central a=merge
2016-07-08 11:58:46 +02:00
Nils Ohlmeier [:drno]
61aaacaf56
Bug 1285318: turn of WebRTC TCP packet filtering. r=mjf
...
MozReview-Commit-ID: 7kmAJlscG9a
--HG--
extra : rebase_source : c8d6a741fbde3f514ee49be5ee97291ba58831d3
2016-07-07 11:32:04 -07:00
Nils Ohlmeier [:drno]
8f07aa3df1
Bug 1279146 - Clean up streams on shutdown. r=bwc
...
--HG--
extra : amend_source : db42e64bafec58bfef42a0fc7aad2cc1a761e137
2016-07-07 21:33:23 -04:00
EKR
0a7e8ae834
Bug 1283085 - Handle new ALPN value r=abr
2016-06-29 10:24:48 -07:00
Kan-Ru Chen
e5ba90cdde
Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
...
MozReview-Commit-ID: HltgzBnxMsn
--HG--
extra : rebase_source : f968344d7283b2f46dfa959a5306d1d380677c52
2016-08-10 14:18:29 +08:00
Byron Campen [:bwc]
208469617b
Bug 1280443 - Make a timer assert more aggressive. r=drno
2016-06-20 11:47:10 -05:00
Nils Ohlmeier [:drno]
cb71d8fa20
Bug 1281708: remove assert for unknown stun server transports. r=mjf
...
MozReview-Commit-ID: BNNM12fBV4I
--HG--
extra : rebase_source : a6b01e24d942940ff12fe3d6fd05e03c7bb9b6a6
2016-06-23 12:00:31 +02:00
Byron Campen [:bwc]
9c47a3e286
Bug 1276805: Make TestNrSocket less chatty. r=drno
...
MozReview-Commit-ID: 7lXcrCbuQpz
--HG--
extra : rebase_source : bd80c7e4ebdd0413e35f3807ce503d7c27f7809a
2016-06-14 07:08:52 -05:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Nils Ohlmeier [:drno]
f746914c9a
Bug 1268291: use ICE binding requests for consent refresh r=mjf
...
MozReview-Commit-ID: 9NBw2WBE5xJ
--HG--
extra : rebase_source : 2047c775c9e0083ab65420c1aead67642d67275e
2016-05-03 00:31:11 -07:00
Nils Ohlmeier [:drno]
a4d7ea2e6b
Bug 1269486: tests to verify new ICE controller setting restriction. r=mjf
...
MozReview-Commit-ID: EaJ2yE0Vwcr
--HG--
extra : rebase_source : 3d696984a16a7ada6da57b90424f1b351f1e589f
2016-05-04 10:53:29 -07:00
Nils Ohlmeier [:drno]
cd54d864ed
Bug 1269486: allow setting ICE controller only once. r=bwc
...
MozReview-Commit-ID: AXyNyTZH1Jt
--HG--
extra : rebase_source : c8951fd5ada36d5c8ca25568e276fcb8cce0fbfc
2016-05-03 13:28:14 -07:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Byron Campen [:bwc]
c2d6cc516f
Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
...
MozReview-Commit-ID: HwatO6UaeEX
--HG--
extra : rebase_source : fd5d972f042baf0007d09579fe43893c1a787836
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
ac965bfc5a
Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
...
MozReview-Commit-ID: ASbgh62xqQU
--HG--
extra : rebase_source : d611712e2a7f0a29063ee5765dc66fb7ed9e5b0f
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
5fd2e18004
Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
...
MozReview-Commit-ID: CS1q6LyUsIe
--HG--
extra : rebase_source : 590238bca757ff3e7c13202f5db1971084fe538d
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
ff7fa1e45c
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : 12e1d24a7324ff1d87954fa1b56d83d2adaaa530
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
73c29a05f5
Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
...
MozReview-Commit-ID: CVbAYPrwpuB
--HG--
extra : rebase_source : 7b9b7cc850a7968e9ad778a42e87b9df196307f1
2016-03-04 15:45:57 -06:00
Andi-Bogdan Postelnicu
66da00b99b
Bug 1268449 - prevent memory leak in Resolve. r=ekr
...
MozReview-Commit-ID: 7K94oXrkhne
--HG--
extra : rebase_source : 3d7e08a7f50f8ac4550167f23d1334e941133e23
2016-04-28 14:13:55 +03:00
Wes Kocher
20598f44f6
Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
...
MozReview-Commit-ID: EoGyz071RoN
--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Wes Kocher
55d7bfae3f
Backed out changesets 8ed054e5853e,d56adef9c8e0,408df9f84697,7092e498ac3a,29dce05596c6,ae1dc75009e7 (bug 1231975) for breaking local mochitests a=backout
...
MozReview-Commit-ID: 17mJDyZMVju
--HG--
extra : histedit_source : cf965b94d4b36cc1b4ce0a89272f9c355ae1b82e%2C72cefdebce52a0e6653a87dd0ef0a1316fe0ec18
2016-04-27 10:20:42 -07:00
Nils Ohlmeier [:drno]
49438ee761
Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
...
MozReview-Commit-ID: ETkx1Z56bI8
--HG--
extra : rebase_source : c3221aa336beb5fcf450754537a5cd1856357494
2016-04-08 16:51:21 -07:00
Nils Ohlmeier [:drno]
696852ce71
Bug 929977: Add support for RFC 7675 ICE consent freshness. r=bwc,mt
...
MozReview-Commit-ID: HGRM10L0R3M
--HG--
extra : rebase_source : c50f8665230140096dd163bb5fbb13482a976c91
2016-04-26 13:11:25 -07:00
Byron Campen [:bwc]
475039d8aa
Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
...
MozReview-Commit-ID: HwatO6UaeEX
--HG--
extra : rebase_source : 9ba82ea745c3aa8f4e3c14291aca36d68b775f7e
extra : source : e215c66a184b9424e76892673f2849d3bf262606
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
d99ec1f82d
Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
...
MozReview-Commit-ID: ASbgh62xqQU
--HG--
extra : rebase_source : 162ab84cf48171a818e3aff7c65b4964a4989b05
extra : source : 99b6fffc375214bd061e729ed0462edbaec844ce
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
0654267081
Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
...
MozReview-Commit-ID: CS1q6LyUsIe
--HG--
extra : rebase_source : d42f45b1e2bd7b96808ca814d25258904ce6ebfe
extra : source : 68ac205949c9b5d57f85689f660ebf9de119d384
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
18f4a13f02
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : d5fa4d0138112d5932f4db43958b60f1606f0af2
extra : source : 81271ec54981bd4c7b0fa72889ba509e5c434ff4
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
903901c97b
Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
...
MozReview-Commit-ID: CVbAYPrwpuB
--HG--
extra : rebase_source : 81f06e74ab74558cfba435cac79bc6fee0d7409c
extra : source : 9249495e35aa39f4cf4f5604a9e1b56608c8775a
2016-03-04 15:45:57 -06:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Carsten "Tomcat" Book
94cebd7b33
Backed out changeset a9fcd0e98cc3 (bug 1231981)
2016-04-25 16:28:53 +02:00
Carsten "Tomcat" Book
42f342e18c
Backed out changeset 4cff2bed6747 (bug 1231975)
2016-04-25 16:28:47 +02:00
Carsten "Tomcat" Book
f49979964c
Backed out changeset 1913c67263eb (bug 1231975)
2016-04-25 16:28:44 +02:00
Carsten "Tomcat" Book
8353eec0ac
Backed out changeset 9d0c273048d6 (bug 1231975)
2016-04-25 16:28:42 +02:00
Carsten "Tomcat" Book
7cc02680ae
Backed out changeset b21f8efbd341 (bug 1231975)
2016-04-25 16:28:41 +02:00
Byron Campen [:bwc]
543c799051
Bug 1266468: Respond to STUN requests with 400 if the component is failed. r=drno
...
MozReview-Commit-ID: 106OvQ7WLvp
--HG--
extra : rebase_source : 797c932080d07ff3d0be2fd20d9082944f1ac51d
2016-04-21 13:00:26 -05:00
Byron Campen [:bwc]
f508596540
Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
...
MozReview-Commit-ID: HwatO6UaeEX
--HG--
extra : rebase_source : 4fa178e6b2d715d5f7e56e7dd19d607830c31ff7
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
4262b60302
Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
...
MozReview-Commit-ID: ASbgh62xqQU
--HG--
extra : rebase_source : 3fdcbf69370a69556b6b34d1a9c8c142732e21f8
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
fb77b5d2b8
Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
...
MozReview-Commit-ID: CS1q6LyUsIe
--HG--
extra : rebase_source : efc3eb166d01de91c2d628540fda625155d8cd26
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
98c17059df
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : 20d6bc3424e433fbc0a98739310598c3c9433c87
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
50135632ac
Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
...
MozReview-Commit-ID: CVbAYPrwpuB
--HG--
extra : rebase_source : f52583fe21269d4d4214b93315cc75f0535de55d
2016-03-04 15:45:57 -06:00
Nils Ohlmeier [:drno]
df7216ecb4
Bug 1259842: allow RFC1918 pairing again r=mjf
...
MozReview-Commit-ID: 6afbRF64PM2
--HG--
extra : rebase_source : fbdf8db55ed9fb22cf39b375551741a5e75aac14
2016-04-05 17:10:03 -07:00
Michael Froman
eeafb75c78
Bug 1264344 - Don't restart ICE on first CreateOffer call if iceRestart option is true. r=bwc
...
MozReview-Commit-ID: 18qpyjAo0By
--HG--
extra : rebase_source : 172dcd1dfe95bdad684a4ce9a352183f2e77bafc
2016-04-13 11:41:05 -05:00
Michael Froman
438bea1ee6
Bug 906986 - Rework rollback/finalize to include a committed state. r=bwc, r=drno
...
MozReview-Commit-ID: z7uEn5xEBf
--HG--
extra : rebase_source : 18565a3c49045af9445a93de8753110169caf465
2016-04-05 20:12:04 -05:00
Michael Froman
e2e642f12e
Bug 906986 - Ice restart and tests. r=bwc, r=drno, r=smaug
...
MozReview-Commit-ID: AMEi7SZebBG
MozReview-Commit-ID: GS2EkamNGc7
--HG--
extra : rebase_source : f715bc837331028f6b5e22820c530e34ca5bedb8
2016-04-08 09:20:53 -05:00
Michael Froman
3afe176e86
Bug 906986 - Wrap NrIceCtx in NrIceCtxHandler which will allow us to handle ice restart. r=bwc, r=drno
...
MozReview-Commit-ID: 8MEfEBf2Pvi
--HG--
extra : rebase_source : ca23f499f155593e0601f918ab16ee38fae35f42
2016-03-31 14:12:19 -05:00
Michael Froman
ae71fe6a8c
Bug 906986 - Genericize some of the test setup and improve logging. r=bwc, r=drno
...
MozReview-Commit-ID: 7HddAbcncFC
--HG--
extra : rebase_source : fd418ab3493011f25ed8aaaea50549474d29108b
2016-03-31 11:31:58 -05:00
Michael Froman
d4c059685e
Bug 906986 - Use the streams from the ice_ctx, don't hold a separate set. r=bwc, r=drno
...
MozReview-Commit-ID: FwomOrICh70
--HG--
extra : rebase_source : bdb08ab1cb8e6c5779171e30aecb282bd5e30e24
2016-03-31 10:17:28 -05:00
Michael Froman
ac55e03a26
Bug 906986 - Rework fix for Bug 1241690 to avoid reliance on NrIceCtx inside NrIceMediaStream. r=bwc, r=drno
...
MozReview-Commit-ID: 1QCfbZUGdwM
--HG--
extra : rebase_source : e47546e226839410b65013c66eab53b0212e86fe
2016-03-31 09:24:17 -05:00
Michael Froman
04ec3df956
Bug 906986 - Disable TestSrflxCandPairingFilter until bug 1226838 is fixed. r=bwc, r=drno
...
MozReview-Commit-ID: 5QFUeqDG4dh
--HG--
extra : rebase_source : a7c3f93e33072d0645339a6a169d49a9f58b04f2
2016-03-31 09:16:23 -05:00
Nils Ohlmeier [:drno]
4d0aaaafea
Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
...
MozReview-Commit-ID: 8PpL6Z0za71
--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
Byron Campen [:bwc]
7325e61fd6
Bug 1258753: Base candidate pair priority on controlling/controlled. r=drno
...
MozReview-Commit-ID: 6RAFaAtBbJq
--HG--
extra : rebase_source : 976b63d44fc7c50efa8f40b067cf45b56c66ed09
extra : source : 7b6263bcd3d7e9148914f5aaace10fc69ea0395d
2016-03-22 12:22:56 -05:00
Nicholas Nethercote
ea9bc73f05
Bug 1254780
(attempt 2) - Shrink log_types from 1024 entries to 16. r=ekr.
...
MozReview-Commit-ID: KWrOTuTlt6H
--HG--
extra : rebase_source : 36ec95f4584ea0d67286e9956456dffbe5294401
2016-03-11 10:06:32 +11:00
Byron Campen [:bwc]
6765c70f22
Bug 933986. Switch over from index to an id, and ensure uniqueness when feeding into the candidate priority calculation. r=drno
...
MozReview-Commit-ID: 5LOQJbsnEWN
--HG--
extra : rebase_source : 644695f73f316fa8e71e410442f3796822e3255a
2013-11-04 16:50:10 -08:00
Byron Campen [:bwc]
03253b8221
Bug 1256720: Remove a bad assertion, and simplify some code. r=drno
...
MozReview-Commit-ID: 3h52q8Wrp8R
--HG--
extra : rebase_source : a1cf4d7fa29e4ed7bb6a1f5be19d1b2af2ef5316
2016-03-24 15:05:53 -05:00
Sebastian Hengst
4029855eed
Backed out changeset e139011ede5b (bug 1254780
) for crashes in mozilla::gfx::Log<1,mozilla::gfx::CriticalLogger>::WriteLog on Windows 7 debug. r=backout
2016-03-24 10:52:52 +01:00
Nicholas Nethercote
d6246f169d
Bug 1254780
- Shrink log_types from 1024 entries to 16. r=ekr.
...
--HG--
extra : rebase_source : 7cc7a749b080fb3e35c9b8cf285ff88738ef3234
2016-03-11 10:06:32 +11:00
Byron Campen [:bwc]
02772181cb
Bug 1257472: Forgive rport of 0. r=drno,ekr
...
MozReview-Commit-ID: 12YyYqrt3wR
--HG--
extra : rebase_source : b3e8397a0c29f8a9d354e4081fcf76e103fd11d8
2016-03-17 10:50:33 -05:00
Martin Thomson
7d88785757
Bug 1251822 - Disable ChaCha20Poly1305 for unit tests that check cipher suite, r=ekr
...
MozReview-Commit-ID: H7IW0iOTAzx
--HG--
extra : rebase_source : 7d637e24ea89c0d070fbe0511dd445f8d11e51f6
2016-03-16 17:52:49 +11:00
Nils Ohlmeier [:drno]
eca4273031
Bug 1233181: improve misleading log message about missing STUN & TURN servers. r?=mjf
...
MozReview-Commit-ID: sQzU9u96yP
--HG--
extra : rebase_source : 9a5d3198ee4d52fab556d2eace08aa41ea75cf5a
2015-12-16 12:00:27 -08:00
Boris Zbarsky
1228b7cbd3
Bug 1255269. Get rid of nsITCPSocketCallback.fireDataEvent. r=jdm
2016-03-10 18:07:28 -05:00
Byron Campen [:bwc]
736356238e
Bug 1248637: Prune duplicate CANCELLED candidate pairs. r=drno
...
MozReview-Commit-ID: HeErN7xMxbQ
--HG--
extra : rebase_source : d8f355e6cc74c73c3e9bc100a2bb2b2603931e55
2016-03-01 10:47:14 -06:00
Nils Ohlmeier [:drno]
6d382efd5e
Bug 1253198: add WebRtcIce prefix to all ICE unit tests. r=bwc
...
MozReview-Commit-ID: 5wD8Dl9ETkB
--HG--
extra : rebase_source : edf942c35be1d4caba5501b9395a70953eaa8344
2016-03-03 01:40:52 -08:00
Nils Ohlmeier [:drno]
01210346dd
Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
...
MozReview-Commit-ID: A3yCZZ3Pwcu
--HG--
extra : rebase_source : 67d200194ed72076fcb6064f16ec94334f8fb5e7
2016-03-01 21:46:50 -08:00
Nils Ohlmeier [:drno]
1a7d746ecc
Bug 1252777: skip over ICE TCP host candidate creation failures. r=bwc
...
MozReview-Commit-ID: 6l0ierHz5eL
--HG--
extra : rebase_source : 5bcce0063cf092f9eba278ea6790a0ada07eb82c
2016-03-02 01:27:01 -08:00
Nathan Froyd
b938c57967
Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup
...
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
This patch merits a couple explanations:
- Where it made sense, I tried to convert:
T* foo() {
UniquePtr<T> x = ...;
...
return x.release();
}
into:
UniquePtr<T> foo()
with corresponding changes inside |foo|'s body.
- The attentive reader will note that:
auto x = MakeUnique<T>(...);
is used sometimes and:
UniquePtr<T> x(new T(...));
is used sometimes. I would prefer to use the former, but was stymied
in several places due to protected constructors. (MakeUnique doesn't
have access to those protected constructors, natch.)
2016-03-02 15:28:27 -05:00
Byron Campen [:bwc]
f1f2ee96b5
Bug 1037618 - Part 1: Add some logging to highlight TCP connection failures. r=drno
...
MozReview-Commit-ID: 4q84yGspvyX
--HG--
extra : rebase_source : 099d1dd32cc46ed96ac234fe0a65c85333acfdf1
2016-03-01 12:06:12 -06:00
Byron Campen [:bwc]
f3294c2565
Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno
...
MozReview-Commit-ID: F7Dgk5gN4cs
--HG--
extra : rebase_source : 5a5b536b906a01dfb171008ba02ce3650abafca9
2016-03-01 13:59:43 -06:00
Byron Campen [:bwc]
8e9153abea
Bug 1252163: Fix CheckTcpConnectivity to wait for readable/writeable when necessary. r=drno
...
MozReview-Commit-ID: 6hz0eCghYE0
--HG--
extra : rebase_source : 46b1221ab29c33455f7ceb3c0e149e4c8aaa2397
2016-02-29 12:33:47 -06:00
Byron Campen [:bwc]
3a66dfe493
Bug 1252171: Update last_used_ on TCP port mappings when they are used, similar to UDP. r=drno
...
MozReview-Commit-ID: DNinTza44la
--HG--
extra : rebase_source : 5d65d9a4c21ad113a2762ebf397b1e7b8f289dd5
2016-02-29 13:04:42 -06:00
Wes Kocher
6866309c97
Backed out 2 changesets (bug 1251714, bug 1251715) for gtest failures in media code
...
Backed out changeset 1bbd0cd10f76 (bug 1251714)
Backed out changeset 80b197c5608f (bug 1251715)
MozReview-Commit-ID: EHOtiKLS4Xr
2016-03-01 11:36:35 -08:00
Nathan Froyd
70d7688ee3
Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup
...
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
This patch merits a couple explanations:
- Where it made sense, I tried to convert:
T* foo() {
UniquePtr<T> x = ...;
...
return x.release();
}
into:
UniquePtr<T> foo()
with corresponding changes inside |foo|'s body.
- The attentive reader will note that:
auto x = MakeUnique<T>(...);
is used sometimes and:
UniquePtr<T> x(new T(...));
is used sometimes. I would prefer to use the former, but was stymied
in several places due to protected constructors. (MakeUnique doesn't
have access to those protected constructors, natch.)
2016-02-26 14:52:15 -05:00
Eric Rahm
e9c93e58a3
Bug 1251737 - Remove remaining references to MOZILLA_XPCOMRT_API from media. r=jesup
2016-02-27 11:12:07 -08:00
Eric Rahm
2917e8395e
Bug 1239870 - Part 5: Switch over mtransport tests to mozilla gtests. r=bwc
...
This converts the individual cppunit gtests into the combined mozilla gtest
which has access to xpcom internals. The build file is simplified to reflect
this change, individual main functions are removed, and duplicate symbols are
removed.
2016-02-09 10:02:40 -08:00
Eric Rahm
082b84fde2
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
c9f8e6756f
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
d5bd208a66
Bug 1239870 - Part 2: Split out NrIceCtx initialization. r=bwc
...
This splits NrIceCtx initialization into its own function so that the tests
can initialize without having to create a dummy instance.
2016-02-24 18:37:18 -08:00
Eric Rahm
0d0d8d2c9e
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
Wes Kocher
72d9604d91
Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures
...
Backed out changeset f064a5efbb8c (bug 1251494)
Backed out changeset 9e33adec1aa6 (bug 1251482)
Backed out changeset ab0347657e25 (bug 1251473)
Backed out changeset 1d385d4f195d (bug 1239870)
Backed out changeset ceb3e1ee7dda (bug 1239870)
Backed out changeset 8574075bf42f (bug 1239870)
Backed out changeset ba077a3afbc7 (bug 1239870)
Backed out changeset eb99ab06414d (bug 1239870)
MozReview-Commit-ID: 7r9SEk4VGNU
2016-02-26 17:14:57 -08:00
Eric Rahm
6968bce012
Bug 1239870 - Part 5: Switch over mtransport tests to mozilla gtests. r=bwc
...
This converts the individual cppunit gtests into the combined mozilla gtest
which has access to xpcom internals. The build file is simplified to reflect
this change, individual main functions are removed, and duplicate symbols are
removed.
2016-02-09 10:02:40 -08:00
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
c93c9b8dbe
Bug 1239870 - Part 2: Split out NrIceCtx initialization. r=bwc
...
This splits NrIceCtx initialization into its own function so that the tests
can initialize without having to create a dummy instance.
2016-02-24 18:37:18 -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]
ca4206043b
Bug 1251214: Ignore R_WOULDBLOCK in nr_stun_client_send_request r=ekr
...
MozReview-Commit-ID: HLrvq4BqT9D
--HG--
extra : rebase_source : 4fdef84e82f8eec2f013b7c667bb0ac606ce0751
2016-02-25 11:34:27 -06:00
Chris Peterson
40c713a733
Bug 1247536 - Fix -Wunreachable-code warning in media/mtransport/. r=drno
...
media/mtransport/nr_socket_prsock.cpp:1059:10: warning: 'return' will never be executed [-Wunreachable-code-return]
2016-02-10 22:23:32 -08:00
Nils Ohlmeier [:drno]
593e9d2dc5
Bug 1246363: add logging to detect if relay only option is set. r=mjf
...
--HG--
extra : rebase_source : b5c62327575846c894ce8e8b252bb7397ea913ac
2016-02-05 22:56:14 -08:00
Bogdan Postelnicu
81b7f293ba
Bug 1246925 - log filtering_type and mapping_type only if they are valid pointers. r=ekr
...
--HG--
extra : transplant_source : %DDe%CE%AD%BA%A4%93%F5%96kv%DEV%D2hZ%A11%10P
2016-02-09 15:38:00 +02:00
Nils Ohlmeier [:drno]
59d2466489
Bug 1224845 - close sockets on errors and don't connect to IPv4 TURN TCP from IPv6 sockets. r=jesup
...
--HG--
extra : transplant_source : %9Eg%1E%E0%B9%0E%5Eh%3EJK8uk%91s%EC%11I%17
2016-01-28 10:53:56 -08:00
Byron Campen [:bwc]
50a78a6abe
Bug 1244338 - Don't try to clean up |ctx| if null. r=drno
...
--HG--
extra : transplant_source : %22%1Bw%13e%E3HU%CA%3E%EC%14%9Ce%9CR%B6g%7D%01
2016-02-01 16:22:17 -06: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
Paul Kerr [:pkerr]
76bf81396a
Bug 1221786: clear about:webrtc logs for private browsing sessions. r=jib
...
No WebRTC session statistics will be saved until all PeerConnections
in private browsing window end. In addition, the shared
WebRTC ICE signalling log for that e10s process is disabled until the
private session close.
2016-01-26 08:08:25 -08:00
Paul Kerr [:pkerr]
7282ddd04a
Bug 1209252 - Part 2: typo fix for compile issue. r=bustage on a CLOSED TREE
2016-01-27 18:09:19 -08:00
Paul Kerr [:pkerr]
447a27169b
Bug 1209252: add buttons to clear session and signaling logs. r=jib, r=sicking
2016-01-27 16:05:10 -08:00
Xidorn Quan
50bcfcc983
Bug 1237909 part 1 - Remove unused TransportLayer::RunOnThread function. r=bwc
...
--HG--
extra : source : ae64d2c13d73b49063fc5dfa655ed7750f3b7091
2016-01-25 14:52:34 +11:00
Nils Ohlmeier [:drno]
f795a86676
Bug 1117984: added proxy connection state enum. r=bwc
...
--HG--
extra : rebase_source : 46ddbc54e9bd7d9d543b12cfe6147fa80e80f742
2016-01-20 15:55:35 -08: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
Randell Jesup
fc4ef2aa30
Bug 1194259: nsresult != NS_IMETHODIMP rs=bustage
...
--HG--
extra : commitid : 8fAvxwbBFp7
2016-01-22 04:32:50 -05:00
Randell Jesup
22b767c6eb
Bug 1194259: Make ICE IP restriction to default routes work in E10S r=jesup,mcmanus,drno
...
--HG--
extra : commitid : 2LptzIDH6lK
2016-01-22 02:47:01 -05:00
Nils Ohlmeier [:drno]
84c3a1de83
Bug 1237299: addedd missing address family to DNS lookup for proxies r=bwc
...
--HG--
extra : rebase_source : 3c699136033854c779e418f22d38cd11b784d2ef
2016-01-11 13:39:11 -08:00
Nils Ohlmeier [:drno]
cc0ba97a71
Bug 895793: added interface type and link speed detection for Windows. r=bwc
...
--HG--
extra : rebase_source : 98293e939ff2f2c0c670c377d194fd93371f6c9b
2016-01-08 14:37:18 -08:00
Chris Peterson
f3abb8a9e8
Bug 1235235 - Fix -Wimplicit-fallthrough warning in media/mtransport/. r=ekr
...
media/mtransport/transportlayerdtls.cpp:872:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:03:13 -08:00
Nils Ohlmeier [:drno]
c69876f082
Bug 1229633: hash interface names on Windows. r=ekr
...
--HG--
extra : rebase_source : e76fc7866c70242ba957bd2c84c42c2f4fc2f592
2015-12-21 23:13:44 -08:00
Jan Beich
b9ba40cc6b
Bug 1231117 - Use xlocale on DragonFly as well. r=jesup
...
--HG--
extra : transplant_source : %7F%8D%B37%8B%0B%22%99%8F%A5%81%ECS%C5%ED%24%94%21%1F%8B
2015-12-03 12:32:52 +00:00
Jan Beich
59274cab04
Bug 1231109
- Drop FreeBSD checks for unsupported versions. r=jld r=jesup
...
--HG--
extra : transplant_source : P%FC%E3%29%07%05%D4%8DA%A7%89%90%26%B4%D5%E2%60%89%0C%B0
2015-12-03 12:28:22 +00: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
Randell Jesup
9c83bc8f96
Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
...
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports. Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Nils Ohlmeier [:drno]
2781200097
Bug 1208278 - improved STUN request timeout handling. r=bwc
...
--HG--
extra : rebase_source : 5db4b680b26eb5c4e9e69443602e3a0d8fbca247
2015-10-21 00:37:48 -07: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]
944e3aaf48
Bug 1192403 - improve ICE TCP error message. r=mjf
...
--HG--
extra : transplant_source : -%25t%10%26%91%3EnY%1F%24%22%E2%94%24%B5%98%24c%16
2015-08-08 00:39:32 -07: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
Byron Campen [:bwc]
29e45beb5c
Bug 1214279: Fix the same infinite loop from bug 957236 in a different place. r=drno
2015-10-22 16:40:38 -04:00
Mike Hommey
3de00b45dd
Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
...
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.
The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Nicholas Nethercote
5b34a25af2
Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
...
DONTBUILD because it only changes comments.
This will hopefully prevent confusion like that in bug 1215903.
--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -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
Nils Ohlmeier [:drno]
eaaf58dece
Bug 1215616: use base address for server rflx ICE candidates r=bwc
2015-10-17 11:34:01 -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
Byron Campen [:bwc]
eafccd90eb
Bug 1208176 - Part 1: Add a couple of interface names. r=drno
...
--HG--
extra : rebase_source : 5c5f621394ed6b69893c58ec13c50ad71272608a
2015-10-06 15:06:36 -05:00
Byron Campen [:bwc]
4204f5899a
Bug 1211389 - Make absolutely sure the relay->srflx pointer doesn't dangle. r=drno
2015-10-05 14:32:22 -05:00
Byron Campen [:bwc]
36ac94db5d
Bug 1208096 - Handle various failure cases for TURN gathering better. r=drno
...
--HG--
extra : transplant_source : S%06%02%9F%60%C1%BEu%0A%7FB%FFwx%E0%93%C6%81%AD%19
2015-09-24 14:12:37 -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
"Chih-Kai (Patrick) Wang"
028e16c84d
Bug 950660: Part 4: Bridge TCPSocketChild to nr_socket r=bwc,jdm
...
Improve use of TCPSocket to track in-flight writes and suppress extra runnables
Adds lots of logging to nr_socket_buffered_stun.c
Rework mtransport code to use new TCPSocketChild interface
2015-01-05 15:49:50 +08: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
Michael Froman
4d7947ace5
Bug 1008792 - Check for valid pointer before using. r=bwc
...
--HG--
extra : transplant_source : %5E%08%E9.%109b%25e%97%0C%ED%5D%3F%2A1/%93%8A%B0
2015-09-01 11:52:43 -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
Nils Ohlmeier [:drno]
03ad9c30eb
Bug 1199766 - Disable ICE TCP SO gathering via user pref. r=bwc
...
--HG--
extra : transplant_source : %60%C8%88-%E0%F2%9F%3FMn%A8%7C%3Ah%94s%D2%99%2AX
2015-08-28 13:22:45 -07: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]
26ca64d0a9
Bug 1142964 - Fix ICE tiebreaker on Windows. r=bwc
...
--HG--
extra : transplant_source : %7E%1E%92%E1%EC%C4_9%5B%7B%92xV%90%B6e%835%0D%23
2015-08-21 10:35:28 -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
Randell Jesup
efb47b11df
Bug 1189040: add a whitelist for network interfaces to use with ICE/webrtc r=ekr
2015-08-12 19:45:36 -04: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
8e674f7ed3
Bug 1187775 - skip host and reflexive ICE candidates if relay-only. r=bwc
...
--HG--
extra : transplant_source : d%FBJ%BB%8B%BA%C8S%EE%C8%EB%8E%C3%9B%E9wA%8A%A8%86
2015-08-05 08:22:55 -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
Nils Ohlmeier [:drno]
453ddf7598
Bug 1189961 - added DNS AAAA convertion to nICEr transport addr. r=bwc
...
--HG--
extra : transplant_source : %10-Ak%B73AZ%D2%EA%CA%7B%98%40%EB%2A%EA%B7%0B%C2
2015-07-31 18:18:02 -07:00
Nils Ohlmeier [:drno]
928cc0e5e5
Bug 1190720 - only check IP version for STUN server IPs. r=bwc
...
--HG--
extra : transplant_source : %90%D2%EA%A8%91%18%2C%3A%87Fz%EF%09%DE%28%11%22%B5%94Q
2015-08-03 23:38:36 -07:00
Nils Ohlmeier [:drno]
62de0a691c
Bug 1190615 - Skip non-UDP STUN servers for UDP sockets. r=bwc
...
CLOSED TREE
--HG--
extra : amend_source : c1d99bee2b35bd585e0b8905f14e3fd935e26e72
extra : transplant_source : %A8f%FC%B78D%823%F57%8B%91%CF%BF%C8%EC%84%DA4%B5
2015-08-03 16:26:20 -07: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
Nils Ohlmeier [:drno]
ec3ba81d1e
Bug 1189198 - don't start STUN transactions with a protocol mis-match. r=mtseng
...
--HG--
extra : rebase_source : 9c51c1395dc99a19ae32ba79a54f8129f2166ae6
2015-07-31 11:23:26 -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]
910b8d14f3
Bug 1187472 - only log UDP and TCP candidate gathering failures. r=bwc
...
--HG--
extra : rebase_source : 44b6b6f2c99c93695ee9711ffdb9caf05dddffe2
2015-07-24 14:01:11 -07:00
Jessica Jong
11d3d9a5a3
Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen
2015-07-29 02:16:00 -04:00
Wes Kocher
c835884065
Merge b2ginbound to central, a=merge
2015-07-24 13:47:05 -07:00
Nils Ohlmeier [:drno]
0012786ede
Bug 1186339 - skip STUN/TURN servers with non-matching IP versions for TCP sockets. r=bwc
...
--HG--
extra : transplant_source : %3E%0E8%D9%D8%A4%03J%E42%AE%0C%3D%C0o%84%D7%40dl
2015-07-22 10:54:11 -07: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
Jessica Jong
1b76db0a26
Bug 1185802 - Part 2: support fota apn type (impl). r=hsinyi
...
--HG--
extra : commitid : AFRfgLTfJL1
2015-07-24 10:41:15 +08:00
Nils Ohlmeier [:drno]
812df4ccca
Bug 1183985: Fixed WebRTC socket leak on Linux. r=bwc
...
--HG--
extra : commitid : 8QALoykXJwH
extra : rebase_source : a47d2c9fd1cd5a8f4f0c1abfadf9946d6a0562f1
2015-07-15 00:19:47 -07:00
Martin Thomson
83db5b6014
Bug 1184226 - Suppressing received packets when disabled, r=ekr
...
--HG--
extra : commitid : Ff35Nhfz0A1
2015-07-15 13:03:01 -07:00
Martin Thomson
edcb9d055e
Bug 1184226 - Disabling write on shutdown, r=ekr
...
--HG--
extra : commitid : 9u0Wd9Hh0Pu
2015-07-15 12:23:10 -07:00
Martin Thomson
3f8ac8f5ec
Bug 1184226 - Updating transportlayerdtls logging levels, r=ekr
...
--HG--
extra : commitid : 60ANY3TKI6I
2015-07-15 12:23:10 -07: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
Randell Jesup
c87c478f4f
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04: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
Martin Thomson
8fd488c3ef
Bug 1172785 - Using RTCCertificate for WebRTC, r=ekr
...
--HG--
extra : commitid : DAyJQljGuGT
extra : rebase_source : 5a5e3baad12dcea9c3020d1716d41c409e3614f8
2015-07-06 10:40:04 -07:00
Byron Campen [:bwc]
ecf78bfe78
Bug 1180311 - Add null check to ifa_addr. r=ekr
...
--HG--
extra : rebase_source : 61eb93695a2e4f478055515302b696d93dc68256
2015-07-03 14:10:16 -07:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -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
Byron Campen [:bwc]
73bf6da5c9
Bug 980609: Do not assert that TURN TCP client contexts can't fail before attempting to allocate. r=ekr
...
--HG--
extra : rebase_source : 24bcbf50e03a19a5f09ef3e39a5c3c285c73322b
2014-03-07 15:29:09 -08:00
Byron Campen [:bwc]
deed219594
Bug 971357: Log STUN responses at INFO instead of DEBUG. r=ekr
...
--HG--
extra : rebase_source : 58291fe1ea5c807eff63982dfab4fe8f37289030
2014-02-11 17:27:45 -08:00
Byron Campen [:bwc]
85e5c38741
Bug 1035428: Re-register writeable callback after partially servicing the send queue. r=drno
2014-07-07 14:25:23 -07:00
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Nathan Froyd
085aa479e6
Bug 1175621 - make WrapRunnable* more efficient by utilizing moves in wrapper functions; r=ekr
...
Calls to WrapRunnable* copy their arguments already; we don't need to
copy them a second time when constructing the actual runnable. In
addition to making things more efficient, this change also permits calls
to WrapRunnable to correctly handle objects that can only be moved, and
not copied.
2015-06-17 10:52:48 -04:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04: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
Peter Tatrai
72a87d1ac6
Bug 891551 - Part 8: Increase and make backlog value configurable. r=bwc
2014-06-12 07:25:00 -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
Ted Mielczarek
f29254de56
bug 1171120 - Fix mtransport+signalling to build on iOS. r=ekr
...
--HG--
extra : commitid : IzeeeUXXL9N
extra : rebase_source : 7f5d4d505327989abffde752b99bc62a497f6c77
2015-02-27 12:37:42 -05: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
Randell Jesup
e512e96a61
Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc
2015-06-05 15:16:45 -04:00
Wes Kocher
8ab478043e
Backed out changeset 2cb094627289 (bug 822129) for cppunittest orange
2015-06-05 14:16:56 -07:00
Randell Jesup
b3489b0ab1
Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc
2015-06-05 15:16:45 -04:00
Byron Campen [:bwc]
e3ac40f6ed
Bug 1169338 - Part 2: Extend ICE timeouts since mochitests are frequently run on systems that are performance constrained. r=mt
...
--HG--
extra : rebase_source : 3f19bb04da92360959430d0eaee1ba1e031a1cba
2015-05-22 11:11:37 -07:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
b28e274194
Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr
...
To fit into the new structure of mozilla logging we need to remove |ML_EMERG|
(it is not used) and as an interim step we need to switch from using raw
integers to the new PR_LOG levels.
2015-06-03 15:22:36 -07:00
Eric Rahm
f50b813989
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-03 15:22:28 -07:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
39e425f2b7
Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr
...
To fit into the new structure of mozilla logging we need to remove |ML_EMERG|
(it is not used) and as an interim step we need to switch from using raw
integers to the new PR_LOG levels.
2015-06-01 22:17:27 -07:00
Eric Rahm
141e0ff4a2
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 22:17:19 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
fff19cfe67
Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr
...
To fit into the new structure of mozilla logging we need to remove |ML_EMERG|
(it is not used) and as an interim step we need to switch from using raw
integers to the new PR_LOG levels.
2015-06-01 14:31:00 -07:00
Eric Rahm
dc090e3fe5
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 14:31:00 -07:00
Randell Jesup
556337fa7c
Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent
2015-05-29 10:14:14 -04:00
Randell Jesup
2b068009de
Bug 1145354: Add SingletonThreadHolder for media/mtransport, and use it for mtransport IPC IO r=bwc
...
(also includes Bug 1109338: Part 4 r=bwc)
2015-05-29 10:13:33 -04:00
Mike Hommey
ea7750bcb1
Bug 991983 - Define SOURCES as SourcePath. r=gps
2015-05-28 07:34:15 +09:00
Nathan Froyd
3e13ec018f
Bug 1116905 - part 1 - remove dependence on implicit conversion from T* to TemporaryRef<T>, non-gfx changes; r=ehsan
2015-04-30 15:17:08 -04:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -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
Byron Campen [:bwc]
605cc781a8
Bug 1096795 - Put a=rtcp in SDP when gathering ends. r=mt
...
--HG--
extra : transplant_source : %1D%A4%CD6S%E6%87G%D7%E9%05%3D%C1%23%1A%E5%D5_%17C
2015-05-08 15:52:41 -07:00
Ehsan Akhgari
187795741d
Bug 1157057 - Rewrite the handling of the nsITimer object in nrappkitTimerCallback; r=ekr
...
This patch makes the code use smart pointers more for dealing with
the nsITimer object, and it also avoid an unneeded AddRef and
Release pair.
2015-05-15 08:39:54 -04:00
Eric Rahm
c2e607291d
Bug 1164622 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=ekr
...
Avoid using a stringstream if the given log level is not enabled.
2015-05-14 10:13:24 -07:00
Eric Rahm
4d6eca8317
Bug 1164622 - Part 1: Remove instances of #ifdef PR_LOGGING in media. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07: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]
bd03e53251
Bug 1152137 - Part 2: Remove attributes that could not be initted properly instead of just freeing them. r=ekr
...
--HG--
extra : rebase_source : f6ca2ca980ae4c99d04baed3a3b7c1ab593ab31a
2015-04-08 16:18:39 -07: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
Ryan VanderMeulen
23b2440390
Merge inbound to m-c. a=merge
2015-04-09 22:43:57 -04: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
Dragana Damjanovic
9441d5b1f1
Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer
2015-04-08 15:35:00 -04:00
Byron Campen [:bwc]
da2ef8fa74
Bug 1150966: Check whether |streams_| is null on stats methods in NrIceMediaStream. r=drno
...
--HG--
extra : rebase_source : 38f61e496d3b2ad7d7a0c72e141490deaa04b538
extra : source : ab93f4716296c85ce4953ee87be1bfa728a7cbb9
2015-04-03 11:13:44 -07: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
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Byron Campen [:bwc]
f195a6006a
Bug 1149298 - Part 3: Fire end of candidates signal when StartGathering has nothing to do, and only call StartGathering once per offer/answer. r=drno
...
--HG--
extra : rebase_source : bad9c9e8b4d83225c2cdfaa807fd034f0b70e4c8
2015-03-30 16:32:51 -07:00
Byron Campen [:bwc]
f940cd6f59
Bug 1149298 - Part 2: When destroying a candidate, ensure that the ice_ctx doesn't continue waiting for it to init. r=drno
...
--HG--
extra : rebase_source : a6b549f6f6bb133af4d39a4c8870b4eedab65c8a
2015-03-30 15:22:28 -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
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00: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