--- - branch: MAIN date: Sat Nov 6 22:47:51 UTC 2021 files: - new: '1.5' old: '1.4' path: pkgsrc/textproc/hgrep/Makefile pathrev: pkgsrc/textproc/hgrep/Makefile@1.5 type: modified - new: '1.5' old: '1.4' path: pkgsrc/textproc/hgrep/cargo-depends.mk pathrev: pkgsrc/textproc/hgrep/cargo-depends.mk@1.5 type: modified - new: '1.5' old: '1.4' path: pkgsrc/textproc/hgrep/distinfo pathrev: pkgsrc/textproc/hgrep/distinfo@1.5 type: modified id: 20211106T224751Z.62ee46660627b14b1c8f2c12d7f33c9230a5956b log: | 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 module: pkgsrc subject: 'CVS commit: pkgsrc/textproc/hgrep' unixtime: '1636238871' user: pin