summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-18LibJS: Allow 'T' prefix in time-only stringsLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/f5e8edf
2021-12-18LibJS: Fix fractionalSecondDigits behavior in Duration.proto.toString()Linus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/3ee771e
2021-12-18LibJS: Add optional calendar to Plain{Time,YearMonth,MonthDay} prodLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/7e58ba3
2021-12-18LibJS: Update spec comment in get_iso_parts_from_epoch()Linus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/bdf60f5
2021-12-18LibJS: Fix ambiguity in FractionalPart grammarLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/0f11bd6
2021-12-18LibJS: Make PlainDate difference methods units handling consistentLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/8b7ba00
2021-12-18LibJS: Remove outdated comment in prepare_partial_temporal_fields()Linus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/bf066ea
2021-12-18LibJS: Fix "smallestUnit" property name typo in a couple of placesLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/900e4bc
2021-12-18LibJS: Fix off-by-one in balance_iso_date() for leap year inputsLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/5ab1822
2021-12-18LibJS: Remove outdated comment from parse_temporal_duration_string()Linus Groh
This is a normative change in the Temporal spec. See: - https://github.com/tc39/proposal-temporal/commit/e7182d3 - https://github.com/tc39/proposal-temporal/commit/6dae066
2021-12-18LibJS: Only allow Calendar this value in Temporal.Calendar.prototype.idLinus Groh
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/2644fc6
2021-12-18LibC: Make sysbeep return int instead of voidJunior Rantila
Since the beep syscall may fail it is strange that the error is discarded by the LibC wrapper.
2021-12-18Kernel: Remove a redundant check in Process::remap_range_as_stackHendiadyoin1
We already VERIFY that we have carved something out, so we don't need to check that again.
2021-12-18Kernel: Collapse a redundant boolean conditional return statement in …Hendiadyoin1
validate_mmap_prot
2021-12-18Kernel: Access OpenFileDescriptions::max_open() statically in SyscallsHendiadyoin1
2021-12-18Kernel: Add implicit auto qualifiers in SyscallsHendiadyoin1
2021-12-18Kernel: Remove else after return in Process::do_writeHendiadyoin1
2021-12-18Base: Add U+2026 HORIZONTAL ELLIPSIS to font Csilla Regular 10sin-ack
2021-12-18Websites: Update the SerenityOS bug bounty program :^)Andreas Kling
Let's increase the reward since I have significantly improved funding over the last year! Merry haxmas! :^)
2021-12-18Kernel: Fix 4-byte uninitialized memory leak in sys$sigaltstack()Andreas Kling
It was possible to extract 4 bytes of uninitialized kernel stack memory on x86_64 by looking in the padding of stack_t.
2021-12-18Kernel: Enable SMAP protection earlier during syscall entryAndreas Kling
There's no reason to delay this for as long as we did.
2021-12-18Kernel: Make File::stat() & friends return Error<struct stat>Andreas Kling
Instead of making the caller provide a stat buffer, let's just return one as a value.
2021-12-18Kernel: Use ksyms in-place instead of duplicating them into eternal heapAndreas Kling
We can leave the .ksyms section mapped-but-read-only and then have the symbols index simply point into it. Note that we manually insert null-terminators into the symbols section while parsing it. This gets rid of ~950 KiB of kmalloc_eternal() at startup. :^)
2021-12-18Kernel: Use copy_typed_from_user() in more places :^)Andreas Kling
2021-12-18Kernel: Make sys${ftruncate,pread} take off_t as const pointerAndreas Kling
These syscalls don't write back to the off_t value (unlike sys$lseek) so let's take Userspace<off_t const*> instead of Userspace<off_t*>.
2021-12-18Kernel: Fix getsockopt(SO_RCVTIMEO) returning wrong timeoutAndreas Kling
We were returning the send timeout for both SO_RCVTIMEO and SO_SNDTIMEO.
2021-12-18LibJS: Fix typo in MarkedVector::end()Andreas Kling
2021-12-18Kernel: Start perf event stack capture at RBP, not EBP on x86_64Andreas Kling
2021-12-17LibJS/Tests: Remove outdated FIXMELinus Groh
2021-12-17AK: Fast path for single-element TypedTransfer::copykleines Filmröllchen
Co-Authored-By: Brian Gianforcaro <bgianf@serenityos.org>
2021-12-17AK: Bypass Buffered's buffer for large readskleines Filmröllchen
Before, if we couldn't read enough data out of the buffer, we would re- fill the buffer and recursively call read(), which in turn reads data from the buffer into the resliced target span. This incurs very intensive superflous memmove's when large chunks of data are read from a buffered stream. This commit changes the behavior so that when we exhaust the buffer, we first read any necessary additional data directly into the target, then fill up the buffer again. Effectively, this results in drastically reduced overhead from Buffered when reading large contiguous chunks. Of course, Buffered is designed to speed up data access patterns with small frequent reads, but it's nice to be able to combine both access patterns on one stream without penalties either way. The final performance gain is about an additional 80% of abench decoding speed.
2021-12-17LibAudio: Don't unnecessarily copy the passed decode bufferkleines Filmröllchen
2021-12-17LibAudio: Remove superflous commentkleines Filmröllchen
Thanks @alimpfard for pointing that out :^)
2021-12-17LibAudio: Add an adjustable buffer size to FlacLoaderkleines Filmröllchen
This makes it easier to fine-tune the optimal input buffer size.
2021-12-17AnalogClock: Port to LibMainAstraeus-
2021-12-17About: Port to LibMainAstraeus-
2021-12-17LibGUI: Add ErrorOr wrapper for default icon creationAstraeus-
2021-12-17LibCrypto: Declobber AES header from s-box tablesAlexander Ulmer
2021-12-17Ports: Updated lua port to version 5.3.6Rafał Babiarz
2021-12-16LibCore: Use correct underlying syscall in seteuid() and setegid()Andreas Kling
Thanks to Idan's hawk eyes for spotting this! :^)
2021-12-16AK: Make JsonValue::from_string("") return a null JsonValueAndreas Kling
This unbreaks the /var/run/utmp system which starts out as an empty string, and is then turned into an object by the first update. This isn't necessarily the best way for this to work, but it's how it used to work, so this just fixes the regression for now.
2021-12-16LibCore+passwd+usermod: Make Core::Account::sync() return ErrorOr<void>Andreas Kling
2021-12-16LibCore: Add syscall wrapper for rename()Andreas Kling
2021-12-16LibCore: Add syscall wrapper for fchmod()Andreas Kling
2021-12-16LibCore: Add syscall wrapper for mkstemp()Andreas Kling
2021-12-16SystemServer: Use more LibCore syscall wrappers :^)Andreas Kling
2021-12-16LibCore: Add syscall wrapper for fork()Andreas Kling
2021-12-16LibCore: Add syscall wrapper for mkdir()Andreas Kling
2021-12-16LibCore: Add syscall wrapper for mount()Andreas Kling
2021-12-16SystemServer: Port to LibMain :^)Andreas Kling