Age | Commit message (Collapse) | Author |
|
This timer was causing wake-ups every 50ms in all terminals, just to
right back to sleep unless we were in the middle of an auto-scroll.
|
|
This calls either start() or stop() depending on the boolean argument.
|
|
Keep a page-sized buffer of random bytes cached and work through it
before calling the kernel again.
|
|
This was used to return a pre-locked UDPSocket in one place, but there
was really no need for that mechanism in the first place since the
caller ends up locking the socket anyway.
|
|
|
|
|
|
|
|
I encountered a WindowServer crash due to null-pointer dereference in
this function, so let's protect against it by simply skipping over
nulled-out WeakPtrs.
I added a FIXME about how we ideally wouldn't be in this situation in
the first place, but that will require some more investigation.
|
|
1400-1488 https://www.unicode.org/charts/PDF/U1400.pdf
|
|
A830-A839 https://www.unicode.org/charts/PDF/UA830.pdf
|
|
This call caused GCC 12's static analyzer to think that we perform an
out-of-bounds write to the v_key Vector. This is obviously incorrect,
and comes from the fact that GCC doesn't properly track whether we use
the inline storage, or the Vector is allocated on the heap.
While searching for a workaround, Sam pointed out that this call is
redundant as `Vector::resize()` already zeroes out the elements, so we
can completely remove it.
Co-authored-by: Sam Atkins <atkinssj@serenityos.org>
|
|
GCC 12 complains that iota_array is used before it's declared. GCC 11
works fine without it though.
|
|
|
|
|
|
|
|
|
|
|
|
The function to protect ksyms after initialization, is only used during
boot of the system, so it can be UNMAP_AFTER_INIT as well.
This requires we switch the order of the init sequence, so we now call
`MM.protect_ksyms_after_init()` before `MM.unmap_text_after_init()`.
|
|
Noticed these boot only functions are not currently UNMAP_AFTER_INIT.
Lets fix that :^)
|
|
This is a raffinement of 49cbd4dcca037336ad5e2e4fcb1e3cc613b46cce.
Previously, the container was scanned to compute the size in the unhappy
path. Now, using `all_of` happy and unhappy path should be fast.
|
|
|
|
|
|
|
|
|
|
The following features are now available in the system, making these
patches unnecessary:
- isblank() function
- SIGSTKSZ constant
- MS_SYNC and MS_ASYNC msync() flags
- EDQUOT errno constant
|
|
We now have this macro in LibC.
|
|
Since the creation of the port, we gained support for nanosleep(),
WSTOPSIG(), and the getopt family of functions is now available in
unistd.h.
|
|
|
|
The addition of the siginfo() function to LibC caused this port to
enable its stack overflow detection feature which, however, depends on
more features that we don't have.
|
|
|
|
|
|
All issues with `cmath` have been resolved quite some time ago, and
ICU seems to build without issues.
|
|
|
|
We no longer emit compiler warnings on deprecated/unsafe functions like
strcpy, so building more ports with -Werror is possible.
|
|
We (correctly) declare getopt() and the related variables in unistd.h,
so this patch is unnecessary.
|
|
|
|
That's the latest release, and includes one of the patches we had - so
we can drop that patch :^)
|
|
I'm not quite sure why, but CMake compiles fine without these.
|
|
This patch is pending upstream, but until then, let's keep it locally to
make the port work :^)
|
|
These are aliases to `setjmp()` and `longjmp()` on our system,
as our implementations don't modify the signal mask.
This is required for the syzkaller executor process.
|
|
|
|
Unfortunately, most of the users are inside constructors, (and two
others are inside callback lambdas) so the error can't propagate, but
that can be improved later.
|
|
Adds a method `copy_texels()` to class `Image` that copies a rect of
texels from source image to destination.
|
|
Images are stored on the device side. Texture2D and MipMap are now only
used to store imformation about the texture and reference to the device
image.
|
|
Texture sampling now happens entirely in SoftGPU thus this class will
now only be used to hold the sampler configuration.
|
|
This adds a method `info()` to SoftGPU that returns the name of the
hardware vendor and device name, as well as the number of texture untis.
LibGL uses the returned texture unit count to initialize its internal
texture unit array.
|
|
|
|
This removes the last reference to LibGL from LibSoftGPU. The GLenum
has been replaced by our own enum.
|
|
Replaces the GLenum used to setup polygon mode in RasterizerOptions with
our own enum.
|
|
Replaces the GLenum used to set up the fog mode in RasterizerOptions
with out own enum.
|