b60b31706a
Merge pull request 'rgs-dev done' ( #1 ) from rgs-dev into master
...
ci / test (beta, ubuntu-latest, beta) (push) Has been cancelled
ci / test (macos, macos-latest, nightly) (push) Has been cancelled
ci / test (nightly, ubuntu-latest, nightly) (push) Has been cancelled
ci / test (pinned, ubuntu-latest, 1.85.0) (push) Has been cancelled
ci / test (stable, ubuntu-latest, stable) (push) Has been cancelled
ci / test (stable-aarch64, ubuntu-latest, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
ci / test (stable-arm-gnueabihf, ubuntu-latest, stable, armv7-unknown-linux-gnueabihf) (push) Has been cancelled
ci / test (stable-arm-musleabi, ubuntu-latest, stable, armv7-unknown-linux-musleabi) (push) Has been cancelled
ci / test (stable-arm-musleabihf, ubuntu-latest, stable, armv7-unknown-linux-musleabihf) (push) Has been cancelled
ci / test (stable-musl, ubuntu-latest, stable, x86_64-unknown-linux-musl) (push) Has been cancelled
ci / test (stable-powerpc64, ubuntu-latest, stable, powerpc64-unknown-linux-gnu) (push) Has been cancelled
ci / test (stable-riscv64, ubuntu-latest, stable, riscv64gc-unknown-linux-gnu) (push) Has been cancelled
ci / test (stable-s390x, ubuntu-latest, stable, s390x-unknown-linux-gnu) (push) Has been cancelled
ci / test (stable-x86, ubuntu-latest, stable, i686-unknown-linux-gnu) (push) Has been cancelled
ci / test (win-gnu, windows-latest, nightly-x86_64-gnu) (push) Has been cancelled
ci / test (win-msvc, windows-latest, nightly) (push) Has been cancelled
ci / test (winaarch64-msvc, windows-11-arm, nightly) (push) Has been cancelled
ci / wasm (push) Has been cancelled
ci / rustfmt (push) Has been cancelled
ci / docs (push) Has been cancelled
ci / Compile Fuzz Test Targets (push) Has been cancelled
Reviewed-on: #1
rgs-0.1
2026-01-14 01:36:52 +00:00
0994661424
added docs and migrated name to rgs, migrated repo, added squash-lines feature
ci / test (beta, ubuntu-latest, beta) (pull_request) Has been cancelled
ci / test (macos, macos-latest, nightly) (pull_request) Has been cancelled
ci / test (nightly, ubuntu-latest, nightly) (pull_request) Has been cancelled
ci / test (pinned, ubuntu-latest, 1.85.0) (pull_request) Has been cancelled
ci / test (stable, ubuntu-latest, stable) (pull_request) Has been cancelled
ci / test (stable-aarch64, ubuntu-latest, stable, aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
ci / test (stable-arm-gnueabihf, ubuntu-latest, stable, armv7-unknown-linux-gnueabihf) (pull_request) Has been cancelled
ci / test (stable-arm-musleabi, ubuntu-latest, stable, armv7-unknown-linux-musleabi) (pull_request) Has been cancelled
ci / test (stable-arm-musleabihf, ubuntu-latest, stable, armv7-unknown-linux-musleabihf) (pull_request) Has been cancelled
ci / test (stable-musl, ubuntu-latest, stable, x86_64-unknown-linux-musl) (pull_request) Has been cancelled
ci / test (stable-powerpc64, ubuntu-latest, stable, powerpc64-unknown-linux-gnu) (pull_request) Has been cancelled
ci / test (stable-riscv64, ubuntu-latest, stable, riscv64gc-unknown-linux-gnu) (pull_request) Has been cancelled
ci / test (stable-s390x, ubuntu-latest, stable, s390x-unknown-linux-gnu) (pull_request) Has been cancelled
ci / test (stable-x86, ubuntu-latest, stable, i686-unknown-linux-gnu) (pull_request) Has been cancelled
ci / test (win-gnu, windows-latest, nightly-x86_64-gnu) (pull_request) Has been cancelled
ci / test (win-msvc, windows-latest, nightly) (pull_request) Has been cancelled
ci / test (winaarch64-msvc, windows-11-arm, nightly) (pull_request) Has been cancelled
ci / wasm (pull_request) Has been cancelled
ci / rustfmt (pull_request) Has been cancelled
ci / docs (pull_request) Has been cancelled
ci / Compile Fuzz Test Targets (pull_request) Has been cancelled
2026-01-13 20:35:39 -05:00
ad6ec1b4c5
rgs: added multiline window limit and in-file result indexing (work in progress)
2025-12-23 04:01:55 -05:00
xtqqczze
cd1f981bea
fix: derive Default when possible
...
ci / test (beta, ubuntu-latest, beta) (push) Has been cancelled
ci / test (macos, macos-latest, nightly) (push) Has been cancelled
ci / test (nightly, ubuntu-latest, nightly) (push) Has been cancelled
ci / test (pinned, ubuntu-latest, 1.85.0) (push) Has been cancelled
ci / test (stable, ubuntu-latest, stable) (push) Has been cancelled
ci / test (stable-aarch64, ubuntu-latest, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
ci / test (stable-arm-gnueabihf, ubuntu-latest, stable, armv7-unknown-linux-gnueabihf) (push) Has been cancelled
ci / test (stable-arm-musleabi, ubuntu-latest, stable, armv7-unknown-linux-musleabi) (push) Has been cancelled
ci / test (stable-arm-musleabihf, ubuntu-latest, stable, armv7-unknown-linux-musleabihf) (push) Has been cancelled
ci / test (stable-musl, ubuntu-latest, stable, x86_64-unknown-linux-musl) (push) Has been cancelled
ci / test (stable-powerpc64, ubuntu-latest, stable, powerpc64-unknown-linux-gnu) (push) Has been cancelled
ci / test (stable-riscv64, ubuntu-latest, stable, riscv64gc-unknown-linux-gnu) (push) Has been cancelled
ci / test (stable-s390x, ubuntu-latest, stable, s390x-unknown-linux-gnu) (push) Has been cancelled
ci / test (stable-x86, ubuntu-latest, stable, i686-unknown-linux-gnu) (push) Has been cancelled
ci / test (win-gnu, windows-latest, nightly-x86_64-gnu) (push) Has been cancelled
ci / test (win-msvc, windows-latest, nightly) (push) Has been cancelled
ci / test (winaarch64-msvc, windows-11-arm, nightly) (push) Has been cancelled
ci / wasm (push) Has been cancelled
ci / rustfmt (push) Has been cancelled
ci / docs (push) Has been cancelled
ci / Compile Fuzz Test Targets (push) Has been cancelled
Ref https://rust-lang.github.io/rust-clippy/master/index.html#/derivable_impls
2025-11-29 14:11:38 -05:00
Andrew Gallant
57c190d56e
ignore-0.4.25
ignore-0.4.25
2025-10-30 13:30:14 -04:00
Ian McKellar
85edf4c796
ignore: only stat .jj if we actually care
...
I was comparing the work being done by fd and find and noticed (with
`strace -f -c -S` calls) that fd was doing a ton of failed `statx`
calls. Upon closer inspection it was stating `.jj` even though I
was passing `--no-ignore`. Eventually I turned up this check in
`Ignore::add_child_path` that was doing stat on `.jj` regardless of
whether the options request it.
With this patch it'll only stat `.jj` if that's relevant to the query.
PR #3212
2025-10-30 13:29:58 -04:00
Andrew Gallant
36b7597693
changelog: start next section
2025-10-22 09:02:40 -04:00
Andrew Gallant
a132e56b8c
pkg/brew: update tap
2025-10-22 09:01:12 -04:00
Andrew Gallant
af60c2de9d
15.1.0
release / create-release (push) Has been cancelled
release / build-release (linux, ubuntu-latest, nightly, x86_64-linux-musl-strip, x86_64-unknown-linux-musl) (push) Has been cancelled
release / build-release (macos, macos-latest, nightly, aarch64-apple-darwin) (push) Has been cancelled
release / build-release (macos, macos-latest, nightly, x86_64-apple-darwin) (push) Has been cancelled
release / build-release (stable-aarch64, ubuntu-latest, qemu-aarch64, stable, aarch64-linux-gnu-strip, aarch64-unknown-linux-gnu) (push) Has been cancelled
release / build-release (stable-arm-gnueabihf, ubuntu-latest, qemu-arm, stable, arm-linux-gnueabihf-strip, armv7-unknown-linux-gnueabihf) (push) Has been cancelled
release / build-release (stable-arm-musleabi, ubuntu-latest, qemu-arm, stable, arm-linux-musleabi-strip, armv7-unknown-linux-musleabi) (push) Has been cancelled
release / build-release (stable-arm-musleabihf, ubuntu-latest, qemu-arm, stable, arm-linux-musleabihf-strip, armv7-unknown-linux-musleabihf) (push) Has been cancelled
release / build-release (stable-s390x, ubuntu-latest, qemu-s390x, stable, s390x-linux-gnu-strip, s390x-unknown-linux-gnu) (push) Has been cancelled
release / build-release (stable-x86, ubuntu-latest, i386, stable, x86_64-linux-gnu-strip, i686-unknown-linux-gnu) (push) Has been cancelled
release / build-release (win-gnu, windows-latest, nightly-x86_64-gnu, x86_64-pc-windows-gnu) (push) Has been cancelled
release / build-release (win-msvc, windows-latest, nightly, x86_64-pc-windows-msvc) (push) Has been cancelled
release / build-release (win32-msvc, windows-latest, nightly, i686-pc-windows-msvc) (push) Has been cancelled
release / build-release (winaarch64-msvc, windows-11-arm, nightly, aarch64-pc-windows-msvc) (push) Has been cancelled
release / build-release-deb (push) Has been cancelled
15.1.0
2025-10-22 08:30:04 -04:00
Andrew Gallant
a63671efb0
deps: bump to grep 0.4.1
2025-10-22 08:29:19 -04:00
Andrew Gallant
2ea06d69aa
grep-0.4.1
grep-0.4.1
2025-10-22 08:28:53 -04:00
Andrew Gallant
85006b08d6
deps: bump to grep-printer 0.3.1
2025-10-22 08:28:32 -04:00
Andrew Gallant
423afb8513
grep-printer-0.3.1
grep-printer-0.3.1
2025-10-22 08:28:06 -04:00
Andrew Gallant
4694800be5
deps: bump to grep-searcher 0.1.16
2025-10-22 08:26:22 -04:00
Andrew Gallant
86e0ab12ef
grep-searcher-0.1.16
grep-searcher-0.1.16
2025-10-22 08:25:01 -04:00
Andrew Gallant
7189950799
deps: bump to globset 0.4.18
2025-10-22 08:24:51 -04:00
Andrew Gallant
0b0e013f5a
globset-0.4.18
globset-0.4.18
2025-10-22 08:23:57 -04:00
Andrew Gallant
cac9870a02
doc: update date in man page template
2025-10-22 08:23:05 -04:00
Andrew Gallant
bee13375ed
deps: update everything
2025-10-22 08:21:56 -04:00
Andrew Gallant
f5be160839
changelog: 15.1.0
2025-10-22 08:21:34 -04:00
Jorge Gomez
24e88dc15b
ignore/types: add ssa type
...
This PR adds support for [.ssa](https://en.wikipedia.org/wiki/Static_single-assignment_form ) files as read by [qbe](https://c9x.me/compile/ ):
See: https://c9x.me/compile/doc/il.html#Input-Files
2025-10-22 08:18:30 -04:00
Andrew Gallant
5748f81bb1
printer: use doc_cfg instead of doc_auto_cfg
...
Fixes #3202
2025-10-22 07:47:07 -04:00
Andrew Gallant
d47663b1b4
searcher: fix regression with --line-buffered flag
...
In my fix for #3184 , I actually had two fixes. One was a tweak to how we
read data and the other was a tweak to how we determined how much of the
buffer we needed to keep around. It turns out that fixing #3184 only
required the latter fix, found in commit
d4b77a8d89 . The former fix also helped the
specific case of #3184 , but it ended up regressing `--line-buffered`.
Specifically, previous to 8c6595c215 (the
first fix), we would do one `read` syscall. This call might not fill our
caller provided buffer. And in particular, `stdin` seemed to fill fewer
bytes than reading from a file. So the "fix" was to put `read` in a loop
and keep calling it until the caller provided buffer was full or until
the stream was exhausted. This helped alleviate #3184 by amortizing
`read` syscalls better.
But of course, in retrospect, this change is clearly contrary to how
`--line-buffered` works. We specifically do _not_ want to wait around
until the buffer is full. We want to read what we can, search it and
move on.
So this reverts the first fix but leaves the second, which still
keeps #3184 fixed and also fixes #3194 (the regression).
This reverts commit 8c6595c215 .
Fixes #3194
2025-10-19 11:06:39 -04:00
Enoch
38d630261a
printer: add Cursor hyperlink alias
...
This is similar to the other aliases used by
VS Code forks.
PR #3192
2025-10-17 14:59:17 -04:00
Andrew Gallant
b3dc4b0998
globset: improve debug log
...
This shows the regex that the glob was compiled to.
2025-10-17 10:27:19 -04:00
Andrew Gallant
f09b55b8e7
changelog: start next section
2025-10-15 23:32:00 -04:00
Andrew Gallant
0551c6b931
pkg/brew: update tap
2025-10-15 23:31:35 -04:00
Andrew Gallant
3a612f88b8
15.0.0
release / create-release (push) Has been cancelled
release / build-release (linux, ubuntu-latest, nightly, x86_64-linux-musl-strip, x86_64-unknown-linux-musl) (push) Has been cancelled
release / build-release (macos, macos-latest, nightly, aarch64-apple-darwin) (push) Has been cancelled
release / build-release (macos, macos-latest, nightly, x86_64-apple-darwin) (push) Has been cancelled
release / build-release (stable-aarch64, ubuntu-latest, qemu-aarch64, stable, aarch64-linux-gnu-strip, aarch64-unknown-linux-gnu) (push) Has been cancelled
release / build-release (stable-arm-gnueabihf, ubuntu-latest, qemu-arm, stable, arm-linux-gnueabihf-strip, armv7-unknown-linux-gnueabihf) (push) Has been cancelled
release / build-release (stable-arm-musleabi, ubuntu-latest, qemu-arm, stable, arm-linux-musleabi-strip, armv7-unknown-linux-musleabi) (push) Has been cancelled
release / build-release (stable-arm-musleabihf, ubuntu-latest, qemu-arm, stable, arm-linux-musleabihf-strip, armv7-unknown-linux-musleabihf) (push) Has been cancelled
release / build-release (stable-s390x, ubuntu-latest, qemu-s390x, stable, s390x-linux-gnu-strip, s390x-unknown-linux-gnu) (push) Has been cancelled
release / build-release (stable-x86, ubuntu-latest, i386, stable, x86_64-linux-gnu-strip, i686-unknown-linux-gnu) (push) Has been cancelled
release / build-release (win-gnu, windows-latest, nightly-x86_64-gnu, x86_64-pc-windows-gnu) (push) Has been cancelled
release / build-release (win-msvc, windows-latest, nightly, x86_64-pc-windows-msvc) (push) Has been cancelled
release / build-release (win32-msvc, windows-latest, nightly, i686-pc-windows-msvc) (push) Has been cancelled
release / build-release (winaarch64-msvc, windows-11-arm, nightly, aarch64-pc-windows-msvc) (push) Has been cancelled
release / build-release-deb (push) Has been cancelled
15.0.0
2025-10-15 23:07:50 -04:00
Andrew Gallant
ca2e34f37c
grep-0.4.0
grep-0.4.0
2025-10-15 23:06:34 -04:00
Andrew Gallant
a6092beee4
deps: bump to grep-printer 0.3.0
2025-10-15 23:05:10 -04:00
Andrew Gallant
a0d61a063f
grep-printer-0.3.0
grep-printer-0.3.0
2025-10-15 23:04:24 -04:00
Andrew Gallant
c22fc0f13c
deps: bump to grep-searcher 0.1.15
2025-10-15 23:02:59 -04:00
Andrew Gallant
087f82273d
grep-searcher-0.1.15
grep-searcher-0.1.15
2025-10-15 23:02:33 -04:00
Andrew Gallant
a3a30896be
deps: bump to grep-pcre2 0.1.9
2025-10-15 23:01:31 -04:00
Andrew Gallant
7397ab7d97
grep-pcre2-0.1.9
grep-pcre2-0.1.9
2025-10-15 23:01:07 -04:00
Andrew Gallant
cf1dab0d5a
deps: bump to grep-regex 0.1.14
2025-10-15 23:00:58 -04:00
Andrew Gallant
e523c6bf32
grep-regex-0.1.14
grep-regex-0.1.14
2025-10-15 23:00:22 -04:00
Andrew Gallant
720376ead6
deps: bump to grep-matcher 0.1.8
2025-10-15 23:00:12 -04:00
Andrew Gallant
a5ba50ceaf
grep-matcher-0.1.8
grep-matcher-0.1.8
2025-10-15 22:59:35 -04:00
Andrew Gallant
a766f79710
deps: bump to grep-cli 0.1.12
2025-10-15 22:59:17 -04:00
Andrew Gallant
4aafe45760
grep-cli-0.1.12
grep-cli-0.1.12
2025-10-15 22:58:42 -04:00
Andrew Gallant
c03e49b8c5
deps: bump to ignore 0.4.24
2025-10-15 22:58:35 -04:00
Andrew Gallant
70ae7354e1
ignore-0.4.24
ignore-0.4.24
2025-10-15 22:57:50 -04:00
Andrew Gallant
19c2a6e0d9
deps: bump to globset 0.4.17
2025-10-15 22:57:28 -04:00
Andrew Gallant
064b36b115
globset-0.4.17
globset-0.4.17
2025-10-15 22:55:55 -04:00
Andrew Gallant
365384a5c1
doc: move CHANGELOG update before dependency updates
...
It seems better to write this first. Especially so it gets included into
crate publishes.
2025-10-15 22:54:51 -04:00
Andrew Gallant
72a5291b4e
doc: update date in man page template
2025-10-15 22:54:11 -04:00
Andrew Gallant
62e676843a
deps: update everything
2025-10-15 22:53:30 -04:00
Andrew Gallant
3780168c13
changelog: 15.0.0
2025-10-15 22:53:30 -04:00
Andrew Gallant
4c953731c4
release: finally switch to LTO for release binaries
...
There seems to be a modest improvement on some workloads:
```
$ time rg -co '\w+' sixteenth.txt
158520346
real 8.457
user 8.426
sys 0.020
maxmem 779 MB
faults 0
$ time rg-lto -co '\w+' sixteenth.txt
158520346
real 8.200
user 8.178
sys 0.012
maxmem 778 MB
faults 0
```
I've somewhat reversed course on my previous thoughts here. The
improvement isn't much, but the hit to compile times in CI isn't
terrible. Mostly I'm doing this out of "good sense," and I think it's
generally unlikely to make it more difficult for me to diagnose
performance problems. (Since I still use the default `release` profile
locally, since it's about an order of magnitude quicker to compile.)
Ref #325 , Ref #413 , Ref #1187 , Ref #1255
2025-10-15 22:51:41 -04:00