Subject: CVS commit: pkgsrc/textproc/hgrep
From: pin
Date: 2021-11-06 23:47:51
Message id: 20211106224751.8684DFAEC@cvs.NetBSD.org

Log Message:
textproc/hgrep: update to 0.2.0

-BREAKING The default printer is now syntect. It has the following benefits.
 I tested it for several weeks and it seems stable. See the section in README
 to know the difference between bat printer and syntect printer.
  -Performance is 2x to 4x faster
  -Output layout and highlighting are optimized; line number highlight and
  matched regions at matched line
  -Support background color with --background
  -Color themes are optimized
-BREAKING The default value of --min-context was changed from 5 to 3. And the
 default value of --max-context was changed from 10 to 6. This is because it
 turned out that the previous default values were too large for surveying the
 search results.
-BREAKING Since themes for syntect printer are now managed by ourselves
 (see below), syntect printer no longer looks at BAT_THEME and BAT_STYLE
 environment variables. To set the default theme and layout, use shell's
 command alias. See the document for more details.
-syntect printer now renders more accurate colors by considering alpha values
 of colors by blending them with background colors. In v0.1.9, alpha values
 were simply ignored. For example, gutter color with Nord theme was wrongly
 very light at v0.1.9.
-Depend on ansi_term crate only when targeting Windows. It reduces number of
 dependencies when bat-printer is not enabled.
-Improve a compile error when both feature syntect-printer and bat-printer are
 disabled.
-Describe the exit status of hgrep command and versioning of this project in
 the readme document.
-Fix rendering ansi theme was broken. The theme is for old terminals which
 only supports 16 colors.
-Fix --first-only did not work with bat printer.
-Fix the background color in file header when --background is specified

Files:
RevisionActionfile
1.5modifypkgsrc/textproc/hgrep/Makefile
1.5modifypkgsrc/textproc/hgrep/cargo-depends.mk
1.5modifypkgsrc/textproc/hgrep/distinfo