ladybird/AK
sin-ack e5f09ea170 Everywhere: Split Error::from_string_literal and Error::from_string_view
Error::from_string_literal now takes direct char const*s, while
Error::from_string_view does what Error::from_string_literal used to do:
taking StringViews. This change will remove the need to insert `sv`
after error strings when returning string literal errors once
StringView(char const*) is removed.

No functional changes.
2022-07-12 23:11:35 +02:00
..
.clang-tidy
AllOf.h AK: Add nodiscard attribute to AllOf functions 2022-07-04 05:53:56 +00:00
AnyOf.h AK: Add nodiscard attribute to AnyOf functions 2022-07-04 05:53:56 +00:00
ArbitrarySizedEnum.h
Array.h
Assertions.h AK: Make VERIFY() work in MinSizeRel builds 2022-07-09 22:15:43 +02:00
Atomic.h
Badge.h
Base64.cpp
Base64.h AK: Add nodiscard attribute to Base64 functions 2022-07-04 05:53:56 +00:00
BinaryBufferWriter.h
BinaryHeap.h AK: Add nodiscard attribute to BinaryHeap functions 2022-07-04 05:53:56 +00:00
BinarySearch.h AK: Add nodiscard attribute to BinarySearch functions 2022-07-04 05:53:56 +00:00
BitCast.h AK: Add nodiscard attribute to BitCast functions 2022-07-04 05:53:56 +00:00
Bitmap.h
BitmapView.h
BitStream.h AK: Add nodiscard attribute to BitStream functions 2022-07-04 05:53:56 +00:00
Buffered.h
BuiltinWrappers.h
BumpAllocator.h
ByteBuffer.h AK: Perform a resize in ByteBuffer::get_bytes_for_writing() 2022-06-27 20:22:15 +01:00
ByteReader.h
CharacterTypes.h
Checked.h AK: Add saturating addition and subtraction to Checked 2022-06-23 23:26:33 +01:00
CheckedFormatString.h AK: Make CheckedFormatString pass the char array size to StringView 2022-07-12 23:11:35 +02:00
CircularDeque.h
CircularDuplexStream.h
CircularQueue.h
CMakeLists.txt
Complex.h
Concepts.h AK: Add a OneOfIgnoringCV concept 2022-04-20 00:15:23 +04:30
DateConstants.h
DateTimeLexer.h
Debug.h.in LibWeb: Add ability to present LibGL framebuffer and add clearing 2022-06-13 21:45:27 +01:00
Demangle.h Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
DisjointChunks.h
DistinctNumeric.h
DoublyLinkedList.h
Endian.h
EnumBits.h
Error.h Everywhere: Split Error::from_string_literal and Error::from_string_view 2022-07-12 23:11:35 +02:00
ExtraMathConstants.h
FileStream.h
Find.h AK: Add nodiscard attribute to Find functions 2022-07-04 05:53:56 +00:00
FixedArray.h
FixedPoint.h AK: Make sure we don't include Math.h or math.h from KERNEL 2022-04-23 10:43:32 -07:00
FlyString.cpp
FlyString.h
Format.cpp
Format.h AK: Explicitly calculate length of char* when printing 2022-07-12 23:11:35 +02:00
Forward.h AK+Kernel: Remove RefPtrTraits template param in userspace code 2022-06-15 17:15:04 +02:00
FPControl.h AK: Add a cpp-y, more fine grained version of fenv.h: FPControl.h 2022-05-07 20:27:05 +02:00
Function.h
FuzzyMatch.h AK: Add FuzzyMatch header 2022-04-20 18:34:09 +02:00
GenericLexer.cpp
GenericLexer.h Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
GenericShorthands.h AK: Add header for generic shorthands 2022-07-04 11:15:40 +02:00
HashFunctions.h
HashMap.h AK+LibGUI: Pass predicate to *_matching() methods by const reference 2022-05-08 17:02:00 +02:00
HashTable.h AK: Zero previous pointer *after* fixing the insertion list in HashTable 2022-06-23 20:25:12 +03:00
Hex.cpp
Hex.h
IDAllocator.h
IntegralMath.h AK: Add AK::ceil(float) and AK::ceil_log2(integer) 2022-06-30 11:16:22 +02:00
IntrusiveDetails.h
IntrusiveList.h
IntrusiveListRelaxedConst.h
IntrusiveRedBlackTree.h AK: Expose RedBlackTree::find_smallest_not_below() 2022-04-21 13:16:56 +02:00
IPv4Address.h AK: Add IPv4Address::netmask_from_cidr 2022-07-09 09:22:25 +01:00
IPv6Address.h AK: Add Kernel namespace to KStrings in AK::IPv6Address 2022-04-17 16:57:52 -07:00
IterationDecision.h
Iterator.h
JsonArray.h
JsonArraySerializer.h
JsonObject.h
JsonObjectSerializer.h Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
JsonParser.cpp Everywhere: Split Error::from_string_literal and Error::from_string_view 2022-07-12 23:11:35 +02:00
JsonParser.h
JsonPath.cpp
JsonPath.h
JsonValue.cpp AK: Treat empty string as invalid JSON 2022-07-10 23:31:48 +02:00
JsonValue.h
kmalloc.cpp
kmalloc.h
kstdio.h
LEB128.h AK: Always check shift amount in LEB128 read functions 2022-07-09 22:04:31 +00:00
LexicalPath.cpp
LexicalPath.h
MACAddress.h
Math.h AK: Add AK::ceil(float) and AK::ceil_log2(integer) 2022-06-30 11:16:22 +02:00
MemMem.h
Memory.h
MemoryStream.h
NeverDestroyed.h
NoAllocationGuard.h
Noncopyable.h
NonnullOwnPtr.h Revert "AK: Add comparison operators to NonnullOwnPtr" 2022-06-18 13:17:49 +01:00
NonnullOwnPtrVector.h
NonnullPtrVector.h LibWeb: Make reverse iterators work for const NonnullPtrVectors 2022-04-13 19:52:25 +02:00
NonnullRefPtr.h AK: Add comparison operators to NonnullRefPtr 2022-07-09 09:32:51 +01:00
NonnullRefPtrVector.h
NumberFormat.h
NumericLimits.h
Optional.h
OwnPtr.h
Platform.h AK: Recognize __CLION_IDE__ as well as __CLION_IDE_ 2022-06-26 22:21:17 +01:00
PrintfImplementation.h AK: Make sure we don't include Math.h or math.h from KERNEL 2022-04-23 10:43:32 -07:00
Ptr32.h
Queue.h
QuickSort.h
Random.cpp
Random.h
RecursionDecision.h
RedBlackTree.h AK: Expose RedBlackTree::find_smallest_not_below() 2022-04-21 13:16:56 +02:00
RefCounted.h
RefCountForwarder.h
RefPtr.h AK: Add equality operators to compare RefPtr to NonNullRefPtr 2022-07-09 09:32:51 +01:00
Result.h
ReverseIterator.h
ScopedValueRollback.h
ScopeGuard.h
ScopeLogger.h
SIMD.h
SIMDExtras.h LibGfx: Implement PNG filtering on write 2022-07-10 15:01:07 +02:00
SIMDMath.h AK: Add clamp(f32x4, float, float) 2022-05-09 21:49:48 +02:00
Singleton.h
SinglyLinkedList.h AK: Add SinglyLinkedList::prepend() 2022-06-10 19:06:46 +01:00
SinglyLinkedListWithCount.h
SourceGenerator.h AK: Add string literal helpers to AK::SourceGenerator 2022-07-12 23:11:35 +02:00
SourceLocation.h Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
Span.h
Stack.h
StackInfo.cpp
StackInfo.h
Statistics.h
StdLibExtraDetails.h AK: Add a OneOfIgnoringCV concept 2022-04-20 00:15:23 +04:30
StdLibExtras.h
Stream.h Everywhere: Split Error::from_string_literal and Error::from_string_view 2022-07-12 23:11:35 +02:00
String.cpp AK: Add invert_case() and invert_case(StringView) 2022-05-26 21:51:23 +01:00
String.h AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
StringBuilder.cpp
StringBuilder.h
StringHash.h
StringImpl.cpp
StringImpl.h
StringUtils.cpp AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
StringUtils.h AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
StringView.cpp AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
StringView.h AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
TemporaryChange.h
Time.cpp
Time.h
Traits.h AK: Add missing include to Traits.h 2022-04-10 19:18:16 +02:00
Trie.h
Try.h
Tuple.h
TypeCasts.h
TypedTransfer.h
TypeList.h
Types.h AK: Add an align_down_to power of two helper 2022-07-05 11:26:10 +02:00
UBSanitizer.h
UFixedBigInt.h
UnicodeUtils.h
URL.cpp AK: Make URL ApplicationXWWWFormUrlencoded encoding closer to spec 2022-06-10 22:32:29 +01:00
URL.h AK: Add URL::create_with_help_scheme helper function 2022-04-21 09:12:37 +04:30
URLParser.cpp AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
URLParser.h
Userspace.h
Utf8View.cpp AK: Put invalid UTF8 debug spam behind a flag 2022-04-27 00:02:24 +02:00
Utf8View.h
Utf16View.cpp
Utf16View.h
Utf32View.h
UUID.cpp
UUID.h
Variant.h AK: Use static_cast to cast to base type 2022-05-21 02:18:40 +02:00
Vector.h AK+LibGUI: Pass predicate to *_matching() methods by const reference 2022-05-08 17:02:00 +02:00
Weakable.h AK+Kernel: Remove RefPtrTraits template param in userspace code 2022-06-15 17:15:04 +02:00
WeakPtr.h