Dorian Péron
97b81a6685
uucore(checksum): determine regex from full line, not trimmed
...
The full line will be matched against the selected regex anyway
2024-10-24 11:41:54 +02:00
Dorian Péron
3031874d22
uucore(lib): add u8/OsString conversion utils
2024-10-24 11:41:54 +02:00
Daniel Hofstetter
5bc7d67274
Merge pull request #6816 from uutils/sylvestre-patch-3
...
intermittent: timeout changed directory
2024-10-24 10:49:06 +02:00
Sylvestre Ledru
e28d0f064b
intermittent: timeout changed directory
2024-10-24 10:21:52 +02:00
Sylvestre Ledru
c9f8ef50d3
Merge pull request #6815 from RenjiSann/cksum-zero
...
cksum: Implement -z/--zero
2024-10-24 08:29:34 +02:00
Dorian Péron
e9cf31451e
test(cksum): add tests for -z/--zero
2024-10-24 00:29:45 +02:00
Dorian Péron
0b31e43fac
cksum: implement --zero flag with newline/NUL replacement
2024-10-24 00:26:05 +02:00
Terts Diepraam
6850be2539
Merge pull request #6810 from cakebaker/echo_remove_double_negation
...
echo: remove double negation
2024-10-23 10:24:26 +02:00
Daniel Hofstetter
7de3700efe
Merge pull request #6813 from uutils/renovate/thiserror-1.x-lockfile
...
chore(deps): update rust crate thiserror to v1.0.65
2024-10-23 07:18:48 +02:00
Daniel Hofstetter
4e7b593afc
Merge pull request #6814 from uutils/renovate/proc-macro2-1.x-lockfile
...
fix(deps): update rust crate proc-macro2 to v1.0.89
2024-10-23 07:17:56 +02:00
Daniel Hofstetter
e72c779c14
Merge pull request #6811 from uutils/renovate/serde-monorepo
...
chore(deps): update rust crate serde to v1.0.213
2024-10-23 07:15:23 +02:00
Sylvestre Ledru
0ef5b75248
Merge pull request #6808 from Pistonight/hashsum_windows
...
hashsum: Windows: check in binary mode by default and allow --binary/--text
2024-10-22 21:38:36 +02:00
renovate[bot]
2d750e7ea5
fix(deps): update rust crate proc-macro2 to v1.0.89
2024-10-22 19:24:43 +00:00
renovate[bot]
90f2ad522a
chore(deps): update rust crate thiserror to v1.0.65
2024-10-22 19:24:36 +00:00
renovate[bot]
ab2f5d2ee1
chore(deps): update rust crate serde to v1.0.213
2024-10-22 19:24:31 +00:00
Pistonight
ca6d0eda3d
hashsum: Windows: check in binary mode by default and allow --binary/--text whcn checking
2024-10-22 11:55:49 -07:00
Daniel Hofstetter
c4160f2dd7
Merge pull request #6801 from Luv-Ray/cksum_error_handling
...
cksum: fix error handling
2024-10-22 16:35:36 +02:00
Daniel Hofstetter
13df9e2f30
echo: remove double negation
2024-10-22 15:04:16 +02:00
Daniel Hofstetter
b0fa702e90
echo: remove unnecessary no_stderr() call in test
2024-10-22 14:32:20 +02:00
Luv-Ray
d5cc3dd8ee
cksum: fix error handling
2024-10-22 20:20:18 +08:00
Andrew Liebenow
66f11c4ce4
echo: handle multibyte escape sequences ( #6803 )
...
* echo: handle multibyte escape sequences
Bug was reported, with root cause analysis, by kkew3
Added tests were derived from test cases provided by kkew3
See https://github.com/uutils/coreutils/issues/6741
* Use concrete type
* Fix MSRV issue
* Fix non-UTF-8 argument handling
* Fix MSRV issue
* Fix Clippy violation
* Fix compiler warning
* Address PR comments
* Add MSRV TODO comments
* echo: use stdout_only_bytes instead of stdout_is_bytes
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-10-22 11:03:08 +02:00
Daniel Hofstetter
99fa11ac5c
Merge pull request #6809 from uutils/renovate/serde-monorepo
...
chore(deps): update rust crate serde to v1.0.211
2024-10-22 09:59:19 +02:00
renovate[bot]
77d329018e
chore(deps): update rust crate serde to v1.0.211
2024-10-22 07:31:33 +00:00
Sylvestre Ledru
8e6bf6aa4a
Merge pull request #6807 from andrewliebenow/printf-fix-arguments-in-help
...
printf: remove unused argument name from help
2024-10-21 23:32:38 +02:00
Andrew Liebenow
d70990e0cc
printf: remove unused argument name from help
...
printf --help is currently listing three usage forms:
```
Usage: coreutils printf FORMATSTRING [ARGUMENT]...
coreutils printf FORMAT [ARGUMENT]...
coreutils printf OPTION
```
But there are only two usage forms, since there is no difference
between "FORMAT" and "FORMATSTRING".
Remove references to "FORMATSTRING", and use "FORMAT" in all places
where "FORMATSTRING" appeared, since other implementations of
`printf` use the argument name "FORMAT".
2024-10-21 10:36:31 -05:00
Sylvestre Ledru
3f694faa2e
Merge pull request #6802 from andrewliebenow/mkdir-empty-argument-fix
...
mkdir: emit error when path is empty
2024-10-20 18:44:33 +02:00
Andrew Liebenow
80b63931a4
mkdir: emit error when path is empty
2024-10-20 10:45:46 -05:00
Sylvestre Ledru
5b881a0766
Merge pull request #6790 from sgvictorino/require-mkdir-rmdir-args
...
mkdir/rmdir: require arguments
2024-10-20 17:15:25 +02:00
Sylvestre Ledru
7589db53c1
Merge pull request #6795 from andrewliebenow/fuzz-compare-against-lc-all-c
...
fuzz: run GNU Core Utilities with LC_ALL=C
2024-10-20 17:14:55 +02:00
Sylvestre Ledru
9a6f5521b9
Merge pull request #5968 from anastygnome/tsort
...
tsort refactoring proposal
2024-10-19 21:01:46 +02:00
Sylvestre Ledru
c125a94290
Merge pull request #6800 from andrewliebenow/documentation-fix-crate-name
...
documentation: fix crate name in README
2024-10-19 19:28:13 +02:00
Andrew Liebenow
75895ce4d4
documentation: fix crate name in README
2024-10-19 11:43:38 -05:00
Tom D.
66c3efa0b7
doc(tsort): Add benchmarking documentation
2024-10-19 15:08:06 +02:00
Tom D.
c3b28bf6c7
refactor(tsort): Switch to Knuth algorithm T
...
This commit is a complete rewrite of the tsort util, resulting in a x10 performance improvement
BREAKING CHANGE: the order is no longer the same as gnu tsort in some fringe cases.
2024-10-19 12:07:25 +02:00
Andrew Liebenow
bac29943cb
fuzz: run GNU Core Utilities with LC_ALL=C
2024-10-18 09:33:02 -05:00
Daniel Hofstetter
92e67a5a14
Merge pull request #6782 from RenjiSann/checksum-comment
...
cksum/hashsum: Support for commented lines in checksum files
2024-10-18 13:53:34 +02:00
Dorian Péron
b34730dda3
test(hashsum): add tests for comment in checksum files
2024-10-18 11:58:03 +02:00
Dorian Péron
90d49c9403
test(cksum): add tests for comment in checksum files
2024-10-18 11:57:59 +02:00
Sylvestre Ledru
96470d9614
GNU tests: install attr ( #6784 )
...
* GNU tests: install attr
```
2024-10-16T07:22:20.6386088Z SKIP: tests/misc/xattr
2024-10-16T07:22:20.6386173Z ======================
2024-10-16T07:22:20.6386178Z
2024-10-16T07:22:20.6386369Z ./tests/misc/xattr.sh: line 42: getfattr: command not found
2024-10-16T07:22:20.6386526Z xattr.sh: skipped test: failed to get xattr of file
```
* Also install attr for the GNU code coverage
2024-10-18 11:07:45 +02:00
Daniel Hofstetter
6a354ded14
Merge pull request #6789 from uutils/renovate/libc-0.x-lockfile
...
fix(deps): update rust crate libc to v0.2.161
2024-10-18 09:51:04 +02:00
renovate[bot]
035c99c3eb
fix(deps): update rust crate libc to v0.2.161
2024-10-18 07:23:26 +00:00
Solomon Victorino
fe234164f4
rmdir: require argument
2024-10-18 08:30:18 +02:00
Solomon Victorino
6ad07a4fb3
mkdir: require argument
2024-10-18 08:30:18 +02:00
Sylvestre Ledru
93c3d004d7
Merge pull request #6792 from cakebaker/uucore_allow_deprecated
...
uucore: allow use of deprecated `PanicInfo`
2024-10-18 08:29:15 +02:00
Daniel Hofstetter
91687ebbc1
uucore: allow use of deprecated PanicInfo
2024-10-18 07:36:30 +02:00
Daniel Hofstetter
e3b8191926
Merge pull request #6787 from tea/unredox
...
Get rid of redox-specific code
2024-10-17 16:58:43 +02:00
Andrey Turkin
b7819c0731
Get rid of redox-specific code
...
All of the specific functions are covered by relibc
2024-10-17 17:14:42 +03:00
Daniel Hofstetter
b19897fa6c
Merge pull request #6785 from sylvestre/tsort
...
tsort.pl: adjust error message
2024-10-17 10:21:12 +02:00
Daniel Hofstetter
c23acfc819
Merge pull request #6786 from uutils/renovate/libc-0.x-lockfile
...
fix(deps): update rust crate libc to v0.2.160
2024-10-17 09:34:27 +02:00
renovate[bot]
508832c274
fix(deps): update rust crate libc to v0.2.160
2024-10-17 07:07:44 +00:00