Subject: CVS commit: pkgsrc/textproc/hgrep
From: pin
Date: 2021-10-25 00:02:29
Message id: 20211024220229.C1D85FA97@cvs.NetBSD.org

Log Message:
textproc/hgrep: update to 0.1.7

v0.1.7
-Fix highlighting was broken on 256 colors terminals when using bat-printer.
-bat-printer enables text wrapping by default as bat command does. --no-wrap
 can disable text wrapping.
-bat-printer now looks at bat's cache directory when --custom-assets flag is
 given. This is useful if you use some custom syntax highlighting or theme.
 Note that this may not work fine with some versions of bat command.
-bat-printer automatically uses 'ansi' theme for terminals which enable only
 16 colors since other themes don't work.
-Add --terminal-width option to give the width of terminal explicitly. This is
 useful when piping the results to other command like less.
-Fix build failure due to lack of assets (#4).
-Fix some newlines were missing when printing results with syntect-printer.
-Use terminal_size crate directly instead of using console crate. It removes
 3 dependencies when bat-printer feature is not enabled.
-The document has been improved. Especially if you like a pager such as less,
 I recommend to check 'Set default command options' section.
-(Dev) Several tests and benchmarks for syntect-printer were added.

v0.1.6
-Add new experimental syntect-printer feature built with syntect library.
 -It is much faster than current printer built on bat (2x~4x faster).
 -Its output layout is optimized for our use case. For example, line numbers at
 matches are highlighted in different color.
 -It supports painting background colors with --background flag. This is useful
 when your favorite theme does not fit to your terminal's background color.
 -See bat printer v.s. syntect printer section for comparison of the two
 printers.
-Add --printer (-p) flag to specify printer to use. It takes argument bat or
syntect. -p syntect enables the new experimental printer
-bat printer is now optional through bat-printer feature gate. Note that at
least bat-printer or syntect-printer must be enabled. Both printers are enabled
by default. See Feature flags section for more details.
-hgrep is now available for NetBSD. See the instruction (thanks @0323pin, #3)

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