summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-23Magnifier: Add option to choose grid colorFrHun
2022-12-23Magnifier: Add option to display grid over the imageFrHun
2022-12-23LibGfx: Add NearestFractional scaling type to painterFrHun
This is useful for cases where you want to avoid scaling artifacts.
2022-12-23Magnifier: Allow locking location at current cursor positionFrHun
2022-12-23WindowServer: Allow overriding position when getting bitmapFrHun
2022-12-23Spreadsheet: Allow Functions Help HorizontalSplitter to resizeOptimoos
Using set_fixed_width prevents the splitter from resizing, so it has been changed to set_preferred_width. Added a FIXME that I'm not familiar enough with the codebase to tackle yet. This addresses issue #16589
2022-12-22Base: Mention new immutable memory mappings security featureLiav A
2022-12-22AK: Rearrange Error's members to reduce its size by 8 bytesTimothy Flynn
This shrinks sizeof(Error) from 32 bytes to 24 bytes, which in turn will shrink sizeof(ErrorOr<T>) by the same amount (in cases where sizeof(T) is less than sizeof(Error)).
2022-12-22Ports: Let our CA Certificate location be known to curlKenneth Myhra
Co-authored-by: Tim Schumacher <timschumi@gmx.de>
2022-12-22Ports: Format curl package.sh scriptKenneth Myhra
2022-12-22Ports: Update curl to 7.87.0Kenneth Myhra
This also removes the tiny patch we had since it's been upstreamed.
2022-12-22AK+Everywhere: Replace all Bitmap::must_create() uses with ::create()Sam Atkins
Well, *someone* has to add some more FIXMEs to keep FIXME Roulette going. :^)
2022-12-22AK: Rename Bitmap::try_create() to ::create()Sam Atkins
This is step 1 to removing `must_create()`.
2022-12-22Base: Unquote the timestamp in a quoteSam Atkins
`fortune` was failing to read this and treating the timestamp as 0. The irony in this being a quote about the absence of boogs is not lost on me. :^)
2022-12-22Base: Add a quote to the fortunes databasekleines Filmröllchen
2022-12-21HackStudio: Fix typo in one error messageKarol Kosek
A regression from 4784ad66b29dc30fa27e0bd528b5cf85f5287b4b. oops.
2022-12-21Kernel/FileSystem: Prevent symlink creation in veiled directory pathsLiav A
Also, try to resolve the target path and check if it is allowed to be accessed under the unveil rules.
2022-12-21CMake: Fall back to the Web Archive when downloading filesTim Schumacher
2022-12-21uptime: Port to Core::Stream::File, use `AK::human_readable_time()`Karol Kosek
2022-12-21AK: Calculate elapsed days in `human_readable_time()`Karol Kosek
2022-12-21Kernel/aarch64: Add -mstrict-align flag to Kernel buildTimon Kruiper
The ARM CPU is set up to trap on unaligned accesses, however the compiler will still generate them if this flag is not set. We also need the -Wno-cast-align as there are some files in AK that don't build without the flag.
2022-12-21Kernel/aarch64: Add Fault Address Register (FAR_EL1)Timon Kruiper
And use it for printing the virtual address when an exception has happened that set the register, such as data aborts and instruction aborts.
2022-12-21Kernel: Use AK::is_power_of_two instead of AK::popcount in kmalloc_implTimon Kruiper
AK::popcount will use floating-point instructions, which in the aarch64 kernel are not allowed, and will result in an exception.
2022-12-21Kernel/aarch64: Add function to convert Exception Class to StringViewTimon Kruiper
This is useful when printing information about the type of exception that happened.
2022-12-21Browser: Introduce action for opening bookmarks in a new windowKemal Zebari
This change introduces an action to bookmarks that allows them to be opened in a new browser window. This is done by accessing any bookmark's context menu and pressing "Open in New Window".
2022-12-21LibGfx/OpenType: Read "glyf" table header using a C++ structAndreas Kling
2022-12-21LibGfx/OpenType: Clean up "kern" table readingAndreas Kling
- Use C++ structs for the header and subtable headers. - Use AK::binary_search to search for kerning pairs.
2022-12-21LibGfx/OpenType: Clean up "name" table readingAndreas Kling
Use a C++ struct to read out the header, and make the rest of the code more idiomatic.
2022-12-21LibGfx/OpenType: Read "os2" table using a C++ structAndreas Kling
2022-12-21LibGfx/OpenType: Clean up "htmx" table readingAndreas Kling
Use a C++ struct to read out the LongHorMetrics, and make the rest of the code more idiomatic.
2022-12-21LibGfx/OpenType: Read "maxp" table using a C++ structAndreas Kling
2022-12-21LibGfx/OpenType: Read "hhea" table using a C++ structAndreas Kling
2022-12-21LibGfx/OpenType: Read "head" table using a C++ structAndreas Kling
Instead of fidgeting with offsets and manually reading out big-endian values, we now declare the "head" table as a C++ struct and use the BigEndian<T> template to deal with byte order.
2022-12-21LibGfx/OpenType: Add spec links to classes representing OpenType tablesAndreas Kling
2022-12-21LibGfx: Rename TTF/TrueType to OpenTypeAndreas Kling
OpenType is the backwards-compatible successor to TrueType, and the format we're actually parsing in LibGfx. So let's call it that.
2022-12-20LibUnicode: Use www.unicode.org domain to download emoji-test.txtTimothy Flynn
The non-www domain does not appear to be available now. We use the www domain for UCD.zip already. Co-authored-by: Stephan Unverwerth <s.unverwerth@serenityos.org>
2022-12-20Lagom: Remove test appsSam Atkins
These are no longer useful or necessary now that a lot of different applications run on Lagom.
2022-12-20Meta: Tweak shell_include.shNico Weber
* `chmod -x` as it's for sourcing, not for executing * Remove run line, for the same reason * Rename it from .shell_include.sh to shell_include.sh, since e.g. `rg` doesn't search in hidden files by default No behavior change.
2022-12-20AK: Add DeprecatedString::find_last(StringView)Agustin Gianni
This adds the the method DeprecatedString::find_last() as wrapper for StringUtils::find_last for the StringView type.
2022-12-20FileManager: Handle possible ByteBuffer allocation failureAlexander Narsudinov
Before this patch we created ByteBuffer with the help of the VERIFY macro that could cause a crash of FileManager in case of memory allocation failures. Now we propagate the error to a caller instead of using the `release_value_but_fixme_should_propagate_errors()` method.
2022-12-20Meta+test262-runner: Check for signature of __assert_fail in CMakeAndrew Kaster
Rather than trying to assume the only two C libraries on Linux are musl and glibc, this solution fixes musl builds by explicitly checking for the one C library function we are overwriting. That being said, we should find another solution to retrieving this error information from crashing tests. Possibly just overriding the SIGABRT handler would work. The full solution might require checking stderr as well as stdout in the test driver though.
2022-12-20ntpquery: Explicitly zero initialize msghdr and fill in fieldsAndrew Kaster
Rather than trying to use designated initializers, zero init the msghdr variable and fill in its fields. This makes sure to zero-init any padding bytes, and fixes a compilation error on musl-libc based systems.
2022-12-20LibThreading: Remove unused include of <sys/cdefs.h>Andrew Kaster
This file is not needed here, and causes a compile issue on musl-libc based distributions. We should only be including this file in LibC, for the most part anyway.
2022-12-20LibELF: Include <pthread.h> to ensure PTHREAD_STACK_MAX is availableAndrew Kaster
Android's bionic C library puts this definition in pthread.h rather than limits.h
2022-12-20LibWeb: Fix passing size/position to paint_radial_gradient()MacDue
This was wrong twice making it right... But let's fix that. The center was being passed as a DevicePixelPoint, but was in fact in CSS pixels, the size was passed as a Gfx::FloatSize but was in CSS pixels again. Then we were scaling from device pixels to CSS pixels when painting which does not need to be done if everything is passed which the correct scale factors already applied.
2022-12-20LibGfx: Don't blend opaque pixelsMacDue
2022-12-20LibGfx: Remove unnecessary divides in Color::mixed_with()MacDue
This is mathematically the same thing, but the compiler can't optimize these out without -Ofast, so let's give it a hand.
2022-12-20HackStudio: Port to `Core::Stream::File` :^)Karol Kosek
2022-12-20LibDiff: Make Diff::generate_only_additions take text as StringViewKarol Kosek
2022-12-20LookupServer: Propagate the errors from MulticastDNS::handle_packet()Alexander Narsudinov
This is a bit awkward, but I think it is better to make the caller deal with possible errors.