Commit Graph
67857 Commits
Author SHA1 Message Date
Humdinger 7d07c4bc73 Added Norwegian translation credits to AboutSystem
* Uncomment the Norwegian credits
* Added Johan Wagenheim to translation credits

Change-Id: I0016161fd8608da6bec9ed400b845deba64ed512
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9342
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2025-06-14 14:03:07 +00:00
Autocomitter 66af8458a3 Update translations from Pootle 2025-06-14 08:14:14 +00:00
Augustin Cavalier e6fc1b2484 openbsd_network: Add a method needed by the OpenBSD variant of the "wpi" driver.
Change-Id: I4385e8e527b6310b1002f0dc60b7a21e0c58e2f1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9310
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-06-11 11:03:20 +00:00
Pascal Abresch f5049f8367 configure: use command -v instead of which
command -v is specified by posix, which is not

Change-Id: I2716ab2a0577882da952d94bf2a499b06b14f22a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9327
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-06-11 10:56:20 +00:00
Máximo Castañeda 86caaf1c50 UserBootscript: avoid opening nonexistent files
Fixes: #19612
Change-Id: I6fe210e087adbd094cbfb5625d54fbe958f72473
2025-06-11 12:48:09 +02:00
PulkoMandy 26bedc8f4e sparc: move kernel to a lower address
The openboot mmu code does not like addresses above 4GB, so load the
kernel to a lower address. It doesn't really matter anyway, because on
sparc the kernel normally lives in a separate address space and uses
special instructions to access userland memory.

See #19597 for details, further changes will be needed here.

Change-Id: Iac6901f275667efef5e64d059daf4c96032a7baf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3573
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-06-11 06:40:13 +00:00
Jérôme Duval 5ac839cb94 kernel/fs: vnode_path_to_vnode(): check directory on trailing slash
fix #14352

Change-Id: I2fb7f0f455f46f0b5b2fe0eb487896f41b33a44b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9335
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-06-10 16:00:13 +00:00
Jérôme Duval 23f923bcaf libbsd: add closefrom() and close_range()
Change-Id: I9c88948d6c4d5a32e3aa06cd696e2ce24c2d298f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9334
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-06-09 16:26:13 +00:00
Jérôme Duval 396ebbc16f POSIX-2024: support for MSG_CMSG_CLOEXEC and MSG_CMSG_CLOFORK
Change-Id: I55551860fb7dac5d0c11a6d4201502fff9ab2d13
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9332
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-06-09 16:26:13 +00:00
Jérôme Duval 904fd2abf0 POSIX-2024: support for O_CLOFORK, SO_CLOFORK
Change-Id: I4f3a961947eefdeafd5a249499899cc92d67c2d1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9330
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-06-09 16:26:13 +00:00
Humdinger ba28b6f5f7 Mail: Avoid duplicate Person items
Duplicates can arise if e.g. you have backup of your contacts mounted.
Or, imagine someone packages a Person file with their software as it
was common back in the BeOS days. If you have several software packages
from that dev, you'll see copies of that Person file from each package.

If a contact has the same name, we compare all email addresses. If they
differ, a new item is created. That way, Person files with more than
one email attribute ("META:email{n}" with n >= 2), as used by other apps
like Peeps!, get an item per address.

When checking for email addresses in AddPersonAddresses(), don't quit
looking through the attributes when encountering an empty one via "break".
Do "continue" with the next "META:email{n}" attribute, as it's possible
META:email2 is empty, but META:email3 has an address.

Change-Id: I644cfa2d8349b5022ffde37344c55a54577b12f8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9331
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-06-09 16:25:12 +00:00
Humdinger 1ebc7b923c Mail: Avoid showing contacts' empty addresses
Other contacts apps like Peeps! allow for more than one email
addresses, using the attributes META:email{n} with n >=2.
Only, not all contacts having those additional attributes have
them actually filled.

This results duplicate entries in e.g. the To-field pop-up with
no email address attached.

We now only add an item if its email address isn't empty for those
additional email attributes as well.

