From 3a71748e5d16a244c21aaf28ca3c4220c47f484e Mon Sep 17 00:00:00 2001 From: Itamar Date: Fri, 25 Feb 2022 12:18:30 +0200 Subject: [PATCH] Userland: Rename IPC ClientConnection => ConnectionFromClient This was done with CLion's automatic rename feature and with: find . -name ClientConnection.h | rename 's/ClientConnection\.h/ConnectionFromClient.h/' find . -name ClientConnection.cpp | rename 's/ClientConnection\.cpp/ConnectionFromClient.cpp/' --- Documentation/Browser/ProcessArchitecture.md | 2 +- Meta/Lagom/CMakeLists.txt | 2 +- Userland/Applets/Audio/main.cpp | 8 +- .../Applications/Piano/AudioPlayerLoop.cpp | 2 +- Userland/Applications/Piano/AudioPlayerLoop.h | 4 +- Userland/Applications/Piano/main.cpp | 2 +- .../SoundPlayer/PlaybackManager.cpp | 2 +- .../SoundPlayer/PlaybackManager.h | 8 +- Userland/Applications/SoundPlayer/Player.cpp | 2 +- Userland/Applications/SoundPlayer/Player.h | 4 +- .../SoundPlayerWidgetAdvancedView.cpp | 2 +- .../SoundPlayerWidgetAdvancedView.h | 4 +- Userland/Applications/SoundPlayer/main.cpp | 4 +- Userland/Applications/VideoPlayer/main.cpp | 2 +- .../HackStudio/LanguageServers/CMakeLists.txt | 2 +- .../LanguageServers/CodeComprehensionEngine.h | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 28 +-- ...entConnection.h => ConnectionFromClient.h} | 8 +- ...entConnection.h => ConnectionFromClient.h} | 12 +- .../Cpp/CppComprehensionEngine.cpp | 2 +- .../HackStudio/LanguageServers/Cpp/main.cpp | 4 +- ...entConnection.h => ConnectionFromClient.h} | 12 +- .../Shell/ShellComprehensionEngine.cpp | 2 +- .../HackStudio/LanguageServers/Shell/main.cpp | 4 +- Userland/Libraries/LibAudio/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 18 +- ...entConnection.h => ConnectionFromClient.h} | 6 +- ...entConnection.h => ConnectionFromClient.h} | 8 +- Userland/Libraries/LibIPC/MultiServer.h | 6 +- Userland/Libraries/LibIPC/SingleServer.h | 8 +- Userland/Services/AudioServer/CMakeLists.txt | 2 +- .../Services/AudioServer/ClientConnection.cpp | 166 -------------- .../AudioServer/ConnectionFromClient.cpp | 166 ++++++++++++++ ...entConnection.h => ConnectionFromClient.h} | 12 +- Userland/Services/AudioServer/Mixer.cpp | 10 +- Userland/Services/AudioServer/Mixer.h | 12 +- Userland/Services/AudioServer/main.cpp | 2 +- Userland/Services/Clipboard/CMakeLists.txt | 2 +- .../Services/Clipboard/ClientConnection.cpp | 53 ----- .../Clipboard/ConnectionFromClient.cpp | 53 +++++ ...entConnection.h => ConnectionFromClient.h} | 14 +- Userland/Services/Clipboard/main.cpp | 6 +- Userland/Services/ConfigServer/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 54 ++--- ...entConnection.h => ConnectionFromClient.h} | 10 +- Userland/Services/ConfigServer/main.cpp | 4 +- .../FileSystemAccessServer/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 28 +-- ...entConnection.h => ConnectionFromClient.h} | 12 +- .../Services/FileSystemAccessServer/main.cpp | 4 +- Userland/Services/ImageDecoder/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 12 +- ...entConnection.h => ConnectionFromClient.h} | 12 +- Userland/Services/ImageDecoder/Forward.h | 2 +- Userland/Services/ImageDecoder/main.cpp | 4 +- .../Services/InspectorServer/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 22 +- ...entConnection.h => ConnectionFromClient.h} | 12 +- Userland/Services/InspectorServer/Forward.h | 2 +- Userland/Services/InspectorServer/main.cpp | 6 +- Userland/Services/LaunchServer/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 26 +-- ...entConnection.h => ConnectionFromClient.h} | 10 +- Userland/Services/LaunchServer/main.cpp | 4 +- Userland/Services/LookupServer/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 16 +- ...entConnection.h => ConnectionFromClient.h} | 12 +- .../Services/LookupServer/LookupServer.cpp | 4 +- Userland/Services/LookupServer/LookupServer.h | 4 +- .../NotificationServer/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 22 +- ...entConnection.h => ConnectionFromClient.h} | 10 +- Userland/Services/NotificationServer/main.cpp | 4 +- .../Services/RequestServer/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 30 +-- ...entConnection.h => ConnectionFromClient.h} | 12 +- Userland/Services/RequestServer/Forward.h | 2 +- .../Services/RequestServer/GeminiProtocol.cpp | 2 +- .../Services/RequestServer/GeminiProtocol.h | 2 +- .../Services/RequestServer/GeminiRequest.cpp | 4 +- .../Services/RequestServer/GeminiRequest.h | 4 +- Userland/Services/RequestServer/HttpCommon.h | 4 +- .../Services/RequestServer/HttpProtocol.cpp | 4 +- .../Services/RequestServer/HttpProtocol.h | 4 +- .../Services/RequestServer/HttpRequest.cpp | 4 +- Userland/Services/RequestServer/HttpRequest.h | 4 +- .../Services/RequestServer/HttpsProtocol.cpp | 4 +- .../Services/RequestServer/HttpsProtocol.h | 4 +- .../Services/RequestServer/HttpsRequest.cpp | 4 +- .../Services/RequestServer/HttpsRequest.h | 4 +- Userland/Services/RequestServer/Protocol.h | 2 +- Userland/Services/RequestServer/Request.cpp | 4 +- Userland/Services/RequestServer/Request.h | 4 +- Userland/Services/RequestServer/main.cpp | 4 +- Userland/Services/SQLServer/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 32 +-- ...entConnection.h => ConnectionFromClient.h} | 14 +- .../Services/SQLServer/DatabaseConnection.cpp | 10 +- Userland/Services/SQLServer/Forward.h | 2 +- Userland/Services/SQLServer/SQLStatement.cpp | 10 +- Userland/Services/SQLServer/main.cpp | 4 +- Userland/Services/WebContent/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 76 +++---- ...entConnection.h => ConnectionFromClient.h} | 12 +- .../Services/WebContent/Documentation.txt | 2 +- Userland/Services/WebContent/Forward.h | 2 +- Userland/Services/WebContent/PageHost.cpp | 4 +- Userland/Services/WebContent/PageHost.h | 8 +- .../WebContent/WebContentConsoleClient.cpp | 2 +- .../WebContent/WebContentConsoleClient.h | 6 +- Userland/Services/WebContent/main.cpp | 4 +- Userland/Services/WebSocket/CMakeLists.txt | 2 +- ...onnection.cpp => ConnectionFromClient.cpp} | 32 +-- ...entConnection.h => ConnectionFromClient.h} | 12 +- Userland/Services/WebSocket/main.cpp | 4 +- Userland/Services/WindowServer/CMakeLists.txt | 4 +- Userland/Services/WindowServer/Compositor.cpp | 18 +- Userland/Services/WindowServer/Compositor.h | 16 +- ...onnection.cpp => ConnectionFromClient.cpp} | 202 +++++++++--------- ...entConnection.h => ConnectionFromClient.h} | 22 +- Userland/Services/WindowServer/EventLoop.cpp | 8 +- Userland/Services/WindowServer/EventLoop.h | 10 +- .../Services/WindowServer/KeymapSwitcher.h | 2 +- Userland/Services/WindowServer/Menu.cpp | 4 +- Userland/Services/WindowServer/Menu.h | 10 +- Userland/Services/WindowServer/MenuItem.cpp | 2 +- .../Services/WindowServer/MenuManager.cpp | 6 +- Userland/Services/WindowServer/MenuManager.h | 2 +- ...nection.cpp => WMConnectionFromClient.cpp} | 48 ++--- ...tConnection.h => WMConnectionFromClient.h} | 16 +- Userland/Services/WindowServer/Window.cpp | 6 +- Userland/Services/WindowServer/Window.h | 12 +- .../Services/WindowServer/WindowFrame.cpp | 2 +- .../Services/WindowServer/WindowManager.cpp | 40 ++-- .../Services/WindowServer/WindowManager.h | 24 +-- Userland/Utilities/aplay.cpp | 4 +- Userland/Utilities/asctl.cpp | 4 +- 137 files changed, 896 insertions(+), 896 deletions(-) rename Userland/DevTools/HackStudio/LanguageServers/{ClientConnection.cpp => ConnectionFromClient.cpp} (78%) rename Userland/DevTools/HackStudio/LanguageServers/{ClientConnection.h => ConnectionFromClient.h} (83%) rename Userland/DevTools/HackStudio/LanguageServers/Cpp/{ClientConnection.h => ConnectionFromClient.h} (67%) rename Userland/DevTools/HackStudio/LanguageServers/Shell/{ClientConnection.h => ConnectionFromClient.h} (67%) rename Userland/Libraries/LibAudio/{ClientConnection.cpp => ConnectionFromClient.cpp} (67%) rename Userland/Libraries/LibAudio/{ClientConnection.h => ConnectionFromClient.h} (85%) rename Userland/Libraries/LibIPC/{ClientConnection.h => ConnectionFromClient.h} (83%) delete mode 100644 Userland/Services/AudioServer/ClientConnection.cpp create mode 100644 Userland/Services/AudioServer/ConnectionFromClient.cpp rename Userland/Services/AudioServer/{ClientConnection.h => ConnectionFromClient.h} (83%) delete mode 100644 Userland/Services/Clipboard/ClientConnection.cpp create mode 100644 Userland/Services/Clipboard/ConnectionFromClient.cpp rename Userland/Services/Clipboard/{ClientConnection.h => ConnectionFromClient.h} (58%) rename Userland/Services/ConfigServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (76%) rename Userland/Services/ConfigServer/{ClientConnection.h => ConnectionFromClient.h} (88%) rename Userland/Services/FileSystemAccessServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (78%) rename Userland/Services/FileSystemAccessServer/{ClientConnection.h => ConnectionFromClient.h} (79%) rename Userland/Services/ImageDecoder/{ClientConnection.cpp => ConnectionFromClient.cpp} (77%) rename Userland/Services/ImageDecoder/{ClientConnection.h => ConnectionFromClient.h} (61%) rename Userland/Services/InspectorServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (61%) rename Userland/Services/InspectorServer/{ClientConnection.h => ConnectionFromClient.h} (72%) rename Userland/Services/LaunchServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (70%) rename Userland/Services/LaunchServer/{ClientConnection.h => ConnectionFromClient.h} (77%) rename Userland/Services/LookupServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (69%) rename Userland/Services/LookupServer/{ClientConnection.h => ConnectionFromClient.h} (61%) rename Userland/Services/NotificationServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (51%) rename Userland/Services/NotificationServer/{ClientConnection.h => ConnectionFromClient.h} (73%) rename Userland/Services/RequestServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (73%) rename Userland/Services/RequestServer/{ClientConnection.h => ConnectionFromClient.h} (79%) rename Userland/Services/SQLServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (54%) rename Userland/Services/SQLServer/{ClientConnection.h => ConnectionFromClient.h} (59%) rename Userland/Services/WebContent/{ClientConnection.cpp => ConnectionFromClient.cpp} (77%) rename Userland/Services/WebContent/{ClientConnection.h => ConnectionFromClient.h} (91%) rename Userland/Services/WebSocket/{ClientConnection.cpp => ConnectionFromClient.cpp} (71%) rename Userland/Services/WebSocket/{ClientConnection.h => ConnectionFromClient.h} (78%) rename Userland/Services/WindowServer/{ClientConnection.cpp => ConnectionFromClient.cpp} (79%) rename Userland/Services/WindowServer/{ClientConnection.h => ConnectionFromClient.h} (94%) rename Userland/Services/WindowServer/{WMClientConnection.cpp => WMConnectionFromClient.cpp} (71%) rename Userland/Services/WindowServer/{WMClientConnection.h => WMConnectionFromClient.h} (73%) diff --git a/Documentation/Browser/ProcessArchitecture.md b/Documentation/Browser/ProcessArchitecture.md index 40cd805d707..0dc17d4e89d 100644 --- a/Documentation/Browser/ProcessArchitecture.md +++ b/Documentation/Browser/ProcessArchitecture.md @@ -42,7 +42,7 @@ In the GUI application process, a `OutOfProcessWebView` widget is placed somewhe Internally, the `OutOfProcessWebView` has a `WebContentClient` object that implements the client side of the **WebContent** IPC protocol. -The `WebContentClient` speaks to a `WebContent::ClientConnection` in the **WebContent** process. Internally, the `WebContent::ClientConnection` has a `WebContent::PageHost` which hosts the **LibWeb** engine's main `Web::Page` object. +The `WebContentClient` speaks to a `WebContent::ConnectionFromClient` in the **WebContent** process. Internally, the `WebContent::ConnectionFromClient` has a `WebContent::PageHost` which hosts the **LibWeb** engine's main `Web::Page` object. Inside **LibWeb**, a `Web::Page` has a main `Web::Frame`, which may have subframes corresponding to `` or `