ladybird/Libraries/LibCore
Andreas Kling c34fd10b5b LibCore: Introduce ObjectPtr, a step towards reference-counted CObject
Long-term we should use reference counting for the CObject hierarchy.
Since we've already accumulated a fair amount of code, this is quite a
large task, so I'm breaking it into some steps.

So, ObjectPtr is a "smart" pointer for CObject-derived types.
It becomes null when moved from, and will destroy unparented CObjects
in its destructor.

The idea here is to convert the codebase over to ObjectPtr piece by
piece, and then when everything is moved and CObject itself refactored
for ref-counting, we can just replace ObjectPtr with RefPtr everywhere.
2019-09-20 15:19:11 +02: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 Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +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 Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
CEvent.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
CEventLoop.cpp Inspector+LibCore+rpcdump: Rework the RPC stuff to be request/response 2019-09-11 21:19:23 +02:00
CEventLoop.h LibThread: Move CLock to LibThread::Lock 2019-08-26 11:31:14 +02:00
CFile.cpp LibCore: Make it possible to pass a parent to CFile constructors 2019-08-18 12:55:56 +02:00
CFile.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
CHttpJob.cpp LibCore: Use URL in CHttpRequest 2019-08-10 19:32:03 +02:00
CHttpJob.h CHttpJob: Drive response download via on_ready_read instead of blocking 2019-08-04 18:59:06 +02:00
CHttpRequest.cpp LibCore: Use URL in CHttpRequest 2019-08-10 19:32:03 +02:00
CHttpRequest.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36: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 CIODevice: read(u8*, int) overload should return 0 on EOF 2019-09-11 21:13:14 +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: Childify children of CLocalServer and IPC::Connection 2019-08-18 12:15:06 +02:00
CLocalServer.h LibCore: Add CLocalServer, a server-only local socket class. 2019-07-27 10:32:40 +02:00
CLocalSocket.cpp LibCore: CIODevice::set_error() is meant to be called with the 'errno' 2019-08-17 11:07:15 +02:00
CLocalSocket.h LibCore: Remove CSocket's bind() and listen(). 2019-07-27 10:58:21 +02:00
CNetworkJob.cpp LibCore: Move CHttpJob and CNetworkJob output to the right places 2019-08-04 22:10:54 +02:00
CNetworkJob.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +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: Make CSocket's notifiers into children of the CSocket 2019-08-18 11:54:39 +02:00
CObject.cpp LibCore: Move CObject serialization into CObject::save_to(JsonObject&) 2019-08-19 16:34:53 +02:00
CObject.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
CoreIPCClient.h LibCore: Childify children of CLocalServer and IPC::Connection 2019-08-18 12:15:06 +02:00
CoreIPCServer.h AudioServer: Port to the new generated IPC mechanism 2019-08-03 19:49:19 +02:00
CProcessStatisticsReader.cpp Kernel+ProcessManager: Let processes have an icon and show it in the table. 2019-07-29 07:26:01 +02:00
CProcessStatisticsReader.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
CSocket.cpp CSocket: Share code between connect() overloads 2019-09-11 19:44:15 +02:00
CSocket.h CSocket: Share code between connect() overloads 2019-09-11 19:44:15 +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: Add CTCPServer 2019-08-05 12:53:07 +02:00
CTCPServer.h LibCore: Add CTCPServer 2019-08-05 12:53:07 +02:00
CTCPSocket.cpp LibCore: CIODevice::set_error() is meant to be called with the 'errno' 2019-08-17 11:07:15 +02:00
CTCPSocket.h LibCore: Add CTCPServer 2019-08-05 12:53:07 +02:00
CTimer.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
CTimer.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +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 Libraries: Fix wrong paths to "Root" in the various install.sh scripts. 2019-07-21 21:38:30 +02:00
Makefile LibCore: Remove CThread 2019-08-26 11:31:14 +02:00
ObjectPtr.h LibCore: Introduce ObjectPtr, a step towards reference-counted CObject 2019-09-20 15:19:11 +02:00