summaryrefslogtreecommitdiff
path: root/AK/ByteBuffer.h
AgeCommit message (Collapse)Author
2019-04-25Kernel: Add a write cache to DiskBackedFS.Andreas Kling
This way you can spam small write()s on a file without the kernel writing to disk every single time. Flushes are included in the FS::sync() operation and will get triggered regularly by syncd. :^)
2019-04-23Do a pass of compiler warning fixes.Andreas Kling
This is really making me question not using 64-bit integers more.
2019-04-20AK: Add String::copy(BufferType) helper.Andreas Kling
This will create a String from any BufferType that has data() and size().
2019-03-18GIODevice: Add a read_all() that returns a ByteBuffer with all we can read.Andreas Kling
Use this to implement file opening in TextEditor.
2019-03-17AK: Make ByteBuffer's copy() and wrap() take void*.Andreas Kling
This way we don't have to cast whatever we're passing to copy()/wrap().
2019-03-16AK: Remove Buffer<T> since it was only ever instantiated with T=byte.Andreas Kling
Instead make a specialized AK::ByteBufferImpl class for the backing store of AK::ByteBuffer. This reduces template bloat.
2019-03-12Kernel: More work on the ICMP and IPv4 support.Andreas Kling
2019-02-25More moving towards using signed types.Andreas Kling
I'm still feeling this out, but I am starting to like the general idea.
2019-01-31Big, possibly complete sweep of naming changes.Andreas Kling
2019-01-18StringBuilder: Use a ByteBuffer internally instead of a Vector<String>.Andreas Kling
2018-12-21Yet another pass of style fixes.Andreas Kling
2018-12-04Import a simple text editor I started working on.Andreas Kling
2018-10-27Greatly improve /proc/PID/stack by tracing the ebp frame chain.Andreas Kling
I also added a generator cache to FileHandle. This way, multiple reads to a generated file (i.e in a synthfs) can transparently handle multiple calls to read() without the contents changing between calls. The cache is discarded at EOF (or when the FileHandle is destroyed.)
2018-10-16Reduce dependence on STL.Andreas Kling
2018-10-13Ext2FileSystem::readInode() should return an empty buffer for 0-length files.Andreas Kling
2018-10-10Import all this stuff into a single repo called Serenity.Andreas Kling