ladybird/Libraries/LibCore
Timothy Flynn 005e965380 LibCore+RequestServer: Return size_t from system read/write functions
The system uses ssize_t so it can return -1 in case of an error. But in
our case, we will transform that to an AK::Error, thus we never return
-1. Let's return size_t instead.
2025-12-01 16:29:48 +01:00
..
Platform Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
AddressInfoVector.cpp LibCore: Move AddressInfoVector to its own file 2025-12-01 06:34:32 -05:00
AddressInfoVector.h LibCore: Move AddressInfoVector to its own file 2025-12-01 06:34:32 -05:00
AnonymousBuffer.cpp LibCore+LibIPC: Move various encode/decode specializations to LibIPC 2025-06-14 16:03:26 -04:00
AnonymousBuffer.h LibCore+LibIPC: Move various encode/decode specializations to LibIPC 2025-06-14 16:03:26 -04:00
AnonymousBufferWindows.cpp LibCore: Consistently treat file descriptors as handles on Windows 2025-02-05 19:27:47 -07:00
ArgsParser.cpp LibCore+LibJS+LibWasm: Always use a real format string 2025-04-08 20:00:18 -04:00
ArgsParser.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
CMakeLists.txt LibCore: Define SocketAddress out-of-line to remove SocketAddressWindows 2025-12-01 06:34:32 -05:00
ConfigFile.cpp Everywhere: Change west consts caught by clang-format-21 to east consts 2025-08-29 18:18:55 +01:00
ConfigFile.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DeferredInvocationContext.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Directory.cpp AK+LibCore: Avoid double-negation of syscall error values 2025-05-10 21:19:46 -04:00
Directory.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
DirectoryEntry.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DirectoryEntry.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DirIterator.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DirIterator.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ElapsedTimer.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ElapsedTimer.h LibCore: Remove deprecated ElapsedTimer::elapsed() 2024-11-23 19:20:03 +01:00
Environment.cpp Meta+LibCore: Disable --no-undefined on FreeBSD and remove LibCore hack 2025-10-22 13:54:54 +02:00
Environment.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Event.h LibCore: Remove unused NotifierActivationEvent fd() and type() methods 2025-11-22 09:47:25 +01:00
EventLoop.cpp LibCore: Remove unused "visible for timer purposes" concept 2025-08-11 16:55:25 +02:00
EventLoop.h LibCore: Remove unused "visible for timer purposes" concept 2025-08-11 16:55:25 +02:00
EventLoopExecutor.swift LibCore: Add swift bindings for EventLoop as an Executor and Actor 2025-03-15 21:51:22 -06:00
EventLoopImplementation.cpp LibCore: Ensure we don't replace an already-installed event loop manager 2025-06-13 17:06:16 +02:00
EventLoopImplementation.h LibCore: Remove unused "visible for timer purposes" concept 2025-08-11 16:55:25 +02:00
EventLoopImplementationUnix.cpp LibCore: Remove unused NotifierActivationEvent fd() and type() methods 2025-11-22 09:47:25 +01:00
EventLoopImplementationUnix.h LibCore: Remove unused "visible for timer purposes" concept 2025-08-11 16:55:25 +02:00
EventLoopImplementationWindows.cpp LibCore: Remove unused NotifierActivationEvent fd() and type() methods 2025-11-22 09:47:25 +01:00
EventLoopImplementationWindows.h LibCore: Signal an event to queue a wake completion packet on Windows 2025-11-18 18:49:37 +01:00
EventReceiver.cpp LibCore: Remove unused CustomEvent 2025-08-11 16:55:25 +02:00
EventReceiver.h LibCore: Remove macro-generated EventReceiver::try_create(...) factories 2025-08-11 16:55:25 +02:00
EventSwift.h LibCore: Add swift bindings for EventLoop as an Executor and Actor 2025-03-15 21:51:22 -06:00
EventSwift.mm Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
File.cpp LibCore+RequestServer: Return size_t from system read/write functions 2025-12-01 16:29:48 +01:00
File.h LibCore+LibIPC: Remove badge on File::leak_fd 2025-06-14 16:03:26 -04:00
FileWatcher.h Everywhere: Include HashMap only where it's actually used 2024-12-09 12:31:16 +01:00
FileWatcherLinux.cpp LibCore: Remove macro-generated EventReceiver::try_create(...) factories 2025-08-11 16:55:25 +02:00
FileWatcherUnimplemented.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Forward.h LibCore: Remove unused "visible for timer purposes" concept 2025-08-11 16:55:25 +02:00
IOSurface.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
IOSurface.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LocalServer.cpp LibCore: Remove unused LocalServer constructor parameter 2025-08-11 16:55:25 +02:00
LocalServer.h LibCore: Remove unused LocalServer constructor parameter 2025-08-11 16:55:25 +02:00
LocalServerWindows.cpp LibCore: Remove unused LocalServer constructor parameter 2025-08-11 16:55:25 +02:00
MachPort.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MachPort.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MappedFile.cpp LibCore+LibIPC: Remove badge on File::leak_fd 2025-06-14 16:03:26 -04:00
MappedFile.h Everywhere: Slap some [[clang::lifetimebound]] where appropriate 2025-09-01 11:11:38 +02:00
MimeData.cpp LibCore: Add AVIF to registered types in MimeData 2025-08-22 08:03:28 -04:00
MimeData.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
NetworkResponse.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Notifier.cpp LibCore: Stop parenting notifiers 2025-08-11 16:55:25 +02:00
Notifier.h LibCore: Remove unused NotifierActivationEvent fd() and type() methods 2025-11-22 09:47:25 +01:00
Process.cpp LibCore: Mark Process::wait_for_termination as const 2025-11-07 11:27:51 +01:00
Process.h LibCore: Mark Process::wait_for_termination as const 2025-11-07 11:27:51 +01:00
ProcessWindows.cpp LibCore: Mark Process::wait_for_termination as const 2025-11-07 11:27:51 +01:00
Promise.h LibCore: Do not require rvalue references to resolve/reject promises 2025-11-12 09:06:21 -05:00
Proxy.h LibCore+LibIPC: Move various encode/decode specializations to LibIPC 2025-06-14 16:03:26 -04:00
ReportTime.cpp LibCore: Introduce REPORT_TIME() for per call timing information 2025-11-11 11:47:59 +01:00
ReportTime.h LibCore: Introduce REPORT_TIME() for per call timing information 2025-11-11 11:47:59 +01:00
Resource.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Resource.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ResourceImplementation.cpp LibCore: Add S_ISDIR, S_ISREG to System.h on Windows 2025-02-12 18:42:05 -07:00
ResourceImplementation.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ResourceImplementationFile.cpp LibCore: Add S_ISDIR, S_ISREG to System.h on Windows 2025-02-12 18:42:05 -07:00
ResourceImplementationFile.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SharedCircularQueue.h LibCore: Atomically ref-count SharedSingleProducerCircularQueue guts 2025-05-24 06:52:25 -06:00
Socket.cpp LibCore+RequestServer: Return size_t from system read/write functions 2025-12-01 16:29:48 +01:00
Socket.h LibCore+RequestServer: Return size_t from system read/write functions 2025-12-01 16:29:48 +01:00
SocketAddress.cpp LibCore: Define SocketAddress out-of-line to remove SocketAddressWindows 2025-12-01 06:34:32 -05:00
SocketAddress.h LibCore: Define SocketAddress out-of-line to remove SocketAddressWindows 2025-12-01 06:34:32 -05:00
SocketpairWindows.cpp LibCore: Define SocketAddress out-of-line to remove SocketAddressWindows 2025-12-01 06:34:32 -05:00
SocketWindows.cpp LibCore: Define SocketAddress out-of-line to remove SocketAddressWindows 2025-12-01 06:34:32 -05:00
StandardPaths.cpp LibCore: Add a standard path for cache data 2025-10-14 13:40:33 +02:00
StandardPaths.h LibCore: Add a standard path for cache data 2025-10-14 13:40:33 +02:00
System.cpp LibCore+RequestServer: Return size_t from system read/write functions 2025-12-01 16:29:48 +01:00
System.h LibCore+RequestServer: Return size_t from system read/write functions 2025-12-01 16:29:48 +01:00
SystemServerTakeover.cpp LibCore: Port SystemServerTakeover.cpp to Windows 2025-02-06 15:25:14 -07:00
SystemServerTakeover.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SystemWindows.cpp LibCore+RequestServer: Return size_t from system read/write functions 2025-12-01 16:29:48 +01:00
TCPServer.cpp LibCore: Remove unused TCPServer constructor parameter 2025-08-11 16:55:25 +02:00
TCPServer.h LibCore: Remove unused TCPServer constructor parameter 2025-08-11 16:55:25 +02:00
TCPServerWindows.cpp LibCore: Remove unused TCPServer constructor parameter 2025-08-11 16:55:25 +02:00
ThreadedPromise.h LibCore: Fix ThreadedPromise issues found with ThreadSanitizer 2025-09-24 21:05:54 -05:00
ThreadEventQueue.cpp LibCore: Don't reserve 2 KiB of stack memory when processing event queue 2024-11-10 19:12:59 +01:00
ThreadEventQueue.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Timer.cpp LibCore: Remove unused Timer APIs for constructing with a parent 2025-08-11 16:55:25 +02:00
Timer.h LibCore: Remove unused Timer APIs for constructing with a parent 2025-08-11 16:55:25 +02:00
TimeZoneWatcher.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TimeZoneWatcherLinux.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TimeZoneWatcherMacOS.mm Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TimeZoneWatcherUnimplemented.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TimeZoneWatcherWindows.cpp LibCore+LibWebView+UI/Qt: Support TimeZoneWatcher on Windows 2025-10-05 15:46:15 +02:00
UDPServer.cpp LibCore: Accept ReadonlyBytes/Bytes in System::send/recv 2025-12-01 08:55:33 -05:00
UDPServer.h LibCore: Define SocketAddress out-of-line to remove SocketAddressWindows 2025-12-01 06:34:32 -05:00
UDPServerWindows.cpp LibCore+RequestServer: Return size_t from system read/write functions 2025-12-01 16:29:48 +01:00
Version.cpp LibCore: Remove LADYBIRD_GIT_VERSION environment variable usage 2025-05-15 14:02:48 +02:00
Version.h LibCore: Remove ErrorOr return type from read_long_version_string 2025-02-13 08:27:02 -05:00