summaryrefslogtreecommitdiff
path: root/Userland/Libraries
AgeCommit message (Collapse)Author
2021-10-20LibWeb: Add missing headersBen Wiederhake
2021-10-20LibJS: Add missing header in EnvironmentCoordinate.hBen Wiederhake
2021-10-20LibC: Add missing header in search.hBen Wiederhake
2021-10-19LibWeb: Use the correct initial value for the CSS 'align-items' propertyAndreas Kling
2021-10-19LibWeb: Make computed opacity always availableAndreas Kling
No need to store opacity as Optional<float> as there's always a value (and the default initial value is 1.)
2021-10-19LibWeb: Make computed flex-grow and flex-shrink always availableAndreas 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-19LibWeb: Add FlexFormattingContext to the forwarding headerAndreas Kling
2021-10-19LibWeb: 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-19LibWeb: Add fast_is<T>() for SVGBox and SVGPathBoxAndreas Kling
2021-10-19LibWeb: Distinguish between integer and float in NumericStyleValueSam Atkins
We have this information when parsing, and some properties specifically only allow integers, so it makes sense to keep that around.
2021-10-19LibCore: Avoid buffer overrun when invoking crypt() with a SecretStringTimothy 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-19LibCore: Change Account::set_password to take a SecretStringTimothy 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-19LibWeb: Don't assume we hit a layout node when handling mousedown eventsAndreas Kling
Regression from the introduction of CSS pointer-events in ec43f7a2b0840a97c6d093066750dd28840d9587.
2021-10-19LibWeb: Add Event.eventPhase constantsLuke Wilde
2021-10-18LibJS: Convert Value operator AOs to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert is_loosely_equal() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert is_less_than() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert Value::get() to ThrowCompletionOrIdan Horowitz
2021-10-18LibWeb: Implement the Element classList attributeTimothy Flynn
And ensure it is updated (if it exists) when the 'class' attribute is changed.
2021-10-18LibWeb: Implement DOMTokenList for managing space-separated tokens listsTimothy Flynn
DOMTokenList is used as the return type of, e.g., the Element.classList property.
2021-10-18LibJS: Convert PrototypeObject::typed_this_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert PrototypeObject::typed_this_object() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert PrototypeObject::this_object() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert this_symbol_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert this_string_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert this_number_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert this_bigint_value() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Convert to_integer_or_infinity() to ThrowCompletionOrLinus Groh
2021-10-18LibJS: Remove a bunch of forgotten exception checks after TRY_OR_DISCARDLinus Groh
Not quite sure how that happened :^)
2021-10-18LibWeb: 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-18LibWeb: Make 'auto' LengthStyleValues return 'auto' identifierSam 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-18LibWeb: Use east const in StyleValue.{h,cpp}Sam Atkins
2021-10-18LibWeb: Update <object> style on resource load/failureAndreas Kling
2021-10-18LibWeb: Update <img> style on resource load/failureAndreas Kling
2021-10-18LibWeb: Coalesce nested repaint requests instead of swallowing themAndreas 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-18LibWeb: Only update layout if actually needed when scrolling to anchorAndreas Kling
2021-10-18LibWeb: Weakly store NamedNodeMap's & Attribute's associated ElementTimothy 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-17LibSymbolication: Skip source position calculation if requestedRodrigo 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-18LibJS: Convert to_index() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_length() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_u8_clamp() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_u8() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_i8() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_u16() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_i16() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_u32() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_i32() to ThrowCompletionOrIdan Horowitz
2021-10-18LibJS: Convert to_number() to ThrowCompletionOrIdan Horowitz
2021-10-17LibGL: Implement `glIsEnabled()`Jelle Raaijmakers
2021-10-17LibGL: Implement disabling GL_FOGJelle Raaijmakers