Commit Graph

120567 Commits

Author SHA1 Message Date
Ehsan Akhgari
3b924bf73e 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
2b60abd278 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
Mark Hammond
7d5fa6547f Bug 837027 - Fix social UI for a multi-provider world. r=gavin 2013-02-05 16:42:18 +11:00
Ehsan Akhgari
52b9fcea54 Bug 804387. Part 11: Fix testcase to expect correct sample rate. r=roc 2013-01-25 16:44:28 -05:00
Ehsan Akhgari
979dd3370b 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 2013-01-25 16:39:51 -05:00
Robert O'Callahan
45c5e4a1ad Bug 804837. 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.
2013-02-05 12:07:25 +13:00
Robert O'Callahan
f4306b8a20 Bug 804387. Part 8: Create AudioNodeEngine and AudioNodeStream. r=jesup
Modifies MediaStreamGraph to always advance its time by a multiple of
WEBAUDIO_BLOCK_SIZE.
2013-01-14 11:46:57 +13:00
Robert O'Callahan
6cc145cc76 Bug 804387. Part 7.5: Make Web Audio tests context-rate-independent (disabling some decodeAudioData tests). r=ehsan 2013-02-05 10:57:36 +13:00
Robert O'Callahan
110a477f0e Bug 804387. Part 7.2: Let BiquadFilterNode use the actual context sample rate. r=ehsan 2013-02-05 10:55:50 +13:00
Robert O'Callahan
6a9acef289 Bug 804387. Part 7: Use a static_cast instead of dynamic check when processing ProcessedMediaStream message. r=jesup 2013-02-04 23:04:26 +13:00
Robert O'Callahan
e68da80237 Bug 804387. Part 6: ChangeExplicitBlockerCountImpl takes a GraphTime, not a StreamTime. r=jesup 2013-02-04 23:04:26 +13:00
Robert O'Callahan
05be93cc6b Bug 804387. Part 5: Add MediaStream::GraphTimeToStreamTimeOptimistic and MediaStream::StreamTimeToGraphTime. r=jesup 2013-02-04 23:04:26 +13:00
Robert O'Callahan
be9e936592 Bug 804387. Part 4: Move MediaStreamGraphImpl to its own header file. r=jesup
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
2013-02-04 23:04:25 +13:00
Robert O'Callahan
5350b6e757 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 2013-02-04 23:04:25 +13:00
Robert O'Callahan
900a1da80e Bug 804387. Part 2: Fix misleading parameter name; these are NOT exactly microseconds. r=jesup 2013-02-04 23:04:25 +13:00
Robert O'Callahan
e924eeca9a 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.
2013-02-04 23:04:24 +13:00
Robert O'Callahan
11a2cb4a33 Bug 804387. Part 1: Make AllocateInputPort addref the returned port. r=jesup 2012-11-23 11:25:05 +13:00
Nicholas Cameron
0b1477418d Bug 837297; change RefCounted::dead to a define; r=waldo 2013-02-05 16:53:57 +13:00
Robert Strong
e2499456c7 Bug 767968 - Intermittent test_0201_app_launch_apply_update.js, test_0203_app_launch_apply_update.js | WindowsError: [Error 13] The process cannot access the file because it is being used by another process: '...\maintenanceservice_installer.exe'. r=bbondy 2013-02-04 17:54:13 -08:00
Robert Strong
19f32a6557 Bug 762032 - Intermittent test_0201_app_launch_apply_update_svc.js | WindowsError: [Error 13] The process cannot access the file because it is being used by another process: '...\ExecutableDir.tmp\bin\uninstall\helper.exe'. r=bbondy 2013-02-04 17:54:02 -08:00
Seth Fowler
a79762d116 Bug 836155 - Replace GetCurrentFrameRect() with FrameRect(aWhichFrame). r=joe 2013-02-04 16:06:14 -08:00
Seth Fowler
9e646b4929 Bug 836124 - Replace GetCurrentFrameIsOpaque() with [noscript] FrameIsOpaque(aWhichFrame). r=joe 2013-02-04 14:22:30 -08:00
Ryan VanderMeulen
5498290bdf Merge m-c to inbound. 2013-02-04 20:23:15 -05:00
Ryan VanderMeulen
b6ed567abc Backed out changeset 31268d71c33c (bug 833143) due to bug 837843. 2013-02-04 19:25:09 -05:00
Ryan VanderMeulen
5b3b18443a Merge m-c to inbound. 2013-02-04 14:54:36 -05:00
Alexandre Poirot
dbd572a4f0 Bug 836506 - Set the version on mozilla-central/master to 2.0.0.0-prerelease. r=fabrice 2013-02-04 14:48:14 -05:00
Tim Taubert
454a8e381c merge m-c to fx-team 2013-02-04 20:12:29 +01:00
Julien Wajsberg
805b871ccd Bug 834618 - Catch any error thrown from resolveFromOrigin. r=fabrice 2013-02-04 14:59:32 +01:00
Ryan VanderMeulen
151b748420 Merge the last PGO-green inbound changeset to m-c. 2013-02-04 06:51:57 -05:00
Paul Rouget
42d0cc65db Bug 826685 - Web Console and Inspector font is (much) larger than Debugger and StyleEditor font (sourceeditor). r=msucan 2013-02-04 11:48:24 +01:00
Raymond Lee
9ba4883ad2 Bug 834492 - Drop livemarks support from FUEL. r=mak 2013-02-04 13:53:48 +08:00
Jonathan Griffin
619bdafc99 Bug 834266 - Use XPCNativeWrapper to compare elements, r=mdas 2013-02-04 11:40:51 -08:00
Benoit Girard
de78f0320c Backed out changeset 3c4205be7191 (bug 823236) for M2 failures 2013-02-04 14:11:02 -05:00
Brian Nicholson
00f726fe3d Bug 837373 - Check for valid favicon before scaling it. r=mfinkle 2013-02-04 11:08:10 -08:00
Ehsan Akhgari
15a672004e Export MediaBufferDecoder.h, no bug 2013-02-04 13:16:57 -05:00
Nicholas Nethercote
b6e73adcac Bug 837566 - Remove js_RemoveRoot. r=terrence. 2013-02-03 20:17:34 -08:00
Phil Ringnalda
522364278a Merge the last PGO-green inbound changeset to m-c 2013-02-03 12:33:19 -08:00
Alfred Kayser
81083adad0 Bug 828281 - UpdateRecord in CloseOutputStream can be removed. r=michal.novotny 2013-02-03 17:09:48 +01:00
Robert Longson
bf2f70b0ed Bug 837450 - Leak with getTransformToElement. r=jwatt 2013-02-03 14:06:55 +00:00
Jonathan Kew
6be5a9f689 bug 822266 - refresh backing scale factors after swapping frameloader contents, in case device resolutions differ. r=bz 2013-02-03 12:21:52 +00:00
Shriram Kunchanapalli
07fd523d01 Bug 707296: Correct the length of the IndexedDB prompt timeout. r=gavin 2013-02-02 23:19:35 +05:30
Shriram Kunchanapalli
ff1aaedd30 Bug 702796: IndexedDB prompt should auto-dismiss after a timeout [in native fennec]. r=mbrubeck 2013-02-02 22:59:16 +05:30
Bill Gianopoulos
bee4a9cf7c Bug 837395: define EAFNOSUPPORT for VC9 r=rjesup 2013-02-02 12:28:35 -05:00
Randell Jesup
a629262a08 Bug 837421: Webrtc: Ignore second call to ConnectDataConnection r=derf 2013-02-03 00:29:04 -05:00
Alexander Surkov
0ed39d7ed6 Bug 786163 - sort out name calculation for HTML input buttons, r=tbsaunde 2013-02-03 13:49:18 +09:00
Benoit Girard
2fc2a2eca5 Bug 823236 - Assert that the image is valid before inserting into the image pool. r=nical 2013-02-01 19:02:42 -05:00
Gregory Szorc
89d00353f6 Bug 837631 - Part 2: Unbust virtualenv on Debians; r=glandium
This is a cherry-pick of Git commit 813fc02af8723421eeeadcb13eb361e2e44416ca
from the Virtualenv repo. It fixes https://github.com/pypa/virtualenv/issues/378.
2013-02-04 09:34:03 -08:00
Gregory Szorc
7f7b365009 Bug 837631 - Part 1: Upgrade virtualenv to 1.8.4; r=glandium
python/virtualenv now matches the upstream 1.8.4 release.
2013-02-04 09:33:30 -08:00
David Zbarsky
3112d3f00c Bug 837039 - Fix SVGMatrix failure codes r=longsonr 2013-02-01 04:55:46 -05:00
Mats Palmgren
3d35f89082 Bug 827150 - Notify ASan/Valgrind when moving entries in and out of a PresArena free list. r=roc,choller 2013-02-03 02:04:29 +01:00