summaryrefslogtreecommitdiff
path: root/grep.c
Commit message (Expand)AuthorAgeFilesLines
* grep: store grep_source buffer as constJeff King2021-09-221-3/+6
* grep: mark "haystack" buffers as constJeff King2021-09-221-26/+35
* grep: stop modifying buffer in grep_source_1()Jeff King2021-09-221-4/+1
* grep: stop modifying buffer in show_line()Jeff King2021-09-221-3/+0
* grep: stop modifying buffer in strip_timestampJeff King2021-09-221-10/+3
* grep: add repository to OID grep sourcesJonathan Tan2021-09-081-2/+5
* grep: typesafe versions of grep_source_initJonathan Tan2021-09-081-18/+28
* Merge branch 'rs/grep-parser-fix'Junio C Hamano2021-07-131-0/+2
|\
| * grep: report missing left operand of --andRené Scharfe2021-06-301-0/+2
* | hash: provide per-algorithm null OIDsbrian m. carlson2021-04-271-1/+1
* | Merge branch 'ab/grep-pcre2-allocfix'Junio C Hamano2021-03-221-56/+43
|\ \
| * | grep/pcre2: move definitions of pcre2_{malloc,free}Ævar Arnfjörð Bjarmason2021-02-171-24/+22
| * | grep/pcre2: move back to thread-only PCREv2 structuresÆvar Arnfjörð Bjarmason2021-02-171-26/+15
| * | grep/pcre2: actually make pcre2 use custom allocatorÆvar Arnfjörð Bjarmason2021-02-171-2/+2
| * | grep/pcre2: use pcre2_maketables_free() functionÆvar Arnfjörð Bjarmason2021-02-171-0/+4
| * | grep/pcre2: use compile-time PCREv2 version testÆvar Arnfjörð Bjarmason2021-02-171-14/+4
| * | grep/pcre2: add GREP_PCRE2_DEBUG_MALLOC debug modeÆvar Arnfjörð Bjarmason2021-02-171-0/+10
| * | grep/pcre2: prepare to add debugging to pcre2_malloc()Ævar Arnfjörð Bjarmason2021-02-171-1/+2
| * | grep/pcre2: correct reference to grep_init() in commentÆvar Arnfjörð Bjarmason2021-02-171-1/+1
| * | grep/pcre2: drop needless assignment to NULLÆvar Arnfjörð Bjarmason2021-02-171-2/+0
| * | grep/pcre2: drop needless assignment + assert() on opt->pcre2Ævar Arnfjörð Bjarmason2021-02-171-3/+0
* | | use CALLOC_ARRAYRené Scharfe2021-03-131-4/+4
|/ /
* | Merge branch 'ab/grep-pcre-invalid-utf8'Junio C Hamano2021-02-101-1/+17
|\ \
| * | grep/pcre2: better support invalid UTF-8 haystacksÆvar Arnfjörð Bjarmason2021-01-241-1/+17
* | | Merge branch 'ab/retire-pcre1'Junio C Hamano2021-02-101-115/+2
|\ \ \
| * | | Remove support for v1 of the PCRE libraryÆvar Arnfjörð Bjarmason2021-01-231-117/+2
| |/ /
* | | grep/log: remove hidden --debug and --grep-debug optionsÆvar Arnfjörð Bjarmason2021-01-261-99/+2
|/ /
* | grep: copy struct in one fell swoopMartin Ågren2020-11-301-23/+10
* | grep: use designated initializers for `grep_defaults`Martin Ågren2020-11-211-39/+25
* | grep: don't set up a "default" repo for grepMartin Ågren2020-11-211-2/+1
* | comment: fix spelling mistakes inside commentsSteve Kemp2020-07-291-1/+1
* | grep: replace grep_read_mutex by internal obj read lockMatheus Tavares2020-01-171-20/+19
* | grep: fix race conditions on userdiff callsMatheus Tavares2020-01-171-1/+6
* | grep: don't return an expression from pcre2_free()Hans Jerry Illikainen2019-11-301-1/+1
* | Merge branch 'cb/pcre2-chartables-leakfix'Junio C Hamano2019-10-231-3/+44
|\ \
| * | grep: avoid leak of chartables in PCRE2Carlo Marcelo Arenas Belón2019-10-181-3/+4
| * | grep: make PCRE2 aware of custom allocatorCarlo Marcelo Arenas Belón2019-10-181-1/+33
| * | grep: make PCRE1 aware of custom allocatorCarlo Marcelo Arenas Belón2019-10-181-0/+8
* | | Merge branch 'cb/pcre1-cleanup'Junio C Hamano2019-10-111-6/+10
|\ \ \
| * | | grep: refactor and simplify PCRE1 supportCarlo Marcelo Arenas Belón2019-08-261-6/+10
* | | | Merge branch 'ab/pcre-jit-fixes'Junio C Hamano2019-10-111-108/+70
|\ \ \ \ | |/ / /
| * | | grep: under --debug, show whether PCRE JIT is enabledBeat Bolli2019-08-191-0/+7
| * | | grep: do not enter PCRE2_UTF mode on fixed matchingÆvar Arnfjörð Bjarmason2019-07-261-1/+2
| * | | grep: stess test PCRE v2 on invalid UTF-8 dataÆvar Arnfjörð Bjarmason2019-07-261-0/+10
| * | | grep: create a "is_fixed" member in "grep_pat"Ævar Arnfjörð Bjarmason2019-07-261-4/+3
| * | | grep: consistently use "p->fixed" in compile_regexp()Ævar Arnfjörð Bjarmason2019-07-261-1/+1
| * | | grep: stop using a custom JIT stack with PCRE v1Ævar Arnfjörð Bjarmason2019-07-261-23/+5
| * | | grep: stop "using" a custom JIT stack with PCRE v2Ævar Arnfjörð Bjarmason2019-07-261-10/+0
| * | | grep: remove overly paranoid BUG(...) codeÆvar Arnfjörð Bjarmason2019-07-261-8/+2
| * | | grep: use PCRE v2 for optimized fixed-string searchÆvar Arnfjörð Bjarmason2019-07-011-2/+49