..
.clang-tidy
Meta: Add basic clang-tidy configuration
2021-11-14 22:52:35 +01:00
AllOf.h
AK: Reimplement all_of in terms of find_if
2021-07-24 13:11:13 +04:30
AnyOf.h
AK: Implement any_of using common implementation
2021-08-06 23:57:48 +02:00
Array.h
AK: Simplify Array::back()
by checking for Size > 0
2021-12-11 23:15:24 +01:00
Assertions.h
AK: Suppress false-positive clang-tidy warning in Assertions.h
2021-11-14 22:52:35 +01:00
Atomic.h
AK: Resolve clang-tidy warnings about unusual assignment operators
2021-11-14 22:52:35 +01:00
Badge.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
Base64.cpp
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Base64.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
BinaryBufferWriter.h
AK: Add helper type for serializing structures into buffer
2021-07-18 19:58:17 +04:30
BinaryHeap.h
AK: Add missing headers
2021-10-06 23:52:40 +01:00
BinarySearch.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
BitCast.h
AK: Use __builtin_bit_cast
if available
2021-08-21 13:48:59 +04:30
Bitmap.h
AK: Remove unused static member of Bitmap
2021-11-28 13:16:41 -08:00
BitmapView.h
AK+Everywhere: Replace __builtin bit functions
2021-12-21 22:13:51 +01:00
BitStream.h
AK: Add big endian bit reading to InputBitStream
2021-06-25 20:48:14 +04:30
Buffered.h
AK: Bypass Buffered's buffer for large reads
2021-12-17 13:13:00 -08:00
BuiltinWrappers.h
AK+Everywhere: Replace __builtin bit functions
2021-12-21 22:13:51 +01:00
BumpAllocator.h
AK: Make BumpAllocator work in multi-threaded environments
2021-10-31 18:43:03 +01:00
ByteBuffer.h
AK: Add ByteBuffer::{must_,}get_bytes_for_writing()
2022-01-13 15:16:12 +03:30
ByteReader.h
AK: Generalize ByteReader
2021-07-14 11:26:34 +04:30
CharacterTypes.h
AK: Add the to_ascii_base36_digit helper method
2021-06-29 16:55:54 +01:00
Checked.h
AK: Resolve clang-tidy warnings about unusual assignment operators
2021-11-14 22:52:35 +01:00
CheckedFormatString.h
AK: Add missing Array.h include to CheckedFormatString.h
2021-12-24 14:35:33 -08:00
CircularDeque.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
CircularDuplexStream.h
Everywhere: Fix many spelling errors
2022-01-07 10:56:59 +01:00
CircularQueue.h
AK: Resolve clang-tidy readability-bool-conversion warnings
2021-11-14 22:52:35 +01:00
CMakeLists.txt
Meta: Add support for declaring components
2021-06-17 11:03:51 +02:00
Complex.h
Everywhere: Use AK/Math.h if applicable
2021-07-19 16:34:21 +04:30
Concepts.h
AK: Add the concept of hash-compatible types
2021-12-15 13:09:49 +03:30
DateTimeLexer.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Debug.h.in
LibGUI+AK: Add DRAG_DEBUG opt and put drag operations behind dbgln_if
2022-01-10 14:23:04 +01:00
Demangle.h
AK: Don't include AK::demangle() in KERNEL builds
2021-12-26 21:22:59 +01:00
DisjointChunks.h
AK: Make Disjoint*::is_empty()
not call size
2021-12-24 05:55:34 -08:00
DistinctNumeric.h
Everywhere: Fix many spelling errors
2022-01-07 10:56:59 +01:00
DoublyLinkedList.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
Endian.h
AK: Add formatters for BigEndian and LittleEndian
2021-08-02 00:25:11 +02:00
EnumBits.h
AK+Kernel: Implement and use EnumBits has_any_flag()
2021-07-16 11:49:50 +02:00
Error.h
AK+LibMain: Improve formatter for AK::Error in userspace
2021-12-20 21:13:42 +01:00
ExtraMathConstants.h
Userland: Move non-standard math constants from math.h
2021-04-27 23:06:16 +02:00
FileStream.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
Find.h
AK: Rewrite {AnyOf,AllOf,Find}.h to use the IteratorPairWith concept
2021-07-22 22:56:20 +02:00
FixedArray.h
AK: Explain why FixedArray has no move assignment
2022-01-13 11:17:44 +01:00
FixedPoint.h
AK: Convert AK::Format formatting helpers to returning ErrorOr<void>
2021-11-17 00:21:13 +01:00
FlyString.cpp
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
FlyString.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Format.cpp
Kernel: Wrap format timespec assignment in a check for !AARCH64
2021-11-21 09:12:16 +01:00
Format.h
AK+LibMain: Improve formatter for AK::Error in userspace
2021-12-20 21:13:42 +01:00
Forward.h
AK: Forward declare Error and ErrorOr in AK/Forward.h
2021-11-17 00:21:12 +01:00
Function.h
AK: Suppress false positive readability-non-const-parameter in Function
2021-11-14 22:52:35 +01:00
GenericLexer.cpp
AK: Add GenericLexer API to consume an escaped Unicode code point
2021-08-19 23:49:25 +02:00
GenericLexer.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
HashFunctions.h
AK: Use a full-period xorshift PRNG for double_hash
2022-01-07 12:34:44 +01:00
HashMap.h
AK: Make Hash{Map,Table}::remove_all_matching() return removal success
2022-01-05 18:57:14 +01:00
HashTable.h
AK: Make Hash{Map,Table}::remove_all_matching() return removal success
2022-01-05 18:57:14 +01:00
Hex.cpp
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Hex.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
IDAllocator.h
AK: Use get_random() in IDAllocator
2021-08-30 18:35:36 +02:00
IntrusiveDetails.h
AK: Add missing headers
2021-10-06 23:52:40 +01:00
IntrusiveList.h
AK+Everywhere: Reduce the number of template parameters of IntrusiveList
2021-09-10 18:05:46 +03:00
IntrusiveListRelaxedConst.h
AK+Everywhere: Reduce the number of template parameters of IntrusiveList
2021-09-10 18:05:46 +03:00
IntrusiveRedBlackTree.h
AK+Kernel: Reduce the number of template parameters of IntrusiveRBTree
2021-09-10 18:05:46 +03:00
IPv4Address.h
AK: Convert AK::Format formatting helpers to returning ErrorOr<void>
2021-11-17 00:21:13 +01:00
IterationDecision.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
Iterator.h
AK: Make Vector capable of holding reference types
2021-06-08 19:14:24 +02:00
JsonArray.h
AK: Add implied const qualifiers to the Json interface
2021-12-15 23:35:14 -08:00
JsonArraySerializer.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
JsonObject.h
AK: Add implied const qualifiers to the Json interface
2021-12-15 23:35:14 -08:00
JsonObjectSerializer.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
JsonParser.cpp
AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional)
2021-11-17 00:21:10 +01:00
JsonParser.h
AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional)
2021-11-17 00:21:10 +01:00
JsonPath.cpp
AK: Add implied const qualifiers to the Json interface
2021-12-15 23:35:14 -08:00
JsonPath.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
JsonValue.cpp
AK: Make JsonValue::from_string("") return a null JsonValue
2021-12-16 22:48:17 +01:00
JsonValue.h
AK: Return bool
in JsonValue::as_bool()
2021-12-15 23:35:14 -08:00
kmalloc.cpp
AK: Declare operators new
and delete
as global functions
2021-07-05 20:23:42 +02:00
kmalloc.h
Kernel: Remove the kmalloc_eternal heap :^)
2021-12-28 21:02:38 +01:00
kstdio.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
LEB128.h
AK: Don't perform the shift when it's too large when decoding LEB128
2021-08-31 16:37:49 +02:00
LexicalPath.cpp
AK: Add LexicalPath::prepend()
2021-11-22 09:03:47 +01:00
LexicalPath.h
AK: Add LexicalPath::prepend()
2021-11-22 09:03:47 +01:00
MACAddress.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Math.h
AK+Everywhere: Replace __builtin bit functions
2021-12-21 22:13:51 +01:00
MemMem.h
AK: Mark MemMem header-only functions as inline rather than static
2021-11-22 05:23:24 +03:30
Memory.h
AK: Add secure_zero() implementation so it can be used on all platforms
2021-09-13 00:02:42 +02:00
MemoryStream.h
Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe
2021-09-06 01:53:26 +02:00
NeverDestroyed.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
NoAllocationGuard.h
Tests: Test FixedArray completely
2022-01-13 11:17:44 +01:00
Noncopyable.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
NonnullOwnPtr.h
AK: Mark smart pointer classes as [[nodiscard]]
2021-12-05 15:31:03 +01:00
NonnullOwnPtrVector.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
NonnullPtrVector.h
AK: Use default constructor/destructor instead of declaring an empty one
2021-09-16 17:17:13 +02:00
NonnullRefPtr.h
AK: Mark smart pointer classes as [[nodiscard]]
2021-12-05 15:31:03 +01:00
NonnullRefPtrVector.h
AK: Make NonnullRefPtrVector constructible from Vector<NonnullRefPtr>
2021-06-11 00:30:09 +02:00
NumberFormat.h
AK: Added human_readable_time() method for "unsaved changes" dialogs
2022-01-09 20:25:48 -08:00
NumericLimits.h
AK: Use proper type for bool NumericLimits::min and max specialization
2021-11-14 22:52:35 +01:00
Optional.h
AK: Always inline Optional::release_value()
2021-10-25 14:31:46 +02:00
OwnPtr.h
AK: Use Error::from_errno in adopt_nonnull_own_or_enomem
2022-01-13 15:16:12 +03:30
Platform.h
AK+Everywhere: Replace __builtin bit functions
2021-12-21 22:13:51 +01:00
PrintfImplementation.h
LibC+AK: Implement all sorts of wprintf variants
2021-12-21 21:24:36 +03:30
Ptr32.h
AK: Fix building Ptr32 on x86_64
2021-06-24 09:27:13 +02:00
Queue.h
AK+Everywhere: Reduce the number of template parameters of IntrusiveList
2021-09-10 18:05:46 +03:00
QuickSort.h
AK: Guarantee a maximum stack depth for dual_pivot_quick_sort
2021-04-28 21:38:48 +02:00
Random.cpp
AK: Introduce get_random_uniform()
2021-05-14 22:24:02 +02:00
Random.h
AK+LibCore: Standardize on AK_OS_MACOS instead of __APPLE__
2021-09-12 18:31:10 +02:00
RecursionDecision.h
AK: Add RecursionDecision
2021-08-07 15:21:58 +02:00
RedBlackTree.h
AK: Remove unnecessary null checks in RedBlackTree
2022-01-12 14:52:47 +01:00
RefCounted.h
AK+Kernel: Remove one_ref_left() footgun
2022-01-11 01:12:16 +01:00
RefCountForwarder.h
AK: Add RefCountForwarder<T>
2021-12-09 21:28:52 +01:00
RefPtr.h
AK: Mark smart pointer classes as [[nodiscard]]
2021-12-05 15:31:03 +01:00
Result.h
AK: Allow to "get a result" from Result<void>
2021-11-28 13:33:51 -08:00
ScopedValueRollback.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
ScopeGuard.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
ScopeLogger.h
AK: Store the 'extra' field of ScopeLogger as String
2021-06-29 00:07:19 +04:30
SIMD.h
AK: Add char SIMD types
2021-07-22 23:33:21 +02:00
SIMDExtras.h
AK/SIMD: Suppress psabi warnings and add explanatory comment
2022-01-09 21:03:08 +01:00
SIMDMath.h
AK/SIMD: Suppress psabi warnings and add explanatory comment
2022-01-09 21:03:08 +01:00
Singleton.h
Kernel: Split ScopedCritical so header is platform independent
2021-10-15 21:48:45 +01:00
SinglyLinkedList.h
AK: Make SinglyLinkedList::remove() public
2021-08-31 17:03:55 +04:30
SinglyLinkedListWithCount.h
Everywhere: Use bgianf@serenityos.org for my copyright attribution
2021-04-22 21:15:54 +02:00
SourceGenerator.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
SourceLocation.h
AK: Convert AK::Format formatting helpers to returning ErrorOr<void>
2021-11-17 00:21:13 +01:00
Span.h
AK: Use __builtin_memmove for ByteBuffer and Span's overwrite
2021-12-16 22:21:35 +03:30
Stack.h
AK: Use unchecked_append in AK::Stack, as we always validate the size
2022-01-05 14:04:18 +01:00
StackInfo.cpp
AK: Fix preprocessor OS check
2021-12-12 11:10:34 -08:00
StackInfo.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
Statistics.h
AK: Add min and max functions to Statistics
2021-11-06 22:09:25 -07:00
StdLibExtraDetails.h
AK: Add the concept of hash-compatible types
2021-12-15 13:09:49 +03:30
StdLibExtras.h
AK: Add mix
2022-01-04 17:48:28 +00:00
Stream.h
LibIPC+IPCCompiler+AK: Make IPC value decoders return ErrorOr<void>
2021-11-28 23:14:19 +01:00
String.cpp
AK: Convert AK::Format formatting helpers to returning ErrorOr<void>
2021-11-17 00:21:13 +01:00
String.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
StringBuilder.cpp
Kernel+AK: Eliminate a couple of temporary String allocations
2021-12-30 14:16:03 +01:00
StringBuilder.h
AK: Increase StringBuilder's inline buffer size from 128 to 256 bytes
2021-12-26 01:42:58 +01:00
StringHash.h
AK: Define a traits helper for case-insensitive StringView hashing
2022-01-11 00:36:45 +01:00
StringImpl.cpp
AK: Add fast path for constructing StringImpl from "" literal
2021-10-25 13:29:44 +02:00
StringImpl.h
AK: Convert AK::Format formatting helpers to returning ErrorOr<void>
2021-11-17 00:21:13 +01:00
StringUtils.cpp
AK: Add convert_to_uint_from_octal
2021-12-21 13:13:04 -08:00
StringUtils.h
AK: Add convert_to_uint_from_octal
2021-12-21 13:13:04 -08:00
StringView.cpp
AK: Implement StringView::for_each_split_view
2022-01-12 13:03:44 +01:00
StringView.h
AK: Implement StringView::for_each_split_view
2022-01-12 13:03:44 +01:00
TemporaryChange.h
Everything: Move to SPDX license identifiers in all files.
2021-04-22 11:22:27 +02:00
Time.cpp
AK: Redeclare a few AK::Time helpers as constexpr
2022-01-11 23:56:35 +01:00
Time.h
AK: Add AK::Time factory method to construct from individual time fields
2022-01-11 23:56:35 +01:00
Traits.h
AK: Add dedicated Traits for c-strings
2021-12-15 13:09:49 +03:30
Trie.h
AK: Use MUST + try_empend so AK::Trie continues to compile in the kernel
2022-01-05 14:04:18 +01:00
Try.h
AK+LibJS: Simplify MUST() and move it from LibJS to AK/Try.h
2021-11-10 21:58:58 +01:00
Tuple.h
AK: Correct Tuple's constructor signatures
2021-08-02 17:22:50 +04:30
TypeCasts.h
AK: Rename downcast<T> => verify_cast<T>
2021-06-24 19:57:01 +02:00
TypedTransfer.h
AK: Fast path for single-element TypedTransfer::copy
2021-12-17 13:13:00 -08:00
TypeList.h
Everywhere: "indexes" => "indices"
2021-04-29 22:23:52 +02:00
Types.h
AK+Kernel: Suppress clang-tidy warnings from the cert-* category
2021-11-14 22:52:35 +01:00
UBSanitizer.h
AK+LibSanitizer: Add method to zero out a UBSAN SourceLocation
2021-12-15 10:30:32 -08:00
UFixedBigInt.h
AK: Fix UFixedBigInt comparison operators
2022-01-04 06:01:22 +00:00
UnicodeUtils.cpp
AK: Add UnicodeUtils with Unicode-related helper functions
2021-05-20 22:10:45 +02:00
UnicodeUtils.h
LibC: Implement wcrtomb
2021-10-15 21:50:19 -07:00
URL.cpp
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
URL.h
AK: Convert AK::Format formatting helpers to returning ErrorOr<void>
2021-11-17 00:21:13 +01:00
URLParser.cpp
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
URLParser.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Userspace.h
AK+Kernel: Remove implicit conversion from Userspace<T*> to FlatPtr
2021-11-16 00:13:22 +01:00
Utf8View.cpp
AK: Inline all the trivial Utf8View functions
2021-09-18 19:54:24 +02:00
Utf8View.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Utf16View.cpp
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Utf16View.h
AK: Convert AK::Format formatting helpers to returning ErrorOr<void>
2021-11-17 00:21:13 +01:00
Utf32View.h
AK: Add the at()/operator[]() getter to Utf32View
2021-07-18 21:10:55 +04:30
UUID.cpp
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
UUID.h
Everywhere: Pass AK::StringView by value
2021-11-11 01:27:46 +01:00
Variant.h
AK: Make Variant::visit() prefer overloads accepting T const& over T&
2022-01-14 11:35:40 +03:30
Vector.h
AK: Make Vector::remove_all_matching() return removal success
2022-01-05 18:57:14 +01:00
Weakable.h
Everywhere: Fix spelling mistakes
2022-01-07 15:44:42 +01:00
WeakPtr.h
AK: Mark smart pointer classes as [[nodiscard]]
2021-12-05 15:31:03 +01:00