Commit graph

10386 commits

Author SHA1 Message Date
Terts Diepraam
77e183955b head: use OsStringExt::from_vec instead of std::from_utf8_unchecked
This no longer triggers the `invalid_from_utf8_unchecked` lint. It
is also a bit cleaner and no longer requires `unsafe` because
OsString is not guaranteed to be valid UTF-8.
2023-05-31 21:18:13 +02:00
Terts Diepraam
701f30a15e
Merge pull request #4909 from sylvestre/test_debug
Add support for `cp --debug`
2023-05-31 20:27:02 +02:00
Daniel Hofstetter
8940018833
Merge pull request #4897 from sylvestre/platform-info
update to platform-info 2.0.1
2023-05-31 09:29:57 +02:00
Daniel Hofstetter
0802630e14
Merge pull request #4921 from uutils/renovate/ctrlc-3.x
chore(deps): update rust crate ctrlc to 3.4
2023-05-31 07:07:31 +02:00
Daniel Hofstetter
832387ef98
Merge pull request #4922 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.26
2023-05-31 07:03:58 +02:00
renovate[bot]
a4baca01c9
chore(deps): update rust crate chrono to ^0.4.26 2023-05-30 21:02:52 +00:00
renovate[bot]
abff446691
chore(deps): update rust crate ctrlc to 3.4 2023-05-30 18:41:48 +00:00
Sylvestre Ledru
f830b6e68f update to platform-info 2.0.1 2023-05-30 17:43:54 +02:00
Daniel Hofstetter
4d2cfd9db9
Merge pull request #4907 from uutils/renovate/ctrlc-3.x
chore(deps): update rust crate ctrlc to 3.3
2023-05-30 15:38:39 +02:00
Daniel Hofstetter
1781a5db1d
Merge pull request #4698 from uutils/renovate/windows-sys-0.x
fix(deps): update rust crate windows-sys to 0.48.0
2023-05-30 13:40:49 +02:00
Daniel Hofstetter
62efca6f06
Merge pull request #4803 from uutils/renovate/dns-lookup-2.x
fix(deps): update rust crate dns-lookup to v2
2023-05-30 13:38:06 +02:00
Daniel Hofstetter
e7d95dc362
Merge pull request #4702 from uutils/renovate/terminal_size-0.x
chore(deps): update rust crate terminal_size to 0.2.6
2023-05-30 13:35:40 +02:00
Daniel Hofstetter
5f10ca3302
Merge pull request #4716 from uutils/renovate/is-terminal-0.x
chore(deps): update rust crate is-terminal to 0.4.7
2023-05-30 13:33:28 +02:00
renovate[bot]
b1cfa22455
chore(deps): update rust crate ctrlc to 3.3 2023-05-30 10:01:25 +00:00
renovate[bot]
2ec70dc05d
fix(deps): update rust crate dns-lookup to v2 2023-05-30 06:37:02 +00:00
renovate[bot]
8f9a328c6a
fix(deps): update rust crate windows-sys to 0.48.0 2023-05-30 06:36:57 +00:00
renovate[bot]
2e070224a5
chore(deps): update rust crate terminal_size to 0.2.6 2023-05-30 06:36:49 +00:00
renovate[bot]
f02b2345ee
chore(deps): update rust crate is-terminal to 0.4.7 2023-05-30 06:36:45 +00:00
Daniel Hofstetter
4f89d860b7
Merge pull request #4881 from uutils/renovate/clap-4.x
chore(deps): update rust crate clap to 4.3
2023-05-30 08:34:36 +02:00
Daniel Hofstetter
191f2380b9
Merge pull request #4905 from sylvestre/mv-n
mv: Show 'skipped' when a file isn't overwriten
2023-05-30 07:27:48 +02:00
renovate[bot]
d98c81802f
chore(deps): update rust crate clap to 4.3 2023-05-30 05:21:01 +00:00
Sylvestre Ledru
f2006a9a6b cp: add support of cp --debug 2023-05-29 22:44:57 +02:00
Daniel Hofstetter
d1349b30fa Add windows-targets & its deps to deny.toml 2023-05-29 21:58:31 +02:00
Daniel Hofstetter
63d8039d55 Bump windows-targets from 0.42.1 to 0.42.2 2023-05-29 21:58:31 +02:00
Sylvestre Ledru
d38797bb50 mv: Show 'skipped' when a file isn't overwriten
Should fix tests/mv/mv-n.sh
2023-05-29 21:57:42 +02:00
Sylvestre Ledru
d303af31b7 cp: Accept --preserve=link
Used for example in:
tests/mv/hard-3.sh
2023-05-29 15:46:18 +02:00
Daniel Hofstetter
b4f5a87f64
Merge pull request #4913 from uutils/renovate/once_cell-1.x
chore(deps): update rust crate once_cell to 1.17.2
2023-05-29 14:12:02 +02:00
Terts Diepraam
f89182e89b
Merge pull request #4911 from jeddenlea/uniq
uniq: non-UTF-8 file names and fewer copies
2023-05-29 13:49:34 +02:00
Daniel Hofstetter
19c4281495
Merge pull request #4912 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.25
2023-05-29 13:48:15 +02:00
renovate[bot]
af90bbd2d3
chore(deps): update rust crate once_cell to 1.17.2 2023-05-29 10:29:39 +00:00
renovate[bot]
d75e15fbca
chore(deps): update rust crate chrono to ^0.4.25 2023-05-29 10:29:34 +00:00
GaryDev
4cc569f5f0
whoami: add test to improve coverage
* tests/whoami: add windows test for issue #4614

