ladybird/Userland/Libraries/LibIPC
sin-ack 62af6cd4f9 IPCCompiler: Remove hardcoded endpoint magic, attempt deux
This patch removes the IPC endpoint numbers that needed to be specified
in the IPC files.  Since the string hash is a (hopefully) collision free
number that depends on the name of the endpoint, we now use that
instead. :^)

Additionally, endpoint magic is now treated as a u32, because endpoint
numbers were never negative anyway.

For cases where the endpoint number does have to be hardcoded (a current
case is LookupServer because the endpoint number must be known in LibC),
the syntax has been made more explicit to avoid confusing those
unfamiliar.  To hardcode the endpoint magic, the following syntax is now
used:

endpoint EndpointName [magic=1234]
2021-04-25 14:06:56 +02:00
..
ClientConnection.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Connection.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Decoder.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Decoder.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Dictionary.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Encoder.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Encoder.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Endpoint.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Endpoint.h IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
File.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Message.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Message.h IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
ServerConnection.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00