Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove trailing newline | Thomas Voss | 2024-10-31 | 1 | -1/+1 |
| | |||||
* | Add the -l option | Thomas Voss | 2024-10-31 | 2 | -2/+9 |
| | |||||
* | Make -l the default and add -b | Thomas Voss | 2024-10-31 | 3 | -12/+12 |
| | |||||
* | Formatting | Thomas Voss | 2024-10-31 | 1 | -3/+3 |
| | |||||
* | Support regex flags /like this/i | Thomas Voss | 2024-10-31 | 1 | -3/+36 |
| | |||||
* | Allow escaping the regex delimeter | Thomas Voss | 2024-10-31 | 1 | -1/+6 |
| | |||||
* | Add more comments | Thomas Voss | 2024-10-31 | 1 | -2/+2 |
| | |||||
* | Add comment to preproc directive | Thomas Voss | 2024-10-31 | 1 | -1/+1 |
| | |||||
* | Add another pledge(2) location | Thomas Voss | 2024-10-31 | 1 | -2/+7 |
| | |||||
* | Try to improve readability | Thomas Voss | 2024-10-31 | 1 | -4/+3 |
| | |||||
* | Improve position tracking | Thomas Voss | 2024-10-31 | 1 | -21/+21 |
| | |||||
* | Set basecap to 0 when freeing baseptr | Thomas Voss | 2024-10-31 | 1 | -0/+1 |
| | |||||
* | Remove useless stream locks | Thomas Voss | 2024-10-31 | 1 | -2/+0 |
| | |||||
* | Be a good citizen and cleanup properly | Thomas Voss | 2024-10-31 | 1 | -0/+3 |
| | |||||
* | Work on using pledge() in OpenBSD | Thomas Voss | 2024-10-31 | 1 | -1/+18 |
| | |||||
* | Don’t use posix_fadvise() on MacOS or OpenBSD | Thomas Voss | 2024-10-31 | 1 | -0/+2 |
| | | | | | These systems (despite being POSIX) have not yet implemented this function/syscall. | ||||
* | Fix heap buffer overflow | Thomas Voss | 2024-10-30 | 1 | -6/+7 |
| | |||||
* | Improve file reading | Thomas Voss | 2024-10-30 | 1 | -32/+76 |
| | |||||
* | Simplify span highlighting | Thomas Voss | 2024-10-30 | 1 | -20/+13 |
| | |||||
* | Free the right thing | Thomas Voss | 2024-10-30 | 1 | -1/+1 |
| | |||||
* | Update mlib | Thomas Voss | 2024-10-30 | 1 | -3/+2 |
| | |||||
* | Fix typo | Thomas Voss | 2024-10-30 | 1 | -1/+1 |
| | |||||
* | Check for errors by getdelim() | Thomas Voss | 2024-10-30 | 1 | -1/+3 |
| | |||||
* | The -l flag takes no argument | Thomas Voss | 2024-10-30 | 1 | -1/+1 |
| | |||||
* | s/GRAB2/GRAB/ | Thomas Voss | 2024-10-30 | 1 | -3/+3 |
| | |||||
* | Don’t try to fclose() a garbage pointer | Thomas Voss | 2024-10-30 | 1 | -1/+1 |
| | |||||
* | Completely revamp the grab source code | Thomas Voss | 2024-10-30 | 9 | -980/+1019 |
| | | | | | | | | | Some of the (many) few changes are: - Multithreading for significantly faster performance - The -p/--predicate flag - Byte offsets as the default - No customizable colors (maybe this will come back later) - Newer edition of mlib (formerly librune) | ||||
* | Switch out the many flag variables for flags and FLAG(SET MSK) | Thomas Voss | 2024-01-29 | 1 | -52/+31 |
| | |||||
* | Add a warnx() wrapper and die/warn with rv 3 | Thomas Voss | 2024-01-28 | 1 | -4/+8 |
| | |||||
* | Exit with EXIT_FAILURE if we got no matches | Thomas Voss | 2024-01-28 | 1 | -1/+6 |
| | |||||
* | Require C23 | Thomas Voss | 2024-01-27 | 3 | -39/+9 |
| | |||||
* | Don’t begin diagnostics with a capital | Thomas Voss | 2024-01-27 | 1 | -10/+10 |
| | |||||
* | Fix potential UTF-8 bugs | Thomas Voss | 2024-01-26 | 1 | -4/+8 |
| | |||||
* | Disallow 0-width matches with x// and h// | Thomas Voss | 2024-01-26 | 1 | -16/+22 |
| | |||||
* | Validate that input is well-formed UTF-8 | Thomas Voss | 2024-01-26 | 1 | -12/+20 |
| | |||||
* | Provide context on regex comp failure | Thomas Voss | 2024-01-26 | 1 | -1/+1 |
| | |||||
* | Support case-insensitive regex matching | Thomas Voss | 2024-01-24 | 1 | -5/+11 |
| | |||||
* | Move arguments to git-grep into static array | Thomas Voss | 2024-01-24 | 1 | -6/+9 |
| | |||||
* | Find files via git-grep instead of git-ls-files | Thomas Voss | 2024-01-24 | 1 | -6/+7 |
| | | | | | | It would be preferable to use git-ls-files as it is more suited for our purposes, however git-grep allows us to filter out binary files. It makes no sense to regex match in a binary file, so this is crucial. | ||||
* | Codestyle changes | Thomas Voss | 2024-01-24 | 1 | -6/+7 |
| | |||||
* | Disallow h// at the start of patterns | Thomas Voss | 2024-01-23 | 1 | -0/+2 |
| | |||||
* | Minor refactor | Thomas Voss | 2024-01-23 | 1 | -11/+7 |
| | |||||
* | Prefer char8_t strings to char strings | Thomas Voss | 2024-01-23 | 1 | -5/+5 |
| | |||||
* | Properly support UTF-8 in patterns | Thomas Voss | 2024-01-23 | 1 | -29/+37 |
| | |||||
* | Allow for only h// to take an empty pattern | Thomas Voss | 2024-01-22 | 1 | -3/+20 |
| | |||||
* | Remove <assert.h> include | Thomas Voss | 2024-01-22 | 1 | -2/+0 |
| | |||||
* | Implement H// | Thomas Voss | 2024-01-22 | 1 | -6/+41 |
| | |||||
* | Fix memory leaks | Thomas Voss | 2024-01-22 | 1 | -0/+5 |
| | |||||
* | Rename the ‘ma’ color to ‘hl’ | Thomas Voss | 2024-01-22 | 1 | -11/+11 |
| | |||||
* | Support highlighting matches with h// | Thomas Voss | 2024-01-22 | 1 | -37/+159 |
| |