summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-08-23changelog 0.6.0Andrew Gallant
2017-08-23ci: bump rustc from 1.16 to 1.17Andrew Gallant
... and unpin the nightlies.
2017-08-23doc: note that ripgrep may terminate unexpectedlyAndrew Gallant
Fixes #581
2017-08-23man: synchronize man page with --helpAndrew Gallant
2017-08-23ci: strip ripgrep binary on UnixAndrew Gallant
This commit strips the ripgrep binary release artifact produced by CI for Unix. Fixes #413
2017-08-23Types extension and Yocto renaming to BitBakeLilian A. Moraru
2017-08-23integration tests: ignore regression_428 on WindowsAndrew Gallant
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.
2017-08-20Pass the simd-accel feature to encoding_rsHenri Sivonen
2017-08-16Add short key for julia typeGergő Pintér
Fixes #574
2017-08-09Add -x/--line-regexp (#520)dana
add -x/--line-regexp flag
2017-08-08Remove unused libc dependencyVurich
2017-07-30bump clap to 2.26Andrew Gallant
Fixes #482
2017-07-30bump encoding_rs to 0.6Igor Gnatenko
2017-07-30Add test for option-arguments with leading hyphensdana
2017-07-30Allow options with non-numeric arguments to accept leading hyphens in ↵dana
arguments (fixes #568)
2017-07-26Install zsh APT packagedana
2017-07-26Update test_complete to source completion function for more reliable options ↵dana
parsing
2017-07-26Make completion support short-option values in same word; handle debug variabledana
2017-07-22fix profile showing command for powershellLeonardo Santagada
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.
2017-07-18Refactor zsh completion functiondana
- 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
2017-07-18Update test_complete.sh to avoid false positives related to shell syntaxdana
2017-07-17Fix invisible file path text in PowerShell (#557)Lincoln Atkinson
change default path color on Windows This avoids a conflict with a PowerShell configuration that causes text to be invisible. Fixes #342
2017-07-17ignore-0.2.2ignore-0.2.2Andrew Gallant
2017-07-17benchsuite: fix another bugAndrew Gallant
2017-07-17benchsuite: fix bugsAndrew Gallant
This fixes a few bugs in the benchsuite script that have apparently cropped up over time due to insufficient testing. Fixes #558
2017-07-13[ignore] Fix matched_path_or_any_parents() for patterns ending in slashBehnam Esfahbod
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.
2017-07-12bump ignore version, take 2Andrew Gallant
2017-07-12bump ignore versionAndrew Gallant
2017-07-12ignore-0.2.1ignore-0.2.1Andrew Gallant
2017-07-12[ignore] Add extensive test for gitignore matching (#551)Behnam Esfahbod ✅
[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.
2017-07-08update COPR nameCarl George
I switched Fedora usernames, so new builds will be at a different URL.
2017-07-07Tweak long_version features outputGabriel
This reuses the systemd convention of putting flags on a separate line. All credit to okdana for the implementation. Addresses #524.
2017-07-07Update `--version` output to show compile-time featuresdana
Fixes #524
2017-07-06Add `-f` to completionsdana
2017-07-06Add test_complete.sh to CI tasksdana
2017-07-06Add test_complete script to compare `rg --help` output to zsh completion ↵dana
function
2017-07-06Fix minor grammar issues in docs for `ignore::Walk`Jordan Danford
2017-07-03Add --iglob to zsh completion functiondana
2017-07-03Improve zsh completion functiondana
- 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
2017-07-03add --iglob flagPeter S Panov
Working with Chris Stadler, implemented https://github.com/BurntSushi/ripgrep/issues/163#issuecomment-300012592
2017-07-02Update version of `ignore` crate in README.mdJordan Danford
2017-06-27Add cabal files for Haskell packagesBryan Richter
2017-06-19bump wincolor depAndrew Gallant
2017-06-19wincolor-0.1.4wincolor-0.1.4Andrew Gallant
2017-06-19wincolor: Re-fetch the console on all callsAlex Crichton
The primary motivation for this commit was rust-lang/cargo#4189 where dropping a `wincolor::Console` would call `CloseHandle` to close the console handle. Cargo creates a few `Console` instances so it ended up closing stdout a little earlier as intended! The `GetStdHandle` function returns handles I believe aren't intended to be closed (as there's no refcounting). I believe libstd doesn't close these handles. This commit also moves to calling `GetStdHandle` on demand which libstd changed to doing so recently as well, preventing caching of stale handles that change over time with calls to `SetStdHandle`.
2017-06-15fix word boundary w/ capture groupEvan.Mattiza
fixes BurntSushi/ripgrep#506. Word boundary search as arg had unexpected behavior. added capture group to regex to encapsulate 'or' option search and prevent expansion and partial boundary finds. Signed-off-by: Evan.Mattiza <emattiza@gmail.com>
2017-06-12add yocto file typesSid-Ali Teir
2017-06-12Add julia as file typeGent Bajraj
2017-06-12Use clap's overrides_with and default_value_ifEric Nielsen
to better organize options. These are the changes: - color will have default value of "never" if --vimgrep is given, and only if no --color option is given - last overrides previous: --line-number and --no-line-number, --heading and --no-heading, --with-filename and --no-filename, and --vimgrep and --count - no heading will be show if --vimgrep is defined. This worked inside vim actually because heading is also only shown if tty is stdout (which is not the case when rg is called from vim). Unfortunately, clap does not behave like a usual GNU/POSIX in some cases, as reported in https://github.com/kbknapp/clap-rs/issues/970 and https://github.com/kbknapp/clap-rs/issues/976 (having all the bells and whistles, on the other hand). So we still have issues like rg failing when same argument is given more than once (unless for the few ones marked with `multiple(true)`), or having unintuitive precedence rules (and probably non-intentional, just there because of clap's limitations) like: - --no-filename over --vimgrep - --no-line-number over --column, --pretty or --vimgrep - --no-heading over --pretty regardless of the order in which options where given, where the desired behavior would be that the last option would override the previous ones given.
2017-06-12Add "msbuild" filetype for msbuild related filesBrian Gianforcaro
This commit adds a "msbuild" filetype grouping, with a few different file types being mapped to this grouping: - MSBuild project files: .csproj, .vcxproj, .fsproj, .proj - MSBuild shared property files: .props - MSBuild shared targets files: .targets