Age | Commit message (Collapse) | Author |
|
|
|
This adds some lesser known extensions.
Notably, it adds php7 and php8, but not php6. Apparently,
php6 was never a thing: https://wiki.php.net/rfc/php6
PR #2263
|
|
|
|
|
|
This was a result of leaving a stray 'dbg!'.
|
|
|
|
|
|
|
|
To 0.1.10 and 0.1.9, respectively.
|
|
|
|
|
|
|
|
It turns out that if there are text anchors (that is, \A or \z, or ^/$
when multi-line is disabled), then the "fast" line searching path isn't
quite correct. Since searching without multi-line mode is exceptionally
rare, we just look for the presence of text anchors and specifically
disable the line terminator option in 'grep-regex'. This in turn
inhibits the "fast" line searching path.
Fixes #2260
|
|
The actions-rs/toolchain project appears dead. dtolnay's also seems more
sustainable given its simplicity, but it does enough to suit our needs.
|
|
See: https://devicetree-specification.readthedocs.io/en/v0.3/source-language.html
PR #2255
|
|
PR #2248
|
|
PR #2245
|
|
When a glob pattern ended with a \/, and since we permit backslash
escapes, the glob parser gave a "dangling escape" error. Which is weird,
because the \ is clearly not dangling.
The issue is that the layer above the glob parser, the gitignore parser,
was stripping the trailing / so that it wouldn't be part of the matching
logic. Of course, stripping the trailing / while it is escaped without
removing the backslash escape is wrong. So we do that here.
Fixes #2236
|
|
PR #2232
|
|
|
|
|
|
PR #1910
|
|
It broke on latest nightly. I'm *very* close to just removing the
'simd-accel' feature altogether.
Fixes #2230
|
|
See: https://www.pantsbuild.org/
PR #2228
|
|
PR #2219
|
|
This furthers our kludge of dealing with PCRE2's look-around in the
printer. Because of our bad abstraction boundaries, we added a kludge to
deal with PCRE2 look-around by extending the bytes we search by a fixed
amount to hopefully permit any look-around to operate. But because of
that kludge, we wind up over extending ourselves in some cases and
dragging along those extra bytes.
We had fixed this for simple searching by simply rejecting any matches
past the end point. But we didn't do the same for replacements. So this
commit extends our kludge to replacements.
Thanks to @sonohgong for diagnosing the problem and proposing a fix. I
mostly went with their solution, but adding the new replacement routine
as an internal helper rather than a new APIn in the 'grep-matcher'
crate.
Fixes #2095, Fixes #2208
|
|
MODULE.bazel is a new file, and WORKSPACE.bazel was always supported
similar to BUILD.bazel vs BUILD.
PR #2203
|
|
This was done for the main crate in d11a3b33773620bcc593f82b557757f0c2ec8a05.
See also #987.
PR #2204
|
|
Like .hpp, .hh is an occasionally used extension for C++ headers
(to distinguish them from C headers). At least one popular project,
FreeBSD, uses this extension.
See also: https://docs.fileformat.com/programming/hh/
PR #2192
|
|
The `*.asp` was not included in the type "asp" when it was added.
https://github.com/BurntSushi/ripgrep/pull/1134
PR #2188
|
|
Looking at the memmap2 CHANGELOG, there don't appear to be any breaking
changes that impact us.
|
|
Surprisingly looks like no new dependencies were added! Yay! And we
removed an extra copy of 'cfg-if' due to what appears to be an updated
in 'packed_simd_2'.
Otherwise, all updates appear to be minor things.
|
|
It looks like the dead code detector got better, so do a little code
cleanup.
|
|
This commit updates the Ubuntu install script to include brotli and
zstd, which are needed for tests.
We also fix the Ubuntu install script to work in environments that
don't have 'sudo'. Instead of creating a totally separate script, we
preserve a single point of truth for these things and just make the
script a bit more flexible.
NOT seen in this commit is that we have built and updated the arm Docker
image. I'm hoping this fixes the GLIBC version issues we're seeing in
CI.
Fixes #2130, Closes #2132
|
|
Even if transcoding would be faster than search it would still incur
performance penalty. We make this clearer by tweaking the wording.
PR #2079
|
|
This improves the error message printed when ripgrep can't read the
file path pointed to by RIPGREP_CONFIG_PATH. Specifically, before this
change:
$ RIPGREP_CONFIG_PATH=no_exist_path rg 'search regex'
no_exist_path: No such file or directory (os error 2)
And now after this change:
$ RIPGREP_CONFIG_PATH=no_exist_path rg 'search regex'
failed to read the file specified in RIPGREP_CONFIG_PATH: no_exist_path: No such file or directory (os error 2)
In the above examples, the first failure mode looks obvious, but that's
only because RIPGREP_CONFIG_PATH is being set at the same time that we
run the command. Often, the environment variable is set elsewhere and
the error message could be confusing outside of that context.
Closes #1990
|
|
https://fennel-lang.org/
PR #2069
|
|
I've confirmed via strace that this eliminates a pile of stat calls.
PR #2052
|
|
This adds various Vim config files to the glob patterns.
PR #2044
|
|
This adds file detection for lilypond: https://lilypond.org/
PR #2038
|
|
This adds file detection for hy: http://hylang.org/
PR #2033
|
|
Previously, the 'fut' type only matches files called '.fut', while in
reality we want to match all files with the '.fut' extension. This
commit fixes that issue.
PR #2027
|
|
This adds file detection for janet:
https://janet-lang.org/
PR #2018
|
|
This got overlooked during the last release.
PR #2016
|
|
#607 is the top result for the search "ripgrep disable regex". I think
it makes sense to add it to the user guide, since it's a very useful
flag.
PR #1945
|
|
The docs were out of sync with the implementation. Likely a
copy-and-paste error.
Fixes #1939
|
|
PR #1936
|
|
https://www.gnu.org/software/texinfo/
PR #1934
|
|
Fixes #1918
|
|
|