Commit graph

1426 commits

Author SHA1 Message Date
dependabot[bot]
547d08c1ef
Bump libc from 0.2.136 to 0.2.137
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.136 to 0.2.137.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.136...0.2.137)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 04:57:40 +00:00
Thayne McCombs
bbd66b3240
Merge pull request #1199 from sharkdp/dependabot/cargo/regex-1.7.0
Bump regex from 1.6.0 to 1.7.0
2022-12-01 21:53:19 -07:00
dependabot[bot]
2ddc2f6c18
Bump regex from 1.6.0 to 1.7.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.6.0...1.7.0)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 17:02:43 +00:00
dependabot[bot]
58a9dde73f
Bump clap_complete from 4.0.5 to 4.0.6
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.0.5...clap_complete-v4.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 17:01:56 +00:00
Thayne McCombs
d441516c9d Use nu-ansi-term instead of ansi-term
Because ansi-term is no longer maintained.

Relates-To: #1188
2022-12-01 00:07:30 -07:00
Thayne McCombs
d991beb942
Merge pull request #1189 from tmccombs/tempfile
Use tempfile instead of tempdir
2022-11-30 23:43:38 -07:00
Thayne McCombs
650a511fa4 Use tempfile instead of tempdir
Because tempdir is no longer maintained, because it has been combined
with the tempfile crate.

Relates-To: #1188
2022-11-30 02:26:16 -07:00
Thayne McCombs
2aa966cb3c
Merge pull request #1183 from Ptipiak/integration-test-files-permission
Adding a simple test for executable files
2022-11-28 22:14:08 -07:00
Ptipiak
cd5fad3cf3 Adding a simple test for executable files 2022-11-26 10:09:40 +01:00
David Peter
c9d3968475
Merge pull request #1139 from Uthar/master
add support for matching multiple patterns
2022-11-21 21:19:08 +01:00
David Peter
36e60223eb Use allow_hyphen_values = true for --and <pattern> 2022-11-21 21:08:41 +01:00
David Peter
781bd4bcf2 Add CHANGELOG entry 2022-11-21 21:08:39 +01:00
David Peter
0d9926de40 Move --and option up to other patter-related options 2022-11-21 21:06:48 +01:00
David Peter
e147ba901b Minor fixes in help text 2022-11-21 21:06:48 +01:00
Kasper Gałkowski
7e26925933 Added the --and flag for matching multiple patterns 2022-11-21 21:06:48 +01:00
David Peter
8dda499830
Merge pull request #1176 from tmccombs/changed-after
Add --changed-after alias.
2022-11-21 08:36:43 +01:00
Thayne McCombs
317a0c3cd3 Add entry for changed-after alias to CHANGELOG 2022-11-20 23:23:32 -07:00
Thayne McCombs
67cf524287 Add --changed-after alias.
And make some small tweaks to the help text and man page.

Closes: #982
2022-11-20 23:21:53 -07:00
David Peter
db2590dca5
Merge pull request #1178 from tmccombs/windows-completion-fix
Use file_stem instead of file_name for command for completions
2022-11-18 08:11:04 +01:00
Thayne McCombs
64e642403e Use file_stem instead of file_name for command for completions
Fixes: #1177
2022-11-17 22:22:02 -07:00
David Peter
38cdeb0413
Merge pull request #1169 from Ptipiak/mention-executable-detection
Using faccess lib to detect executable files
2022-11-15 14:15:35 +01:00
David Peter
5c87ff524e Fix CHANGELOG 2022-11-15 14:15:19 +01:00
Ptipiak
88bebb8aac Using faccess lib to detect executable files
* The detection of executable files was not exactly the same as
the original find
2022-11-15 10:31:44 +01:00
Thayne McCombs
d89b5755d9
Merge pull request #1175 from miles170/ci-macos-12
CI: replace macos-latest with macos-12
2022-11-14 21:12:12 -07:00
Miles Liu
a3489674bf
CI: replace macos-latest with macos-12 2022-11-14 16:15:35 +08:00
Thayne McCombs
f6e74407e8
Merge pull request #1174 from sharkdp/v8.5.3-bump
Updates for fd 8.5.3
2022-11-13 23:54:36 -07:00
Thayne McCombs
41d775bedd Updates for fd 8.5.3 2022-11-13 23:23:04 -07:00
David Peter
45cb15d60f
Merge pull request #1158 from miles170/ci-update-actions
CI: update actions to run on Node 16
2022-11-14 07:12:19 +01:00
Thayne McCombs
ce4e8675ed
Merge pull request #1173 from zappolowski/fix-completion-program-name
Use just the file name of the program name for generating completions
2022-11-13 22:11:10 -07:00
Bjoern Hiller
2fcfe7a5b7
Use just the file name of the program name
If passed a full path to the executable (like done in the Makefile) that
value is used in the generated completions. At least for fish this just
doesn't work.

