Commit graph

13530 commits

Author SHA1 Message Date
Andrew Liebenow
2c25ae2838 Fix spelling exception comment 2024-09-24 19:56:50 -05:00
Andrew Liebenow
70c3f49430 Add spelling exception 2024-09-24 19:37:43 -05:00
David Campbell
3c26dd869e
Fix clippy::flat_map_option. 2024-09-24 20:33:08 -04:00
David Campbell
392344c93a
Fix clippy::cloned_instead_of_copied. 2024-09-24 20:33:08 -04:00
David Campbell
d0e30b2745
Fix clippy::inconsistent_struct_constructor. 2024-09-24 20:33:08 -04:00
Andrew Liebenow
ea7a543bfe Fix two bugs. Add property testing. 2024-09-24 19:25:29 -05:00
renovate[bot]
b331a230e6
chore(deps): update rust crate redox_syscall to v0.5.5 2024-09-24 18:50:18 +00:00
Daniel Hofstetter
33b17e0c04
Merge pull request #6733 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.159
2024-09-24 17:54:28 +02:00
renovate[bot]
04bc9b8fbd
fix(deps): update rust crate libc to v0.2.159 2024-09-24 15:26:15 +00:00
Andrew Liebenow
4f19c0e9ff Address PR comments. Simplify structure. 2024-09-24 07:49:28 -05:00
Ben Wiederhake
a8b9e042e1 tr: properly determine trailing backslash
Fixes #6729.
2024-09-24 02:23:58 +02:00
Daniel Hofstetter
165bbc272a
Merge pull request #6726 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.64
2024-09-23 07:10:50 +02:00
Andrew Liebenow
ccb873519c Improve performance 2024-09-22 20:30:15 -05:00
renovate[bot]
1349122a3e
chore(deps): update rust crate thiserror to v1.0.64 2024-09-22 19:38:12 +00:00
Andrew Liebenow
2d09037c67 Fix MSRV issue 2024-09-22 08:36:16 -05:00
Andrew Liebenow
cdebd24733 Finish fast decode/encode by folding in Z85 2024-09-22 08:28:20 -05:00
Andrew Liebenow
5cd050665d Get number of bytes to drain in a safer way 2024-09-21 10:31:43 -05:00
Andrew Liebenow
8a6923dcd4 Fix line wrapping encoding performance 2024-09-21 09:35:20 -05:00
Daniel Hofstetter
6d79b35dba
Merge pull request #6724 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.3
2024-09-21 14:04:33 +02:00
renovate[bot]
674708d104
chore(deps): update vmactions/freebsd-vm action to v1.1.3 2024-09-21 11:37:50 +00:00
Daniel Hofstetter
600f22d868
Merge pull request #6723 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.2
2024-09-21 13:36:24 +02:00
renovate[bot]
996e810328
chore(deps): update vmactions/freebsd-vm action to v1.1.2 2024-09-21 11:09:26 +00:00
Andrew Liebenow
ed04f14ba8 basenc: also perform faster, streaming decoding
Same as previous changes, just applied to decoding
2024-09-21 04:02:09 -05:00
Andrew Liebenow
4d71c10279 Replace truncate with clear 2024-09-20 17:09:47 -05:00
Andrew Liebenow
eaf74cd1f6 Fix spelling warning 2024-09-20 16:23:13 -05:00
Andrew Liebenow
167586f6fb Fix compilation error and spelling warning 2024-09-20 15:40:22 -05:00
Andrew Liebenow
846cf06272 basenc: perform faster, streaming encoding
Improve the performance, both in memory and time, of the encoding
performed by the basenc (except in --z85 mode), base32, and base64
programs.

