Commit Graph

171 Commits

Author SHA1 Message Date
Joseph LaFreniere
f19e173585
fixup! Implement async postproc_pagebreaks 2022-12-22 16:47:05 -06:00
Joseph LaFreniere
af168efe1a
Implement async postproc_pagebreaks 2022-12-22 15:15:33 -06:00
Joseph LaFreniere
454e47d2ac
Run cargo fmt across repository 2022-12-08 22:08:24 -06:00
phiresky
7c7b6a03ae add doc to postproc 2022-11-28 10:46:58 +01:00
phiresky
54799f1452 partial recursion + postproc 2022-11-13 00:31:25 +01:00
phiresky
937b1a81ac less duplication 2022-11-05 01:01:05 +01:00
phiresky
be0b78a072 format 2022-11-05 00:48:45 +01:00
phiresky
42fe225373 fix pinning and sending 2022-11-05 00:47:43 +01:00
phiresky
002c62f57c cleanup (WIP) 2022-10-30 02:34:56 +02:00
phiresky
f401a96386 prepare for recursion 2022-10-30 00:24:46 +02:00
phiresky
af8cf228b3 remove lifetimes, fix 2022-10-29 23:56:25 +02:00
phiresky
906043060b lint 2022-10-29 21:52:58 +02:00
phiresky
cde0e209d2 partial move to async 2022-10-29 20:54:05 +02:00
phiresky
94f06fba37 upgrade dependencies 2022-10-26 17:21:39 +02:00
phiresky
9e933ca760
Merge pull request #120 from dloss/fix-help-rga-cache-path
Fix help message for --rga-cache-path
2022-06-12 11:02:12 +02:00
phiresky
db32d8a736
Merge pull request #132 from liskin/stable-rust
fix build with stable rust
2022-06-12 11:00:41 +02:00
Tomas Janousek
45b7b7ae6f rustfmt 2022-04-18 22:44:01 +02:00
Tomas Janousek
33da311ee9 fix build with stable rust
negative_impls feature doesn't seem to be needed
2022-04-18 20:05:21 +02:00
Dirk Loss
6cd0a01595 Fix help message for --rga-cache-path
Former message was a copy of --rga-cache-compression-level
2021-10-17 15:44:07 +02:00
phiresky
2d63efd315 note about deadlock 2021-08-28 17:25:40 +02:00
phiresky
a7bbd93845 fix spawning adapters 2021-08-26 16:00:27 +02:00
phiresky
020000cc77 fixes to postprocessing 2021-08-26 14:54:42 +02:00
phiresky
92cbfd9c85
Merge pull request #79 from cpick/mention-graphicsmagick
Revert "Fix error message mentionning graphicsmagick instead of imagemagick"
2020-12-03 15:14:23 +01:00
Chris Pick
b48f4ce682 Revert "Fix error message mentionning graphicsmagick instead of imagemagick"
As mentioned in
[a followup comment](https://github.com/phiresky/ripgrep-all/pull/19#issuecomment-633287929)
when this change from "graphicsmagick" to "imagemagick" was originally
merged, the code does currently call `gm` (src/adapters/pdfpages.rs:62)
and so does, in fact, need the "graphicsmagick" package.

This reverts commit 6d2df9162c.
2020-12-02 18:35:07 -05:00
MoonFruit
e39fdff1af
Add jar to zip adapter 2020-10-22 17:59:09 +08:00
phiresky
baca166fda fix prefixing 2020-09-30 17:26:42 +02:00
phiresky
dfc10cbb53 fix custom adapters 2020-09-30 16:49:56 +02:00
phiresky
ab5ddcad2e prefixing postprocessor 2020-09-30 16:22:54 +02:00
phiresky
cc744176ca small amount of progress 2020-09-28 22:55:55 +02:00
phiresky
bcc01f7a62 refactoring (partial) 2020-09-10 20:39:31 +02:00
phiresky
977074c6e6 rename FileMatcher 2020-09-10 20:39:31 +02:00
phiresky
0895e7a6cf continue refactoring 2020-09-10 20:39:31 +02:00
phiresky
766211edc4 partial fixes 2020-06-12 00:09:49 +02:00
phiresky
2f580b135a partial migration to read->read 2020-06-11 23:11:47 +02:00
phiresky
d0d74adfe9 try read -> read fn 2020-06-11 14:38:50 +02:00
Matt Brubeck
8768afc2c8 Switch to tree_magic_mini fork 2020-06-10 08:56:52 -07:00
phiresky
05e1822299 custom adapters doc file (incomplete) 2020-06-09 22:45:42 +02:00
phiresky
8070a94d84 make poppler and pandoc internal custom adapters 2020-06-09 18:27:22 +02:00
phiresky
144b554f0d zip print bytes pretty 2020-06-09 13:27:34 +02:00
phiresky
7b70188d77 add lots of debug logs, perf timings 2020-06-09 13:25:38 +02:00
phiresky
5410da1133 add lots of debug and timings 2020-06-09 12:47:34 +02:00
phiresky
94099baeb3 custom adapter initial 2020-06-09 01:45:52 +02:00
phiresky
963524bbf5 config file (WIP) 2020-06-08 23:11:43 +02:00
phiresky
0001feb24b add experimental rga-fzf binary 2020-06-08 14:02:00 +02:00
phiresky
501da361ee fix newlines in readme 2020-06-06 15:09:22 +02:00
phiresky
46896f13ac update adapters section in readme automatically 2020-06-06 15:07:59 +02:00
phiresky
32021c3567 auto update readme 2020-06-06 15:01:53 +02:00
phiresky
cb6ad328a2 better errors 2020-06-06 13:18:30 +02:00
phiresky
f2d9393832 switch failure -> anyhow, parse byte suffix in cache-max-blob-len 2020-06-06 12:57:43 +02:00
phiresky
5d97c2ad5f log which command is being run in spawning file adapters 2020-05-20 15:59:14 +02:00
phiresky
faabfa5a42
Merge pull request #51 from liskin/patch-1
fix help for --rga-cache-max-blob-len
2020-05-19 12:48:58 +02:00
phiresky
45dd3346cd fix hyphenation in PDFs 2020-05-19 12:03:44 +02:00
phiresky
d0dcd97232 rustfmt 2020-05-19 12:00:20 +02:00
Tomáš Janoušek
758d0d13c3
fix help for --rga-cache-max-blob-len
Since the arguments are preprocessed in `split_args`, all option arguments must
use equals. This was missing for --rga-cache-max-blob-len and the help was then
misleading:

        --rga-cache-max-blob-len <cache-max-blob-len>
            Max compressed size to cache
2020-05-19 11:50:18 +02:00
phiresky
63a9618357 case insensitive extension matching (fixes #43) 2020-05-19 11:47:21 +02:00
phiresky
2924c8e007 use github workflow instead of travis 2020-05-19 11:10:11 +02:00
phiresky
32c3431837 upgrade dependencies, lints 2020-04-08 12:47:42 +02:00
phiresky
9f11906151 change binary search path, fix #32 2020-04-08 12:40:45 +02:00
phiresky
da10b5c1c9 allow mime type matching for pdf (#39) 2020-04-08 12:33:48 +02:00
Steve Mokris
5bef602958 In readme and built-in help, add cache location on macOS and Windows. 2020-01-12 20:25:28 -05:00
Oleksii Filonenko
9d6cea3d40
Fix SqlAdapter::format_blob (rusqlite API change)
https://docs.rs/rusqlite/0.20.0/rusqlite/types/enum.ValueRef.html#method.as_str
2019-07-27 23:00:28 +03:00
Julien Nicoulaud
6d2df9162c
Fix error message mentionning graphicsmagick instead of imagemagick 2019-06-24 10:47:22 +02:00
Sven-Hendrik Haase
3745f1b2a5
Fix typo 2019-06-23 07:02:25 +02:00
phiresky
002a5e3756 add msvc redistributable to readme 2019-06-19 16:07:49 +02:00
phiresky
04aea49136 readd other platforms, fix windows 2019-06-19 10:58:02 +02:00
phiresky
e4c0cb8349 add windows dependencies and update readme 2019-06-18 22:54:31 +02:00
phiresky
9201add7e0 use exitfailure for cleaner fail output 2019-06-18 21:39:33 +02:00
phiresky
268c313c2f fix test on windows 2019-06-18 16:20:50 +02:00
phiresky
9c285670fd shorten debug output on failure (#7) 2019-06-18 12:15:12 +02:00
phiresky
29b8f1dee4 bring utf16 decoding to parity with ripgrep 2019-06-18 12:13:37 +02:00
phiresky
89fb6cc1a9 fix file ending regex (#13) 2019-06-17 13:00:55 +02:00
phiresky
addb7f7060 less useless log 2019-06-16 23:46:14 +02:00
phiresky
7efd8638ce prevent panic on broken tar checksum 2019-06-16 22:48:28 +02:00
phiresky
5901cdcb5d fix cache key 2019-06-16 12:19:01 +02:00
phiresky
8400a4a2bb decompress: match mime type correctly 2019-06-16 12:05:27 +02:00
phiresky
21f5178d15 pass detection reason to adapter 2019-06-16 11:37:27 +02:00
phiresky
d8b57f2f8a split decompress adapter 2019-06-16 11:07:29 +02:00
phiresky
f6d44bd1da add adapters list to readme 2019-06-15 21:22:07 +02:00
phiresky
5bf57a07d3 (cargo-release) version 0.8.7 2019-06-15 11:00:45 +02:00
phiresky
0dffbf2904 to plain 2019-06-14 16:20:48 +02:00
phiresky
5f2b5e3399 more documentation 2019-06-13 16:26:03 +02:00
phiresky
d0a1f8962b doc 2019-06-13 15:22:33 +02:00
phiresky
e5246491b0 better documentation 2019-06-12 22:55:18 +02:00
phiresky
1f6e793a7f tesseract single threaded 2019-06-12 17:44:47 +02:00
phiresky
1e9c2e45d6 add tesseract adapter 2019-06-12 17:23:30 +02:00
phiresky
d1b55e80b7 allow adapters to be disabled by default 2019-06-12 12:39:27 +02:00
phiresky
c8f346c4dd restructure 2019-06-12 12:25:29 +02:00
phiresky
8353c68f79 rename crate 2019-06-11 20:35:20 +02:00
phiresky
69b566d8e4 smart case by default 2019-06-11 16:06:23 +02:00
phiresky
c27bc4edf2 order adapters according to original priorities 2019-06-11 14:40:58 +02:00
phiresky
bca435557b fix --rga-accurate (matching by mime types) 2019-06-11 14:11:08 +02:00
phiresky
e9bd500c1e split args 2019-06-11 13:44:00 +02:00
phiresky
0489a49d66 add slow matching (base) 2019-06-11 13:35:28 +02:00
phiresky
a4c82de43d actually implement choosing adapters 2019-06-08 00:04:48 +02:00
phiresky
d8fcf7b015 fix caching 2019-06-07 23:17:33 +02:00
phiresky
d06d27709b more options, less constants 2019-06-07 23:04:18 +02:00
phiresky
0cedf72de6 fix 2019-06-07 21:46:17 +02:00
phiresky
dfb1df2e92 better arg parsing and passing 2019-06-07 21:46:03 +02:00
phiresky
5d9dee15e8 check for too deep archive recursion 2019-06-07 20:12:24 +02:00
phiresky
9c5efa1970 pass around config object 2019-06-07 19:00:24 +02:00