Age | Commit message (Collapse) | Author |
|
|
|
This also removes the tiny patch we had since it's been upstreamed.
|
|
Well, *someone* has to add some more FIXMEs to keep FIXME Roulette
going. :^)
|
|
This is step 1 to removing `must_create()`.
|
|
`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. :^)
|
|
|
|
A regression from 4784ad66b29dc30fa27e0bd528b5cf85f5287b4b. oops.
|
|
Also, try to resolve the target path and check if it is allowed to be
accessed under the unveil rules.
|
|
|
|
|
|
|
|
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.
|
|
And use it for printing the virtual address when an exception has
happened that set the register, such as data aborts and instruction
aborts.
|
|
AK::popcount will use floating-point instructions, which in the aarch64
kernel are not allowed, and will result in an exception.
|
|
This is useful when printing information about the type of exception
that happened.
|
|
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".
|
|
|
|
- Use C++ structs for the header and subtable headers.
- Use AK::binary_search to search for kerning pairs.
|
|
Use a C++ struct to read out the header, and make the rest of the code
more idiomatic.
|
|
|
|
Use a C++ struct to read out the LongHorMetrics, and make the rest of
the code more idiomatic.
|
|
|
|
|
|
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.
|
|
|
|
OpenType is the backwards-compatible successor to TrueType, and the
format we're actually parsing in LibGfx. So let's call it that.
|
|
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>
|
|
These are no longer useful or necessary now that a lot of different
applications run on Lagom.
|
|
* `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.
|
|
This adds the the method DeprecatedString::find_last() as wrapper for
StringUtils::find_last for the StringView type.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Android's bionic C library puts this definition in pthread.h rather than
limits.h
|
|
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.
|
|
|
|
This is mathematically the same thing, but the compiler can't optimize
these out without -Ofast, so let's give it a hand.
|
|
|
|
|
|
This is a bit awkward, but I think it is better to make the caller
deal with possible errors.
|
|
This patch slightly change the signature of lookup() method
and propagates all the errors to the caller with help of ErrorOr.
|
|
This is a first step towards handling OOM errors instead of just
crashing the program.
Now UDPServer's method `receive()` return memory allocation
errors explicitly with help of ErrorOr.
This removes one FIXME and make a bunch of new ones. :(
|
|
|
|
This removes one TODO.
|
|
We now generate all LibGL API wrappers from a single API method
definition list stored in `GLAPI.json`. Since a significant portion of
the OpenGL API methods are relatively consistent variants, we take
advantage of this to generate a lot of these variants at once.
The autogenerated methods check for the non-nullness of the current
`GLContext`, and only perform an action if a `GLContext` is present.
This prevents a crash in ports like GLTron, who assume you can still
call the OpenGL API without an active context.
This increases our API wrapper method count from 211 to 356.
Fixes #15814.
|
|
For the ambient light model, integers need to be remapped to a range of
`-1.` through `1.`. Add the `+` and `-` operators to `VectorN` to make
it a bit easier to normalize 4 values at once.
|
|
We now dereference the pointer given to us before adding the arguments
to an active list. This also factors out the switching logic from the
API wrappers, which helps us with a future commit where we autogenerate
all API wrapper functions.
|
|
We were comparing the `x` parameter to `1.f` instead of `0.f`.
|
|
|