Commit Graph
68495 Commits
Author SHA1 Message Date
John Scipione c53e74e22f Deskbar: style fixes related to preferences
Change-Id: I4405937066c5a1a78c63137fefa63a79f295a2a6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10327
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2026-02-13 12:17:08 +00:00
John Scipione 71dc2a086c Tracker: Draw dragged pose text selected, fixes #18572
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]>
2026-02-13 04:21:27 +00:00
Jérôme Duval c5952db482 string_for_size: switch to the the next unit with 1000
this avoids having longer strings like 1,001.0MiB instead of 0.98GiB
Seen with ProcessController Memory menu.

Change-Id: Ief129f615fe6a560aebe560adebbe5ba989fd2ee
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10326
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-02-11 16:45:51 +00:00
Jérôme Duval eacd2d9e6a getentropy: define GETENTROPY_MAX
Change-Id: Ice89aa8c2bc191e09120f23cad9483ef082190c8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10323
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-02-10 14:23:48 +00:00
Autocomitter eaa29b2bb1 Update translations from Pootle 2026-02-07 08:12:59 +00:00
Humdinger 7cf5d695ac NetworkStatus: Remove another instance of translated app name
Missed in hrev59324.

Change-Id: Ic74d024c648fbeda0de80df3305f49d7b95f1bcd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10313
Reviewed-by: waddlesplash <[email protected]>
2026-02-06 18:59:21 +00:00
Raghav Sharma ec9e6a082e xfs: Fix driver build error
A warning regarding redundant typedef is generated, remove it to pass Werror enabled build

Change-Id: Ib21be8c6b995d7d8bece51b0242c116673ca610b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10312
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-02-06 17:44:58 +00:00
Abdullah Zulfiqar ec061bd4f6 btrfs: Add Zstd decompression support for inline extents
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]>
2026-02-05 07:49:07 +00:00
Augustin Cavalier f19676f1c0 kernel/vm: Add a fast way out in VMAnonymousCache::StoreHasPage.
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.
2026-02-04 17:54:10 -05:00
Augustin Cavalier 64a26f88bf Jamfile: Drop expat, make gzip architecture-dependent. 2026-02-04 17:42:41 -05:00
Augustin Cavalier 310f75e043 docs: Move fs_query documentation to the Haiku Book.
Also add a missing include in QueryPoseView.
2026-02-04 17:41:53 -05:00
Augustin Cavalier 379c8aebab fs_shell: Add the new B_QUERY_WATCH_ALL. 2026-02-04 17:21:25 -05:00
Augustin Cavalier fe444bc3cb libroot/glibc: Reinstate long-double printf_fphex code.
Fixes #19925.
2026-02-04 17:09:50 -05:00
Augustin Cavalier 53ee2648fb fs_query: Make B_QUERY_WATCH_ALL part of the public API.
It seems to work well enough at this point, and is used in Tracker,
so why not?

Also update live_query to demonstrate the functionality.
2026-02-04 17:09:50 -05:00
Augustin Cavalier c32328567c NTFS: Move some initialization to the struct volume constructor.
May fix #19926.
2026-02-04 16:41:37 -05:00
Augustin Cavalier 543aa2c72f kernel/vm: Refactor and reinstate swap-space freeing in the page daemon.
This has been disabled since a refactor in 2010.

Seems to work OK in some basic testing.
2026-02-04 15:34:27 -05:00
Augustin Cavalier dce3a4366d packagefs: Add a fallback buffer for reading heaps in low-memory conditions.
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.
2026-02-04 14:59:27 -05:00
X512 685d305a5b video_mixer: fix build and crash, add to image
Change-Id: I3c58538666313e74134fb6f1f5fc0c697b213cca
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3033
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-02-04 09:49:13 +00:00
Humdinger b8045ba67f libmail: Set thread attribute when sending a mail
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]>
2026-02-03 09:52:09 +00:00
Priyanshu Gupta f357ddbe8e tests/SupportKit: Add BStopWatch unit tests
Change-Id: I157b8b87538cfbb3a697d71c4c7aec9a941fefba
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10308
Reviewed-by: Kacper Kasper <[email protected]>
2026-02-01 13:37:50 +00:00
Máximo Castañeda 1f3bc6f056 app_server: fix build for older FreeType
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]>
2026-01-31 14:51:12 +00:00
Autocomitter 6425cf681a Update translations from Pootle 2026-01-31 08:14:48 +00:00
Augustin Cavalier 2c4d5ab101 libnetapi: Disable -Werror for GCC2.
Fixes the build after the package repo sync.
2026-01-30 21:37:00 -05:00
Augustin Cavalier cbb5c2c9f0 generate_build_packages_repo: Fix mode. 2026-01-30 21:36:42 -05:00
Augustin Cavalier eb3a8bce86 tools: Update hardlink_packages.py into generate_build_packages_repo.py.
It doesn't hardlink packages anymore, as we use S3, so it copies instead.
This is a better name anyway.
2026-01-30 21:32:37 -05:00
Augustin Cavalier 5c254dff8c HaikuPorts: Synchronize x86_64 and x86_gcc2.
One change to app_server to build with the new FreeType.
2026-01-29 22:51:52 -05:00
Augustin Cavalier f78defbd46 Jamfile: Reformat and adjust AddHaikuImageSystemPackages.
* 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.)
2026-01-29 22:49:29 -05:00
Augustin Cavalier 0af3006721 QueryParser: Don't send notifications if the node's been deleted.
Gets rid of redundant messages under B_QUERY_WATCH_ALL.
2026-01-29 18:10:12 -05:00
Augustin Cavalier 377f154bf0 BFS: Implement the trivial case of Volume::CheckForLiveQuery.
Saves a bit of work when there are no live queries running
(as will often be the case on an idle system.)
2026-01-29 18:01:37 -05:00
Augustin Cavalier 18dd362efa kernel/fs: Return B_BAD_VALUE for O_RDONLY|O_TRUNC on open().
According to Sortix os-test, this better matches the behavior
of OpenBSD and other OSes that reject this combination of flags.
2026-01-29 15:24:03 -05:00
Augustin Cavalier 6fc8d99e21 libroot: Expose exect() only if building with BeOS ABI compatibility.
It's non-standard and redundant, but was in the public R5 headers,
so we need to keep it around at least for compatibility.
2026-01-29 15:04:23 -05:00
Augustin Cavalier 4310e8e1c8 posix_spawn: Expose file_actions_add[f]chdir.
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.
2026-01-29 15:00:12 -05:00
Jérôme Duval afbcaac486 POSIX-2024: add getresuid(), setresuid(), getresgid(), setresgid()
remove syscalls for getuid and getgid

