1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-31 13:07:46 +00:00
Commit graph

15884 commits

Author SHA1 Message Date
Sylvestre Ledru
1e33e535ce also install the locales 2025-05-28 23:45:58 +02:00
Sylvestre Ledru
91a6209699 locale: try to guess where the locale files are 2025-05-28 23:45:58 +02:00
Sylvestre Ledru
726481c862 cspell: ignore the ftl files 2025-05-28 23:45:58 +02:00
Sylvestre Ledru
7847894acf arch: support translations 2025-05-28 23:45:58 +02:00
Sylvestre Ledru
075cdcf21f CI: also install the spanish locale 2025-05-28 23:45:58 +02:00
Sylvestre Ledru
463f7c1530 locale: add unit tests 2025-05-28 23:45:58 +02:00
Sylvestre Ledru
72597bcf7b locale: refactor the locale system:
* remove the default value. Avoid duplication of the english string + facilitate translation
* have english as a default. Load english when the translated string isn't available
2025-05-28 23:40:13 +02:00
Sylvestre Ledru
0523eab9e7
Merge pull request #8020 from cakebaker/csplit_fix_issues_with_non_ascii_digits
csplit: fix two issues with non ASCII digits
2025-05-28 23:25:18 +02:00
Sylvestre Ledru
fa17dc7809
Merge pull request #8022 from frendsick/test/enable-gnu-expr
expr: Remove `expr.pl` from `why-error.md`
2025-05-28 22:43:50 +02:00
Teemu Pätsi
e6784a600f
expr: Enable GNU test expr.pl 2025-05-28 22:43:06 +03:00
Daniel Hofstetter
5e92917b6d Cargo.toml: remove unused coz dependency 2025-05-28 19:54:11 +02:00
Daniel Hofstetter
d5b6af5216 csplit: only allow ASCII digits as offset 2025-05-28 16:07:45 +02:00
Daniel Hofstetter
7439050d85 csplit: only allow ASCII digits for repeat pattern 2025-05-28 15:53:54 +02:00
Caleb Maclennan
07f7226a96
deny.toml: remove obsolete skips related to rustix
The holdup on crossterm was bumped in d5258d280, bringing rustix to 0.38.44. Meanwhile while
linux-raw-sys is still at 0.4.15 in the lock file, it is unclear to my why it got added in 2c0f97fc3
in the first place as it does not seem to trigger any complaints from `cargo deny`.
2025-05-28 16:20:59 +03:00
Etienne Cordonnier
c14282209d utmpx: silence musl warnings
Fixes https://github.com/uutils/coreutils/issues/7865

We are intentionally calling the stub utmpx functions of musl, in order
to achieve behavior parity with GNU coreutils, and in order to be able
to ship those utilities for musl libc. Silence those warnings.

