Note this is a change to how BeOS R5 and Haiku has always worked.
Drawing dragged poses as selected ensures that the text can be read
even on black on black or white on white because the selection rect
creates contrast.
Lessen contrast by blending with gray when selected and cut, even
more when window is unfocused.
Pose text on Desktop is inverted compared to in a folder by default
so this bug typically occurs when dragging to and from Desktop.
Change-Id: Icb1ee7ccbf9b5e2d8c3a4b89c6b90e19da15c917
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9520
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: humdinger humdinger <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Implement Zstd decompression for inline extents using kernel_libzstd
* Used zstd logic with #ifdef ZSTD_ENABLED to support architectures where Zstd is not yet available (e.g ARM64)
* Refactor BTRFS_EXTENT_COMPRESS_NONE handling: During testing with small files (which remain uncompressed inline), it was observed that the previous logic could cause integer underflows if the item_size was smaller than the header, resulting in garbage output. So I added explicit validation (item_size <= header_size) to prevent this.
* Update Jamfile to conditionally include Zstd headers and use $(HAIKU_ZSTD_LIB).
* Fixed coding style violations (else placement).
Change-Id: I74d8fd0b7d6d61bbc45fe571d5aacf5c74df0bd7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10309
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
If we have no allocated swap space, then we don't need to even
bother doing a lookup in the hash table (which requires a read-lock,
anyway.)
This function is now called often even if swap isn't actively
being used, so any gains here are helpful.
Otherwise we might fail with B_NO_MEMORY, or wait for long periods of
time, which we don't want to do in such a critical routine.
Should improve system responsiveness (or even prevent application
crashes) under high memory pressure.
MAIL:thread is added to all incoming mails and when replying to a mail.
This change adds it also to new mails that are sent.
It also sets the subject and thread to "No Subject" when empty.
Change-Id: I377b50022b203bff960b7f78ef5ff55d39a6e08e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10264
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
5c254dff8c updated FreeType build packages for x86_64 and x86_gcc2,
including a change in app_server to adapt to a different pointer type
in a FT_Outline member. Other arches are still using older versions
of FreeType, though, so they need the older type.
Change-Id: I4ad934821a338e93e3827069618948e77eae66e1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10306
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Máximo Castañeda <[email protected]>
* Put each package on its own line. This mirrors the earlier
refactor of image rules.
* Drop a few packages with library-only provides. The build
system will pull them in automatically as needed (libicns, etc.)
The non-"_np" versions were exported, but not declared in the header.
Do that, and also make the "_np" versions the alias, as these are
specified in POSIX-2024.
* To avoid "micro-padding" around the scrollview, use a negative
inset to have the scrollview join borders with the window.
* Make it a regular B_DOCUMENT_WINDOW to have a full-sized resizing
corner.
Fixes#19915
Change-Id: I879eca719f91f2ae67236ecfb4cb8be1b280f2fc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10267
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Axel Dörfler <[email protected]>
Instead of triggering a Kernel Debugging Land (KDL) session when
encountering an unsupported compression type (like ZSTD), the driver
now returns B_NOT_SUPPORTED and logs an error.
This keeps the system stable and allows the VFS to handle the error
gracefully.
Fixes#19914
Change-Id: I5f43eef1c04982014430de63f3840af0d6cfefb0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10263
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
* Currently there is no dependency between haiku_unittests.hpkg
and unittests target. unittests needs to be built before building
test image.
Change-Id: I7c729095db74687b154a4880fde7f15b474c3590
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2080
Reviewed-by: Kacper Kasper <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Add a way to request allocation of a specific block run to
BlockAllocator. Use it to allocate the new location for the journal.
Change-Id: I276de77d937253baa312049ad2964849c5e9b68b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10057
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>