Commit graph

144 commits

Author SHA1 Message Date
Sylvestre Ledru
1bcaea3023 tr: refactor and introduce simd to get important perf win 2025-08-20 11:52:20 +02:00
renovate[bot]
0fc4dc3acd
fix(deps): update rust crate tempfile to v3.21.0 2025-08-19 23:42:42 +00:00
Sylvestre Ledru
98224ed0cf Finalize the fuzzer 2025-08-14 10:52:24 +02:00
Sylvestre Ledru
373aafc5ff Fix ptx to handle non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru
9f0447cbe9 Add non-UTF-8 filename support to tee and improve fuzzer coverage 2025-08-14 10:52:24 +02:00
Sylvestre Ledru
b67d04557e fuzz: add concise logging to show which programs are being tested 2025-08-14 10:52:24 +02:00
Sylvestre Ledru
5f575d5e5f fuzz: improve fuzzer performance and program distribution 2025-08-14 10:52:24 +02:00
Sylvestre Ledru
581e752598 ln: fix handling of non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Sylvestre Ledru
c00c92ccc6 fuzz: add fuzzer to test non-UTF-8 path handling across all utilities 2025-08-14 10:52:24 +02:00
renovate[bot]
3ada463428
fix(deps): update rust crate libc to v0.2.175 2025-08-11 09:46:37 +00:00
Sylvestre Ledru
a432fe811f l10n: use the embedded english strings when relevant 2025-08-03 10:59:38 +02:00
Daniel Hofstetter
7d8c58ad36 Bump parse_datetime from 0.9.0 to 0.11.0 2025-08-01 09:47:49 +02:00
Sylvestre Ledru
862a7a705c use the new translate! macro for translation
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-07-28 22:04:40 +02:00
Nicolas Boichat
eedd84f301 uucore: fsext: Change MountInfo's mount_root/dir to OsString
This is necessary to fix handling of non-Unicode filepath in `df`.