See also https://github.com/uutils/coreutils/issues/1361 for details.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
2025-05-28 13:58:49 +02:00
jovie :)
0f632f2fba
chroot: remove unwrap calls (#7890) 2025-05-28 09:29:19 +02:00
Sylvestre Ledru
15f606a12b
Merge pull request #8017 from jtracey/sync-safety
sync: reduce use of unsafe and improve comments
2025-05-28 08:43:36 +02:00
Daniel Hofstetter
76848de952
Merge pull request #8015 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.51
2025-05-28 07:19:45 +02:00
Daniel Hofstetter
a98630d43d
Merge pull request #8014 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.39
2025-05-28 07:19:15 +02:00
Justin Tracey
f32f1efc23
sync: reduce use of unsafe and improve comments 2025-05-27 23:00:10 -04:00
Justin Tracey
f8d6eea2dc
sync: remove Android workaround
The libc crate now exposes Android's sync like other unix platforms.
2025-05-27 22:26:32 -04:00
Kevin Burke
24ff36ee88
.github: add additional combination to CI 2025-05-27 15:09:40 -07:00
Kevin Burke
2408bd6b36
GNUMakefile: fix compilation on Macs
Previously, attempting to compile on Macs would bring in the SELinux
dependencies (runcon) which led to compilation errors on Macs.

Fixes #7695.
2025-05-27 15:05:16 -07:00
renovate[bot]
e92cf92f7e
chore(deps): update rust crate clap_complete to v4.5.51 2025-05-27 19:53:36 +00:00
renovate[bot]
72ccd8dcad
chore(deps): update rust crate clap to v4.5.39 2025-05-27 19:53:29 +00:00
Sylvestre Ledru
d6de30eef1
Merge pull request #8013 from oech3/stty
Add stty to GNUmakefile
2025-05-27 21:51:09 +02:00
E
c3cb9ef619
Add stty to GNUmakefile
Add `stty` to `GNUmakefile`
2025-05-28 03:21:05 +09:00
Daniel Hofstetter
5fd4ab5e33
Merge pull request #8010 from frendsick/fix/expr-regex-range-start-of-expression
expr: Fix handling of regex range quantifiers
2025-05-27 17:45:58 +02:00
Teemu Pätsi
eb7bc2f251
expr: Allow only ASCII digits for regex range quantifiers 2025-05-27 17:53:21 +03:00
Teemu Pätsi
4946922c0f
expr: Fix error message for large numbers as range index 2025-05-27 17:28:19 +03:00
Teemu Pätsi
74ad163da9
expr: Fix regex for validating range quantifier 2025-05-27 16:47:48 +03:00
Teemu Pätsi
2b565612ee
expr: Fix parsing regex range quantifier 2025-05-27 16:47:43 +03:00
Teemu Pätsi
ca6a10ea9a
expr: Only '^' requires special treatment at the start of regex 2025-05-27 15:27:35 +03:00
Teemu Pätsi
210f4f7154
expr: Simplify parsing a range quantifier 2025-05-27 14:58:52 +03:00
Teemu Pätsi
ce0c2320ea
expr: Remove redundant checks for UnmatchedOpeningBrace
It is handled in `verify_range_quantifier` function.
2025-05-27 14:36:06 +03:00
Teemu Pätsi
07caa4867b
expr: Fix error message for too big range quantifier index 2025-05-27 14:06:15 +03:00
Teemu Pätsi
6aeae43f3c
expr: Simplify verifying indexes within regex range quantifier 2025-05-27 13:10:51 +03:00
Teemu Pätsi
b1a91351bc
expr: Ignore test cases from spell checker 2025-05-27 04:34:38 +03:00
Teemu Pätsi
639310c697
expr: Fix testing UnmatchedOpeningBrace 2025-05-27 04:26:41 +03:00
Teemu Pätsi
6b49b26af7
expr: Remove redundant tests that should not work anymore 2025-05-27 04:26:41 +03:00
Teemu Pätsi
3065482440
expr: Anchor regex for detecting range quantifier 2025-05-27 04:26:41 +03:00
Teemu Pätsi
874a9304cf
expr: Remove nonexistent error UnmatchedClosingBrace
The closing brace without related opening brace is handled literally
2025-05-27 04:26:41 +03:00
Teemu Pätsi
bbc912eb75
expr: Add tests for regex range quantifiers 2025-05-27 04:26:37 +03:00
Teemu Pätsi
7789ef46a4
expr: handle \{ literally at the start of an expression
Normally, `\{` begins a range quantifier like `{n,m}`, but at the start of
an expression, there is no preceding item to apply the quantifier to.
2025-05-27 03:56:02 +03:00
Sylvestre Ledru
685df65cc5
Merge pull request #7993 from cakebaker/bump_type_map
Bump `type-map`
2025-05-26 18:35:45 +02:00
Sylvestre Ledru
745051b940
Merge pull request #7994 from cakebaker/ci_reduce_timeout_for_freebsd_jobs
ci: reduce timeout of freebsd jobs
2025-05-26 17:34:47 +02:00
Daniel Hofstetter
8dbc37e403
Merge pull request #7997 from frendsick/fix/expr-regex-range-quantifiers
expr: Fix parsing range quantifiers in regex
2025-05-26 17:01:32 +02:00
Teemu Pätsi
837bab24c1
expr: Add tests for is_valid_range_quantifier function 2025-05-26 17:03:55 +03:00
Teemu Pätsi
4ee93ed6d8
expr: Remove redundant escaping of '*' character 2025-05-26 16:51:44 +03:00
Teemu Pätsi
aae62072d8
expr: Fix parsing range quantifiers in regex 2025-05-26 15:59:35 +03:00