gecko-dev/ipc/glue
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
..
BackgroundChild.h Bug 1603420 - PBackground for the Parent-Socket process bridge r=baku,jld 2020-03-03 16:14:19 +00:00
BackgroundChildImpl.cpp Bug 1653470 - refcount PServiceWorkerRegistration r=dom-workers-and-storage-reviewers,asuth 2020-10-23 11:52:49 +00:00
BackgroundChildImpl.h Bug 1653470 - refcount PServiceWorkerRegistration r=dom-workers-and-storage-reviewers,asuth 2020-10-23 11:52:49 +00:00
BackgroundImpl.cpp Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj 2020-06-23 05:05:36 +00:00
BackgroundParent.h Bug 1603420 - PBackground for the Parent-Socket process bridge r=baku,jld 2020-03-03 16:14:19 +00:00
BackgroundParentImpl.cpp Bug 1653470 - refcount PServiceWorkerRegistration r=dom-workers-and-storage-reviewers,asuth 2020-10-23 11:52:49 +00:00
BackgroundParentImpl.h Bug 1653470 - refcount PServiceWorkerRegistration r=dom-workers-and-storage-reviewers,asuth 2020-10-23 11:52:49 +00:00
BackgroundUtils.cpp Bug 1646573: Part 3 - Fix OriginalFrameSrcLoad with DocumentChannel. r=mattwoodrow 2020-09-23 18:26:25 +00:00
BackgroundUtils.h Bug 1635399 - Function PrincipalInfoToPrincipal now returns Result<nsCOMPtr<nsIPrincipal>, nsresult> r=ckerschb 2020-05-12 19:02:05 +00:00
BrowserProcessSubThread.cpp Bug 1656101 - Delete some IPC dead code (BrowserProcessSubThread types and an unused header). r=mccr8 2020-07-29 23:31:38 +00:00
BrowserProcessSubThread.h Bug 1656101 - Delete some IPC dead code (BrowserProcessSubThread types and an unused header). r=mccr8 2020-07-29 23:31:38 +00:00
ByteBuf.h Bug 1592822 - Replace StyleVecU8 with ipc::ByteBuf. r=emilio 2020-01-22 20:18:40 +00:00
ByteBufUtils.h Bug 1592822 - Replace StyleVecU8 with ipc::ByteBuf. r=emilio 2020-01-22 20:18:40 +00:00
CrashReporterClient.cpp Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrashReporterClient.h Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrashReporterHelper.h Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrashReporterHost.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
CrashReporterHost.h Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrossProcessMutex.h Bug 1618165 - Provide BaseAutoLock and BaseAutoUnlock deduction guides for Mutex references. r=froydnj 2020-02-28 07:59:30 +00:00
CrossProcessMutex_posix.cpp Bug 1533918 - Disallow CrossProcessMutex when sandboxing is enabled. r=botond 2019-10-30 17:59:15 +00:00
CrossProcessMutex_unimplemented.cpp
CrossProcessMutex_windows.cpp
CrossProcessSemaphore.h Bug 1477756 - Fix all webgl regression tests according to CI. r=handyman 2020-01-08 22:19:23 +00:00
CrossProcessSemaphore_posix.cpp
CrossProcessSemaphore_unimplemented.cpp
CrossProcessSemaphore_windows.cpp
EnvironmentMap.h
FileDescriptor.cpp Bug 1668706 - Fix invalid handle handling of FileDescriptor::Clone() on Windows r=jld 2020-10-06 00:16:43 +00:00
FileDescriptor.h Bug 1534780 - Add free interconversion between UniqueFileHandle and ipc::FileDescriptor and use it in a few places. r=froydnj 2019-06-28 19:46:58 +00:00
FileDescriptorSetChild.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
FileDescriptorSetChild.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
FileDescriptorSetParent.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
FileDescriptorSetParent.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
FileDescriptorShuffle.cpp
FileDescriptorShuffle.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
FileDescriptorUtils.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-05-25 07:42:38 +00:00
FileDescriptorUtils.h Bug 1639837 - make CloseFileRunnable use mozilla::Runnable; r=jld 2020-05-22 22:36:59 +00:00
ForkServer.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
ForkServer.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
ForkServiceChild.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +00:00
ForkServiceChild.h Bug 1609881 - Part 1: put the fork server behind a preference. r=gsvelto 2020-02-12 16:57:39 +00:00
GeckoChildProcessHost.cpp Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
GeckoChildProcessHost.h Bug 1632687 - Part 3: Introduce an OS-dependent ChannelId type to reflect that Unix doesn't use channel IDs. r=mccr8 2020-07-22 19:04:48 +00:00
IOThreadChild.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCMessageUtils.cpp Bug 1622166 - Change variadic functions from the old recursive way using Fold expressions r=gerald,jld 2020-05-14 16:31:17 +00:00
IPCMessageUtils.h Bug 1656114 - Part 2: Add mozilla::BitSet. r=froydnj 2020-10-11 22:03:33 +00:00
IPCStream.ipdlh
IPCStreamAlloc.h
IPCStreamChild.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCStreamDestination.cpp Bug 1646933 - DelayedStartInputStream::AsyncWait is wrongly implemented, r=smaug 2020-06-21 20:53:54 +00:00
IPCStreamDestination.h Bug 1601742 - Fix unified build with the forkserver. r=froydnj 2019-12-06 04:58:27 +00:00
IPCStreamParent.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCStreamSource.cpp Bug 1609668 - Move 32k buffer in IPCStreamSource::DoRead to the heap to avoid stack overflow. r=asuth 2020-10-12 21:38:30 +00:00
IPCStreamSource.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
IPCStreamUtils.cpp Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
IPCStreamUtils.h Bug 1629315 - Replace MOZ_MUST_USE with [[nodiscard]] in ipc. r=jld 2020-04-16 22:14:21 +00:00
IPDLParamTraits.h Bug 1633379 - Part 1: Move PInProcess into dom/ipc, r=kmag,Yoric 2020-06-25 17:50:51 +00:00
IdleSchedulerChild.cpp Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
IdleSchedulerChild.h Bug 1589561. Factor out idle handling from PrioritizedEventQueue. r=smaug 2019-10-20 15:08:44 +00:00
IdleSchedulerParent.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
IdleSchedulerParent.h Bug 1563063 - Cross-process idle handling, r=farre 2019-09-24 14:33:57 +00:00
InputStreamParams.ipdlh Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 3 - PRemoteLazyInputStream, r=smaug,necko-reviewers,dragana 2020-06-29 11:03:04 +00:00
InputStreamUtils.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
InputStreamUtils.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
LibrarySandboxPreload.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
LibrarySandboxPreload.h Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers 2020-04-22 11:16:10 +00:00
MessageChannel.cpp Bug 1671577 - Use OtherPid() in AddProfilerMarker(). r=jld 2020-10-16 17:53:42 +00:00
MessageChannel.h Bug 1663300 - Remove MessageChannel::IsInTransaction(). r=jld 2020-09-09 17:34:22 +00:00
MessageLink.cpp Bug 1634846 - P2. Make ipc's MessageChannel works with TaskQueue, r=nika 2020-07-02 00:26:41 +00:00
MessageLink.h Bug 1090374 - Convert MessageChannel::mLink to a UniquePtr. r=froydnj 2020-06-16 22:33:55 +00:00
MessagePump.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
MessagePump.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
MiniTransceiver.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
MiniTransceiver.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
Neutering.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-08-02 15:29:15 +00:00
PBackground.ipdl Bug 1595994 - P26. Simplify and rename RecvLaunchRDDProcess. r=mattwoodrow,nika,ipc-reviewers 2020-10-20 23:32:57 +00:00
PBackgroundSharedTypes.ipdlh Bug 1654469 - Stop generating operator==/operator != for IPDL structs/unions by default. r=nika 2020-07-22 17:24:33 +00:00
PBackgroundTest.ipdl
PChildToParentStream.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
PFileDescriptorSet.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
PIdleScheduler.ipdl Bug 1563063 - Cross-process idle handling, r=farre 2019-09-24 14:33:57 +00:00
PParentToChildStream.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
ProcessChild.cpp Bug 1633791 part 1: Add ability to notify the child processes of an impending shutdown. r=nika 2020-05-22 18:21:59 +00:00
ProcessChild.h Bug 1633791 part 1: Add ability to notify the child processes of an impending shutdown. r=nika 2020-05-22 18:21:59 +00:00
ProcessUtils.h Bug 1479960 - Get rid of base::SharedMemory::handle. r=froydnj 2019-08-14 22:48:22 +00:00
ProcessUtils_bsd.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ProcessUtils_common.cpp Bug 1479960 - Get rid of base::SharedMemory::handle. r=froydnj 2019-08-14 22:48:22 +00:00
ProcessUtils_linux.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ProcessUtils_mac.mm Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ProcessUtils_none.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ProtocolTypes.ipdlh
ProtocolUtils.cpp Bug 1670557 - Check for open channel in NotifyImpendingShutdown, r=annyG 2020-10-24 01:05:49 +00:00
ProtocolUtils.h Bug 1654379 - Allow filtering the IPC log by multiple toplevel protocol names. r=nika 2020-07-23 17:47:39 +00:00
ScopedXREEmbed.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
ScopedXREEmbed.h
SharedMemory.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
SharedMemory.h Bug 1629315 - Replace MOZ_MUST_USE with [[nodiscard]] in ipc. r=jld 2020-04-16 22:14:21 +00:00
SharedMemoryBasic.h
SharedMemoryBasic_android.cpp Bug 1598068 - Add ashmem abstraction to mozglue and use it everywhere r=glandium,jld 2020-03-06 19:04:49 +00:00
SharedMemoryBasic_android.h
SharedMemoryBasic_chromium.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
SharedMemoryBasic_mach.h Bug 1567209 - CleanupForPid locking r=jld 2019-10-25 05:17:54 +00:00
SharedMemoryBasic_mach.mm Bug 1567209 - CleanupForPid locking r=jld 2019-10-25 05:17:54 +00:00
SharedMemory_posix.cpp Bug 1479960 - Add unit tests for shared memory freezing. r=froydnj 2019-08-14 22:48:52 +00:00
SharedMemory_windows.cpp Bug 1479960 - Add unit tests for shared memory freezing. r=froydnj 2019-08-14 22:48:52 +00:00
Shmem.cpp Bug 1642738, part 1 - Make the non-reply MessageChannel Send messages take a UniquePtr. r=froydnj 2020-06-02 21:25:27 +00:00
Shmem.h Bug 1642738, part 1 - Make the non-reply MessageChannel Send messages take a UniquePtr. r=froydnj 2020-06-02 21:25:27 +00:00
StringUtil.cpp
TaintingIPCUtils.h Bug 1610017 - Actually taint data when tainted is specified for IPC methods r=nika 2020-02-21 17:24:17 +00:00
TaskFactory.h Bug 1609996 - Remove mozilla/Move.h. r=froydnj 2020-01-20 16:18:20 +00:00
Transport.h
TransportSecurityInfoUtils.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
TransportSecurityInfoUtils.h Bug 1592083 - Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw 2019-10-29 17:20:07 +00:00
Transport_posix.cpp Bug 1632687 - Part 3: Introduce an OS-dependent ChannelId type to reflect that Unix doesn't use channel IDs. r=mccr8 2020-07-22 19:04:48 +00:00
Transport_posix.h
Transport_win.cpp Bug 1632687 - Part 3: Introduce an OS-dependent ChannelId type to reflect that Unix doesn't use channel IDs. r=mccr8 2020-07-22 19:04:48 +00:00
Transport_win.h
URIParams.ipdlh Bug 1589102 - Part 4: Allow (de)serialization of nested about: uris, r=kmag 2020-08-28 17:20:43 +00:00
URIUtils.cpp Bug 1589102 - Part 4: Allow (de)serialization of nested about: uris, r=kmag 2020-08-28 17:20:43 +00:00
URIUtils.h Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
WindowsMessageLoop.cpp Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
WindowsMessageLoop.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
components.conf Bug 1620745 - Bring up fork server launcher at app-startup. r=gsvelto 2020-03-18 01:01:17 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsIIPCSerializableInputStream.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00