Note that other field might also need to be modified in the future.
2025-07-24 09:26:54 +08:00
renovate[bot]
6f900dd849
fix(deps): update rust crate rand to v0.9.2 2025-07-20 18:36:01 +00:00
Yuri Astrakhan
c433b45682 chore: convert comments to markdown docs
A lot of functions had reasonable description using `//` instead of `///`.  This PR converts them to proper markdown and fixes a few minor styling issues.
2025-07-08 23:34:16 -04:00
renovate[bot]
363161a2f7
fix(deps): update rust crate libfuzzer-sys to v0.4.10 2025-07-03 19:57:02 +00:00
Yuri Astrakhan
4fa9af4953 chore: cleanup unused dependencies 2025-07-02 19:47:23 -04:00
renovate[bot]
53d259c13f
fix(deps): update rust crate console to 0.16.0 2025-06-27 13:47:33 +00:00
Dorian Peron
231b0e5c59 uucore: retrieve the Locale encoding from env variables 2025-06-25 00:47:51 +02:00
renovate[bot]
af90dd4b16
fix(deps): update rust crate libc to v0.2.174 2025-06-17 20:48:17 +00:00
renovate[bot]
a50270a5c8
fix(deps): update rust crate libc to v0.2.173 2025-06-13 19:29:29 +00:00
Daniel Hofstetter
3eb1cece30 Bump windows-sys from 0.59.0 to 0.60.1 2025-06-12 11:09:39 +02:00
Sylvestre Ledru
09bb35e11e test: move to thiserror 2025-06-09 11:00:37 +02:00
Yuri Astrakhan
60c55d7c07
chore: cleanup workspace crates (#8058)
Some checks are pending
CICD / Style/cargo-deny (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (push) Waiting to run
Android / Test builds (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
* chore: cleanup workspace crates

* properly add all crates to the workspace cargo.toml as members
  * except `fuzz` because it still has some issues, TBD
* use quotes around `true` and `false` to ensure there is no bool confusion
* remove a few leftover readme comments
* mark all unpublishable crates as `publish = false` to avoid accidental publishing
* Add `uutests` to the main workspace

* grammar

* a bit more cleanup based on feedback

* revert true/false

* Update tests/benches/factor dependencies
2025-06-06 13:56:08 +02:00
Sylvestre Ledru
9e21259e2d
Merge pull request #8062 from drinkcat/sort-float
sort: Make use of ExtendedBigDecimal in -g sorting, then attempt to recover some performance
2025-06-06 12:01:04 +02:00
Sylvestre Ledru
154250ac24 refresh cargo.lock from fuzzing 2025-06-04 19:24:03 +02:00
Nicolas Boichat
8426c1480c sort: Make use of ExtendedBigDecimal in -g sorting
This provides better precision than f64, which we need.

Fixed #8031.
2025-06-03 19:54:21 +02:00
Nicolas Boichat
986bdf545d uucore: Remove custom_tz_fmt, cleanup dependencies
Nobody needs it anymore.
2025-05-29 14:00:25 +02:00
Nicolas Boichat
301e33cfe3 date: switch from chrono to jiff
Also adds cargo dependency.
2025-05-29 14:00:25 +02:00
Sylvestre Ledru
04e7de1546
Merge pull request #7976 from cakebaker/bump_onig
Bump `onig` from `6.4.0` to `6.5.1`
2025-05-25 21:32:41 +02:00
Sylvestre Ledru
7d2644f3a8 move from version 0.0.30 => 0.1.0 2025-05-24 22:28:54 +02:00
Daniel Hofstetter
2a885b8d60 Bump fluent & fluent-bundle
fluent from 0.16.1 to 0.17.0 and fluent-bundle from 0.15.3 to 0.16.0
2025-05-24 14:57:23 +02:00
Daniel Hofstetter
a0cf06ea8c Bump onig from 6.4.0 to 6.5.1 2025-05-24 13:35:55 +02:00
Sylvestre Ledru
5a7c50d64e uucore: add functions to manage translations 2025-05-23 23:37:59 +02:00
Daniel Hofstetter
fd4c315fa3 Bump nix to 0.30.1 and ctrlc to 3.4.7 2025-05-22 16:54:35 +02:00
Sylvestre Ledru
eff2cd997e
Create an uufuzz crate for common functions and use it (#7954)
* uufuzz: create a crate with the common functions

* uufuzz: move the fuzz-common functions

* uufuzz: polish the crate

* adjust the fuzzer to use uufuzz
2025-05-21 09:26:59 +02:00
Ben Wiederhake
0011b6e3f7 run cargo fmt on missed files
It seems these files were missed by CI. Command to run cargo fmt on
absolutely *everything* (and possibly too much)

find tests -name "*.rs" -print0 | xargs -0 cargo fmt --
2025-05-19 11:17:46 +02:00
Daniel Hofstetter
04164596d1 Bump tempfile from 3.19.1 to 3.20.0 2025-05-12 07:37:49 +02:00
Leo Emar-Kar
b14388ca41
ls: update chrono crate version and switch to new_lenient use (#7858)
* update chrono crate version and switch to new_lenient use

* bring back custom_tz_fmt and update test

* update chrono version in fuzz lock file

* replace boxing with parse_to_owned
2025-04-29 16:29:42 +02:00
Sylvestre Ledru
bf747acd30 update parse_datetime 2025-04-25 11:31:08 +02:00
Jeremy Smart
044b33d8cb
Merge pull request #7760 from Qelxiros/7670-tail-hex-formatting
tail hex parsing, remove fundu dependency
2025-04-23 18:34:00 +02:00
renovate[bot]
61d940765b
fix(deps): update rust crate rand to v0.9.1 2025-04-17 15:59:49 +00:00
renovate[bot]
ec11b6b21c
fix(deps): update rust crate libc to v0.2.172 2025-04-15 05:52:21 +00:00
Sylvestre Ledru
2103911d1a
Merge pull request #7717 from drinkcat/fuzz-minor-fixes
Fuzzing: minor fixes
2025-04-09 21:13:35 -04:00
Nicolas Boichat
2caeaf511e fuzz: Run cargo clippy
Unfortunately, cargo clippy fails when testing fuzz_seq_parse_number:

```
error[E0603]: module `number` is private
  --> fuzz_targets/fuzz_seq_parse_number.rs:9:13
   |
9  | use uu_seq::number::PreciseNumber;
   |             ^^^^^^ private module
   |
note: the module `number` is defined here
  --> /home/drinkcat/dev/coreutils/coreutils/src/uu/seq/src/seq.rs:24:1
   |
24 | mod number;
   | ^^^^^^^^^^
```

But we can still fix the rest...
2025-04-09 20:58:30 +02:00
Nicolas Boichat
75072b5a98 fuzz: Run cargo fmt 2025-04-09 08:55:32 +02:00
Daniel Hofstetter
a77e218a79
Merge pull request #7690 from nyurik/manual-inline
chore: manual inline formatting - tests
2025-04-08 15:27:14 +02:00
Yuri Astrakhan
3dc771924c chore: cleanup trailing commas before parens
Deleted commas in cases like `foo,)` -- mostly in macros
2025-04-08 00:33:58 -04:00
Yuri Astrakhan
982805d3cd chore: manual inline formatting
Minor manual cleanup - inlined many format args.  This makes the code a bit more readable, and helps spot a few inefficiencies and possible bugs.  Note that `&foo` in a `format!` parameter results in a 6% extra performance cost, and does not get inlined by the compiler (yet).
2025-04-08 00:23:21 -04:00