Commit Graph
68312 Commits
Author SHA1 Message Date
PawanYr d225106a20 Installer: Add EFI Loader copy tool
Add a simple tool to the installer that copies the Haiku EFI loader
to a valid partition of the user's choice. Very basic with the
intention of making this process a bit less annoying; nothing more than a
one-to-one implementation of the copy instructions on this page:
https://www.haiku-os.org/guides/uefi_booting/

Also, fix bug in BDiskDeviceRoster::FindPartitionByMountPoint that caused
an error to be incorrectly returned on success.

Change-Id: Ifd3bb96d907dc93908de5ead007c3d5e72b110b8
2025-12-18 14:53:04 -06:00
SED4906 dc7f5e5753 notification_server: Only emit sound if progress moved
Change-Id: Ib5145f0f8b141b155a0f9f7d8eb50f07aef60f37
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10056
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-18 10:47:37 +00:00
nipos dd184bc74a MidiPlayer: Fill VolumeSlider with B_CONTROL_HIGHLIGHT_COLOR
Fixes #14898 (maybe)

Change-Id: Ic110c411f23084214c2876108d6aeccea2395354
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10104
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-18 10:47:17 +00:00
nipos 2a449d1d3d HaikuDepot: Optimize usage conditions window size for HiDPI
Fixes #16017

Change-Id: Ie3abe304d010d3264f25c2b225a927e95670cfe7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9737
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-18 10:46:26 +00:00
PulkoMandy 1251c7d8a9 Bootstrap image: Add network stack and drivers to preloaded boot modules
This is needed for network booting the image.

Change-Id: I8132bca717de7e0b72d43ad9b348f045300ef353
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10112
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-12-18 10:45:08 +00:00
PulkoMandy a4f6102692 efi network boot: tell the kernel we're booting from the network
Pass network boot parameters in the same format used by the PXE loader.

Change-Id: I90c9cbfcb6b7bd5bbeb3bf4918880174fd348ee3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10111
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-12-18 10:45:08 +00:00
PulkoMandy d0d8228843 efi arm: use kernel args allocator built-in alignment feature
No need to manually align allocations, the kernel can do it.

Change-Id: Ib5b271df0a44f0ed3d8af584b9a881b1d35120a3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10110
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-18 10:45:08 +00:00
PulkoMandy 3d2b40d59e efi: synchronize style fixes accross versions of arch_start
The arch_start code is quite similar for all efi architectures and may
be unified someday. Try to keep it as similar as possible by
synchronizing at least style fixes (variables renaming, line breaks,
format macro fixes).

No functional changes intended.

Change-Id: Ie4d54e73020e05a2af6755b7f5a65b92b4953080
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10106
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-12-18 10:45:08 +00:00
PulkoMandy b42876eb45 bootloader fat: use shared utf16 conversion function
Change-Id: I9264e633479ea039a2c004c3331453754a92ca43
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10105
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-12-18 10:45:08 +00:00
Alexander von Gluck IV b157c2179a boot/platform/efi: Add network booting support
Similar to open firmware implementation.
This allows to load the kernel from a remote_disk_server.

IP address is recovered using LoadOptions with a syntax similar to the
Linux kernel network boot "ip" parameter. If this is not set, no network
booting is attempted, in order to not slow down normal booting by
waiting on network traffic.

Change-Id: I17738bbcde85921672965b9936a2b484f1e57c6c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3678
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-18 10:45:08 +00:00
Augustin Cavalier ea58f1fc7c kernel/vm: Add missing Put() when removing a reserved area.
This code is triggered whenever an area gets resized to be as large
as, or larger than, a reservation. That can happen with the new heap
when it grows to rather large sizes, in which case we would then leak
the address space when the team was deleted (including all the page
table memory.)

Fixes memory leaks seen e.g. when running Rust compiles, and especially
other short-lived but high-memory-use applications.
2025-12-15 21:24:22 -05:00
Augustin Cavalier 51d39dc74f kernel/vm: Put the address space in get_memory_map_etc.
We don't need a lock here (as we just want the TranslationMap),
but we do need to release the reference we acquired when finished,
otherwise the address space will be leaked.
2025-12-15 21:21:51 -05:00
Augustin Cavalier 24f5beed39 kernel/vm: Minor code cleanup to get_memory_map_etc.
* Move variable declarations closer to use.

 * Adjust comment to be similar to other functions.

No functional change.
2025-12-15 21:21:17 -05:00
Augustin Cavalier ab701fd69e kernel/vm: Print thread ID as decimal, not hex.
Matches the other places this is done.
2025-12-15 21:19:56 -05:00
Augustin Cavalier 0110436f37 ProcessController: Add casts to appease GCC2. 2025-12-15 13:48:57 -05:00
Augustin Cavalier 1e3d21fd30 ProcessController: Allow manual resizing of the replicant window.
There's no real reason to forbid it.

