Commit Graph

1111 Commits

Author SHA1 Message Date
David Peter
b57ed11f65
Merge pull request #1137 from amesgen/batch-exit-code
Respect exit codes with `--exec-batch`
2022-11-01 20:42:28 +01:00
David Peter
831fe666fa Remove outdated TODO comment 2022-11-01 20:34:42 +01:00
David Peter
13a47c3a2c
Merge pull request #1067 from tmccombs/clap-derive
Clap derive
2022-11-01 20:34:08 +01:00
David Peter
5771e74b95 Add newlines between options 2022-11-01 20:18:17 +01:00
David Peter
55029e889e Minor: add missing full stop 2022-11-01 20:13:32 +01:00
David Peter
ebd48d406e Fix unit tests 2022-11-01 20:12:56 +01:00
David Peter
3f72ef4cdd Remove outdated TODO comment 2022-11-01 20:07:09 +01:00
David Peter
169d22fde2 Merge remote-tracking branch 'origin/master' into clap-derive 2022-11-01 20:00:16 +01:00
David Peter
c6f9595a02 Update CHANGELOG 2022-11-01 19:57:11 +01:00
Tavian Barnes
5278405263 walk: Use a bounded queue.
Fixes #918.
2022-11-01 19:48:39 +01:00
Tavian Barnes
5bb7a52704 walk: Switch back to crossbeam-channel
Fixes #933.  Fixes #1060.  Fixes #1113.
2022-11-01 19:48:39 +01:00
Tavian Barnes
93e5488420 walk: Simplify the code in scan() a bit 2022-11-01 15:36:48 +01:00
Thayne McCombs
36ee44a3f6 Make help output more like what it was before use clap_derive
In particular, we specifically use `long_help` instead of doc comments
because using  doc comments will always trim the "." off the end of the
first paragraph, and will include the short help as the first paragraph
of the full help.
2022-11-01 02:30:22 -06:00
Thayne McCombs
8500c3193d Merge remote-tracking branch 'upstream/master' into clap-derive 2022-11-01 01:12:41 -06:00
Tavian Barnes
cd8ec44abf Address review comments 2022-10-31 22:23:30 +01:00
Tavian Barnes
17d849df6c Compute colors in parallel 2022-10-31 22:23:30 +01:00
Tavian Barnes
b2c8888a50 dir_entry: Implement file_name() for broken symlinks 2022-10-31 22:23:30 +01:00
Tavian Barnes
f0c50befce Add a changelog entry 2022-10-31 22:23:30 +01:00
Tavian Barnes
7917c00887 dir_entry: Implement lscolors::Colorable 2022-10-31 22:23:30 +01:00
Vlad Kooklev
c9f4dec2ed chore: Update outdated LICENSE year 2022-10-31 21:19:34 +01:00
Frieder Bluemle
e9121ee515 Remove trailing spaces from README.md 2022-10-31 21:19:07 +01:00
Thayne McCombs
3782278f02 Improve help output 2022-10-20 00:34:52 -06:00
Thayne McCombs
a3622ba294 Remove TODO comment
In favor of tracking scoped threads in #1141
2022-10-19 23:43:45 -06:00
Thayne McCombs
aec125637b Fix format 2022-10-14 23:14:03 -06:00
amesgen
cb95f1dcd5
Respect exit codes with --exec-batch 2022-10-13 23:33:54 +02:00
David Peter
4257034209 Add release checklist for maintainers 2022-10-13 22:52:09 +02:00
Thayne McCombs
b6f0088b68 Change thread option to take u32 instead of usize
To simplify the option parsing.
2022-10-12 00:33:49 -06:00
Thayne McCombs
c2115884de Fix deprecations from clap 4.0 2022-10-11 22:27:57 -06:00
Thayne McCombs
c0b14705cd Update msrv to 1.60
Because that is what clap requires
2022-10-11 00:39:57 -06:00
Thayne McCombs
bf1a6f6680 Update clap depenency version 2022-10-11 00:35:21 -06:00
Thayne McCombs
10ecb64ff3 Fix typo in test 2022-10-10 23:58:33 -06:00
Thayne McCombs
aca64c09f8 Actually test if exec or exec-batch is used
By the time we check if we should strip the cwd, we've already moved the
command out of the options, so store if we got that out earlier.
2022-10-09 01:25:03 -06:00
Thayne McCombs
86c33492a7 Fix name of powershell in guess_shell 2022-10-09 01:05:27 -06:00
Thayne McCombs
c41d61eeda Merge remote-tracking branch 'upstream/master' into clap-derive 2022-10-09 01:00:48 -06:00
Thayne McCombs
5b9e302e9b Support powershell when guessing shell for completions 2022-10-09 00:02:28 -06:00
Thayne McCombs
f4c34b81c7 Upgrade to clap 4.0 2022-10-08 23:51:45 -06:00
Thayne McCombs
a50e417c67 Add action clap attribute to fixed_strings 2022-10-08 00:42:11 -06:00
Thayne McCombs
ff7336b202 clap derive suggestions from epage 2022-10-08 00:42:11 -06:00
Thayne McCombs
e6f4805bae Fix clippy warnings 2022-10-08 00:42:11 -06:00
Thayne McCombs
066ce41299 Fix case of color options to ls 2022-10-08 00:42:11 -06:00
Thayne McCombs
b7f5f4ac7d Improve help output after switch to clap-derive
Make it more like it used to be.
2022-10-08 00:42:11 -06:00
Thayne McCombs
4e7b403c1f Use clap-derive for option parsing
This makes the definition of arguments to fd a little more ergonomic,
and makes it easier to insure the types for the arguments are consitent.
2022-10-08 00:41:33 -06:00
Tavian Barnes
0984ed91ea Update CHANGELOG for -x/-X leading ./ change 2022-10-03 21:35:39 +02:00
Tavian Barnes
4ffc34956f Make --strip-cwd-prefix apply to -x/-X
Fixes #898.
2022-10-03 21:35:39 +02:00
Tavian Barnes
5039d2db99
Merge pull request #1123 from sharkdp/dependabot/cargo/once_cell-1.15.0
Bump once_cell from 1.14.0 to 1.15.0
2022-10-02 10:03:00 -04:00
Thayne McCombs
ee2396b57a
Merge pull request #1122 from sharkdp/dependabot/cargo/libc-0.2.134
Bump libc from 0.2.132 to 0.2.134
2022-10-01 14:04:22 -06:00
Thayne McCombs
5376676d07
Merge pull request #1125 from sharkdp/dependabot/cargo/anyhow-1.0.65
Bump anyhow from 1.0.64 to 1.0.65
2022-10-01 14:04:08 -06:00
dependabot[bot]
3f33b15e52
Bump anyhow from 1.0.64 to 1.0.65
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.64...1.0.65)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 17:02:33 +00:00
dependabot[bot]
b1ee6e3046
Bump once_cell from 1.14.0 to 1.15.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 17:02:24 +00:00
dependabot[bot]
46c38a827e
Bump libc from 0.2.132 to 0.2.134
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.132 to 0.2.134.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.132...0.2.134)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 17:02:17 +00:00