summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-11-26grep-0.2.13grep-0.2.13Andrew Gallant
2023-11-26deps: bump grep-searcher to 0.1.12Andrew Gallant
2023-11-26grep-searcher-0.1.12grep-searcher-0.1.12Andrew Gallant
2023-11-26deps: bump grep-pcre2 to 0.1.7Andrew Gallant
2023-11-26grep-pcre2-0.1.7grep-pcre2-0.1.7Andrew Gallant
2023-11-26deps: bump grep-regex to 0.1.12Andrew Gallant
2023-11-26grep-regex-0.1.12grep-regex-0.1.12Andrew Gallant
2023-11-26deps: bump grep-matcher to 0.1.7Andrew Gallant
2023-11-26grep-matcher-0.1.7grep-matcher-0.1.7Andrew Gallant
2023-11-26deps: bump grep-cli to 0.1.10Andrew Gallant
2023-11-26grep-cli-0.1.10grep-cli-0.1.10Andrew Gallant
2023-11-26deps: bump ignore to 0.4.21Andrew Gallant
2023-11-26ignore-0.4.21ignore-0.4.21Andrew Gallant
2023-11-26deps: bump globset to 0.4.14Andrew Gallant
2023-11-26globset-0.4.14globset-0.4.14Andrew Gallant
2023-11-26release/doc: set date in man pageAndrew Gallant
2023-11-26changelog: add link for reporting perf improvements/regressionsAndrew Gallant
2023-11-26changelog: updates for the 14.0.0 releaseAndrew Gallant
2023-11-26doc: progressAndrew Gallant
2023-11-26deps: bump to memmap2 0.9.0Andrew Gallant
2023-11-26deps: bump everythingAndrew Gallant
2023-11-26deps: bump pcre2 to 0.2.6Andrew Gallant
2023-11-26cli: add simple flag suggestionsAndrew Gallant
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-25ci: remove local deb build-and-publish scriptAndrew Gallant
I moved this to GitHub Actions. w00t.
2023-11-25ci: add Debian release buildAndrew Gallant
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-25changelog: note that --no-ignore --ignore-vcs works as expectedAndrew Gallant
This fix fell out of the move off of Clap. Closes #1376
2023-11-25doc: clarify errors for -z/--search-zipAndrew Gallant
Fixes #1622
2023-11-25doc: note the precedence of -t/--typeAndrew Gallant
Fixes #1635
2023-11-25doc: be more explicit about ripgrep's behavior when printing to a ttyAndrew Gallant
Fixes #1709
2023-11-25changelog: mention M2 binaries for releasesAndrew Gallant
Fixes #1737
2023-11-25changelog: mention perf improvement for inner literalsAndrew Gallant
Fixes #1746
2023-11-25cli: error when searching for NULAndrew Gallant
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-25doc: clarify that --pre can accept any kind of pathAndrew Gallant
Fixes #2046
2023-11-25log: add message about number of threads usedAndrew Gallant
Closes #2122
2023-11-25doc: improve -r/--replace docsAndrew Gallant
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-25log: add message when a binary file is skippedAndrew Gallant
The way we do this is a little hokey but I believe it is correct. Fixes #2246
2023-11-25doc: add cargo-binstall instructionsAndrew Gallant
Closes #2298
2023-11-25doc: mention that --stats is always implied by --jsonAndrew Gallant
Fixes #2337
2023-11-25doc: add more warnings about --vimgrepAndrew Gallant
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-25doc: make the opening line a bit more descriptiveAndrew Gallant
This mimics what was written in the man page. Closes #2401
2023-11-25doc: improve --sort=pathAndrew Gallant
This clarifies that the paths are not sorted in a fully lexicographic order, but that / is treated specially. Fixes #2418
2023-11-25cli: rejigger --version to include PCRE2 infoAndrew Gallant
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-25printer: trim before applying max column windowingAndrew Gallant
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-25changelog: mention shell completion generation featureAndrew Gallant
Closes #2425
2023-11-25doc: add docs about .ignore/.rgignore in parent directoriesAndrew Gallant
Closes #2479
2023-11-25changelog: mention --field-match-separator bug fixAndrew Gallant
This was probably fixed in the migration off of Clap. Closes #2519
2023-11-25logging: show heuristic information and decisionAndrew Gallant
When one does not provide any paths to ripgrep to search, it has to guess between searching stdin and the current working directory. It is possible for this guess to be wrong, and having the heuristics and the choice in the debug logs is useful for diagnosing this. The failure mode here is still pretty bad because you need to know to reach for the `--debug` flag in the first place. Namely, the typical failure mode is that ripgrep tries to search stdin while the intent is for it to search the current working directory, and thus likely blocking forever waiting for data on stdin. (Arguably this is a problem with the process architecture that invokes ripgrep. It shouldn't give ripgrep an open stdin handle that isn't closed.) Closes #2524
2023-11-21faq: update donation section to mention sponsorshipsAndrew Gallant
2023-11-21faq: rewrite the section on shell completionsAndrew Gallant
2023-11-21ignore: Avoid contention on num_pendingTavian Barnes
Previously, every worker would increment the shared num_pending count on every new work item, and decrement it after finishing them, leading to lots of contention. Now, we only track the number of workers actively running, so there is no contention except when workers go to sleep or wake up. Closes #2642