NetBSD/pkgsrc-wip 5a1ee33universalcodegrep Makefile distinfo

Update universalcodegrep to 0.3.0:

Major feature/bugfix release of UniversalCodeGrep (ucg).

- 20-30% faster than ucg 0.2.2 on most benchmarks.
- New file inclusion/exclusion options:
        - `ack`-style `--ignore-file=FILTER:FILTERARGS`: Files matching FILTER:FILTERARGS (e.g. "ext:txt,cpp") will be ignored.
        - `grep`-style `--include=GLOB`: Only files matching GLOB will be searched.
        - `grep`-style `--exclude=GLOB`: Files matching GLOB will be ignored.
        - `ag`-style `--ignore=GLOB`: Files matching GLOB will be ignored.  Note that unlike `ag`'s option, this does not apply to directories).
- Files and directories specified on the command line (including hidden files) are now scanned regardless of ignore settings, and in the case of files, whether they are recognized as text files.
- `--TYPE`- and `--noTYPE`-style options now support unique-prefix matching.  E.g., `--py`, `--pyth`, and `--python` all select the Python file type.
- New file type filter: `glob`.  E.g. '--type-set=mk:glob:?akefile*'.
- OS X and some *BSDs now supported.  Builds and runs on Xcode 6.1/OS X 10.9 through Xcode 8gm/OS X 10.11.
- Now compiles and links with either or both of libpcre and libpcre2, if available.  Defaults to using libpcre2 for matching.
- Directory tree traversal now uses more than one thread (two by default).  Can be overridden with new "--dirjobs" command-line parameter.  Overall performance improvement on all platforms vs. 0.2.2 (e.g., ~25% on Fedora 23 with hot cache).
- New portable function multiversioning infrastructure.  Currently used by the following features:
        - Line number counting is now done by either a generic or a vectorized (sse2/sse4.2 with/without popcount) version of FileScanner::CountLinesSinceLastMatch(), depending on the host system's ISA extension support.  Measurable performance increase; line number counting went from ~6.5% of total cycles to less than 1% on one workload per valgrind/callgrind.
- Added ".awk" as a builtin file type.

- Improved error reporting when directory traversal runs into problems.
- A number of portability improvements related to OSX and PC-BSD support.
- Reduce unnecessary mutex contention, spurious thread wakes in sync_queue<>.
- Scanner threads now use a reusable buffer when reading in files, reducing memory allocations by ~10% (and ~40% fewer bytes allocated) compared to version 0.2.2.
- Refactored FileScanner to be a base class with derived classes handling the particulars of using libpcre or libpcre2 to do the scanning.
- Added a basic diagnostic/debug logging facility.
- ResizableArray now takes an alignment parameter.  File buffer allocations are now done on max(ST_BLKSIZE,128k)-byte boundaries.
- Testing/Benchmarking infrastructure expansion and improvements.

- Cygwin now requires AC_USE_SYSTEM_EXTENSIONS for access to get_current_dir_name().  Resolves #76.
- Resolved issue with highlights on wrapped lines sometimes extending the full width of the terminal.  Resolves #80.
- Resolved issue where matches spanning an eol (e.g. 'a\s+b' matching 'a\nb') would cause the program to throw an exception and terminate.  Resolves #92.
- Resolved segfaults on some systems due to dirname() modifying its parameter.  Resolves #96.
- No longer treating PCRE2 reporting no JIT support as an error.  Resolves #100.
DeltaFile
+5-5universalcodegrep/Makefile
+4-4universalcodegrep/distinfo
+9-92 files

UnifiedSplitRaw