ladybird/AK
AnotherTest 074e2ffdfd LibLine: Avoid refreshing the entire line when inserting at the end
This patchset allows the editor to avoid redrawing the entire line when
the changes cause no unrecoverable style updates, and are at the end of
the line (this applies to most normal typing situations).
Cases that this does not resolve:
- When the cursor is not at the end of the buffer
- When a display refresh changes the styles on the already-drawn parts
  of the line
- When the prompt has not yet been drawn, or has somehow changed

Fixes #5296.
2021-02-20 22:28:23 +01:00
..
Tests AK+LibC: Remove dbgprintf() :^) 2021-02-20 17:17:30 +01:00
AllOf.h AK: Publish all_of() 2021-02-17 15:22:21 +01:00
AnyOf.h AK: Publish AK::any_of by default 2021-02-07 11:35:08 +01:00
Array.h AK: Add an iota_array() function that can generate an array 2021-02-08 18:08:55 +01:00
Assertions.h
Atomic.h Kernel: Add safe atomic functions 2021-01-17 20:30:31 +01:00
Badge.h Badge: Access to underlying type 2021-01-15 09:44:21 +01:00
Base64.cpp
Base64.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
BinarySearch.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
Bitmap.h AK: Make the Bitmap::size_in_bytes() member function public 2021-02-14 13:30:10 +01:00
BitStream.h
Buffered.h
ByteBuffer.cpp
ByteBuffer.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
Checked.h AK: Allow Checked += Checked, and other such operations 2021-01-30 13:52:12 +01:00
CircularDeque.h Everywhere: Remove unnecessary headers 4/4 2021-02-08 18:03:57 +01:00
CircularDuplexStream.h AK: Remove bogus test case for CircularDuplexStream. 2020-12-19 23:29:40 +01:00
CircularQueue.h CircularQueue: Correctly pass args to enqueue 2021-01-31 10:48:12 +01:00
CMakeLists.txt CMake: Decouple cmake utility functions from top-level CMakeLists.txt 2020-12-24 11:02:04 +01:00
Concepts.h
Debug.h.in LibLine: Avoid refreshing the entire line when inserting at the end 2021-02-20 22:28:23 +01:00
Demangle.h
DistinctNumeric.h AK: Remove operators && and || from DistinctNumeric 2021-02-12 13:27:48 +01:00
DoublyLinkedList.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
Endian.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
FileStream.h Everywhere: Remove unnecessary headers 4/4 2021-02-08 18:03:57 +01:00
Find.h AK: Find a value in any container offering iterators 2021-01-11 19:45:05 +01:00
FlyString.cpp AK: Generalize AK::String::to_int() for more types 2020-12-21 00:15:44 +01:00
FlyString.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
Format.cpp AK+Format: Don't cast to size_t when you want u64. 2021-02-13 19:47:06 +01:00
Format.h AK: Set DBGLN_NO_COMPILETIME_FORMAT_CHECK for any clang, not just < 12 2021-02-12 19:19:43 +01:00
Forward.h AK: Make Nonnull*PtrVector use size_t for indexes 2021-02-20 18:34:32 +01:00
Function.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
GenericLexer.cpp
GenericLexer.h
HashFunctions.h Everywhere: Fix weird includes 2021-02-08 18:03:57 +01:00
HashMap.h Everywhere: Remove unnecessary headers 4/4 2021-02-08 18:03:57 +01:00
HashTable.h HashTable: Correctly pass args to set 2021-01-31 10:48:12 +01:00
Hex.cpp AK: Use StringBuilder::appendff() instead of appendf() 2021-02-09 19:18:13 +01:00
Hex.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
IDAllocator.h Everywhere: Remove unnecessary headers 2/4 2021-02-08 18:03:57 +01:00
InlineLinkedList.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
IntrusiveList.h
IPv4Address.h Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
IterationDecision.h
Iterator.h AK: Make single pivot quick_sort guarantee a max stack depth of log(n) 2021-02-01 09:52:36 +01:00
JsonArray.h AK: Add JsonArray(const Vector<T>) constructor 2021-01-15 23:26:47 +01:00
JsonArraySerializer.h
JsonObject.h AK: Use StringBuilder::appendff() instead of appendf() 2021-02-09 19:18:13 +01:00
JsonObjectSerializer.h AK: Use StringBuilder::appendff() instead of appendf() 2021-02-09 19:18:13 +01:00
JsonParser.cpp Everywhere: Remove unnecessary headers 4/4 2021-02-08 18:03:57 +01:00
JsonParser.h
JsonPath.cpp Everywhere: Remove unnecessary headers 1/4 2021-02-08 18:03:57 +01:00
JsonPath.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
JsonValue.cpp Everywhere: Remove unnecessary headers 4/4 2021-02-08 18:03:57 +01:00
JsonValue.h AK+Format: Remove TypeErasedFormatParams& from format function. 2020-12-30 20:33:53 +01:00
kmalloc.h
kstdio.h AK: Remove unused kprintf macro 2021-02-20 17:21:03 +01:00
LexicalPath.cpp AK: Add LexicalPath::relative_path 2021-02-20 15:53:37 +01:00
LexicalPath.h AK: Add LexicalPath::relative_path 2021-02-20 15:53:37 +01:00
LogStream.cpp AK: Use StringBuilder::appendff() instead of appendf() 2021-02-09 19:18:13 +01:00
LogStream.h Everywhere: Deprecate dbg(). 2021-01-23 16:46:26 +01:00
MACAddress.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
MappedFile.cpp Everywhere: Remove unnecessary headers 1/4 2021-02-08 18:03:57 +01:00
MappedFile.h LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
MemMem.h AK: Add String{View,}::find(StringView) 2021-01-12 23:36:20 +01:00
Memory.h
MemoryStream.h
NeverDestroyed.h
Noncopyable.h
NonnullOwnPtr.h AK+Format: Remove TypeErasedFormatParams& from format function. 2020-12-30 20:33:53 +01:00
NonnullOwnPtrVector.h AK: Make Nonnull*PtrVector use size_t for indexes 2021-02-20 18:34:32 +01:00
NonnullPtrVector.h AK: Make Nonnull*PtrVector use size_t for indexes 2021-02-20 18:34:32 +01:00
NonnullRefPtr.h Everywhere: Remove unnecessary headers 4/4 2021-02-08 18:03:57 +01:00
NonnullRefPtrVector.h AK: Make Nonnull*PtrVector use size_t for indexes 2021-02-20 18:34:32 +01:00
NumberFormat.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
NumericLimits.h
Optional.h AK: Mark Optional getters as [[nodiscard]] 2021-02-15 09:34:52 +01:00
OSError.h AK: Add AK::OSError, a wrapper for errno codes 2021-01-10 16:46:13 +01:00
OwnPtr.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
Platform.h LibGfx: Fix dynamic bitmasks in BMPs 2021-01-30 09:23:18 +01:00
PrintfImplementation.h AK: Clean up includes around printf/vdbgprintf 2021-02-08 18:03:57 +01:00
Queue.h Queue: Correctly pass args to enqueue 2021-01-31 10:48:12 +01:00
QuickSort.h AK: Make single pivot quick_sort guarantee a max stack depth of log(n) 2021-02-01 09:52:36 +01:00
Random.h Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
RefCounted.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
RefPtr.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
Result.h AK: Add release_value() and release_error() to AK::Result 2021-01-09 19:57:50 +01:00
ScopedValueRollback.h
ScopeGuard.h
ScopeLogger.h LibCpp: Add the beginning of a C++ parser 2021-01-27 21:10:57 +01:00
SIMD.h
Singleton.h Everywhere: Remove unnecessary headers 3/4 2021-02-08 18:03:57 +01:00
SinglyLinkedList.h SinglyLinkedList: Correctly pass args to append, insert_before, insert_after 2021-01-31 10:48:12 +01:00
SinglyLinkedListWithCount.h Everywhere: Remove unnecessary headers 4/4 2021-02-08 18:03:57 +01:00
SourceGenerator.h
Span.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
StackInfo.cpp LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
StackInfo.h
StdLibExtras.h AK: Make IsUnsigned<T> behave as you would expect 2021-02-10 22:23:54 +01:00
Stream.h AK: Replace some SFINAE with requires clauses, clean up existing ones 2020-12-30 13:28:49 +01:00
String.cpp Everywhere: Remove unnecessary headers 2/4 2021-02-08 18:03:57 +01:00
String.h AK: Add dbgln() format checking 2021-02-08 18:08:55 +01:00
StringBuilder.cpp
StringBuilder.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
StringImpl.cpp Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
StringImpl.h AK+Format: Remove TypeErasedFormatParams& from format function. 2020-12-30 20:33:53 +01:00
StringUtils.cpp AK: Add String{View,}::find(StringView) 2021-01-12 23:36:20 +01:00
StringUtils.h AK: Add String{View,}::find(StringView) 2021-01-12 23:36:20 +01:00
StringView.cpp StringView: Implement find_first_of in terms of AK::find 2021-01-15 09:42:42 +01:00
StringView.h AK: Add String{View,}::find(StringView) 2021-01-12 23:36:20 +01:00
TemporaryChange.h
TestSuite.h
Time.cpp
Time.h AK: Add CLOCK_*_COARSE aliases for darwin and BSD variants 2020-12-28 19:35:32 +01:00
Traits.h AK: Find a value in any container offering iterators 2021-01-11 19:45:05 +01:00
Trie.h AK: Replace some SFINAE with requires clauses, clean up existing ones 2020-12-30 13:28:49 +01:00
TypeCasts.h AK: TypeCasts.h should include Assertions.h 2021-02-10 09:13:29 +01:00
TypedTransfer.h AK: remove unused and uninteresting return value 2021-02-08 18:03:57 +01:00
TypeList.h AK: Add missing 'template' keywords in TypeList 2020-12-31 16:16:07 +01:00
Types.h AK: Add default memory order as template argument for Atomic<T> 2021-01-04 19:13:52 +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: Add URL::to_string_encoded() 2021-01-31 19:05:55 +01:00
URLParser.cpp AK: Add optional parameter for excluding chars to urlencode() 2021-01-31 19:05:55 +01:00
URLParser.h AK: Add optional parameter for excluding chars to urlencode() 2021-01-31 19:05:55 +01:00
Userspace.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
Utf8View.cpp AK: Use size_t in methods of Utf8View. 2021-01-02 01:37:22 +01:00
Utf8View.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
Utf32View.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
UUID.cpp AK: Add the UUID container 2021-01-01 22:59:48 +01:00
UUID.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00
Vector.h Vector: Correctly pass args to insert, insert_before_matching, prepend 2021-01-31 10:48:12 +01:00
Weakable.h Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
WeakPtr.h AK: Simplify constructors and conversions from nullptr_t 2021-01-12 09:11:45 +01:00