Commit Graph

65880 Commits

Author SHA1 Message Date
Jérôme Duval
142723d197 libbsd: fix timespeccmp()
Change-Id: I5c1b1e5c4c583c0758b9f1b6eee67cb83053461d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7514
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-03-07 21:40:05 +00:00
Jérôme Duval
afeee28538 network/stack: fix trace build
Change-Id: Idbb27469bfcafaecbca5e13378a3e0c8d30d4201
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7513
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-03-07 21:40:05 +00:00
milek7
51edf9322c arm64: Save/restore TPIDR_EL0 in _arch_context_swap
It's not used for anything by the OS but userspace might want
to use it for its own purposes.

Change-Id: Icda4bcd6de9d68596555e81293c8bd075f80a2a4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7511
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-03-07 15:53:37 +00:00
Oscar Lesta
ea989da7f1 SetupEnvironment: export XDG_STATE_HOME env var.
Fixes: #18257.

Change-Id: Id7f81b4be3b63f383963f0d752e6ffeda41c3945
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7506
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2024-03-07 15:53:06 +00:00
milek7
06fae14eb9 arm64: Save/restore FPU state when handling IRQ or syscall
Change-Id: I8b2a36d57f410c0d06ca5ce90d1b997494072c94
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7510
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-03-07 13:28:27 +00:00
milek7
b6fd30b0ed arm64: Declare exception handlers as STATIC_FUNCTION
Branch inside exception vector slot is emitted through PLT veneer,
which clobbers x16 and x17.

Making the function static removes the veneer, and fixes the problem.

Change-Id: If8810999675b6e36926be9806e23a78b7e5c0f10
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7509
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2024-03-07 13:27:30 +00:00
X512
02463fb461 kernel/int: consolidate interrupt vector number to int32
This is no-op for 32 bit platforms because `int32` is defined as `long` there.

Change interrupt vector number from 64 bits to 32 bits for 64 bit platforms.

Change-Id: I52d1ad616cab16488804e9733c7afaf772a670ba
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7507
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2024-03-06 16:03:45 +00:00
PulkoMandy
0e703d1f1e vfs: log in syslog which inode is preventing an unmount
This may be somewhat helpful to investigate problems when unmounting
fails.

Change-Id: I72b70a34ca43697f22a13db6aff342abce38cd78
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7501
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Rene Gollent <rene@gollent.com>
2024-03-05 11:49:21 +00:00
Jérôme Duval
49d736ca2a tcp: actually send finish when needed by the state
fix #18327 after hrev57546

Change-Id: I352a325f3c2068d06996c278246f7a30f5bfcbe0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7504
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-03-04 19:23:28 +00:00
PulkoMandy
35718d84c3 ffmpeg: Fix build with tracing enabled
Change-Id: I72cf1ce895baf3380568fbb0f0e8a92e79c5a53b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7500
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
2024-03-04 15:33:35 +00:00
PulkoMandy
7845db65a2 Remove wqy_microhei font from Haiku release images
It has been replaced by Noto as the default font for CJK characters and
is not referenced anywhere else anymore.

Change-Id: I9eb706531deb44395d71e0a04b0ec5e2f2dea230
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7499
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-03-04 15:33:35 +00:00
Oscar Lesta
5c5467233d tests: fix format warnings on GetMouseTest.
Was giving:

"warning: long int format, different type arg (arg 2)"

On beta4 32 bits.

Change-Id: Ifd50eaff8d40bf31d24db4441b15aad5590b8c95
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7502
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
2024-03-03 19:35:30 +00:00
Augustin Cavalier
92a87afc36 Appearance: Remove some dead code.
This is now managed in another class entirely.

Change-Id: Ib415b17b5785b9077b42146fff97d85184b23a67
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7478
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-03-03 16:53:43 +00:00
Oscar Lesta
7eefe785ff keymaps: fix empty "right option" key.
Fixes #18833.

Change-Id: I5d46ea11581af48e6fd6f38003a589ca700b07f0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7497
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-03-03 15:09:55 +00:00
Pascal Abresch
03e4248786 AboutSystem: fix the build
Change-Id: Ie0c34be2cccf567d624449175b1e54f29c2e7602
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7498
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
2024-03-03 09:39:53 +00:00
Pascal Abresch
e908eeabb6 Credits: add nephele and humdinger to maintainers
Change-Id: I19731c575fbe380ef9f788476852d9a3f33bcbbd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7496
Reviewed-by: humdinger humdinger <humdinger@mailbox.org>
2024-03-03 09:20:08 +00:00
Andrew Lindesay
bf866d5ef7 HaikuDepot : Improve Language Code Handling
HDS is soon going to be enhanced to deal with more than
just the two-character ISO language codes that it
currently supports. The logic in HD is currently expecting
that HDS will only supply these two character codes. This
change is about making adjustments to be able to cater to
any ICU language IDs from HDS.

