git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/7] PCRE v2, PCRE v1 JIT, log -P & fixes

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
May 11, 2017, 17:01 UTC
Message-ID
<20170511170142.15934-1-avarab@gmail.com>

This goes on top of the 29 patch series of "Easy to review grep & pre-PCRE changes" (<20170511091829.5634-1-avarab@gmail.com>; https://public-inbox.org/git/20170511091829.5634-1-avarab@gmail.com/).

This could be split into 3 unrelated things, but I have think it's probably easier for everyone to bundle these up, since they all go on top of the other series. Comments below:

Ævar Arnfjörð Bjarmason (7):
  grep: don't redundantly compile throwaway patterns under threading
  grep: skip pthreads overhead when using one thread

Internal changes to grep to not redundantly spawn threads. No functional changes, just internal cleanup.

  log: add -P as a synonym for --perl-regexp
Trivial change to add -P.
  grep: add support for the PCRE v1 JIT API
  grep: un-break building with PCRE < 8.32
  grep: un-break building with PCRE < 8.20

I tested ancient versions of PCRE, which turned up build issues that are fixed this time around.

  grep: add support for PCRE v2
The main point of this whole thing.
 Documentation/rev-list-options.txt |   1 +
 Makefile                           |  30 +++++--
 builtin/grep.c                     |  16 +++-
 configure.ac                       |  77 +++++++++++++---
 grep.c                             | 180 ++++++++++++++++++++++++++++++++++++-
 grep.h                             |  31 +++++++
 revision.c                         |   2 +-
 t/t4202-log.sh                     |  12 +++
 t/test-lib.sh                      |   2 +-
 9 files changed, 327 insertions(+), 24 deletions(-)
-- 
2.11.0
Next: Ævar Arnfjörð Bjarmason
Message 1 of 10 in “PCRE v2, PCRE v1 JIT, log -P & fixes”
  1. 0/7 PCRE v2, PCRE v1 JIT, log -P & fixesÆvar Arnfjörð Bjarmason, May 11, 2017
  2. 1/7 grep: don't redundantly compile throwaway patterns under threadingÆvar Arnfjörð Bjarmason, May 11, 2017
  3. Brandon WilliamsMay 12, 2017
  4. Ævar Arnfjörð BjarmasonMay 12, 2017
  5. 2/7 grep: skip pthreads overhead when using one threadÆvar Arnfjörð Bjarmason, May 11, 2017
  6. 3/7 log: add -P as a synonym for --perl-regexpÆvar Arnfjörð Bjarmason, May 11, 2017
  7. 4/7 grep: add support for the PCRE v1 JIT APIÆvar Arnfjörð Bjarmason, May 11, 2017
  8. 5/7 grep: un-break building with PCRE < 8.32Ævar Arnfjörð Bjarmason, May 11, 2017
  9. 6/7 grep: un-break building with PCRE < 8.20Ævar Arnfjörð Bjarmason, May 11, 2017
  10. 7/7 grep: add support for PCRE v2Ævar Arnfjörð Bjarmason, May 11, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.