Age | Commit message (Collapse) | Author |
|
"Records" in the spec are basically C++ classes, so let's drop this
mouthful of a suffix.
|
|
|
|
This struct was too small on x86_64, but setjmp() would happily write
past the end of it.
This makes `test-js` run to completion on x86_64 :^)
|
|
|
|
|
|
|
|
Calling negate() on a big integer does not make it negative, but
rather flips its sign, so this was not actually acting as an OR.
|
|
|
|
|
|
|
|
This ensures we dont divide by zero when checking for valid alignment
values.
|
|
|
|
These were unnecessarily complicated.
|
|
|
|
|
|
|
|
The FontSettings widget now uses background_role instead of
background_color to ensure that it displays properly independently of
the active system theme.
|
|
These properties allow GML files to specify a Gfx::ColorRole instead of
a color, so that the effective color of the Widget is resolved using the
system theme.
|
|
When running QEMU on windows, the `-s` does not work, and causes QEMU to
crash, you can now use the environment variable to disable that option.
|
|
The existing check only detects WSL1, this adds a new check which also
detects WSL2.
|
|
|
|
|
|
Defined by https://tc39.es/ecma262/#sec-ordinaryfunctioncreate step #17
and by https://tc39.es/ecma262/#sec-createbuiltinfunction step #6.
|
|
This is equivalent to 58d6a2d0192b7860ecb2edb4aa5d36b389213a15 but for
the left shift operation.
|
|
|
|
This is not guaranteed to work at all
|
|
|
|
|
|
|
|
When calculating the horizonal size of a section in
`HeaderView::visible_section_range()`, the horizonal padding is now
correctly taken into account.
This fixes header missalignment issues in Spreadsheet, SystemMonitor
and maybe also the playlist tab of SoundPlayer
closes #8268
|
|
This changes the previously static s_debug_info_cache to a member
variable. This is required so the cache is not kept alive if the
Backtrace object is destroyed.
Previously, the cache object would keep alive MappedFile objects and
other data, resulting in CrashReporter and CrashDaemon using more than
100 MB of memory even after the Backtrace objects have been destroyed
(and the data is thus no longer needed). This was especially the case
when handling crashes from Browser (due to libweb.so and libjs.so).
Due to this change, object_info_for_region has been promoted to a
instance method. It has also been cleaned up somewhat.
|
|
They're not yet properly supported.
|
|
The pthread_exit() function doesn't return and is marked as such.
|
|
These were already properly aligned (as far as I can tell).
|
|
|
|
Starting usermode threads doesn't currently work on x86_64. With this
stubbed out we can get text mode to boot though.
|
|
|
|
Currently, the DOM Inspector stores a numeric ID for each DOM node. This
is used to look up the data for that node in the JSON representation of
the DOM. The method to do this search performs a depth-first search
through the JSON value, and is invoked quite frequently.
Instead, we can just store a pointer to the JSON value in the index, and
avoid this search altogether. This is similar to how the IPWV stores a
pointer to the DOM node.
|
|
To improve the performance of the DOM Inspector when the Browser is run
in multi-process mode, do not create copies of the JSON values sent via
IPC when searching for a model index. Methods that are guaranteed to
return a value now return a reference. Methods that do not have such a
guarantee return a pointer (rather than an Optional, because Optional
cannot hold references).
The DOM Inspector performs well at first, but will start lagging again
once the tree is expanded a few nodes deep and/or with many nodes
visible in the tree.
|
|
Specifically, we immediately return an empty string when `this` is an
empty string, instead of wasting time in a loop doing nothing N times.
|
|
Specifically, we now cast to a u32 instead of an i32, as well as use
the validity check required by the specification. The current
constructor is still quite far from the specification, as we directly
set the indexed properties' length instead of going through the Array's
overriden DefineOwnProperty. (and as a result the checks imposed by the
ArraySetLength abstract operation)
|
|
When the type is guaranteed to be known, there's no need to use RTTI.
|
|
|
|
|
|
|
|
|
|
This avoids construction of LexicalPath objects.
|
|
|
|
This moves the path canonicalization from the LexicalPath constructor to
canonicalized_path. This allows canonicalized path to no longer
construct a LexicalPath object and initialize all its member variables.
|
|
This removes the default constructor of LexicalPath, and subsequently
modifies all its users to accommodate the change.
|