1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 17:51:07 +00:00
Commit graph

14697 commits

Author SHA1 Message Date
renovate[bot]
73a4d0d54e
chore(deps): update rust crate clap to v4.5.34 2025-03-27 02:29:50 +00:00
Sylvestre Ledru
f03cbf2cbb
Merge pull request #7582 from drinkcat/cspell-all
ci: Enable cspell on test on dotfiles too
2025-03-26 17:26:46 +01:00
Nicolas Boichat
28bfac3c3c ci: Enable cspell on test on dotfiles too
Noticed this because pre-commit would try to run on dotfiles as
well (will CI ignored it)
2025-03-26 16:50:08 +01:00
Nicolas Boichat
b92144180f dotfiles: Add works to cspell dictionary
Also fix a couple of real spelling mistakes.
2025-03-26 16:49:21 +01:00
Sylvestre Ledru
d33d731804
Merge pull request #7548 from lewisboon/bugfix/date-negative-offset
date: allow negative date offsets
2025-03-26 08:49:46 +01:00
Sylvestre Ledru
1898032213
Merge pull request #7577 from drinkcat/pre-commit-cspell
.pre-commit-config.yaml: Also run cspell
2025-03-26 08:48:59 +01:00
Sylvestre Ledru
5754d63a6b
Merge pull request #7574 from drinkcat/ci-uudoc
ci: Enable uudoc feature on x86-64 native builder
2025-03-26 08:47:59 +01:00
Sylvestre Ledru
9ce9e3e918
Merge pull request #7575 from cakebaker/deny_toml_remove_two_crates
deny.toml: remove two crates from skip list
2025-03-26 08:47:38 +01:00
Sylvestre Ledru
68515b5d3b
Merge pull request #7579 from drinkcat/test_file_N
test_test: Simplify test_file_N
2025-03-26 08:47:18 +01:00
Nicolas Boichat
5263e0e2dc ci: Enable uudoc feature on x86-64 native builder
Make sure we catch build errors.

Would prevent #7572 from happening again.
2025-03-25 19:56:46 +01:00
Daniel Hofstetter
5a0988c28d
Merge pull request #7420 from uutils/renovate/fts-sys-0.x
chore(deps): update rust crate fts-sys to v0.2.16
2025-03-25 16:25:01 +01:00
Daniel Hofstetter
163907e134
Merge pull request #7421 from uutils/renovate/selinux-0.x
chore(deps): update rust crate selinux to v0.5.1
2025-03-25 15:24:14 +01:00
Nicolas Boichat
6b8135119c test_test: Simplify test_file_N
I found the logic a little difficult to understand, and the
comment probably doesn't match what `-N` is supposed to do?

Intead, let's just manually set mtime and atime.

Hopefully this helps clear up Android flakiness in #7570. Or at
least understand better what is going on.
2025-03-25 15:01:23 +01:00
renovate[bot]
611a320396
chore(deps): update rust crate fts-sys to v0.2.16 2025-03-25 13:25:38 +00:00
Nicolas Boichat
4a959d4bdd .pre-commit-config.yaml: Also run cspell
That cuaght me a few times... I think it's reasonable to ask devs
to install cspell locally if they want to use the pre-commit hook.
2025-03-25 13:57:08 +01:00
Daniel Hofstetter
db8b84fc06 deny.toml: remove two crates from skip list
bindgen & rustc-hash
2025-03-25 13:46:32 +01:00
renovate[bot]
bde8165f7f
chore(deps): update rust crate selinux to v0.5.1 2025-03-25 12:39:47 +00:00
Daniel Hofstetter
3530c4c41b
Merge pull request #7424 from uutils/renovate/selinux-sys-0.x
chore(deps): update rust crate selinux-sys to v0.6.14
2025-03-25 13:38:28 +01:00
Sylvestre Ledru
2488e17aef
Merge pull request #7571 from cakebaker/hostid_use_libc
hostid: use `gethostid` from Rust `libc`
2025-03-25 13:20:24 +01:00
Sylvestre Ledru
765a8b54bc
Merge pull request #7573 from drinkcat/uudoc-fix
uudoc: Fix for edition 2024
2025-03-25 13:11:01 +01:00
Nicolas Boichat
5d53da9f3e uudoc: Fix for edition 2024
This change is documented here: https://doc.rust-lang.org/nightly/edition-guide/rust-2024/match-ergonomics.html

I'm... not sure to understand everything, but this change is what
`cargo fix --edition --features="uudoc" --allow-dirty`
suggests.

