ladybird/Libraries/LibCore
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
..
ArgsParser.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ArgsParser.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ConfigFile.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ConfigFile.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
DateTime.cpp LibCore: Move LogStream::operator<< overloads into cpp files 2020-02-15 00:58:52 +01:00
DateTime.h LibCore: Move LogStream::operator<< overloads into cpp files 2020-02-15 00:58:52 +01:00
DirIterator.cpp LibCore: Add DirIterator::next_full_path() 2020-02-16 02:19:22 +01:00
DirIterator.h LibCore: Add DirIterator::next_full_path() 2020-02-16 02:19:22 +01:00
ElapsedTimer.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ElapsedTimer.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Event.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Event.h LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
EventLoop.cpp AK: Use size_t for ByteBuffer sizes 2020-02-20 13:20:34 +01:00
EventLoop.h LibCore: Reduce header dependencies of EventLoop 2020-02-15 02:09:00 +01:00
File.cpp LibCore: Add "static bool Core::File::exists(filename)" 2020-02-12 21:17:00 +01:00
File.h LibCore: Add "static bool Core::File::exists(filename)" 2020-02-12 21:17:00 +01:00
Forward.h LibGfx: Replace manual forward declarations with <LibGfx/Forward.h> 2020-02-15 00:10:34 +01:00
Gzip.cpp AK: Use size_t for ByteBuffer sizes 2020-02-20 13:20:34 +01:00
Gzip.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
HttpJob.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
HttpJob.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
HttpRequest.cpp AK: Use size_t for ByteBuffer sizes 2020-02-20 13:20:34 +01:00
HttpRequest.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
HttpResponse.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
HttpResponse.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
IODevice.cpp LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
IODevice.h LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
IODeviceStreamReader.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
LocalServer.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
LocalServer.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
LocalSocket.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
LocalSocket.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
Makefile LibCore: Move LogStream::operator<< overloads into cpp files 2020-02-15 00:58:52 +01:00
MimeData.cpp LibCore: Add Core::MimeData class 2020-02-14 13:17:26 +01:00
MimeData.h LibCore: Add Core::MimeData class 2020-02-14 13:17:26 +01:00
NetworkJob.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
NetworkJob.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
NetworkResponse.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
NetworkResponse.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Notifier.cpp LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
Notifier.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Object.cpp LibCore: Move LogStream::operator<< overloads into cpp files 2020-02-15 00:58:52 +01:00
Object.h LibCore: Add Core::Object::add<T> helper for creating child objects 2020-02-23 11:10:52 +01:00
ProcessStatisticsReader.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ProcessStatisticsReader.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
puff.c LibCore: Move puff() from LibDraw to LibCore 2019-11-23 23:43:37 +01:00
puff.h Meta: Remove some copyright headers added in error 2020-01-25 10:34:32 +01:00
Socket.cpp LibCore: Log a more helpful message when Socket::connect() fails 2020-02-22 16:41:31 +01:00
Socket.h LibCore: Fix wrong return value in Core::Socket::destination_address() 2020-02-22 16:38:10 +01:00
SocketAddress.cpp LibCore: Move LogStream::operator<< overloads into cpp files 2020-02-15 00:58:52 +01:00
SocketAddress.h LibCore: Move LogStream::operator<< overloads into cpp files 2020-02-15 00:58:52 +01:00
SyscallUtils.h LibCore: Merge the CSyscallUtils namespace into Core 2020-02-06 15:04:57 +01:00
TCPServer.cpp LibCore: TCP and UDP servers should parent Notifiers to themselves 2020-02-10 14:15:56 +01:00
TCPServer.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
TCPSocket.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
TCPSocket.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
Timer.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Timer.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
UdpServer.cpp LibCore: TCP and UDP servers should parent Notifiers to themselves 2020-02-10 14:15:56 +01:00
UdpServer.h LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
UdpSocket.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
UdpSocket.h LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
UserInfo.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
UserInfo.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00