summaryrefslogtreecommitdiff
path: root/AK/WeakPtr.h
AgeCommit message (Expand)Author
2023-02-05AK: Make WeakPtr<T>::value() return NonnullRefPtr<T>Andreas Kling
2022-12-14Everywhere: Stop shoving things into ::std and mentioning them as suchAli Mohammad Pur
2022-12-11AK: Add Optional-like value()/has_value() getters to WeakPtrAli Mohammad Pur
2022-12-11AK: Allow constructing WeakPtr<T> using OptionalNoneAli Mohammad Pur
2022-12-03Everywhere: Run clang-formatLinus Groh
2022-11-26AK: Make it possible to not `using` AK classes into the global namespaceAndreas Kling
2022-11-19AK: Return non-const types from Ptr class operatorsMacDue
2022-08-20Kernel: Make self-contained locking smart pointers their own classesAndreas Kling
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-03-17Everywhere: Switch from EnableIf to requiresLenny Maiorani
2022-02-13AK+Kernel: Add an OOM-fallible try variant make_weak_ptr()Idan Horowitz
2022-02-13AK+Kernel: Rename try_make_weak_ptr to make_weak_ptr_if_nonnullIdan Horowitz
2022-01-31AK: Remove thread safety gunk from userspace WeakPtrAndreas Kling
2021-12-05AK: Mark smart pointer classes as [[nodiscard]]Sam Atkins
2021-11-17AK: Convert AK::Format formatting helpers to returning ErrorOr<void>Andreas Kling
2021-10-07AK+Kernel: Make automatically locking RefPtr & co a kernel-only thingAndreas Kling
2021-04-23AK: Rename adopt() to adopt_ref()Andreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
2021-04-11AK: Annotate WeakPtr functions as [[nodiscard]]Brian Gianforcaro
2021-04-10AK+Everywhere: Make StdLibExtras templates less wrapper-yAnotherTest
2021-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
2021-01-12AK: Simplify constructors and conversions from nullptr_tLenny Maiorani
2020-12-31AK: Fix some WeakPtr copy constructor variants not copying the linkTom
2020-12-31AK: Fix a race condition with WeakPtr<T>::strong_ref and destructionTom
2020-12-30AK+Format: Remove TypeErasedFormatParams& from format function.asynts
2020-11-10AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safeTom
2020-10-17AK: Add formatters for NonnullOwnPtr and WeakPtr.asynts
2020-09-25Meta+AK: Make clang-format-10 cleanBen Wiederhake
2020-01-25AK: Assert if trying to create a WeakPtr to an object being destroyedAndreas Kling
2020-01-18Meta: Add license header to source filesAndreas Kling
2019-11-15AK: Fix leak in WeakPtr(WeakPtr&&) and WeakPtr::operator=(WeakPtr&&)Andreas Kling
2019-07-11AK: Remove use of copy_ref().Andreas Kling
2019-07-04AK: Move some of LogStream out of line & add overloads for smart pointers.Andreas Kling
2019-06-21AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.Andreas Kling
2019-05-28Add clang-format fileRobin Burchell
2019-04-17WindowServer: Mouse switching between system menu and app menu was broken.Andreas Kling
2019-04-14AK: Add WeakPtr::operator T*() for ergonomy.Andreas Kling
2019-01-31Big, possibly complete sweep of naming changes.Andreas Kling
2019-01-13Add basic GUI API for creating labels and buttons.Andreas Kling
2019-01-09Start refactoring graphics system to have per-window backing stores.Andreas Kling
2018-12-21Yet another pass of style fixes.Andreas Kling
2018-10-13Start using WeakPtr for some of the WindowManager window pointers.Andreas Kling
2018-10-13Add WeakPtr/Weakable templates.Andreas Kling