Commit Graph

410 Commits

Author SHA1 Message Date
Mike Hommey
fc99c53ae5 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
dc28de8143 Bug 1061056 - Fix more bad implicit constructors in WebRTC; r=jesup 2014-09-01 17:43:17 -04:00
Byron Campen [:bwc]
0b5fa1a3c1 Bug 1008786: Zero outparams in nr_reg_fetch_node before we do anything that might abort. r=drno 2014-06-10 11:05:25 -07:00
Byron Campen [:bwc]
32ef235a1e Bug 991037 - Part 2: Convert over to full trickle, which allows some simplification of code, and makes the following work much easier. r=mt 2014-08-07 10:20:26 -07:00
Byron Campen [:bwc]
04e481a1d8 Bug 1057096 - Double the global STUN long-term rate limit. r=jesup
--HG--
extra : rebase_source : e50126158fe8581a3337e31870759618524c782a
2014-08-21 15:35:04 -07:00
Shih-Chiang Chien
d731e8e068 Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Randell Jesup
ba3dc5af84 Bug 1013007 - Re-enable STUN throttling in mid-beta and later. r=bwc 2014-08-11 17:53:51 -04:00
Nathan Froyd
631962a036 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Byron Campen [:bwc]
04ec4a749f Bug 1024028 - Part 1: Test that checking is reached in ice_unittest. r=drno 2014-08-06 10:36:01 -07:00
Byron Campen [:bwc]
4ffb784cdd Bug 1024028 - Part 2: Add an ice_checking callback that is fired when checking actually starts. r=drno 2014-08-06 11:34:55 -07:00
Shih-Chiang Chien
3d72ae267f Bug 1054908 - Ensure socket_child_ is released on main thread. r=mt 2014-08-18 19:14:00 -04:00
Ehsan Akhgari
846cc77ddd Bug 1053792 - Fix some bad implicit constructors in the mtransport code; r=jesup 2014-08-15 17:41:29 -04:00
Ralph Giles
3c372f1361 Bug 1052610 - Fix an unused variable warning. r=martin.thomson
Disabling the code while leaving the table it uses breaks -Werror.
2014-08-14 10:02:00 -07:00
Ralph Giles
fdccd07b28 Bug 1045231 - Namespace nrAppKit's htonll. r=abr
This avoids conflicts with any system-provided versions, like
on Apple MacOS X 10.10.
2014-08-14 10:05:00 -07:00
Martin Thomson
a7496d2d8d Bug 1052610 - Removing cipher suite profiling. r=ekr 2014-08-13 14:08:00 -05:00
Mike Hommey
a3eba4accf Bug 1050704 - Remove STLPORT_CPPFLAGS from Makefiles. r=mshal 2014-08-09 07:55:09 +09:00
Martin Thomson
f732264a57 Bug 1006207 - Remove offset from Packet class, forcing use of recv over read. r=ekr 2014-08-04 15:35:00 -04:00
Martin Thomson
4c4bff04e7 Bug 1006207 - Remove unused mode_ code. r=ekr 2014-08-04 15:34:00 -04:00
Mike Hommey
0f4c5d9244 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
490b04e4f0 Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal 2014-08-07 13:48:10 +09:00
EKR
c634b80303 Bug 1028582 - Modify TransportLayerDtls to force a fresh ECDHE server key. r=mt 2014-08-05 09:06:48 -07:00
Martin Thomson
bd58e64361 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
afa8bcbb2e Bug 996237 - Tests for cipher mismatch. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
9b95d04978 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-08-04 11:49:00 -04:00
Martin Thomson
7b591a212a Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-08-04 11:49:00 -04:00
Ed Morley
076cbae1d4 Backed out changeset ab292958d0e7 (bug 996237) for build failures on Android 2014-08-04 15:34:42 +01:00
Ed Morley
7da815226f Backed out changeset 1015ade997be (bug 996237) 2014-08-04 15:34:25 +01:00
Ed Morley
1cbd2f3336 Backed out changeset 5cc4c2e9f1e4 (bug 996237) 2014-08-04 15:34:22 +01:00
Ed Morley
7a0239ee7e Backed out changeset 7c32b87be327 (bug 996237) 2014-08-04 15:34:18 +01:00
Martin Thomson
406a9ecfd2 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-07-31 17:47:00 -04:00
Martin Thomson
4d4cb1fb06 Bug 996237 - Tests for cipher mismatch. r=ekr 2014-07-31 17:45:00 -04:00
Martin Thomson
dd8aded4a6 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-07-31 10:47:00 -04:00
Martin Thomson
8c4a34fabd Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-07-31 17:45:00 -04:00
Jeff Walden
7760dae108 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
cde39a4083 Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Andrei Vlad Postoaca
77e88a30be Bug 1032438 - Fix warnings in r_bitfield.c. r=abr 2014-07-02 08:35:00 -04:00
Andrew McCreight
6cc44b7ee7 Bug 1029478 - Remove dangerous public destructor of TransportFlow. r=abr 2014-07-31 10:05:58 -07:00
Mike Hommey
ad9b49263a 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
71623acdd6 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
e5c43ef995 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
90c742edc2 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
Mike Hommey
b99bba5c3f Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Byron Campen [:bwc]
4e8f07f64c Bug 942188 - Various fixes to role-conflict resolution and some test-cases. r=abr 2013-12-13 20:18:24 -08:00
Byron Campen [:bwc]
2048be3f64 Bug 980270 - Part 1: Plug a couple of common leaks in nICEr. r=drno 2014-03-06 14:43:15 -08:00
Anuj Agarwal
6d12620baf Bug 1028139 - DataBuffer should not be a refcounted class. r=jesup 2014-07-11 16:39:00 +02:00
Nils Ohlmeier [:drno]
4df013587a Bug 1034327 - fix memory leak when TURN client is used. r=bwc 2014-07-03 16:54:00 +02:00
Benoit Jacob
dc08dbb20e Bug 1028588 - Fix dangerous public destructors in media/mtransport - r=abr 2014-06-24 12:36:44 -04:00
Byron Campen [:bwc]
5571ac5825 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
Rishab Arora
0eec37db1a Bug 956525 - Replace 'Lower lower' in log messages with 'Lower layer'. r=abr 2014-01-20 07:38:00 -05:00
Benoit Jacob
5a3aa8f5da Bug 1027251 - Address review comments on mtransport - r=abr
(Sorry about that!)
2014-06-21 00:09:48 -04:00
Benoit Jacob
efe5bdffd5 Bug 1027251 - Fix or whitelist dangerous public destructors in media/mtransport - r=abr 2014-06-20 07:08:24 -04:00
EKR
5986c65e5c Bug 1009227. Unit test for fix for DTLS connection establishment failure. r=mt 2014-06-17 14:30:28 -07:00
Jan Beich
636b64db51 Bug 1024510 - Unbreak --with-system-nss build after bug 1022812. r=mshal 2014-06-16 01:02:25 -04:00
Byron Campen [:bwc]
4a0a0e70ca Bug 1017332 - Part 1: Dump the r_log ringbuffer on all ICE failures. r=ekr, r=jesup 2014-06-12 17:22:00 -07:00
Byron Campen [:bwc]
1f7eeb76d8 Bug 1008796 - Fix return value in nr_ice_component_stun_server_default_cb. r=ekr 2014-06-10 10:45:01 -07:00
Byron Campen [:bwc]
881184c858 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
a2a4a9a1bc Bug 1022812 - Link a debuggable version of NSS into media/mtransport. r=mt 2014-06-11 07:17:02 -07:00
Byron Campen [:bwc]
0a653f0e9c 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]
582d112d7e 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
Byron Campen [:bwc]
e28d5a8b95 Bug 1004530 - Part 1: Allow a grace period for trickle candidates to arrive when all candidate pairs have failed. r=drno, r=ekr 2014-05-01 14:07:54 -07:00
Adam Roach [:abr]
04d763f9a3 Bug 1017755 - Make DTLS 'would have blocked' messages less aggressive r=jesup 2014-05-30 20:02:36 -05:00
Randell Jesup
79df25773b Bug 987979: Patch 3 - Fix various build issues in webrtc.org/Mozilla integration. r=rjesup 2014-05-29 17:05:14 -04:00
Byron Campen [:bwc]
865d18fb03 Bug 891551 - Part 2: (Upliftable) Fix bugs where PR_WOULD_BLOCK_ERROR (or, in some cases, PR_NOT_CONNECTED_ERROR while a TCP socket was connecting) would cause sockets to be abandoned for no good reason (see also bug 985493 and 1001671). r=bwc 2014-05-02 10:49:00 -07:00
Anders Lund
4fb3d4f35c Bug 942188 - Added parsing of ice-lite attribute and start ice checks as controlling if peer is ice-lite. r=abr 2014-05-16 01:32:00 -05:00
Jan Beich
0740628072 Bug 916589 - Rename __offsetof() to avoid conflict with platform-specific definition. r=docfaraday 2013-09-15 10:47:00 +02:00
EKR
b0ca419e1e Bug 1012999: When STUN global rate limit is exceeded, record this in telemetry. r=ekr 2014-05-19 19:16:38 -07:00
Peter Tatrai
f0723f9b3c Bug 891551 - Part 3: Fix bug where we weren't performing a null check in dtor for NrSocket (see also bug 987380). r=bwc 2014-05-02 10:50:00 -07:00
Byron Campen [:bwc]
c32065d176 Bug 891551 - Part 1: A couple of include-what-you-use fixes to the pre-existing code. r=ekr 2014-04-01 13:13:59 -07:00
Nathan Froyd
84fe2fd3b7 Bug 968803 - part 2 - statically type runnable classes that return a result; r=ekr 2014-02-06 10:21:55 -05:00
Nathan Froyd
a994e7598e Bug 968803 - part 1 - factor out class naming into its own function; r=ekr 2014-02-05 16:17:02 -05:00
Birunthan Mohanathas
ff8ce9bd42 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
Byron Campen [:bwc]
43e6a498e7 Bug 1000858: Fix r_gettimeint on win32 which prevented us from sending TURN allocations r=ekr 2014-04-24 16:56:00 -07:00
Byron Campen [:bwc]
f4e4f8cb6b Bug 987942 - Check whether PK11_CreateContextBySymKey returns null. r=ekr 2014-04-01 14:30:58 -07:00
Edgar Chen
2fc8f9200b Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Ehsan Akhgari
5b9f45a1a5 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Jessica Jong
6552af2779 Bug 984327 - Part 1: Include dun apn type in isNetworkTypeSecondaryMobile(...) and elsewhere. r=vicamo 2014-03-19 08:39:00 -04:00
Nils Ohlmeier [:drno]
bc5397115e Bug 966569 - Improve the the log messages in case the internal TURN TCP buffer over flow. r=bwc 2014-03-18 08:39:54 -04:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Byron Campen [:bwc]
61fa945539 Bug 966564 - Make logging more clear when processing an unwrapped indication. r=drno 2014-03-12 10:21:48 -07:00
Chris Peterson
eb44b1f66e Bug 980810 - Part 3: Fix clang -Wstring-conversion warnings in UDPSocket and mtransport code. r=bwc 2014-03-07 22:57:15 -08:00
Byron Campen [:bwc]
964dc99bb7 Bug 786234 - Part 3: Plumbing for filtration, and bundle usage detection. r=abr 2014-01-14 16:29:42 -08:00
Wes Kocher
b5db6f03fa Merge inbound to m-c 2014-02-24 17:45:16 -08:00
Patrick Wang (Chih-Kai Wang)
ef6afd5a92 Bug 969469: use SyncRunnable to get local interface information on gonk. r=bwc 2014-02-18 14:44:45 +08:00
Adam Roach [:abr]
f17dbb14ab Backed out changeset c5334aea6433 (bug 786234) 2014-02-24 12:29:10 -06:00
Alex Xu
dfa9abb426 Bug 967006 - Fix Clang build failure in nICEr. r=abr 2014-02-24 10:09:55 -05:00
Nils Ohlmeier [:drno]
b7ea253545 Bug 972592 - Make ICE 400 response strings more verbose for easier debugging. r=bwc 2014-02-18 09:58:25 -05:00
Byron Campen [:bwc]
8c4cea2760 Bug 786234 - Part 3: Plumbing for filtration and bundle usage detection. r=abr 2014-01-14 16:29:42 -08:00
Ehsan Akhgari
ddc6613b8e Bug 973395 - Move the LOCAL_INCLUDES in media to moz.build; r=glandium 2014-02-18 01:15:48 -05:00
Ms2ger
6e066deaea Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
EKR
62b42b7427 Bug 970569 - Fix crasher introduced by bug 928930. r=bwc 2014-02-10 14:45:42 -08:00
Byron Campen [:bwc]
9f5ebeb6ea Bug 961313 - Add the transport protocol to candidate labels. r=abr 2014-01-27 10:35:17 -08:00
Nathan Froyd
4af2623008 Bug 928930 - don't define std::string variables in nricectx.h; r=ekr 2014-01-27 11:02:51 -05:00
Ryan VanderMeulen
f22a8b79ea Backed out changeset ce887b471785 (bug 961313) for buffered_stun_socket_unittest crashes, again. 2014-01-27 09:41:48 -05:00
Byron Campen [:bwc]
2bee0325a6 Bug 962371 - Part 2: Remove some magic constants. r=abr 2014-01-23 11:00:32 -08:00
Byron Campen [:bwc]
c1752a8ad0 Bug 962371 - Part 1: Make priority for TCP relayed candidates lower than UDP relayed candidates. r=abr 2014-01-22 14:13:43 -08:00
Byron Campen [:bwc]
fec16a3224 Bug 961313 - Add the transport protocol to candidate labels. r=abr 2014-01-22 16:50:52 -08:00