ladybird/Userland/Services/LookupServer
sin-ack 2e1bbcb0fa LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer
This change unfortunately cannot be atomically made without a single
commit changing everything.

Most of the important changes are in LibIPC/Connection.cpp,
LibIPC/ServerConnection.cpp and LibCore/LocalServer.cpp.

The notable changes are:
- IPCCompiler now generates the decode and decode_message functions such
  that they take a Core::Stream::LocalSocket instead of the socket fd.
- IPC::Decoder now uses the receive_fd method of LocalSocket instead of
  doing system calls directly on the fd.
- IPC::ConnectionBase and related classes now use the Stream API
  functions.
- IPC::ServerConnection no longer constructs the socket itself; instead,
  a convenience macro, IPC_CLIENT_CONNECTION, is used in place of
  C_OBJECT and will generate a static try_create factory function for
  the ServerConnection subclass. The subclass is now responsible for
  passing the socket constructed in this function to its
  ServerConnection base; the socket is passed as the first argument to
  the constructor (as a NonnullOwnPtr<Core::Stream::LocalServer>) before
  any other arguments.
- The functionality regarding taking over sockets from SystemServer has
  been moved to LibIPC/SystemServerTakeover.cpp. The Core::LocalSocket
  implementation of this functionality hasn't been deleted due to my
  intention of removing this class in the near future and to reduce
  noise on this (already quite noisy) PR.
2022-01-15 13:29:48 +03:30
..
ClientConnection.cpp LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
ClientConnection.h LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
CMakeLists.txt LookupServer: Port to LibMain :^) 2021-11-23 15:44:59 +01:00
DNSAnswer.cpp AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
DNSAnswer.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
DNSName.cpp AK+Everywhere: Stop including Vector.h from StringView.h 2021-11-10 21:58:58 +01:00
DNSName.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
DNSPacket.cpp Services: Remove unused header includes 2021-08-01 08:10:16 +02:00
DNSPacket.h LookupServer: Correct some flags for DNS packets 2021-05-10 17:26:17 +02:00
DNSPacketHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSQuestion.h LookupServer: Turn #defines into enum classes and add formatter 2021-05-10 17:26:17 +02:00
DNSServer.cpp LibCore+LookupServer: Implement and use UDPServer::send 2021-12-16 22:21:35 +03:30
DNSServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LookupClient.ipc Userland: Remove dummy IPC methods 2021-06-24 00:38:58 +02:00
LookupServer.cpp LookupServer: Avoid unnecessary copies 2022-01-01 15:40:39 +01:00
LookupServer.h LibIPC: Add IPC::MultiServer convenience class 2021-12-06 19:22:16 +01:00
LookupServer.ipc LibC+LookupServer: Use u32 for the endpoint magic 2021-11-05 00:17:01 +03:30
main.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
MulticastDNS.cpp LibCore+LookupServer: Implement and use UDPServer::send 2021-12-16 22:21:35 +03:30
MulticastDNS.h LibCore+LookupServer: Implement and use UDPServer::send 2021-12-16 22:21:35 +03:30