Age | Commit message (Collapse) | Author |
|
|
|
Fixes #5442.
|
|
Previously, we'd always put it right after the prompt.
|
|
|
|
These were forgotten in the last LibLine commit, any changes to m_buffer
not going through insert() and remove_at_index() should also be updating
these.
Fixes #5440.
|
|
Route the ScrollBar's wheel event to the ScrollableWidget so it can
handle it itself. This allows it to handle it consistently (e.g.
speed) when the cursor is hovering the scroll bars rather than the
widget's contents.
Fixes #5419
|
|
|
|
Also simplify it by removing an unreachable code path.
|
|
Let's use a stronger type than void* for this since we're talking
specifically about a virtual address and not necessarily a pointer
to something actually in memory (yet).
|
|
We no longer need the create_undefined() helper function.
Also we don't need a member field for is_undefined().
|
|
It was very confusing how these functions used the "undefined" state
of Symbol to signal lookup failure. Let's use Optional<T> to make things
a bit more understandable.
|
|
This looked like someone's forgotten debug mechanism.
|
|
|
|
Remove a bunch of unused code, unnecessary const, and make some
non-object-specific member functions static.
|
|
There's no reason to use C strings more than absolutely necessary.
|
|
Pressing up-arrow or down-arrow with empty command history printed
[null] in the text area.
Fixes #5426
|
|
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.
|
|
This fixes some artifacts with very small tooltip windows.
|
|
Fixes hidable horizontal scrollbars remaining visible even after
collapsing their responsible nodes. Tree column width defaults to
column header width if wider than current content.
|
|
Fixes edge cases in which hidden scrollbars could become visible
and obscure content or fail to hide when no longer needed
|
|
Fixes incorrect excess size reporting when updating scrollbars
and allows horizontal scrolling if IconView is resized smaller
than a single column
|
|
Let's just ignore the program header and always go with read+write.
Nothing else makes sense anyway.
|
|
Everything has been moved to dbgln() or other AK::Format-based APIs.
We can finally get rid of this old thing.
|
|
|
|
|
|
|
|
I'm not sure why we were injecting these debug messages into the
terminal output, but it makes a big mess for no benefit.
|
|
This gets us past a few more screens in vttest. :^)
|
|
This will allow us to react to things like DECCOLM.
|
|
|
|
|
|
Putting the little documentation comment about what each VTxxx control
function does in the header allows them to be picked up by IDE's.
|
|
|
|
The C++ LanguageServer can now find the matching declaration for
variable names, function calls, struct/class types and properties.
When clicking on one of the above with Ctrl pressed, HackStudio will
ask the language server to find a matching declaration, and navigate
to the result in the Editor. :^)
|
|
As part of the position information, we now also store the filename the
ASTNode belongs to.
|
|
|
|
This extends the "navigate to include" feature to also display
identifiers as clickable when they're hovered over while left control
is pressed.
|
|
Each segment of the breadcrumb bar now shows the path it represents.
|
|
|
|
AbstractView doesn't actually do anything with them anyway, but they
would get swallowed by the cursor logic and not bubble up the widget
parent chain.
|
|
This makes the shortcuts actually work since unparented actions are
considered application-global, and we disable application-global
shortcuts while a modal dialog (like FilePicker) is up. This is pretty
counter-intuitive so I think there's room for API improvement here
but let's at least make Alt+Up work in FilePicker for now. :^)
|
|
|
|
|
|
|
|
|
|
|
|
This is now consistent with the other dialog classes.
|
|
The overhead from spawning a new ImageDecoder for every decoding job is
way too large and causing other problems as well (#5421)
Let's keep the same decoder open and reuse it as long as it's working.
|
|
If the ImageDecoder service crashes while decoding an image for us,
we now recover gracefully and simply return null.
This shields the browser from bugs in our image decoders.
|
|
Instead of asserting that the peer responds successfully, this API
allows for the peer to die/crash/whatever happens on the other side
while handling a synchronous request.
This will be useful when using process separation to parse untrusted
data from the web.
|