18266 Commits

Author SHA1 Message Date
Daniel Hofstetter 2319a99057 Merge pull request #10634 from oech3/patch-5
GNUmakefile: Drop HASHSUM
0.6.0
2026-02-02 10:43:01 +01:00
Daniel Hofstetter 61da637d59 Merge pull request #10645 from uutils/renovate/rlimit-0.x
chore(deps): update rust crate rlimit to 0.11.0
2026-02-02 07:50:28 +01:00
Daniel Hofstetter 833f9832a8 Merge pull request #10641 from uutils/renovate/dawidd6-action-download-artifact-14.x
chore(deps): update dawidd6/action-download-artifact action to v14
2026-02-02 07:10:49 +01:00
Sylvestre Ledru d24c3438a1 Merge pull request #9848 from mattsu2020/sort_sort-h-thousands-sep.sh
feat(sort): add locale-aware numeric sorting support(sort-h-thousands-sep.sh)
2026-02-01 23:10:00 +01:00
mattsu 6cde13e75a fix(sort): skip ordering incompatibility check when --key is specified
Previously, the ordering_incompatible check was performed unconditionally, causing errors even when the --key option was used, where such incompatibilities might not apply. This change adds a condition to skip the check if --key is present, ensuring correct behavior for key-based sorting.
2026-02-01 22:34:06 +01:00
mattsu ce96a263c8 fix(tests): correct sorting order of decimal values in numeric sort fixture
Update the expected output for the multiple decimals numeric sort test to reflect the proper ascending order. The values "576,446.88800000" and "576,446.890" were misplaced and have been repositioned to their correct locations in the sorted sequence, ensuring the test accurately validates the sorting logic. The debug fixture was updated accordingly.
2026-02-01 22:34:06 +01:00
mattsu b1b2a198e5 i18n: treat C locale as no grouping separator 2026-02-01 22:34:06 +01:00
mattsu 5e0d83fd15 refactor(sort): split long line assignment for improved readability
The assignment of NumInfo::parse result was reformatted by splitting it across two lines to enhance code readability and adhere to line length guidelines.
2026-02-01 22:34:06 +01:00
mattsu f79a86805d fix(sort): handle C locale numeric settings correctly
- Update detect_numeric_locale to check for C locale (ASCII encoding and "und" locale)
- In C locale, set thousands_sep to None to avoid incorrect grouping separators
- Adjust test expectations to match new sorting behavior for numeric fields in C locale
2026-02-01 22:34:06 +01:00
mattsu d7be9657cc refactor(sort): improve thousands separator handling in numeric sorting
- Ignore thousands separators in debug annotations to match GNU output
- Simplify NumInfo parsing by removing redundant thousands separator logic
- Enhance detection of numeric locale settings to handle multibyte separators like NBSP correctly, maintaining single-byte behavior for compatibility with upstream GNU coreutils
2026-02-01 22:34:06 +01:00
mattsu dd720344ce refactor(sort): simplify detect_numeric_locale with struct literal
Use struct literal initialization instead of creating a mutable default and assigning fields, improving code conciseness and readability without changing functionality.
2026-02-01 22:34:06 +01:00
mattsu 39ed771fd1 feat(sort): add locale-aware numeric sorting support
Implement NumericLocaleSettings to handle thousands separators and decimal points based on locale. Update tokenization logic to accommodate blank thousands separators for numeric and human-numeric modes, improving parsing of locale-specific numbers. Also refactor numeric locale detection for safety/readability and clean up related initialization/spell-checker ignore.
2026-02-01 22:34:06 +01:00
mattsu 80f49fb353 refactor: simplify separator trimming in locale test
Use array slice for trim_end_matches and String::len for length check to improve readability and efficiency in test_human_numeric_blank_thousands_sep_locale.
2026-02-01 22:34:06 +01:00
mattsu 86dc5830c4 test: add test for human-numeric sort with blank thousands separator in sv_SE locale
Add a new test function `test_human_numeric_blank_thousands_sep_locale` to verify that the sort utility correctly handles human-readable numeric sorting when the locale's thousands separator is a blank space (e.g., in sv_SE.UTF-8 or sv_SE). This ensures proper behavior of the `-h` flag with key-based sorting in such locales, preventing potential sorting errors with space-separated numeric strings.
2026-02-01 22:34:06 +01:00
mattsu ab286c7b9a feat(sort): add locale-aware numeric sorting support
Implement NumericLocaleSettings to handle thousands separators and decimal points based on locale. Update tokenization logic to accommodate blank thousands separators for numeric and human-numeric modes, improving parsing of locale-specific numbers. Also refactor numeric locale detection for safety/readability and clean up related initialization/spell-checker ignore.
2026-02-01 22:34:06 +01:00
Chris Dryden 8bb31eeab9 tail: fix -F to properly track symlinks with changing targets (#10158)
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-02-01 22:26:08 +01:00
oech3 507a524c40 tee miss/ing 2>/dev/full should not abort (#10637) 2026-02-01 21:44:42 +01:00
oech3 2a8811d92c cksum -c /dev/null 2>/dev/full should not abort (#10643) 2026-02-01 21:44:17 +01:00
renovate[bot] 989cb6a99a chore(deps): update rust crate rlimit to 0.11.0 2026-02-01 18:35:46 +00:00
renovate[bot] c3ebc967b4 chore(deps): update dawidd6/action-download-artifact action to v14 2026-02-01 17:00:59 +00:00
oech3 4e662bf47a GNUmakefile: Drop HASHSUM 2026-02-01 23:19:16 +09:00
Daniel Hofstetter 26498f5b8b Merge pull request #10589 from oech3/cksum-debug-abort
cksum --debug 2>/dev/full does not abort
2026-02-01 14:37:49 +01:00
ChiamakaUI 42b2ad83cd mknod: fix SELinux cleanup when context setting fails (#10582) 2026-01-31 15:12:59 -05:00
Daniel Hofstetter 562c5ccde5 Merge pull request #10622 from oech3/hashsum-remain
Additional hashsum cleanup
2026-01-31 17:43:25 +01:00
Chris Dryden a71d6e4cbb date: fix %% not being preserved in locale format strings (#10577)
* date: fix %% not being preserved in locale format strings

* test: add locale case to percent-percent test
2026-01-31 17:12:36 +01:00