summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-10-21cargo: bump to 0.7.0ignore-0.3.0grep-0.1.7globset-0.2.10.7.0Andrew Gallant
2017-10-21changelog 0.7.0Andrew Gallant
2017-10-21ignore: be fastidious with file handlesAndrew Gallant
This commit fixes the symlink loop checker in the parallel directory traverser to open fewer handles at the expense of keeping handles held open longer. This roughly matches the corresponding change in walkdir: https://github.com/BurntSushi/walkdir/commit/5bcc5b87ee08a58a7f2a7ef4b1d23392b55155bb Fixes #633
2017-10-21printer: fix colors on empty matchesAndrew Gallant
This fixes a bug where a "match" color escape was erroneously emitted after the new line character. This is because `^` is actually allowed to match after the end of a trailing new line, which means `^$` matches both before and after the trailing new line when multiline mode is enabled. The trailing match was causing the phantom escape sequence to appear, which we don't want. Incidentally, this is the root cause of #441 as well, although this commit doesn't fix that issue, since the line itself is printed before we detect the phantom match. Fixes #599
2017-10-21styleAndrew Gallant
2017-10-21deps: update everythingAndrew Gallant
2017-10-21ignore: upgrade to walkdir 2Andrew Gallant
The uninteresting bits of this commit involve mechanical changes for updates to walkdir 2. The more interesting bits of this commit are the breaking changes, although none of them should require any significant change on users of this library. The breaking changes are as follows: * `DirEntry::path_is_symbolic_link` has been renamed to `DirEntry::path_is_symlink`. This matches the conventions in the standard library, and also the corresponding name change in walkdir. * Removed the `From<walkdir::Error> for ignore::Error` impl. This was intended to only be used internally, but was the only thing that made `walkdir` a public dependency of `ignore`. Therefore, we remove it since it seems unnecessary. * Renamed `WalkBuilder::sort_by` to `WalkBuilder::sort_by_file_name`, and changed the type of the comparator from Fn(&OsString, &OsString) -> cmp::Ordering + 'static to Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static The corresponding change in `walkdir` retains the `sort_by` name, but gives the comparator a pair of `&DirEntry` values instead of a pair of `&OsStr` values. Ideally, `ignore` would hand off its own pair of `&ignore::DirEntry` values, but this requires more design work. So for now, we retain previous functionality, but leave room to make a proper `sort_by` method. [breaking-change]
2017-10-21deps: upgrade to memchr 2Andrew Gallant
2017-10-21style: 80 colsAndrew Gallant
2017-10-21Fix typosShubham Lagwankar
2017-10-20printer: --only-matching works with --replaceEvgeny Kulikov
When -o/--only-matching is used with -r/--replace, the replacement works as expected. This is not a breaking change because the flags were previously set to conflict.
2017-10-20Fix path passed to try_create_bytes()Sebastian Nowicki
2017-10-20Don't create command until we know we can test itSebastian Nowicki
For regression 210 we may not actually need to test anything if the file system doesn't support creating files with invalid UTF-8 bytes. Don't create the command until we know there will be an assertion.
2017-10-20Wrap comments to 79 columnsSebastian Nowicki
2017-10-20Skip regression 210 test on APFSSebastian Nowicki
APFS does not support creating filenames with invalid UTF-8 byte codes, thus this test doesn't make sense. Skip it on file systems where this shouldn't be possible. Fixes #559
2017-10-14Fix minor typosTJ Rana
Update name Mac OS X to macOS
2017-10-12State the default case sensitivityTrent Davis
2017-10-12Add purescript to built-in typesJames Smith
Purescript is a functional language that compiles to javascript (https://github.com/purescript/purescript)
2017-10-12Add troubleshooting notes re: conflicting tools/aliasesdana
2017-10-10readme: clarify introAndrew Gallant
2017-10-08Fix printing context after an early return from a searchAntti Keränen
Print the context if there's a context left to be printed after returning early from a search (because of --max-count). Fixes #402.
2017-10-08Type improvements (`config`, `license`, `sh`, `systemd`, &c.)dana
- Add `license` type for various copyright/licence files - Add `systemd` type for systemd config/unit files - Update existing `config`, `jinja`, `json`, `sh`, `sql`, `xml`, `yaml` types - Minor formatting improvements
2017-10-08Addressed code reivew.Omer Katz
2017-10-08Ripgrep installs from Linuxbrew just fine and works as expected.Omer Katz
Mentioned it in the README file :)
2017-10-08Add support for Dockerfiles filteringFélix Cantournet
2017-10-08Update README to be more explicit about precompiled binaries (fixes #618)dana
2017-10-08globset README version bumpBenjamin Sago
2017-10-08Rewording READMEDaniel Vergeylen
Trial to stay consistent with rest of the text. Rewording by native english.
2017-10-08Update READMEDaniel Vergeylen
Notify user `cargo install ripgrep` contains debug symbols and informs how to stripe them.
2017-10-08Color --replace text using the match typeJames McCoy
Closes #521
2017-09-23add support for terraform file typeTri Nguyen
2017-09-18Avoid expensive check with --files (fixes #600)Christof Marti
2017-09-06doc: clarify --with-filename behavior with --headingDan Fabulich
2017-09-04tweak workingAndrew Gallant
2017-09-04Add support for Standard ML file typesPhilip Munksgaard
2017-09-02ignore: add grouped toggle for standard filtersAlex Burka
2017-08-30Add Elm file type.Jesse Claven
2017-08-28Update encoding_rs to 0.7.0Henri Sivonen
2017-08-27restore the default SIGPIPE behavior as a temporary workaroundJack O'Connor
See https://github.com/BurntSushi/ripgrep/issues/200.
2017-08-27deps: bump termcolor in lock fileAndrew Gallant
2017-08-27termcolor-0.3.3termcolor-0.3.3Andrew Gallant
2017-08-27termcolor: make StandardStream be SendAndrew Gallant
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
2017-08-27termcolor: 80 colsAndrew Gallant
2017-08-26ignore: document git_global enabled by defaultAlex Burka
2017-08-23readme: update minimum versionAndrew Gallant
2017-08-23update brew tapAndrew Gallant
2017-08-23ci: unpin nightly, redux0.6.0Andrew Gallant
2017-08-230.6.0Andrew Gallant
2017-08-23cargo: add crates.io badgesAndrew Gallant
2017-08-23bump depsAndrew Gallant