Commit graph

128 commits

Author SHA1 Message Date
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
Nicolas Boichat
51e90ae544 fuzz/Cargo.lock: Update
For some reason this lockfile has not been updated since the
edition 2024/1.85.0 update.
2025-04-05 09:34:17 +02:00
Nicolas Boichat
6243dd5494 uucore: Move parser to a feature
This will eventually be needed as we'll want parse_time to
call into num_parser, which was previously contained in format
feature.
2025-04-04 15:25:06 +02:00
Sylvestre Ledru
b4ac10769d add some missing unsafe 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
e0fbced116 rust edition 2021 => 2024 2025-03-24 21:00:35 +01:00
renovate[bot]
fd488ecff8
fix(deps): update rust crate tempfile to v3.19.1 2025-03-19 22:22:41 +00:00
renovate[bot]
bf204f42eb
fix(deps): update rust crate tempfile to v3.19.0 2025-03-14 01:34:11 +00:00
Daniel Hofstetter
11f2249f15 Bump libc from 0.2.170 to 0.2.171 2025-03-11 17:04:47 +01:00
renovate[bot]
9667ebbcd6
fix(deps): update rust crate tempfile to v3.18.0 2025-03-07 16:31:43 +00:00
renovate[bot]
e21f7cd784
fix(deps): update rust crate console to v0.15.11 2025-03-02 01:36:38 +00:00
renovate[bot]
65af29c272
fix(deps): update rust crate libc to v0.2.170 2025-02-23 06:13:27 +00:00
Daniel Hofstetter
41f1c6b2da fuzz: use new "<"/">" operators in fuzz_test 2025-02-21 14:58:54 +01:00
Daniel Hofstetter
34fb0dd197 fuzz: bump parse_datetime from 0.7 to 0.8 2025-02-21 14:58:11 +01:00
renovate[bot]
e5a2f7f942
fix(deps): update rust crate tempfile to v3.17.1 2025-02-17 16:36:16 +00:00
renovate[bot]
6ae81ed3c4
fix(deps): update rust crate tempfile to v3.17.0 2025-02-16 21:47:05 +00:00
Dorian Peron
6afa515859 fuzz(cksum): fix fuzzer to use GNU's binary instead of the systems', remove false positives, improve logging 2025-02-12 19:46:18 +01:00
Dorian Peron
5d952afa3d fuzz: improve readability of fuzzer output, add colors 2025-02-09 00:33:21 +01:00