Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
The bug fix was in expression pretty printing. ripgrep parses the regex
into an AST and may do some modifications to it, which requires the
ability to go from string -> AST -> string' -> AST' where string == string'
implies AST == AST'.
Also, add a regression test for the specific regex that tripped the bug.
Fixes #156.
|
|
|
|
|
|
It's not clear why it's failing. Maybe it doesn't permit certain
characters in file paths?
|
|
|
|
Also add a minor clarification for --type-add.
Fixes #147
|
|
|
|
|
|
|
|
|
|
We attempt to run it on Windows, but I'm getting "access denied" errors
when trying to create a file symlink. So we disable the test on Windows.
|
|
|
|
This commit completes the initial move of glob matching to an external
crate, including fixing up cross platform support, polishing the
external crate for others to use and fixing a number of bugs in the
process.
Fixes #87, #127, #131
|
|
Update Homebrew instructions in the README
|
|
Always follow symlinks on explicit file arguments
|
|
Adding extra .md filetype for ease of access to Markdown filetypes
|
|
Adding .spark filetype
|
|
Adding .config filetype
|
|
|
|
|
|
|
|
|
|
|
|
Change Arch Linux instructions
|
|
The `-Syu` flag will do a full system upgrade and then install the package, which is not necessarily the desired behavior. Only the `-S` flag is necessary to install a single package.
See https://wiki.archlinux.org/index.php/Pacman#Installing_specific_packages
https://wiki.archlinux.org/index.php/Pacman#Upgrading_packages
|
|
This commit goes a long way toward refactoring glob sets so that the
code is easier to maintain going forward. In particular, it makes the
literal optimizations that glob sets used a lot more structured and much
easier to extend. Tests have also been modified to include glob sets.
There's still a bit of polish work left to do before a release.
This also fixes the immediate issue where large gitignore files were
causing ripgrep to slow way down. While we don't technically fix it for
good, we're a lot better about reducing the number of regexes we
compile. In particular, if a gitignore file contains thousands of
patterns that can't be matched more simply using literals, then ripgrep
will slow down again. We could fix this for good by avoiding RegexSet if
the number of regexes grows too large.
Fixes #134.
|
|
add jinja type for *.jinja and *.jinja2
|
|
|
|
Fix brew formula name to not conflict with core
|
|
Since the homebrew-core formula was accepted, we should differentiate
the prebuilt formula available in this tap
|
|
Added *.cmake extension to cmake file type.
|
|
|
|
Apparently 32 bit Mac CPUs are really old at this point. Also, it has
been causing CI to fail lately. It's not worth it.
|
|
Make the repo a Homebrew Tap
|
|
It is isolated and complex enough that it deserves attention all on its
own. It's also eminently reusable.
|
|
This helps #134 by avoiding a slow regex execution path, but doesn't
actually fix the problem. Namely, we've gone from "so slow I'm not going
to keep waiting for rg to finish" to "wow that was slow but at least it
finished before I lost my patience."
|
|
|
|
if --color always, always print with color, even when --vimgrep is given
|
|
AppVeyor: Change release description to fit Travis binaries
|
|
|
|
It didn't make sense for --quiet to be part of the printer, because --quiet
doesn't just mean "don't print," it also means, "stop after the first
match is found." This needs to be wired all the way up through directory
traversal, and it also needs to cause all of the search workers to quit
as well. We do it with an atomic that is only checked with --quiet is
given.
Fixes #116.
|
|
|
|
This flag overrides both --smart-case and --ignore-case.
Closes #124.
|
|
|
|
|
|
colorize filepath at the beginning of line too
|
|
|