1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-25 14:22:54 +02:00
Commit Graph

1947 Commits

Author SHA1 Message Date
eeffcd50b7 doc: add step to run 'cargo package' 2023-11-26 15:25:23 -05:00
625743d7c8 grep-0.3.0 grep-0.3.0 2023-11-26 15:24:09 -05:00
3d0171040a grep-printer-0.2.0 grep-printer-0.2.0 2023-11-26 15:21:40 -05:00
93429d0f85 14.0.0 14.0.0 2023-11-26 14:19:31 -05:00
9c4b0baf10 deps: bump grep to 0.2.13 2023-11-26 14:18:53 -05:00
179487aaed grep-0.2.13 grep-0.2.13 2023-11-26 14:18:17 -05:00
b407d62b63 deps: bump grep-searcher to 0.1.12 2023-11-26 14:18:03 -05:00
9bd1e737bc grep-searcher-0.1.12 grep-searcher-0.1.12 2023-11-26 14:17:26 -05:00
c12231c621 deps: bump grep-pcre2 to 0.1.7 2023-11-26 14:17:11 -05:00
b0df573834 grep-pcre2-0.1.7 grep-pcre2-0.1.7 2023-11-26 14:16:46 -05:00
85b2ceecd1 deps: bump grep-regex to 0.1.12 2023-11-26 14:16:31 -05:00
fee7ac79f1 grep-regex-0.1.12 grep-regex-0.1.12 2023-11-26 14:15:44 -05:00
54d5540c10 deps: bump grep-matcher to 0.1.7 2023-11-26 14:15:34 -05:00
d0251c77fe grep-matcher-0.1.7 grep-matcher-0.1.7 2023-11-26 14:13:54 -05:00
6aa5993d4b deps: bump grep-cli to 0.1.10 2023-11-26 14:13:40 -05:00
6f78d211bf grep-cli-0.1.10 grep-cli-0.1.10 2023-11-26 14:13:03 -05:00
51aa339830 deps: bump ignore to 0.4.21 2023-11-26 14:12:55 -05:00
381c521d02 ignore-0.4.21 ignore-0.4.21 2023-11-26 14:12:16 -05:00
57495db10e deps: bump globset to 0.4.14 2023-11-26 14:11:43 -05:00
47e37175ca globset-0.4.14 globset-0.4.14 2023-11-26 14:11:05 -05:00
8697946718 release/doc: set date in man page 2023-11-26 14:10:07 -05:00
8058859701 changelog: add link for reporting perf improvements/regressions 2023-11-26 14:05:23 -05:00
e9ff90c8ff changelog: updates for the 14.0.0 release 2023-11-26 14:03:59 -05:00
bf9f74ea5b doc: progress 2023-11-26 13:32:39 -05:00
9b5091b895 deps: bump to memmap2 0.9.0 2023-11-26 13:32:39 -05:00
a4f165e3ab deps: bump everything 2023-11-26 13:32:39 -05:00
d1def67000 deps: bump pcre2 to 0.2.6 2023-11-26 13:32:20 -05:00
56af4d4a74 cli: add simple flag suggestions
We look for similar flag names via Jaccard index on ngrams. In my
experience this tends to work better than Levenshtein or other edit
distance based metrics. Principally because it allows for out-of-order
suggestions. For example, --case-smart will result in a suggestion for
--smart-case, even though the edit distance between them is pretty big.

This is something Clap did for us. I initially thought it wasn't
necessary to add this back in, but I realized it wouldn't be much work
and might actually be helpful to folks.
2023-11-26 09:55:44 -05:00
b0f6645408 ci: remove local deb build-and-publish script
I moved this to GitHub Actions. w00t.
2023-11-25 18:27:52 -05:00
3dbe371fe4 ci: add Debian release build
Previously, we were running 'cargo deb' locally. But the release process
is a little simpler now thanks to GitHub Actions and the 'gh' tool, so I
felt comfortable putting the 'deb' generation in CI.

Now the only real manual part of release asset creation is the M2
release, but that should hopefully be automated once GitHub makes Apple
silicon runners available for free.
2023-11-25 18:20:05 -05:00
30d06b3b4c changelog: note that --no-ignore --ignore-vcs works as expected
This fix fell out of the move off of Clap.

Closes #1376
2023-11-25 15:03:53 -05:00
6a055d922c doc: clarify errors for -z/--search-zip
Fixes #1622
2023-11-25 15:03:53 -05:00
e007523229 doc: note the precedence of -t/--type
Fixes #1635
2023-11-25 15:03:53 -05:00
88353c80da doc: be more explicit about ripgrep's behavior when printing to a tty
Fixes #1709
2023-11-25 15:03:53 -05:00
cd3bcce42d changelog: mention M2 binaries for releases
Fixes #1737
2023-11-25 15:03:53 -05:00
1ea3552f2d changelog: mention perf improvement for inner literals
Fixes #1746
2023-11-25 15:03:53 -05:00
9ed7565fcb cli: error when searching for NUL
Basically, unless the -a/--text flag is given, it is generally always an
error to search for an explicit NUL byte because the binary detection
will prevent it from matching.

Fixes #1838
2023-11-25 15:03:53 -05:00
7bb9f35d2d doc: clarify that --pre can accept any kind of path
Fixes #2046
2023-11-25 15:03:53 -05:00
b138d5740a log: add message about number of threads used
Closes #2122
2023-11-25 15:03:53 -05:00
3f0c8c2900 doc: improve -r/--replace docs
It looks like this was done a while ago, but it didn't get added to the
CHANGELOG or connected with the corresponding issue.

Fixes #2201
2023-11-25 15:03:53 -05:00
0e6e9417f1 log: add message when a binary file is skipped
The way we do this is a little hokey but I believe it is correct.

Fixes #2246
2023-11-25 15:03:53 -05:00
fded2a5fe1 doc: add cargo-binstall instructions
Closes #2298
2023-11-25 15:03:53 -05:00
e14eeb288f doc: mention that --stats is always implied by --json
Fixes #2337
2023-11-25 15:03:53 -05:00
1cbcefddc9 doc: add more warnings about --vimgrep
The --vimgrep flag has some severe footguns when using a pattern that
matches very frequently. We had already written some docs to warn about
that, but now we also include a suggestion to avoid exorbitant heap
usage.

Closes #2505
2023-11-25 15:03:53 -05:00
4fec9ffca8 doc: make the opening line a bit more descriptive
This mimics what was written in the man page.

Closes #2401
2023-11-25 15:03:53 -05:00
00225a035b doc: improve --sort=path
This clarifies that the paths are not sorted in a fully lexicographic
order, but that / is treated specially.

Fixes #2418
2023-11-25 15:03:53 -05:00
286de9564e cli: rejigger --version to include PCRE2 info
This adds info about whether PCRE2 is available or not to the output of
--version. Essentially, --version now subsumes --pcre2-version, although
we do retain the former because it (usefully) emits an exit code based
on whether PCRE2 is available or not.

Closes #2645
2023-11-25 15:03:53 -05:00
038524a580 printer: trim before applying max column windowing
Previously, we were applying the -M/--max-columns flag *before* triming
prefix ASCII whitespace. But this doesn't make a whole lot of sense. We
should be trimming first, but the result of trimming is ultimately what
we'll be printing and that's what -M/--max-columns should be applied to.

Fixes #2458
2023-11-25 15:03:53 -05:00
8f9557d183 changelog: mention shell completion generation feature
Closes #2425
2023-11-25 15:03:53 -05:00
58e7d2ea63 doc: add docs about .ignore/.rgignore in parent directories
Closes #2479
2023-11-25 15:03:53 -05:00