gecko-dev/gfx/ipc
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
..
CompositorOptions.h
CompositorSession.cpp
CompositorSession.h
CompositorWidgetVsyncObserver.cpp
CompositorWidgetVsyncObserver.h
CrossProcessPaint.cpp Bug 1662336 - Add CrossProcessPaint API to just resolve the set of recordings without rasterizing to a bitmap. r=emilio 2020-10-07 20:30:14 +00:00
CrossProcessPaint.h Bug 1662336 - Add CrossProcessPaint API to just resolve the set of recordings without rasterizing to a bitmap. r=emilio 2020-10-07 20:30:14 +00:00
D3DMessageUtils.cpp
D3DMessageUtils.h
GPUChild.cpp Bug 1654957 - Enable the GfxInfo component in the GPU process on Linux. r=jgilbert 2020-08-07 21:31:53 +00:00
GPUChild.h Bug 1655536, part 2 - Don't wait for memory reports from child processes that no longer exist. r=froydnj 2020-08-03 18:29:45 +00:00
GPUParent.cpp Bug 1653060 - P4. Wait until all MediaRemoteDecoderManagerParent have closed before killing process. r=mattwoodrow. 2020-09-18 11:07:13 +00:00
GPUParent.h Bug 1653060 - P4. Wait until all MediaRemoteDecoderManagerParent have closed before killing process. r=mattwoodrow. 2020-09-18 11:07:13 +00:00
GPUProcessHost.cpp Bug 1649684 - Use the current nsISerialEventTarget with the various process hosts. r=nika 2020-07-02 22:59:24 +00:00
GPUProcessHost.h
GPUProcessImpl.cpp
GPUProcessImpl.h
GPUProcessListener.h
GPUProcessManager.cpp Bug 1654477 P4: Add pref to crash the browser if the GPU process crashes for testing. r=jrmuizel 2020-10-16 10:38:40 +00:00
GPUProcessManager.h Bug 1662836 - Expose detailed initialization failure reason for WebRender. r=kvark 2020-09-08 02:03:26 +00:00
GfxMessageUtils.h Bug 1653193 - Hide complex template instance PrimitiveAttributes. r=mstange 2020-07-21 08:39:35 +00:00
GraphicsMessages.ipdlh Bug 1654957 - Prelude: move GfxInfoFeatureStatus from dom to gfx. r=jgilbert 2020-08-07 21:31:48 +00:00
InProcessCompositorSession.cpp
InProcessCompositorSession.h
PGPU.ipdl Bug 1654957 - Enable the GfxInfo component in the GPU process on Linux. r=jgilbert 2020-08-07 21:31:53 +00:00
PVsyncBridge.ipdl
RemoteCompositorSession.cpp
RemoteCompositorSession.h
SharedDIB.cpp
SharedDIB.h
SharedDIBSurface.cpp
SharedDIBSurface.h
SharedDIBWin.cpp
SharedDIBWin.h
VsyncBridgeChild.cpp
VsyncBridgeChild.h
VsyncBridgeParent.cpp
VsyncBridgeParent.h
VsyncIOThreadHolder.cpp
VsyncIOThreadHolder.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00