summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-06Kernel: Improve the aarch64 kernel source files disk layoutJames Mintram
2022-04-06Ports: Update angband to 4.2.4Tim Schumacher
2022-04-05Ports: Update openttd to version 12.2Kevin Nobel
2022-04-05Ports: Update openttd-opensfx to version 1.0.3Kevin Nobel
2022-04-05Ports: Update openttd-opengfx to version 7.1Kevin Nobel
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-05LibWeb: Verify argument_check before generating if statementKenneth Myhra
This fixes an error where we would generate an empty 'if' statement body if argument_check was empty.
2022-04-05LibWeb: Get argument count from Function::parameters::size()Kenneth Myhra
Previously this retrieved argument count from Function::length() which did not return the correct count in all situations.
2022-04-05LibWeb: Add IDLGenerators::is_primitive()Kenneth Myhra
This adds the is_primitive() method as described in the Web IDL specification. is_primitive() returns true if the type is a bigint, boolean or numeric type.
2022-04-05Kernel: Make sys$mmap() round requested VM size to page size multipleAndreas Kling
This fixes an issue where File::mmap() overrides would fail because they were expecting to be called with a size evenly divisible by PAGE_SIZE.
2022-04-05Base: Add Lucidity Bold fontdjwisdom
Supplement Lucidity Regular font
2022-04-05Base: Add Miscellaneous Symbols to font Tinier Regular 5Lady Gegga
2605, 2639, 263A, 2640, 2669 https://www.unicode.org/charts/PDF/U2600.pdf
2022-04-05Base: Add Runic characters to font Tinier Regular 5Lady Gegga
16A2, 16A6, 16B1, 16B2, 16B3, 16B4, 16B7, 16B9, 16BE, 16BF, 16C1, 16C5, 16C6, 16C7, 16CA, 16CB, 16CC, 16CE, 16CF, 16D0, 16D2, 16D5, 16D6, 16DA, 16DC, 16DD, 16DF, 16E7, 16E8, 16E9, 16EB, 16EC, 16ED, 16F2, 16F7, 16F8 https://www.unicode.org/charts/PDF/U16A0.pdf
2022-04-05Base: Add Latin Extended-B to font Tinier Regular 5Lady Gegga
0186, 0197, 019A, 01A8, 01C0, 01C1, 01C2, 01C3, 01D0, 020B, 022F, 024D https://www.unicode.org/charts/PDF/U0180.pdf
2022-04-05Base: Add Latin Extended-A to font Tinier Regular 5Lady Gegga
012B, 0131, 0140, 017F https://www.unicode.org/charts/PDF/U0100.pdf
2022-04-05Base: Add C1 Controls and Latin-1 Supplement to font Tinier Regular 5Lady Gegga
00A1, 00A6, 00AC, 00AF, 00B0, 00B1, 00B2, 00B4, 00B5, 00B7, 00BA, 00BF, 00D6, 00D7, 00EC, 00ED, 00EE, 00EF, 00F6, 00F7, 00FC https://www.unicode.org/charts/PDF/U0080.pdf
2022-04-05Base: Add U+1F389 to font Katica Regular 10Lady Gegga
1F389 https://www.unicode.org/charts/PDF/U1F300.pdf
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-05Kernel: Protect Mutex's thread lists with a spinlockAndreas Kling
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-05Kernel: Don't unregister Region from RegionTree *before* unmapping itAndreas Kling
If we unregister from the RegionTree before unmapping, there's a race where a new region can get inserted at the same address that we're about to unmap. If this happens, ~Region() will then unmap the newly inserted region, which now finds itself with cleared-out page table entries.
2022-04-05Kernel: Remove MemoryManager::region_tree() accessorAndreas Kling
Let's not have a way to grab at the RegionTree from outside of MM.
2022-04-05Kernel: Move allocate_unbacked_region_anywhere() to MemoryManagerAndreas Kling
This didn't need to be in RegionTree, and since it's specific to kernel VM anyway, let's move it to MemoryManager.
2022-04-05Kernel: Move create_identity_mapped_region() to MemoryManagerAndreas Kling
This had no business being in RegionTree, since RegionTree doesn't track identity-mapped regions anyway. (We allow *any* address to be identity mapped, not just the ones that are part of the RegionTree's range.)
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-05Kernel: Add RegionTree::find_region_containing(address or range)Andreas Kling
Let's encapsulate looking up regions so clients don't have to dig into RegionTree internals.
2022-04-05Kernel: Add RegionTree::remove(Region&)Andreas Kling
This allows clients to remove a region from the tree without reaching into the RegionTree internals.
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-05Kernel: Take the RegionTree spinlock when inspecting tree from outsideAndreas Kling
This patch adds RegionTree::get_lock() which exposes the internal lock inside RegionTree. We can then lock it from the outside when doing lookups or traversal. This solution is not very beautiful, we should find a way to protect this data with SpinlockProtected or something similar. This is a stopgap patch to try and fix the currently flaky CI.
2022-04-05Kernel: Remove unused ShouldDeallocateVirtualRange parametersAndreas Kling
Since there is no separate virtual range allocator anymore, this is no longer used for anything.
2022-04-05js: Convert non-UTF-8 encoded files to UTF-8 before parsingTimothy Flynn
2022-04-05AK: Invalidate UTF-8 encoded code points larger than U+10ffffTimothy Flynn
On oss-fuzz, the LibJS REPL is provided a file encoded with Windows-1252 with the following contents: /ô¡°½/ The REPL assumes the input file is UTF-8. So in Windows-1252, the above is represented as [0x2f 0xf4 0xa1 0xb0 0xbd 0x2f]. The inner 4 bytes are actually a valid UTF-8 encoding if we only look at the most significant bits to parse leading/continuation bytes. However, it decodes to the code point U+121c3d, which is not a valid code point. This commit adds additional validation to ensure the decoded code point itself is also valid.
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-04Kernel: Add VERIFY_NOT_REACHED to aarch64 PageDirectory.cppJames Mintram
2022-04-04Kernel: Add VERIFY_NOT_REACHED to aarch64 locking functionsJames Mintram