1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-15 11:36:16 +00:00
Commit graph

15910 commits

Author SHA1 Message Date
Daniel Hofstetter
c14a60b3cd
Merge pull request #7389 from uutils/renovate/unindent-0.x-lockfile
chore(deps): update rust crate unindent to v0.2.4
2025-03-04 07:32:37 +01:00
Daniel Hofstetter
4b618dc7bb deny.toml: remove three crates from skip list
linux-raw-sys, rustix, and terminal_size
2025-03-04 07:18:21 +01:00
Daniel Hofstetter
1c1fae2ea3
Merge pull request #7387 from uutils/renovate/textwrap-0.x-lockfile
chore(deps): update rust crate textwrap to v0.16.2
2025-03-04 07:06:51 +01:00
renovate[bot]
a83cfe14a1
chore(deps): update rust crate unindent to v0.2.4 2025-03-04 02:33:33 +00:00
renovate[bot]
f743c470ea
chore(deps): update rust crate textwrap to v0.16.2 2025-03-03 20:06:25 +00:00
Sylvestre Ledru
439b146b5e
Merge pull request #7385 from dezgeg/build-fix
uucore: Fix proc_info compilation
2025-03-03 16:14:23 +01:00
Tuomas Tynkkynen
8f119fba5e uucore: Fix proc_info compilation
Fixes #7383
2025-03-03 16:51:35 +02:00
Daniel Hofstetter
8b6bd7c791
Merge pull request #7381 from uutils/renovate/quote-1.x-lockfile
fix(deps): update rust crate quote to v1.0.39
2025-03-03 11:42:37 +01:00
renovate[bot]
5bfe0ff34a
fix(deps): update rust crate quote to v1.0.39 2025-03-03 10:13:35 +00:00
Daniel Hofstetter
ba57fdb027
Merge pull request #7380 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.94
2025-03-03 07:32:24 +01:00
Daniel Hofstetter
f4694d2f16
Merge pull request #7379 from uutils/renovate/thiserror-2.x-lockfile
chore(deps): update rust crate thiserror to v2.0.12
2025-03-03 07:30:21 +01:00
renovate[bot]
5c62a2b5c2
fix(deps): update rust crate proc-macro2 to v1.0.94 2025-03-03 06:06:03 +00:00
renovate[bot]
6c39a530e4
chore(deps): update rust crate thiserror to v2.0.12 2025-03-03 06:05:57 +00:00
Daniel Hofstetter
c4eb6bf9d5
Merge pull request #7377 from uutils/renovate/rstest-0.x
chore(deps): update rust crate rstest to 0.25.0
2025-03-03 07:03:34 +01:00
renovate[bot]
cef8d35f07
chore(deps): update rust crate rstest to 0.25.0 2025-03-02 17:49:56 +00:00
Daniel Hofstetter
4fda78a026
Merge pull request #7373 from uutils/renovate/rand_core-0.x-lockfile
chore(deps): update rust crate rand_core to v0.9.3
2025-03-02 13:31:34 +01:00
Sylvestre Ledru
daeffacf70
Merge pull request #7374 from uutils/renovate/console-0.x-lockfile
fix(deps): update rust crate console to v0.15.11
2025-03-02 09:23:58 +01:00
renovate[bot]
e21f7cd784
fix(deps): update rust crate console to v0.15.11 2025-03-02 01:36:38 +00:00
renovate[bot]
eadf00c70f
chore(deps): update rust crate rand_core to v0.9.3 2025-03-01 19:12:38 +00:00
Sylvestre Ledru
18cb7dcf9e Use the new function fails_with_code
Done with
```
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)[ \t]*\n[ \t]+\.no_stdout\(\)[ \t]*\n[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\2)\n\1.no_stdout();/gs' *rs
$ sed -i -e "s|.fails()(.*).code_is(|.fails_with_code(|g" *rs
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)[ \t]*\n[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\2);/gs' *rs
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)(.*?)[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\3)\2;/gs' *rs
...
```
2025-03-01 17:26:20 +01:00
Dorian Péron
76ad6042b5
Merge pull request #7253 from karlmcdowall/head_stdio_file
Head: ensure stdin input stream is correct on exit
2025-02-28 17:05:06 +01:00
Dorian Péron
5c29054a40
Merge pull request #7365 from drinkcat/printf-float-hex-exponent
printf: (partially) fix hex format: exponent is decimal, correctly print negative numbers
2025-02-28 15:53:39 +01:00
Daniel Hofstetter
854000e394
Merge pull request #7351 from dezgeg/process-sync
uucore: Sync proc_info methods from procps
2025-02-28 09:33:09 +01:00
Daniel Hofstetter
0c50271869
Merge pull request #7370 from uutils/renovate/blake3-1.x-lockfile
chore(deps): update rust crate blake3 to v1.6.1
2025-02-28 07:24:41 +01:00
renovate[bot]
d9ef80b177
chore(deps): update rust crate blake3 to v1.6.1 2025-02-27 22:38:57 +00:00
Sylvestre Ledru
d14ece900c
Merge pull request #7369 from RenjiSann/peron/uutest-fails_with_code
test-utils: Add fails_with_code() function
2025-02-27 15:09:04 +01:00
Dorian Peron
86aff6186a test-utils: Add fails_with_code() function 2025-02-27 14:24:54 +01:00
Daniel Hofstetter
0356dcc022
Merge pull request #7367 from uutils/renovate/dawidd6-action-download-artifact-9.x
chore(deps): update dawidd6/action-download-artifact action to v9
2025-02-27 11:43:33 +01:00
renovate[bot]
47a43323dc
chore(deps): update dawidd6/action-download-artifact action to v9 2025-02-27 10:16:06 +00:00
Nicolas Boichat
f23e6f1cab uucore: format: Fix printing of negative floating hex
Negative numbers were not printed correctly with `%a`:
 - A leading `-` is expected.
 - The exponent mask was too wide (15 bits instead of 11)
