summaryrefslogtreecommitdiff
path: root/Userland/Libraries
AgeCommit message (Collapse)Author
2021-10-31LibWeb: Convert WebAssemblyTablePrototype funcs to ThrowCompletionOrIdan Horowitz
2021-10-31LibWeb: Convert WebAssemblyMemoryPrototype funcs to ThrowCompletionOrIdan Horowitz
2021-10-31LibWeb: Convert WebAssemblyInstancePrototype funcs to ThrowCompletionOrIdan Horowitz
2021-10-31LibWeb: Convert WebAssemblyObject functions to ThrowCompletionOrIdan Horowitz
2021-10-31LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOrIdan Horowitz
2021-10-31LibWeb: Make GlobalObject the first parameter of WebAssembly AOsIdan Horowitz
Let's be consistent with the rest of LibJS (and the rest of the file).
2021-10-31LibWeb: Convert all generated bindings to ThrowCompletionOrTimothy 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-31LibWeb: Convert the Navigator object to ThrowCompletionOrTimothy Flynn
2021-10-31LibWeb: Convert the CSS namespace object to ThrowCompletionOrTimothy Flynn
2021-10-31LibWeb: Convert the Window object to ThrowCompletionOrTimothy Flynn
2021-10-31LibWeb: Convert the Location object to ThrowCompletionOrTimothy Flynn
2021-10-31LibGUI: Support using a bitmap as override cursorMarco Cutecchia
2021-10-31LibC: Add `labs()`Jelle Raaijmakers
We defined it in `stdlib.h` but forgot to implement it.
2021-10-31LibJS: Convert %IteratorPrototype% to ThrowCompletionOrTimothy Flynn
2021-10-31LibJS: Convert ObjectConstructor to ThrowCompletionOrTimothy Flynn
2021-10-31LibJS: Convert ObjectConstructor GetOwnPropertyKeys to ThrowCompletionOrTimothy Flynn
2021-10-31LibJS: Convert GlobalObject to ThrowCompletionOrTimothy Flynn
2021-10-31LibJS: Convert GlobalObject's Encode and Decode AOs to ThrowCompletionOrTimothy Flynn
2021-10-31LibJS: Convert Object.prototype to ThrowCompletionOrTimothy Flynn
2021-10-31LibELF: Store SSE registers in x86_64 PLT TrampolinePeter
Save and restore XMM registers so userspace programs don't randomly lose values from calls. This fixes a crash in ScummVM.
2021-10-30LibJS: 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-30LibJS: Fix format_time_zone_offset_string() for negative offsetsLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/ec43be3
2021-10-30LibJS: Update parse_temporal_time_zone_string() substring boundsLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/73b9fe3
2021-10-30LibPDF: Parser::parse_header() return false if remaining bytes is zeroBrendan Coles
2021-10-30LibJS: Implement Temporal.TimeZone.prototype.getPreviousTransition()Linus Groh
2021-10-30LibJS: Implement Temporal.TimeZone.prototype.getNextTransition()Linus Groh
2021-10-30LibJS: Implement Temporal.TimeZone.prototype.getPossibleInstantsFor()Linus Groh
2021-10-30LibJS: Mark single argument BigInt() constructor as 'explicit'Linus Groh
2021-10-30LibGUI: Focus next tab after closing active tabNoah 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-30LibJS: Ensure make_day()'s temporary Core::DateTime is treated as UTCLinus 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-30LibJS: Fix off-by-one in make_day()'s temporary Core::DateTimeLinus 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-30LibCore: Fix off-by-one in DateTime::{create,set_time} day default argLinus 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-30LibHTTP: Fix logic error leading to buffer over-readDaniel 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-29LibWeb: Render any specified list-style-image for list itemsTimothy Flynn
2021-10-29LibWeb: Support parsing some data: URLs in CSSTimothy Flynn
For now, data URLs are explicitly limited to expected MIME types. For example, image-related styles accept image MIME types.
2021-10-29LibWeb: Remove extraneous semi-colonTimothy Flynn
2021-10-29LibJS: Convert ShadowRealmPrototype functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert GeneratorObjectPrototype functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert ProxyConstructor functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert the ProxyCreate AO to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert FinalizationRegistryPrototype funcs to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert WeakSetPrototype functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert WeakMapPrototype functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert MapIteratorPrototype functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert MapPrototype functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert MapConstructor functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert MathObject functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert ReflectObject functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert StringIteratorPrototype functions to ThrowCompletionOrIdan Horowitz
2021-10-29LibJS: Convert ArrayBufferPrototype functions to ThrowCompletionOrIdan Horowitz