Commit Graph
294 Commits
Author SHA1 Message Date
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
Sylvestre Ledru ea31c1273c prepare release 0.11.0 2026-08-30 10:11:55 +02:00
wtcpython 63410845ef date: update parse_datetime to 0.16.0 to accept \v and \f as whitespace 2026-08-29 21:45:41 +02:00
Devel 64e026d069 date: strip errno when write to stdout fails (#14206)
* date: strip errno when write to stdout fails

date: use thiserror

update thiserror in fuzz

* date: alphabetize thiserror in dependencies
2026-08-29 21:44:36 +02:00
Sylvestre Ledru 8ec6133a5b fuzz_env: don't compare cases with known GNU divergences 2026-08-27 13:00:07 +02:00
wtcpython 3d149809bc uucore, cat: remove winapi-util dependency in favor of windows-sys and std 2026-08-24 11:29:28 +02:00
wtcpython 522e9eb2a3 sort: replace binary-heap-plus and compare with std::collections::BinaryHeap
Use standard library BinaryHeap for multi-way merge sort and remove obsolete external dependencies binary-heap-plus and compare.
2026-08-24 08:46:54 +02:00
oech3 227869bb73 remove rust-version from fuzz 2026-08-23 20:48:09 +02:00
xtqqczze 22ca93c5d5 fix(deps): refactor RustCrypto crates package configuration 2026-08-20 15:12:25 +02:00
renovate[bot] dc784afb8d chore(deps): update rust crate similar to v3.2.0 2026-08-17 13:55:10 +02:00
xtqqczze 068f88fdc6 chore(deps): update rust crate cc to v1.4.3 2026-08-16 17:05:09 +02:00
Sylvestre Ledru 77741def26 diagnostics: let the caret rendering be compiled out
The renderer and its ariadne dependency sit behind the new
feat_diagnostics cargo feature, on by default. Without it a no-op
stand-in with the same API takes uucore::diagnostics' place, so the
utilities need no cfg of their own: enabled() is always false and
every caller falls back to its plain one-line message.

Each utility keeps a crate-level `diagnostics` feature for standalone
builds, the caret snapshot tests compile out with the renderer, and CI
gains a Build/No-diagnostics job that runs the suite without the
feature and fails if ariadne sneaks back into the dependency tree.
2026-08-15 13:23:02 +01:00
oech3 7aa1ba26c2 uufuzz: simplify match (#13907) 2026-08-13 12:38:37 +02:00
Sylvestre Ledru 9f29502db0 test: point at the argument that made an expression fail 2026-08-09 01:54:16 +02:00
Sylvestre Ledru a687b4b86f test: support -N, -G and -O on Windows (#13658) 2026-08-08 17:26:19 +02:00
oech3 5ec462ed54 use std::io::Result<*> instead of Result<*,std::io::Error> (#13811) 2026-08-08 17:22:03 +02:00