Commit Graph

13478 Commits

Author SHA1 Message Date
Bobby Holley
2eef2f91f9 Bug 821850 - Unwrap |callee| before passing it to InstallXBLField. r=bz
InstallXBLField knows how to handle cross-compartment |callee|. However,
The current value will always be wrapped. We need to unwrap said wrappers,
otherwise we'll end up with objects that aren't functions.
2013-02-08 14:24:21 +00:00
Bobby Holley
85c0f5cf46 Bug 821850 - Install XBL field accessors on prototype objects at setup time, and nuke XBLResolve. r=bz 2013-02-08 14:24:21 +00:00
Bobby Holley
c6479a3444 Bug 821850 - Hoist Field machinery into nsXBLProtoImplField. r=bz
This is a pure cut/paste except for removing |static| from XBLResolve.
XBLResolve will go away soon, so there's no need to put it in a header.
2013-02-08 14:24:21 +00:00
Bobby Holley
f1ce397128 Bug 821850 - Remove unused arguments from InstallMember and simplify calling convention. r=bz
Let's just pass a JSContext and do Requests/Compartments in the caller.
2013-02-08 14:24:21 +00:00
Bobby Holley
3d089c3644 Bug 821850 - Store a strong ref to the JSClass in nsXBLBinding. r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
8dfc5ae9df Bug 821850 - Make DoInitJSClass unconditionally fill in aClassObject. r=bz
Right now, DoInitJSClass only returns non-null if the class object is new
(and thus needs to have members installed on it). The code then goes and
unconditionally tries to install the members, null-checking and aborting
each time.

