summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-13Kernel: Make map_bios() and map_ebda() fallible using ErrorOrIdan Horowitz
2022-01-13Base: Add icon for palette filesMarcus Nilsson
2022-01-13LibJS: Mark CreateTemporalTimeZone("UTC") as infallibleLinus Groh
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/ea25cfa
2022-01-13Ports/mc: Add Midnight Commander portKenneth Myhra
2022-01-13LibC: Remove TODO() macros to not break mc portKenneth Myhra
The TODO() macro crashes the port Midnight Commander on start-up.
2022-01-13LibC: Add definition for PRIxMAXKenneth Myhra
2022-01-13Ports/vim: Bump version number to 8.2.4066Kenneth Myhra
2022-01-13Base: Fix non-compliant PNG iconsMarcus Nilsson
These were found with pngcheck and includes icons that were made with PixelPaint. All were re-saved with GIMP and then stripped with optipng.
2022-01-13LibGfx: Change return type of Adler32 checksums in PNGWriterMarcus Nilsson
The two Adler32 checksums are u16 and these two getters were mistakenly left as u32 when PNGChunk::add_as_big_endian() was templated leading to corrupted IDAT fields in our PNGs.
2022-01-13Kernel: Stop leaking executable path in successful sys$execve()Andreas Kling
Since we don't return from sys$execve() when it's successful, we have to take special care to tear down anything we've allocated. Turns out we were not doing this for the full executable path itself.
2022-01-13WindowServer: Don't try to flash menubar in deleted windowsAndreas Kling
Capture the window weakly when setting up the menubar flash timer.
2022-01-13Meta: Add Xexxa's name to the contributors listLady Gegga
2022-01-13LibJS: Implement per-locale display of calendars and date-time fieldsTimothy Flynn
2022-01-13LibJS: Add FIXME regarding [[LanguageDisplay]] internal slot handlingTimothy Flynn
This is supposed to work as follows (grabbed from SpiderMonkey): > opt = { type: "language", languageDisplay: "dialect" }; > new Intl.DisplayNames([], opt).of("en-US"); "American English" > opt = { type: "language", languageDisplay: "standard" }; > new Intl.DisplayNames([], opt).of("en-US"); "English (United States)" We currently display the "dialect" variant. We will need to figure out how to display the "standard" variant. I think the way it works is that we take the display names of "en" (language) and "US" (region) and format them according to this pattern in localeDisplayNames.json: "localeDisplayNames": { "localeDisplayPattern": { "localePattern": "{0} ({1})", }, }, But I'd like to confirm this before implementing it.
2022-01-13LibJS+LibUnicode: Remove unnecessary locale currency mapping wrapperTimothy Flynn
Before LibUnicode generated methods were weakly linked, we had a public method (get_locale_currency_mapping) for retrieving currency mappings. That method invoked one of several style-specific methods that only existed in the generated UnicodeLocale. One caveat of weakly linked functions is that every such function must have a public declaration. The result is that each of those styled methods are declared publicly, which makes the wrapper redundant because it is just as easy to invoke the method for the desired style.
2022-01-13LibUnicode: Parse and generate locale display names for date fieldsTimothy Flynn
2022-01-13LibUnicode: Parse and generate locale display names for calendarsTimothy Flynn
Note there's a bit of an unfortunate duplication in the calendar enum generated by UnicodeLocale and the existing enum generated by UnicodeDateTimeFormat. The former contains every calendar known to the CLDR, whereas the latter contains the calendars we've actually parsed for DateTimeFormat (currently only Gregorian). The new enum generated here can be removed once DateTimeFormat knows about all calendars.
2022-01-13LibJS: Add [[LanguageDisplay]] to Intl.DisplayNames's resolvedOptionsTimothy Flynn
2022-01-13js: Pretty-print the Intl.DisplayNames [[LanguageDisplay]] internal slotTimothy Flynn
2022-01-13LibJS: Parse new Intl.DisplayNames "type" and "languageDisplay" optionsTimothy Flynn
Intl.DisplayNames v2 adds "calendar" and "dateTimeField" types, as well as a "languageDisplay" option for the "language" type. This just adds these options to the constructor.
2022-01-13LibJS: Remove unnecessary braces in Intl.DisplayNamesTimothy Flynn
Just caught my eye as I was modifying this code.
2022-01-13man.serenityos.org: Include Games section on index pageDavidLindbom
2022-01-13LibIMAP+Userland: Convert LibIMAP::Client to the Serenity Stream APIssin-ack
You now cannot get an unconnected LibIMAP::Client, but you can still close it. This makes for a nicer API where we don't have a Client object in a limbo state between being constructed and being connected. This code still isn't as nice as it should be, as TLS::TLSv12 is still not a Core::Stream::Socket subclass, which would allow for consolidating most of the TLS/non-TLS code into a single implementation.
2022-01-13test-imap: Convert test-imap to LibMainsin-ack
2022-01-13LibCore: Use Error::from_errno in Stream APIssin-ack
This makes Stream APIs work with Lagom and is overall cleaner.
2022-01-13LibCore+Userland+Tests: Convert Stream APIs to construct on heapsin-ack
As per previous discussion, it was decided that the Stream classes should be constructed on the heap. While I don't personally agree with this change, it does have the benefit of avoiding Function object reconstructions due to the lambda passed to Notifier pointing to a stale object reference. This also has the benefit of not having to "box" objects for virtual usage, as the objects come pre-boxed. However, it means that we now hit the heap everytime we construct a TCPSocket for instance, which might not be desirable.
2022-01-13LibCore: Remove the SocketError classsin-ack
SocketError is a relic from the KResult days when we couldn't have a string in the KResult type, only an errno. Now that we can use string literals with Error, it's no longer necessary. gai_strerror is thread safe, so we can use it here unlike strerror.
2022-01-13AK: Add ByteBuffer::{must_,}get_bytes_for_writing()sin-ack
This is useful for writing new data at the end of a ByteBuffer. For instance, with the Stream API: auto pending_bytes = TRY(stream.pending_bytes()); auto receive_buffer = TRY(buffer.get_bytes_for_writing( pending_bytes)); TRY(stream.read(receive_buffer));
2022-01-13AK: Use Error::from_errno in adopt_nonnull_own_or_enomemsin-ack
This fails to build on Lagom otherwise.
2022-01-13Snake: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for SnakeDavid Lindbom
2022-01-13Pong: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for PongDavid Lindbom
2022-01-13Minesweeper: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for MinesweeperDavid Lindbom
2022-01-13Hearts: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for HeartsDavid Lindbom
2022-01-13GameOfLife: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for GameOfLifeDavid Lindbom
2022-01-13FlappyBug: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for FlappyBugDavid Lindbom
2022-01-13Chess: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for Chess gameDavid Lindbom
2022-01-13Breakout: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for BreakoutDavid Lindbom
2022-01-132048: Add link to help pages in menuDavid Lindbom
2022-01-13Base: Add manual page for 2048David Lindbom
2022-01-13Meta: Use fuse2fs if available to avoid root when building imageChris Frey
The fuse2fs tool that is part of e2fsprogs-1.46 has a 'fakeroot' mount option. This allows a non-root users to modify file ownership and permissions without actually being root. This package is available in Debian bullseye and buster-backports. If available, the script assumes the user wants to use it. Otherwise, it falls back to the usual root requirements. Now that root is not required, the root check in build-root-filesystem.sh is not necessary. Since build-root-filesystem.sh has 'set -e' enabled, removing this check will not cause a change in functionality.
2022-01-13Meta: Use consistent indents in build-image-qemu.shChris Frey
This is a whitespace only commit to avoid confusion with the next feature commit.
2022-01-13Meta: Do not ignore error message with execChris Frey
When calling sub-programs from shell with exec, the useful || die idiom does not actually do anything, since the first script is gone.