1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00
serenity/Userland/Libraries/LibCore
Tim Schumacher d5871f5717 AK: Rename Stream::{read,write} to Stream::{read_some,write_some}
Similar to POSIX read, the basic read and write functions of AK::Stream
do not have a lower limit of how much data they read or write (apart
from "none at all").

Rename the functions to "read some [data]" and "write some [data]" (with
"data" being omitted, since everything here is reading and writing data)
to make them sufficiently distinct from the functions that ensure to
use the entire buffer (which should be the go-to function for most
usages).

No functional changes, just a lot of new FIXMEs.
2023-03-13 15:16:20 +00:00
..
Account.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
Account.h LibCore: Add a deleted state for Account 2022-12-31 04:24:05 -07:00
AnonymousBuffer.cpp LibCore: Convert AnonymousBuffer to use System::anon_create 2022-02-10 21:35:17 +01:00
AnonymousBuffer.h LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00
ArgsParser.cpp LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog 2023-03-03 15:23:47 +01:00
ArgsParser.h LibCore+Userland: Remove ArgsParser::add*(Vector<char const*>&) 2023-03-01 10:47:19 +01:00
CMakeLists.txt LibCore: Expose file type from DirIterator 2023-03-05 20:23:42 +01:00
Command.cpp LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
Command.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ConfigFile.cpp AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
ConfigFile.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
DateTime.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
DateTime.h LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00
Debounce.h LibCore+Userland: Make Core::Timer::create_single_shot() return ErrorOr 2023-01-12 11:25:51 +01:00
DeferredInvocationContext.h Libraries: Use default constructors/destructors in LibCore 2022-03-10 18:04:26 -08:00
DeprecatedFile.cpp LibCore+Everywhere: Return an Error from DirIterator::error() 2023-03-05 20:23:42 +01:00
DeprecatedFile.h LibCore: Move Stream-based file into the Core namespace 2023-02-13 00:50:07 +00:00
Directory.cpp LibCore: Introduce a new directory iteration API 2023-03-05 20:23:42 +01:00
Directory.h LibCore: Introduce a new directory iteration API 2023-03-05 20:23:42 +01:00
DirectoryEntry.cpp LibCore: Don't use DT_WHT in DirectoryEntry on OpenBSD 2023-03-06 12:53:01 +00:00
DirectoryEntry.h LibCore: Expose file type from DirIterator 2023-03-05 20:23:42 +01:00
DirIterator.cpp LibCore+Everywhere: Return an Error from DirIterator::error() 2023-03-05 20:23:42 +01:00
DirIterator.h LibCore+Everywhere: Return an Error from DirIterator::error() 2023-03-05 20:23:42 +01:00
ElapsedTimer.cpp LibCore+LibWeb: Use AK::Time instead of timeval in Core::ElapsedTimer 2023-01-07 14:51:04 +01:00
ElapsedTimer.h LibCore+LibWeb: Use AK::Time instead of timeval in Core::ElapsedTimer 2023-01-07 14:51:04 +01:00
Event.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Event.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
EventLoop.cpp AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
EventLoop.h LibCore: Allow EventLoop to manage and cancel promises 2023-03-13 12:12:17 +00:00
File.cpp AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
File.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
FilePermissionsMask.cpp LibCore: Implement four-digit modes for FilePermissionsMask parsing 2022-07-27 21:45:01 +00:00
FilePermissionsMask.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
FileWatcher.h LibCore: Allow subclassing FileWatcher 2023-01-19 11:29:48 +00:00
FileWatcherLinux.cpp LibCore+ConfigServer: Add FileWatcherFlags to replace InodeWatcherFlags 2023-01-18 09:37:11 -05:00
FileWatcherMacOS.mm LibCore: Implement FileWatcher for macOS 2023-01-19 11:29:48 +00:00
FileWatcherSerenity.cpp LibCore+ConfigServer: Add FileWatcherFlags to replace InodeWatcherFlags 2023-01-18 09:37:11 -05:00
FileWatcherUnimplemented.cpp LibCore+ConfigServer: Add FileWatcherFlags to replace InodeWatcherFlags 2023-01-18 09:37:11 -05:00
Forward.h LibCore: Add Promise to the forward declare header 2023-03-13 12:12:17 +00:00
GetPassword.cpp LibCore: Propagate errors in SecretString 2023-02-08 19:49:48 +01:00
GetPassword.h LibCore: Use ErrorOr<T> for Core::get_password() 2021-11-08 00:35:27 +01:00
Group.cpp LibCore+Utilities: Replace uses of strpbrk with find_any_of() 2023-02-25 22:31:17 +01:00
Group.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
IODevice.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
IODevice.h AK: Move Stream and SeekableStream from LibCore 2023-01-29 19:16:44 -07:00
LocalServer.cpp LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LocalServer.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LockFile.cpp LibCore+Userland: Remove File::ensure_parent_directories 2022-04-11 00:08:48 +02:00
LockFile.h Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
MappedFile.cpp LibCore: Add MappedFile::map_from_file() 2023-02-16 10:56:01 +00:00
MappedFile.h LibCore: Add MappedFile::map_from_file() 2023-02-16 10:56:01 +00:00
MimeData.cpp Base+Userland: Add support for QOA files everywhere 2023-03-10 04:07:14 -07:00
MimeData.h LibCore: Use fallible version of StringBuilder::to_byte_buffer 2023-03-09 12:59:57 +00:00
NetworkJob.cpp Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
NetworkJob.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
NetworkResponse.h Libraries: Use default constructors/destructors in LibCore 2022-03-10 18:04:26 -08:00
Notifier.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
Notifier.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Object.cpp Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
Object.h Everywhere: Remove NonnullRefPtr.h includes 2023-03-06 23:46:35 +01:00
Process.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
Process.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
ProcessStatisticsReader.cpp LibCore: Move Stream-based file into the Core namespace 2023-02-13 00:50:07 +00:00
ProcessStatisticsReader.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
Promise.h LibCore+Userland: Make Promise's on_resolve fallible 2023-03-13 12:12:17 +00:00
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 LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00
SecretString.cpp LibCore: Propagate errors in SecretString 2023-02-08 19:49:48 +01:00
SecretString.h LibCore: Propagate errors in SecretString 2023-02-08 19:49:48 +01:00
SessionManagement.cpp Kernel+LibCore: Make %sid path parsing not take ages 2023-01-10 19:32:31 +01:00
SessionManagement.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SharedCircularQueue.h LibCore: Remove try_ prefix from fallible SharedCircularQueue methods 2023-01-28 22:41:36 +01:00
Socket.cpp LibCore: Implement socket credentials for Solaris 2023-03-04 21:34:54 -07:00
Socket.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
SocketAddress.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
SOCKSProxyClient.cpp AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
SOCKSProxyClient.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
StandardPaths.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
StandardPaths.h LibCore: Add StandardPaths::font_directories() 2023-01-11 20:54:49 +00:00
System.cpp Kernel+Userland: Add support for using the PCSpeaker with various tones 2023-03-05 08:38:29 +00:00
System.h Kernel+Userland: Add support for using the PCSpeaker with various tones 2023-03-05 08:38:29 +00:00
SystemServerTakeover.cpp LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
SystemServerTakeover.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
TCPServer.cpp LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
TCPServer.h LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
TempFile.cpp LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
TempFile.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Timer.cpp LibCore+Userland: Don't auto-start new Core::Timers 2023-01-12 11:25:51 +01:00
Timer.h LibCore+Userland: Don't auto-start new Core::Timers 2023-01-12 11:25:51 +01:00
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 Everywhere: Fix order of includes and #pragma once 2022-09-18 18:30:05 -07:00
Version.cpp LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog 2023-03-03 15:23:47 +01:00
Version.h LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog 2023-03-03 15:23:47 +01:00