Instead, let's use an explicit boolean and one early return. This lets us
get a reference to our JSClass no matter what, which we need.
2013-02-08 14:24:20 +00:00
Bobby Holley
b3559180d2 Bug 821850 - Remove bogus comment/check and replace with an assert. r=bz
This confused me, because fields are, in fact, exposed via the prototype
via the complicated two-step solution defined in InstallField. As it turns
out, CompilePrototypeMembers throws if mClassObject ends up null.
2013-02-08 14:24:20 +00:00
Bobby Holley
698846e095 Bug 821850 - Pass nsXBLBinding instead of nsIContent during implementation installation. r=bz
This lets us hook up the binding to the JSClass.
2013-02-08 14:24:20 +00:00
Bobby Holley
4b6b3faf6a Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
c1612afa13 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Ms2ger
e3c2a6ec01 Bug 839179 - Part c: Add a test for HTMLButtonElement attributes reflection; r=bz 2013-02-08 13:50:30 +01:00
Ms2ger
cc7807ddbe Bug 839179 - Part b: Move HTMLButtonElement to Paris bindings; r=bz 2013-02-08 13:50:30 +01:00
Ms2ger
37b271ffe4 Bug 839179 - Part a: Rename nsHTMLButtonElement to mozilla::dom::HTMLButtonElement; r=bz
--HG--
rename : content/html/content/src/nsHTMLButtonElement.cpp => content/html/content/src/HTMLButtonElement.cpp
rename : content/html/content/src/nsHTMLButtonElement.cpp => content/html/content/src/HTMLButtonElement.h
2013-02-08 13:50:30 +01:00
Ms2ger
cd09e995c7 Bug 839053 - Part c: Add a test for HTMLLinkElement attributes reflection; r=bz
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_link_attributes_reflection.html
2013-02-08 13:50:30 +01:00
Ms2ger
c26449c818 Bug 839053 - Part b: Move HTMLLinkElement to Paris bindings; r=bz 2013-02-08 13:50:30 +01:00
Ms2ger
473c834f8d Bug 839053 - Part a: Rename nsHTMLLinkElement to mozilla::dom::HTMLLinkElement; r=bz
--HG--
rename : content/html/content/src/nsHTMLLinkElement.cpp => content/html/content/src/HTMLLinkElement.cpp
rename : content/html/content/src/nsHTMLLinkElement.cpp => content/html/content/src/HTMLLinkElement.h
2013-02-08 13:50:30 +01:00
Boris Zbarsky
29957b7b8b Bug 839116 part 3. Add tests for HTMLSharedElement attribute reflection. r=ms2ger
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_base_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_dir_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_html_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_param_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_q_attributes_reflection.html
2013-02-08 12:20:11 +00:00
Boris Zbarsky
96a978de51 Bug 839116 part 2. Convert HTMLSharedElement to WebIDL. r=ms2ger
--HG--
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLBaseElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLDirectoryElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHeadElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHtmlElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLParamElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLQuoteElement.webidl
2013-02-08 12:20:11 +00:00
Boris Zbarsky
4a140aa268 Bug 839116 part 1. Rename nsHTMLSharedElement to HTMLSharedElement. r=ms2ger
--HG--
rename : content/html/content/src/nsHTMLSharedElement.cpp => content/html/content/src/HTMLSharedElement.cpp
rename : content/html/content/src/nsHTMLSharedElement.cpp => content/html/content/src/HTMLSharedElement.h
2013-02-08 12:20:11 +00:00
Boris Zbarsky
24d9f6a70b Bug 836850. Allow a single C++ class to implement multiple WebIDL interfaces. r=peterv
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_dl_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_ul_attributes_reflection.html
2013-02-08 12:20:11 +00:00
Masatoshi Kimura
321e0e3862 Bug 830665 - Use the latest JS version by default in XUL. r=jonas 2013-02-08 20:49:28 +09:00
Phil Ringnalda
01a3e2e409 Back out 6a5dcf166f09 (bug 836072) for build bustage
CLOSED TREE
2013-02-07 21:35:08 -08:00
Ehsan Akhgari
0bde2b2244 Bug 836072 - Validate the arguments to AudioParam.exponentialRampToValueAtTime() correctly; r=roc 2013-01-29 18:30:22 -05:00
Mats Palmgren
0b57a2f709 Bug 838931 - Don't include nsIFrameTraversal.h since it's not used in this file anymore. r=dholbert 2013-02-07 21:07:53 -05:00
Seth Fowler
d502490e0d Bug 837315 - Add SVG document loaded event. r=bz 2013-02-04 10:14:17 -08:00
Andrea Marchesini
83c12b2a45 Bug 839022 - Convert HTMLSourceElement to WebIDL. r=Ms2ger 2013-02-07 10:39:10 -05:00
Andrea Marchesini
c9edd19e18 Bug 839022 - Rename nsHTMLSourceElement to HTMLSourceElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLSourceElement.cpp => content/html/content/src/HTMLSourceElement.cpp
rename : content/html/content/src/nsHTMLSourceElement.cpp => content/html/content/src/HTMLSourceElement.h
2013-02-07 10:38:26 -05:00
Andrea Marchesini
64fb75c8f4 Bug 838750 - Convert HTMLMeterElement to WebIDL. r=Ms2ger 2013-02-07 10:00:39 -05:00
Andrea Marchesini
7e00fc816c Bug 838750 - Rename nsHTMLMeterElement to HTMLMeterElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMeterElement.cpp => content/html/content/src/HTMLMeterElement.cpp
rename : content/html/content/src/nsHTMLMeterElement.cpp => content/html/content/src/HTMLMeterElement.h
2013-02-07 09:59:25 -05:00
Andrea Marchesini
3e9ec09832 Bug 838233 - Convert HTMLHRElement to WebIDL. r=Ms2ger 2013-02-07 09:57:59 -05:00
Andrea Marchesini
5a769a571c Bug 838233 - Rename nsHTMLHRElement to HTMLHRElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLHRElement.cpp => content/html/content/src/HTMLHRElement.cpp
rename : content/html/content/src/nsHTMLHRElement.cpp => content/html/content/src/HTMLHRElement.h
2013-02-07 09:57:13 -05:00
Ryan VanderMeulen
84ca9f4859 Merge m-c to inbound. 2013-02-07 09:56:23 -05:00
Ryan VanderMeulen
67a3dc3eae Merge the last PGO green inbound changeset to m-c. 2013-02-07 09:55:08 -05:00
Vicamo Yang
f1c896b374 Bug 835148: Implement SmsEvent using event generator. r=smaug
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Ms2ger
f109ab8ce3 Bug 838160 - Part c: Add a test for HTMLMetaElement.{name,httpEquiv,content,scheme} reflection; r=bz
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_meta_attributes_reflection.html
2013-02-07 09:08:58 +01:00
Ms2ger
ec1ae08fad Bug 838160 - Part b: Move HTMLMetaElement to Paris bindings; r=bz 2013-02-07 09:08:58 +01:00
Ms2ger
73266e2f33 Bug 838160 - Part a: Rename nsHTMLMetaElement to mozilla::dom::HTMLMetaElement; r=bz
--HG--
rename : content/html/content/src/nsHTMLMetaElement.cpp => content/html/content/src/HTMLMetaElement.cpp
rename : content/html/content/src/nsHTMLMetaElement.cpp => content/html/content/src/HTMLMetaElement.h
2013-02-07 09:08:58 +01:00
Ms2ger
37950ff2af Bug 837597 - Part c: Add a test for HTMLModElement.dateTime reflection; r=bz
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_mod_attributes_reflection.html
2013-02-07 09:08:58 +01:00
Ms2ger
7e09e3f7e6 Bug 837597 - Part b: Move HTMLModElement to Paris bindings; r=bz 2013-02-07 09:08:58 +01:00
Ms2ger
70aebd55e5 Bug 837597 - Part a: Rename nsHTMLModElement to mozilla::dom::HTMLModElement; r=bz
--HG--
rename : content/html/content/src/nsHTMLModElement.cpp => content/html/content/src/HTMLModElement.cpp
rename : content/html/content/src/nsHTMLModElement.cpp => content/html/content/src/HTMLModElement.h
2013-02-07 09:08:57 +01:00
Ms2ger
71a06a7849 Bug 837597 - Part c: Add a test for HTMLMapElement.name reflection; r=bz
--HG--
rename : content/html/content/test/test_ol_attributes_reflection.html => content/html/content/test/test_map_attributes_reflection.html
2013-02-07 09:08:57 +01:00
Ms2ger
4a4986af60 Bug 837597 - Part b: Move HTMLMapElement to Paris bindings; r=bz 2013-02-07 09:08:57 +01:00
Ms2ger
424a22801a Bug 837597 - Part a: Rename nsHTMLMapElement to mozilla::dom::HTMLMapElement; r=bz
--HG--
rename : content/html/content/src/nsHTMLMapElement.cpp => content/html/content/src/HTMLMapElement.cpp
rename : content/html/content/src/nsHTMLMapElement.cpp => content/html/content/src/HTMLMapElement.h
2013-02-07 09:08:57 +01:00
Ms2ger
c02459d10f Bug 835439 - Remove support for the table[layout] attribute; r=dbaron 2013-02-07 09:08:57 +01:00
Ms2ger
96f13d48af Bug 831232 - Improve spec conformance for table@border; r=dbaron 2013-02-07 09:08:57 +01:00
Ms2ger
85af594e40 Bug 827122 - Add an outparamless nsSVGString::ToDOMAnimatedString; r=longsonr 2013-02-07 09:08:56 +01:00
Ryan VanderMeulen
9e13554a56 Backed out changesets 34927afb65e2 and 2d0b056ced49 (bug 838559) for mochitest failures.
--HG--
rename : content/html/content/src/HTMLMenuElement.cpp => content/html/content/src/nsHTMLMenuElement.cpp
rename : content/html/content/src/HTMLMenuElement.h => content/html/content/src/nsHTMLMenuElement.h
2013-02-06 16:22:59 -05:00
Scott Johnson
6b94c8c1a9 Bug 838668: Rev IID of nsIDOMFile and revert incorrectly revved IID for nsIDOMBlob. [r=bsmedberg] 2013-02-06 14:27:20 -06:00
Brad Lassey
16fe066050 bug 674739 - Implement DOM3 KeyboardEvent types for volume controls r=masayuki, sr=smaug 2013-02-04 15:50:41 -05:00
Andrea Marchesini
bc62b9be2a Bug 838559 - Convert HTMLMenuElement to WebIDL. r=Ms2ger 2013-02-06 14:19:20 -05:00
Andrea Marchesini
e5a5252fbf Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-06 14:19:20 -05:00
Daniel Holbert
e71824c407 Bug 838394: Remove redundant/unnecessary NS_WARNING in nsMixedContentBlocker::ShouldLoad, and replace MOZ_NOT_REACHED with MOZ_ASSERT(false) to get defined behavior. r=tanvi r=smaug 2013-02-06 10:23:09 -08:00
Boris Zbarsky
b77f5718fe Bug 838518 part 2. Fix nodeiterator callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Boris Zbarsky
e4b4da3503 Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Philip Chee
032d4a3e20 Bug 838537 - Fix the build for VS2008. r=padenot 2013-02-06 20:59:12 +08:00
Jonathan Kew
9c82787fd4 bug 808299 - scale missing-glyph hexbox digits depending on device resolution and zoom. r=roc 2013-02-07 00:19:46 +00:00
Chris Jones
c8d7986f0f Backed out d2aa085d7ebd (bug 836605) 2013-02-06 15:49:27 -08:00
Chris Jones
005dbdc107 Bug 836605: Cache mozIApplication wherever possible on critical startup path. r=jlebar 2013-02-06 14:32:20 -08:00
Mounir Lamouri
923c2e706c Bug 781573 - Implement the step attribute for <input type=time>. r=smaug
--HG--
extra : rebase_source : 802145c921a679d041f83212e872cc5583ed4cc9
2013-02-06 22:56:49 +00:00
Mounir Lamouri
b7708f1416 Bug 837767 - Make GetMinimum() uses ConvertNumberToString(@value) if @min isn't valid. r=smaug
--HG--
extra : rebase_source : a64a1a4f06be7720ca75d9179db794631d40803c
2013-02-06 18:11:31 +00:00
Chris Jones
462d7c3ac7 Backed out changeset fed128eb92f3 (bug 836605) for making the IDL gods angry. CLOSED TREE 2013-02-06 14:57:14 -08:00
Chris Jones
d6ba6c755b Bug 836605: Cache mozIApplication wherever possible on critical startup path. r=jlebar 2013-02-06 14:32:20 -08:00
Boris Zbarsky
50ced00d20 Bug 830992 part 2. Switch DOMTransaction to WebIDL codegen. r=wchen,peterv 2013-02-06 09:42:33 +00:00
Boris Zbarsky
092ff05c22 Bug 836822. Convert MathML elements to WebIDL. r=peterv 2013-02-06 09:42:16 +00:00
Simon Montagu
013c2c0d77 Set AncestorHasDirAuto flag when adding a new text node. Bug 836890, r=ehsan 2013-02-06 00:13:21 -08:00
Simon Montagu
a6df4cdf76 Test for bug 836890 2013-02-06 00:13:18 -08:00
Masayuki Nakano
bed575604c Bug 838001 IME management code should use root widget instead of the nearest widget of the PresContext r=smaug 2013-02-06 11:50:02 +09:00
Benoit Jacob
d7fac8eb6b Bug 827106 - turn on ANGLE GLSL array index clamping - r=jgilbert 2013-02-05 20:53:41 -05:00
Jeff Walden
cb6dea2fcf Fix up a few lingering references to jsval.h. Followup to bug 837773, r=bustage in a CLOSED TREE 2013-02-05 16:13:24 -08:00
Ehsan Akhgari
b5d92eaf5e Bug 836599 - Part 6: Make MediaStreamGraphImpl::AppendMessage not assume that it's the only graph; r=roc 2013-02-04 12:29:14 -05:00
Ehsan Akhgari
661babfc7c Bug 836599 - Part 5: Make MediaStreamGraphImpl::RunInStableState not assume that it's the only graph; r=roc 2013-02-04 12:27:54 -05:00
Ehsan Akhgari
11dc6d17d3 Bug 836599 - Part 4: Make MediaStreamGraphStableStateRunnable know about its owner graph; r=roc 2013-02-01 15:20:32 -05:00
Ehsan Akhgari
9de9f6ffbe Bug 836599 - Part 3: Make MediaStreamGraphThreadRunnable know about its owner graph; r=roc 2013-02-01 15:13:32 -05:00
Ehsan Akhgari
2d219bdba7 Bug 836599 - Part 2: Make MediaInputPort aware of its owner graph; r=roc
We need to make sure that MediaStream doesn't assume that it belongs
to the global graph so that we can have multiple graphs coexisting.
2013-02-01 14:49:58 -05:00
Ehsan Akhgari
8a790ac960 Bug 836599 - Part 1: Make MediaStream aware of its owner graph; r=roc
We need to make sure that MediaStream doesn't assume that it belongs
to the global graph so that we can have multiple graphs coexisting.
2013-02-01 14:43:36 -05:00
John Schoenick
bb3a613b83 Bug 837427 - Include gstreamer cflags in content/media/webaudio; r=ehsan 2013-02-05 13:34:19 -05:00
Ehsan Akhgari
f39e83f1de Bug 836076 - Part 3: Make AudioParams call back into their owning node when they're modified; r=roc
We need this in order to update the MediaStreamGraph thread when an
AudioParam changes.  This enables each AudioParam to be registered with
a callback from its owner node, so that the owner node can have custom
processing code for each AudioParam's mutation.
2013-01-28 18:59:29 -05:00
Ehsan Akhgari
332078a8e8 Bug 836076 - Part 2: Make it possible to send AudioEventTimeline objects as commands to the MSG thread; r=roc 2013-01-28 17:42:27 -05:00
Ehsan Akhgari
b25088eff4 Bug 836076 - Part 1: Move AudioEventTimeline.h to content/media; r=roc
--HG--
rename : content/media/webaudio/AudioEventTimeline.h => content/media/AudioEventTimeline.h
2013-01-28 17:21:43 -05:00
Ben Turner
78bb29569f Bug 832419 - 'Clean up IPC blobs'. r=sicking. 2013-01-17 12:17:33 -08:00
Ehsan Akhgari
1bf3a44ce2 Bug 804387. Part 11: Fix testcase to expect correct sample rate. r=roc
--HG--
extra : rebase_source : aabab48ccaa6cbfacc2d22a425574d6e5b4109ee
2013-01-25 16:44:28 -05:00
Ehsan Akhgari
c9672d8e62 Bug 804387. Part 10: Add a mechanism for ensuring that we don't attempt to allocate an input port if the input node is not hooked up to MSG yet. r=roc
--HG--
extra : rebase_source : dc3a202cbb94c266f6df4b0c1b5247522fc76658
2013-01-25 16:39:51 -05:00
Robert O'Callahan
088271f880 Bug 804387. Part 9: Update WebAudio implementation to integrate with AudioNodeStream. r=ehsan
This is a mega-patch that was too hard to disentangle. Here's what it does:
-- Create infrastructure around AudioNode::UpdateOutputEnded to detect
when a node can no longer produce any output. When that becomes true,
disconnect it from the AudioNode graph.
-- Have AudioNode implement JSBindingFinalized to use as input in
UpdateOutputEnded.
-- Give every AudioNode a MediaStream, and give every connection
a MediaInputPort.
-- Actually play the audio that reaches the AudioContext's destination node.
-- Force AudioContext to use the audio sample rate defined by MediaStreamGraph.
-- Fix AudioBufferSourceNode's start and stop methods to possibly throw and
take default 'when' parameters.
-- Create an AudioNodeStream for AudioBufferSourceNode and give it a
AudioBufferSourceNodeEngine that does what's needed. Set parameters for
this engine in the start() and stop() methods.
-- Create AudioBuffer::GetThreadSharedChannelsForRate, which is responsible
for stealing the contents of any JS array buffers, and bundling them up
into a thread-shared read-only buffer object which can be used as
part of an AudioChunk. This method will also be responsible for
resampling and caching as necessary.

