Daniel Hofstetter
e263ff3167
Bump bincode from 1.3.3 to 2.0.1
2025-04-16 10:21:42 +02:00
Yuri Astrakhan
8a5a2eed2a
Merge pull request #7702 from nyurik/iters
...
feat: optimize iter matching
2025-04-15 19:54:58 +02:00
Sylvestre Ledru
a37c4a6dc6
Merge pull request #7756 from uutils/sylvestre-patch-5
...
tail: Ignore a few tests on selinux
2025-04-15 15:21:50 +02:00
Daniel Hofstetter
1f133c50fb
Merge pull request #7761 from drinkcat/build-gnu-hex-ok
...
util/build-gnu.sh: Accept hex float as sleep parameter
2025-04-15 11:30:24 +02:00
Nicolas Boichat
b3c3529d24
util/build-gnu.sh: Accept hex float as sleep parameter
...
Not that crazy anymore, fixed by #7675 .
2025-04-15 10:36:50 +02:00
Sylvestre Ledru
148b3415ec
Merge pull request #7697 from nyurik/names
...
chore: address a few clippy lints that break API
2025-04-15 09:56:10 +02:00
Daniel Hofstetter
083b6d5059
Merge pull request #7747 from sylvestre/fuzz4
...
fuzzing: add a summary and enable printf
2025-04-15 09:40:08 +02:00
Sylvestre Ledru
c90bca4acb
Merge pull request #7758 from cakebaker/sleep_remove_fundu
...
sleep: remove unused `fundu` from `Cargo.toml`
2025-04-15 08:34:56 +02:00
Daniel Hofstetter
82f354fb16
Merge pull request #7759 from uutils/renovate/libc-0.x-lockfile
...
fix(deps): update rust crate libc to v0.2.172
2025-04-15 08:27:49 +02:00
renovate[bot]
ec11b6b21c
fix(deps): update rust crate libc to v0.2.172
2025-04-15 05:52:21 +00:00
Daniel Hofstetter
2a816e35f4
sleep: remove unused fundu from Cargo.toml
2025-04-15 07:25:21 +02:00
Dorian Péron
3dcee17572
Merge pull request #7675 from Qelxiros/7669-sleep-hex-parsing
...
fix(sleep): use uucore's from_str to support parsing hex
2025-04-15 00:50:15 +02:00
Yuri Astrakhan
61fafe9bda
chore: address a few clippy lints that break API
...
* Disabled `avoid-breaking-exported-api` and sorted items in Clippy.toml
* Renamed `BSD` -> `Bsd`, `SYSV` -> `SysV`, and `CRC` -> `Crc` to match Rust naming rules
* Renamed items in `BackupMode` and `UpdateMode` because they repeated the same word in every item - making it redundant and harder to read
2025-04-14 18:49:33 -04:00
Sylvestre Ledru
a067b58707
Merge pull request #7716 from nyurik/clippy-all
...
fix low-count lints in all crates
2025-04-14 22:08:01 +02:00
Yuri Astrakhan
c1d2a07c62
Merge pull request #7704 from nyurik/optimize-dd
...
feat: optimize `dd` parsing, bugfix
2025-04-14 21:58:11 +02:00
Yuri Astrakhan
6e22b69e9c
fix a low-count lints in all crates
...
Running this command showed a list of all lints across all crates:
```shell
cargo clippy --all-targets --workspace --message-format=json --quiet | jq -r '.message.code.code | select(. != null and startswith("clippy::"))' | sort | uniq -c | sort -h -r
```
This resulted in a list that I added to the `[workspace.lints.clippy]` in the root Cargo.toml. Afterwards, I commented out a few simpler lints. Subsequentely, I will go through this list, trying to address items in smaller batches.
2025-04-14 13:41:48 -04:00
Jeremy Smart
7f2fb0483a
update tests
2025-04-14 07:34:41 -04:00
Jeremy Smart
6eb3e3cd94
parse_time: support hex durations, update sleep/timeout accordingly
2025-04-14 07:34:01 -04:00
Dan Hipschman
d37f500bd3
cp: cp -P hardlink-to-symlink hardlink-to-same-symlink should noop
2025-04-14 13:06:53 +02:00
Sylvestre Ledru
771143a724
Merge pull request #7754 from BenWiederhake/dev-du-move-dir-while-traversing
...
du: already passes GNU test in spirit, adjust test
2025-04-14 10:47:11 +02:00
Sylvestre Ledru
a289e9f0fb
fix declaration
2025-04-14 10:29:11 +02:00
Sylvestre Ledru
bbbc7b5147
Remove extra space
2025-04-14 10:25:30 +02:00
Sylvestre Ledru
7d86f0b5f2
tail: test_follow_name_truncate4 is also flaky on selinux
2025-04-14 10:04:14 +02:00
Sylvestre Ledru
554c0ad593
tail: Ignore a test on selinux
...
test_follow_when_files_are_pointing_to_same_relative_file_and_file_stays_same_size is flaky
2025-04-14 09:46:05 +02:00
Himadri Bhattacharjee
131ee87781
Merge pull request #7755 from lavafroth/date-test-abs-diff
...
refactor(tests): use absolute difference of dates to check if they are within a window
2025-04-14 09:43:14 +02:00
Ben Wiederhake
53836c9bd9
du: already passes GNU test in spirit, adjust test
2025-04-14 01:38:39 +02:00
Dorian Péron
c35d26dc51
Merge pull request #7693 from sargas/escape_empty_string
...
uucore/quoting_style: Add support for quoting/escaping empty strings
2025-04-13 23:05:28 +02:00
Sylvestre Ledru
5e9e67e820
fuzzing: get the summary data
2025-04-13 21:44:55 +02:00
Sylvestre Ledru
170f044a39
fuzzing: printf should pass now
2025-04-13 21:02:08 +02:00
Sylvestre Ledru
ced5d37f07
fuzzing: rename task to make it shorter in the gh view
2025-04-13 21:02:08 +02:00
Sylvestre Ledru
efb09204a2
Merge pull request #7748 from cakebaker/clippy_move_lints_from_ci_to_cargo_toml
...
Move clippy lints from CI to `Cargo.toml`
2025-04-13 18:51:53 +02:00
Daniel Hofstetter
26e0585775
df: fix warnings from default_trait_access lint
2025-04-13 17:44:29 +02:00
Daniel Hofstetter
64140b8ec9
head: allow cognitive_complexity in test
2025-04-13 17:35:05 +02:00
Daniel Hofstetter
32dcaeef32
Move clippy lints from CI to Cargo.toml
2025-04-13 17:35:05 +02:00
Sylvestre Ledru
4c796caba5
Merge pull request #7721 from Qelxiros/7166-head-maxint
...
head: fix overflow errors
2025-04-13 16:37:13 +02:00
Daniel Hofstetter
80b6a2155c
Merge pull request #7635 from sylvestre/temp-selinux-impl
...
mkdir: add the selinux support
2025-04-13 14:49:52 +02:00
Daniel Hofstetter
0d23be3e87
Merge pull request #7711 from sylvestre/coreutils-9.7
...
upgrade to GNU coreutils 9.7 as ref
2025-04-13 13:34:19 +02:00
Sylvestre Ledru
4724f04547
upgrade to GNU coreutils 9.7 as ref
2025-04-13 12:12:08 +02:00
Sylvestre Ledru
291473e3a4
Merge pull request #7744 from BenWiederhake/dev-clippy-0-1-87-nightly
...
Apply suggestions from clippy 0.1.87+nightly
2025-04-13 12:11:50 +02:00
Sylvestre Ledru
907d3ffef9
Merge pull request #7743 from evilpie/tty-fixes
...
Fix the implementation of Display and TryFrom<&str> for Teletype
2025-04-13 11:35:41 +02:00
Tom Schuster
8f9763fa52
Fix the implementation of Display and TryFrom<&str> for Teletype
...
Fixes #7732 and fixes #7733
2025-04-13 10:46:22 +02:00
Sylvestre Ledru
aa262d8535
Merge pull request #7746 from nyurik/commas
...
chore: remove trailing commas
2025-04-13 10:02:34 +02:00
Yuri Astrakhan
e5ffb5e902
chore: remove trailing commas
2025-04-13 00:31:02 -04:00
Joseph Jon Booker
9f1e7a2075
printf: Add integration test for %q ''
2025-04-12 21:44:06 -05:00
Joseph Jon Booker
8ff45c97f0
uucore/quoting_style: Add support for quoting/escaping empty strings
2025-04-12 21:44:06 -05:00
Ben Wiederhake
875770f5d1
apply simple clippy nightly suggestions
...
See also:
https://rust-lang.github.io/rust-clippy/master/index.html#manual_contains
https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_some
https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
2025-04-13 04:35:38 +02:00
Ben Wiederhake
fc3f7eaa48
replace let_return as suggested by clippy
...
See also:
https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
2025-04-13 04:35:38 +02:00
Ben Wiederhake
11cd0b1bbf
replace Error::new(ErrorKind::Other, _) as suggested by clippy
...
See also:
https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error
2025-04-13 04:35:38 +02:00
Jeremy Smart
37eee0e1e6
head: saturate to max int size on 32 bit platforms
2025-04-12 23:38:32 +02:00
Jeremy Smart
cc1112660a
head: return to parse::<usize> and switch to parse_size_u64_max
2025-04-12 23:38:32 +02:00