Commit Graph

277 Commits (master)

Author SHA1 Message Date
Carlos López 68437ede53 grep: add --max-count command line option 3 months ago
René Scharfe 97169fc361 grep: fix triggering PCRE2_NO_START_OPTIMIZE workaround 7 months ago
Ævar Arnfjörð Bjarmason 04bf052eef grep: simplify config parsing and option parsing 7 months ago
Ævar Arnfjörð Bjarmason ae807d778f grep.c: do "if (bool && memchr())" not "if (memchr() && bool)" 7 months ago
Ævar Arnfjörð Bjarmason 72365bb499 grep API: call grep_config() after grep_init() 7 months ago
Ævar Arnfjörð Bjarmason 9725c8dda2 built-ins: trust the "prefix" from run_builtin() 7 months ago
Taylor Blau 0a6adc26e2 grep: use grep_and_expr() in compile_pattern_and() 9 months ago
Taylor Blau f2d275984d grep: extract grep_binexp() from grep_or_expr() 9 months ago
René Scharfe e2b154277a grep: use grep_not_expr() in compile_pattern_not() 9 months ago
René Scharfe 9dbf00ba78 grep: use grep_or_expr() in compile_pattern_or() 9 months ago
Lénaïc Huard b83f99c399 grep: align default colors with GNU grep ones 9 months ago
René Scharfe 32e3e8bc55 grep/pcre2: factor out literal variable 9 months ago
René Scharfe dc2c44fbb1 grep/pcre2: use PCRE2_UTF even with ASCII patterns 9 months ago
René Scharfe 794c000267 log: let --invert-grep only invert --grep 9 months ago
Junio C Hamano e7f3925bed Revert "grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data" 10 months ago
Hamza Mahfooz ae39ba431a grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data 11 months ago
Hamza Mahfooz 3f566c4e69 grep: refactor next_match() and match_one_pattern() for external use 1 year ago
Jeff King 1e66871608 grep: store grep_source buffer as const 1 year ago
Jeff King 1a845fbc48 grep: mark "haystack" buffers as const 1 year ago
Jeff King f84e79ff4b grep: stop modifying buffer in grep_source_1() 1 year ago
Jeff King 995e525b17 grep: stop modifying buffer in show_line() 1 year ago
Jeff King cc8e26ee8d grep: stop modifying buffer in strip_timestamp 1 year ago
Jonathan Tan 0693806bf8 grep: add repository to OID grep sources 1 year ago
Jonathan Tan 50d92b5f03 grep: typesafe versions of grep_source_init 1 year ago
René Scharfe fe7fe62d8d grep: report missing left operand of --and 1 year ago
brian m. carlson 14228447c9 hash: provide per-algorithm null OIDs 1 year ago
René Scharfe ca56dadb4b use CALLOC_ARRAY 2 years ago
Ævar Arnfjörð Bjarmason c1760352e0 grep/pcre2: move definitions of pcre2_{malloc,free} 2 years ago
Ævar Arnfjörð Bjarmason cbe81e653f grep/pcre2: move back to thread-only PCREv2 structures 2 years ago
Ævar Arnfjörð Bjarmason 8d12851342 grep/pcre2: actually make pcre2 use custom allocator 2 years ago
Ævar Arnfjörð Bjarmason b76bf27f6a grep/pcre2: use pcre2_maketables_free() function 2 years ago
Ævar Arnfjörð Bjarmason 797c359978 grep/pcre2: use compile-time PCREv2 version test 2 years ago
Ævar Arnfjörð Bjarmason a39b4003f0 grep/pcre2: add GREP_PCRE2_DEBUG_MALLOC debug mode 2 years ago
Ævar Arnfjörð Bjarmason 588e4fb191 grep/pcre2: prepare to add debugging to pcre2_malloc() 2 years ago
Ævar Arnfjörð Bjarmason 47eebd2fd2 grep/pcre2: correct reference to grep_init() in comment 2 years ago
Ævar Arnfjörð Bjarmason 1cfc5a850c grep/pcre2: drop needless assignment to NULL 2 years ago
Ævar Arnfjörð Bjarmason 0ddf8ceac0 grep/pcre2: drop needless assignment + assert() on opt->pcre2 2 years ago
Ævar Arnfjörð Bjarmason 15c9649730 grep/log: remove hidden --debug and --grep-debug options 2 years ago
Ævar Arnfjörð Bjarmason 95ca1f987e grep/pcre2: better support invalid UTF-8 haystacks 2 years ago
Ævar Arnfjörð Bjarmason 7599730b7e Remove support for v1 of the PCRE library 2 years ago
Martin Ågren 6ba9bb76e0 grep: copy struct in one fell swoop 2 years ago
Martin Ågren 96313423a7 grep: use designated initializers for `grep_defaults` 2 years ago
Martin Ågren 1d3878799f grep: don't set up a "default" repo for grep 2 years ago
Steve Kemp 84544f2ea3 comment: fix spelling mistakes inside comments 2 years ago
Matheus Tavares 1d1729caeb grep: replace grep_read_mutex by internal obj read lock 3 years ago
Matheus Tavares c3a5bb31c1 grep: fix race conditions on userdiff calls 3 years ago
Hans Jerry Illikainen 867fc7f310 grep: don't return an expression from pcre2_free() 3 years ago
Carlo Marcelo Arenas Belón 10da030ab7 grep: avoid leak of chartables in PCRE2 3 years ago
Carlo Marcelo Arenas Belón 513f2b0bbd grep: make PCRE2 aware of custom allocator 3 years ago
Carlo Marcelo Arenas Belón 57d4660468 grep: make PCRE1 aware of custom allocator 3 years ago