These programs now perform encoding in a buffered/streaming manner,
so encoding is not constrained by the amount of available memory.
2024-09-20 14:34:18 -05:00
David Campbell
cff8cc0e22
Fix clippy::unreadable_literal. 2024-09-19 18:08:51 -04:00
David Campbell
feae52797b
Fix clippy::unnecessary_join. 2024-09-19 18:05:14 -04:00
David Campbell
353eb53367
Fix clippy::uninlined_format_args . 2024-09-19 17:56:27 -04:00
David Campbell
5d986bfb4c
Fix clippy::manual_assert. 2024-09-19 16:31:27 -04:00
Sylvestre Ledru
98460132fd
Merge pull request #6716 from dcampbell24/fix-clippy
Fix clippy warnings.
2024-09-19 21:36:51 +02:00
David Campbell
55a3064fa7
Fix obvious clippy warnings. 2024-09-19 14:19:59 -04:00
Sylvestre Ledru
f75d688b6c
Merge pull request #6715 from dcampbell24/main
Change the git pre-commit actions to work on stable.
2024-09-19 18:40:55 +02:00
David Campbell
e8bb8dffa1
Change the git pre-commit actions to work on stable.
These are not being fixed, so it does not make sense to constantly
take on new lints. The fmts may never be stabilized. Currently,
you can not even commit, because it errors out. At least switch to
lints that make it to stable when they are released.
2024-09-19 12:15:04 -04:00
Daniel Hofstetter
b4383f993f
Merge pull request #6713 from andrewliebenow/tr-trailing-backslash-warning-false-positive
tr: fix unescaped trailing backslash warning
2024-09-19 10:13:58 +02:00
Andrew Liebenow
08992ec6b3 tr: fix unescaped trailing backslash warning
This warning is being emitted whenever the input string ends with a
backslash, even if the backslash is escaped.
2024-09-18 17:29:11 -05:00
Andrew Liebenow
b8150f5ba5
cp: show mode if target does not have S_IWUSR (PR #6696) (#6700)
* cp: show mode if target does not have S_IWUSR

If the target exists, and does not have the user write bit (S_IWUSR)
set, additional information should be added to the overwrite
confirmation prompt.

This should get the "i-2" test to pass. See
https://github.com/uutils/coreutils/issues/6658.

* cp: with -i, delete destination if needed

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-09-18 10:23:54 +02:00
Jans Heikkinen
564dd47297
ln: allow final destination directory when using -nf (#5975)
Closes: #5974
2024-09-17 11:28:34 +02:00
Sylvestre Ledru
39bfa40acf
Merge pull request #5930 from cakebaker/test_fix_unused_import_on_redox
test: fix "unused imports" warning on Redox
2024-09-17 11:27:39 +02:00
Daniel Hofstetter
e2fbd3362f
Merge pull request #6708 from uutils/renovate/once_cell-1.x-lockfile
chore(deps): update rust crate once_cell to v1.20.0
2024-09-16 16:34:51 +02:00
Daniel Hofstetter
e8a5addbef
Merge pull request #6709 from uutils/renovate/unicode-segmentation-1.x-lockfile
chore(deps): update rust crate unicode-segmentation to v1.12.0
2024-09-16 16:33:49 +02:00
renovate[bot]
9ef64911e4
chore(deps): update rust crate unicode-segmentation to v1.12.0 2024-09-16 14:03:18 +00:00
renovate[bot]
daa8b8d8e3
chore(deps): update rust crate once_cell to v1.20.0 2024-09-16 14:03:10 +00:00
Daniel Hofstetter
c15a00a090
Merge pull request #6707 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.210
2024-09-16 16:01:08 +02:00
renovate[bot]
b62e7a8f05
chore(deps): update rust crate serde to v1.0.210 2024-09-16 12:59:39 +00:00
Daniel Hofstetter
983c6dc1a5
Merge pull request #6705 from uutils/renovate/rlimit-0.x-lockfile
chore(deps): update rust crate rlimit to v0.10.2
2024-09-16 14:41:01 +02:00
Daniel Hofstetter
c4d93bcf21
Merge pull request #6706 from uutils/renovate/selinux-0.x-lockfile
chore(deps): update rust crate selinux to v0.4.6
2024-09-16 14:40:28 +02:00
Daniel Hofstetter
a63fd67e63
Merge pull request #6704 from uutils/renovate/redox_syscall-0.x-lockfile
chore(deps): update rust crate redox_syscall to v0.5.4
2024-09-16 14:14:41 +02:00
renovate[bot]
89126a19f7
chore(deps): update rust crate selinux to v0.4.6 2024-09-16 12:08:04 +00:00