Age | Commit message (Collapse) | Author |
|
|
|
Do this by converting two Function members into virtual functions:
- legacy_pre_activation_behavior
- legacy_cancelled_activation_behavior
|
|
Length values: auto, 0px, 1px
Color values: black, white, transparent
|
|
After style computation, every StyleProperties has a value for every
PropertyID. Given this, it's simpler, faster and less memory-heavy to
use an Array instead of a HashMap. :^)
|
|
This is very similar to the change that was done in 32053e8, except it
turned out that the new limit of 50 iterations was not enough when
testing on bare metal - most IO operations would succeed in the first or
second iteration, but two of them took 140 and 150 iterations
respectively.
Increase the limit from 50 to 250 to account for this, and have some
additional headroom.
|
|
This caused an initialization failure of the i8042 when I tested on
bare metal. We cannot entirely get rid of this method as QEMU for
example doesn't indicate the existence of an i8042 via ACPI, but we can
get away with only doing the manual probing if ACPI is disabled or we
didn't get a 'yes' from it.
Increasing the number of maximum loops did eventually lead to a
successful return from the function, but would later fail the actual
self test.
|
|
This variable was originally called USE_MOLD_LINKER, but it was changed
to ENABLE_MOLD_LINKER during review to be consistent with other
configuration options. I branched off the commits that added RELR
support before this change, and I failed to update the variable name
there.
|
|
They are used by fonts.serenityos.net title :^)
Codepoints added: U+1F800-U+1F80B, U+1F810-U+1F813
PDF: https://www.unicode.org/charts/PDF/U1F800.pdf
|
|
According to its manpage genext2fs tries to create the file system with
as few inodes as possible. This causes SerenityOS to fail at boot time
when creating temporary files.
|
|
This allows Lagom to be built successfully for Apple M1.
Fixes #12644.
|
|
This adds a small tooltip in the browser showing the size of the
element that currently selected in the inspector view. This allows
for easier debugging since you dont have to dump the layout tree :^).
|
|
|
|
Currently only "auto" and "pixelated" values are supported.
|
|
We now make sure that a VERIFY will fail if Clipboard::the() is called
after the destruction of its static-local variables.
|
|
Previously, we stored a RefPtr to the HackStudioWidget in the
global scope.
This led to a destruction-order related use-after-free bug, where the
global HackStudioWidget instance destructed after the static-local
GUI::Clipboard instance.
When HackStudioWidget destructs it attempts to use the global Clipboard
instance, which had already been freed.
This caused the Hack Studio process to spin endlessly on exit because
it attempted to access the HashTable of the freed Clipboard object.
We now store a global WeakPtr to the HackStudioWidget instead, and
limit the lifetime of the object to the main function scope.
|
|
Arguments larger than 32bit need to be passed as a pointer on a 32bit
architectures. sys$profiling_enable has u64 event_mask argument,
which means that it needs to be passed as an pointer. Previously upper
32bits were filled by garbage.
|
|
We now pass along the toolchain type to all subcommands. This ensures
that gdb will load the correct debug information for kernels compiled
with Clang, and the following warning won't appear with the GNU
toolchain:
> WARNING: unknown toolchain 'gdb'. Defaulting to GNU.
> Valid values are 'Clang', 'GNU' (default)
|
|
|
|
Use an opaque default color for BarewordLiteral in
Syntax Highlighter to avoid transparent barewords.
|
|
|
|
Make sure to refresh the contents of text-<input> when pressing
backspace or delete key.
The methods 'handle_insert()' and 'handle_delete()' already had the call
to 'm_browsing_context.active_document()->force_layout()' so let us also
add it to 'handle_delete_character_after()'.
|
|
This let's CI detect when the changes include incorrect GML formatting.
We now also print a message to make it obvious why CI failed.
|
|
|
|
|
|
The JS behaviour of exponentiation on two number typed values is
not a simple matter of forwarding to ::pow(double, double). So,
this factors out the Math.pow logic to allow it to be shared with
Value::exp.
|
|
Benefits:
- Braced-initialization prevents unknown narrowing conversions.
- Using designated initializers will result in a compiler error when a
member is skipped or forgotten.
|
|
The directory headers have some common code for reading.
|
|
Adds functions to get range of non-empty cells in a direction.
|
|
Having almost everything point to "3. The WebSocket interface" is kind
of pointless.
|
|
WebSockets got moved from the HTML standard to their own, the new
WebSockets Standard (https://websockets.spec.whatwg.org).
Move the IDL file and implementation into a new WebSockets directory and
C++ namespace accordingly.
|
|
|
|
We can't access LengthPercentage::length() before verifying that it's
indeed a length.
|
|
|
|
|
|
Now that calc() is also resolved in to_px(), code in the form
`foo.resolved(bar).to_px(bar)` can be simplified to `foo.to_px(bar)`.
|
|
to_px() has the layout node available, so let's use it.
|
|
Nobody makes undefined Lengths now, (although actually removing
Undefined will come in a later commit) so we can remove this parameter,
and `resolved_or_auto()`/`resolved_or_zero()`.
|
|
|
|
|
|
|
|
Depending on the type of the calc() expression, the percentage_basis has
to be the same dimension type. Several places were already passing `
{}` for this, so let's make that an empty Variant instead of an
undefined Length. :^)
|
|
|
|
|
|
Just for completeness.
|
|
The only option leaved as TODO is ColorScheme.
|
|
This allows omitting HTTP scheme in home URLs.
|
|
|
|
This is an editorial change to the spec to strongly define this record:
https://github.com/tc39/ecma262/commit/85d910c
|
|
Also add tests for all static, setter and getter cases.
|
|
Although this will fail with a ReferenceError it should pass the parser
and only fail if actually assigned to.
|