summaryrefslogtreecommitdiff
path: root/Userland/Libraries
AgeCommit message (Collapse)Author
2021-07-15LibCore+LibIMAP: Move Promise to LibCoreTimothy
This makes Promise available without having to link LibIMAP.
2021-07-15VimEditingEngine: Add support for repeats of JMatthew Hall
2021-07-15VimEditingEngine: Add support for repeats of p and PMatthew Hall
2021-07-15VimEditingEngine: Allow repeats for dd, yy and xMatthew Hall
2021-07-15VimEditingEngine: Add P command to put before cursorMatthew Hall
2021-07-15VimEditingEngine: Add J command to join two linesMatthew Hall
2021-07-15VimEditingEngine: Operate on real lines rather than wrapped onesMatthew Hall
In the normal editing engine keys like Home, End etc work on visual lines, but vim operates on real ones. Eg if you have a really long line and wrapping is on then in normal editing Home would take you to the beginning of the wrapped line, but 'I' would put you insert mode at the beginning of the real line in vim.
2021-07-15LibWeb: Fix assertion failure when tokenizing JS regex literalsMax Wipfli
This fixes parsing the following regular expression: /</g; It also adds a simple script element to the HTMLTokenizer regression test, which also contains that specific regex.
2021-07-14LibJS: Implement Temporal.Calendar.prototype.idLinus Groh
2021-07-14LibJS: Implement Temporal.Calendar.prototype.toJSON()Linus Groh
2021-07-14LibJS: Implement Temporal.Calendar.prototype.toString()Linus Groh
2021-07-14LibJS: Implement Temporal.Calendar.prototype[@@toStringTag]Linus Groh
2021-07-14LibJS: Start implementing Temporal.CalendarLinus Groh
Just like the previous Temporal.{Instant,TimeZone} commits, this patch adds the Calendar object itself, its constructor and prototype (currently empty), and two required abstract operations.
2021-07-14LibJS: Put Temporal.Instant.prototype member definitions in spec orderLinus Groh
2021-07-14LibJS: Use more specific return types for some Temporal AOsLinus Groh
Instead of returning Object* we should be specific and return Instant*, TimeZone* etc.
2021-07-15LibWeb: Correct behavior of Comment* states in HTMLTokenizerMax Wipfli
Previously, this would lead to assertion failures when parsing HTML comments. This fixes #8757.
2021-07-15LibWeb: VERIFY an empty builder when emitting tokens in HTMLTokenizerMax Wipfli
2021-07-14LibJS: Implement Atomics.isLockFreeTimothy Flynn
2021-07-14LibJS: Implement Atomics.compareExchangeTimothy Flynn
2021-07-14LibJS: Implement Atomics.exchangeTimothy Flynn
2021-07-14LibWeb: Remove unused HTMLTokenizer::m_input member variableMax Wipfli
2021-07-14LibWeb: Change HTMLToken.h to east const styleMax Wipfli
2021-07-14LibWeb: Change HTMLTokenizer.{cpp,h} to east const styleMax Wipfli
2021-07-14LibWeb: Use move() when enqueuing tokens in HTMLTokenizerGunnar Beutner
We're not using the current token anymore once it's enqueued so let's use move() when enqueuing the tokens.
2021-07-14LibWeb: Remove StringBuilder from HTMLToken::m_comment_or_characterGunnar Beutner
2021-07-14LibWeb: Remove StringBuilder from HTMLToken::m_tagGunnar Beutner
2021-07-14LibWeb: Remove StringBuilders from HTMLToken::AttributeBuilderGunnar Beutner
2021-07-14LibWeb: Remove StringBuilders from HTMLToken::m_doctypeGunnar Beutner
2021-07-14LibWeb: Remove more unused StringBuilders in HTMLTokenGunnar Beutner
These fields aren't read anywhere but I didn't feel like removing them outright.
2021-07-14LibWeb: Use an Optional<String> to track the last HTML start tagGunnar Beutner
Using an HTMLToken object here is unnecessary because the only attribute we're interested in is the tag_name.
2021-07-14LibJS: Implement Atomics.storeTimothy Flynn
2021-07-14LibJS: Implement Atomics.xorTimothy Flynn
2021-07-14LibJS: Implement Atomics.subTimothy Flynn
2021-07-14LibJS: Implement Atomics.orTimothy Flynn
2021-07-14LibJS: Implement Atomics.andTimothy Flynn
2021-07-14LibJS: Implement Atomics.loadTimothy Flynn
2021-07-14LibJS: Implement Atomics.addTimothy Flynn
2021-07-14LibJS: Make ValidateTypeArray abstraction publicTimothy Flynn
Also adds a typed_array_from helper for casting a known value to a TypedArray.
2021-07-14LibJS: Add some TypedArray abstractions for querying underlying typeTimothy Flynn
IsUnclampedIntegerElementType and IsBigIntElementType.
2021-07-14LibJS: Implement TypedArray GetModifySetValueInBuffer abstract operationTimothy Flynn
2021-07-14LibJS: Begin implementing AtomicsTimothy Flynn
This adds the Atomics object to the global object and sets up only its @@toStringTag property.
2021-07-14LibJS: Alphabetically sort LibJS's CMakeLists.txtTimothy Flynn
2021-07-14LibGfx: Don't underline escaped ampersand in menusKarol Kosek
Double ampersands (&&) marking in menus is meant to provide a way to show the ampersand, since using just one would turn it into a modifier that sets the shortcut for the next character. Unfortunately, while the first character had a special case to avoid marking this set, the marking was still calculated for the second character. The fix is rather simple: just skip then the following character! This issue applied only to the visual part of the Menu. The WindowServer calculation for the shortcut character is working properly, i.e. ignores escaped ampersands.
2021-07-14LibWeb: Handle when the last selected node does not contain textTimothy Flynn
If the text-for-rendering of the last selected node is empty, the select all implementation would end up setting the index to -1. This value is used directly for a substring length in the copy text implementation, thus would cause a failed assertion.
2021-07-14LibWeb: Remove now-duplicated actions from IPWV regarding text selectionTimothy Flynn
2021-07-14LibWeb: Add OOPWV IPC for selecting all textTimothy Flynn
2021-07-14LibWeb: Move select-all implementation to BrowsingContextTimothy Flynn
2021-07-14LibWeb: Add OOPWV IPC for retrieving selected textTimothy Flynn
2021-07-14LibGfx: Use clear_with capacity instead of clear in PNGWriterAziz Berkay Yesilyurt
Same vector was cleared up and filled in continuously.
2021-07-14LibGfx: Store the size of the chunk from start in PNGWriterAziz Berkay Yesilyurt
Before this change PNGWriter::add_chunk used to make a copy of PNGChunk's ByteBuffer to prepend the size of the data. With this change, 4-byte space is saved from the beginning and written at the end of the operation. Avoiding this copy yields significant speed up.