Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 :^)
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
This fixes an error where we would generate an empty 'if' statement body
if argument_check was empty.
|
|
Previously this retrieved argument count from Function::length() which
did not return the correct count in all situations.
|
|
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.
|
|
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.
|
|
Supplement Lucidity Regular font
|
|
2605, 2639, 263A, 2640, 2669
https://www.unicode.org/charts/PDF/U2600.pdf
|
|
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
|
|
0186, 0197, 019A, 01A8, 01C0, 01C1, 01C2, 01C3, 01D0, 020B,
022F, 024D
https://www.unicode.org/charts/PDF/U0180.pdf
|
|
012B, 0131, 0140, 017F
https://www.unicode.org/charts/PDF/U0100.pdf
|
|
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
|
|
1F389 https://www.unicode.org/charts/PDF/U1F300.pdf
|
|
This reverts commit 8296dd995562a0233dcc75d4f59621f60dd0c77d.
|
|
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.
|
|
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. :^)
|
|
|
|
Seems like this got missed when ESOs were implemented. Now we can use
`$0` again!
|
|
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.
|
|
Let's not have a way to grab at the RegionTree from outside of MM.
|
|
This didn't need to be in RegionTree, and since it's specific to kernel
VM anyway, let's move it to MemoryManager.
|
|
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.)
|
|
Updates the arp command to use Core::System for the socket and
ioctl calls.
Updates command line arguments to StringView.
|
|
Previously the arp command would crash when trying to set/delete from
the table.
|
|
Let's encapsulate looking up regions so clients don't have to dig into
RegionTree internals.
|
|
This allows clients to remove a region from the tree without reaching
into the RegionTree internals.
|
|
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.
|
|
A function may be redefined, in which case the existing binding is
expected to be reused.
|
|
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.
|
|
The REPL is supposed to show the last value (and not the _returned_
value), so use the accumulator register as the 'value'.
|
|
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.
|
|
Since there is no separate virtual range allocator anymore, this is
no longer used for anything.
|
|
|
|
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.
|
|
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. :^)
|
|
|
|
|