summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-04-01ci: disable man page checkAndrew Gallant
It appears to be intermittently failing. Specifically, a2x seems to be failing occasionally with no apparent reason why. The error message it gives is inscrutable. Sigh.
2020-04-01regex: fix another inner literal bugAndrew Gallant
It looks like `is_simple` wasn't quite correct. I can't wait until this code is rewritten. It is still not quite clearly correct to me. Fixes #1537
2020-03-30doc: fix typo in help descriptionMarius Schulz
PR #1536
2020-03-30ci: upgrade to actions/checkout@v2Andrew Gallant
In particular, this appears to fix an extremely annoying bug that was causing PR builds to fail if they were re-run. For more details: https://github.com/actions/checkout/issues/23#issuecomment-572688577
2020-03-29pkg: update brew tap to 12.0.1Andrew Gallant
2020-03-2912.0.112.0.1Andrew Gallant
2020-03-29changelog: prepare for 12.0.1 release, reduxAndrew Gallant
2020-03-29ignore-0.4.14ignore-0.4.14Andrew Gallant
2020-03-29changelog: prepare for 12.0.1 releaseAndrew Gallant
2020-03-29deps: minor dependency updatesAndrew Gallant
2020-03-29ignore/types: add ebuild typeZoltan Puskas
Add support for Gentoo's portage package manager spec files: https://wiki.gentoo.org/wiki/Portage
2020-03-28ci: attempt to fix CIAndrew Gallant
It looks like a2x isn't working, so take a shot at fixing it.
2020-03-22ignore-0.4.13ignore-0.4.13Andrew Gallant
2020-03-22grep-regex-0.1.7grep-regex-0.1.7Andrew Gallant
2020-03-22regex: special case literal extractionAndrew Gallant
In a prior commit, we fixed a performance problem with the -w flag by doing a little extra work to extract literals. It turns out that using literals in this case when the -w flag is NOT used results in a performance regression. The reasoning is that we end up using a "fast" regex as a prefilter when the regex engine itself uses its own equivalent prefilter, so ripgrep ends up redoing a fair amount of work. Instead, we only do this extra work when we know the -w flag is enabled.
2020-03-22tests: fix typo in test namePaul A. Patience
PR #1528
2020-03-17crates.io: remove badgesAndrew Gallant
... and don't replace them with anything because crates.io does not support GitHub Actions yet. But it's almost there: https://github.com/rust-lang/crates.io/pull/1838 Thanks @atouchet for noticing this.
2020-03-16ignore: fix failing testAndrew Gallant
This fixes fallout from fixing #1520.
2020-03-16ignore: squash noisy error messageAndrew Gallant
We should not assume that the commondir file actually exists. If it doesn't, then just move on. This otherwise emits an error message when searching normal submodules, which is not OK. This regression was introduced in #1446. Fixes #1520
2020-03-15ci: fix deb build scriptAndrew Gallant
2020-03-15pkg: update brew tap to 12.0.0Andrew Gallant
2020-03-15ci: tweak release nameAndrew Gallant
This is consistent with prior releases.
2020-03-15release: 12.0.0, take 212.0.0Andrew Gallant
2020-03-15ripgrep: release 12.0.0ignore-0.4.12grep-searcher-0.1.7grep-regex-0.1.6grep-printer-0.1.4grep-pcre2-0.1.4grep-matcher-0.1.4grep-cli-0.1.4grep-0.2.5globset-0.4.5Andrew Gallant
2020-03-15changelog: prepare for 12.0.0 releaseAndrew Gallant
2020-03-15ci: make script names consistentAndrew Gallant
2020-03-15ci: remove Travis and appveyor specific stuffAndrew Gallant
2020-03-15ci: rebuild release infrastructure on GitHub ActionsAndrew Gallant
2020-03-15readme: update file sizeAndrew Gallant
2020-03-15readme: add 'Unicode' label to ugrepAndrew Gallant
2020-03-15readme: update benchmarksAndrew Gallant
This also updates the corpora used, so previous times (and counts) are not comparable. We also remove some tools, likt pt, sift and ucg, since they appear to be no longer maintained. ag isn't really maintained either, but it still has significant mind share, so we retain a benchmark for it. We also upgrade ack to version 3, and remove the clarification on how `-w` is implemented. We also add `git grep -P` (uses PCRE2) which appears to be much faster than `git grep -E`. Finally, we add ugrep which is a new up and comer in this space. Fixes #1474
2020-03-15regex: avoid using literal optimizations when whitespace is detectedAndrew Gallant
If a literal is entirely whitespace, then it's quite likely that it is very common. So when that case occurs, just don't do (inner) literal optimizations at all. The regex engine may still make sub-optimal decisions here, but that's a problem for another day. Fixes #1087
2020-03-15style: fix rust-analyzer lint warningsAndrew Gallant
2020-03-15cli: add --no-ignore-files flagAndrew Gallant
The purpose of this flag is to force ripgrep to ignore all --ignore-file flags (whether they come before or after --no-ignore-files). This flag can be overridden with --ignore-files. Fixes #1466
2020-03-15doc: clarify globing behaviorAndrew Gallant
Fixes #1442, Fixes #1478
2020-03-15doc: remove CPU features from man pagesAndrew Gallant
It doesn't really belong in the man page since it's an artifact of a build/runtime configuration. Moreover, it inhibits reproducible builds. Fixes #1441
2020-03-15doc: note ripgrep's stdin behaviorAndrew Gallant
Fixes #1439
2020-03-15cli: add engine flagpierrenn
This permits switching between the different regex engine modes that ripgrep supports. The purpose of this flag is to make it easier to extend ripgrep with additional regex engines. Closes #1488, Closes #1502
2020-03-15args: refactor to permit adding other enginespierrenn
This is in preparation for adding a new --engine flag which is intended to eventually supplant --auto-hybrid-regex. While there are no immediate plans to add more regex engines to ripgrep, this is intended to make it easier to maintain a patch to ripgrep with an additional regex engine. See #1488 for more details.
2020-03-15style: fix rust-analyzer lints in coreAndrew Gallant
2020-03-15deps: update everythingAndrew Gallant
This adds one new dependency, maybe-uninit, which is brought in by crossbeam-channel[1]. This is to apparently fix some unsound code without bumping the MSRV. Since ripgrep uses the latest stable release of Rust, the maybe-uninit crate should compile down to nothing and just re-export std's `MaybeUninit` type. [1] - https://github.com/crossbeam-rs/crossbeam/pull/458
2020-02-28crates: update URLs in Cargo.tomlchip
This corrects an oversight when the repo was re-organized to have its crates moved into a 'crates' sub-directory. PR #1505
2020-02-28ignore/types: add coq typeWolf Honore
PR #1504
2020-02-27ci: fix ci by removing fetch-depth 1pierreN
It's not clear why removing this makes things work. I've submitted PRs that passed CI with fetch-depth=1. Maybe it only fails when PRs are submitted from external contributors? Either way, for now, we remove this and absorb the extra cost in order to get PRs passing CI again. PR #1501
2020-02-22doc: be more vague in the FAQAndrew Gallant
The existing vagueness was not enough to prevent people from lawyering me over it.
2020-02-21globset: Implement serde::{Serialize, Deserialize} for GlobLucien Greathouse
PR #1492
2020-02-20readme: update CI badgeAndrew Gallant
2020-02-20ignore: another simplificationAndrew Gallant
Again, thanks to @zsugabubus!
2020-02-20ignore: simplify parallel worker initializationAndrew Gallant
We can just ask the channel whether any work has been loaded. Normally querying a channel for its length is a strong predictor of bugs, but in this case, we do it before we ever attempt a `recv`, so it should work. Kudos to @zsugabubus for suggesting this!
2020-02-20ci: switch build to GitHub ActionsAndrew Gallant