Age | Commit message (Collapse) | Author |
|
|
|
This commit fixes a bug where the `StandardStream` type isn't `Send` on
Windows. This can cause some surprising compile breakage, and the only
motivation for it being non-Send was dubious. Namely, it was a result of
trying to eliminate code duplication.
This refactoring also eliminates at least one "unreachable" panic case
that was a result of trying to eliminate code reuse, so that's a nice
benefit as well.
Fixes #503
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... and unpin the nightlies.
|
|
Fixes #581
|
|
|
|
This commit strips the ripgrep binary release artifact produced by CI
for Unix.
Fixes #413
|
|
|
|
The test is severely constrained to the specific ANSI formatting of
ripgrep in accordance with its default color scheme. The default color
scheme on Windows changed, which caused the test to fail.
For now, just disable the test on Windows.
|
|
|
|
Fixes #574
|
|
add -x/--line-regexp flag
|
|
|
|
Fixes #482
|
|
|
|
|
|
arguments (fixes #568)
|
|
|
|
parsing
|
|
|
|
change the profile showing command to one that matches the microsoft article linked, as its simpler and the old one didn't work at least on windows 10 creators edition.
|
|
- Improve documentation
- Reorganise into functions
- Order options lexicographically
- Correct minor wording inconsistencies
- Fix --count error
- Fix --maxdepth error
- Fix --path-separator error
- Fix --version error
- Adjust exclusivity for --files, -h, -j, -o, -r, -t, -T, -v, -V, &c.
- Improve pattern-operand guard behaviour
- Partially fix issue with colorspec state
- Fix issue with typespec state
- Add completion for <type>:include: sequence
- Move licence info out of the way
|
|
|
|
change default path color on Windows
This avoids a conflict with a PowerShell configuration that causes text to be invisible.
Fixes #342
|
|
|
|
|
|
This fixes a few bugs in the benchsuite script that have apparently
cropped up over time due to insufficient testing.
Fixes #558
|
|
In `matched_path_or_any_parents()` implementation, we missed the point
that when we start walking up the tree, we have to set `is_dir` to
`true`, so path `ROOT/a/b/c` matches pattern `/a/`, although the
original path is not a dir.
|
|
|
|
|
|
|
|
[ignore] tests and new matched_path_or_any_parents method
The test data (gitignore rules and expected result) is based on the test
repo at <https://github.com/behnam/gitignore-test>.
The new `matched_path_or_any_parents` method fixes a bug
in gitignore matching where rules of form `<dir>/*` result in ignoring
only first-level files, but no deep files. This is not correct, as `<dir>/*`
matches the first-level directories under `<dir>`, resulting all to be
ignored. The new method fixes it by trying to match all parents in the
path against the gitignore rules.
The new method is necessary because it necessarily entails a
performance hit for trying to match all parents.
|
|
I switched Fedora usernames, so new builds will be at a different URL.
|
|
This reuses the systemd convention of putting flags on a separate line.
All credit to okdana for the implementation. Addresses #524.
|
|
Fixes #524
|
|
|
|
|
|
function
|
|
|
|
|
|
- Add missing options
- Fix confusion between --count and --max-count
- Improve wording consistency (capitalisation, punctuation, contractions, &c.)
- Add completion for encodings
- Add completion for colour specs
- Add partial completion for type specs
|
|
Working with Chris Stadler, implemented
https://github.com/BurntSushi/ripgrep/issues/163#issuecomment-300012592
|