The naming in HDS is still going to continue to use the
terminology that it currently does; it will call the
identifier for a language a "natural language code". The
HD source will instead reflect the nomenclature of ICU
and call the same thing a language ID.

Change-Id: Ib138c2e3b7b667edf15cd497c2f710f80b3c29f8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7424
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2024-03-02 20:55:05 +00:00
Autocomitter
56030d2d7b Update translations from Pootle 2024-03-02 08:21:29 +00:00
Jérôme Duval
d0f06357f5 app_server FontManager: load all fonts and named-variants from a file
BFont::LoadFont can now use an index (0-based) and an optional named-instance (1-based)
to select the font variant from a file.
BFont::LoadFont can also use an index when loading from memory.

Change-Id: I0ce3eb6cc77d32cf43847416561eafe3063ca693
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7402
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Máximo Castañeda <antiswen@yahoo.es>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-03-01 18:04:33 +00:00
Augustin Cavalier
fe8f7e314e TCP: Let EndpointManager set Local and Peer addresses.
The Local address will apparently be set by the module->bind() call
in EndpointManager::_Bind(), while the Peer address will be set by
EndpointManager::SetConnection().

This means that if BindChild() fails for some reason, we will now not
be left in a state where the LocalAddress is set but we are unbound.
That could be the cause of #17058, as that panic occurs when
TCPEndpoint::IsBound() returns true, but we have not been added to
the bound hash.
Change-Id: I3121d0d99289d8cf83c7ed3c3e2d413feb6dad70
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7490
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2024-03-01 12:58:37 +00:00
Augustin Cavalier
8da8973460 iaxwifi200 & idualwifi7265: Port a fix from OpenBSD. 2024-02-28 18:26:08 -05:00
Calisto Mathias
d62ce6347f Device Tab View: Remove Unnecessary Tab View By Replacing it with required Properties View
* Deleted all the unnecessary lines of code and replaced the tab view with its direct child view.
Also changed the MessageReceived Functions in order to incorporate the change.

[Review 1]: Added the required Whitespace

Fixes #18213

Change-Id: Ibe4e1c2e3cb3acca58b3cb76f93c8184157d3cfe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7489
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-28 23:19:23 +00:00
Calisto Mathias
ffa42ceaf7 MediaPlayer Settings: Fix Misalignment Issue for 2nd and 3rd Checkboxes
* Replace GridLayout Implementation with the GroupLayout In order to fix the misalignment issues

It seemed that the GridLayout implementation for the alignment was causing issues in the position of the
two checkboxes. Replacing this implementation with the GroupLayout class fixes this issue in a rather
simple way. Made a certain fix (upon reading the review) in order to incorporate the fix for all font
sizes as well :)

[Review-nephele]: Removed the unwanted tab-space according to the rules listed in the style guide :)

Fixes #10475

Change-Id: Ic6804cf6c3d20261ab00ce4abd130c46e304e881
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7481
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
2024-02-28 23:19:23 +00:00
Pascal Abresch
b005f8c975 DeskCalc: Fix expressionView text color
Also makes DeskCalc use the Panel text color if the contast is
sufficient
Change-Id: Ibe2d0ad4ba5958f2629be3759091233ad86bcc9d

Change-Id: I51cd7a06e6ea236ec3325d1787ff72ad489fe868
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7488
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-28 23:18:27 +00:00
X512
629f071bb9 pci: extend MSI interrupt vector number to 32 bits
Also increase MSI message data size to 32 bits according to PCIe spec.

Remove 0xff check for MSI interrupts because it is potentially valid
interrupt vector number. Reject 0xff only for legacy pin interrupts.

- MSI-X supports up to 2048 interrupts per device that do not fit to
`uint8`.

- Non-x86 systems may use separate interrupt vector ranges for
hard-wired interrupts and MSI interrupts so `uint8` is not enough to
represent all of them.

