Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Add another example to the README | Thomas Voss | 2024-01-17 | 1 | -0/+10 | |
| | ||||||
* | Grab the latest version of da.h | Thomas Voss | 2024-01-17 | 2 | -23/+80 | |
| | ||||||
* | Don’t define _POSIX_C_SOURCE | Thomas Voss | 2024-01-16 | 1 | -3/+0 | |
| | ||||||
* | Document the new color configuration | Thomas Voss | 2024-01-16 | 1 | -14/+21 | |
| | ||||||
* | Switch colors to use GRAB_COLORS in GREP_COLORS-style | Thomas Voss | 2024-01-16 | 1 | -9/+61 | |
| | ||||||
* | Document -c | Thomas Voss | 2024-01-16 | 1 | -3/+24 | |
| | ||||||
* | Add -c to force colored output | Thomas Voss | 2024-01-16 | 1 | -6/+10 | |
| | ||||||
* | Fix builds on MacOS | Thomas Voss | 2024-01-16 | 1 | -4/+4 | |
| | ||||||
* | Close fds[FD_W] after dup2() | Thomas Voss | 2024-01-14 | 1 | -0/+1 | |
| | ||||||
* | Organize files into directories | Thomas Voss | 2024-01-13 | 5 | -3/+3 | |
| | ||||||
* | Support glob arguments to git-grab | Thomas Voss | 2024-01-13 | 2 | -10/+41 | |
| | ||||||
* | Document git-grab | Thomas Voss | 2024-01-13 | 1 | -0/+21 | |
| | ||||||
* | Fix usage string for git-grab | Thomas Voss | 2024-01-13 | 1 | -1/+1 | |
| | ||||||
* | Update manual date | Thomas Voss | 2024-01-13 | 1 | -1/+1 | |
| | ||||||
* | Add the git-grab.1 manual | Thomas Voss | 2024-01-13 | 2 | -1/+2 | |
| | ||||||
* | Initialize debug to false | Thomas Voss | 2024-01-13 | 1 | -1/+1 | |
| | ||||||
* | Add git-grab for integrating with Git. | Thomas Voss | 2024-01-12 | 3 | -11/+91 | |
| | ||||||
* | Add example | Thomas Voss | 2024-01-12 | 1 | -0/+4 | |
| | ||||||
* | Update the grab(1) manual | Thomas Voss | 2024-01-12 | 1 | -1/+50 | |
| | ||||||
* | Sort options | Thomas Voss | 2024-01-12 | 1 | -1/+1 | |
| | ||||||
* | Add the streq() helper macro | Thomas Voss | 2024-01-12 | 1 | -2/+3 | |
| | ||||||
* | Prefer nullptr over NULL | Thomas Voss | 2024-01-12 | 1 | -6/+7 | |
| | ||||||
* | Add the env_or_default() helper function | Thomas Voss | 2024-01-12 | 1 | -9/+12 | |
| | ||||||
* | Allow the use of env-vars to customize colors | Thomas Voss | 2024-01-12 | 1 | -3/+13 | |
| | ||||||
* | Respect -z when printing filenames | Thomas Voss | 2024-01-11 | 1 | -2/+2 | |
| | ||||||
* | Add the -f flag | Thomas Voss | 2024-01-11 | 1 | -7/+11 | |
| | ||||||
* | Make the whole *FLAGS stuff nicer | Thomas Voss | 2024-01-11 | 1 | -7/+9 | |
| | ||||||
* | Print filenames when ≥2 files are provided (with color support) | Thomas Voss | 2024-01-11 | 1 | -20/+33 | |
| | ||||||
* | Import assert.h before C23 | Thomas Voss | 2024-01-11 | 1 | -4/+4 | |
| | | | | In C23, static_assert has become a keyword instead of a macro. |