Change-Id: Icb1750fe8e2b10280bc01b3181b444f01096e021
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9329
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-06-07 13:19:05 +00:00
Autocomitter 6d052afc3f Update translations from Pootle 2025-06-07 08:13:17 +00:00
Jérôme Duval 7b2b77d482 kernel/x86: fix syscall parameters calling user_debug_post_syscall()
regression introduced in hrev58093

Change-Id: Ic1a508485c64964b0e2aab85db0989e3a707c958
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9325
Reviewed-by: waddlesplash <[email protected]>
2025-06-03 19:37:39 +00:00
John Scipione bcea01a853 Tracker: Fix Select shortcut again Fixes #19596
Change-Id: I0652ee11bb66e9b0ce9eaef8f9d7dc4f6975641e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9320
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-06-01 03:09:31 +00:00
Humdinger e5a6a906f8 Tracker: Fix "Select" shortcut
* Quick sentense-casing fix to AboutWindow.

* Probably some copy&paste mishap.
  Fixes #19596

Change-Id: Ic7193cceaa9ad3da771c2d8e950a52234f0e7b64
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9317
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-31 20:58:02 +00:00
Humdinger 66032c9f31 install-wifi-firmwares.sh: Fix download URL
Change-Id: I5a8eba3f3b0d4d0071e011959d5d1aedc9db24e2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9318
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-31 20:57:45 +00:00
Autocomitter eb5f74847e Update translations from Pootle 2025-05-31 08:18:58 +00:00
Augustin Cavalier 183a60a7bc ICULocaleBackend: Validate that the created locale really exists.
Locale::createCanonical will happily accept all kinds of strings
that don't actually indicate valid locales, but down the line
ICU will behave strangely or even crash with these in certain methods.

So, use getISO3Language(), which will return nothing if the language
is unknown to ICU, to validate that the locale exists, or bail if
it doesn't.

Fixes #19576.
2025-05-29 17:10:47 -04:00
Humdinger 6ef33c54e0 TextSearch: Add "Clear history" menu item
Sometimes it's good to go back to a clean slate…

Change-Id: I6252b42c948b1fa9cbe786104a191fb0d4e629c0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9306
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-29 18:22:56 +00:00
Humdinger 2d11570065 Mail: Fix "Close and set to…" for multiple mails
Before, when you got multiple emails open, doing e.g. a "Close and
leave as New" (SHIFT + ALT + W) would correctly leave the active email
with status "New", but the other open Mail windows were closed as well
and got the status "Read"!

Now we only close the current Mail window, not the whole app and with
it all open email windows.

The currently somewhat hidden command "SHIFT + ALT + Q" now issues
a message to all open Mail windows to close and keep their mails' status,
i.e. the same as invoking SHIFT + ALT + W in all open email windows.

Change-Id: I0402a1e39ce58b53eca2c3bfe8f8becd5529c566
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9305
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-29 16:40:53 +00:00
Humdinger 67aa257da8 TextSearch: Add keyboard navigation to history
Move back and forth in the search history with CursorUp/Down.

Entering a search text will reset the current history index
(fCurrentHistoryIndex = -1), and you'll be back to the first
history item next time you CursorUp.

Change-Id: Id45a47756b4732ae6e22e5373c4db5249c8df198
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9303
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-29 16:40:14 +00:00
Humdinger 3b75482ee0 Tracker: Fix missing translation
Fixes #19593

Change-Id: I98123abb512ded028c2381511a17f3fcdfde9ef3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9313
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-29 15:37:22 +00:00
Augustin Cavalier 90f095da8d ramfs: Handle renames replacing existing files properly.
Previously, Entry::Link() behaved incorrectly in this case:
it would unlink the old Node before linking the new one.
But there's only one DoublyLinkedListLink inside Entry
for the Node to use, so this would clobber the lists
and thus produce KDLs.

Instead, make Link fail if there's already a node, and
thus force the caller to Unlink first. For now, just use
a "naive" implementation of this in the one case in
rename(); in the future we could make it more robust if
necessary.

