Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Vastly simplify position trackingv1.2.0 | Thomas Voss | 2024-01-21 | 1 | -34/+14 | |
| | ||||||
* | Improve the build system | Thomas Voss | 2024-01-21 | 2 | -11/+8 | |
| | ||||||
* | Remove paragraph from BUGSv1.1.0 | Thomas Voss | 2024-01-21 | 1 | -6/+0 | |
| | ||||||
* | Move common code out into islbrk() | Thomas Voss | 2024-01-21 | 1 | -8/+14 | |
| | ||||||
* | Formatting fix | Thomas Voss | 2024-01-21 | 1 | -2/+1 | |
| | ||||||
* | Slight refactor | Thomas Voss | 2024-01-21 | 1 | -3/+2 | |
| | ||||||
* | Prefer nullptr to NULL | Thomas Voss | 2024-01-21 | 1 | -1/+1 | |
| | ||||||
* | Update copyright years | Thomas Voss | 2024-01-21 | 1 | -1/+1 | |
| | ||||||
* | Add ‘git grab’ under NAME | Thomas Voss | 2024-01-21 | 1 | -1/+2 | |
| | ||||||
* | Document -b/--byte-offset | Thomas Voss | 2024-01-21 | 1 | -3/+10 | |
| | ||||||
* | Support line- & column-based match locations | Thomas Voss | 2024-01-21 | 48 | -15/+6946 | |
| | ||||||
* | Reorganize output writing | Thomas Voss | 2024-01-21 | 1 | -21/+33 | |
| | ||||||
* | Only highlight matches when cflag is set | Thomas Voss | 2024-01-21 | 1 | -1/+1 | |
| | ||||||
* | Print byte-offsets into files | Thomas Voss | 2024-01-21 | 2 | -7/+31 | |
| | ||||||
* | Remove the ‘struct chars’ type | Thomas Voss | 2024-01-20 | 1 | -6/+4 | |
| | ||||||
* | Define _POSIX_C_SOURCE on Glibc | Thomas Voss | 2024-01-20 | 1 | -0/+11 | |
| | | | | You sometimes need this for getsubopt() | |||||
* | Rename occurances of ‘pm’ to ‘rm’ | Thomas Voss | 2024-01-20 | 1 | -24/+24 | |
| | | | | ‘regex match’ makes more sense than ‘pattern match’ | |||||
* | Improve handling of the regmatch_t arg to putm() | Thomas Voss | 2024-01-20 | 1 | -16/+15 | |
| | ||||||
* | Add more color highlighting | Thomas Voss | 2024-01-20 | 2 | -12/+36 | |
| | ||||||
* | Add the -s/--strip-newline flag | Thomas Voss | 2024-01-20 | 2 | -15/+39 | |
| | ||||||
* | Refer to ‘git grab’ instead of ‘git-grab’ | Thomas Voss | 2024-01-20 | 1 | -1/+1 | |
| | ||||||
* | Add git-grab to the list of files to clean | Thomas Voss | 2024-01-19 | 1 | -1/+1 | |
| | ||||||
* | Add notice about UTF-8 | Thomas Voss | 2024-01-18 | 1 | -0/+4 | |
| | ||||||
* | Properly escape minuses | Thomas Voss | 2024-01-18 | 1 | -14/+14 | |
| | ||||||
* | Update the manual page | Thomas Voss | 2024-01-18 | 1 | -10/+82 | |
| | ||||||
* | Update cbs.h again | Thomas Voss | 2024-01-18 | 2 | -28/+28 | |
| | ||||||
* | Make Clangd/IWYU happy | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Remove semicolons from macro definitions | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Ignore *.dSYM/ directories on MacOS | Thomas Voss | 2024-01-18 | 1 | -0/+1 | |
| | ||||||
* | Fix typo | Thomas Voss | 2024-01-18 | 1 | -1/+1 | |
| | ||||||
* | Compile with REG_DOTALL when -n is not provided | Thomas Voss | 2024-01-18 | 1 | -4/+4 | |
| | ||||||
* | Add files to .gitignore | Thomas Voss | 2024-01-18 | 1 | -0/+2 | |
| | ||||||
* | Add support for UTF-8 and Unicode | Thomas Voss | 2024-01-18 | 1 | -15/+28 | |
| | ||||||
* | Increase emsg buffer size | Thomas Voss | 2024-01-18 | 1 | -1/+1 | |
| | | | | | 128 should be enough, but the PCRE grep implementation by the grep developers use 256, so that might be a safer bet. | |||||
* | Decrease macro usage | Thomas Voss | 2024-01-18 | 1 | -4/+4 | |
| | ||||||
* | Fix typos | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Document --no-pcre in the README | Thomas Voss | 2024-01-18 | 1 | -0/+8 | |
| | ||||||
* | Terminate the longopts in grab.c with a null row | Thomas Voss | 2024-01-18 | 1 | -0/+1 | |
| | ||||||
* | Allow long options in the build script | Thomas Voss | 2024-01-18 | 1 | -1/+7 | |
| | ||||||
* | s/debug/dflag | Thomas Voss | 2024-01-18 | 1 | -4/+3 | |
| | ||||||
* | Use pkg-config to configure PCRE | Thomas Voss | 2024-01-18 | 1 | -2/+9 | |
| | ||||||
* | Support custom CFLAGS and CC | Thomas Voss | 2024-01-18 | 1 | -16/+23 | |
| | ||||||
* | Change -p to -P and make PCRE support the default | Thomas Voss | 2024-01-18 | 1 | -6/+6 | |
| | ||||||
* | Bump cbs.h to the latest edition | Thomas Voss | 2024-01-18 | 1 | -28/+177 | |
| | ||||||
* | Simplify majorly | Thomas Voss | 2024-01-18 | 1 | -50/+10 | |
| | | | | | | | | mkoutpath() is only ever called with one argument so it doesn’t need to be variadic. Additionally I only care about supporting MacOS, Linux, and the BSDs, and all of them support strlcat()*. * Linux doesn’t ship a libc, but both Glibc and Musl ship strlcat() | |||||
* | Simplify code using libcompat | Thomas Voss | 2024-01-18 | 3 | -9/+28 | |
| | ||||||
* | Remove manual escape handling | Thomas Voss | 2024-01-18 | 1 | -17/+0 | |
| | | | | This is all handled for us by the PCRE2 library | |||||
* | Wrap -f/--filenames in ‘#if GIT_GRAB’ | Thomas Voss | 2024-01-18 | 1 | -0/+2 | |
| | ||||||
* | Formatting | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Add optional PCRE support | Thomas Voss | 2024-01-18 | 2 | -6/+17 | |
| |