summaryrefslogtreecommitdiff
path: root/grep.c
AgeCommit message (Expand)AuthorFilesLines
2021-11-19Revert "grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 data"Libravatar Junio C Hamano1-4/+2
2021-10-15grep/pcre2: fix an edge case concerning ascii patterns and UTF-8 dataLibravatar Hamza Mahfooz1-2/+4
2021-09-29grep: refactor next_match() and match_one_pattern() for external useLibravatar Hamza Mahfooz1-30/+49
2021-09-22grep: store grep_source buffer as constLibravatar Jeff King1-3/+6
2021-09-22grep: mark "haystack" buffers as constLibravatar Jeff King1-26/+35
2021-09-22grep: stop modifying buffer in grep_source_1()Libravatar Jeff King1-4/+1
2021-09-22grep: stop modifying buffer in show_line()Libravatar Jeff King1-3/+0
2021-09-22grep: stop modifying buffer in strip_timestampLibravatar Jeff King1-10/+3
2021-09-08grep: add repository to OID grep sourcesLibravatar Jonathan Tan1-2/+5
2021-09-08grep: typesafe versions of grep_source_initLibravatar Jonathan Tan1-18/+28
2021-07-13Merge branch 'rs/grep-parser-fix'Libravatar Junio C Hamano1-0/+2
2021-06-30grep: report missing left operand of --andLibravatar René Scharfe1-0/+2
2021-04-27hash: provide per-algorithm null OIDsLibravatar brian m. carlson1-1/+1
2021-03-22Merge branch 'ab/grep-pcre2-allocfix'Libravatar Junio C Hamano1-56/+43
2021-03-13use CALLOC_ARRAYLibravatar René Scharfe1-4/+4
2021-02-17grep/pcre2: move definitions of pcre2_{malloc,free}Libravatar Ævar Arnfjörð Bjarmason1-24/+22
2021-02-17grep/pcre2: move back to thread-only PCREv2 structuresLibravatar Ævar Arnfjörð Bjarmason1-26/+15
2021-02-17grep/pcre2: actually make pcre2 use custom allocatorLibravatar Ævar Arnfjörð Bjarmason1-2/+2
2021-02-17grep/pcre2: use pcre2_maketables_free() functionLibravatar Ævar Arnfjörð Bjarmason1-0/+4
2021-02-17grep/pcre2: use compile-time PCREv2 version testLibravatar Ævar Arnfjörð Bjarmason1-14/+4
2021-02-17grep/pcre2: add GREP_PCRE2_DEBUG_MALLOC debug modeLibravatar Ævar Arnfjörð Bjarmason1-0/+10
2021-02-17grep/pcre2: prepare to add debugging to pcre2_malloc()Libravatar Ævar Arnfjörð Bjarmason1-1/+2
2021-02-17grep/pcre2: correct reference to grep_init() in commentLibravatar Ævar Arnfjörð Bjarmason1-1/+1
2021-02-17grep/pcre2: drop needless assignment to NULLLibravatar Ævar Arnfjörð Bjarmason1-2/+0
2021-02-17grep/pcre2: drop needless assignment + assert() on opt->pcre2Libravatar Ævar Arnfjörð Bjarmason1-3/+0
2021-02-10Merge branch 'ab/grep-pcre-invalid-utf8'Libravatar Junio C Hamano1-1/+17
2021-02-10Merge branch 'ab/retire-pcre1'Libravatar Junio C Hamano1-115/+2
2021-01-26grep/log: remove hidden --debug and --grep-debug optionsLibravatar Ævar Arnfjörð Bjarmason1-99/+2
2021-01-24grep/pcre2: better support invalid UTF-8 haystacksLibravatar Ævar Arnfjörð Bjarmason1-1/+17
2021-01-23Remove support for v1 of the PCRE libraryLibravatar Ævar Arnfjörð Bjarmason1-117/+2
2020-11-30grep: copy struct in one fell swoopLibravatar Martin Ågren1-23/+10
2020-11-21grep: use designated initializers for `grep_defaults`Libravatar Martin Ågren1-39/+25
2020-11-21grep: don't set up a "default" repo for grepLibravatar Martin Ågren1-2/+1
2020-07-29comment: fix spelling mistakes inside commentsLibravatar Steve Kemp1-1/+1
2020-01-17grep: replace grep_read_mutex by internal obj read lockLibravatar Matheus Tavares1-20/+19
2020-01-17grep: fix race conditions on userdiff callsLibravatar Matheus Tavares1-1/+6
2019-11-30grep: don't return an expression from pcre2_free()Libravatar Hans Jerry Illikainen1-1/+1
2019-10-23Merge branch 'cb/pcre2-chartables-leakfix'Libravatar Junio C Hamano1-3/+44
2019-10-18grep: avoid leak of chartables in PCRE2Libravatar Carlo Marcelo Arenas Belón1-3/+4
2019-10-18grep: make PCRE2 aware of custom allocatorLibravatar Carlo Marcelo Arenas Belón1-1/+33
2019-10-18grep: make PCRE1 aware of custom allocatorLibravatar Carlo Marcelo Arenas Belón1-0/+8
2019-10-11Merge branch 'cb/pcre1-cleanup'Libravatar Junio C Hamano1-6/+10
2019-10-11Merge branch 'ab/pcre-jit-fixes'Libravatar Junio C Hamano1-108/+70
2019-10-06Merge branch 'cb/skip-utf8-check-with-pcre1'Libravatar Junio C Hamano1-1/+1
2019-09-09grep: skip UTF8 checks explicitlyLibravatar Carlo Marcelo Arenas Belón1-1/+1
2019-08-26grep: refactor and simplify PCRE1 supportLibravatar Carlo Marcelo Arenas Belón1-6/+10
2019-08-19grep: under --debug, show whether PCRE JIT is enabledLibravatar Beat Bolli1-0/+7
2019-07-29Merge branch 'bb/grep-pcre2-bug-message-fix'Libravatar Junio C Hamano1-1/+1
2019-07-26grep: do not enter PCRE2_UTF mode on fixed matchingLibravatar Ævar Arnfjörð Bjarmason1-1/+2
2019-07-26grep: stess test PCRE v2 on invalid UTF-8 dataLibravatar Ævar Arnfjörð Bjarmason1-0/+10