Commit Graph

120633 Commits

Author SHA1 Message Date
Ehsan Akhgari
5c1dc30b64 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
Jonathan Griffin
73dee4e9ee Bug 820463 - Remove the --load-early CLI, r=ahal 2013-02-05 10:20:01 -08:00
Terrence Cole
2bdb8043c1 Bug 832103 - Add a regression test for the given bug; r=bhackett DONTBUILD
--HG--
extra : rebase_source : d6ee5befb43f912a8ae678c6639e4ae37e64d7d7
2013-02-05 09:47:53 -08:00
Ben Turner
72bdb2945a Bug 832419 - 'Clean up IPC blobs'. r=sicking. 2013-01-17 12:17:33 -08:00
Vivien Nicolas
46e45588c5 Bug 835799 - Add a timestamp property to the observer sent when an application has been called by app.launch(). r=fabrice 2013-02-05 13:05:56 -05:00
Vivien Nicolas
13ef244c0c Bug 804320 - Provide more inertia when the user does little gestures. r=schien 2013-02-05 13:05:56 -05:00
James Willcox
15b53c0251 Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert 2013-02-05 13:02:17 -05:00
Ehsan Akhgari
4e8b7b6319 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
438db37746 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
6d8b72a707 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
5d60f92b6f 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
82088f3e65 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
93a3ca0e54 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
a2cc2eaf26 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
56958e3201 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
316b23fcb6 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
142a2a401e 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
6719ce2ae8 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
c9484fdea1 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
f42503daeb 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
9a5950d3c6 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
Ehsan Akhgari
07a529906d Bug 804387 - Part 0: Handle the possible Java exception in AudioTrack.stop() while destroying an audio stream; r=snorp
--HG--
extra : rebase_source : f3695b94c3b8eee5b41cc80a7d67a4e0ce2f6b5d
2013-02-05 10:29:24 -05:00
James Willcox
03fed64c1c backout caf13c3365f3 for Windows bustage CLOSED TREE 2013-02-05 12:38:02 -05:00
Mats Palmgren
73bf8e67cc Bug 813442 - Remove useless do_QueryFrames and null checks. r=roc 2013-02-05 18:19:15 +01:00
Mats Palmgren
2e75758b6d Bug 813442 - CaptureRollupEvents(false) before calling anything that can destroy us. r=roc 2013-02-05 18:19:15 +01:00
Mats Palmgren
3b2a23ea54 Bug 813442 - Do the DestroyWidget() synchronously with a strong ref on the widget so that it's not deleted, drop the ref asynchronously later. r=roc 2013-02-05 18:19:15 +01:00
James Willcox
a462ad86dd Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert
--HG--
extra : rebase_source : 465e1c9ca5491a32432f4fb85eb96de473598348
2013-02-05 11:45:31 -05:00
Kyle Huey
38b5677ffe Bug 776800: Keep track of transaction dependencies explicitly to improve performance. r=bent 2013-02-05 17:01:07 +00:00
Brian Hackett
bbfe665fbd Bug 836705 - Fix bogus assert when loading from definitely-double arrays, r=jandem. 2013-02-05 09:48:55 -07:00
Brian Hackett
5c3ca53870 Bug 832670 - Don't verify barriers when unwinding frames that finished in JM, r=billm. 2013-02-05 09:44:52 -07:00
David Rajchenbach-Teller
8d3f6a3221 Bug 836912 - Measure Jank in Session Restore collection and serialization. r=ttaubert 2013-02-05 11:40:48 -05:00
Daniel Holbert
9c73187be2 Bug 837903: Mark embedding/components/find/src/ as FAIL_ON_WARNINGS. r=mats 2013-02-05 08:30:28 -08:00
Daniel Holbert
213e81ba0c Bug 837955: In builds without PR_LOGGING, define away the already-neutered logging macros in nsSHistory.cpp. r=smaug 2013-02-05 08:18:47 -08:00
Andres Hernandez
0aa7a66e6e Bug 739217 - Part 7: Browser sanitize replacements of synchronous isVisited with asynchronous isURIVisited. r=mak 2013-02-04 15:08:51 -06:00
Andres Hernandez
2deb19f406 Bug 739217 - Part 6: Browser social replacements of synchronous isVisited with asynchronous isURIVisited. r=mak, r=jaws 2013-02-04 17:14:47 -06:00
Andres Hernandez
d11b36f0fa Bug 739217 - Part 5: Toolkit replacements of synchronous isVisited with asynchronous isURIVisited. r=mak 2013-02-04 10:58:54 -06:00
Andres Hernandez
025dbe2b70 Bug 739217 - Part 4: Browser replacements of synchronous isVisited with asynchronous isURIVisited. r=mak 2013-02-04 16:12:19 -06:00
Andres Hernandez
84d8471f54 Bug 739217 - Part 2: docshell replacement of synchronous isVisited with asynchronous isURIVisited. r=mak
--HG--
rename : docshell/test/bug94514-postpage.html => toolkit/components/places/tests/mochitest/bug94514-postpage.html
rename : docshell/test/test_bug94514.html => toolkit/components/places/tests/mochitest/test_bug_94514.html
2013-02-01 10:36:28 -06:00
Andres Hernandez
19038c54ac Bug 739217 - Part 1: addVisits replacement of synchronous isVisited with asynchronous isURIVisited. r=mak 2013-01-28 11:09:33 -06:00
Asaf Romano
e4f177ebd6 Bug 836211 - Give focus to the downloads view if the previous view had focus.
r=mak
2013-02-05 15:56:35 +01:00
Joel Maher
33ce69052c Bug 834737 - 2 text reftests fail while running unitests on ubuntu 12.04 on ec2 VMs. r=bz 2013-02-05 08:57:40 -05:00
Mark Finkle
124a8abe0f Bug 837142 - Regression: about:home promo banner swaps on device rotation r=wesj 2013-02-05 08:52:57 -05:00
Mark Finkle
a15a3491e3 Bug 835399 - Remove use of promises in WebAppRT r=bnicholson 2013-02-05 08:48:15 -05:00
Mark Finkle
b3e2783b19 Bug 835399 - Rename isAppUpdate to startupStatus r=bnicholson 2013-02-05 08:48:13 -05:00
Gene Lian
b512b18340 Bug 831683 - B2G SMS & B2G MMS: make SMS database more generic for MMS (part 2, create dom/mobilemessage to put DB codes). r=vicamo
--HG--
rename : dom/sms/interfaces/nsISmsDatabaseService.idl => dom/mobilemessage/interfaces/nsIMobileMessageDatabaseService.idl
rename : dom/sms/interfaces/nsIRilSmsDatabaseService.idl => dom/mobilemessage/interfaces/nsIRilMobileMessageDatabaseService.idl
rename : dom/sms/src/android/SmsDatabaseService.cpp => dom/mobilemessage/src/android/MobileMessageDatabaseService.cpp
rename : dom/sms/src/android/SmsDatabaseService.h => dom/mobilemessage/src/android/MobileMessageDatabaseService.h
rename : dom/sms/src/fallback/SmsDatabaseService.cpp => dom/mobilemessage/src/fallback/MobileMessageDatabaseService.cpp
rename : dom/sms/src/fallback/SmsDatabaseService.h => dom/mobilemessage/src/fallback/MobileMessageDatabaseService.h
rename : dom/sms/src/ril/SmsDatabaseService.js => dom/mobilemessage/src/ril/MobileMessageDatabaseService.js
rename : dom/sms/src/ril/SmsDatabaseService.manifest => dom/mobilemessage/src/ril/MobileMessageDatabaseService.manifest
2013-02-05 19:39:44 +08:00
Gene Lian
5e944a2bc0 Bug 831683 - B2G SMS & B2G MMS: make SMS database more generic for MMS (part 1, s/SmsDatabaseService/MobileMessageDatabaseService). r=vicamo 2013-02-05 19:10:39 +08:00
Andrea Marchesini
b822140315 Bug 838124 - Convert BatteryManager to WebIDL. r=peterv 2013-02-05 07:54:49 -05:00
Ryan VanderMeulen
67b204034f Backed out changeset 2861ef67390a (bug 837566) for Linux32 mochitest-other shutdown hangs. 2013-02-05 07:54:49 -05:00
Ryan VanderMeulen
549336585a Merge m-c to inbound. 2013-02-05 07:54:46 -05:00
Eric Chou
8fe7980217 Bug 838089 - Blacklisted AT commands: AT+XAPL/AT+XEVENT, r=gyeh 2013-02-05 19:19:15 +08:00