Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-20 | AK: Use size_t for ByteBuffer sizes | Andreas Kling | |
This matches what we already do for string types. | |||
2020-01-18 | Meta: Add license header to source files | Andreas Kling | |
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header. | |||
2019-09-30 | ByteBuffer: Remove pointer() in favor of data() | Andreas Kling | |
We had two ways to get the data inside a ByteBuffer. That was silly. | |||
2019-09-11 | AK: Add LogStream operator<< for ByteBuffer | Andreas Kling | |
2019-07-27 | ByteBuffer: Add slice_view(). Works like slice() but makes a wrapper only. | Andreas Kling | |
So we already have ByteBuffer::wrap() which is like a StringView for random data. This might not be the best abstraction actually, but this will be immediately useful so let's add it. | |||
2019-07-11 | AK: Remove use of copy_ref(). | Andreas Kling | |
2019-07-04 | AK: Move some of LogStream out of line & add overloads for smart pointers. | Andreas Kling | |
2019-07-03 | AK: Rename the common integer typedefs to make it obvious what they are. | Andreas Kling | |
These types can be picked up by including <AK/Types.h>: * u8, u16, u32, u64 (unsigned) * i8, i16, i32, i64 (signed) | |||
2019-06-21 | AK: Rename Retainable.h => RefCounted.h. | Andreas Kling | |
2019-06-21 | AK: Rename RetainPtr.h => RefPtr.h, Retained.h => NonnullRefPtr.h. | Andreas Kling | |
2019-06-21 | AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr. | Andreas Kling | |
2019-06-21 | AK: Rename Retainable => RefCounted. | Andreas Kling | |
(And various related renames that go along with it.) | |||
2019-06-14 | AK: Massage it into building on my host system without breaking Serenity. | Andreas Kling | |
2019-06-07 | Meta: Tweak .clang-format to not wrap braces after enums. | Andreas Kling | |
2019-06-07 | AK: Run clang-format on everything. | Andreas Kling | |
2019-05-28 | Add clang-format file | Robin Burchell | |
Also run it across the whole tree to get everything using the One True Style. We don't yet run this in an automated fashion as it's a little slow, but there is a snippet to do so in makeall.sh. | |||
2019-04-25 | Kernel: 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-23 | Do a pass of compiler warning fixes. | Andreas Kling | |
This is really making me question not using 64-bit integers more. | |||
2019-04-20 | AK: Add String::copy(BufferType) helper. | Andreas Kling | |
This will create a String from any BufferType that has data() and size(). | |||
2019-03-18 | GIODevice: 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-17 | AK: 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-16 | AK: 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-12 | Kernel: More work on the ICMP and IPv4 support. | Andreas Kling | |
2019-02-25 | More moving towards using signed types. | Andreas Kling | |
I'm still feeling this out, but I am starting to like the general idea. | |||
2019-01-31 | Big, possibly complete sweep of naming changes. | Andreas Kling | |
2019-01-18 | StringBuilder: Use a ByteBuffer internally instead of a Vector<String>. | Andreas Kling | |
2018-12-21 | Yet another pass of style fixes. | Andreas Kling | |
2018-12-04 | Import a simple text editor I started working on. | Andreas Kling | |
2018-10-27 | Greatly 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-16 | Reduce dependence on STL. | Andreas Kling | |
2018-10-13 | Ext2FileSystem::readInode() should return an empty buffer for 0-length files. | Andreas Kling | |
2018-10-10 | Import all this stuff into a single repo called Serenity. | Andreas Kling | |