2025-02-26 21:42:21 +01:00
Nicolas Boichat
576655b926 uucore: format: Fix printing of floating hex exponents
Floating hex format is supposed to be `[-]0xh.hhhp±d`. Note that
the exponent is a decimal value, not an hex number: fix that.

Also, add basic tests for this format, while we're at it.

Test: `cargo test --package uucore --all-features float`

Fixes #7362.
2025-02-26 21:42:13 +01:00
Karl McDowall
ad20cb35a0 Head: ensure stdin input stream is correct on exit
Fix issue #7028
Head tool now ensures that stdin is set to the last character
that was output by the tool. This ensures that if any subsequent
tools are run from the same input stream they will start at the
correct point in the stream.
2025-02-26 11:41:29 -07:00
Daniel Hofstetter
bd9564cfea
Merge pull request #7360 from uutils/renovate/chrono-0.x-lockfile
chore(deps): update rust crate chrono to v0.4.40
2025-02-26 13:46:34 +01:00
renovate[bot]
269fcb4943
chore(deps): update rust crate chrono to v0.4.40 2025-02-26 12:08:46 +00:00
Daniel Hofstetter
15eaeaec14
Merge pull request #7347 from BigPapa314/cp--fix-don't-show-msg-with-cp--i--v---update=older-a-b-if-a-is-older-than-b
cp: disabled verbose output if file has been skipped
2025-02-26 08:48:35 +01:00
Daniel Hofstetter
8ea34446f2
Merge pull request #7358 from uutils/renovate/zip-2.x-lockfile
chore(deps): update rust crate zip to v2.2.3
2025-02-26 07:28:39 +01:00
renovate[bot]
86f1f0f8a4
chore(deps): update rust crate zip to v2.2.3 2025-02-26 06:01:59 +00:00
Tuomas Tynkkynen
88b93a6865 uucore: Extend proc_info spell checker list 2025-02-25 19:29:45 +02:00
Tuomas Tynkkynen
339a6d4c46 uucore: Sync uid/gid methods from procps 2025-02-25 11:51:20 +02:00
Tuomas Tynkkynen
16c174d826 uucore: Sync thread_ids() method from procps 2025-02-25 11:51:20 +02:00
Dorian Péron
9c0ff86caa
Merge pull request #7352 from RenjiSann/expr-no-clap
expr: Get rid of clap for performance reasons
2025-02-25 02:19:32 +01:00
Dorian Peron
44077e37a8 expr: Do not parse arguments using clap 2025-02-25 01:49:40 +01:00
Thomas Kilian
63fe4fb327 cp: disabled verbose output if file has been skipped 2025-02-24 22:24:27 +01:00
Sylvestre Ledru
81048228cf
Merge pull request #7322 from alexsnaps/issue-7221
numfmt: fix Unit::SI uses lowercase `k` suffix for kilos
2025-02-24 19:28:00 +01:00
Sylvestre Ledru
6b22879c95
Merge pull request #7353 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.31
2025-02-24 19:26:39 +01:00
Sylvestre Ledru
9ba8ddc840
Merge pull request #7354 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.46
2025-02-24 19:26:34 +01:00
renovate[bot]
7f1b81a0ab
chore(deps): update rust crate clap_complete to v4.5.46 2025-02-24 16:34:59 +00:00
renovate[bot]
7c34a46784
chore(deps): update rust crate clap to v4.5.31 2025-02-24 16:34:53 +00:00
Sylvestre Ledru
a3284e6a25
Merge pull request #7350 from cakebaker/tests_make_wait_with_output_private
tests: make `wait_with_output` private
2025-02-24 10:48:31 +01:00
Daniel Hofstetter
cf08040348 tests: make wait_with_output private
and un-deprecate it
2025-02-24 09:26:05 +01:00