This fixes #1172
2022-11-14 05:57:50 +01:00
Miles Liu
fdab5da795
CI: using the bash shell to setup cargo cmd 2022-11-14 09:11:09 +08:00
Thayne McCombs
85e3adaf18
Merge pull request #1170 from tmccombs/clap-improvements-2
Clap improvements 2
2022-11-12 09:09:48 -07:00
Thayne McCombs
38d406876d Fix a couple small clippy warnings
- suppress warning about unused function on windows
- remove extraneous & in test
2022-11-11 02:12:58 -07:00
Thayne McCombs
84bf65e023 Use unit type for negating optins with clap_derive
As now supported by https://github.com/clap-rs/clap/pull/4371  and https://github.com/clap-rs/clap/pull/4459
2022-11-11 02:09:41 -07:00
Thayne McCombs
2c3e40c9d9 Use new Shell::from_env method in clap_complete
Instead of having an fd specific implementation.
2022-11-11 02:09:41 -07:00
Thayne McCombs
9e88f91c22
Merge pull request #1168 from tmccombs/clippy-fixes-2
Fix some warnings from clippy
2022-11-08 11:56:12 -07:00
Thayne McCombs
0773b3067e Fix some warnings from clippy
I'm guessing these are new warnings from the Rust 1.65 release
2022-11-08 01:09:06 -07:00
Thayne McCombs
bba7e0acd8
Merge pull request #1167 from hadfl/anyhow
anyhow is not only used for the completions feature
2022-11-07 10:48:22 -07:00
Dominik Hassler
6ebc366146 anyhow is not only used for the completions feature 2022-11-07 17:11:00 +00:00
Miles Liu
b389f41cb2
CI: add use of Swatinem/rust-cache 2022-11-04 15:18:34 +08:00
David Peter
56c405d8e6 Updates for fd 8.5.2 2022-11-03 09:13:15 +01:00
David Peter
99d1db8cb3
Merge pull request #1164 from tmccombs/owner-without-panic
Fix panic when using --owner
2022-11-03 09:08:09 +01:00
David Peter
fbef976b92
Merge pull request #1159 from tmccombs/silence-large-variant
Silence warning about large enum variant
2022-11-03 08:54:52 +01:00
Thayne McCombs
55aae3a8c0 Silence warning about large enum variant
Because boxing the large variant is probably worse.
2022-11-03 00:56:56 -06:00
Thayne McCombs
b04cae2ca0 Only run owner root test on linux
Because macos doesn't have a "root" user
2022-11-02 23:55:31 -06:00
Thayne McCombs
c159ea2042 Fix panic when using --owner
Unfortunately, clap_derive can't combine a value_parser of Option<T>
with an optional argument to get a merged Option<T> so we need to do the
check for the nop outside of the value parser.

Also adds some tests for --owner

Fixes: #1163
2022-11-02 23:26:02 -06:00
David Peter
567ce2640f Update CHANGELOG 2022-11-02 13:48:18 +01:00
David Peter
527fe9e262 Updates for fd 8.5.1 2022-11-02 13:46:20 +01:00
David Peter
0a7b51ad42
Merge pull request #1162 from sharkdp/fix-threads-option
Fix --threads/-j option value parsing
2022-11-02 13:45:45 +01:00
David Peter
f15be89bff Fix --threads/-j option value parsing 2022-11-02 13:32:22 +01:00