Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-31 | LibWeb: Convert WebAssemblyTablePrototype funcs to ThrowCompletionOr | Idan Horowitz | |
2021-10-31 | LibWeb: Convert WebAssemblyMemoryPrototype funcs to ThrowCompletionOr | Idan Horowitz | |
2021-10-31 | LibWeb: Convert WebAssemblyInstancePrototype funcs to ThrowCompletionOr | Idan Horowitz | |
2021-10-31 | LibWeb: Convert WebAssemblyObject functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-31 | LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOr | Idan Horowitz | |
2021-10-31 | LibWeb: Make GlobalObject the first parameter of WebAssembly AOs | Idan Horowitz | |
Let's be consistent with the rest of LibJS (and the rest of the file). | |||
2021-10-31 | LibWeb: Convert all generated bindings to ThrowCompletionOr | Timothy Flynn | |
This also required converting URLSearchParams::for_each and the callback function it invokes to ThrowCompletionOr. With this, the ReturnType enum used by WrapperGenerator is removed as all callers would be using ReturnType::Completion. | |||
2021-10-31 | LibWeb: Convert the Navigator object to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibWeb: Convert the CSS namespace object to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibWeb: Convert the Window object to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibWeb: Convert the Location object to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibGUI: Support using a bitmap as override cursor | Marco Cutecchia | |
2021-10-31 | LibC: Add `labs()` | Jelle Raaijmakers | |
We defined it in `stdlib.h` but forgot to implement it. | |||
2021-10-31 | LibJS: Convert %IteratorPrototype% to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibJS: Convert ObjectConstructor to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibJS: Convert ObjectConstructor GetOwnPropertyKeys to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibJS: Convert GlobalObject to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibJS: Convert GlobalObject's Encode and Decode AOs to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibJS: Convert Object.prototype to ThrowCompletionOr | Timothy Flynn | |
2021-10-31 | LibELF: Store SSE registers in x86_64 PLT Trampoline | Peter | |
Save and restore XMM registers so userspace programs don't randomly lose values from calls. This fixes a crash in ScummVM. | |||
2021-10-30 | LibJS: Update spec comment in parse_temporal_time_zone_string() | Linus Groh | |
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/19b693c | |||
2021-10-30 | LibJS: Fix format_time_zone_offset_string() for negative offsets | Linus Groh | |
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/ec43be3 | |||
2021-10-30 | LibJS: Update parse_temporal_time_zone_string() substring bounds | Linus Groh | |
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/73b9fe3 | |||
2021-10-30 | LibPDF: Parser::parse_header() return false if remaining bytes is zero | Brendan Coles | |
2021-10-30 | LibJS: Implement Temporal.TimeZone.prototype.getPreviousTransition() | Linus Groh | |
2021-10-30 | LibJS: Implement Temporal.TimeZone.prototype.getNextTransition() | Linus Groh | |
2021-10-30 | LibJS: Implement Temporal.TimeZone.prototype.getPossibleInstantsFor() | Linus Groh | |
2021-10-30 | LibJS: Mark single argument BigInt() constructor as 'explicit' | Linus Groh | |
2021-10-30 | LibGUI: Focus next tab after closing active tab | Noah Haasis | |
Focus the next tab after closing the currently active tab. If the tab being closed is the last one then the new last tab is active. | |||
2021-10-30 | LibJS: Ensure make_day()'s temporary Core::DateTime is treated as UTC | Linus Groh | |
DateTime::create() and subsequently DateTime::set_time() uses mktime() internally to ensure out-of-range input values still result in a valid date (Jan 32 -> Feb 1 etc.). This however also means that the input is treated as local time, and then shifted to UTC accordingly for the returned time_t - it is however already in UTC in this case! The temporary solution is simply to set the "TZ" environment variable to "UTC" and back after create(). The proper solution is probably to have better timezone support in Core::DateTime. This should only affect Lagom, as serenity itself has no timezone support yet and always assumes UTC. | |||
2021-10-30 | LibJS: Fix off-by-one in make_day()'s temporary Core::DateTime | Linus Groh | |
Just like in the previous commit, the day value of Core::DateTime is one-based, not zero based. Noticed while implementing a new Temporal function, this likely would've been caught earlier if we'd also use it for the Date API (we don't). | |||
2021-10-30 | LibCore: Fix off-by-one in DateTime::{create,set_time} day default arg | Linus Groh | |
Just like month, the day value here is one-based. This resulted in the following situation, which is obviously unexpected: Core::DateTime::create(1970); // 1970-01-00 -> 1969-12-31 | |||
2021-10-30 | LibHTTP: Fix logic error leading to buffer over-read | Daniel Bertalan | |
When we receive HTTP payloads, we have to ensure that the number of bytes read is *at most* the value specified in the Content-Length header. However, we did not use the correct value when calculating the truncated size of the last payload. `m_buffered_size` does not store the total number of bytes received, but rather the number of bytes that haven't been read from us. This means that if some data has already been read from us, `m_buffered_size` is smaller than `m_received_size`. Because of this, we ended up resizing the `payload` ByteBuffer to a larger size than its contents. This garbage data was then read by consumers, producing this warning when executing scripts: > Extension byte 0xdc in 1 position after first byte 0xdc doesn't make > sense. | |||
2021-10-29 | LibWeb: Render any specified list-style-image for list items | Timothy Flynn | |
2021-10-29 | LibWeb: Support parsing some data: URLs in CSS | Timothy Flynn | |
For now, data URLs are explicitly limited to expected MIME types. For example, image-related styles accept image MIME types. | |||
2021-10-29 | LibWeb: Remove extraneous semi-colon | Timothy Flynn | |
2021-10-29 | LibJS: Convert ShadowRealmPrototype functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert GeneratorObjectPrototype functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert ProxyConstructor functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert the ProxyCreate AO to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert FinalizationRegistryPrototype funcs to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert WeakSetPrototype functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert WeakMapPrototype functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert MapIteratorPrototype functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert MapPrototype functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert MapConstructor functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert MathObject functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert ReflectObject functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert StringIteratorPrototype functions to ThrowCompletionOr | Idan Horowitz | |
2021-10-29 | LibJS: Convert ArrayBufferPrototype functions to ThrowCompletionOr | Idan Horowitz | |