summaryrefslogtreecommitdiff
path: root/Userland/Libraries
AgeCommit message (Collapse)Author
2022-04-06LibX86: Add CMPXCHG8B, RDRAND and RDSEEDHendiadyoin1
With this we can run following script with no errors: ```sh for /usr/lib/*.so { disasm "$it" > /dev/zero } ```
2022-04-06LibX86: Support SSE2 :^)Hendiadyoin1
This allows disassembly of binaries with SSE2 instructions in them. SSE2 also extends all MMX instructions without affecting the mnemonic, therefore these are just directed to the same function for now. The UserspaceEmulator does not know this as of this commit.
2022-04-06LibX86: Mark MMX instructions as SSE instructionsHendiadyoin1
SSE2 expands on the same opcodes as MMX, so we have to mutate on prefix here.
2022-04-06LibX86: Correct CVTSS2SI's register signatureHendiadyoin1
This was annotated the wrong way around.
2022-04-06LibWeb: Rename compute_intrinsic_height() => calculate_auto_height()Andreas Kling
Change "compute" to "calculate" to make clearer that this is unrelated to the CSS "computed height" concept. Change "intrinsic" to "auto" to make clearer that this is not the same as the intrinsic min-content and max-content sizing calculations.
2022-04-06LibWeb: Remove incorrect comment from FFC flex item cross sizingAndreas Kling
2022-04-06AK+Userland: Rename Array::front/back to first/lastSam Atkins
This is the name that is used for every other collection type so let's be consistent.
2022-04-06LibGUI: Don't stringify non-textlike data in TreeView's tree columnkleines Filmröllchen
This would previously cause silly things like [GUI::Icon] to appear if a non-textlike column was used as the tree column (like, in this example, an icon column). Let's just not write anything instead.
2022-04-06LibGUI: Add is_toggled getter for TreeViewkleines Filmröllchen
This has safer fallbacks than toggle_index, because we want to be able to call it on indices that don't have children.
2022-04-06LibGUI: Associate model index metadata directly with the model indexkleines Filmröllchen
This was using internal_data beforehand, which relies on the internal data to be distinct for different model indices. That's not the case for example for SortingProxyModel. Using the model index directly makes tree expansion work properly when using a tree table widget with a SortingProxyModel.
2022-04-06LibGUI: Register many properties of AbstractViewkleines Filmröllchen
2022-04-06LibGUI: Register should_fill_selected_rows for GML in TreeViewkleines Filmröllchen
2022-04-06LibGUI: Delegate the tree column in SortingProxyModelkleines Filmröllchen
This was never properly delegated to the source model, so the tree column would just always be zero.
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-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-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-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-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-04LibGUI: Add optional autosize paddingMatthew Olsson
2022-04-04PDFViewer: Support a continuous page view modeMatthew Olsson
2022-04-04LibWeb: Add legacy Option factory functionIgor Pissolati
2022-04-04LibWeb: Add spec comments to ImageConstructor::construct()Igor Pissolati