gecko-dev/dom/media/webaudio
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
..
blink Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
compiledtest Bug 1110344 - Replace float by double in AudioTimelineEvent ctor to prevent a rounding issue. r=padenot 2015-06-03 11:58:30 +02:00
test Bug 1203616 - Test that waveshaper nodes don't corrupt their input buffer. r=karlt 2015-10-08 11:16:31 +02:00
AlignedTArray.h Bug 1182808 - Part 3: Rename AlignedTArray_Impl to AlignedTArray and remove existing AlignedTArray. r=padenot 2015-07-15 12:58:22 -07:00
AnalyserNode.cpp bug 1207003 add GraphTime parameter to ProcessBlock() and remove GetCurrentPosition() r=padenot 2015-09-18 17:05:25 +12:00
AnalyserNode.h bug 1184801 process AnalyserNode input only when required r=padenot 2015-07-22 19:50:37 +12:00
AudioBlock.cpp bug 1203380 tighten not-sharing assertion in ChannelFloatsForWrite() r=padenot 2015-09-10 09:01:55 +12:00
AudioBlock.h bug 1205540 initialize mBufferFormat when constructing silent block r=padenot 2015-09-21 11:37:55 +12:00
AudioBuffer.cpp bug 1198656 delay AudioBuffer allocation until required r=padenot 2015-08-24 19:30:36 +12:00
AudioBuffer.h bug 1198656 refactor acquiring the content into an object method r=padenot 2015-08-25 08:51:55 +12:00
AudioBufferSourceNode.cpp bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
AudioBufferSourceNode.h bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
AudioContext.cpp Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku 2015-10-05 04:35:00 +02:00
AudioContext.h Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku 2015-10-05 04:35:00 +02:00
AudioDestinationNode.cpp Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc 2015-10-07 20:06:47 +01:00
AudioDestinationNode.h Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku 2015-10-05 04:35:00 +02:00
AudioEventTimeline.h Bug 1110344 - Replace float by double in AudioTimelineEvent ctor to prevent a rounding issue. r=padenot 2015-06-03 11:58:30 +02:00
AudioListener.cpp Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
AudioListener.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioNode.cpp bug 1210267 use DOMEventTargetHelper::LastRelease instead of custom Release r=baku 2015-10-01 00:14:26 +13:00
AudioNode.h bug 1210267 use DOMEventTargetHelper::LastRelease instead of custom Release r=baku 2015-10-01 00:14:26 +13:00
AudioNodeEngine.cpp bug 1207003 add GraphTime parameter to ProcessBlock() and remove GetCurrentPosition() r=padenot 2015-09-18 17:05:25 +12:00
AudioNodeEngine.h bug 1205558 remove DelayNodeEngine::mSource r=padenot 2015-09-29 14:39:28 +13:00
AudioNodeEngineNEON.cpp
AudioNodeEngineNEON.h
AudioNodeExternalInputStream.cpp Bug 1170958 - Allow MediaInputPort to lock to a specific input track. r=roc 2015-09-30 09:31:53 +08:00
AudioNodeExternalInputStream.h Bug 1189506. Make AudioContext responsible for tracking all nodes which need to be suspended and resumed. r=padenot 2015-09-16 16:15:21 +12:00
AudioNodeStream.cpp bug 1210280 use nullptr for silent channels in UpMixDownMixChunk r=padenot 2015-09-05 11:01:54 +12:00
AudioNodeStream.h bug 1205558 use destination stream for audio node engine time r=padenot 2015-09-22 16:34:45 +12:00
AudioParam.cpp bug 1210267 remove custom AudioParam::Release and disconnect in destructor r=baku 2015-10-02 14:24:51 +13:00
AudioParam.h bug 1210267 remove custom AudioParam::Release and disconnect in destructor r=baku 2015-10-02 14:24:51 +13:00
AudioParamTimeline.h Bug 1200579 - Stop copying AudioParam timelines. r=karlt 2015-09-25 15:57:55 +02:00
AudioProcessingEvent.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AudioProcessingEvent.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
BiquadFilterNode.cpp bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
BiquadFilterNode.h bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
BufferDecoder.cpp Bug 1212701. Part 1 - remove AbstractMediaDecoder::OnDecodeTaskQueue(). r=jya. 2015-10-12 12:05:49 +08:00
BufferDecoder.h Bug 1212701. Part 1 - remove AbstractMediaDecoder::OnDecodeTaskQueue(). r=jya. 2015-10-12 12:05:49 +08:00
ChannelMergerNode.cpp Bug 1189506. Pass AudioContext to AudioNodeStream::Create. r=karlt 2015-09-09 01:22:16 +12:00
ChannelMergerNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ChannelSplitterNode.cpp Bug 1189506. Pass AudioContext to AudioNodeStream::Create. r=karlt 2015-09-09 01:22:16 +12:00
ChannelSplitterNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ConvolverNode.cpp bug 1207003 add GraphTime parameter to ProcessBlock() and remove GetCurrentPosition() r=padenot 2015-09-18 17:05:25 +12:00
ConvolverNode.h Bug 1159290 - "Add final/override to WebAudio classes". r=padenot 2015-04-28 08:42:00 +02:00
DelayBuffer.cpp bug 1197028 use AudioBlock for web audio processing to reuse buffers shared downstream r=padenot 2015-09-03 19:01:50 +12:00
DelayBuffer.h bug 1197028 use AudioBlock for web audio processing to reuse buffers shared downstream r=padenot 2015-09-03 19:01:50 +12:00
DelayNode.cpp bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
DelayNode.h bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
DynamicsCompressorNode.cpp bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
DynamicsCompressorNode.h bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
FFTBlock.cpp Bug 926838 - [Part 4] Implement AlignedTArray for 32-byte alignment is required by openmax dl. Also modify callers. r=ehsan 2013-11-13 11:07:31 +08:00
FFTBlock.h bug 1188704 remove now unused PerformInverseFFT() variation r=rillian 2015-07-30 12:51:48 +12:00
GainNode.cpp bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
GainNode.h bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
MediaBufferDecoder.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
MediaBufferDecoder.h bug 1199559 write decodeAudioData buffer in a format suitable for direct use by AudioBuffer r=padenot 2015-08-28 11:15:39 +12:00
MediaElementAudioSourceNode.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaElementAudioSourceNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaStreamAudioDestinationNode.cpp Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc 2015-09-30 09:31:54 +08:00
MediaStreamAudioDestinationNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
MediaStreamAudioSourceNode.cpp Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc 2015-09-30 09:31:54 +08:00
MediaStreamAudioSourceNode.h Bug 1170958 - Allow MediaInputPort to lock to a specific input track. r=roc 2015-09-30 09:31:53 +08:00
OfflineAudioCompletionEvent.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
OfflineAudioCompletionEvent.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
OscillatorNode.cpp bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
OscillatorNode.h bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
PannerNode.cpp bug 1207003 add GraphTime parameter to ProcessBlock() and remove GetCurrentPosition() r=padenot 2015-09-18 17:05:25 +12:00
PannerNode.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
PanningUtils.h bug 1197028 use AudioBlock for web audio processing to reuse buffers shared downstream r=padenot 2015-09-03 19:01:50 +12:00
PeriodicWave.cpp
PeriodicWave.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
PlayingRefChangeHandler.h bug 914392 use NodeMainThread() to avoid NodeMutex() use on main thread r=padenot 2015-07-14 21:57:01 +12:00
ReportDecodeResultTask.h Bug 1159290 - "Add final/override to WebAudio classes". r=padenot 2015-04-28 08:42:00 +02:00
ScriptProcessorNode.cpp bug 1205558 remove unnecessary ScriptProcessorNodeEngine::mSource r=padenot 2015-09-29 14:30:40 +13:00
ScriptProcessorNode.h bug 916387 keep ScriptProcessorNode alive after input is GCed r=padenot 2015-08-06 17:56:06 +12:00
StereoPannerNode.cpp bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
StereoPannerNode.h bug 1210266 use parameter index instead of node callback for sending timeline events r=padenot 2015-10-01 15:48:20 +13:00
ThreeDPoint.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ThreeDPoint.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
WaveShaperNode.cpp Bug 1203616 - Properly scale the input buffer of a WaveShaperNode before processing it with the curve. r=karlt 2015-10-08 11:16:31 +02:00
WaveShaperNode.h Bug 1186343: Throw an InvalidStateError when we set the curve attribute of a WaveShaperNode with a Float32Array of length less than 2; r=padenot,smaug 2015-07-22 13:32:12 +02:00
WebAudioUtils.cpp bug 1205558 remove unused AudioNodeStream* aSource parameter r=padenot 2015-09-22 17:11:52 +12:00
WebAudioUtils.h bug 1205558 remove unused AudioNodeStream* aSource parameter r=padenot 2015-09-22 17:11:52 +12:00
moz.build bug 1208327 make enum AudioContextOperation strongly typed and forward declare instead of including AudioContext.h r=roc 2015-09-25 08:49:03 +12:00