summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
AgeCommit message (Collapse)Author
2019-02-09grep-searcher-0.1.2grep-searcher-0.1.2Andrew Gallant
2019-02-07deps: bump encoding_rs to 0.8.16Andrew Gallant
This brings in an updated `encoding_rs` crate that uses `packed_simd`, which compiles on the latest nightly. Compilation times do appear to be impacted significantly though. Fixes #1175 (again)
2019-01-29deps: update other depsAndrew Gallant
2019-01-29deps: update to crossbeam-channel 0.3.8Andrew Gallant
This drops dependencies on parking_lot and rand from ripgrep. (rand is still used for tests.)
2019-01-29cargo: include auto-generated messageAndrew Gallant
This is going to be annoying for a while if one switches between the latest nightly compiler and older compilers. Sigh.
2019-01-27ignore: correctly detect hidden files on WindowsAndrew Gallant
This commit fixes a bug where ripgrep only treated files beginning with a `.` as hidden. On Windows, we continue this tradition, but additionally check whether a file has the special Windows "hidden" attribute set. If so, we treat it as a hidden file. In order to make this work without an additional stat call, we had to rearrange some of the plumbing from the directory traverser. Fixes #1154
2019-01-26deps: bump regex-syntax to 0.6.5Andrew Gallant
This is necessary for the use of the new is_line_anchored_{start,end} APIs.
2019-01-25searcher: always strip BOMAndrew Gallant
This fixes a bug where a BOM prefix was included. While this was somewhat intentional in order to have a faithful "UTF8 passthru" option, in practice, this causes problems such as breaking patterns like `^` in a really non-obvious way. The actual fix was to add a new API to encoding_rs_io, which this commit brings in. Fixes #1163
2019-01-23deps: update removal of grep devdepsAndrew Gallant
2019-01-19deps: update memmapAndrew Gallant
2019-01-19deps: update to bytecount 0.5Andrew Gallant
bytecount now uses runtime dispatch for enabling SIMD, which means we can no longer need the avx-accel features. We remove it from ripgrep since the next release will be a minor version bump, but leave them as no-ops for the crates that previously used it.
2019-01-19deps: update various dependenciesAndrew Gallant
We also increase the MSRV to 1.32, the current stable release, which sets the stage for migrating to Rust 2018.
2018-12-30ignore-0.4.6ignore-0.4.6Andrew Gallant
2018-12-30deps: bump ignoreAndrew Gallant
2018-12-15deps: update most other dependenciesAndrew Gallant
This commit is the result of doing: $ cargo update $ cargo update -p encoding_rs --precise 0.8.10 where the latter line prevents encoding_rs from updating to 0.8.11 (or newer). In particular, the 0.8.11 release increased the minimum Rust version to 1.29, where as ripgrep 0.10.x is still on 1.28. We stay on an older version for now until ripgrep is ready to move to 0.11.x.
2018-12-15deps: update to crossbeam-channel 0.3Andrew Gallant
This also requires corresponding updates to both rand and rand_core. Doing an update of rand without doing an update of rand_core results in compilation errors because two distinct versions of rand_core are included in the build, and the traits they expose are distinct and incompatible. We also switch over to using tempfile instead of tempdir, which drops the last remaining thing keeping rand 0.4 in the build. Fixes #1141, Fixes #1142
2018-12-09deps: update regex and regex-syntaxAndrew Gallant
This brings in some new Unicode properties, such as \p{Emoji}. It is now also technically possible construct a regex that recognizes grapheme clusters.
2018-10-22deps: update encoding_rsAndrew Gallant
This commit bumps the version of encoding_rs to use the latest release. This appears to fix a panic in UTF-16 decoding. Fixes #1089
2018-09-25grep-searcher: update to encoding_rs_io 0.1.3Andrew Gallant
This update includes a work-around for a presumed bug in encoding_rs that causes a panic: https://github.com/hsivonen/encoding_rs/issues/34 Specifically, to reproduce this in ripgrep, one can run the following: $ curl -LO https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.gz $ tar xf ruby-2.5.1.tar.gz $ rg ZZZZZ ruby-2.5.1/test/rexml/data/t63-2.svg thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1' Fixes #1052
2018-09-08pcre2: use jit_if_availablegrep-pcre2-0.1.2grep-0.2.3Andrew Gallant
This will allow PCRE2 to fall back to non-JIT matching when running on platforms without JIT support. ref https://github.com/BurntSushi/rust-pcre2/issues/3
2018-09-07deps: update versions for all cratesAndrew Gallant
I don't think every change here is needed, but this ensures we're using the latest version of every direct dependency.
2018-09-07deps: minor updatesAndrew Gallant
2018-09-07grep: add clap and regex dev dependencies to grepAndrew Gallant
These are (or will be) used in grep's examples.
2018-09-04deps: update various depsAndrew Gallant
2018-09-04deps: update grep versionAndrew Gallant
2018-09-04grep-cli: introduce new grep-cli crateAndrew Gallant
This commit moves a lot of "utility" code from ripgrep core into grep-cli. Any one of these things might not be worth creating a new crate, but combining everything together results in a fair number of a convenience routines that make up a decent sized crate. There is potentially more we could move into the crate, but much of what remains in ripgrep core is almost entirely dealing with the number of flags we support. In the course of doing moving things to the grep-cli crate, we clean up a lot of gunk and improve failure modes in a number of cases. In particular, we've fixed a bug where other processes could deadlock if they write too much to stderr. Fixes #990
2018-08-30deps: update other cratesAndrew Gallant
2018-08-30deps: update termcolor for perf tweaksAndrew Gallant
2018-08-26ignore: add 'same_file_system' optionAndrew Gallant
This commit adds a 'same_file_system' option to the walk builder. For single threaded walking, it defers to the walkdir crate, which has the same option. The bulk of this commit implements this flag for the parallel walker. We add one very feeble test for this. The parallel walker is now officially a complete mess. Closes #321
2018-08-26deps: more updatesAndrew Gallant
2018-08-25ripgrep: use winapi-util for stdin_is_readableAndrew Gallant
2018-08-25deps: update various depsAndrew Gallant
This includes a new crate, winapi-util, that is now used in wincolor, walkdir and same-file.
2018-08-22deps: update dependenciesAndrew Gallant
This includes an update to walkdir 2.2.2, which includes a `same_file_system` option.
2018-08-21deps: update clapAndrew Gallant
Update clap to the latest version. Also, drop the ansi_term dependency by disabling color output in clap's error messages.
2018-08-21deps: various patch upgradesAndrew Gallant
2018-08-21ignore: fix false positive in path_is_symlinkAndrew Gallant
This commit fixes a bug where the first path always reported itself as as symlink via `path_is_symlink`. Part of this fix includes updating walkdir to 2.2.1, which also includes a corresponding bug fix. Fixes #984
2018-08-21ripgrep: move minimum version to Rust stableAndrew Gallant
This also updates some code to make use of our more liberal versioning requirement, including the use of crossbeam-channel instead of the MsQueue from the older an unmaintained crossbeam 0.3. This does regrettably add a sizable number of dependencies, however, compile times seem mostly unaffected. Closes #1019
2018-08-20deps: update other dependencies to latestAndrew Gallant
2018-08-20deps: update libripgrep crate versionsAndrew Gallant
This prepares them for an initial 0.1.0 release.
2018-08-20tests: re-tool integration testsAndrew Gallant
This basically rewrites every integration test. We reduce the amount of magic involved here in terms of which arguments are being passed to ripgrep processes. To make up for the boiler plate saved by the magic, we make the Dir (formerly WorkDir) type a bit nicer to use, along with a new TestCommand that wraps a std::process::Command. In exchange, we get tests that are easier to read and write. We also run every test with the `--pcre2` flag to make sure that works, when PCRE2 is available.
2018-08-20ripgrep: migrate to libripgrepAndrew Gallant
This commit does the work to delete the old `grep` crate and effectively rewrite most of ripgrep core to use the new libripgrep crates. The new `grep` crate is now a facade that collects the various crates that make up libripgrep. The most complex part of ripgrep core is now arguably the translation between command line parameters and the library options, which is ultimately where we want to be.
2018-08-20libripgrep: initial commit introducing libripgrepAndrew Gallant
libripgrep is not any one library, but rather, a collection of libraries that roughly separate the following key distinct phases in a grep implementation: 1. Pattern matching (e.g., by a regex engine). 2. Searching a file using a pattern matcher. 3. Printing results. Ultimately, both (1) and (3) are defined by de-coupled interfaces, of which there may be multiple implementations. Namely, (1) is satisfied by the `Matcher` trait in the `grep-matcher` crate and (3) is satisfied by the `Sink` trait in the `grep2` crate. The searcher (2) ties everything together and finds results using a matcher and reports those results using a `Sink` implementation. Closes #162
2018-08-06deps: update bytecount to 0.3.2llogiq
PR #1003
2018-08-03release: 0.9.00.9.0Andrew Gallant
2018-08-03grep-0.1.9grep-0.1.9Andrew Gallant
2018-08-03deps: update termcolor and encoding_rs_ioAndrew Gallant
2018-07-28ignore-0.4.3ignore-0.4.3Andrew Gallant
2018-07-28globset-0.4.1globset-0.4.1Andrew Gallant
2018-07-22deps: update atty and winapiAndrew Gallant
This updates atty and winapi to their latest versions, including the bug fix in atty that allows it to work with winapi 0.3.5.
2018-07-22deps: pin winapi to 0.3.4Andrew Gallant
winapi 0.3.5 changed how it represents some of its structs, which caused a bug to surface in atty that prevents tty detection on Windows. atty has an open PR to fix this: https://github.com/softprops/atty/pull/28 Until a new release of atty, we pin winapi to a version that works.