Commit Graph
238 Commits
Author SHA1 Message Date
Sylvestre Ledru 7c5383dd89 dirname: add fuzzer to test GNU compatibility 2026-01-18 21:12:55 +01:00
Sylvestre Ledru f606980ddf prepare release 0.6.0 2026-01-17 23:28:04 +01:00
mattsuandGitHub 6b49ff9061 sort: gnu coreutils compatibility (sort float.sh) (#9839)
* feat(sort): support international decimal separators in numeric sorting

M
2026-01-14 06:11:55 +01:00
Chris DrydenandGitHub b5a49f33b5 tac: use temp file for stdin to respect TMPDIR and handle disk-full errors (#10094) 2026-01-09 20:31:46 +01:00
renovate[bot]andGitHub 95195cfb75 chore(deps): update rust crate libc to v0.2.180 2026-01-08 12:33:04 +00:00
Aaron Ang 6a844812cf refactor: use jiff for safer time features 2026-01-07 22:54:18 -08:00
renovate[bot]andGitHub 5c777995a1 chore(deps): update rust crate libc to v0.2.179 2026-01-06 17:11:30 +00:00
Daniel HofstetterandGitHub 836e5d19c4 Merge pull request #9770 from RenjiSann/checksum-improvements
checksum: Improve check-only flags handling
2025-12-22 15:58:11 +01:00
Dorian Peron 74f12d5d3b cksum: remove unneeded hex dependency 2025-12-22 14:41:41 +01:00
Sylvestre Ledru fb5b5f4849 date: improve the date fuzzer 2025-12-22 14:14:09 +01:00
Sylvestre Ledru 58266a890a date: handle the empty arguments 2025-12-22 14:14:09 +01:00
Sylvestre LedruandGitHub adaaa3fb30 Merge pull request #9687 from xtqqczze/lint/as_ptr
clippy: fix ptr lints
2025-12-18 10:07:20 +01:00
xtqqczze 59cd5ab011 date: remove unsafe 2025-12-18 02:39:43 +00:00
xtqqczze 70fd10d335 clippy: fix ptr_as_ptr lint
https://rust-lang.github.io/rust-clippy/master/index.html#ptr_as_ptr
2025-12-18 00:19:14 +00:00
renovate[bot]andGitHub 13ffdccd27 chore(deps): update rust crate console to v0.16.2 2025-12-16 15:19:56 +00:00
Sylvestre Ledru 61e0eae8fc prepare version 0.5.0 2025-12-07 16:55:01 +01:00
Christopher Dryden f90846824f Splitting parser feature into multiple subfeatures to reduce dependency bloat 2025-12-03 04:48:11 +00:00
naoNao89andDorian Péron 8d740257ac feat(uucore): add shared hardware detection module
Add shared CPU hardware capability detection in uucore to prevent
code duplication across utilities. This provides a unified interface
for detecting CPU features (AVX512, AVX2, PCLMUL, SSE2, ASIMD) and
respecting GLIBC_TUNABLES environment variable.

This unblocks PR #9088 (cksum --debug) and PR #9144 (wc --debug) by
providing a common implementation that both utilities can use.

Features:
- CPU feature detection with caching (singleton pattern)
- GLIBC_TUNABLES parsing for hwcaps restrictions
- Cross-platform support (x86/x86_64, aarch64)
- Comprehensive test coverage
- Zero-cost abstractions using std::arch

Implementation details:
- Uses std::arch feature detection (no external deps for detection)
- Adds cfg-if dependency for conditional compilation
- Feature-gated behind "hardware" feature flag
- Android excluded (no CPUID access in sandboxed environment)

Related: #9088, #9144
2025-11-24 12:53:58 +01:00
Sylvestre Ledru 0709890328 replace number_prefix by unit-prefix
See https://rustsec.org/advisories/RUSTSEC-2025-0119
2025-11-18 09:59:46 +01:00
Sylvestre LedruandGitHub 3eedd3a947 prepare version 0.4.0 (#9205) 2025-11-09 22:48:04 +01:00
naoNao89andDorian Péron 8f623574a4 fix(cksum): correct CRC32B implementation to match GNU cksum
- Implement correct CRC32B algorithm with proper polynomial and initialization
- Add comprehensive test fixtures for CRC32B validation
- Support raw output format for CRC32B checksums
- Update dependencies and lock files for compatibility
- Fix code formatting and style issues
2025-11-03 10:51:09 +01:00
Daniel HofstetterandSylvestre Ledru 15cecc933f date: remove chrono from Cargo.toml 2025-10-27 21:41:28 +01:00
Sylvestre Ledru b818481e5f date: fix parse_datetime 0.13 API compatibility issues 2025-10-26 22:09:02 +01:00
mattsuandGitHub 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
2025-10-25 00:12:42 +02:00
mattsuandGitHub 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