ladybird/Libraries
Andreas Kling d9e459293b LibCore: Add Core::Object::add<T> helper for creating child objects
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-23 11:10:52 +01:00
..
LibAudio AK: Remove manual forward declarations with <AK/Forward.h> 2020-02-15 00:12:31 +01:00
LibBareMetal Kernel: Move all code into the Kernel namespace 2020-02-16 01:27:42 +01:00
LibC LibC: Implement strchrnul() 2020-02-22 21:36:54 +01:00
LibCore LibCore: Add Core::Object::add<T> helper for creating child objects 2020-02-23 11:10:52 +01:00
LibELF LibELF: Avoid unnecessarily recomputing loop boundaries over and over 2020-02-22 11:25:15 +01:00
LibGfx LibGfx: Add a way to construct an empty Font with arbitrary metrics 2020-02-23 11:10:52 +01:00
LibGUI LibGUI: Add some missing widget classes to Forward.h 2020-02-23 11:10:52 +01:00
LibHTML WindowServer+LibGUI+LibHTML: Fix build with -std=c++2a 2020-02-19 12:03:01 +01:00
LibIPC LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
LibM LibM: Install immediately after building 2020-02-06 14:28:35 +01:00
LibMarkdown AK: Add a forward declaration header 2020-02-14 23:31:18 +01:00
LibPCIDB Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
LibProtocol AK: Add basic Traits for RefPtr 2020-02-16 21:58:17 +01:00
LibPthread LibPthread: Install immediately after building 2020-02-06 14:29:07 +01:00
LibThread LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
LibVT LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Makefile Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00