16982 Commits

Author SHA1 Message Date
mattsu a452d86a3a Improve sort buffer sizing heuristics and honor explicit --buffer-size (#8833)
* feat(sort): add adaptive buffer sizing and fast paths

- move heuristics into a new buffer_hint module and default to automatic sizing when the buffer flag is absent

- tune chunk and external sort buffers to avoid runaway allocations

- add fast lexicographic and ASCII case-insensitive comparisons for the default mode

- refresh spell-check and dependency metadata for the new code

* fix(sort): reuse SIGINT handler for temporary directory cleanup

- keep the latest path/lock pair in a shared registry so SIGINT always cleans the active directory

- guard handler installation with an atomic flag and reset state when the wrapper is dropped

* refactor(sort): simplify merge batch size to fixed value

Remove Linux-specific dynamic adjustment based on file descriptors and use a fixed batch size of 64 for consistency across platforms.

* fix Cargo.lock linux environments
0.3.0
2025-10-25 00:12:42 +02:00
David CARLIER 01c0a61001 clippy: fix warnings from nightly (#8991)
* uu: addressing clippy warning, find_kp_breakpoints modernize while loop.

* however here clippy advice do not seem a gain.

yes we can vave Box::new but then we have to clone the chunk..

* feedback, remove also too recent clippy annotation
2025-10-24 11:44:11 +02:00
Daniel Hofstetter 8fbd0890a7 Merge pull request #8521 from sylvestre/mv-special
mv: improve the verbose mode to make tests/mv/mv-special-1.sh pass
2025-10-24 09:11:25 +02:00
Daniel Hofstetter e97882cac7 Merge pull request #8989 from uutils/renovate/proc-macro2-1.x-lockfile
chore(deps): update rust crate proc-macro2 to v1.0.103
2025-10-24 07:13:13 +02:00
renovate[bot] a7089c8fbc chore(deps): update rust crate proc-macro2 to v1.0.103 2025-10-24 04:42:46 +00:00
Sylvestre Ledru 8867591716 mv: improve the verbose mode to make tests/mv/mv-special-1.sh pass 2025-10-24 00:00:21 +02:00
mattsu 909da50371 Merge pull request #8959 from mattsu2020/sort-memory-functions
feat(sort): auto-tune buffer sizing from available memory
2025-10-23 11:53:19 +02:00
Sylvestre Ledru 3d6b0b2ea4 --version should just print the command name, not the path (#8921)
* --version should just print the command name, not the path

This will fix the parsing for old autoconf
Closes: #8880

* Update tests/by-util/test_mkdir.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-10-23 10:23:51 +02:00
Daniel Hofstetter ca8eb4d161 Merge pull request #8981 from uutils/renovate/proc-macro2-1.x-lockfile
chore(deps): update rust crate proc-macro2 to v1.0.102
2025-10-23 07:08:40 +02:00
renovate[bot] 412b165eb1 chore(deps): update rust crate proc-macro2 to v1.0.102 2025-10-23 04:04:21 +00:00
Sylvestre Ledru 50bdaa19b8 Merge pull request #8978 from oech3/manpage-direct
GNUmakefile: Simplify installing mans and completions
2025-10-22 22:22:56 +02:00
Sylvestre Ledru e615ea6d20 Merge pull request #8980 from uutils/renovate/clap_mangen-0.x-lockfile
chore(deps): update rust crate clap_mangen to v0.2.31
2025-10-22 22:22:25 +02:00
renovate[bot] 555e343b7e chore(deps): update rust crate clap_mangen to v0.2.31 2025-10-22 19:12:48 +00:00
E a8d85166f4 GNUmakefile: Reduce call of install 2025-10-22 20:47:05 +09:00
Daniel Hofstetter 4c68e1e801 Merge pull request #8973 from uutils/renovate/self_cell-1.x-lockfile
chore(deps): update rust crate self_cell to v1.2.1
2025-10-22 11:18:27 +02:00
Daniel Hofstetter e2634e5c48 Merge pull request #8567 from sylvestre/rm-progress
rm: add the --progress option like with cp & mv
2025-10-22 11:14:14 +02:00
Sylvestre Ledru 94e10238c5 Merge pull request #8513 from aaron-ang/migrate-manpage
uudoc: move manpage and completions generation out of binary
2025-10-22 11:02:12 +02:00
renovate[bot] 12f8f09218 chore(deps): update rust crate self_cell to v1.2.1 2025-10-22 08:33:14 +00:00
Daniel Hofstetter 8d891bbe56 Merge pull request #8307 from sylvestre/install-selinux
tests/install/install-Z-selinux: fix selinux for install
2025-10-22 10:30:39 +02:00
Aaron Ang 2919027841 uudoc: move manpage generation away from the binary 2025-10-22 01:17:08 -07:00
Daniel Hofstetter 905629b680 Merge pull request #8972 from uutils/renovate/memmap2-0.x-lockfile
chore(deps): update rust crate memmap2 to v0.9.9
2025-10-22 07:29:25 +02:00
Daniel Hofstetter 0d75940668 Merge pull request #8971 from uutils/renovate/indicatif-0.x-lockfile
chore(deps): update rust crate indicatif to v0.18.1
2025-10-22 07:14:47 +02:00
Sylvestre Ledru 8bf15fe676 rm: add the --progress option like with cp & mv 2025-10-22 00:27:49 +02:00
Sylvestre Ledru 2434c2ae13 Install: implement -Z
Fixes: tests/install/install-Z-selinux
2025-10-21 23:27:06 +02:00
renovate[bot] 6857bf7568 chore(deps): update rust crate memmap2 to v0.9.9 2025-10-21 20:09:50 +00:00