Fixes the other KDL in #19583.
2025-05-28 16:13:57 -04:00
Augustin Cavalier 41b15d5fe4 ramfs: Check for errors when increasing file sizes.
Fixes the first KDL in #19583.
2025-05-28 16:10:01 -04:00
Jérôme Duval 4bb864d0a6 ext2: enable the checksum_seed feature
Change-Id: I5a34ae9247220f3c40441623bef2b3806b56d934
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9312
Reviewed-by: Jérôme Duval <[email protected]>
2025-05-28 15:19:17 +00:00
Augustin Cavalier 52fc5b5f7e libroot/posix: Switch back to using glibc's string/float-integer conversion routines.
This reverts commit 7174197a8d
and all following changes to the related musl files.
(Besides just the reverts, though, it also uses glibc's
strtol-related routines even outside wchar_t.)

musl's behavior of only parsing POSIX-locale strings here may
be technically conformat, but in conjunction with a filled-in
"localeconv", produces behavior that glib does not expect,
and thus in locales with separators other than '.' and ',' as
in POSIX (or EN) locales, it doesn't work properly.

Fixes the main problem in #19582.
2025-05-27 23:15:28 -04:00
Peter van Dijk caab09d392 bios_ia32: fix compilation with TRACE_DEVICES enabled
Change-Id: I3f7bad8fba842be7d119db5bd22a0280a6df179b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9243
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-27 12:57:22 +00:00
X512 c5f7786d06 BPicture: fix BeOS flattened format compatibility
- BeOS store strings with `int32` size prefix.

- Corrected `B_PIC_DRAW_STRING` field order to match BeOS.

Part of #1133.

Change-Id: I354fbf3e8a093ee21a87a6400a036751b442955b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9307
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Stephan Aßmus <[email protected]>
2025-05-27 12:56:03 +00:00
JackBurton79 e88cfea6cf Terminal: Fix possible double lock
Check if fMouseClipboard is be_clipboard, and do nothing in that case.
This could happen if SetMouseClipboard has never been called, for example when running as a replicant.
Also updated copyright year.

Change-Id: I2468d80404c429797bd8c906f3aa747ffc414fa8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9309
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-27 12:55:19 +00:00
PulkoMandy 0ec1d4526c Adjust all users of BUrl to new API
The old BUrl constructor with just a string is now private. The new one
has a default value for the second parameter, but C++ doesn't exclude
the private constructor from the candidate functions search. So, the
default argument for the new constructor needs to be explicitly
specified now.

Change-Id: Idb1915649ea3d2c59e344801a9d4fe201f8040e9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9236
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-27 10:43:12 +00:00
athira-selvam 1d242620b4 BUrl: rework handling of URL encoding
The content of a BUrl should always be in encoded form, to simplify
handling and validation.

Deprecate the UrlEncode member function and make it private. Instead aadd a new
way to handle URL encoding:
- All ways to set an URL (constructors, SetUrlString, and all setters)
  now take an extra boolean parameter indicating if the string is already
  encoded. The default value is to encode strings automatically.
- The static version of UrlEncode and UrlDecode, which operate on a
  string, are preserved and used by other parts of the API.

All unit tests adjusted to handle this, and still passing.

Fixes #12983

Change-Id: I06f06978d0d35e56d7c92b67f001856bb7dcafc8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1193
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-27 10:43:12 +00:00
John Scipione 60bb9a9f96 BControl docs: Sum up abstract nature of BControl and how to set colors.
Change-Id: I509e5325a8fcfdc3bf75ba3e35c887c93099d3c5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8980
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-26 20:08:52 +00:00
Jim906 b3ffc5acf6 nfs4: Fix minor private cache issues
* Allow Inode::LookUp to handle the case in which the inode number in
  a DirectoryCache entry has no corresponding entry in the InoIdMap.
  This situation can occur after an unused node is freed (due to low
  system resources), since ~VnodeToInode will remove the node's
  InoIdMap entry.
* When a file is overwritten by a rename operation, remove the
  overwritten file's entry from the parent DirectoryCache (although a
  file with this name is still present in the directory, the old
  DirectoryCache entry is now invalid because the name is now linked
  to a different inode).
* Invalidate the cached stat info, including the number of links, in
  Inode::fMetaCache when linking to that inode.
* Make a correction to the assert added in
  https://review.haiku-os.org/c/haiku/+/9282. Entries may still be
  left in this client's InoIdMap if the file was deleted by another
  client.