Fixes #7572.
2025-03-25 12:16:28 +01:00
Daniel Hofstetter
b0e0059251
Merge pull request #7568 from uutils/sylvestre-patch-5
flake.nix: bump minial rust version
2025-03-25 10:55:54 +01:00
renovate[bot]
4a3b034457
chore(deps): update rust crate selinux-sys to v0.6.14 2025-03-25 09:55:08 +00:00
Daniel Hofstetter
df7427b834
Merge pull request #7343 from uutils/renovate/hex-literal-1.x
chore(deps): update rust crate hex-literal to v1
2025-03-25 10:53:27 +01:00
Daniel Hofstetter
2a0bfb8bd5 hostid: use gethostid from Rust libc 2025-03-25 10:40:51 +01:00
Sylvestre Ledru
0522576ae6
flake.nix: bump minial rust version 2025-03-25 10:00:07 +01:00
renovate[bot]
944cd4f72c
chore(deps): update rust crate hex-literal to v1 2025-03-25 08:37:05 +00:00
Daniel Hofstetter
f038d3e716
Merge pull request #7423 from sylvestre/rust-2024
bump to Rust edition 2024 & min = 1.85
2025-03-25 09:30:03 +01:00
Lewis Boon
b02e3d587d date: allow negative date offsets
Issue #7515
Clap needs to be specifically configured to allow values
with a leading hyphen.
2025-03-24 22:03:38 +00:00
Sylvestre Ledru
22fc5cf16b dd tests: fix 'temporary value dropped while borrowed' 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
b4ac10769d add some missing unsafe 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
85c5d39fd7 add setpriority to the spell ignore 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
d671849b7f uucore: set the unsafe at the right place 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
a85539f530 Run cargo fmt on the tree 2025-03-24 21:33:12 +01:00
Sylvestre Ledru
36dd968c9a head: fix an iterator 2025-03-24 21:03:58 +01:00
Sylvestre Ledru
39f5c394a7 Fix 'does not live long enough' 2025-03-24 21:03:10 +01:00
Sylvestre Ledru
b1d676d3b5 add missing unsafe around extern 2025-03-24 21:03:00 +01:00
Sylvestre Ledru
5b1b40bfd8 Fix 'binding modifiers may only be written when the default binding mode is' 2025-03-24 21:02:48 +01:00
Sylvestre Ledru
95b2de78e1 Fix 'extern blocks must be unsafe' 2025-03-24 21:02:40 +01:00
Sylvestre Ledru
2739c19330 Fix unsafe attribute used without unsafe 2025-03-24 21:00:53 +01:00
Sylvestre Ledru
e0fbced116 rust edition 2021 => 2024 2025-03-24 21:00:35 +01:00
Sylvestre Ledru
f5eff9517f Bump MSRV to 1.85.0 2025-03-24 21:00:16 +01:00
Sylvestre Ledru
39706be414
Merge pull request #7512 from dlrobertson/issue-7505
printf: trim leading whitespace when parsing numeric values
2025-03-24 19:11:15 +01:00
Dorian Péron
4426d58389
Merge pull request #7524 from sylvestre/ignore-intermittent-pass
ci: if FAIL => PASS but in the intermittent list, show the info
2025-03-24 19:07:18 +01:00
Sylvestre Ledru
1ee8092826
Merge pull request #7525 from sylvestre/thiserror4
Move more programs to thiserror
2025-03-24 19:06:13 +01:00
Sylvestre Ledru
36231f7551
Merge pull request #7562 from drinkcat/seq-perf-1
seq: Directly write separator string, instead of using format
2025-03-24 19:05:14 +01:00
Nicolas Boichat
66745427cb seq: Directly write separator string, instead of using format
Doing `stdout.write_all(separator.as_bytes())?` is quite a bit
faster than using format to do the same operation:
`write!(stdout, "{separator}")?`.

This speeds up by about 10% on simple cases.

We do the same for the terminator even though this has no measurable
performance impact.
2025-03-24 18:02:06 +01:00
Daniel Hofstetter
7574794a6e
Merge pull request #7561 from uutils/renovate/chrono-tz-0.x-lockfile
chore(deps): update rust crate chrono-tz to v0.10.3
2025-03-24 17:50:40 +01:00
Dan Robertson
1a0bc30f17 printf: trim leading whitespace when parsing numeric values
Trim leading whitespace from numeric input to printf.
2025-03-24 16:27:58 +00:00
renovate[bot]
ee09b7934c
chore(deps): update rust crate chrono-tz to v0.10.3 2025-03-24 15:55:34 +00:00