1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-14 22:15:13 +02:00
Commit Graph

405 Commits

Author SHA1 Message Date
301ee6d3f5 globset-0.1.2 globset-0.1.2 2016-11-06 15:35:05 -05:00
77ad7588ae Add --no-messages flag.
This flag is similar to what's found in grep: it will suppress all error
messages, such as those shown when a particular file couldn't be read.

Closes #149
2016-11-06 14:36:08 -05:00
58aca2efb2 Add -m/--max-count flag.
This flag limits the number of matches printed *per file*.

Closes #159
2016-11-06 13:09:53 -05:00
351eddc17e Add new 'h' file type.
This is intended to correspond to C/C++ header files.

Fixes #186
2016-11-06 12:23:42 -05:00
277dda544c Include the name "ripgrep" in more places.
Fixes #203
2016-11-06 12:21:36 -05:00
8c869cbd87 update man page 2016-11-06 12:10:55 -05:00
598b162fea Note -e/--regexp's additional usefulness.
Specifically, it can be used when searching for patterns that start
with a dash.

Fixes #215
2016-11-06 12:10:27 -05:00
0222e024fe Fixes a bug with --smart-case.
This was a subtle bug, but the big picture was that the smart case
information wasn't being carried through to the literal extraction in
some cases. When this happened, it was possible to get back an incomplete
set of literals, which would therefore miss some valid matches.

The fix to this is to actually parse the regex and determine whether
smart case applies before doing anything else. It's a little extra work,
but parsing is pretty fast.

Fixes #199
2016-11-06 12:07:47 -05:00
5bd0edbbe1 Actually use simd/avx optimizations in bytecount crate.
Also update compile script.
2016-11-05 22:44:33 -04:00
4368913d8f Merge branch 'fast_linecount' 2016-11-05 22:29:42 -04:00
02de97b8ce Use the bytecount crate for fast line counting.
Fixes #128
2016-11-05 22:29:26 -04:00
32db773d51 Merge pull request #223 from BurntSushi/ignore-parallel
Add parallel recursive directory iterator.
2016-11-05 22:19:47 -04:00
b272be25fa Add parallel recursive directory iterator.
This adds a new walk type in the `ignore` crate, `WalkParallel`, which
provides a way for recursively iterating over a set of paths in parallel
while respecting various ignore rules.

The API is a bit strange, as a closure producing a closure isn't
something one often sees, but it does seem to work well.

This also allowed us to simplify much of the worker logic in ripgrep
proper, where MultiWorker is now gone.
2016-11-05 21:45:55 -04:00
1aeae3e22d update ripgrep 2016-11-04 21:12:08 -04:00
60d537c43d Merge pull request #220 from theamazingfedex/adding-mak-type
adding .mak extension for makefile filetype.
2016-11-03 20:46:29 -04:00
ef5c07476b Merge pull request #219 from theamazingfedex/adding-pdf-filetype
adding .pdf filetype to available types.
2016-11-03 20:46:07 -04:00
4f6f34307c Merge pull request #218 from theamazingfedex/adding-cs-filetype
adding cs filetype for ease of use.
2016-11-03 20:46:02 -04:00
7cf560d27c adding .mak extension for makefile filetype.
Fixes #217
2016-11-03 15:52:10 -06:00
15b263ff55 adding cs filetype for ease of use. 2016-11-03 15:33:00 -06:00
53121e0733 adding .pdf filetype to available types. 2016-11-03 15:30:58 -06:00
404785f950 Merge pull request #214 from lyuha/master
Add textile, org, creole, rdoc, wiki filetype
2016-11-02 11:53:22 -04:00
103c4c953c Add pod filetype 2016-11-03 00:06:14 +09:00
82abf883c5 Add wiki filetype 2016-11-03 00:06:14 +09:00
a2315d5ee5 Add creole filetype 2016-11-03 00:06:14 +09:00
201d0cb8c1 Add org filetype 2016-11-03 00:06:14 +09:00
6f45478a7d Add rdoc filetype 2016-11-03 00:06:14 +09:00
9c2c569624 Add textile filetype 2016-11-03 00:06:14 +09:00
a1e4e0f85c Merge pull request #213 from tjdgus3537/master
add asciidoc filetype and update markdown filetype
2016-11-02 10:44:31 -04:00
caf31a769b Add .markdown, .mdown, .mkdn extension to md and markdown 2016-11-02 22:50:59 +09:00
920112e640 Add .adoc, .asc, asciidoc extension to asciidoc 2016-11-02 22:49:31 +09:00
a84ffe603b Merge pull request #212 from radhermit/gentoo
Add Gentoo info to the README
2016-11-02 07:05:47 -04:00
e4f83f3161 Add Gentoo info to the README 2016-11-01 22:03:00 -04:00
fbca4a0332 Merge pull request #209 from dueyfinster/patch-1
Added taskpaper as a file type
2016-11-01 10:29:15 -04:00
65c7df1c25 Added taskpaper as a file type 2016-11-01 13:59:59 +00:00
18237da9b2 Add Agda and improve TeX ignore support (#207)
Add Agda and improve TeX ignore support
2016-11-01 06:56:53 -04:00
f147f3aa39 0.2.6 0.2.6 2016-10-31 20:01:37 -04:00
599c4fc3f3 changelog 0.2.6 2016-10-31 20:01:31 -04:00
d85a6dd5c8 update ignore dependency 2016-10-31 20:01:31 -04:00
40abade8ee ignore-0.1.3 ignore-0.1.3 2016-10-31 19:54:47 -04:00
fca4fdf6ea ignore-0.1.2 2016-10-31 19:54:38 -04:00
16975797fe Fixes a matching bug in the glob override matcher.
This was probably a transcription error when moving the ignore matcher
code out of ripgrep core. Specifically, the override glob matcher should
not ignore directories if they don't match.

Fixes #206
2016-10-31 19:54:38 -04:00
6507a48f97 Ignore ignore/Cargo.lock 2016-10-31 19:54:38 -04:00
c8e2fa1869 update Cargo.lock 2016-10-31 19:54:38 -04:00
f728708ce9 Merge pull request #204 from lyuha/master
Add .fish extension to fish shell
2016-10-30 17:31:51 -04:00
c302995d05 Add .fish extension to fish shell 2016-10-31 00:52:45 +09:00
4a77cc8100 update brew tap to 0.2.5 2016-10-29 23:23:45 -04:00
dc86666044 changelog 0.2.5 2016-10-29 22:44:07 -04:00
6b038511c7 0.2.5 0.2.5 2016-10-29 22:42:28 -04:00
c767bccade fix appveyor, sigh 2016-10-29 22:42:22 -04:00
a075a462fa 0.2.4 0.2.4 2016-10-29 22:40:02 -04:00