Tim Schumacher
|
add2e2c076
LibCore: Do short forward seeks by discarding bytes from the buffer
|
2 years ago |
Tim Schumacher
|
bdf991fe76
LibCore: Calculate the correct seek offset for buffered streams
|
2 years ago |
Lucas CHOLLET
|
2e52de5744
LibCore: Add `Stream::File::fd()`
|
2 years ago |
Tim Schumacher
|
d1711f1cef
AK: Define our own concept of "trivially serializable"
|
2 years ago |
Tim Schumacher
|
6777cb0975
LibCore: Fix up type mistakes in `Stream::read_trivial_value`
|
2 years ago |
Lucas CHOLLET
|
56512caa73
LibCore: Don't reject an empty buffer with `ENOBUFS`
|
2 years ago |
Lucas CHOLLET
|
4402720a15
LibCore: Don't rely on `\n` detection to populate the buffer
|
2 years ago |
Lucas CHOLLET
|
8252436c18
LibCore: Resume search in `find_and_populate_until_any_of`
|
2 years ago |
Lucas CHOLLET
|
b21ea54af0
LibCore: Merge two search implementations in `Stream::BufferedStream`
|
2 years ago |
Lucas CHOLLET
|
9a7accddb7
AK: Add an optional starting offset to `CircularBuffer::offset_of`
|
2 years ago |
Tim Schumacher
|
202175cf4c
LibCore: Add helper functions to read/write trivial values from streams
|
2 years ago |
Lucas CHOLLET
|
f0d2a8dd57
LibCore: Add `Stream::File::leak_fd(Badge<IPC::File>)`
|
2 years ago |
Tim Schumacher
|
dd948b046c
LibCore: Add `Stream::WrapInAKOutputStream`
|
2 years ago |
Ben Wiederhake
|
b2cd935efd
LibCore: Remove unused include MemMem
|
2 years ago |
Lucas CHOLLET
|
bf06f49417
LibCore: Use CircularBuffer in BufferedHelper
|
2 years ago |
Tim Schumacher
|
8b5df161af
LibCore: Add `Stream::Handle`
|
2 years ago |
Tim Schumacher
|
3fccf2481c
LibCore: Make not discarding all requested bytes from a stream an error
|
2 years ago |
Tim Schumacher
|
9a3e95785e
LibCore: Propagate errors from `Stream::*_entire_buffer`
|
2 years ago |
Tim Schumacher
|
6c7c5a6786
LibCore: Rename `Stream::*_or_error` to `*_entire_buffer`
|
2 years ago |
Tim Schumacher
|
ed4c2f2f8e
LibCore: Rename `Stream::read_all` to `read_until_eof`
|
2 years ago |
Tim Schumacher
|
5061a905ff
LibCore: Remove `Stream::is_{readable,writable}`
|
2 years ago |
Tim Schumacher
|
4e7da96d58
LibCore: Add a wrapper for adapting Core::Stream to AK::InputStream
|
2 years ago |
Tim Schumacher
|
2fc2025f49
LibCore: Move `Core::Stream::File::exists()` to `Core::File`
|
2 years ago |
Linus Groh
|
6e19ab2bbc
AK+Everywhere: Rename String to DeprecatedString
|
2 years ago |
Linus Groh
|
d26aabff04
Everywhere: Run clang-format
|
2 years ago |
Sam Atkins
|
cb5f83606a
LibCore: Optionally pass MSG_NOSIGNAL to socket read/writes
|
2 years ago |
Tim Schumacher
|
6e29619dcb
LibCore: Add `Stream::discard()`
|
2 years ago |
Tim Schumacher
|
7a065513cd
LibCore: Add a basic wrapper for adapting AK::Stream to Core::Stream
|
2 years ago |
Tim Schumacher
|
1d5dbd1b80
LibCore: Limit to the user buffer size when reading lines from a stream
|
2 years ago |
davidot
|
d9360676cd
LibCore: Add standard_{output, input, error} functions to File::Stream
|
2 years ago |