serenity/Userland/Libraries/LibCore
Alexander Narsudinov 767529ebf5 LibCore: Make UDPServer::receive() return ErrorOr<ByteBuffer>
This is a first step towards handling OOM errors instead of just
crashing the program.

Now UDPServer's method `receive()` return memory allocation
errors explicitly with help of ErrorOr.

This removes one FIXME and make a bunch of new ones. :(
2022-12-20 10:45:20 +01:00
..
Account.cpp AK: Stop using DeprecatedString in Base64 encoding 2022-12-20 10:34:19 +01:00
Account.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
AnonymousBuffer.cpp
AnonymousBuffer.h Everywhere: Run clang-format 2022-12-03 23:52:23 +00:00
ArgsParser.cpp Everywhere: Use C++ concepts instead of requires clauses 2022-12-09 11:25:30 +00:00
ArgsParser.h Everywhere: Use C++ concepts instead of requires clauses 2022-12-09 11:25:30 +00:00
CMakeLists.txt LibCore: Move the MemoryStream implementation into a separate file 2022-12-15 13:28:29 +00:00
Command.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Command.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ConfigFile.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
ConfigFile.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DateTime.cpp LibCore: Convert explicit timezone to local in DateTime::parse 2022-12-19 07:07:49 -05:00
DateTime.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Debounce.h
DeferredInvocationContext.h
Directory.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Directory.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DirIterator.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
DirIterator.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ElapsedTimer.cpp
ElapsedTimer.h
Event.cpp
Event.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
EventLoop.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
EventLoop.h
File.cpp LibCore: Add fd overload of File::is_directory and File::is_device 2022-12-14 18:26:25 +00:00
File.h LibCore: Add fd overload of File::is_directory and File::is_device 2022-12-14 18:26:25 +00:00
FilePermissionsMask.cpp
FilePermissionsMask.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
FileStream.h
FileWatcher.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
FileWatcher.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Forward.h
GetPassword.cpp
GetPassword.h
Group.cpp LibCore: Protect Core::Group against null group::gr_mem members 2022-12-14 07:25:36 -05:00
Group.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
InputBitStream.h LibCore: Use the new Handle type for the BitStream types 2022-12-12 16:21:39 +00:00
IODevice.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
IODevice.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LocalServer.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LocalServer.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LockFile.cpp
LockFile.h
MappedFile.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
MappedFile.h
MemoryStream.cpp LibCore: Add an automatically allocating MemoryStream 2022-12-15 13:28:29 +00:00
MemoryStream.h LibCore: Add an automatically allocating MemoryStream 2022-12-15 13:28:29 +00:00
MimeData.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
MimeData.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
NetworkJob.cpp
NetworkJob.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
NetworkResponse.h
Notifier.cpp
Notifier.h
Object.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Object.h LibCore: Support write-only Object properties 2022-12-09 00:05:30 +01:00
Process.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Process.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ProcessStatisticsReader.cpp LibCore: Rename Stream::read_all to read_until_eof 2022-12-12 14:16:42 +01:00
ProcessStatisticsReader.h LibCore: Use Core::Stream for ProcessStatisticsReader 2022-12-10 11:49:24 +00:00
Promise.h
Property.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Property.h LibCore: Support write-only Object properties 2022-12-09 00:05:30 +01:00
Proxy.h
SecretString.cpp
SecretString.h
SessionManagement.cpp LibCore: Use Core::Stream for ProcessStatisticsReader 2022-12-10 11:49:24 +00:00
SessionManagement.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SharedCircularQueue.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SocketAddress.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
SOCKSProxyClient.cpp LibCore: Use AllocatingMemoryStream for SOCKSProxyClient 2022-12-15 13:28:29 +00:00
SOCKSProxyClient.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
StandardPaths.cpp LibCore: Use the user's root session ID for standard runtime path 2022-12-15 17:29:19 +00:00
StandardPaths.h LibCore: Add a standard path for runtime communication files 2022-12-11 10:08:17 -05:00
Stream.cpp LibCore: Use System::getaddrinfo() in Socket::resolve_host 2022-12-15 13:38:13 +00:00
Stream.h LibCore: Add Stream::Handle 2022-12-12 16:21:39 +00:00
System.cpp AK+Everywhere: Move custom deleter capability to OwnPtr 2022-12-17 16:00:08 -05:00
System.h AK+Everywhere: Move custom deleter capability to OwnPtr 2022-12-17 16:00:08 -05:00
SystemServerTakeover.cpp LibCore: Use ';' to split socket path in SOCKET_TAKEOVER 2022-12-15 12:33:36 -05:00
SystemServerTakeover.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TCPServer.cpp
TCPServer.h
TempFile.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TempFile.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Timer.cpp
Timer.h
UDPServer.cpp LibCore: Make UDPServer::receive() return ErrorOr<ByteBuffer> 2022-12-20 10:45:20 +01:00
UDPServer.h LibCore: Make UDPServer::receive() return ErrorOr<ByteBuffer> 2022-12-20 10:45:20 +01:00
UmaskScope.h
Version.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Version.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00