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

161 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup 03eddd0c39 Bug 1219339: switch GetStaticInstance to use IPC's Singleton<T> impl r=froyd
--HG--
extra : commitid : IuHdc4L6ejy
2016-01-14 00:16:49 -05:00
Ryan VanderMeulen 974ce4c9cc Backed out changeset fbb19b60d24a (bug 1219339) for Windows XP crashtest permafail. a=backout 2016-01-14 11:27:40 -05:00
Randell Jesup 3a110e2974 Bug 1219339: switch GetStaticInstance to use IPC's Singleton<T> impl r=froyd 2016-01-14 00:16:49 -05:00
Eric Rahm 1828042c1f Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell 2016-01-05 13:05:19 -08:00
Phil Ringnalda 52aade6b43 Back out 3e168e5a04bf (bug 1174972) for build bustage
CLOSED TREE
2016-01-11 20:04:40 -08:00
Eric Rahm f8d0e8949c Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell 2016-01-05 13:05:19 -08:00
Boris Zbarsky 35f1292e72 Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib 2015-11-21 12:15:11 -05: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
Michael Froman 5b41dcab91 Bug 1051052 - Made mid an outparam in JsepSession::AddLocalIceCandidate. r=bwc
--HG--
extra : transplant_source : %A4P%E5%0CuZ%DE%86%D2%C5u%3FhV%DBe%A9%CD%BC%8C
2015-09-01 16:40:00 -05:00
Byron Campen [:bwc] 929bf0a871 Bug 1094447 - Use UDP/TLS/RTP/SAVPF for audio/video m-lines. r=drno
--HG--
extra : transplant_source : 7%D7%A9%81H%CCF%BD%29%3E%16%94%F2%CE%3E%8FD%A0%A5%99
2015-09-01 17:15:30 -05:00
Byron Campen [:bwc] d276234312 Bug 1112692: BundlePolicy support, and support for more than one BUNDLE group. r=mt, r=smaug
--HG--
extra : rebase_source : 1c5116634398337ad0816a29409224b612b9749c
extra : amend_source : 250d02fc24b39702f1f963178f7de5c9e8f60e89
extra : source : 9293d87a19f9f96ab6ae957f9ff40123e853c584
2015-06-12 14:27:08 -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
"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] e38fb6ec6f Bug 1165520: Negotiate rtcp-fb r=jesup
--HG--
extra : rebase_source : 108cc130bf5596cbda38765d74d57c306d0f3591
2015-05-15 12:19:19 -07:00
Byron Campen [:bwc] e6cb58f6fa Bug 1155965 - Part 1: Test-cases. r=drno
--HG--
extra : transplant_source : %1B_6%01N%7BV%C9%C2%FDi%85%A5%B5%CF%C87%E08%F8
2015-05-13 13:54:14 -07:00
Ethan Hugg a5589141de Bug 1164061 - Backout signaling unittest changes for tmmbr r=jesup 2015-05-12 09:15:00 -07:00
Denis Volk 32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ethan Hugg c15300721e Bug 1150609 Patch 3 - WebRTC enable tmmbr unittest changes. r=jesup 2015-04-06 11:57:27 -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
Wes Kocher 44651f2a21 Backed out changeset d02fb013d5b7 (bug 1101651) 2015-04-02 13:42:29 -07: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] 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] 8bde4d5178 Bug 1144432 - Part 4: Unbust signaling_unittests r=mt
--HG--
extra : rebase_source : d03fdc5a26734dac9e2d1750ba8a00652144fce0
2015-03-18 14:56:19 -07:00
Byron Campen [:bwc] ab30f80690 Bug 1136252 - Part 6: Extend timeouts for RTP/RTCP, until bug 1137948 can be fixed. r=mt
--HG--
extra : rebase_source : 1711785774baef8a91b5a0df13e21576887645c8
2015-03-06 15:16:39 -08:00
Byron Campen [:bwc] c9db00156b Bug 1136252 - Part 5: Fix bug where candidates could be trickled before setRemote during renegotiation. r=mt
--HG--
extra : rebase_source : 45e085c338afc7670e9ea9f73c60291f0965cfa1
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc] b60b6ef28e Bug 1136252 - Part 4: Remove/consolidate code in signaling_unittests. Includes removing most SDP checks, since that belongs in jsep_session_unittest. r=mt
--HG--
extra : rebase_source : 404cadd9d484a1665bbf269950d32de6b49931f3
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc] e76afb6880 Bug 1136252 - Part 3: Remove some unnecessary sleeps in signaling_unittests. r=mt
--HG--
extra : rebase_source : 6b8520268248eace23bd046b5a353f2f35401fd4
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc] 55e37fd806 Bug 1136252 - Part 2: Wait for less RTP in signaling_unittests. r=mt
--HG--
extra : rebase_source : 3925bbf3893e01f2b464eb2aa8dab9f9619a0943
2015-03-06 15:16:38 -08:00
Ehsan Akhgari 5bff0c0b03 Bug 1135753 - Mark some overridden virtual functions in WebRTC as MOZ_OVERRIDE; r=mt 2015-02-24 09:51:57 -05:00
Byron Campen [:bwc] 794f966f80 Bug 1130534: Use a single bidirectional media conduit that MediaPipelines can attach/detach at will. r=jesup
--HG--
extra : rebase_source : 202a83e513d88bc14f1be2c5b438998461ff4a50
2015-02-10 10:11:24 -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
Byron Campen [:bwc] 14e52a60de Bug 1095218 - Part 2: Multistream support. r=mt
--HG--
extra : rebase_source : d699a4408c351014e30be3b3dfe148bda14c643f
2014-12-10 11:17:09 -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] 404d84f2d4 Bug 1016476 - Part 2: Test work. r=drno 2014-11-25 17:36:16 -08:00
Byron Campen [:bwc] d55e0a2714 Bug 1109130: Give MSVC2012 a hint about what these aggregate initializers mean. r=jesup 2014-12-09 20:16: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] 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
EKR 899355b146 Bug 1027350 - Allow loopback addresses for ICE in signaling unit test. r=bwc
--HG--
extra : rebase_source : 3e73f02aa1c889f331c8326f17bb5e245204b780
2014-10-03 15:50:40 -07:00
Andrew Osmond 044342a2bc Bug 994912 - Add support for event-based notifications to media streams. r=roc, r=bz 2014-10-03 04:18:00 -04:00
Carsten "Tomcat" Book 0dea8a9bc8 Backed out changeset 23b18c4d6f6a (bug 994912) for suspecion of causing m3 test failures 2014-09-25 12:44:50 +02:00
Andrew Osmond bde55da5a2 Bug 994912 - Add support for event-based notifications to media streams. r=roc,bz 2014-09-24 12:47:00 +02: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] 6e9591afed Bug 1055852 - Plug bunches of leaks that signaling_unittest hits, mostly in sipcc. r=mccr8 2014-08-21 15:11:19 -07:00
Byron Campen [:bwc] 49cb1647c8 Bug 991037 - Part 3: Bring signaling_unittests up-to-date with the full-trickle behavior, and a fair bit of cleanup. r=mt 2014-08-04 14:48:38 -07:00
Jan-Ivar Bruaroey 838b08d7a0 Bug 1032839 - replaceTrack API. r=smaug, r=jesup 2014-08-15 01:33:09 -04:00