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

14118 commits

Author SHA1 Message Date
David Rebbe
2ebdc4984d sort: set -k arg to usize::MAX on overflow
newline, format, and more rust idiomatic code.

refactor to remove panic!
2025-01-21 22:36:43 -05:00
David Rebbe
3535bfdc72 test(sort): add test for overflowing -k argument 2025-01-21 22:36:43 -05:00
Daniel Hofstetter
6a5f2aa334
Merge pull request #7175 from sylvestre/thiserror2
Move some programs to thiserror
2025-01-20 16:17:25 +01:00
Sylvestre Ledru
3513ee66c7
Merge pull request #7169 from RenjiSann/cksum-9.6-fixes
cksum: add CRC32B algorithm added in GNU 9.6
2025-01-20 15:19:49 +01:00
Dorian Peron
ed4edb4b8a cksum: Add crc32b algorithm 2025-01-20 12:08:36 +01:00
Sylvestre Ledru
d92d756d0d
Merge pull request #7178 from cakebaker/mv_make_update_sh_pass
mv: show prompt for `-u --interactive`
2025-01-20 11:29:08 +01:00
Daniel Hofstetter
20eb5466c0 mv: show prompt for -u --interactive 2025-01-20 10:47:47 +01:00
Sylvestre Ledru
12160a40ac
Merge pull request #7176 from danieleades/clippy-redundant-config
remove redundant clippy MSRV config
2025-01-20 10:16:53 +01:00
daniel.eades
086be29a3c remove redundant clippy MSRV config 2025-01-20 07:50:05 +00:00
Daniel Hofstetter
6c26b4c2df
Merge pull request #7153 from uutils/sylvestre-patch-4
Use ubuntu-24.04-arm to build/test linux arm64
2025-01-20 08:47:03 +01:00
Sylvestre Ledru
d66932f593 issues: 7158, 7159 and 7174 - ignore linux arm64 specific test 2025-01-20 08:13:35 +01:00
Sylvestre Ledru
4caacf8d3e Try to use ubuntu-24.04-arm as system 2025-01-20 08:13:27 +01:00
Sylvestre Ledru
cc1e1a9e5b
Merge pull request #7171 from jfinkels/build-remove-seq-timeout
build: remove timeout from seq test cases
2025-01-20 08:09:46 +01:00
Sylvestre Ledru
bf2a55e289 Refresh Cargo.lock 2025-01-20 00:08:58 +01:00
Sylvestre Ledru
418aaaffde chroot: move to thiserror 2025-01-20 00:04:53 +01:00
Sylvestre Ledru
6866eedc83 mv: move to thiserror 2025-01-19 23:57:53 +01:00
Sylvestre Ledru
9de6393e2c touch: move to thiserror 2025-01-19 23:57:53 +01:00
Sylvestre Ledru
70f3429102 seq: move to thiserror 2025-01-19 23:57:53 +01:00
Sylvestre Ledru
740cea7a46 sort: move to thiserror 2025-01-19 23:57:53 +01:00
Sylvestre Ledru
0a230e58b7
Merge pull request #7172 from uutils/renovate/parse_datetime-0.x
chore(deps): update rust crate parse_datetime to 0.7.0
2025-01-19 23:09:37 +01:00
Jeffrey Finkelstein
0e8c0ed6f0 build: remove timeout from seq test cases 2025-01-19 16:40:03 -05:00
renovate[bot]
fb3637439f
chore(deps): update rust crate parse_datetime to 0.7.0 2025-01-19 21:39:48 +00:00
Sylvestre Ledru
1472995e35
Merge pull request #7170 from jfinkels/restore-uutils-in-build-script
build: restore uutils in GNU test files
2025-01-19 22:38:29 +01:00
Jeffrey Finkelstein
99ad4aa954 build: restore uutils in GNU test files
Update the `util/build-gnu.sh` script to restore the use of uutils
programs that had been temporarily replaced with GNU programs in test
files where the program to replace was not a primary concern. For
example, before this commit we were forcing the use of GNU `stat`
instead of uutils `stat` in the test file
`tests/touch/60-seconds.sh`. After this commit, we use the uutils
`stat` since it is working well enough for this test case.
2025-01-19 15:31:48 -05:00
Sylvestre Ledru
9f07d50955
Merge pull request #7168 from jfinkels/printf-test-int-overflow
Re-enable integer overflow test case for printf
2025-01-19 19:54:47 +01:00
Jeffrey Finkelstein
249871a64b Re-enable integer overflow test case for printf 2025-01-19 13:12:13 -05:00
Sylvestre Ledru
8b46229a9f
Merge pull request #7139 from cakebaker/deny_toml_remove_syn_from_skip_list
deny.toml: remove `syn` from skip list
2025-01-19 19:08:51 +01:00
Daniel Hofstetter
d9370398cb
Merge pull request #7164 from uutils/renovate/similar-2.x-lockfile
fix(deps): update rust crate similar to v2.7.0
2025-01-19 17:48:46 +01:00
renovate[bot]
891529aa56
fix(deps): update rust crate similar to v2.7.0 2025-01-19 16:21:54 +00:00
Sylvestre Ledru
647e6164c8
Merge pull request #7163 from cakebaker/gnu_patches_fix_ls_no_cap
gnu patches: adapt `tests_ls_no_cap.patch` to GNU `coreutils 9.6`
2025-01-19 17:20:48 +01:00
Daniel Hofstetter
98af681473 gnu patches: adapt tests_ls_no_cap.patch
to coreutils 9.6
2025-01-19 16:01:14 +01:00
Daniel Hofstetter
d39dcad47c
Merge pull request #7149 from sylvestre/9.6
try upstream 9.6
2025-01-19 14:40:09 +01:00
Daniel Hofstetter
1597e26fd0
Merge pull request #7157 from sylvestre/missing-dep
Add missing dependencies
2025-01-19 14:28:02 +01:00
Sylvestre Ledru
34421f5d25
Merge pull request #6134 from sargas/expr-error-messages
expr: Fix assorted test errors in tests/expr/expr.pl
2025-01-19 14:15:20 +01:00
Joseph Jon Booker
1e0f697ab0 expr: Fix cargo fmt of src/uu/expr/src/syntax_tree.rs 2025-01-19 05:24:41 -06:00
Sylvestre Ledru
8c27c7f3f2 Update src/uu/expr/src/syntax_tree.rs 2025-01-19 05:15:13 -06:00
Joseph Jon Booker
6701c6ef44 expr: Rework branches and add tests for check_posix_regex_errors 2025-01-19 05:15:13 -06:00
Joseph Jon Booker
cfb539d672 expr: rename validate_regex to check_posix_regex_errors
Also clarified the intent of this function
2025-01-19 05:15:13 -06:00
Joseph Jon Booker
335b13f940 expr: Minor linting fix 2025-01-19 05:15:13 -06:00
Joseph Jon Booker
bff827d9ed expr: Reject invalid intervals in regular expressions 2025-01-19 05:15:13 -06:00
Joseph Jon Booker
fa0bd722b7 expr: Allow initial asterisk in regular expressions
GNU expr appears to treat this as a literal asterisk
2025-01-19 05:15:12 -06:00
Joseph Jon Booker
6a7df7d6c1 expr: Add specific errors for invalid regular expressions 2025-01-19 05:11:40 -06:00
Joseph Jon Booker
0ba9a301b0 expr: fix panic for "empty substitution" test case 2025-01-19 05:09:22 -06:00
Joseph Jon Booker
aa010b71b8 expr: Change error messages when missing closing parenthesis
This situation now has two errors - one if we parse a character that
isn't a closing parenthesis, and the other if we don't parse anything.
2025-01-19 05:09:22 -06:00
Sylvestre Ledru
b6f6d93a90
Merge pull request #7155 from cakebaker/numfmt_expand_test
numfmt: extract test from other test & expand it
2025-01-18 22:38:06 +01:00
Sylvestre Ledru
03fc5ca381 chmod/uucore dep: add missing dependency 2025-01-18 21:45:55 +01:00
Sylvestre Ledru
178f57fad6 uucore: add missing declarations 2025-01-18 21:43:18 +01:00
Daniel Hofstetter
79f4b8976c
Merge pull request #7154 from jfinkels/ls-time-style-timezone-abbrev
ls: display %Z alphabetic time zone abbreviation
2025-01-18 16:54:16 +01:00
Daniel Hofstetter
899aca3880 numfmt: extract test from other test & expand it 2025-01-18 16:19:39 +01:00
Jeffrey Finkelstein
ab6d95cdb9 ls: display %Z alphabetic time zone abbreviation
Display the alphabetic timezone abbreviation (like "UTC" or "CET") when
the `--time-style` argument includes a `%Z` directive. This matches the
behavior of `date`.

Fixes #7035
2025-01-18 09:33:52 -05:00