summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-24Kernel: Introduce the PIT classLiav A
The PIT class inherits from HardwareTimer class, and is replacing the PIT namespace.
2020-02-24Kernel: Update Network adapter classes to use the PCI::Device classLiav A
Those classes will inherit from the PCI::Device class, thus, they can still implement IRQ handling.
2020-02-24Kernel: Update PCI::Device class to use the new IRQHandler classLiav A
2020-02-24Kernel: Add HardwareTimer classLiav A
This is an abstraction layer for future hardware timers that will be implemented.
2020-02-24Kernel: Add new IRQHandler classLiav A
This class will replace the old IRQHandler class later.
2020-02-24Kernel: Add Interrupt Management and Generic Interrupt HandlerLiav A
The GenericInterruptHandler class will be used to represent an abstract interrupt handler. The InterruptManagement class will represent a centralized component to manage interrupts.
2020-02-24ACPI: Adding definitions for HPETLiav A
Also, definitions were added for MADT entries, like IOAPIC and GSI overriding information.
2020-02-24Kernel: Add the IOAPIC classLiav A
This class inherits from IRQController class, and represents the 82093AA IOAPIC chip.
2020-02-24Kernel: Add the PIC classLiav A
This class inherits from IRQController class, and represents the common Intel 8259 PIC chip.
2020-02-24Kernel: Add IRQController classLiav A
This class is an abstraction layer for different IRQ controllers that are present in a typical system.
2020-02-24Kernel: Fix a wrong debug message in ACPIStaticParserLiav A
2020-02-24Kernel: Add PCI helpers to enable and disable the interrupt lineLiav A
2020-02-24Kernel: Add MultiProcessor ParserLiav A
2020-02-24LibGUI: Implement keyboard and mouse wheel events for SpinBoxTibor Nagy
2020-02-24AK: Zero-initialize the internal storage of OptionalAndreas Kling
2020-02-24AK: Make Bitmap use size_t for its sizeAndreas Kling
Also rework its API's to return Optional<size_t> instead of int with -1 as the error value.
2020-02-24AK: Make HashTable and HashMap use size_t for size and capacityAndreas Kling
2020-02-24LibGUI: Fix silly nullptr dereference in MessageBox::show()Andreas Kling
Since we take the parent object as a raw pointer, we should handle the case where it's null.
2020-02-23SystemMenu: Migrate PowerDialog to (widget)->add like in 3d20da9ethatlittlegit
This also fixes the build.
2020-02-23Userland+Kernel: Set shutdown/reboot to only be run by the `phys` groupthatlittlegit
2020-02-23SystemMenu: Move SystemDialog into SystemMenu and remove INI configthatlittlegit
I probably would've done INI config removal in another commit, but it fit well here because I didn't want to pledge wpath for SystemMenu if I didn't need to. Frankly, that's something that I think should be done: allow ConfigFile to be used read-only.
2020-02-23SystemDialog+Base: Add icon for SystemDialogthatlittlegit
2020-02-23SystemMenu: Remove --shutdown argument when calling SystemDialogthatlittlegit
2020-02-23SystemDialog: Revamp to be more Win95-likethatlittlegit
Only thing I don't like right now is the fact that we rely on the shell.
2020-02-23LibGUI: Add helper for constructing new TabWidget tabsAndreas Kling
This patch adds the following convenience helper: auto tab_widget = GUI::TabWidget::construct(); auto my_widget = tab_widget->add_tab<GUI::Widget>("My tab", ...); The above is equivalent to: auto tab_widget = GUI::TabWidget::construct(); auto my_widget = GUI::Widget::construct(...); tab_widget->add_widget("My tab", my_widget);
2020-02-23Demos: Remove silly HelloWorld2 demoAndreas Kling
This was just a tiny test app made with the old VisualBuilder. It's not really useful for anything.
2020-02-23LibGUI: Remove parent parameter to GUI::Widget constructorAndreas Kling
2020-02-23Inspector: Use Core::Object::add()Andreas Kling
2020-02-23FontEditor: Fix focus and implement keyboard navigation in the glyph mapTibor Nagy
2020-02-23LibGfx: Fix accidentally hardcoded font height in Font::clone()Tibor Nagy
2020-02-23LibGUI: Make GUI::Frame have the 2px sunken container look by defaultAndreas Kling
The overwhelming majority of GUI::Frame users set the same appearance, so let's just make it the default.
2020-02-23Userspace: Use Core::Object::add() when building interfacesAndreas Kling
2020-02-23Kernel: Dump all kernel regions when we hit a page fault during IRQAndreas Kling
This way you can try to figure out what the faulting address is.
2020-02-23LibGUI: Reduce header dependencies of ComboBoxAndreas Kling
2020-02-23LibGUI: Use Core::Object::add() a whole bunchAndreas Kling
2020-02-23IRCClient: Modernize Core::Object usageAndreas Kling
2020-02-23Kernel: Commit the entire region up front in KBuffer::copy()Andreas Kling
Since we know exactly how much physical memory we'll need, we might as well commit it up front instead of letting page faults drive it.
2020-02-23LibGUI: Don't require passing a parent to widget constructorsAndreas Kling
This is a step towards using Core::Object::add<T> more, which takes care of parenting the newly created child automatically.
2020-02-23LibCore: Add Core::Object::add<T> helper for creating child objectsAndreas Kling
Consider the old pattern for creating a Core::Object parent and child: auto parent = Core::Object::construct(...); auto child = Core::Object::construct(..., parent); The above was an artifact of the pre-reference-counting Object era. Now that objects have less esoteric lifetime management, we can replace the old pattern with something more expressive: auto parent = Core::Object::construct(...); auto child = parent->add<Core::Object>(...); This reads a lot more naturally, and it also means we can get rid of all the parent pointer arguments to Core::Object subclass constructors.
2020-02-23LibGUI: Add some missing widget classes to Forward.hAndreas Kling
2020-02-23LibGfx: Add a way to construct an empty Font with arbitrary metricsAndreas Kling
2020-02-23Userland: Delete redundant code in truncateShannon Booth
Fixes #1262
2020-02-22Shell: Make some functions constShannon Booth
2020-02-22Shell: Add basic tilde expansionShannon Booth
This does not work with shell completion yet, but the basics of being able a cd being able to expand "~" to the current user's home directory, and "~foo" to the home directory of user "foo" is added in this commit Work towards: #115
2020-02-22LibC: Implement strchrnul()Shannon Booth
2020-02-22AK: Add StringBuilder::is_empty()Shannon Booth
2020-02-22AK: Add StringView::starts_with(char) & StringView::ends_with(char)Shannon Booth
This is simply meant to be a more efficient implementation in the case that we only need to check a single character.
2020-02-22LibGUI: Remove debug spam when resizing table columnsAndreas Kling
2020-02-22Kernel: Build without debugging symbols by defaultAndreas Kling
Compiling with -g adds roughly 30% to kernel build times. Anyone who wants this can turn it on locally instead.
2020-02-22SystemMonitor: Fix display of file system size column.Brian Gianforcaro
The Size column in the "File systems" tab of SystemMonitor had a rendering artifact where the bounding box outline would be drawn in the same location as the text. This makes the text look strange and hard to read. Pad the size with a signle space character on either side to give the text a gap on each side.