Commit graph

13603 commits

Author SHA1 Message Date
steinwand6
c986fb7d2e
seq: add overflow checks when parsing exponents (#6858)
* seq: remove ignore flag from test_invalid_float_point_fail_properly(#6235)

* seq: prevent overflow in parse_exponent_no_decimal

* seq: add tests for invalid floating point arguments

* seq: add overflow checks when parsing decimal with exponent

* seq: add overflow checks
2024-11-20 16:11:04 +01:00
Sylvestre Ledru
7ffe3d49ef mv: fix the output of an error message
+ adjust a GNU test

Should make tests/mv/dup-source.sh pass
2024-11-20 08:03:40 -05:00
Sylvestre Ledru
df1203af9f
Merge pull request #6874 from cakebaker/bump_crossterm
Bump `crossterm` from `0.27.0` to `0.28.1`
2024-11-20 13:47:56 +01:00
Sylvestre Ledru
fb1874bff9
Merge pull request #6877 from cakebaker/use_div_ceil_from_std
Use `div_ceil()` from `std`
2024-11-20 12:26:46 +01:00
Daniel Hofstetter
cfe2c9f6da uucore: remove div_ceil() from sum feature 2024-11-20 09:20:41 +01:00
Daniel Hofstetter
fc2f73b16c cksum: use div_ceil() from std 2024-11-20 09:17:14 +01:00
Daniel Hofstetter
7fb0f8a29d sum: use div_ceil() from std 2024-11-20 09:13:32 +01:00
Daniel Hofstetter
28e9a88077 du: use div_ceil() from std 2024-11-20 09:10:39 +01:00
Daniel Hofstetter
3d4436abac
Merge pull request #6839 from jesseschalken/reuse-direntry
du: Reuse metadata from DirEntry where possible
2024-11-19 16:33:17 +01:00
Jesse Schalken
d2fc3914ff du: use metadata from DirEntry where possible 2024-11-19 16:05:20 +01:00
Daniel Hofstetter
6257cf1793 deny.toml: add mio to skip list 2024-11-19 09:47:49 +01:00
Daniel Hofstetter
76477f2ed2 Bump crossterm from 0.27.0 to 0.28.1 2024-11-19 09:47:14 +01:00
Daniel Hofstetter
c94b2e9105
Merge pull request #6358 from uutils/renovate/clap_mangen-0.x-lockfile
chore(deps): update rust crate clap_mangen to v0.2.24
2024-11-19 08:32:38 +01:00
renovate[bot]
f572124f1e
chore(deps): update rust crate clap_mangen to v0.2.24 2024-11-19 06:18:07 +00:00
Daniel Hofstetter
c43726e827
Merge pull request #6865 from uutils/renovate/bstr-1.x-lockfile
chore(deps): update rust crate bstr to v1.11.0
2024-11-18 16:38:09 +01:00
Daniel Hofstetter
19a19f004f
Merge pull request #6854 from sylvestre/fmt
fmt: generate an error if the input is a directory
2024-11-18 16:18:41 +01:00
renovate[bot]
5fe4dee5c4
chore(deps): update rust crate bstr to v1.11.0 2024-11-18 15:05:57 +00:00
Sylvestre Ledru
bf05a3d138
Merge pull request #6870 from cakebaker/bump_msrv
Bump MSRV to `1.77`
2024-11-18 15:34:19 +01:00
Daniel Hofstetter
691472e7f7
Merge pull request #6869 from Banyc/main
fix(deps): crates import compatible uucore
2024-11-18 15:06:49 +01:00
Daniel Hofstetter
cea55c8f26
Merge pull request #6843 from uutils/renovate/thiserror-1.x-lockfile
chore(deps): update rust crate thiserror to v1.0.69
2024-11-18 10:37:03 +01:00
renovate[bot]
2e85198758
chore(deps): update rust crate thiserror to v1.0.69 2024-11-18 09:09:47 +00:00
Daniel Hofstetter
3281d3ef55 tee: fix warning from ref_as_ptr lint in test 2024-11-18 09:45:44 +01:00
Daniel Hofstetter
412d4f4f15 Bump MSRV to 1.77 2024-11-18 09:20:51 +01:00
Banyc
2ac5ad6162 fix(deps): crates import compatible uucore 2024-11-18 14:44:08 +08:00
Sylvestre Ledru
7e4ef50c82
Merge pull request #6860 from uutils/sylvestre-patch-3
publish: by default, put it as draft
2024-11-17 14:30:46 +01:00
Daniel Hofstetter
a74afdbaac
Merge pull request #6866 from uutils/renovate/tempfile-3.x-lockfile
fix(deps): update rust crate tempfile to v3.14.0
2024-11-17 13:19:33 +01:00
renovate[bot]
2f5e7f66a7
fix(deps): update rust crate tempfile to v3.14.0 2024-11-17 11:53:24 +00:00
Daniel Hofstetter
dba9fc44c2
Merge pull request #6863 from uutils/renovate/libfuzzer-sys-0.x-lockfile
fix(deps): update rust crate libfuzzer-sys to v0.4.8
2024-11-17 12:32:56 +01:00
Daniel Hofstetter
739681ab29
Merge pull request #6864 from uutils/renovate/davidanson-markdownlint-cli2-action-18.x
chore(deps): update davidanson/markdownlint-cli2-action action to v18
2024-11-17 12:31:15 +01:00
renovate[bot]
0d086edda8
chore(deps): update davidanson/markdownlint-cli2-action action to v18 2024-11-17 10:58:30 +00:00
renovate[bot]
1e47325ba2
fix(deps): update rust crate libfuzzer-sys to v0.4.8 2024-11-17 10:57:11 +00:00
Daniel Hofstetter
c098a2a84d
Merge pull request #6862 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.215
2024-11-17 11:55:43 +01:00
renovate[bot]
b9da608793
chore(deps): update rust crate serde to v1.0.215 2024-11-17 10:23:34 +00:00
Daniel Hofstetter
04e4ff1104
Merge pull request #6847 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.164
2024-11-17 11:22:32 +01:00
renovate[bot]
96e42d6dd9
fix(deps): update rust crate libc to v0.2.164 2024-11-17 09:55:29 +00:00
Sylvestre Ledru
83c7cbf0d0
Merge pull request #6822 from RenjiSann/cksum-big-rework
checksum: prepare further behavior fix with a rework
2024-11-16 23:04:53 +01:00
Sylvestre Ledru
7746c5c6ed
publish: by default, put it as draft
to send email only when ready
closes: #6859
2024-11-16 22:52:19 +01:00
Dorian Péron
0bc22e8d18 test(cksum): add multiple tests
test(cksum): add test for blake length gessing
test(cksum): add test for hexa/base64 confusion
test(cksum): add test for error handling on incorrectly formatted checksum
test(cksum): add test for trailing spaces making a line improperly formatted
test(cksum): Re-implement GNU test 'cksum-base64' in the testsuite
2024-11-16 22:44:08 +01:00
Dorian Péron
a09c7cc0d2 feat(checksum): add doc 2024-11-16 22:44:08 +01:00
Dorian Péron
5309b65867 feat(checksum): change process_checksum_line return type to Result<(), LineCheckError>
- Treat digest mismatch as an error
2024-11-16 22:44:08 +01:00
Dorian Péron
4ffedcdac6 feat(checksum): get rid of ChecksumResult in get_file_to_check 2024-11-16 22:44:08 +01:00
Dorian Péron
b6c726602f feat(checksum): get rid of correct_format at the line level 2024-11-16 22:44:08 +01:00
Dorian Péron
afcf93b3e3 feat(checksum): extract file processing into a separate function 2024-11-16 22:44:08 +01:00
Dorian Péron
df0da55645 feat(checksum): extract line processing into a separate function 2024-11-16 22:44:08 +01:00
Dorian Péron
07b9fb8a20 feat(checksum): group flags under a ChecksumOptions struct 2024-11-16 22:44:08 +01:00
Sylvestre Ledru
ab77eaea45 fmt: generate an error if the input is a directory
tested by tests/misc/read-errors
2024-11-16 19:49:44 +01:00
Sylvestre Ledru
1d9e162637
Merge pull request #6856 from cakebaker/ci_remove_code_coverage_jobs
ci: remove code coverage jobs
2024-11-16 19:43:14 +01:00
Daniel Hofstetter
ca92bff41b ci: remove code coverage jobs 2024-11-15 14:31:51 +01:00
Sylvestre Ledru
17fee5192e
Merge pull request #6851 from lcheylus/openbsd-suspicious_open_options
sort: enable clippy::suspicious_open_options on OpenBSD
2024-11-14 22:50:37 +01:00
Laurent Cheylus
15b3194d30
sort: enable clippy::suspicious_open_options on OpenBSD
On OpenBSD 7.6 (release October 2024), Rust version = 1.81.0 => we can now enable
clippy::suspicious_open_options.

Revert commit ee4392e30c

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-11-14 13:52:00 +01:00