Sylvestre Ledru
5b1b40bfd8
Fix 'binding modifiers may only be written when the default binding mode is'
2025-03-24 21:02:48 +01:00
Sylvestre Ledru
95b2de78e1
Fix 'extern blocks must be unsafe'
2025-03-24 21:02:40 +01:00
Sylvestre Ledru
2739c19330
Fix unsafe attribute used without unsafe
2025-03-24 21:00:53 +01:00
Sylvestre Ledru
e0fbced116
rust edition 2021 => 2024
2025-03-24 21:00:35 +01:00
Sylvestre Ledru
f5eff9517f
Bump MSRV to 1.85.0
2025-03-24 21:00:16 +01:00
Sylvestre Ledru
39706be414
Merge pull request #7512 from dlrobertson/issue-7505
...
printf: trim leading whitespace when parsing numeric values
2025-03-24 19:11:15 +01:00
Dorian Péron
4426d58389
Merge pull request #7524 from sylvestre/ignore-intermittent-pass
...
ci: if FAIL => PASS but in the intermittent list, show the info
2025-03-24 19:07:18 +01:00
Sylvestre Ledru
1ee8092826
Merge pull request #7525 from sylvestre/thiserror4
...
Move more programs to thiserror
2025-03-24 19:06:13 +01:00
Sylvestre Ledru
36231f7551
Merge pull request #7562 from drinkcat/seq-perf-1
...
seq: Directly write separator string, instead of using format
2025-03-24 19:05:14 +01:00
Nicolas Boichat
66745427cb
seq: Directly write separator string, instead of using format
...
Doing `stdout.write_all(separator.as_bytes())?` is quite a bit
faster than using format to do the same operation:
`write!(stdout, "{separator}")?`.
This speeds up by about 10% on simple cases.
We do the same for the terminator even though this has no measurable
performance impact.
2025-03-24 18:02:06 +01:00
Daniel Hofstetter
7574794a6e
Merge pull request #7561 from uutils/renovate/chrono-tz-0.x-lockfile
...
chore(deps): update rust crate chrono-tz to v0.10.3
2025-03-24 17:50:40 +01:00
Dan Robertson
1a0bc30f17
printf: trim leading whitespace when parsing numeric values
...
Trim leading whitespace from numeric input to printf.
2025-03-24 16:27:58 +00:00
renovate[bot]
ee09b7934c
chore(deps): update rust crate chrono-tz to v0.10.3
2025-03-24 15:55:34 +00:00
Daniel Hofstetter
af7411a933
Merge pull request #7560 from lbellomo/fix-ghost-link-doc
...
doc: escape RE with backticks (`)
2025-03-24 16:54:19 +01:00
lbellomo
d561ee8f16
doc: escape RE with '`'
2025-03-24 12:01:16 -03:00
Sylvestre Ledru
ffe8762ee6
Fix the GNU test
...
Co-authored-by: Dorian Péron <72708393+RenjiSann@users.noreply.github.com>
2025-03-24 14:22:25 +01:00
Sylvestre Ledru
5e1677bb9e
adjust cargo.lock
2025-03-24 14:22:25 +01:00
Sylvestre Ledru
305be09403
ls: move to thiserror
2025-03-24 14:22:25 +01:00
Sylvestre Ledru
9d123febb3
install: move to thiserror
2025-03-24 14:22:25 +01:00
Sylvestre Ledru
c1bb57fd1e
ln: move to thiserror
2025-03-24 14:22:25 +01:00
Sylvestre Ledru
d0e6a6271c
join: move to thiserror
2025-03-24 14:22:25 +01:00
Daniel Hofstetter
cce6e4922b
Merge pull request #7557 from AspadaX/patch-1
...
Update installation.md
2025-03-24 10:30:27 +01:00
Sylvestre Ledru
99de7bf30c
Merge pull request #7551 from lbellomo/fix-broken-links-doc
...
doc: fix broken links on mdbook
2025-03-24 09:50:11 +01:00
Xinyu Bao
cfced1b7d2
Update installation.md
...
Appended `--locked` flag to the Cargo installation commands.
2025-03-24 16:37:06 +08:00
Daniel Hofstetter
f5f9b23676
Merge pull request #7555 from uutils/renovate/iana-time-zone-0.x-lockfile
...
chore(deps): update rust crate iana-time-zone to v0.1.62
2025-03-24 09:13:34 +01:00
Sylvestre Ledru
a0fb47794a
Merge pull request #7554 from cakebaker/docs_replace_aur_package
...
docs: replace AUR package in installation.md
2025-03-24 08:47:54 +01:00
renovate[bot]
8da20cae46
chore(deps): update rust crate iana-time-zone to v0.1.62
2025-03-24 07:34:14 +00:00
Daniel Hofstetter
5ec1f287a8
Merge pull request #7547 from uutils/renovate/zip-2.x-lockfile
...
chore(deps): update rust crate zip to v2.5.0
2025-03-24 08:32:54 +01:00
Daniel Hofstetter
bc9c5598a7
docs: replace AUR package in installation.md
...
coreutils-hybrid no longer exists, let's mention coreutils-uutils instead
2025-03-24 07:47:16 +01:00
Daniel Hofstetter
aaa4b899dd
Merge pull request #7553 from lbellomo/fix-broken-ubuntu-badge-doc
...
doc: bump version of ubuntu badge
2025-03-24 07:19:05 +01:00
renovate[bot]
c7e0479d74
chore(deps): update rust crate zip to v2.5.0
2025-03-24 06:12:28 +00:00
Daniel Hofstetter
3355a3eb0b
Merge pull request #7549 from uutils/renovate/time-0.x-lockfile
...
chore(deps): update rust crate time to v0.3.41
2025-03-24 07:06:13 +01:00
lbellomo
d683b2a5a0
doc: bump version of ubuntu badge
2025-03-24 00:48:49 -03:00
lbellomo
b0e282951f
doc: fix broken links on mdbook
...
Relative links works on github but are broken for the 'CONTRIBUTING.md'
on the mdbook. This change the relative link to the full link that works
on github and on the mdbook
2025-03-24 00:04:47 -03:00
renovate[bot]
381457a7bd
chore(deps): update rust crate time to v0.3.41
2025-03-24 01:54:09 +00:00
Sylvestre Ledru
c610262f0b
Merge pull request #7546 from drinkcat/fix-android-ci
...
Fix Android CI
2025-03-23 22:00:35 +01:00
Nicolas Boichat
b142b9e748
test_*: Disable tests that require setting rlimit on Android
...
See #7542 , it's not totally clear where the problem comes from,
but blanking LD_PRELOAD set by termux seems to fix the problem
(but introduces other issues.
Let's just disable these tests for now.
2025-03-23 20:24:17 +01:00
Nicolas Boichat
7eb873c326
test_env: Try to execute an empty file instead of .
...
For some unclear reason, Android _now_ sometimes returns an
IsADirectory error, instead of PermissionDenied, when trying
to execute `.`.
Since this test really wants to test PermissionDenied, we try
to execute a file in the fixture instead, that doesn't have
exec permission.
Also, limit this test to Unix.
Fixes part of #7542 .
2025-03-23 19:37:59 +01:00
Nicolas Boichat
152dada379
tests/common/util: Make sure test_altering_umask is run in correct shell
...
On Android CI, `sh` would point at a different flavor of shell
shipped with termux (dash).
The current umask test expects that `/system/bin/sh` is used though,
so create a new function TestScenario:cmd_shell that runs a command
in the default shell (that could be used in more tests).
Fixes one part of #7542 .
2025-03-23 19:37:04 +01:00
Sylvestre Ledru
105042fb70
document how to do good performance work ( #7541 )
...
* document how to do good performance work
* doc: spell, ignore "taskset"
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-03-23 15:31:02 +01:00
Daniel Hofstetter
ebe77c2555
Merge pull request #7543 from uutils/renovate/chrono-tz-0.x-lockfile
...
chore(deps): update rust crate chrono-tz to v0.10.2
2025-03-23 15:24:16 +01:00
renovate[bot]
85c862c48a
chore(deps): update rust crate chrono-tz to v0.10.2
2025-03-23 13:14:36 +00:00
Sylvestre Ledru
8931d2c26e
Merge pull request #7521 from usamoi/ptx
...
ptx: fixes
2025-03-23 09:28:20 +01:00
Sylvestre Ledru
53d277233d
Merge pull request #7527 from drinkcat/seq-tests
...
test_seq: Add a few more tests for corner cases
2025-03-23 09:26:20 +01:00
Sylvestre Ledru
eed5c81060
Merge pull request #7463 from blyxxyz/clean-shuf
...
Make `shuf` OsStr-compliant and bring newline handling in line with GNU
2025-03-22 22:29:49 +01:00
Nicolas Boichat
596ea0a694
test_seq: Add a few more tests for corner cases
...
Some of these tests are not completely defined behavior, but
in many cases they make sense (or at least one can find some
consistent logic to it).
However, there are 2 edge cases that are more dubious IMHO.
One of them has been reported on list a while back, and I
just reported another.
2025-03-22 22:02:11 +01:00
Nicolas Boichat
59cd6e5e41
tests: Move seq/yes run function to Ucommand::run_stdout_starts_with
...
Tests for both `seq` and `yes` run a command that never terminates,
and check the beggining of their output in stdout, move the copied
parts of the wrapper function to common/util.
We still need to use slightly different logic to parse exit value
as `seq` returns success if stdout gets closed, while `yes` fails.
2025-03-22 22:02:11 +01:00
Sylvestre Ledru
b540e18dec
Merge pull request #7519 from karlmcdowall/cat_perf
...
cat: Improve performance of formatting.
2025-03-22 21:54:13 +01:00
Sylvestre Ledru
09d7b2dcfb
Merge pull request #7458 from drinkcat/format-bigdecimal
...
Move ExtendedBigDecimal to uucore/format, make use of it in formatting functions
2025-03-22 21:52:04 +01:00
Nicolas Boichat
d678e5320f
uucore: format: Fix uppercase hex floating point printing
...
Accidentally broke this use case when refactoring.
Added a test as well.
2025-03-22 21:13:18 +01:00