summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2016-09-20Add an error message for catching a common failure mode.Andrew Gallant
If you're in a directory that has a parent .gitignore (like, your $HOME), then it can cause ripgrep to simply not do anything depending on your ignore rules. There are probably other scenarios where ripgrep applies some filter that an end user doesn't expect, so try to catch the worst case (when ripgrep doesn't search anything).
2016-09-20Add "unrestricted" flag.Andrew Gallant
I don't like having multiple flags do the same thing, but -u, -uu and -uuu are much easier to remember, particularly with -uuu meaning "search everything."
2016-09-17Add support for searching multiple patterns with -e.0.1.4Andrew Gallant
Also, change -Q/--literal to -F/--fixed-strings because compatibility with grep is probably better.
2016-09-17fix windows buildAndrew Gallant
Why isn't CI running on each push? It seems to only be running on tagged commits.
2016-09-16Some minor performance tweaks.Andrew Gallant
This includes moving basename-only globs into separate regexes. The hope is that if the regex processes less input, it will be faster.
2016-09-16try again...Andrew Gallant
2016-09-16fix testsAndrew Gallant
2016-09-15Rework glob sets.Andrew Gallant
We try to reduce the pressure on regexes and offload some of it to Aho-Corasick or exact lookups.
2016-09-15Don't traverse directory stack if we don't need to.Andrew Gallant
2016-09-15Remove .agignore from ignore file list.Andrew Gallant
2016-09-14--no-ignore implies --no-ignore-parentAndrew Gallant
2016-09-14Replace crossbeam with deque.Andrew Gallant
deque appears faster.
2016-09-13We don't use thread_local any more, so remove it.Andrew Gallant
2016-09-13Stream results when feasible.0.0.19Andrew Gallant
For example, when only a single file (or stdin) is being searched, then we should be able to print directly to the terminal instead of intermediate buffers. (The buffers are only necessary for parallelism.) Closes #4.
2016-09-11Don't skip the first arg.Andrew Gallant
Docopt will do it for us.
2016-09-11Don't panic when an argument is invalid UTF-8.Andrew Gallant
Suggest a workaround.
2016-09-11Make file type filtering a lot faster.Andrew Gallant
We do this by avoiding using a RegexSet (*sigh*). In particular, file type matching has much simpler semantics than gitignore files, so we don't actually need to care which file type matched. Therefore, we can get away with a single regex with a giant alternation.
2016-09-11We don't need regex-syntax directly in ripgrep.Andrew Gallant
2016-09-11Bump default thread count to 8.Andrew Gallant
2016-09-10Make line counting much faster.Andrew Gallant
2016-09-10Rename search module to search_stream.Andrew Gallant
The name better reflects the difference between it and the search_buffer module.
2016-09-10Rejigger the atty detection stuff.Andrew Gallant
2016-09-09Add integration tests.Andrew Gallant
2016-09-09fix windows build0.0.16Andrew Gallant
2016-09-08Refactor how coloring is done.0.0.14Andrew Gallant
All in the name of appeasing Windows.
2016-09-08Rename xrep to ripgrep.Andrew Gallant
2016-09-07Hack in Windows console coloring.0.0.11Andrew Gallant
The code has suffered and needs refactoring/commenting. BUT... IT WORKS!
2016-09-06Add support for memory maps.Andrew Gallant
I though plain `read` had usurped them, but when searching a very small number of files, mmaps can be around 20% faster on Linux. It'd be really unfortunate to leave that on the table. Mmap searching doesn't support contexts yet, but we probably don't really care. And duplicating that logic doesn't sound fun. Without contexts, mmap searching is delightfully simple.
2016-09-06Add support for printing column numbers.Andrew Gallant
2016-09-06Tweak colors.Andrew Gallant
2016-09-06Only create the Grep searcher once.Andrew Gallant
2016-09-05another try0.0.9Andrew Gallant
2016-09-05windows debug, take 10.0.8Andrew Gallant
2016-09-05Fix glob tests.0.0.7Andrew Gallant
When matching directly with a regex, we need to make sure the path is normalized first.
2016-09-05Fix glob problem on Windows.0.0.6Andrew Gallant
We weren't actually escaping every use of the file path separator. D'oh.
2016-09-05Fix yellow color to match ack.Andrew Gallant
2016-09-05windows, take 30.0.5Andrew Gallant
2016-09-05Fix context writing.0.0.1Andrew Gallant
Don't show the filename twice... (Copy/paste error).
2016-09-05Trying CI.Andrew Gallant
2016-09-05Whoops. Remove other bits of parking lot.Andrew Gallant
2016-09-05Fix deps so that others can build it.Andrew Gallant
2016-09-05More progress. With coloring!Andrew Gallant
2016-09-05TODOs and some cleanup/refactoring.Andrew Gallant
2016-09-05Lots of progress:Andrew Gallant
- Refactored interaction between CLI args and rest of xrep. - Filling in a lot more options, including file type filtering. - Fixing some bugs in globbing/ignoring. - More documentation.
2016-09-03making search work (finally)Andrew Gallant
2016-09-03progress on after contextsAndrew Gallant
2016-09-02Switch to Chase-Lev work stealing queue.Andrew Gallant
It seems to be a touch faster.
2016-09-02Before contexts seem to work.Andrew Gallant
Code is in a little better shape.
2016-09-01Make "before" context work.Andrew Gallant
No line numbers. And match inverting is broken. This is awful.
2016-08-31struggling with printing contexts, what a messAndrew Gallant