Commit Graph

503 Commits

Author SHA1 Message Date
Jessica Jong
2f99cbb771 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
cdd5dfef2b Merge b2ginbound to central, a=merge 2015-07-24 13:47:05 -07:00
Nils Ohlmeier [:drno]
260c126a69 Bug 1186339 - skip STUN/TURN servers with non-matching IP versions for TCP sockets. r=bwc 2015-07-22 10:54:11 -07:00
Nils Ohlmeier [:drno]
42a62dacab Bug 1185198 - use port 9 for TCP active candidates. r=bwc 2015-07-22 16:51:38 -07:00
Jessica Jong
23c7232da8 Bug 1185802 - Part 2: support fota apn type (impl). r=hsinyi 2015-07-24 10:41:15 +08:00
Nils Ohlmeier [:drno]
33d5d98aef Bug 1183985: Fixed WebRTC socket leak on Linux. r=bwc 2015-07-15 00:19:47 -07:00
Martin Thomson
7c6754946d Bug 1184226 - Suppressing received packets when disabled, r=ekr 2015-07-15 13:03:01 -07:00
Martin Thomson
a363dc17b7 Bug 1184226 - Disabling write on shutdown, r=ekr 2015-07-15 12:23:10 -07:00
Martin Thomson
db905d5bf6 Bug 1184226 - Updating transportlayerdtls logging levels, r=ekr 2015-07-15 12:23:10 -07:00
Birunthan Mohanathas
e52329c788 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
37ad9bc8b6 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
fd71e66b19 Bug 1172785 - Switch to ECDSA for MTI suites, r=ekr 2015-07-06 10:40:04 -07:00
Martin Thomson
8bdc9eeda2 Bug 1172785 - Using RTCCertificate for WebRTC, r=ekr 2015-07-06 10:40:04 -07:00
Byron Campen [:bwc]
d4479dcb0c Bug 1180311 - Add null check to ifa_addr. r=ekr 2015-07-03 14:10:16 -07:00
Juan Gomez
21d73728f3 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Byron Campen [:bwc]
4965ecc09e Bug 797262 - IPV6 support for webrtc. r=drno 2015-04-22 15:02:50 -05:00
Byron Campen [:bwc]
9c2cb58d74 Bug 980609: Do not assert that TURN TCP client contexts can't fail before attempting to allocate. r=ekr 2014-03-07 15:29:09 -08:00
Byron Campen [:bwc]
06c837e8fb Bug 971357: Log STUN responses at INFO instead of DEBUG. r=ekr 2014-02-11 17:27:45 -08:00
Byron Campen [:bwc]
4536d156cf Bug 1035428: Re-register writeable callback after partially servicing the send queue. r=drno 2014-07-07 14:25:23 -07:00
Nathan Froyd
46d6f38e68 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
7646addfc2 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
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
98461fc4a4 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Nils Ohlmeier [:drno]
7c76869c13 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]
06d83d3241 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]
167d64dec2 Bug 891551 - Part 9: ignore initial socket connect failures during gathering. r=jesup 2015-06-18 23:02:25 -07:00
Peter Tatrai
78f506ded8 Bug 891551 - Part 8: Increase and make backlog value configurable. r=bwc 2014-06-12 07:25:00 -07:00
Byron Campen [:bwc]
8b55540723 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)
c23a010af6 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)
7c11130587 Bug 891551 - Part 5: Add support for TCP ICE candidates. r=bwc,jesup 2014-04-23 10:15:25 +02:00
Nathan Froyd
bf12814aab Bug 1162026 - move WrapRunnable &co over to variadic templates; r=ekr 2015-05-05 16:21:37 -04:00
Ted Mielczarek
d33652a9ef bug 1171120 - Fix mtransport+signalling to build on iOS. r=ekr 2015-02-27 12:37:42 -05:00
Byron Campen [:bwc]
7fb0e7cd2b Bug 1035468: A NAT simulator based on NrSocket, and integrate into ice_unittest. r=ekr 2015-06-10 15:27:12 -07:00
Randell Jesup
9f3b737f8b Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc 2015-06-05 15:16:45 -04:00
Wes Kocher
a10d4bd67e Backed out changeset 2cb094627289 (bug 822129) for cppunittest orange 2015-06-05 14:16:56 -07:00
Randell Jesup
922ae3c94b 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]
b8a465e5da Bug 1169338 - Part 2: Extend ICE timeouts since mochitests are frequently run on systems that are performance constrained. r=mt 2015-05-22 11:11:37 -07:00
Eric Rahm
29f00ac208 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
de9623d265 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
f3d0db1203 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
e2f82674b8 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)
2015-06-02 13:05:56 +02:00
Eric Rahm
18bd3de863 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
3ce1f4a76f 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
dca9287933 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Wes Kocher
bd796581dc 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
ae32743ed2 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
8923d38f19 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
aa2c33e0cf Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Randell Jesup
8c522e87ae Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent 2015-05-29 10:14:14 -04:00
Randell Jesup
6a8ec49bcd 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