--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 9fa0ec0efa304acd6513e427103d6339c78efa53
2013-02-05 12:07:25 +13:00
Robert O'Callahan
f76919f8a0 Bug 804387. Part 8: Create AudioNodeEngine and AudioNodeStream. r=jesup
Modifies MediaStreamGraph to always advance its time by a multiple of
WEBAUDIO_BLOCK_SIZE.

--HG--
extra : rebase_source : 99524b09edd4ac0e1bc6607f2ba14925bc2f11c2
2013-01-14 11:46:57 +13:00
Robert O'Callahan
945784894e Bug 804387. Part 7.5: Make Web Audio tests context-rate-independent (disabling some decodeAudioData tests). r=ehsan
--HG--
extra : rebase_source : c625c50a08da1871e79851c2a824b0e3ea170eba
2013-02-05 10:57:36 +13:00
Robert O'Callahan
7654ac0348 Bug 804387. Part 7.2: Let BiquadFilterNode use the actual context sample rate. r=ehsan
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 3d50af2ff2dff9fa047d59d0f3c815dec5cc686c
2013-02-05 10:55:50 +13:00
Robert O'Callahan
edc4fc64a2 Bug 804387. Part 7: Use a static_cast instead of dynamic check when processing ProcessedMediaStream message. r=jesup
--HG--
extra : rebase_source : 3eb9264b706e19ac19ebf2377a33871be4cbe981
2013-02-04 23:04:26 +13:00
Robert O'Callahan
e24fa5a4c9 Bug 804387. Part 6: ChangeExplicitBlockerCountImpl takes a GraphTime, not a StreamTime. r=jesup
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : c51cb893c9b6121e00a38f105f2efd2e8d70094d
2013-02-04 23:04:26 +13:00
Robert O'Callahan
32ddb352da Bug 804387. Part 5: Add MediaStream::GraphTimeToStreamTimeOptimistic and MediaStream::StreamTimeToGraphTime. r=jesup
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 0e08f9bb0c544b44ab4953a0f00cae233cd488c7
2013-02-04 23:04:26 +13:00
Robert O'Callahan
a83ff07d2b Bug 804387. Part 4: Move MediaStreamGraphImpl to its own header file. r=jesup
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 3413667aa3a11c634f703db4031e3c2b0b1e018e
2013-02-04 23:04:25 +13:00
Robert O'Callahan
2785a28dd0 Bug 804387. Part 3: When a global underrun happens, don't insert blocked time, just cut that time out of the entire MediaStreamGraph timeline instead. r=jesup
--HG--
extra : rebase_source : 94f166e66f5401130b27867dd2b5ca039c704f14
2013-02-04 23:04:25 +13:00
Robert O'Callahan
07374ef1bf Bug 804387. Part 2: Fix misleading parameter name; these are NOT exactly microseconds. r=jesup
--HG--
extra : rebase_source : da23d4a4e5a9804b3c3ca19183ae048bf6012152
2013-02-04 23:04:25 +13:00
Robert O'Callahan
1a0f7249d1 Bug 804387. Part 1.5: Clean up main-thread MediaStream event listeners. r=jesup
There is no need for these to be independent objects in general and we
don't need to addref/release them. We can just require the caller to
remove them before they die.
We can also save some refcount churn by having
DispatchToMainThreadAfterStreamStateUpdate take already_AddRefed.