Change-Id: Iaf9ffb197ec23db0f97ffe3ea756d28d7bfc8705
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7433
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-02-28 23:17:42 +00:00
Pascal Abresch
da24b14bf2 FlatControlLook: build fix
Change-Id: Iecc2e406dc5c97f9cd45c6ba1e4c279f63aa166c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7487
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-28 18:36:23 +00:00
Pascal Abresch
4d120bec16 Tests: fix kit/interface/GetMouseTest
Change-Id: I7b17fe378aa7cc8e100e9cea526b2c1c04757681
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7486
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
2024-02-28 17:53:38 +00:00
Pascal Abresch
f3fc706a68 Tests: Disable PPP tests
Change-Id: I2f8957dd52c32dbfb6bb5efdef64c48aa599692e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7483
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-28 17:53:38 +00:00
Pascal Abresch
d260dfde10 Tests: fix app/messaging compile
Change-Id: Idf5311d8ad29bc96fc2d0d24b9e0b0124d69b43d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7482
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
2024-02-28 17:53:38 +00:00
Pascal Abresch
9c274ccd09 Document new rgb_color apis, apply their usage.
Change-Id: I48f1bedd3abfb3b445c1c7090ce43504bcff4537
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7485
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-28 17:53:38 +00:00
Jérôme Duval
b3a7feb168 network/ping: remove workarounds for connect()
Change-Id: I42829566a0f449f1a46f029aaff577efb30ef79b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7477
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 22:20:01 +00:00
Jérôme Duval
e4efd92e78 ipv4 & ipv6: implement connect() by setting the socket's peer address
Change-Id: Ic0fdc3f1a880aaef9326d8d4bfb13199c1d61dd4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7476
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 22:20:01 +00:00
Oscar Lesta
c9d1e840ac Terminal: try to fix SHIFT+{Arrow,Home,End} keys handling.
This allows programs running on Terminal to do things like select text using
SHIFT+arrows, and SHIFT+{Home,End} (tested with "mcedit" and "turbo" editors).

Moved Terminal's shortcut for:
 - "Switch to nex/previous tab" to: B_OPTION_KEY+{left,right}.
 - "Scroll Up/Down" to: B_OPTION_KEY+B_SHIFT_KEY+{Up,Down}

(B_OPTION_KEY+{Up,Down} seems to be captured elsewhere?)

References for the added escape sequences:

https://www.emacswiki.org/emacs/CuaModeTerminalProblems

Change-Id: I1b418f003355348dee454fbc680a09c220e80a3e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7241
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2024-02-27 20:17:24 +00:00
Emir SARI
e523bfeb06 NumberFormat: add floating-point precision support
- Simplify code in AboutSystem
- Make error string translatable in Locale preflet

Change-Id: I3b967ee04d764ec1bcf0fa40e40dae8da4a35c20
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7373
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 19:27:56 +00:00
X512
1701b7b537 usb_webcam/uvc: fix 64 bit build
Change-Id: I17ae9fd139283b98684c4156bea0d2bb25113654
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7435
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 19:19:55 +00:00
Augustin Cavalier
44073aa60c kernel/vm: Do not try to reserve more memory than the system has.
All that happens is we wait unnecessarily, and cause the low_resource
monitor to run a lot, so we should skip doing that here altogether.

Encountered while running Falkon (Chromium): some part of Chromium
repeatedly tries to allocate 10+GB, more than my system has, which caused
the system to "stutter" due to low-resource-monitor runs locking
various kernel subsystems. This prevents that problem.
2024-02-27 13:25:47 -05:00
unarix
60429495b6 Improve styles and visibility in dark mode
* Improve buttons & others
* Improve scrollbars visibility
* Improve darkmode

Change-Id: I8aae89cb659378def2e715938dd1f4e4f6455264
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7378
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 16:09:50 +00:00
PulkoMandy
8cc8ec9ef9 BSpinner: do not redefine fValue
BSpinner had its own fValue defined instead of using the one from
BControl. This results in the be:value in the message sent when the
control is invoked to always be 0.

Change-Id: I1cff5f30adbf5b1dede57a14377cd4e1db7a30d3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7428
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 15:47:10 +00:00
Humdinger
0aede635f1 AboutSystem, Installer: show light/dark logos
* Use B_DOCUMENT_TEXT_COLOR and B_DOCUMENT_BACKGROUND_COLOR instead
  of black on white in text views.

* Depending on HAIKU_DISTRO_COMPATIBILITY_OFFICIAL build flag, either
  show the official Haiku logo or the Walter logo.

* If the official Haiku logo is used, show a version with black letters
  if B_DOCUMENT_BACKGROUND_COLOR is light, and white letters if it's not.

* Remove the "installer" versions of the black-on-white Haiku logo.
  Instead introduce "black|white-on-transparent" logos with a
  transparent background.

