1182 Commits
Author SHA1 Message Date
dependabot[bot] 2b15f5d9b3 build(deps): bump CodSpeedHQ/action from 5.4.0 to 5.4.2
Bumps [CodSpeedHQ/action](https://github.com/codspeedhq/action) from 5.4.0 to 5.4.2.
- [Release notes](https://github.com/codspeedhq/action/releases)
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codspeedhq/action/compare/v5.4.0...v5.4.2)

---
updated-dependencies:
- dependency-name: CodSpeedHQ/action
  dependency-version: 5.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-12 13:36:13 +02:00
xtqqczze 14e915e05a clippy: fix let_unit_value lint
https://rust-lang.github.io/rust-clippy/master/#let_unit_value
2026-10-10 16:18:43 +02:00
xtqqczze 4752e704f5 fix: dead_code lint 2026-10-10 16:18:43 +02:00
xtqqczze 36715a4cf7 clippy: fix single_char_pattern lint
https://rust-lang.github.io/rust-clippy/master/#single_char_pattern
2026-10-10 16:18:43 +02:00
xtqqczze 342c2a00d2 clippy: fix use_self lint
https://rust-lang.github.io/rust-clippy/master/#use_self
2026-10-10 16:18:43 +02:00
xtqqczze 63b2e3df6f clippy: fix collapsible_else_if lint
https://rust-lang.github.io/rust-clippy/master/#collapsible_else_if
2026-10-10 16:18:43 +02:00
xtqqczze 91c659cc2f ci: update workflows to run on multiple os and rust-version 2026-10-10 16:18:43 +02:00
xtqqczze de8c4b9e8e fix: add rust-version to Cargo.toml 2026-10-10 16:18:43 +02:00
Sylvestre Ledru e077767eff docs: document the expression diagnostics 2026-10-10 16:07:55 +02:00
Sylvestre Ledru 7c53fd09b5 find: render expression errors under UUTILS_DIAG
Underline the offending argument through `uucore::diagnostics` when
stderr is a terminal or `UUTILS_DIAG=always`. The plain line still
leads, and captured output stays the single GNU line.

The report heading comes from uucore's `util_name()`, which keeps the
`.exe` on Windows; the plain line keeps `program_name()` like every
other message.
2026-10-10 16:07:55 +02:00
Sylvestre Ledru fb05d8e482 find: suggest a correction for a mistyped predicate
The suggestion travels as help text, so the message stays GNU's.

The parser now matches on a `Predicate` looked up in a single name
table, which also supplies the suggestions: a table entry the parser
does not handle fails the exhaustive match, and a variant missing from
the table is flagged as never constructed.
2026-10-10 16:07:55 +02:00
Sylvestre Ledru c096c0c80a find: record which argument each expression error refers to
Add a `ParseError` carrying the argument index and a label. Its Display
is the bare message, so output is unchanged.
2026-10-10 16:07:55 +02:00
Sylvestre Ledru 0d8a731cc0 find: carry the '(' index instead of a bool through the parser
Lets an unclosed '(' be pointed at later. No behaviour change.
2026-10-10 16:07:55 +02:00
Sylvestre Ledru 95ebdf6334 find: match GNU's wording for expression errors
Quote the predicate or operator as GNU 4.10.0 does, report an operator
cut off by ')' and an unmatched ')' with GNU's messages, and name a
binary operator as spelled.
2026-10-10 16:07:55 +02:00
oech3 eef2c97182 Cargo.toml: Sync profile with coreutils 2026-10-07 08:53:30 +02:00
youdie006 a3c1335b2f find: cover the sticky bit in the -ls test 2026-10-06 11:19:18 +02:00
youdie006 4d3f0b182e find: show the file type and special bits in -ls
The -ls formatter only knew directories and regular files and ignored
setuid, setgid and sticky bits. Use uucore::fs::display_permissions, as
-printf %M already does.
2026-10-06 11:19:18 +02:00
dependabot[bot] b45852804c build(deps): bump CodSpeedHQ/action from 5.2.1 to 5.4.0
Bumps [CodSpeedHQ/action](https://github.com/codspeedhq/action) from 5.2.1 to 5.4.0.
- [Release notes](https://github.com/codspeedhq/action/releases)
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codspeedhq/action/compare/v5.2.1...v5.4.0)

---
updated-dependencies:
- dependency-name: CodSpeedHQ/action
  dependency-version: 5.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-05 07:03:19 +02:00
dependabot[bot] 8f17c13dea build(deps): bump dawidd6/action-download-artifact from 26 to 27
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 26 to 27.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v26...v27)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-version: '27'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-02 07:16:43 +02:00
Daniel Hofstetter 03b86cb400 clippy: fix warnings from lint
needless_borrows_for_generic_args
2026-10-01 23:42:40 -04:00
Daniel Hofstetter ac716da1bc clippy: fix warning from assert_is_empty lint 2026-10-01 23:42:40 -04:00
dependabot[bot] 331a5c279d build(deps): bump dawidd6/action-download-artifact from 25 to 26
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 25 to 26.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v25...v26)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-version: '26'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-01 07:13:21 +02:00
Sichen f0b2ee9302 find: print a trailing backslash in -printf 2026-09-28 06:54:51 -04:00
dependabot[bot] 371124e4c3 build(deps): bump thiserror from 2.0.20 to 2.0.21
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.20 to 2.0.21.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.20...2.0.21)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-version: 2.0.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-28 07:10:38 +02:00
dependabot[bot] f38a7a61d0 build(deps): bump dawidd6/action-download-artifact from 24 to 25
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 24 to 25.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v24...v25)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-version: '25'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-28 07:10:11 +02:00