Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-21 | LibWeb: Rename HTMLScriptElement "non-blocking" to "force async" | Andreas Kling | |
This has been renamed in the spec, so let's do it here too. | |||
2022-11-21 | LibWeb: Add spec links to HTMLScriptElement member variables | Andreas Kling | |
This makes it much easier to see which members represent something in the spec, and which ones are LibWeb implementation details. | |||
2022-11-21 | AK: Fix memory corruption due to BumpAllocator mmap reuse | Andreas Kling | |
There was a subtle mismatch between the obviously expected behavior of BumpAllocator::for_each_chunk() and its actual implementation. You'd think it would invoke the callback with the address of each chunk, but actually it also took the liberty of adding sizeof(ChunkHeader) to this address. UniformBumpAllocator::destroy_all() relied on this to get the right address for objects to delete. The bug happened in BumpAllocator::deallocate_all(), where we use for_each_chunk() to walk the list of chunks and munmap() them. To avoid memory mapping churn, we keep a global cache of 1 chunk around. Since we were being called with the offset chunk address, it meant that the cached chunk shifted 16 bytes away from its real address every time we re-added it to the cache. Eventually the cached chunk address would leave its memory region entirely, and at that point, any attempt to allocate from it would yield an address outside the region, causing memory corruption. | |||
2022-11-20 | LibWeb: Return content box position from calculate_static_position | Aliaksandr Kalenik | |
This change makes calculate_static_position to return content box for both x and y (at least for the case when children are not inline). It makes it possible to be consistent about x and y when calculating box offset inside layout_absolutely_positioned_element. | |||
2022-11-20 | LibJS/Temporal: Unroll the loop in to_temporal_time_record | Jonah | |
This is an editorial change in the Temporal spec. See: tc39/proposal-temporal@8e80575 | |||
2022-11-20 | LibJS/Temporal: Unroll the loop in to_temporal_duration_record | Jonah | |
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/8e80575 | |||
2022-11-20 | LibJS/Temporal: Unroll the loop in to_temporal_partial_dictation_record | Jonah | |
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/8e80575 | |||
2022-11-20 | LibJS/Temporal: Rename ToIntegerWithRounding to ToIntegerIfIntegral | Jonah | |
This is an editorial change to the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/1dceb57 | |||
2022-11-20 | LibJS/Temporal: Reorder Tables by Order of Magnitude | Jonah | |
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/f2d5642 and https://github.com/tc39/proposal-temporal/commit/07673d3 | |||
2022-11-20 | LibVT/LibLine: Delete words when pressing Ctrl+Backspace in Terminal | Zaggy1024 | |
2022-11-19 | LibJS: Fix UTF-16 corruption in String.prototype.replace() | Andreas Kling | |
We were mistakenly trying to append UTF-16 code units to a StringBuilder via the append(char) API. This patch fixes that by accumulating the result in a Vector<u16> instead. This'll be a bit worse for performance, since we're now doing additional UTF-16 string conversions, but we're going for correctness at this stage and can worry about performance later. | |||
2022-11-19 | cksum: Manually count file size instead of using stat() | Sam Atkins | |
`stat()` doesn't work for stdin, but this does. | |||
2022-11-19 | xml: Port to Core::Stream | Sam Atkins | |
2022-11-19 | Utilities/w: Port to Core::Stream | Sam Atkins | |
2022-11-19 | utmpupdate: Port to Core::Stream | Sam Atkins | |
2022-11-19 | test-fuzz: Port to Core::Stream | Sam Atkins | |
2022-11-19 | sysctl: Port to Core::Stream | Sam Atkins | |
2022-11-19 | strace: Port to Core::Stream | Sam Atkins | |
2022-11-19 | sql: Port to Core::Stream | Sam Atkins | |
2022-11-19 | shot: Port to Core::Stream | Sam Atkins | |
2022-11-19 | route: Port to Core::Stream | Sam Atkins | |
2022-11-19 | pmap: Port to Core::Stream | Sam Atkins | |
2022-11-19 | nproc: Port to Core::Stream | Sam Atkins | |
2022-11-19 | netstat: Port to Core::Stream | Sam Atkins | |
2022-11-19 | mount: Port to Core::Stream | Sam Atkins | |
2022-11-19 | md: Port to Core::Stream | Sam Atkins | |
2022-11-19 | markdown-check: Port to Core::Stream | Sam Atkins | |
2022-11-19 | man: Port to Core::Stream | Sam Atkins | |
2022-11-19 | lsusb: Port to Core::Stream | Sam Atkins | |
2022-11-19 | lspci: Port to Core::Stream | Sam Atkins | |
2022-11-19 | lsof: Port to Core::Stream | Sam Atkins | |
2022-11-19 | lsirq: Port to Core::Stream | Sam Atkins | |
2022-11-19 | lscpu: Port to Core::Stream | Sam Atkins | |
2022-11-19 | lsblk: Port to Core::Stream | Sam Atkins | |
2022-11-19 | js: Port to Core::Stream | Sam Atkins | |
2022-11-19 | LibCore: Add a ConfigFile::open() overload for Core::Stream::File | Sam Atkins | |
Core::Stream is already used internally, but ironically you could not open a ConfigFile using one! | |||
2022-11-19 | json: Port to Core::Stream | Sam Atkins | |
2022-11-19 | ifconfig: Port to Core::Stream and Core::System | Sam Atkins | |
2022-11-19 | headless-browser: Port screenshot output to Core::Stream | Sam Atkins | |
As noted in https://github.com/SerenityOS/serenity/issues/15239 `headless-browser` is currently broken, with or without these changes. | |||
2022-11-19 | gron: Port to Core::Stream | Sam Atkins | |
2022-11-19 | gml-format: Port to Core::Stream | Sam Atkins | |
2022-11-19 | fortune: Port to Core::Stream | Sam Atkins | |
2022-11-19 | file: Port to Core::Stream | Sam Atkins | |
Some nicer way of dealing with `stat` would be good. :thonk: | |||
2022-11-19 | du: Port to Core::Stream | Sam Atkins | |
2022-11-19 | dmesg: Port to Core::Stream | Sam Atkins | |
2022-11-19 | diff: Port to Core::Stream | Sam Atkins | |
Also switched to calling Core::System::isatty(), and doing so once instead of per hunk. | |||
2022-11-19 | df: Port to Core::Stream | Sam Atkins | |
2022-11-19 | Utilities: Port cpp utilities to Core::Stream | Sam Atkins | |
2022-11-19 | copy: Port to Core::Stream | Sam Atkins | |
2022-11-19 | comm: Port to Core::Stream | Sam Atkins | |