Commit Graph
19809 Commits
Author SHA1 Message Date
renovate[bot] 5a1d3e64b2 chore(deps): update rust crate time to v0.3.52 2026-06-30 14:05:40 +02:00
Preetham Pemmasani bb8f7095fd sort: fix panic on non-UTF-8 filenames with --files0-from (#11593) 2026-06-30 12:20:26 +02:00
renovate[bot] 85c3182ec6 chore(deps): update rust crate indicatif to v0.18.5 2026-06-30 10:32:37 +02:00
renovate[bot] b64a26e1ff chore(deps): update rust crate jiff to v0.2.31 2026-06-30 08:15:45 +02:00
Sylvestre Ledru b76d615b7b install: allow -C with --preserve-timestamps
Should make test tests/install/install-C.sh pass
2026-06-29 14:39:14 +02:00
oech3 12b62481cd test_install.rs: remove unnecessary cfg (#13182) 2026-06-29 12:19:02 +02:00
Sylvestre Ledru 900a83d728 sort: add merge benchmarks for the UTF-8 locale
Add merge_single_file_utf8_locale and merge_pre_sorted_files_utf8_locale
to benches/sort_locale_utf8_bench.rs, covering `sort -m` of a single
already-sorted file and of several pre-sorted slices under a UTF-8
locale. Document the locale-aware merge scenarios in BENCHMARKING.md.
2026-06-29 11:26:07 +02:00
Sylvestre Ledru 1e40f69602 du: don't deduplicate --files0-from entries
Should make test tests/du/files0-from.pl pass
2026-06-29 10:39:42 +02:00
renovate[bot] 43ef8d096d chore(deps): update rust crate openssl to v0.10.81 2026-06-29 09:34:22 +02:00
oech3 e5897dd587 split: remove BufReader if possible 2026-06-29 09:09:18 +02:00
oech3 a1846f382a test_install.rs: remove cfg(not(windows)) 2026-06-29 08:59:24 +02:00
oech3 0e9908a228 uucore: remove dead code 2026-06-29 08:37:56 +02:00
Sylvestre Ledru e34b7525a8 ci: test both vendored and system-linked OpenSSL backends 2026-06-29 08:37:21 +02:00
Sylvestre Ledru 730f676994 feat: add OpenSSL backend for checksum utilities
Add an optional OpenSSL (libcrypto) backend for md5/sha1/sha2-family
digest computations. OpenSSL provides hand-tuned assembly implementations
(AVX2, SSSE3, etc.) that are substantially faster than the pure-Rust
crates on CPUs without SHA-NI hardware instructions.

Benchmarks on Intel i9-7940X (no SHA-NI), 100MB file:
  sha256sum: 470ms -> 234ms (was 1.9x slower than GNU, now ~1.0x)
  sha1sum:   198ms -> 131ms (was 1.6x slower, now ~1.09x)
  sha512sum: 246ms -> 166ms (was 1.4x slower, now ~0.96x - faster!)
  md5sum:    185ms -> 174ms (was 1.2x slower, now ~1.09x)

Closes #12251
2026-06-29 08:37:21 +02:00
oech3 75c1a9779d cat: change is_unsafe_override to is_safe_override (#13133) 2026-06-28 18:59:49 +02:00
oech3 954c983d5a test_install.rs: remove binaries from repo (#13159) 2026-06-28 18:59:17 +02:00
oech3 4a6b638453 split: remove io::copy for LineChunkWriter (#13141) 2026-06-28 17:11:58 +02:00
oech3andSylvestre Ledru 8e939acc52 make.yml: reduce binary size (#12247)
* make.yml: reduce binary size

* replace manuall strip by RUSTFLAGS
* use linker flags useful to reduce binary size
* remove unwind table by -C force-unwind-tables=no.

Unwind tables are useful for debug.
but we publish milti-call binary containing them from
CICD.yml and individual binaries from size CI.
So we dont hurt debuggability for size bench.

* make.yml: add comment about binary size

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-06-28 17:11:29 +02:00
Devel d0237ddc05 cp: show correct error for non-existent source with -g flag (#13110)
* cp: when -g is passed with non-existent source, show the correct error

* test_cp: add test_progressbar_inexistent_source

* fmt

* remove unnecessary reference

* use match instead if/els
2026-06-28 16:55:24 +02:00
LoukasPap fd0a49461b realpath: fix 'nonexistent/./' to be treated as invalid 2026-06-28 16:26:47 +02:00
Sylvestre Ledru 8b393ed3b9 ls: escape non-ASCII control chars in UTF-8 locale quoting 2026-06-28 15:01:22 +02:00
Sylvestre Ledru 299d543be1 sort: test punctuation-only differences are kept by -u under locale 2026-06-28 14:29:43 +02:00
oech3 219535637f install: fix dangerous index access 2026-06-28 13:33:18 +02:00
Sylvestre Ledru 145b743c03 ls: use Unicode quotes for locale/clocale styles in UTF-8 locales (#12675)
The locale and clocale quoting styles always emitted ASCII quotes and
escaped embedded apostrophes/double quotes, regardless of the locale.
GNU uses Unicode quotation marks U+2018/U+2019 (keyed off LC_CTYPE) for
both styles in a UTF-8 locale, leaving embedded ASCII quotes untouched.

Should make test tests/ls/quoting-utf8.sh pass.
2026-06-28 10:22:51 +02:00
oech3 e73b8a6969 (un)expand: read ahead file 2026-06-27 16:54:31 +02:00