309 Commits
Author SHA1 Message Date
Matt Van Horn da1c0231f5 fuzz: update Cargo.lock for split tempfile dependency 2026-10-14 22:20:09 +02:00
Jake Abendroth 4410b2a1a6 uucore: add DirFd::open_anchor for write-only directories
Open a directory readable, and on EACCES retry with O_PATH or O_SEARCH,
which anchor *at calls without read access. The targets with either flag
are named by the has_o_path and has_o_search cfg aliases. If the retry
fails, its own error is returned.
2026-10-12 11:46:11 +02:00
Daniel Hofstetter 2afea02cc4 Bump parse_datetime from 0.16.0 to 0.17.0 2026-10-12 10:09:43 +02:00
Charly Morgand-Poyac 0821f40108 tr: speed up deleting bytes
Deleting filtered bytes with a branch per byte, which mispredicts on
real data. Store every byte in a small block and only advance past the
kept ones. After a block that kept almost nothing, go back to the
branch: it is then well predicted and stores less. When the single
byte to delete is rare, copy the runs between its occurrences instead.

Add a benchmark for deleting a single byte.

Mean of 40 runs in ms, 100 MB input unless noted (Ryzen 9 9950X,
GNU 9.12, pinned core, hyperfine -N):

                                GNU   trunk   opti
  tr -d ,  (CSV)               90.1    87.0   33.7
  tr -d ' '                   118.0   109.2   33.8
  tr -d '\n'                   47.8    57.8   37.0
  tr -d '\r'  (CRLF, 16 MB)     7.4     8.9    5.7
  tr -d aeiou                 272.4   261.0   32.9
  tr -cd 'a-z\n'              130.5   137.9   32.9
  tr -cd '[:print:]' (binary) 332.0   317.6   35.0
2026-10-05 22:18:45 +02:00
xtqqczze b222504efd build(deps): refactor procfs package configuration 2026-10-05 08:33:37 +02:00
Daniel Hofstetter 9e433824f1 Bump libc from 0.2.189 to 0.2.190 2026-10-05 00:15:02 +02:00
xtqqczze 38ffdc676a chore(build): place dependencies in alphabetical order 2026-09-25 15:30:45 +02:00
xtqqczze 16023c6759 build(deps): update rust crates 2026-09-21 07:32:16 +02:00
renovate[bot] ef4258919d chore(deps): update rust crate rand to v0.10.3 (#14747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-20 21:14:57 +02:00
xtqqczze 81a5ea6b63 chore: add missing newlines around spell-checker header 2026-09-18 17:07:39 +02:00
Sylvestre Ledru 6c5d0eaeb5 prepare 0.13.0 2026-09-18 09:57:10 +02:00
Alessio Attilio b2480b2f0a env: remove the --file extension 2026-09-17 14:58:27 +02:00
renovate[bot] 7ec9923663 chore(deps): update rust crate rustix to v1.1.5 2026-09-17 11:49:22 +02:00
Daniel HofstetterandSylvestre Ledru fd7372ad71 deps: disable default features of bstr
and enable "std" feature to remove regex-automata

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-09-16 19:34:58 +02:00
Sylvestre Ledru 998e62065c prepare version 0.12.0 2026-09-16 13:00:28 +02:00
xtqqczze b54f999f89 chore(deps): update ICU derive crates
Update the ICU derive crates to their new versions using `syn` v3:

- `yoke-derive`
- `zerofrom-derive`
2026-09-16 08:54:17 +02:00
oech3 3850d089f5 fix cspell 2026-09-15 19:34:08 +02:00
xtqqczze feebd94221 chore: add missing newlines after copyright header 2026-09-15 09:04:19 +02:00
Keith Hall bde787352b expr: switch to leftmost-longest regex matching behavior (#14527) 2026-09-13 18:56:43 +02:00
xtqqczze 1554443636 uucore: remove process functions 2026-09-12 16:48:16 +02:00
renovate[bot] e9641f1b2a chore(deps): update rust crate console to v0.16.6 2026-09-10 11:09:25 +02:00
wtcpython 35515138e2 expr: replace onig with fancy-regex
Replace the onig C-dependency in expr with the pure-Rust fancy-regex crate.
This removes the onig_sys C library dependency while preserving full POSIX BRE,
backreference, multibyte UTF-8, and C locale compatibility.
2026-09-07 11:31:36 +02:00
YodonTan 6579cc23f3 ohos: adapt uucore, hostid and date for aarch64-unknown-linux-ohos
Fixes required to build uutils/coreutils on HarmonyOS (aarch64-unknown-linux-ohos):

- uucore/fsext: statfs.f_type is u64 on OHOS; route it through the musl branch.
- hostid: implement gethostid locally (read /etc/hostid, else hash hostname)
  because the OHOS SDK libc dropped the symbol.
- date: pass through the system time zone ID from OH_TimeService_GetTimeZone
  and resolve it with embedded IANA tzdata (jiff-tzdb) via TimeZone::tzif,
  instead of relying on /etc/localtime or a POSIX-injected TZ. The OHOS-only
  helper is cfg-gated; non-OHOS code paths are byte-identical to upstream.

utmpx is intentionally left untouched: upstream #14252 disables it on OHOS
(no utmp data source there), and this PR defers to that approach.

Also syncs fuzz/Cargo.lock after adding the jiff-tzdb dependency.

Verified on-device: date matches system time (+0800 CST; 1987-06-01 -> +0900 CDT),
hostid behaves, builds pass on the non-utmpx feature set.
2026-09-07 10:31:31 +02:00
xtqqczze ef7749bb8e build(deps): update rust crates 2026-09-01 10:08:22 +02:00
xtqqczze c98b19cd30 Revert "remove rust-version from fuzz"
This reverts commit 227869bb73.
2026-08-31 16:54:22 +02:00