summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2022-04-06LibGUI: Register AbstractTableView.column_headers_visiblekleines Filmröllchen
This was used before by SystemMonitor but not actually registered.
2022-04-06LibGUI: Implement column_headers_visible in AbstractTableViewkleines Filmröllchen
This was declared but not defined. :yakfusion:
2022-04-06LibWeb: Determine intrinsic flex container size from content-sizeAndreas Kling
When running the min-content and max-content sizing algorithms and the target box creates a flex formatting context, we don't need to measure its children. FFC has already assigned the content_width and content_height values, so we just need to pick those up from the container's formatting state.
2022-04-06LibCore+Base: Hide empty options sections in manpagessin-ack
2022-04-06LibCore+Base: Add way to hide ArgsParser opt.s from specific usage textssin-ack
This adds the ability to hide certain options from certain help texts. `--complete` is always hidden, whereas `--help` and `--version` are hidden from Markdown help text only. Note that in all cases these three options are hidden from the short usage line.
2022-04-06LibWeb: Add basic constructor/prototype to exotic objectsIgor Pissolati
2022-04-06AnalogClock: Keep default alpha hit thresholdAli Chraghi
2022-04-06LibGL+LibGPU+LibSoftGPU: Load SoftGPU driver dynamicallyStephan Unverwerth
This loads libsoftgpu.so during GLContext creation and instantiates the device class which is then passed into the GLContext constructor.
2022-04-06LibGL+LibGPU+LibSoftGPU: Add virtual base class for devicesStephan Unverwerth
This adds a virtual base class for GPU devices located in LibGPU. The OpenGL context now only talks to this device agnostic interface. Currently the device interface is simply a copy of the existing SoftGPU interface to get things going :^)
2022-04-06LibGL+LibGPU+LibSoftGPU: Add virtual base class for ImagesStephan Unverwerth
This introduces a new device independent base class for Images in LibGPU that also keeps track of the device from which it was created in order to prevent assigning images across devices.
2022-04-06LibGPU+LibSoftGPU: Move RasterizerOptions into LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move Vertex.h to LibGPUStephan Unverwerth
2022-04-06LibGPU+LibSoftGPU: Move LightModelParameters into LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move TexCoordGenerationConfig into LibGPUStephan Unverwerth
2022-04-06LibGPU+LibSoftGPU: Move RasterPosition into its own header in LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move StencilConfiguration.h to LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move Material.h to LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move Light.h to LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move SamplerConfig to LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move ImageDataLayout.h to LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move ImageFormat.h to LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move Enums.h to LibGPUStephan Unverwerth
2022-04-06LibGL+LibGPU+LibSoftGPU: Move DeviceConfig to LibGPUStephan Unverwerth
This introduces a new abstraction layer, LibGPU, that serves as the usermode interface to GPU devices. To get started we just move the DeviceConfig there and make sure everything still works :^)
2022-04-06LibWeb: Implement basic intrinsic sizing algorithms for flex containersAndreas Kling
This patch adds support for MinContent and MaxContent layout to FFC. This means that an FFC can now calculate intrinsic sizes for the flex container, to be used by the parent formatting context. There are some FIXME's as usual, but this already works on basic things.
2022-04-05LibWeb: Add XMLHttpRequest::open() overloadKenneth Myhra
This adds the XMLHttpRequest::open(String, String, bool, String, String) overload. The following FIXMEs has been implemented: - If method is not a method, then throw a "SyntaxError" DOMException. - If the username argument is not null, set the username given parsedURL and username. - If the password argument is not null, set the password given parsedURL and password. - Set this’s synchronous flag if async is false; otherwise unset this’s synchronous flag. Spec comments has also been updated.
2022-04-05Revert "WebContent: Use ConsoleGlobalObject for the console's global object :^)"Andreas Kling
This reverts commit 8296dd995562a0233dcc75d4f59621f60dd0c77d.
2022-04-05WindowServer+LibGUI: Notify windows when their maximized state changesAndreas Kling
Previously, GUI::Window::is_maximized() had to make a synchronous IPC request to WindowServer in order to find out if the window was indeed maximized. This patch removes the need for synchronous IPC by instead pushing the maximization state to clients when it changes. The motivation for this change was that GUI::Statusbar was checking if the containing window was maximized in its resize_event(), causing all windows with a statusbar to block on sync IPC *during* resize. Browser would typically block for ~15 milliseconds here every time on my machine, continuously during live resize.
2022-04-05WebContent: Cancel pending paint requests when removing a backing storeAndreas Kling
If there are pending paint requests waiting to be processed when the client asks us to remove a backing store, we now prune them from the request queue. This avoids doing completely wasted painting work while resizing the browser window. :^)
2022-04-05WebContent: Use ConsoleGlobalObject for the console's global object :^)Sam Atkins
Seems like this got missed when ESOs were implemented. Now we can use `$0` again!
2022-04-05Utilities: Update arp to use newer APIsbrapru
Updates the arp command to use Core::System for the socket and ioctl calls. Updates command line arguments to StringView.
2022-04-05Utilities: Pledge inet in arp commandbrapru
Previously the arp command would crash when trying to set/delete from the table.
2022-04-05LibJS: Actually generate a lexical env for SwitchStatement in BCAli Mohammad Pur
We had code for this in ScopeNode, but that function was never called for a SwitchStatement. This fixes a bunch of scoping tests for switch.
2022-04-05LibJS: Use InitializeOrSet to initialize function declarations in BCAli Mohammad Pur
A function may be redefined, in which case the existing binding is expected to be reused.
2022-04-05LibJS: Make Handle<Value>::is_null() also consider the contained valueAli Mohammad Pur
Previously this would've said `make_handle(Value(1234))` is null, as it did not contain a cell (but rather a plain Value), which made throwing primitives spin forever in BC mode.
2022-04-05js: Print the accumulator instead of the returned value in BC modeAli Mohammad Pur
The REPL is supposed to show the last value (and not the _returned_ value), so use the accumulator register as the 'value'.
2022-04-05js: Convert non-UTF-8 encoded files to UTF-8 before parsingTimothy Flynn
2022-04-04LibWeb: Make default text-decoration-thickness a fraction of font heightKarol Kosek
Previously the default was always 1px, which didn't look great on higher font sizes. This changes the default thickness to one-tenth to the font height. The one-tenth part was chosen arbitrarily, but I think it does the job pretty well. :^)
2022-04-04LibJS: Fix typo in a variable name in get_substitution()Linus Groh
2022-04-04LibJS: Fix some clang-tidy warnings in TemporalLinus Groh
- Remove unused declarations of removed functions - Remove unused includes - Declare pointer values as `auto*`
2022-04-04LibJS: Use MUST() instead of TRY() for two infallible Temporal AOsLinus Groh
These were incorrectly used during the conversion from exception checks to completions.
2022-04-04LibWeb: Use correct global object in legacy factoriesIgor Pissolati
2022-04-04PDFViewer: Propagate more errorsMatthew Olsson
2022-04-04PDFViewer: Autosize page labelMatthew Olsson
2022-04-04LibGUI: Add optional autosize paddingMatthew Olsson
2022-04-04PDFViewer: Respect page navigation features in multi-page modeMatthew Olsson
This includes the text box and the page up/down arrows.
2022-04-04PDFViewer: Support a continuous page view modeMatthew Olsson
2022-04-04PDFViewer: Add page mode optionMatthew Olsson
2022-04-04PDFViewer: Don't change pages on horizontal scrollMatthew Olsson
This was a bit jarring, and didn't align with the behavior of other PDF renderers.
2022-04-04PDFViewer: Clear rendered page cache on application resizeMatthew Olsson
When resizing the application, the pages are expected to grow or shrink proportionally. This means that after a resize, we need to rerender every page.
2022-04-04LibWeb: Add legacy Option factory functionIgor Pissolati