Ryan VanderMeulen
87a4ee15f4
Backed out changesets aee6b1a6c400 and a633e4d67d31 (bug 875277) for bustage.
2013-08-05 20:47:07 -04:00
JW Wang
5c464c8e34
Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan
2013-08-05 10:34:52 +08:00
JW Wang
835d56c5d5
Bug 875277 - Part 1: Implement WaveShaperNode.oversample - webidl enums. r=ehsan
2013-07-26 15:14:35 +08:00
Boris Zbarsky
bcd1523d40
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Ehsan Akhgari
11d536d021
Bug 900341 - Shut down the decoder object for an AudioContext from a runnable; r=bent,roc
2013-08-02 12:07:17 -04:00
Mike Hommey
2e729aa83d
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Paul Adenot
f558a92953
Bug 895720 - Actually use the fuzz value.
2013-07-30 11:10:33 +01:00
Paul Adenot
8e849d9058
Bug 895720 - On MacOS, increase the fuzz factor for test_audioBufferSourceNodeOffset.html.
2013-07-30 11:06:33 +01:00
Ryan VanderMeulen
268ee517df
Bug 894941 - Increase fuzz tolerance for the small-shot.ogg mediaDecoding test to resolve a CLOSED TREE.
2013-07-26 15:17:34 -04:00
Robert O'Callahan
269f816a9e
Bug 890716. Fix race in Reverb::Reverb. r=padenot
...
--HG--
extra : rebase_source : 65af577f5ffcf7f7a0b650f1693f4159ddac4ac6
2013-07-26 13:35:22 +12:00
Ms2ger
8609abdb1f
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
2013-07-24 09:31:06 +02:00
Ms2ger
10d5739f7a
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Joshua Cranmer
e5e0a1f2f3
Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
...
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Ehsan Akhgari
4f7b4f5330
Bug 891254 - Fix the usage of uninitialized samples when the input to a ConvolverNode has a volume; r=roc
...
--HG--
extra : rebase_source : 2d7e6c393e66096cf410adce0924843ad2eda61b
2013-07-18 10:22:47 -04:00
Paul Adenot
0b0d2ff170
Bug 883591 - Don't allow creating a MediaStreamDestinationNode on an OfflineAudioContext. r=ehsan
2013-07-18 11:57:38 +02:00
Paul Adenot
e2823f5290
Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan
2013-07-16 14:45:41 +02:00
Ryan VanderMeulen
9675b8fd1f
Backed out 2 changesets (bug 894150) for crashtest orange.
...
Backed out changeset 80ce41a4e6ee (bug 894150)
Backed out changeset b41c7f2ddda5 (bug 894150)
2013-07-16 12:33:56 -04:00
Paul Adenot
47cb8e667e
Bug 894150 - Test.
2013-07-16 17:39:13 +02:00
Paul Adenot
3f1e30d22d
Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan
2013-07-16 14:45:41 +02:00
Paul Adenot
63564ecf7c
Bug 891986 - Keep the source ArrayBuffer to a decodeAudioData call alive until the decoding is complete. r=mccr8,ehsan
2013-07-16 11:00:36 +02:00
Paul Adenot
16dc6f0a7b
Bug 886653 - Don't call speex_resampler_skip_zeros when changing the rate in AudioBufferSourceNode. r=ehsan
2013-07-12 17:21:51 +02:00
Paul Adenot
9e563b6b06
Bug 892492 - Fix automation on AudioBufferSourceNode.playbackRate. r=ehsan
2013-07-12 11:23:21 +02:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Paul Adenot
4dc7ab77df
Bug 888271 - Make test_AudioBufferSourceNodeOffset.html fuzzier.
2013-07-10 15:03:19 +02:00
Ehsan Akhgari
0af4dba840
Bug 891543 - Remove the version of AudioBuffer::GetChannelData that is unused; r=roc
2013-07-09 17:35:05 -04:00
Ryan VanderMeulen
39ec2a332a
Bug 888271 - Increase errorRatio allowance of AudioBufferSourceNode test. r=padenot
2013-07-09 16:01:58 -04:00
Paul Adenot
52112e2d8e
Bug 888271 - Don't substract twice by mOffset in AudioBufferSourceNode. r=ehsan
2013-07-09 10:41:54 +02:00
Ehsan Akhgari
1bdf54b41d
Bug 890543 - Make AudioBuffer not inherit from nsISupports; r=mccr8
2013-07-05 16:21:52 -04:00
Robert O'Callahan
97ebf79d0c
Bug 890248. Avoid situations where adding a new input to an AudioNode can race with a message telling the AudioNode to release its mPlayingRef. r=ehsan
...
--HG--
extra : rebase_source : 913683cc16a717bf73f9976292af965aba6b7758
2013-07-05 13:49:53 +12:00
Robert O'Callahan
d4cc20985d
Bug 886618. Part 4: Test. r=ehsan
2013-07-05 09:19:54 +12:00
Ehsan Akhgari
63e8d00856
Bug 890072 - Part 2: Keep the ConvolverNode alive while its reverb buffers are being exhausted; r=roc
2013-07-03 21:38:31 -04:00
Ehsan Akhgari
166efd7631
Bug 890072 - Part 1: Factor out PlayingRefChanged from DelayNodeEngine; r=roc
2013-07-03 21:37:39 -04:00
Ehsan Akhgari
508e8b2f4d
Bug 889016 - Part 2: Report an error in the synchronous AudioContext.createBuffer unless the legacy pref has been set; r=roc
2013-07-04 09:25:12 -04:00
Ehsan Akhgari
0b7fe769e3
Bug 890023 - Set the output channel count for ConvolverNode to 2 unconditionally; r=roc
2013-07-04 09:22:22 -04:00
Ehsan Akhgari
8beeac4ae5
Backed out 2 changesets (bug 890072) for possible leaks
...
Backed out changeset 5e815a5ca50d (bug 890072)
Backed out changeset 7151ab8ff70c (bug 890072)
2013-07-03 22:17:25 -04:00
Ehsan Akhgari
c0cfafa124
Bug 890072 - Part 2: Keep the ConvolverNode alive while its reverb buffers are being exhausted; r=roc
2013-07-03 21:38:31 -04:00
Ehsan Akhgari
5f1c963062
Bug 890072 - Part 1: Factor out PlayingRefChanged from DelayNodeEngine; r=roc
2013-07-03 21:37:39 -04:00
Drew Willcoxon
b5a902e5a8
Bug 879111 - Mute Web Audio when allowMedia is false on the docshell. r=ehsan
2013-07-03 17:44:32 -07:00
Ehsan Akhgari
91a2cdbf88
Backed out 2 changesets (bug 890072) because gcc sucks
...
Backed out changeset ff011e5b3655 (bug 890072)
Backed out changeset 0ed650741dc5 (bug 890072)
2013-07-03 20:36:06 -04:00
Ehsan Akhgari
1487a38dbe
Bug 890072 - Part 2: Keep the ConvolverNode alive while its reverb buffers are being exhausted; r=roc
2013-07-03 20:20:57 -04:00
Ehsan Akhgari
6a9b959645
Bug 890072 - Part 1: Factor out PlayingRefChanged from DelayNodeEngine; r=roc
2013-07-03 20:20:06 -04:00
Ehsan Akhgari
8f1fc677be
Bug 889042 - Null check the argument to ConvolverNode::SetBuffer; r=padenot
...
--HG--
extra : rebase_source : e69ed91550603d4477b0b6084e05af971a0b050c
2013-07-02 14:15:32 -04:00
Robert O'Callahan
6ec3546f11
Bug 886618. Part 2: Simplify OOM handling when stealing array buffer data. r=ehsan
...
--HG--
extra : rebase_source : 1343b39cdf4e65af99219da47e778f86d8a38b04
2013-06-30 00:30:35 +12:00
Robert O'Callahan
acd948d7ca
Bug 886618. Part 3: Handle null data in ConvolverNode. r=ehsan
...
--HG--
extra : rebase_source : 64e9c67937db1bea84bc3445d1e774782b5de419
2013-06-29 17:32:18 +12:00
Robert O'Callahan
6a7f5b997d
Bug 886618. Play nothing when one or more of the Float32Arrays of an AudioBuffer has been neutered. r=ehsan
...
--HG--
extra : rebase_source : 6778a5416142e247aa91ec29bbc50b049ecd6d90
2013-06-26 04:01:07 +12:00
Justin Lebar
3e059c7221
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Robert O'Callahan
07e75dea9b
Bug 886618. Remove dead AudioBuffer code. r=ehsan
...
--HG--
extra : rebase_source : fcd30cacfbcd1a43f62e0c0ce7df2dd57c307366
2013-06-29 01:49:56 +12:00
Robert O'Callahan
0d7e3acda0
Bug 886657. Don't play anything from an AudioBufferSourceNode until a buffer has been set and start() has been called. r=ehsan
2013-06-26 04:00:42 +12:00