Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-20 | LibWeb: Add missing headers | Ben Wiederhake | |
2021-10-20 | LibJS: Add missing header in EnvironmentCoordinate.h | Ben Wiederhake | |
2021-10-20 | LibC: Add missing header in search.h | Ben Wiederhake | |
2021-10-19 | LibWeb: Use the correct initial value for the CSS 'align-items' property | Andreas Kling | |
2021-10-19 | LibWeb: Make computed opacity always available | Andreas Kling | |
No need to store opacity as Optional<float> as there's always a value (and the default initial value is 1.) | |||
2021-10-19 | LibWeb: Make computed flex-grow and flex-shrink always available | Andreas Kling | |
These values are not allowed to be absent (auto/none/etc) so we don't need to use Optional<float> for them. This simplifies some things. | |||
2021-10-19 | LibWeb: Add FlexFormattingContext to the forwarding header | Andreas Kling | |
2021-10-19 | LibWeb: Remove already-fixed FIXME in creates_block_formatting_context() | Andreas Kling | |
We're already creating a BFC for children of inline-flex boxes. | |||
2021-10-19 | LibWeb: Add fast_is<T>() for SVGBox and SVGPathBox | Andreas Kling | |
2021-10-19 | LibWeb: Distinguish between integer and float in NumericStyleValue | Sam Atkins | |
We have this information when parsing, and some properties specifically only allow integers, so it makes sense to keep that around. | |||
2021-10-19 | LibCore: Avoid buffer overrun when invoking crypt() with a SecretString | Timothy Flynn | |
For example, consider the following SecretString construction: String foo = "foo"; auto ss = SecretString::take_ownership(foo.to_byte_buffer()); The ByteBuffer created by to_byte_buffer() will not contain the NUL terminator. Therefore, the value returned by SecretString::characters will not be NUL-terminated either. Currently, the only use of SecretString is to pass its character data to crypt(), which requires a NUL-terminated string. To ensure this cannot result in a buffer overrun, make SecretString append a NUL terminator to its buffer if there isn't one already. | |||
2021-10-19 | LibCore: Change Account::set_password to take a SecretString | Timothy Flynn | |
This matches the API of Account::authenticate. The only caller to this API is the passwd utility, which already has the new password stored as a SecretString. | |||
2021-10-19 | LibWeb: Don't assume we hit a layout node when handling mousedown events | Andreas Kling | |
Regression from the introduction of CSS pointer-events in ec43f7a2b0840a97c6d093066750dd28840d9587. | |||
2021-10-19 | LibWeb: Add Event.eventPhase constants | Luke Wilde | |
2021-10-18 | LibJS: Convert Value operator AOs to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert is_loosely_equal() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert is_less_than() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert Value::get() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibWeb: Implement the Element classList attribute | Timothy Flynn | |
And ensure it is updated (if it exists) when the 'class' attribute is changed. | |||
2021-10-18 | LibWeb: Implement DOMTokenList for managing space-separated tokens lists | Timothy Flynn | |
DOMTokenList is used as the return type of, e.g., the Element.classList property. | |||
2021-10-18 | LibJS: Convert PrototypeObject::typed_this_value() to ThrowCompletionOr | Linus Groh | |
2021-10-18 | LibJS: Convert PrototypeObject::typed_this_object() to ThrowCompletionOr | Linus Groh | |
2021-10-18 | LibJS: Convert PrototypeObject::this_object() to ThrowCompletionOr | Linus Groh | |
2021-10-18 | LibJS: Convert this_symbol_value() to ThrowCompletionOr | Linus Groh | |
2021-10-18 | LibJS: Convert this_string_value() to ThrowCompletionOr | Linus Groh | |
2021-10-18 | LibJS: Convert this_number_value() to ThrowCompletionOr | Linus Groh | |
2021-10-18 | LibJS: Convert this_bigint_value() to ThrowCompletionOr | Linus Groh | |
2021-10-18 | LibJS: Convert to_integer_or_infinity() to ThrowCompletionOr | Linus Groh | |
2021-10-18 | LibJS: Remove a bunch of forgotten exception checks after TRY_OR_DISCARD | Linus Groh | |
Not quite sure how that happened :^) | |||
2021-10-18 | LibWeb: Ensure parent is not null in DOMTreeModel::index_for_node() | Dana Burkart | |
Fix a crash when inspecting empty pages or areas of the page with no elements. | |||
2021-10-18 | LibWeb: Make 'auto' LengthStyleValues return 'auto' identifier | Sam Atkins | |
I think I broke this in my previous StyleValue clean-up. This prevented properties like `foo: auto;` from parsing, if they did not accept Lengths. | |||
2021-10-18 | LibWeb: Use east const in StyleValue.{h,cpp} | Sam Atkins | |
2021-10-18 | LibWeb: Update <object> style on resource load/failure | Andreas Kling | |
2021-10-18 | LibWeb: Update <img> style on resource load/failure | Andreas Kling | |
2021-10-18 | LibWeb: Coalesce nested repaint requests instead of swallowing them | Andreas Kling | |
Previously we would ignore repaint requests that came in via OOPWV while the WebContent process was busy with a previous paint request. This caused some easy-to-trigger bugs where the painted content would be "one paint behind", especially noticeable when scrolling. | |||
2021-10-18 | LibWeb: Only update layout if actually needed when scrolling to anchor | Andreas Kling | |
2021-10-18 | LibWeb: Weakly store NamedNodeMap's & Attribute's associated Element | Timothy Flynn | |
This is similar to how Gecko avoids a reference cycle, where both the NamedNodeMap and Attribute would otherwise store a strong reference to their associated Element. Gecko manually clears stored raw references when an Element is destroyed, whereas we use weak references to do so automatically. Attribute's ownerElement getter and setter are moved out of line to avoid an #include cycle between Element and Attribute. | |||
2021-10-17 | LibSymbolication: Skip source position calculation if requested | Rodrigo Tobar | |
Calculating source code positions can be expensive, and some applications (like SystemMonitor's Stack tab) don't even show this information, making these calculations wasteful. This commit adds a new enumerated flag to the `symbolicate` functions for callers to specify whether source positions should be included in the results; it defaults to "Yes" to preserve old behavior for existing applications. | |||
2021-10-18 | LibJS: Convert to_index() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_length() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_u8_clamp() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_u8() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_i8() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_u16() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_i16() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_u32() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_i32() to ThrowCompletionOr | Idan Horowitz | |
2021-10-18 | LibJS: Convert to_number() to ThrowCompletionOr | Idan Horowitz | |
2021-10-17 | LibGL: Implement `glIsEnabled()` | Jelle Raaijmakers | |
2021-10-17 | LibGL: Implement disabling GL_FOG | Jelle Raaijmakers | |