ladybird/Libraries/LibCore
Andreas Kling d3558b6137 LibCore+LibGUI: Allow inserting a CObject/GWidget before another
When adding a widget to a parent, you don't always want to append it to
the set of existing children, but instead insert it before one of them.

This patch makes that possible by adding CObject::insert_child_before()
which also produces a ChildAdded event with an additional before_child
pointer. This pointer is then used by GWidget to make sure that any
layout present maintains the correct order. (Without doing that, newly
added children would still be appended into the layout order, despite
having a different widget sibling order.)
2019-11-05 20:41:27 +01:00
..
CArgsParser.cpp LibCore: Fix a crash in CArgsParser 2019-08-17 12:07:55 +02:00
CArgsParser.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
CConfigFile.cpp ByteBuffer: Remove pointer() in favor of data() 2019-09-30 08:57:01 +02:00
CConfigFile.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
CDirIterator.cpp CDirIterator: Fix another instance of StringView::characters() misuse. 2019-07-08 14:03:19 +02:00
CDirIterator.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
CElapsedTimer.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
CElapsedTimer.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
CEvent.cpp LibCore+LibGUI: Allow inserting a CObject/GWidget before another 2019-11-05 20:41:27 +01:00
CEvent.h LibCore+LibGUI: Allow inserting a CObject/GWidget before another 2019-11-05 20:41:27 +01:00
CEventLoop.cpp LibCore: Added unquit() method to CEventLoop. 2019-10-25 15:29:19 +02:00
CEventLoop.h LibCore: Added unquit() method to CEventLoop. 2019-10-25 15:29:19 +02:00
CFile.cpp LibCore: Make CFile::open() assert that the filename is non-null 2019-10-21 18:45:27 +02:00
CFile.h LibCore: Convert CFile to ObjectPtr 2019-09-21 20:50:06 +02:00
CHttpJob.cpp LibCore: Put HTTP debug spam behind FOO_DEBUG macros 2019-10-15 19:51:02 +02:00
CHttpJob.h LibCore: Remove ObjectPtr in favor of RefPtr 2019-09-22 00:31:54 +02:00
CHttpRequest.cpp LibCore: Remove ObjectPtr in favor of RefPtr 2019-09-22 00:31:54 +02:00
CHttpRequest.h LibCore: Remove ObjectPtr in favor of RefPtr 2019-09-22 00:31:54 +02:00
CHttpResponse.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
CHttpResponse.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
CIODevice.cpp ByteBuffer: Remove pointer() in favor of data() 2019-09-30 08:57:01 +02:00
CIODevice.h CIODevice: Add is_open() 2019-09-04 15:13:55 +02:00
CIODeviceStreamReader.h LibCore: Rename CFileStreamReader => CIODeviceStreamReader. 2019-07-30 15:16:39 +02:00
CLocalServer.cpp LibCore: Remove ObjectPtr in favor of RefPtr 2019-09-22 00:31:54 +02:00
CLocalServer.h LibCore: Remove ObjectPtr in favor of RefPtr 2019-09-22 00:31:54 +02:00
CLocalSocket.cpp CSocket: Don't create the read notifier until after we've connected 2019-09-22 21:46:46 +02:00
CLocalSocket.h LibCore: Convert CLocalSocket to ObjectPtr 2019-09-21 15:25:08 +02:00
CNetworkJob.cpp LibCore: Put HTTP debug spam behind FOO_DEBUG macros 2019-10-15 19:51:02 +02:00
CNetworkJob.h LibCore: Make it possible to cancel pending CNetworkJobs 2019-09-21 17:32:26 +02:00
CNetworkResponse.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
CNetworkResponse.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
CNotifier.cpp LibCore: Make CSocket's notifiers into children of the CSocket 2019-08-18 11:54:39 +02:00
CNotifier.h LibCore: Remove ObjectPtr in favor of RefPtr 2019-09-22 00:31:54 +02:00
CObject.cpp LibCore+LibGUI: Allow inserting a CObject/GWidget before another 2019-11-05 20:41:27 +01:00
CObject.h LibCore+LibGUI: Allow inserting a CObject/GWidget before another 2019-11-05 20:41:27 +01:00
CoreIPCClient.h LibCore: Only wait 10ms between IPC connection retries instead of 1 sec 2019-10-31 16:28:30 +01:00
CoreIPCServer.h LibCore: Flush outgoing IPC messages before trying to send a new one 2019-11-04 10:52:01 +01:00
CProcessStatisticsReader.cpp Kernel+SystemMonitor: Add fault counters 2019-10-02 14:13:49 +02:00
CProcessStatisticsReader.h Kernel+SystemMonitor: Add fault counters 2019-10-02 14:13:49 +02:00
CSocket.cpp ByteBuffer: Remove pointer() in favor of data() 2019-09-30 08:57:01 +02:00
CSocket.h CSocket: Don't create the read notifier until after we've connected 2019-09-22 21:46:46 +02:00
CSocketAddress.h LibCore: Initialise m_port as zero in CSocketAddress 2019-08-06 15:06:20 +02:00
CSyscallUtils.h Userspace: Deal with select() returning EINTR on a signal interruption 2019-07-21 14:27:14 +02:00
CTCPServer.cpp LibCore: Make CTCPServer's local address/port getters return Optionals 2019-11-04 13:07:41 +01:00
CTCPServer.h LibCore: Make CTCPServer's local address/port getters return Optionals 2019-11-04 13:07:41 +01:00
CTCPSocket.cpp CSocket: Don't create the read notifier until after we've connected 2019-09-22 21:46:46 +02:00
CTCPSocket.h LibCore: Convert CTCPSocket to ObjectPtr, add construct() helper 2019-09-21 15:25:08 +02:00
CTimer.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
CTimer.h LibCore: Remove ObjectPtr in favor of RefPtr 2019-09-22 00:31:54 +02:00
CUserInfo.cpp LibCore: Make get_current_user_home_path() return String & close passwd 2019-08-03 08:32:07 +02:00
CUserInfo.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
install.sh POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
Makefile LibCore: Remove CThread 2019-08-26 11:31:14 +02:00