Change-Id: Ic6608bb65a654ff7d8fa25c8f39b71777b62b99c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9339
Reviewed-by: waddlesplash <[email protected]>
2026-01-29 17:06:11 +00:00
Augustin Cavalier 83da6699df Tracker: BPoseView handles "size" and "last_modified" with B_STAT_UPDATE.
Fixes #19916.
2026-01-28 22:30:32 -05:00
Augustin Cavalier d1cbd0b1e3 rtl8125: Synchronize with upstream OpenBSD.
Adds support for RTL8126 and RTL8127.
2026-01-28 21:38:01 -05:00
Nathan Patrizi d3f0a24569 strace: Fix handling of statMask when building stat string
Fix a crash caused by decoding stat arguments when the statMask is
only B_STAT_MODE or all 0.

Change-Id: Ic57c5494fbf4d20605955d3cc4c21f96e380fab1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10283
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2026-01-28 11:42:30 +00:00
Adam Słaboń 44cdc0420b efi: Skip devices with block size of 0
Fixes a Haiku loader crash (division by zero) on HP Chromebook YAVIKS

Change-Id: I88bef370ca4848862003b6f54ddae6d2f9b0a854
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10268
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2026-01-26 16:55:27 +00:00
Humdinger 5342045e20 Expander: Put scroll view flush to borders
* 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]>
2026-01-25 13:36:54 +00:00
Kacper Kasper 8e0aa4e092 @test-raw: fix missing libraries/packages
* Python is required for HTTP tests, sshd for connecting
  with the machine.
2026-01-24 22:49:44 +01:00
Kacper Kasper ccbb6eb32d haiku_unittests.hpkg: fix unittests dependency
* Add rules for files required for tests execution.

Change-Id: I2954f5dbec07af51ccdc9fd3389d530cf47ec0fd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10265
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: Alexander von Gluck <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-01-24 20:39:20 +00:00
Abdullah Zulfiqar d52ea5c8d2 btrfs: handle unknown compression instead of panicking
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]>
2026-01-24 15:12:08 +00:00
Oscar Lesta 22a91d557c docs/develop: some minor fixes to file_systems/overview.rst.
Change-Id: Ia710f87db372829fd1ccb84999cc1426091e1395
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10248
Reviewed-by: Adrien Destugues <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-01-24 15:11:39 +00:00
Kacper Kasper 17c18c1b0d unittests: fix x86_gcc2 build issues 2026-01-24 12:02:56 +01:00
Autocomitter 43131098dd Update translations from Pootle 2026-01-24 08:23:46 +00:00
Alexander von Gluck IV 771394b61c DriveSetup: Make EFI loader installation architecture aware
Change-Id: Iff1ad616d3ed241319b11328ec6031e0fb163f25
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10252
Reviewed-by: Alexander von Gluck <[email protected]>
2026-01-23 15:56:52 +00:00
Alexander von Gluck IV cbb8d73dc9 build: Introduce test image with haiku_unittests package
* 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]>
2026-01-22 17:27:44 +00:00
Andreas Henriksson f6829b6ccf bfs: Factor the code to add a block_run to a data_stream out of _GrowStream()
This is done so the code can be reused when moving the file stream.

Change-Id: I4c31c14492904cf8d490ec3720450e3b54f00cbf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/927
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-01-22 16:57:47 +00:00
ahenriksson e93c2b5609 bfs: BlockAllocator::Reinitialize()
Change-Id: I17d5fb7bbf963a4f03458ba9bd4aee49a757d571
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10059
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-01-22 16:57:47 +00:00
Adrien Destugues 2d902e5c6b bfs: Add Journal::FlushLogAndLockJournal
Change-Id: Ic239fd31c99e8c59925ffea2b3b17d9ad5ae802b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10058
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-01-22 16:57:47 +00:00
ahenriksson 2f76872b8e bfs: support moving the journal
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]>
2026-01-22 16:53:25 +00:00