summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2021-02-21WindowServer: Allow changing frameless state after a window is createdTom
2021-02-21LibVT: Don't paint selection with opacityLinus Groh
Fixes #5442.
2021-02-21LibLine: Move the search editor exactly after the last lineAnotherTest
Previously, we'd always put it right after the prompt.
2021-02-21LibLine: Make clear_lines() work when only clearing the current lineAnotherTest
2021-02-21LibLine: Update the lazy refresh data and flags in some more placesAnotherTest
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.
2021-02-21LibGUI: Let ScrollableWidget handle the wheel events of its ScrollBarsTom
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
2021-02-21LibELF: Fix build with ELF_IMAGE_DEBUGAndreas Kling
2021-02-21LibELF: Move DynamicObject::lookup_symbol() to DynamicLoaderAndreas Kling
Also simplify it by removing an unreachable code path.
2021-02-21LibELF: Make SymbolLookupResult::address a VirtualAddressAndreas Kling
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).
2021-02-21LibELF: Simplify DynamicObject::Symbol class a bitAndreas Kling
We no longer need the create_undefined() helper function. Also we don't need a member field for is_undefined().
2021-02-21LibELF: Make symbol lookup functions return Optional<Symbol>Andreas Kling
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.
2021-02-21LibELF: Remove "always bind now" global flagAndreas Kling
This looked like someone's forgotten debug mechanism.
2021-02-21LibELF+DynamicLoader: Rename DynamicObject::construct() => create()Andreas Kling
2021-02-21LibELF: Fix various clang-tidy warningsAndreas Kling
Remove a bunch of unused code, unnecessary const, and make some non-object-specific member functions static.
2021-02-20LibELF: Use StringView instead of "const char*" in dynamic linker codeAndreas Kling
There's no reason to use C strings more than absolutely necessary.
2021-02-20Run: Prevent printing [null] in case of empty history (#5433)Sameem Zahoor Taray
Pressing up-arrow or down-arrow with empty command history printed [null] in the text area. Fixes #5426
2021-02-20LibLine: Avoid refreshing the entire line when inserting at the endAnotherTest
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-20WindowServer: Improve small tooltips/windows shadows a bitTom
This fixes some artifacts with very small tooltip windows.
2021-02-20LibGUI: Always set tree column content width to widest open nodethankyouverycool
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.
2021-02-20LibGUI: Recheck size excesses when scrollbars become visiblethankyouverycool
Fixes edge cases in which hidden scrollbars could become visible and obscure content or fail to hide when no longer needed
2021-02-20LibGUI: Set IconView content width to actual content onlythankyouverycool
Fixes incorrect excess size reporting when updating scrollbars and allows horizontal scrolling if IconView is resized smaller than a single column
2021-02-20DynamicLoader: Always make .data segment read+writeAndreas Kling
Let's just ignore the program header and always go with read+write. Nothing else makes sense anyway.
2021-02-20AK+LibC: Remove dbgprintf() :^)Andreas Kling
Everything has been moved to dbgln() or other AK::Format-based APIs. We can finally get rid of this old thing.
2021-02-20LibVT: Oops, fix dbgln() invocation mistakeAndreas Kling
2021-02-20LibCpp: Replace dbgprintf() with outln()Andreas Kling
2021-02-20LibTLS: Replace dbgprintf() with dbgln()Andreas Kling
2021-02-20LibVT: Put "unimplemented escape" whining on debug logAndreas Kling
I'm not sure why we were injecting these debug messages into the terminal output, but it makes a big mess for no benefit.
2021-02-20LibVT: Implement switching between 80/132 column modes (DECCOLM)Andreas Kling
This gets us past a few more screens in vttest. :^)
2021-02-20Terminal+LibVT: Resize Terminal app window when requested by VTAndreas Kling
This will allow us to react to things like DECCOLM.
2021-02-20LibVT: Give proper names to remaining VTxxx control functionsAndreas Kling
2021-02-20LibVT: Give proper names to SD and SUAndreas Kling
2021-02-20LibVT: Move control function doc comments to Terminal.h headerAndreas Kling
Putting the little documentation comment about what each VTxxx control function does in the header allows them to be picked up by IDE's.
2021-02-20LibVT: Give proper names to SCOSC and SCORCAndreas Kling
2021-02-20LanguageServers/Cpp: Add 'FindDeclaration' capabilityItamar
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. :^)
2021-02-20LibCpp: Store filename in ASTNodesItamar
As part of the position information, we now also store the filename the ASTNode belongs to.
2021-02-20HackStudio: Always use relative paths when opening project filesItamar
2021-02-20HackStudio: Display identifiers as clickableItamar
This extends the "navigate to include" feature to also display identifiers as clickable when they're hovered over while left control is pressed.
2021-02-20FileManager: Set tooltips on the path breadcrumb barAndreas Kling
Each segment of the breadcrumb bar now shows the path it represents.
2021-02-20LibGUI: Allow setting a tooltip on BreadcrumbBar segmentsAndreas Kling
2021-02-20LibGUI: Ignore keydown events with Alt modifier in AbstractViewAndreas Kling
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.
2021-02-20LibGUI: Parent FilePicker toolbar buttons to the windowAndreas Kling
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. :^)
2021-02-20LibGUI: Use delegating constructors in GUI::ActionAndreas Kling
2021-02-20LibGUI: Tidy up Action constructors and factory functions a bitAndreas Kling
2021-02-20LibWeb: Move ExceptionOr bindings utils into own headerLinus Groh
2021-02-20LibWeb: Implement Window.prompt()Linus Groh
2021-02-20LibGUI: Set InputBox initial value to text_value stringLinus Groh
2021-02-20LibGUI: Swap order of InputBox value and parent window argsLinus Groh
This is now consistent with the other dialog classes.
2021-02-20LibWeb+LibImageDecoderClient: Reuse ImageDecoder service processAndreas Kling
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.
2021-02-20LibImageDecoderClient: Gracefully recover from decoder crashes :^)Andreas Kling
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.
2021-02-20LibIPC: Add Connection::send_sync_but_allow_failure()Andreas Kling
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.