ladybird/AK
Andreas Kling 13594b7146 LibGfx+AK: Make text elision work with multi-byte characters
This was causing WindowServer and Taskbar to crash sometimes when the
stars aligned and we tried cutting off a string ending with "..." right
on top of an emoji. :^)
2020-12-28 23:54:10 +01:00
..
Tests AK: Fix busted Trie test 2020-12-26 12:32:27 +01:00
AllOf.h AllOf: Common iterator types 2020-12-20 21:13:10 +01:00
Array.h AK: Add template deduction guides for Array. 2020-09-21 20:17:36 +02:00
Assertions.h AK+LibC: Add TODO() as an alternative to ASSERT_NOT_REACHED() 2020-05-30 11:31:49 +02:00
Atomic.h Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Badge.h Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Base64.cpp AK: Fix base64 decoding '/' 2020-11-22 16:07:00 +01:00
Base64.h Base64: Pre-allocate size of input and output 2020-10-13 23:59:46 +02:00
BinarySearch.h BinarySearch: constexpr support 2020-10-17 23:19:37 +02:00
Bitmap.h Everywhere: Fix more typos 2020-10-03 12:36:49 +02:00
BitStream.h AK: Lower the requirements for InputStream::eof and rename it. 2020-09-14 20:58:12 +02:00
Buffered.h AK: Cleanup missing includes and #ifdef evaluation 2020-11-22 11:35:53 +01:00
ByteBuffer.cpp AK: Prevent confusing silent misuse of ByteBuffer 2020-08-22 17:18:14 +02:00
ByteBuffer.h AK: Remove awkward ByteBuffer construction modes (wrap & adopt) 2020-12-19 18:29:13 +01:00
Checked.h Everywhere: Redundant inline specifier on constexpr functions (#3807) 2020-10-20 18:08:13 +02:00
CircularDeque.h AK: Add enqueue_begin() for the CircularDeque class (#1320) 2020-03-02 09:50:43 +01:00
CircularDuplexStream.h AK: Remove bogus test case for CircularDuplexStream. 2020-12-19 23:29:40 +01:00
CircularQueue.h AK: Add CircularDuplexStream class. 2020-08-26 21:07:53 +02:00
CMakeLists.txt CMake: Decouple cmake utility functions from top-level CMakeLists.txt 2020-12-24 11:02:04 +01:00
Concepts.h AK: Pull Is{Integral,FloatingPoint} into the global namespace 2020-12-05 23:52:17 +01:00
Demangle.h Revert "AK: Don't demangle in serenity :(" 2020-05-20 16:24:26 +02:00
DistinctNumeric.h AK: Prefer using instead of typedef 2020-11-12 10:19:04 +01:00
DoublyLinkedList.h AK: Make all DoublyLinkedList search methods use Traits<T>::equals (#3404) 2020-09-05 14:17:14 +02:00
Endian.h AK/Userland: Use AK/Endian.h for portable byte swapping in ntpquery 2020-12-28 19:35:32 +01:00
FlyString.cpp AK: Generalize AK::String::to_int() for more types 2020-12-21 00:15:44 +01:00
FlyString.h AK: Generalize AK::String::to_int() for more types 2020-12-21 00:15:44 +01:00
Format.cpp AK: Make Formatter<StringView> not choke on Mode::Character 2020-12-06 18:52:52 +01:00
Format.h AK: Add formatters for floating point numbers. 2020-11-09 16:21:29 +01:00
Forward.h AK: Fix unsigned integer underflow in DuplexMemoryStream::write. 2020-12-09 21:17:24 +01:00
Function.h Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
GenericLexer.cpp AK: Add GenericLexer::retreat() 2020-10-29 11:52:31 +01:00
GenericLexer.h AK: Add GenericLexer::retreat() 2020-10-29 11:52:31 +01:00
HashFunctions.h HashFunctions: constexpr capability 2020-10-21 19:42:12 +02:00
HashMap.h AK: Prefer using instead of typedef 2020-11-12 10:19:04 +01:00
HashTable.h AK: Reduce memory writes in HashTable destructor 2020-10-18 14:44:23 +02:00
Hex.cpp AK: Add {encode,decode}_hex similar to {encode,decode}_base64 2020-12-13 11:00:20 +01:00
Hex.h AK: Add {encode,decode}_hex similar to {encode,decode}_base64 2020-12-13 11:00:20 +01:00
IDAllocator.h Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
InlineLinkedList.h AK: Add insert_before/insert_after to InlineLinkedList 2020-12-02 13:02:04 +01:00
IntrusiveList.h AK: Add IntrusiveList::take_last() 2020-11-24 16:37:55 +01:00
IPv4Address.h IPv4Address: constexpr support 2020-11-11 12:18:25 +01:00
IterationDecision.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Iterator.h AK: Mark SimpleIterator::operator*() as ALWAYS_INLINE 2020-11-14 17:20:17 +01:00
JsonArray.h Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
JsonArraySerializer.h AK+Kernel: Escape JSON keys & values 2020-11-02 12:56:36 +01:00
JsonObject.h AK+Kernel: Escape JSON keys & values 2020-11-02 12:56:36 +01:00
JsonObjectSerializer.h AK+Kernel: Escape JSON keys & values 2020-11-02 12:56:36 +01:00
JsonParser.cpp AK: Make JsonParser::parse_number properly parse >32bit ints 2020-12-21 00:15:44 +01:00
JsonParser.h AK: Remove empty destructor from JsonParser. 2020-09-08 14:01:21 +02:00
JsonPath.cpp Inspector: Expand and show properties in a TreeView 2020-07-01 11:18:19 +02:00
JsonPath.h Inspector: Expand and show properties in a TreeView 2020-07-01 11:18:19 +02:00
JsonValue.cpp AK: Fix JsonValue copy constructor behavior for 64-bit values 2020-07-06 18:38:08 +02:00
JsonValue.h Use new format functions in remaining DevTools. (#3755) 2020-10-13 18:34:27 +02:00
kmalloc.h AK: Always include <new> from compiler before our operators new 2020-11-05 09:59:30 +01:00
kstdio.h LibC: Enable compiler warnings for printf format strings 2020-12-26 10:05:50 +01:00
LexicalPath.cpp Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
LexicalPath.h AK: Add formatter for LexcialPath. 2020-10-09 20:52:17 +02:00
LogStream.cpp AK: Remove out() and warn(). 2020-11-09 16:21:29 +01:00
LogStream.h AK: Remove out() and warn(). 2020-11-09 16:21:29 +01:00
MACAddress.h MACAddress: Use all_of to implement is_zero 2020-11-21 19:25:14 +01:00
MappedFile.cpp AK: Use new format functions. 2020-10-08 09:59:55 +02:00
MappedFile.h AK: Make MappedFile store why it is invalid 2020-08-01 08:39:26 +02:00
MemMem.h AK: Implement memmem() for iterator haystacks 2020-12-08 23:34:38 +01:00
Memory.h AK+LibC: Always use REP MOVSB/STOSB for memcpy()/memset() 2020-07-27 15:54:39 +02:00
MemoryStream.h AK: Fix offset calculation error in DuplexMemoryStream::write. 2020-12-09 21:17:24 +01:00
NeverDestroyed.h NeverDestroyed: Add tests 2020-11-22 10:54:33 +01:00
Noncopyable.h Meta: Force semi-colon after MAKE_AK_NONXXXABLE() 2020-08-27 10:12:04 +02:00
NonnullOwnPtr.h AK: Prefer using instead of typedef 2020-11-12 10:19:04 +01:00
NonnullOwnPtrVector.h AK: Forward declare Nonnull{Own,Ref}PtrVector 2020-12-08 23:34:38 +01:00
NonnullPtrVector.h AK: Use ALWAYS_INLINE all over NonnullPtrVector 2020-11-23 14:08:50 +01:00
NonnullRefPtr.h AK: Prefer using instead of typedef 2020-11-12 10:19:04 +01:00
NonnullRefPtrVector.h AK: Forward declare Nonnull{Own,Ref}PtrVector 2020-12-08 23:34:38 +01:00
NumberFormat.h AK: Use new format functions. 2020-10-08 09:59:55 +02:00
NumericLimits.h AK: Add NumericLimits specialization for char. 2020-09-29 16:14:58 +02:00
Optional.h AK: Cleanup missing includes and #ifdef evaluation 2020-11-22 11:35:53 +01:00
OwnPtr.h AK: Really disallow making OwnPtrs from refcounted types 2020-11-03 19:14:34 +01:00
Platform.h AK: Add CLOCK_*_COARSE aliases for darwin and BSD variants 2020-12-28 19:35:32 +01:00
PrintfImplementation.h AK: Remove custom %w format string specifier 2020-12-25 17:05:05 +01:00
Queue.h Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
QuickSort.h AK: Ensure dual_pivot_quick_sort does not copy the pivots 2020-12-10 11:02:02 +01:00
Random.h Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
RefCounted.h AK: Add test for the will_be_destroyed and one_ref_left magic functions 2020-12-06 15:49:33 +01:00
RefPtr.h AK: Always inline RefPtr::operator bool() and RefPtr::is_null() 2020-11-25 21:26:58 +01:00
Result.h AK: Make Buffered<T> non-copyable. 2020-10-03 20:16:26 +02:00
ScopedValueRollback.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ScopeGuard.h Meta+AK: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
SharedBuffer.cpp AK: Enable AK::SharedBuffer for all platforms 2020-12-28 19:35:32 +01:00
SharedBuffer.h AK: Enable AK::SharedBuffer for all platforms 2020-12-28 19:35:32 +01:00
SIMD.h AK: Add header for SIMD vectorized types 2020-12-08 09:39:43 +01:00
Singleton.h Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
SinglyLinkedList.h AK: SinglyLinkedList use Traits<T>::equals in find 2020-09-06 21:56:32 +02:00
SinglyLinkedListWithCount.h AK: Cleanup missing includes and #ifdef evaluation 2020-11-22 11:35:53 +01:00
SourceGenerator.h LibIPC: Prepend each message with its size 2020-11-23 18:37:40 +01:00
Span.h AK: Mark some Span functions with [[nodiscard]] 2020-12-19 18:29:13 +01:00
StackInfo.cpp AK: Cleanup missing includes and #ifdef evaluation 2020-11-22 11:35:53 +01:00
StackInfo.h LibJS+AK: Move cross-platform stack bounds code from JS::Heap to AK::StackInfo 2020-11-08 16:51:54 +01:00
StdLibExtras.h AK: Make AK::IsSame<T, U>::value a constexpr bool 2020-12-26 12:32:27 +01:00
Stream.h Everywhere: Fix more typos 2020-10-03 12:36:49 +02:00
String.cpp LibJS: Implement (mostly) spec compliant version of Number.toString() 2020-12-27 23:04:09 +01:00
String.h LibJS: Implement (mostly) spec compliant version of Number.toString() 2020-12-27 23:04:09 +01:00
StringBuilder.cpp AK: Add some inline capacity to StringBuilder 2020-11-24 22:06:51 +01:00
StringBuilder.h AK: Add some inline capacity to StringBuilder 2020-11-24 22:06:51 +01:00
StringImpl.cpp AK: Don't return empty StringImpl from create() when char* starts with \0 2020-11-25 20:17:25 +01:00
StringImpl.h AK: Export ShouldChomp::NoChomp too 2020-11-29 20:32:10 +01:00
StringUtils.cpp AK: Check for overflow in StringUtils::convert_to_int 2020-12-21 00:15:44 +01:00
StringUtils.h AK: Generalize AK::String::to_int() for more types 2020-12-21 00:15:44 +01:00
StringView.cpp AK: Generalize AK::String::to_int() for more types 2020-12-21 00:15:44 +01:00
StringView.h AK: Generalize AK::String::to_int() for more types 2020-12-21 00:15:44 +01:00
TemporaryChange.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
TestSuite.h AK: Don't forward declare abort. 2020-10-14 11:29:29 +02:00
Time.cpp AK+LibC+LibCore: Have fewer implementations of day_of_week 2020-08-26 08:52:07 +02:00
Time.h AK: Add CLOCK_*_COARSE aliases for darwin and BSD variants 2020-12-28 19:35:32 +01:00
Traits.h AK: Add hash implementations for i16 and i64 2020-12-19 10:20:15 +01:00
Trie.h AK: Fix busted Trie test 2020-12-26 12:32:27 +01:00
TypeCasts.h AK: Add global is<T>() and downcast<T>() 2020-07-26 17:51:00 +02:00
TypedTransfer.h AK: Moved TypedTransfer into it's own header. 2020-09-09 20:15:50 +02:00
Types.h AK: Prefer using instead of typedef 2020-11-12 10:19:04 +01:00
URL.cpp AK::URL: Fix setting the port number in the case it was the last element of the URL 2020-12-12 20:09:42 +01:00
URL.h AK::URL: Check if URL requires a port set to be considered a valid URL 2020-11-04 19:34:00 +01:00
URLParser.cpp AK: Fix urlencode() with high byte values 2020-12-12 23:50:23 +01:00
URLParser.h AK: Add basic percent encoder/decoder (urlencode and urldecode) 2020-06-07 21:05:05 +02:00
Userspace.h Kernel: Allow Userspace<T> pointers with invalid content 2020-12-27 23:43:15 +01:00
Utf8View.cpp LibGfx+AK: Make text elision work with multi-byte characters 2020-12-28 23:54:10 +01:00
Utf8View.h LibGfx+AK: Make text elision work with multi-byte characters 2020-12-28 23:54:10 +01:00
Utf32View.h LibGfx+AK: Make text elision work with multi-byte characters 2020-12-28 23:54:10 +01:00
Vector.h AK: Use direct-list-initialization for Vector::empend() (#4564) 2020-12-27 23:06:37 +01:00
Weakable.h AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safe 2020-11-10 19:11:52 +01:00
WeakPtr.h AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safe 2020-11-10 19:11:52 +01:00