Fixes #13173.
2025-12-15 13:38:42 -05:00
Augustin Cavalier f77f533f72 ProcessController: Scale width by height.
This makes ProcessController look a whole lot nicer on HiDPI.
Tested with 12pt (should be the same), 18pt, 24pt fonts.
2025-12-15 13:34:55 -05:00
Augustin Cavalier 4523120b97 ProcessController: Refactor size computation.
* Don't duplicate the logic, put it all in one place: in a
   static method of the main class.

 * Compose sizes in PCWindow.

Fixes #18049.
2025-12-15 13:34:23 -05:00
Augustin Cavalier 42bb2865fd ProcessController: Base margin on font size.
Arrows don't overlap bars in HiDPI anymore.

Fixes #16306.
2025-12-15 11:58:02 -05:00
Nathan Patrizi 0ce28c177c Tracker: Item view shows number of selected items
Fixes #18811

Change-Id: I4e9abbbf58ec693f0af9b136d973603fa437cdfd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10048
Reviewed-by: waddlesplash <[email protected]>
2025-12-15 16:01:35 +00:00
nipos 9e21e2fda7 Tracker: Fix missing pose view border in save panel
Fixes #14771

Change-Id: Iceaed5d1d55402303a70737608a30bfe23db3e93
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10109
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-12-15 14:26:00 +00:00
Niklas Poslovski 7914fda599 People: Pass received BMessage of PersonView on to BView if not directly needed
Fixes #16197

