summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-11-2714.0.214.0.2Andrew Gallant
2023-11-27deps: bump grep to 0.3.1Andrew Gallant
2023-11-27grep-0.3.1grep-0.3.1Andrew Gallant
2023-11-27deps: bump grep-printer to 0.2.1Andrew Gallant
2023-11-27grep-printer-0.2.1grep-printer-0.2.1Andrew Gallant
2023-11-27deps: bump grep-searcher to 0.1.13Andrew Gallant
2023-11-27grep-searcher-0.1.13grep-searcher-0.1.13Andrew Gallant
2023-11-27cargo: add release-lto profileAndrew Gallant
The idea is to build ripgrep with as much optimization as possible. This makes compilation times absolutely obscene. They jump from <10 seconds to 30+ seconds on my i9-12900K. I don't even want to know how long CI would take with these. I tried some ad hoc benchmarks and could not notice any meaningful improvement with the LTO binary versus the normal release profile. Because of that, I still don't think it's worth bloating the release cycle times. Ref #1225
2023-11-27searcher: work around NUL line terminator bugAndrew Gallant
As the FIXME comment says, ripgrep is not yet using the new line terminator option in regex-automata exposed for exactly this purpose. Because of that, line anchors like `(?m:^)` and `(?m:$)` will only match `\n` as a line terminator. This means that when --null-data is used in combination with --line-regexp, the anchors inserted by --line-regexp will not match correctly. This is only a big deal in the "fast" path, which requires the regex engine to deal with line terminators itself correctly. The slow path strips line terminators regardless of what they are, and so the line anchors can match (begin/end of haystack). Fixes #2658
2023-11-27release: tweak how sha256sum is invokedAndrew Gallant
The output would ideally just have the basename of the file and not a meaningless relative path. Fixes #2654
2023-11-27complete/fish: Fix syntax for negated optionsJan Verbeek
And also, negated options don't take arguments. Specifically, the fish completion generator currently forgets to add `-l` to negation options, leading to a list of these errors: complete: too many arguments ~/.config/fish/completions/rg.fish (line 146): complete -c rg -n '__fish_use_subcommand' no-sort-files -d '(DEPRECATED) Sort results by file path.' ^ from sourcing file ~/.config/fish/completions/rg.fish (Type 'help complete' for related documentation) To reproduce, run `fish -c 'rg --generate=complete-fish | source'`. It also potentially suggests a list of choices for negation options, even though those never take arguments. That case doesn't occur with any of the current options but it's an easy fix. Fixes #2659, Closes #2655
2023-11-27doc: fix typo that was preventing interpolationJon Jensen
Closes #2662
2023-11-26changelog: fix wordingAndrew Gallant
Ref: https://news.ycombinator.com/item?id=38425790
2023-11-26pkg/brew: update tapAndrew Gallant
2023-11-2614.0.114.0.1Andrew Gallant
2023-11-26cargo: include pkg/windows in crate packageAndrew Gallant
Fixes #2653
2023-11-26pkg/brew: update tapAndrew Gallant
2023-11-26doc: add step to run 'cargo package'Andrew Gallant
2023-11-26grep-0.3.0grep-0.3.0Andrew Gallant
2023-11-26grep-printer-0.2.0grep-printer-0.2.0Andrew Gallant
2023-11-2614.0.014.0.0Andrew Gallant
2023-11-26deps: bump grep to 0.2.13Andrew Gallant
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