* tests/whoami issue #4614: add all platform test
2023-05-29 07:34:19 +02:00
Jed Denlea
d6562b2b5f uniq: non-UTF-8 file names and fewer copies
uniq ought to be able to work with files whose names are not UTF-8.

I've also taken the chance to remove some unnecessary String
allocations.

Additionally, both open_input_file and open_output_file were returning
items with two implie levels of `Box<dyn ...>` that were not necessary.

In the case of stdin as input, it was not necessary to wrap stdin with a
BufReader, StdinLock implements BufRead itself.
2023-05-28 17:25:39 -07:00
Daniel Hofstetter
9ae9d5cd58
Merge pull request #4679 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.5.0
2023-05-28 11:38:40 +02:00
Daniel Hofstetter
e23a57a193
Merge pull request #4670 from uutils/renovate/redox_syscall-0.x
chore(deps): update rust crate redox_syscall to 0.3
2023-05-28 11:36:05 +02:00
Kamil Ogórek
07434647ad
fix: Correctly detect format when using md5sum with check flag (#4645) 2023-05-27 23:56:15 +02:00
Sylvestre Ledru
388fa1b717
Merge pull request #4696 from jeddenlea/wc
wc: streaming --files0-from and other improvements
2023-05-27 23:55:16 +02:00
renovate[bot]
c92ca96b18
chore(deps): update rust crate tempfile to 3.5.0 2023-05-27 18:58:28 +00:00
renovate[bot]
82f9abc50b
chore(deps): update rust crate redox_syscall to 0.3 2023-05-27 18:56:22 +00:00
Sylvestre Ledru
e295cb7acb
Merge pull request #4903 from Ideflop/more_implement_squeeze
more: implement argument -s / --squeeze
2023-05-27 20:38:52 +02:00
Sylvestre Ledru
8c5b424573
Merge pull request #4908 from cakebaker/bump_crates_to_phase_out_windows_sys_0_42
Bump crates to phase out windows-sys 0.42.0
2023-05-27 18:54:53 +02:00
Daniel Hofstetter
f0fe7b3bba Bump tempfile from 3.4.0 to 3.5.0 2023-05-27 16:16:18 +02:00
Daniel Hofstetter
f0b5cd98a6 Bump parking_lot_core from 0.9.4 to 0.9.7 2023-05-27 16:11:16 +02:00
Daniel Hofstetter
9d39b137a7 Bump mio from 0.8.5 to 0.8.6 2023-05-27 16:10:23 +02:00
Daniel Hofstetter
cdadb38807 Bump filetime from 0.2.18 to 0.2.20 2023-05-27 16:07:03 +02:00
Daniel Hofstetter
7d2d567858 Bump ctrlc from 3.2.4 to 3.2.5 2023-05-27 16:04:52 +02:00
Daniel Hofstetter
7fb9a9b0c4 Bump console from 0.15.5 to 0.15.7 2023-05-27 16:01:15 +02:00
jaggededgedjustice
81a854a13e
date: Catch format string that is not supported by chrono (#4244)
* Catch format string that is not supported by chrono

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2023-05-27 15:41:12 +02:00
Daniel Hofstetter
76656aa2c6
Merge pull request #4870 from uutils/renovate/notify-6.x
chore(deps): update rust crate notify to v6
2023-05-27 13:18:33 +02:00
renovate[bot]
382ea38ace
chore(deps): update rust crate notify to v6 2023-05-27 08:31:04 +00:00