ladybird/AK
Andreas Kling 06f82901b7 AK: Explicitly delete NonnullRefPtr::operator=(RefPtr).
This gives us much better error messages when you try to use them.
Without this change, it would complain about the absence of functions
named ref() and deref() on RefPtr itself. With it, we instead get a
"hey, this function is deleted" error.

Change operator=(T&) to operator=T(const T&) also, to keep assigning
a const T& to a NonnullRefPtr working.
2019-08-02 11:51:28 +02:00
..
ELF ELFImage: Sprinkle some constification love 2019-07-18 13:22:51 +02:00
Tests AK: Fix ref leak in NonnullRefPtr::operator=(T&). 2019-08-02 11:35:05 +02:00
AKString.h AK: Support case-insensitive HashMap<String, T>. 2019-07-13 11:00:29 +02:00
Assertions.h TestSuite: Hijack the ASSERT macros during unit tests. 2019-08-02 09:23:03 +02:00
Badge.h AK: Delete the Badge copy and move constructors. 2019-06-11 23:47:51 -07:00
Bitmap.h AK: Make Bitmap movable but not copyable. 2019-08-01 11:34:36 +02:00
BufferStream.h BufferStream: Add a function to fully reset state 2019-07-16 09:36:38 +02:00
ByteBuffer.h ByteBuffer: Add slice_view(). Works like slice() but makes a wrapper only. 2019-07-27 15:26:51 +02:00
CircularQueue.h Add clang-format file 2019-05-28 17:31:20 +02:00
DoublyLinkedList.h AK: Defer to Traits<T> for equality comparison in container templates. 2019-06-29 19:14:03 +02:00
Error.h Add Error<> 2019-07-31 09:06:39 +02:00
FileSystemPath.cpp TextEditor: Include extension during SaveAs 2019-07-29 20:46:31 +02:00
FileSystemPath.h TextEditor: Include extension during SaveAs 2019-07-29 20:46:31 +02:00
Function.h Add clang-format file 2019-05-28 17:31:20 +02:00
HashFunctions.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
HashMap.h AK: Make HashMap::get(Key) return an Optional<Value>. 2019-07-24 10:25:43 +02:00
HashTable.h HashTable: Assert on iteration attempt over table during clear/rehash 2019-07-31 10:23:24 +02:00
InlineLinkedList.h Add clang-format file 2019-05-28 17:31:20 +02:00
InlineLRUCache.h AK: InlineLRUCache was always filling up one short of capacity. 2019-05-14 15:33:21 +02:00
install.sh Build: Install most headers to Root (and libcore.a/libgui.a) 2019-05-17 21:59:48 +02:00
IntrusiveList.h AK: Introduce IntrusiveList 2019-07-19 15:42:30 +02:00
IPv4Address.h AK: Add LogStream operator<< for IPv4Address. 2019-07-08 11:43:42 +02:00
IterationDecision.h AK: Add IterationDecision.h. 2019-06-07 17:14:16 +02:00
JsonArray.cpp AK: Rename JsonObject::to_string() and pals to serialized(). 2019-06-18 09:37:47 +02:00
JsonArray.h JsonArray: Add for_each() helper. 2019-06-24 12:02:31 +02:00
JsonObject.cpp AK: Rename JsonObject::to_string() and pals to serialized(). 2019-06-18 09:37:47 +02:00
JsonObject.h AK: Add JsonObject::set(key, &&value) overload. 2019-07-08 13:08:21 +02:00
JsonParser.cpp JsonParser: Merge the parsing of '\n' and '\r' in quoted strings 2019-08-01 10:45:37 +02:00
JsonParser.h AK: Let's put the JSON parsing in a separate class. 2019-06-24 13:39:45 +02:00
JsonValue.cpp AK: Make it easy to convert between JsonValue and IPv4Address. 2019-07-08 13:03:55 +02:00
JsonValue.h JsonValue: Add to_uint(), to_int() and as_double(). 2019-07-18 08:18:39 +02:00
kmalloc.h Add clang-format file 2019-05-28 17:31:20 +02:00
kstdio.h Kernel+LibC: Add a dbgputstr() syscall for sending strings to debug output. 2019-07-21 21:43:37 +02:00
LogStream.cpp LogStream: Add a simple-ish mechanism for colorizing and styling output. 2019-07-15 20:22:30 +02:00
LogStream.h AK: Rename ValueRestorer => ScopedValueRollback. 2019-07-25 15:15:46 +02:00
MappedFile.cpp Kernel: Have the open() syscall take an explicit path length parameter. 2019-07-08 20:01:49 +02:00
MappedFile.h AK: Make MappedFile non-copyable. 2019-07-11 15:14:30 +02:00
NetworkOrdered.h AK: Use __builtin_bswap() in NetworkOrdered. 2019-06-26 20:01:48 +02:00
Noncopyable.h Add clang-format file 2019-05-28 17:31:20 +02:00
NonnullOwnPtr.h AK: Simplify NonnullPtrVector template a bit. 2019-07-25 11:10:28 +02:00
NonnullOwnPtrVector.h AK: Simplify NonnullPtrVector template a bit. 2019-07-25 11:10:28 +02:00
NonnullPtrVector.h AK: Simplify NonnullPtrVector template a bit. 2019-07-25 11:10:28 +02:00
NonnullRefPtr.h AK: Explicitly delete NonnullRefPtr::operator=(RefPtr). 2019-08-02 11:51:28 +02:00
NonnullRefPtrVector.h AK: Simplify NonnullPtrVector template a bit. 2019-07-25 11:10:28 +02:00
Optional.h Optional: Add consumable checks 2019-07-31 09:06:39 +02:00
OwnPtr.h AK: Add assertions when dereferencing an OwnPtr. 2019-08-02 10:34:40 +02:00
Platform.h AK: Shim open_with_path_length() for non-Serenity builds. 2019-07-25 14:25:45 +02:00
PrintfImplementation.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
Queue.h AK: Add Queue::clear() to clear out a Queue. 2019-07-28 21:34:47 +02:00
QuickSort.h LibGUI: Run clang-format on everything. 2019-06-07 11:46:02 +02:00
RefCounted.h AK: Rename Retainable.h => RefCounted.h. 2019-06-21 18:58:45 +02:00
RefPtr.h AK: RefPtr::operator=(RefPtr<U>&&) needs to cast the incoming pointer. 2019-07-21 11:37:24 +02:00
Result.h Add Result<>, to use with/complement Error 2019-07-31 09:06:39 +02:00
ScopedValueRollback.h AK: Add ScopedValueRollback::set_override_rollback_value(). 2019-07-25 15:21:16 +02:00
ScopeGuard.h AK: ScopeGuard.h needs StdLibExtras.h 2019-06-18 09:31:14 +02:00
SinglyLinkedList.h AK: Add some missing includes in SinglyLinkedList. 2019-07-08 14:06:22 +02:00
StdLibExtras.h Kernel+AK: Remove AK/StdLibExtras.cpp, moving kernel stuff to Kernel/. 2019-07-29 11:58:44 +02:00
String.cpp StringView: Rename characters() to characters_without_null_termination(). 2019-07-08 15:38:44 +02:00
StringBuilder.cpp StringBuilder: Reset the internal builder length after building. 2019-07-08 15:57:25 +02:00
StringBuilder.h AK: Massage it into building on my host system without breaking Serenity. 2019-06-14 06:43:56 +02:00
StringImpl.cpp StringImpl: Fix possible uninitialized access in StringImpl::create(). 2019-06-24 14:38:44 +02:00
StringImpl.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
StringView.cpp StringView: Rename characters() to characters_without_null_termination(). 2019-07-08 15:38:44 +02:00
StringView.h StringView: Rename characters() to characters_without_null_termination(). 2019-07-08 15:38:44 +02:00
TemporaryChange.h Add clang-format file 2019-05-28 17:31:20 +02:00
TestSuite.h TestSuite: Hijack the ASSERT macros during unit tests. 2019-08-02 09:23:03 +02:00
Time.h AK: Make timeval_add() and timeval_sub() take references. 2019-06-06 18:02:28 +02:00
Traits.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
Types.h AK: Move clang-specific consumable annotation helpers to Platform.h 2019-07-24 08:16:59 +02:00
Vector.h AK: Add Vector::empend(). 2019-08-01 15:35:45 +02:00
Weakable.h AK: Rename Retainable.h => RefCounted.h. 2019-06-21 18:58:45 +02:00
WeakPtr.h AK: Remove use of copy_ref(). 2019-07-11 15:45:11 +02:00