Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-27 | AK: Add ensure_capacity() for HashMap and HashTable. | Andreas Kling | |
These functions make sure that the underlying table can accomodate at least 'capacity' entries before needing a rehash. | |||
2019-05-27 | FileSystemPath: Add a has_extension() helper. | Andreas Kling | |
This code: if (path.string().to_lowercase().ends_with(".foo")) Can now be written as: if (path.has_extension(".foo")) | |||
2019-05-26 | AK: Implement String::to_int (#99) | Faissal Bensefia | |
2019-05-26 | QuickSort: Don't sort a single item, nothing to do | Robin Burchell | |
2019-05-24 | WindowServer: Factor out compositing from WSWindowManager into WSCompositor. | Andreas Kling | |
This is far from finished and the two classes are awkwardly grabbing at each other's innards, but here's a first step in the right direction. | |||
2019-05-23 | Kernel/AK: Move ELF loader to AK | Robin Burchell | |
This is in preparation for eventually using it in userspace. LinearAddress.h has not been moved for the time being (as it seems to be only used by a very small part of the code). | |||
2019-05-21 | AK: Always inline convert_between_host_and_network<T>. | Andreas Kling | |
2019-05-21 | AK: Add some more features to Vector iterators. | Andreas Kling | |
2019-05-19 | AK: Simplify quick_sort() and improve Vector iterators a bit. | Andreas Kling | |
2019-05-18 | Kernel: Fix timeout support in select | Robin Burchell | |
The scheduler expects m_select_timeout to act as a deadline. That is, it should contain the time that a task should wake at -- but we were directly copying the time from userspace, which meant that it always returned virtually immediately. At the same time, fix CEventLoop to not rely on the broken select behavior by subtracting the current time from the time of the nearest timer. | |||
2019-05-17 | Build: Install most headers to Root (and libcore.a/libgui.a) | Robin Burchell | |
This makes out-of-tree linking possible. And at the same time, add a CMakeToolchain.txt file that can be used to build arbitrary cmake-using applications on Serenity by pointing to the CMAKE_TOOLCHAIN_FILE when running cmake: -DCMAKE_TOOLCHAIN_FILE=~/code/serenity/Toolchain/CMakeToolchain.txt | |||
2019-05-17 | LibCore: Move AK/ArgsParser to LibCore/CArgsParser | Robin Burchell | |
Also rename the classes to match LibCore naming style. This means that it's no longer incorrectly linked into LibC and Kernel. | |||
2019-05-17 | ArgsParser: Expand to be able to handle multiple single arguments | Robin Burchell | |
This is needed for e.g. ln | |||
2019-05-17 | AK/Userland: Add single value to ArgsParser usage, and port tail to use ↵ | Robin Burchell | |
ArgsParser | |||
2019-05-17 | ArgsParser: Remove prefix from constructor | Robin Burchell | |
It makes sense to keep this consistent between applications, and the purpose of the string is not immediately obvious from an API perspective. If we need to make it configurable later, that can come from a setter. | |||
2019-05-17 | ArgsParser: Remove boolean trap on add_arg | Robin Burchell | |
Rather than requiring a boolean for whether or not the argument is required, add some new methods to make the purpose of the bool explicit. | |||
2019-05-17 | ArgsParser: Style fixup | Robin Burchell | |
Remove tabs, make whitespace lines a little more in fitting with the rest of the codebase. | |||
2019-05-17 | Vector: Add insert() overload that takes a const T&. | Andreas Kling | |
2019-05-14 | Kernel: Encapsulate the Region's COW map a bit better. | Andreas Kling | |
2019-05-14 | AK: InlineLRUCache was always filling up one short of capacity. | Andreas Kling | |
2019-05-13 | Feature/pidof (#31) | GuillaumeGas | |
* Added killall command * Fixed feedbacks of awesomekling * Implemented pidof program and helper to parse arguments called ArgsParser. * Fixed feedbacks in pidof implem. Fixes #26 | |||
2019-05-07 | AK: Add InlineLinkedList::remove_tail(). | Andreas Kling | |
2019-05-06 | Make sure all GraphicsBitmap scanlines are 16-byte aligned. | Andreas Kling | |
This is a prerequisite for some optimizations. | |||
2019-05-06 | AK: Change HashTable and HashMap size/capacity to be ints. | Andreas Kling | |
2019-04-25 | GTextEditor: Add very basic automatic indentation. | Andreas Kling | |
This is off by default, but enabled by TextEditor. It simply inserts the same number of leading spaces as the previous line when hitting Enter. :^) | |||
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-22 | Kernel: Make sure we don't use any FPU/MMX/SSE instructions. | Andreas Kling | |
2019-04-22 | Kernel: Don't use MMX memcpy() in the kernel. | Andreas Kling | |
I just discovered the hard way that clobbering FPU/MMX/SSE registers in the kernel makes things very confusing for userspace (and other kernel threads.) Let's banish all of those things from the kernel to keep things simple. | |||
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-04-20 | AK: Give Vector the ability to have an inline capacity. | Andreas Kling | |
This makes Vector malloc-free as long as you stay within the templated inline capacity. :^) | |||
2019-04-20 | LibC: Get rid of the now-unneeded AK/kmalloc.cpp | Andreas Kling | |
2019-04-20 | Get rid of SERENITY macro since the compiler already defines __serenity__ | Andreas Kling | |
This makes it a bit easier to use AK templates out-of-tree. | |||
2019-04-20 | Snake: Clear the movement queue on game reset. | Andreas Kling | |
2019-04-20 | Snake: Use a queue for the movement inputs. | Andreas Kling | |
This makes it a lot less finicky to make rapid moves like staircasing and sudden turns. | |||
2019-04-19 | AK: And one more RetainPtr::operator==() G++ complains about in LibGUI. | Andreas Kling | |
2019-04-19 | AK: Add RetainPtr::operator==() overload G++ is whining about. | Andreas Kling | |
2019-04-19 | VisualBuilder: Hook up everything needed for widget property editing. | Andreas Kling | |
It's now possible to edit widget properties inline in the properties window. We're currently relying on the basic GVariant conversion functions to do all the "parsing" but that's not gonna be good enough. | |||
2019-04-18 | AK: MappedFile should open with O_CLOEXEC. | Andreas Kling | |
2019-04-17 | WindowServer: Mouse switching between system menu and app menu was broken. | Andreas Kling | |
2019-04-16 | AK: Add Vector::prepend(). | Andreas Kling | |
2019-04-16 | AK: Try to use StringViews more for substrings and splitting. | Andreas Kling | |
2019-04-15 | AK: Make StringBuilder::appendf() pre-allocate the format string length. | Andreas Kling | |
2019-04-15 | AK: Add a StringView class. | Andreas Kling | |
2019-04-15 | LibCore: Add a CConfigFile class, a simple INI file parser. | Andreas Kling | |
You open the configuration for an app like so: auto config = CConfigFile::get_for_app("MyApp"); This will then open ~/MyApp.ini and parse it for you. Immediately start using it in Minesweeper to load the field size and mine count from a config file. | |||
2019-04-14 | WindowServer: Move the CPU monitor thingy to its own class. | Andreas Kling | |
2019-04-14 | AK: Improve smart pointer ergonomics a bit. | Andreas Kling | |
2019-04-14 | AK: Add WeakPtr::operator T*() for ergonomy. | Andreas Kling | |
2019-04-12 | AK: Fix build. | Andreas Kling | |
2019-04-12 | GVariant: Don't crash when extracting a null String. | Andreas Kling | |