Commit Graph

47 Commits

Author SHA1 Message Date
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
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Ryan VanderMeulen
6a3fa988ca Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Randy Lin
f3626d7e4c Bug 988884 - Properly shutdown mediaencoder threads. r=roc 2014-04-01 07:33:48 +08:00
Masayuki Nakano
54d409dfca Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Randy Lin
eea3ca40fc Bug 973522 MediaRecorder causes large leak. r=roc, jsmith 2014-03-26 01:11:58 +08:00
Randy Lin
2a3e1a4f03 Bug 959490 - [MediaEncoder] Support *.3gp with AMR-NB audio format on certificated application. r=roc 2014-03-19 14:52:45 +08: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
Shelly Lin
ab5d5aa33b Bug 971664 - Assert for threadsafety issue in MediaRecorder. r=khuey 2014-02-19 12:15:53 +08:00
Randy Lin
81725098a6 Bug 957452 - MediaRecorder: Fix use-after-free crash [@mozilla::dom::MediaRecorder::Session::GetEncodedData]. r=roc 2014-01-13 16:11:22 +08:00
Randy Lin
7632106290 Bug 957841 - MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=roc 2014-01-29 23:09:43 +08:00
Shelly Lin
c773010da1 Bug 957439 - Do not assert at Pause or Resume on unsupported input stream. r=roc, r=jsmith 2014-01-27 10:33:00 +08:00
Boris Zbarsky
45103f9d63 Bug 950315 part 1. Convert a bunch of event targets to passing a Window or nsDOMEventTargetHelper directly to the constructor of their ancestor nsDOMEventTargetHelper. r=smaug 2014-01-06 21:53:23 -05:00
Randy Lin
cea32562fe Bug 950429 - Media Recording - Allow NS_DispatchToCurrentThread in Media Encoder thread. r=roc 2014-01-05 01:20:21 +08:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Randy Lin
53ac8bab30 Bug 952052 - Avoid release Session object in Media Encoder thread. r=roc 2014-01-03 15:24:57 +08:00
Randy Lin
aabbadb1c0 Bug 879669 - Part 3: Start recording when tracks have been added. r=roc 2013-12-18 18:39:45 +08:00
Randy Lin
49b38b189e Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc 2013-11-25 12:57:52 +13:00
CJKu
cf22d443e6 Bug 924724 - Shutdown hang in Media Encoder when running state machine mochitest in bug 920595. r=roc 2013-11-04 17:27:39 -05:00
Boris Zbarsky
48ef79b3bb Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00
Ed Morley
2c635d5d0c Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures 2013-10-09 17:48:13 +01:00
Boris Zbarsky
cf8ba5ee47 Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00
Randy Lin
fb704ff2ef Bug 919051 - Media Recording - memory leak when record a media stream without any tracks. r=roc, r=jsmith 2013-09-27 17:56:16 +08:00
CJKu
1303853d97 Bug 909670 - MediaRecorder - Implement MediaRecorderSession. r=roc 2013-09-26 09:40:40 -04:00
Olli Pettay
9a59871760 Bug 900904 - Support webidl-only generated events, r=khuey,gps
--HG--
extra : rebase_source : cda37d1ae2ff9b969d081fe0ec103d4f07098a3b
2013-09-10 21:27:39 +03:00
Ehsan Akhgari
143454cc1a Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-05 16:25:17 -04:00
Ehsan Akhgari
92ad73ef93 Backed out changeset 2f15518f566e (bug 912702) because of B2G JB Emulator build bustage
--HG--
extra : rebase_source : 6c01ad3bc2f91b0e7e3edab84aedbfe064310a8b
2013-09-05 13:29:38 -04:00
Ehsan Akhgari
be1e68caf3 Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-04 17:58:14 -04:00
Shelly Lin
2fff235d13 Bug 899935 - Produce zero-length output if calling Stop right after a Start call of MediaRecorder. r=roc 2013-08-29 19:59:08 +08:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Randy Lin
29661c2c9f Bug 903758 - Media Recording - setting the recorder state to inActive on the stop method. r=roc 2013-08-10 20:29:35 +08:00
Randy Lin
3d965edda1 Bug 897776 - MediaRecorder infinite recursion with requestData() calls in dataavailable event. r=roc 2013-08-07 18:31:51 +08:00
Randy Lin
9e2e522185 Bug 900419 - Media Recording - MediaRecorder's state is wrong when stopping media stream during recording. r=roc 2013-08-01 18:38:57 +08:00
Randy Lin
ea7a1b0a14 Bug 898952 - Media Recording - Avoid to record a stopped MediaStream. r=roc 2013-08-07 14:20:42 +08:00
Randy Lin
b9e2c7a240 Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc 2013-07-26 20:29:41 +08:00
Randy Lin
f2144a9739 Bug 902151 - MediaRecorder does not need to tell the cycle collector about mReadThread. r=khuey 2013-08-07 13:55:53 +08:00
Robert O'Callahan
0d79f2baf9 Bug 902197. Don't allow multiple MediaStreams to share the same DOMMediaStream wrapper. r=ehsan
--HG--
extra : rebase_source : 60de0aaff391bcabae6c281036e4ab82589e2707
2013-08-07 10:14:35 +12:00
Ryan VanderMeulen
206ac36c27 Backed out changesets 73188e11f7b1 and 7111c04c1158 (bug 896353) for mochitest-1 crashes. 2013-07-25 10:31:48 -04:00
Randy Lin
9904918cc0 Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc 2013-07-24 18:01:52 +08:00
Randy Lin
92bab7040b Bug 896303 - Media Recording - Calling start on a MediaRecorder object with no parameters results in ondataavailable events firing even though they shouldn't be. r=roc 2013-07-24 17:26:17 +08:00
Randy Lin
c72ae6e277 Bug 894348 - MediaRecorder use-after-free crash [@mozilla::MediaStream::GraphImpl]. Fix the wrong pointer type of ProcessedMediaStream. r=roc 2013-07-21 22:33:01 +08:00
Randy Lin
00842ad22a Bug 891722 - Media Recording - The rate of ondataavailable events spikes adnormally high after starting, stopping, and starting recording again. r=roc 2013-07-14 15:04:10 +08:00
Randy Lin
cbc093a476 Bug 889720 - Media Recording - Implement Pause/Resume DOM API. r=roc 2013-07-14 15:31:59 +08:00
Randy Lin
f530dc8427 Bug 891706 - Crash in mozilla::dom::MediaRecorder::CheckPrincipal() when closing a tab while recording is started. r=roc 2013-07-10 12:52:29 +08:00
Randy Lin
d2aff89854 Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc 2013-07-05 09:50:25 +08:00