Change-Id: Ic98062c57fca9e8454c10e418408af7018474be7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10073
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-14 17:54:36 +00:00
Andrew Lindesay 94c99bfdc9 HaikuDepot: Handling for 503 with delayed retry
Change-Id: Ic7f2f250a488ca408b2ef988ba1d65b135b9fccc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10016
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-14 02:01:31 +00:00
Jérôme Duval 1a163d0ce9 Terminal: support for hyperlinks (#18827)
* support for invisible text
* support for DECSTR - soft terminal reset

Change-Id: I5cc333c7409a16fb41bcd57c5ebf2f277bd31370
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9661
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-13 21:25:16 +00:00
DigitalBox98 cfd2df0eba Haiku Book: add device kit
Change-Id: Ic2569ae2c6857e1c00ab9068743042ed51d7ea5f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9519
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-13 20:20:07 +00:00
Samuel Rodríguez Pérez b6506ee083 input mouse mm: Fix two-finger scrolling by checking for two fingers only
This bug was hidden from the previously used values of fingerWidth mapped
to specific behavioural flags on Synaptic devices.

Change-Id: I333bdfc6b3eba9b473d9475ec88006347d1462be
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9918
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-12-13 20:14:21 +00:00
Samuel Rodríguez Pérez ad8a550efe input mouse mm: Allow scroll movement and edge scrolling on tap drag scenarios
This enables the code path to allow  scroll movement and edge scrolling
on tap drag scenarios by checking for any button event instead of using
the previous button state.

Change-Id: I99914bfea0f5b257646cc8247b5bcaffa51ed49e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9917
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-13 20:13:36 +00:00
Samuel Rodríguez Pérez e2685c735f input mouse mm: Reset tap statuses on any button presss or on more than two fingers
This fixes incorrect fast double taps issuing click and other misbehaviours
when on two-finger or more-than-two-finger events happened at the same time.
Apart from that, it fixed incorrect tap statuses checking for all change of
buttons instead of only from kLeftButton.
The latest is commented to easily find each tap related button status changes
and checks retated to tap handling.

Clean up - Removal of kLeftButton check that was in place from previous as
a condition for tap related statuses. Now checking for whatever button.

Change-Id: Ied6a829022cd4e8601a7432fdfc71b08446a642d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9916
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-13 20:13:36 +00:00
Samuel Rodríguez Pérez cd5774201a input mouse mm: Introduce helper funtions for finger handling
It fixes devices that do not store finger flags on fingerWith field
such as Elantech touchpad devices. I think only Synaptic touchpad
use those.

Added are TODO items to change the inner working of these funtions
after a future refactorisation of input devices to handle those flags
and efective finger width values as separate entities.
Commented is "nFingers" with meating of number of fingers which is
expeted to be different from "fingers" which is a finger bitmap
where each bit represent an identified finger.

Change-Id: I5af5d5f86a5ea4f4f06169849afe99395a5e952b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9913
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-13 14:20:38 +00:00
DigitalBox98 4b5001248d MediaPlayer: GuessMimeType() if no supertype and traverse link
... (to handle media files symlinked to volumes w/o attributes).

Change-Id: I0ef2caa557769fee4781cd0ed44ff33d69e64103
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10006
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-13 14:06:12 +00:00
Andreas Henriksson 3329194a32 bfs: support functions for moving an inode
Change-Id: I94bebc87b4b6ce467867f5672ffff6c7633f74d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/924
Reviewed-by: Axel Dörfler <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-12-13 13:59:12 +00:00
nipos 2ae816f515 translators: Use BSlider with triangle thumb and without filling
Fixes #14898

Change-Id: Ifb63859d869a52b42b4948183a0b6045d665c149
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10075
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-13 13:54:17 +00:00
nipos ad9735648b HaikuControlLook: Avoid changing the HighColor of the parent view in DrawSliderTriangle
Change-Id: Id50b89e7674e6bab9bbe0c4e9bf8e4267778a8d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10074
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-13 13:54:17 +00:00
Humdinger 4f361b3c3d ActivityMonitor: fix missing translatable strings
Added missing SystemInfoHandler.cpp to Jamfile for the missing new
string "No thermal sensor".

Change-Id: I308bf29658a623bcfd552ff4c418ed3baab8833a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10103
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-13 13:51:12 +00:00
Autocomitter c0e88245dc Update translations from Pootle 2025-12-13 08:10:41 +00:00
Augustin Cavalier 0630e71e0e BuildSetup: Remove some unnecessary disabling of DEBUG.
All these can be built with DEBUG=1 now, it appears.
I tested most of the others and they still fail.

(The settings in this section can be overridden by setting something
else in UserBuildConfig, it appears; they're likely only relevant
when trying to build the entire tree with DEBUG=1.)
2025-12-12 21:19:35 -05:00
Augustin Cavalier a7ee307329 kernel/fs: Clean up and improve logic around address copying.
This follows up after 3b7038d884: migrate the copy-from-userland
logic into a separate method, migrate all consumers to use it, and
add more missing checks and initializations.

Change-Id: I6a2e11a2d0fae7ecf1c94f5b112fa946aaef68ae
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10055
Reviewed-by: Jérôme Duval <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-12-12 05:20:38 +00:00
Augustin Cavalier 758538e666 UDF: Put the root node in unmount.
Fixes #19845.
2025-12-09 21:33:29 -05:00
Augustin Cavalier 0125f39fd4 UDF: Upgrade some more TRACEs into ERRORs.
Otherwise it won't be clear why some volumes aren't able to
be mounted.
2025-12-09 21:33:13 -05:00
Máximo Castañeda c33f1b8ccd Deskbar: fix loop exit when adding a team
We want to check all apps until we find the one we are looking for, not
just the first.

Error introduced in fb885767b6.

Fixes: #19152
Change-Id: I8b7c5a7c2fcd530b13c70f7a1addda583e30ecdc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10076
Reviewed-by: Máximo Castañeda <[email protected]>
2025-12-10 01:29:08 +00:00
Augustin Cavalier 333909db33 kernel: Adjust missed OpenHashTable include. 2025-12-09 16:18:49 -05:00
Augustin Cavalier 1257e2ba22 Move most headers containing generic template classes out of kernel/util.
This follows on the move of BitUtils. Many of these headers were
already used in userspace.

Fixes #19849.
2025-12-09 16:11:46 -05:00
Augustin Cavalier 9f786b6af7 Rename "headers/private/utils" to "util".
This undoes some changes from cf930b7e6c.

Nearly all the other utility directories in the tree are named "util"
not "utils", so let's be consistent.
2025-12-09 16:03:02 -05:00
Augustin Cavalier 9c4c97f7f1 BUSBInterface: Fix incorrect management of fEndpoints on updating.
num_endpoints will be changed by the ioctl; we need to use the old
one when deleting the array.

fDescriptor is just zeroed if we fail to fetch, so just perform
the deletions up-front.
2025-12-09 15:00:47 -05:00
PulkoMandy 97675f2fc4 arm: relocate UART when remapping virtual memory
The uart virtual address changes as soon as we apply the kernel memory
map. gUART is used only after that, from serial_init() onwards. So it
should use the virtual address, and not the physical address it was
previously created with while parsing the FDT.

Change-Id: I8c8a024fe564b49d6555f8e48f5ab31652d30708
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10068
Reviewed-by: Fredrik Holmqvist <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-12-09 19:35:39 +00:00
Axel Dörfler 0f7bee148d AboutSystem: Open with golden ration window size
* This looks more pleasing than the too flat window before.

Change-Id: I0e97c094abf6f7d71d86cfe28aaf9c2d6960f79c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10065
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-09 10:18:39 +00:00
Oscar Lesta 82755a4c33 TextView: Move caret position to the end of selection on SelectAll().
This makes it consistent with the behaviour of double/triple click
selections.

Fixes #4094 / #19842.

Change-Id: Ibbbe36c9703207744e79c83447f95815ea5bf8fe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10066
Reviewed-by: John Scipione <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-09 10:15:55 +00:00
Jérôme Duval 9d587f4f3f tcp: send RST instead of FIN, when user closed and received data get lost
this is the abort way of closing a connection.
tested with golang's http test TestTransportGzip. All TestTransport* pass.

Change-Id: Ib79516eb8a16480d7a4425675748ff76554e9c6c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10054
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-12-09 10:14:36 +00:00
Samuel Rodríguez Pérez 5860e2c161 input mouse mm: Trace event, status and positional information
Change-Id: I5689355c15139d7a194ecb74a9206718afee9b2b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9914
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-09 10:08:25 +00:00
Samuel Rodríguez Pérez d519530a2b input mouse mm: Improve tracing with a function tracer
The function tracer from MouseInputDevice.cpp adapted for
movement_maker.cpp.

Change-Id: I7414d9c69e231de2f8833814a5a7ee358c8088dd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9924
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-09 10:08:25 +00:00