--HG--
extra : rebase_source : 751114a1befd73b405dff3ee986496efb6f76201
2013-02-04 23:04:24 +13:00
Robert O'Callahan
96c21b198b Bug 804387. Part 1: Make AllocateInputPort addref the returned port. r=jesup
--HG--
extra : rebase_source : a0e4d7889598577a540f132f4190225ecf12fdfb
2012-11-23 11:25:05 +13:00
Ryan VanderMeulen
50e539221b Merge m-c to inbound. 2013-02-05 07:54:46 -05:00
Olli Pettay
2b1cca33db Bug 836875 - Background is no longer painted in Print output/Print preview, r=roc 2013-02-05 10:10:40 +00:00
Ehsan Akhgari
15a672004e Export MediaBufferDecoder.h, no bug 2013-02-04 13:16:57 -05:00
Ehsan Akhgari
631b308649 Backed out 14 changesets (bug 804387) because of Android M2 crashes
Backed out changeset 80e8530f06ea (bug 804387)
Backed out changeset 3de2271ad47f (bug 804387)
Backed out changeset 00f86870931c (bug 804837)
Backed out changeset 0e3f20927c50 (bug 804387)
Backed out changeset e6ef90038007 (bug 804387)
Backed out changeset 0ad6f67a95f9 (bug 804387)
Backed out changeset d0772aba503c (bug 804387)
Backed out changeset 5477b87ff03e (bug 804387)
Backed out changeset 1d7ec5adc49f (bug 804387)
Backed out changeset 11f4d740cd6c (bug 804387)
Backed out changeset e6254d8997ab (bug 804387)
Backed out changeset 372322f3264d (bug 804387)
Backed out changeset 53d5ed687612 (bug 804387)
Backed out changeset 000b88ac40a7 (bug 804387)
2013-02-05 01:29:28 -05:00
Ehsan Akhgari
748ef8700c Backed out 3 changesets (bug 836076) becasue bug 804387 is getting backed out
Backed out changeset d567b1bb34ad (bug 836076)
Backed out changeset 51f7c9e31f9a (bug 836076)
Backed out changeset 901c735274bc (bug 836076)

--HG--
rename : content/media/AudioEventTimeline.h => content/media/webaudio/AudioEventTimeline.h
2013-02-05 01:28:38 -05:00
Ehsan Akhgari
ded3e498cd Bug 836076 - Part 3: Make AudioParams call back into their owning node when they're modified; r=roc
We need this in order to update the MediaStreamGraph thread when an
AudioParam changes.  This enables each AudioParam to be registered with
a callback from its owner node, so that the owner node can have custom
processing code for each AudioParam's mutation.
2013-01-28 18:59:29 -05:00