Andreas Kling
b91c49364d
AK: Rename adopt() to adopt_ref()
...
This makes it more symmetrical with adopt_own() (which is used to
create a NonnullOwnPtr from the result of a naked new.)
2021-04-23 16:46:57 +02:00
Brian Gianforcaro
dc0fc16981
Everywhere: Use bgianf@serenityos.org for my copyright attribution
2021-04-22 21:15:54 +02:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Ali Mohammad Pur
ba261aba72
AK: Reenable the IntrusiveList<...NonnullRefPtr, ...> tests
2021-04-22 00:20:51 +02:00
Brian Gianforcaro
f1d832e5ea
AK: Add unit tests to verify AK::InstrusiveList<T> holding RefPtr<T>
...
Validate that the refcounting works as expected, and continues to work.
2021-04-21 19:31:49 +02:00
Brian Gianforcaro
0e63a7255e
AK: Add some initial unit tests for AK::IntrusiveList
2021-04-21 19:31:49 +02:00