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

212 Commits

Author SHA1 Message Date
a25307d6c8 deps: update to grep-printer 0.1.7 2023-01-05 09:12:37 -05:00
b80947a8b3 grep-printer-0.1.7 2023-01-05 09:11:16 -05:00
ad793a0d8f deps: update to grep-searcher 0.1.11 2023-01-05 09:07:49 -05:00
120e55e7c7 grep-searcher-0.1.11 2023-01-05 09:07:09 -05:00
3941a7701d deps: update to grep-pcre2 0.1.6 2023-01-05 09:06:52 -05:00
96e130fbf9 grep-pcre2-0.1.6 2023-01-05 09:05:59 -05:00
180c4eaf8b deps: update to grep-regex 0.1.11 2023-01-05 09:05:39 -05:00
81529288cf grep-regex-0.1.11 2023-01-05 09:02:55 -05:00
bcc7473a87 deps: update to grep-matcher 0.1.6 2023-01-05 09:02:40 -05:00
bc78c644db grep-matcher-0.1.6 2023-01-05 09:00:33 -05:00
dc7267a0fb deps: update to grep-cli 0.1.7 2023-01-05 08:58:47 -05:00
3224324e25 grep-cli-0.1.7 2023-01-05 08:57:31 -05:00
a0e8dbe9df ignore-0.4.19 2023-01-05 08:55:46 -05:00
e95254a86f deps: remove ignore's dependency on crossbeam-utils
Scoped threads are now part of std.
2023-01-05 08:51:08 -05:00
2f484d8ce5 deps: update to globset 0.4.10 2023-01-05 08:49:58 -05:00
364772ddd2 globset-0.4.10 2023-01-05 08:45:47 -05:00
92b35a65f8 deps: upgrade to base64 0.20 2023-01-05 08:21:49 -05:00
ac8fecbbf2 deps: upgrade bstr to 1.1 2023-01-05 08:21:15 -05:00
28bff84a0a deps: remove 'num_cpus'
Now that std:🧵:available_parallelism is a thing, we no longer
need num_cpus.
2023-01-05 08:15:09 -05:00
7f23cd63a5 ignore/types: add automated test for sortedness
People occasionally get this wrong and I've been manually
checking it. Instead, let's have CI do it automatically.

PR #2351
2022-11-14 08:31:07 -05:00
25a4eaf5ae ignore/types: add devicetree filetype
See: https://www.devicetree.org/

PR #2349
2022-11-14 07:42:57 -05:00
65b1b0e38a ignore/types: add carp
See: https://github.com/carp-lang/Carp

PR #2343
2022-11-01 07:17:00 -04:00
c032cda4b7 ignore/types: add ReScript and ReasonML
PR #2340
2022-10-29 13:49:19 -04:00
eab044d829 ignore/types: add motoko and candid
See: https://github.com/dfinity/candid
See: https://github.com/dfinity/motoko

PR #2335
2022-10-20 09:22:41 -04:00
515f120b5c doc: fix typo
PR #2313
2022-09-24 13:23:59 -04:00
a66315d232 ignore/types: add *.cjs, *.mjs, *.cts, *.mts
These are used by both Node.js and TypeScript to indicate that a file
is CommonJS or ES.

Node.js: https://nodejs.org/api/esm.html

TypeScript: https://www.typescriptlang.org/docs/handbook/esm-node.html#new-file-extensions

PR #2297
2022-08-31 08:11:13 -04:00
bdf10ab7c0 ignore/types: add embedded puppet templates
.epp files are getting more and more common in Puppet code bases so it
makes sense I think to include them as part of the "puppet" type.

https://puppet.com/docs/puppet/7/lang_template_epp.html

PR #2141
2022-08-21 12:32:03 -04:00
a02678800b ignore/types: add Solidity
See: https://soliditylang.org/about/

PR #2284
2022-08-17 09:37:32 -04:00
3bb71b0cb8 doc: fix a few typos
PR #2274
2022-08-06 14:29:27 -04:00
87b33c96c0 ignore/types: improve 'markdown' and 'php' types
This adds some lesser known extensions.

Notably, it adds php7 and php8, but not php6. Apparently,
php6 was never a thing: https://wiki.php.net/rfc/php6

PR #2263
2022-07-18 10:35:09 -04:00
5e975c43f8 doc: appease rustdoc 2022-07-15 10:13:55 -04:00
7efa2e46d3 grep-0.2.10 2022-07-15 10:06:53 -04:00
db0b92b62d grep: bump grep-searcher to 0.1.10
This was a result of leaving a stray 'dbg!'.
2022-07-15 10:06:31 -04:00
33b81cac48 grep-searcher-0.1.10 2022-07-15 10:05:46 -04:00
6a13a4f64d searcher: remove stray 'dbg!' 2022-07-15 10:05:20 -04:00
b13d835d95 grep-0.2.9 2022-07-15 10:03:06 -04:00
d53506b7f7 grep: bump 'grep-regex' and 'grep-searcher'
To 0.1.10 and 0.1.9, respectively.
2022-07-15 10:02:41 -04:00
78a35d4d43 grep-searcher-0.1.9 2022-07-15 10:02:24 -04:00
a933d0bc90 searcher: bump grep-regex dep to 0.1.10 2022-07-15 10:02:06 -04:00
2cae30e399 grep-regex-0.1.10 2022-07-15 10:01:42 -04:00
8e57989cd2 regex: fix matching bug when text anchors are used
It turns out that if there are text anchors (that is, \A or \z, or ^/$
when multi-line is disabled), then the "fast" line searching path isn't
quite correct. Since searching without multi-line mode is exceptionally
rare, we just look for the presence of text anchors and specifically
disable the line terminator option in 'grep-regex'. This in turn
inhibits the "fast" line searching path.

Fixes #2260
2022-07-15 09:53:39 -04:00
e70778e89d ignore/types: add dts to default types
See: https://devicetree-specification.readthedocs.io/en/v0.3/source-language.html

PR #2255
2022-07-07 12:24:12 -04:00
87c4a2b4b1 doc: fix typo
PR #2248
2022-06-26 18:49:54 -04:00
0aa31676e3 doc: fix typos
PR #2245
2022-06-24 09:58:20 -04:00
9f0e88bcb1 ignore: fix gitignore parsing bug for trailing \/
When a glob pattern ended with a \/, and since we permit backslash
escapes, the glob parser gave a "dangling escape" error. Which is weird,
because the \ is clearly not dangling.

The issue is that the layer above the glob parser, the gitignore parser,
was stripping the trailing / so that it wouldn't be part of the matching
logic. Of course, stripping the trailing / while it is escaped without
removing the backslash escape is wrong. So we do that here.

Fixes #2236
2022-06-14 10:40:37 -04:00
eb4b389846 globset/readme: update version number and some links
PR #2232
2022-06-11 14:17:32 -04:00
dc337bab0a deps: update to globset 0.4.9 2022-06-10 14:11:20 -04:00
2cfb338530 globset-0.4.9 2022-06-10 14:10:34 -04:00
48646e3451 globset: make 'log' an optional feature
PR #1910
2022-06-10 14:10:09 -04:00
ec36f8c3ff ignore/types: add pants
See: https://www.pantsbuild.org/

PR #2228
2022-06-08 13:29:17 -04:00