Change-Id: Id437be32e51a4b324eb818b398d7facd23b7be56
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9308
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-05-26 18:27:35 +00:00
DigitalBox98 742a3c3359 Wacom: Added support for Intuos4 series
Change-Id: I8852a3f216201e794f705113bbf0ccf44fa9e582
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9284
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-05-24 16:30:07 +00:00
Alexander von Gluck 22ec477724 Time preferences: show help harder
Change-Id: I136c27e73ba191a0380c580559e82c49cca145e4
2025-05-24 07:54:10 -05:00
PulkoMandy 7dd8d99c5e Time preferences: show help if started with unrecognized command line flags
Change-Id: I4e87ebfab28104f94e77f6d83de4fefdd7897ef1
2025-05-24 14:50:31 +02:00
Autocomitter db7149574d Update translations from Pootle 2025-05-24 08:13:38 +00:00
X512 a73ec86407 Shape: remove unused code
Change-Id: I5fc23415aa79d216f04cdf0481794b3fa4c35bdf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9304
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-05-21 20:23:53 +00:00
Oscar Lesta 30e1b0862f TextSearch: add a simple file filter.
It relies on grep's "--include <glob>" option.

GUI layout code courtesy of Humdinger (thanks!).

Change-Id: I825abdaafaecdb750f2d27e510b310d20d3b461c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9285
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: humdinger humdinger <[email protected]>
2025-05-21 17:48:14 +00:00
Alexander von Gluck 2de2e7aec3 headers/BeBuild.h: Add gcc 15 support
Change-Id: I4572dc62159ad0abb593c48d0ff0008068815fbd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9302
Reviewed-by: waddlesplash <[email protected]>
2025-05-21 17:46:52 +00:00
waddlesplash 888ea83454 Revert "BTextView: Update word-wise/line-wise shortcuts"
This reverts commit 74ef92bc55.

Change-Id: I441d9cce87670e17141051fded594ae8aa6fc1fd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9299
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-21 17:46:34 +00:00
Alexander von Gluck c8f38f4627 boot/loader/elf: Minor fix for printf format type on x86_64
Change-Id: I619542fa13794bd359c589672d85138c8cf251fe
2025-05-21 12:00:54 -05:00
Alexander von Gluck 07a90ea93c ldscripts/kernel: set load base of 0
* 0463b95 removed a messy workaround ensuring the load address of
  the kernel was 0 due to riscv64's PIC kernel design breaking rv64
  booting.
* This is the proper fix to set the load address of our PIC kernel
  as 0 (triggering a dynamic position)

Change-Id: I010d70bef90c84ca0243601b86d79fbb60c38728
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9301
Reviewed-by: Alexander von Gluck <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-05-20 18:29:01 +00:00
Alexander von Gluck f5ceb1e1b6 boot/loader/elf: Add better debugging for AllocateRegion failures
Change-Id: I0372f7d58c4dbe1caaaebcfaac3c8a83c93d114d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9300
Reviewed-by: Alexander von Gluck <[email protected]>
2025-05-20 16:11:15 +00:00
Alexander von Gluck 7a1b94ee07 build-packages/riscv64: Bump zstd to 1.5.7
Change-Id: Iaf198c96950541fa226dabda5c0222b033695de8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9297
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-20 13:25:56 +00:00
Autocomitter debd2d9a90 Update translations from Pootle 2025-05-17 08:09:23 +00:00
Sylvain78 e9276a469d RemoteDesktop : reuse port 10900
Change-Id: I504cc9405138ee2892638c31adad35b844804df9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9279
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-16 12:46:24 +00:00
Oscar Lesta 6168c323f4 makefile-engine: add INSTALL_DIR and TARGET_DIR to the template.
Otherwise folks like me may miss that those can be used.

Change-Id: Icb7ccca6430089ec27cd6db21153562976f631ad
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9281
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-15 09:06:27 +00:00
Jérôme Duval 3646c0e4ed tcp: retransmit SYN when not acknowledged after some time
* 4 times one second then exponential back off
* fix #19575

Change-Id: If9348191e1c8260f381e0e6fec338cfe83d53660
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9283
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2025-05-15 08:00:38 +00:00