* Fixed the leave shadows in logo Wonderbrush files. Especially the
  yellow leave's shadow appeared too large and blurry.

Change-Id: I6d3ac384d2c96d91d35e6d6e85025c9e2064d59e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7419
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 15:44:39 +00:00
Humdinger
7644bd25fc Tracker: Offer "Get info" when a symlink fails
While it's obvious which link is broken when the user double-clicks it,
it isn't when the link was tried to be opened by a script, or the
launch_daemon etc.

In case resolving a symlink fails, offer a button to call Tracker's
"Get info" panel with the broken link that has info about the link and
its target.

Change-Id: Id878d0ea3da0db65ade21dd4656c18ecba585784
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7434
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 15:44:14 +00:00
Oscar Lesta
cccb5efb11 acpi_{ac,lid,thermal}: avoid SMAP related KDLs.
While these three worked just fine on my old Atom N450 based netbook,
all caused:

"PANIC: SMAP violation user-mapped address [...] touched from kernel [...]"

on a newer netbook with a Celeron N4020 CPU, before this change.

Side note / drivers status:

- acpi_ac works pretty decently on both machines.
- acpi_lid wrongly returns 0 until you close the lid for the first time.
  Reports correct values after that, but seems to cause power_daemon's
  event loop thread to peg one core to 100%.
- acpi_thermal readings are a mixed bag. Critical temp values Seem OK on
  both machines. Current value generally OK on the older machine, very wrong
  on the newer (reports 429496728.6 C).

Change-Id: Ia387a0bd5b21bdba1de0f0cd9ded814aa1ecdc26
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7432
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-27 15:40:57 +00:00
Augustin Cavalier
8d35d95788 MultiAudioNode: Actually take input_channel_count into account.
USB audio input now works properly (as it has only 1 channel,
not 2.)
2024-02-26 17:05:26 -05:00
Augustin Cavalier
144f17d9e1 network/traceroute: Update to freebsd-current.
Same as ping, our IP modules don't support connect()/send().
Just use sendto().

Change-Id: I19e9874a5e92ac69f1935d3b192e4d652d201692
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7430
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-26 21:24:46 +00:00
nep
9931e8eeee rgb_color: Add new APIs: Contrast(), IsLight(), IsDark()
- Remove perceptual_brightness
- Change implementation of rgb_color::Brightness() to the previous BPrivate::perceptual_brightness()
- Introduce convenience methods Contrast(rgb_color), IsLight() and IsDark()

Change-Id: Id677d4a32ce43d73bffecf9baf8cffaafb01a16d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7399
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-26 20:24:25 +00:00
Jérôme Duval
d24476aaf0 device_manager: PCI_display is used for virtio gpu
the mapping was missing as noticed by Julian Harnath.

Change-Id: I8ea3420e1de543571daf82d8c16ec95ac3423826
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7431
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-26 18:16:06 +00:00
Augustin Cavalier
1af693a23c ffmpeg: Increase accuracy of frame count computation.
BePac Deluxe checks the reported frame count against the actually
read frames count, and if the two do not match, it considers
this an error and bails out. So, we need to be as accurate as
possible here.

Additionally, fix Duration() for when start_time is nonzero,
and stay in integers where possible.

Fixes BePac Deluxe (again.)

Change-Id: Ic063fc15215dbfe3437d2430358227d7e2fe17fc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7422
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2024-02-26 17:02:20 +00:00
Jérôme Duval
3bf4cdb73b network/ping: update to freebsd-current
* our ip modules don't support connect()/send(). Just use sendto().
* ping6 disappears, ping supports -4 or -6 to force IPv4 or IPv6

Change-Id: I1e982e354cc75d3a314c5bbbfffa0373e8f4d9af
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7427
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-26 14:06:29 +00:00
Jérôme Duval
01dc1ea4cf libbsd: add strtonum(), nitems(), timespec operation functions from FreeBSD
Change-Id: I56b677b382d17a27d243b615de19bec10f3a2810
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7426
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-26 14:06:29 +00:00
Dan Gohman
b8caef6915 Change AT_FDCWD from -1 to -100.
Change the value of `AT_FDCWD` from -1 to -100. Either value should work,
since the Haiku implementation currently interprets any negative value as
`AT_FDCWD`, however -100 is preferable to -1 since -1 is used for error
return values.

fixes #18809

Change-Id: I53f273dd595c39ea9e4576b90adbbf7f555107cf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7423
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-02-26 14:04:27 +00:00
Autocomitter
46bc2b6686 Update translations from Pootle 2024-02-24 08:18:16 +00:00