gecko-dev/dom/media/webaudio
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
..
blink Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
test Backed out 5 changesets (bug 1346880) for browser_ProcessPriorityManager.js failures CLOSED TREE 2020-10-24 01:29:42 +03:00
AlignedTArray.h Bug 1594529 - Replace MOZ_MUST_USE with [[nodiscard]] in dom/media/webaudio. r=padenot 2020-04-27 11:46:32 +00:00
AlignmentUtils.h
AnalyserNode.cpp Bug 1666490 - Fix channelCount of AnalyserNode. r=pehrsons 2020-09-23 16:58:52 +00:00
AnalyserNode.h
AudioBlock.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
AudioBlock.h Bug 1659244 - Remove audibility code from AudioSegment and AudioBlock. r=pehrsons 2020-09-23 11:46:54 +00:00
AudioBuffer.cpp Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug 2020-09-01 15:09:47 +00:00
AudioBuffer.h Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug 2020-09-01 15:09:47 +00:00
AudioBufferSourceNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
AudioBufferSourceNode.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan,kvark 2020-02-24 15:33:38 +00:00
AudioContext.cpp Backed out 5 changesets (bug 1346880) for browser_ProcessPriorityManager.js failures CLOSED TREE 2020-10-24 01:29:42 +03:00
AudioContext.h Backed out 5 changesets (bug 1346880) for browser_ProcessPriorityManager.js failures CLOSED TREE 2020-10-24 01:29:42 +03:00
AudioDestinationNode.cpp Backed out 5 changesets (bug 1346880) for browser_ProcessPriorityManager.js failures CLOSED TREE 2020-10-24 01:29:42 +03:00
AudioDestinationNode.h Backed out 5 changesets (bug 1346880) for browser_ProcessPriorityManager.js failures CLOSED TREE 2020-10-24 01:29:42 +03:00
AudioEventTimeline.cpp Bug 1621596 - Adjust one patch from bug 1598114 to land what was meant to be landing 2020-03-11 10:56:00 +00:00
AudioEventTimeline.h Bug 1598114 - Never destroy `AudioTimelineEvent` from the render thread when it contains a valid pointer to an `AudioNodeTrack`, and assert it. r=karlt 2020-03-05 16:13:12 +00:00
AudioListener.cpp
AudioListener.h
AudioNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
AudioNode.h Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
AudioNodeEngine.cpp Bug 1633747 - Flush NaNs to zeros before handing back the audio output buffer to the OS. r=karlt 2020-05-01 23:57:30 +00:00
AudioNodeEngine.h Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
AudioNodeEngineNEON.cpp Bug 1634098 - Fix a few clang-tidy warnings in AudioNodeEngine.cpp and vector sibling files. r=karlt 2020-04-29 22:39:15 +00:00
AudioNodeEngineNEON.h Bug 1634098 - Fix a few clang-tidy warnings in AudioNodeEngine.cpp and vector sibling files. r=karlt 2020-04-29 22:39:15 +00:00
AudioNodeEngineSSE2.cpp Bug 1633747 - Flush NaNs to zeros before handing back the audio output buffer to the OS. r=karlt 2020-05-01 23:57:30 +00:00
AudioNodeEngineSSE2.h Bug 1633747 - Flush NaNs to zeros before handing back the audio output buffer to the OS. r=karlt 2020-05-01 23:57:30 +00:00
AudioNodeExternalInputTrack.cpp
AudioNodeExternalInputTrack.h
AudioNodeTrack.cpp Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
AudioNodeTrack.h Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
AudioParam.cpp Bug 1659201 store AudioParam names as nsString r=pehrsons 2020-08-19 08:16:39 +00:00
AudioParam.h Bug 1659201 store AudioParam names as nsString r=pehrsons 2020-08-19 08:16:39 +00:00
AudioParamDescriptorMap.h
AudioParamMap.cpp Bug 1655544 use associated AudioWorkletNode for AudioParamMap parent object r=padenot 2020-08-05 14:35:33 +00:00
AudioParamMap.h Bug 1655544 use associated AudioWorkletNode for AudioParamMap parent object r=padenot 2020-08-05 14:35:33 +00:00
AudioParamTimeline.h Bug 1621596 - Adjust one patch from bug 1598114 to land what was meant to be landing 2020-03-11 10:56:00 +00:00
AudioProcessingEvent.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/media. r=padenot 2020-03-04 15:39:20 +00:00
AudioProcessingEvent.h Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
AudioScheduledSourceNode.cpp
AudioScheduledSourceNode.h
AudioWorkletGlobalScope.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
AudioWorkletGlobalScope.h Bug 1565464 - Accept any iterable for parameterDescriptors in AudioWorkletGlobalScope.registerProcessor(). r=karlt 2020-03-27 10:50:08 +00:00
AudioWorkletImpl.cpp
AudioWorkletImpl.h Bug 1402784 - Use nsIContentPolicy::TYPE_INTERNAL_AUDIOWORKLET and nsIContentPolicy::TYPE_INTERNAL_PAINTWORKLET in Worklet code, r=smaug 2020-03-17 22:24:39 +00:00
AudioWorkletNode.cpp Bug 1659201 create AudioParamMap on demand for AudioWorkletNode#parameters r=pehrsons 2020-08-19 08:27:01 +00:00
AudioWorkletNode.h Bug 1659201 create AudioParamMap on demand for AudioWorkletNode#parameters r=pehrsons 2020-08-19 08:27:01 +00:00
AudioWorkletProcessor.cpp
AudioWorkletProcessor.h
BiquadFilterNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
BiquadFilterNode.h
ChannelMergerNode.cpp Bug 1598114 - Pass the graph time to ProcessBlockOnPorts. r=karlt 2020-03-04 15:21:28 +00:00
ChannelMergerNode.h Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot 2020-02-12 17:59:41 +00:00
ChannelSplitterNode.cpp Bug 1598114 - Pass the graph time to ProcessBlockOnPorts. r=karlt 2020-03-04 15:21:28 +00:00
ChannelSplitterNode.h Bug 1614038 part 1. Fix ChannelSplitterNode to follow the spec for its setters. r=padenot 2020-02-12 15:38:02 +00:00
ConstantSourceNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
ConstantSourceNode.h
ConvolverNode.cpp Bug 1322095 - Part 2: Remove nsAutoPtr from dom/media. r=jya 2020-02-21 22:44:00 +00:00
ConvolverNode.h Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot 2020-02-12 17:59:41 +00:00
DelayBuffer.cpp Bug 1626570 - Improve handling of copying arrays in dom/media/. r=bryce 2020-05-05 11:38:10 +00:00
DelayBuffer.h
DelayNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
DelayNode.h
DynamicsCompressorNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
DynamicsCompressorNode.h Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot 2020-02-12 17:59:41 +00:00
FFTBlock.cpp
FFTBlock.h Bug 1656063 - Only load function pointer in FFTBlock once. r=karlt 2020-07-31 12:29:01 +00:00
GainNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
GainNode.h
IIRFilterNode.cpp Bug 1650945 - Fix error message in IIRFilterNode::Create; r=padenot 2020-07-08 14:05:33 +00:00
IIRFilterNode.h
MediaBufferDecoder.cpp Bug 1669570 - Rename MediaController thread to MediaSupervisor. r=jya 2020-10-26 15:13:37 +00:00
MediaBufferDecoder.h
MediaElementAudioSourceNode.cpp Bug 1619165 - Reformat recent changes to the Google coding style r=andi 2020-04-25 09:40:08 +00:00
MediaElementAudioSourceNode.h
MediaStreamAudioDestinationNode.cpp Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot 2020-02-12 17:59:41 +00:00
MediaStreamAudioDestinationNode.h
MediaStreamAudioSourceNode.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
MediaStreamAudioSourceNode.h Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot 2020-02-12 17:59:41 +00:00
MediaStreamTrackAudioSourceNode.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
MediaStreamTrackAudioSourceNode.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
OscillatorNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
OscillatorNode.h Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot 2020-02-12 17:59:41 +00:00
PannerNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
PannerNode.h Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug 2020-03-06 21:04:58 +00:00
PanningUtils.h
PeriodicWave.cpp Bug 1613833 - Changed length condition to suit the spec. r=padenot 2020-07-30 16:01:40 +00:00
PeriodicWave.h Bug 1613833 - Changed length condition to suit the spec. r=padenot 2020-07-30 16:01:40 +00:00
PlayingRefChangeHandler.h
ReportDecodeResultTask.h
ScriptProcessorNode.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/media. r=padenot 2020-03-04 15:39:20 +00:00
ScriptProcessorNode.h Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot 2020-02-12 17:59:41 +00:00
StereoPannerNode.cpp Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons 2020-08-19 08:20:36 +00:00
StereoPannerNode.h Bug 1614038 part 2. Improve error reporting in webaudio code. r=padenot 2020-02-12 17:59:41 +00:00
ThreeDPoint.cpp
ThreeDPoint.h
WaveShaperNode.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
WaveShaperNode.h
WebAudioUtils.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
WebAudioUtils.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00