aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing newlineThomas Voss 2024-10-311-1/+1
|
* Add the -l optionThomas Voss 2024-10-312-2/+9
|
* Make -l the default and add -bThomas Voss 2024-10-313-12/+12
|
* FormattingThomas Voss 2024-10-311-3/+3
|
* Support regex flags /like this/iThomas Voss 2024-10-311-3/+36
|
* Allow escaping the regex delimeterThomas Voss 2024-10-311-1/+6
|
* Add more commentsThomas Voss 2024-10-311-2/+2
|
* Add comment to preproc directiveThomas Voss 2024-10-311-1/+1
|
* Add another pledge(2) locationThomas Voss 2024-10-311-2/+7
|
* Try to improve readabilityThomas Voss 2024-10-311-4/+3
|
* Improve position trackingThomas Voss 2024-10-311-21/+21
|
* Set basecap to 0 when freeing baseptrThomas Voss 2024-10-311-0/+1
|
* Remove useless stream locksThomas Voss 2024-10-311-2/+0
|
* Be a good citizen and cleanup properlyThomas Voss 2024-10-311-0/+3
|
* Work on using pledge() in OpenBSDThomas Voss 2024-10-311-1/+18
|
* Don’t use posix_fadvise() on MacOS or OpenBSDThomas Voss 2024-10-311-0/+2
| | | | | These systems (despite being POSIX) have not yet implemented this function/syscall.
* Fix heap buffer overflowThomas Voss 2024-10-301-6/+7
|
* Improve file readingThomas Voss 2024-10-301-32/+76
|
* Simplify span highlightingThomas Voss 2024-10-301-20/+13
|
* Free the right thingThomas Voss 2024-10-301-1/+1
|
* Update mlibThomas Voss 2024-10-301-3/+2
|
* Fix typoThomas Voss 2024-10-301-1/+1
|
* Check for errors by getdelim()Thomas Voss 2024-10-301-1/+3
|
* The -l flag takes no argumentThomas Voss 2024-10-301-1/+1
|
* s/GRAB2/GRAB/Thomas Voss 2024-10-301-3/+3
|
* Don’t try to fclose() a garbage pointerThomas Voss 2024-10-301-1/+1
|
* Completely revamp the grab source codeThomas Voss 2024-10-309-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-291-52/+31
|
* Add a warnx() wrapper and die/warn with rv 3Thomas Voss 2024-01-281-4/+8
|
* Exit with EXIT_FAILURE if we got no matchesThomas Voss 2024-01-281-1/+6
|
* Require C23Thomas Voss 2024-01-273-39/+9
|
* Don’t begin diagnostics with a capitalThomas Voss 2024-01-271-10/+10
|
* Fix potential UTF-8 bugsThomas Voss 2024-01-261-4/+8
|
* Disallow 0-width matches with x// and h//Thomas Voss 2024-01-261-16/+22
|
* Validate that input is well-formed UTF-8Thomas Voss 2024-01-261-12/+20
|
* Provide context on regex comp failureThomas Voss 2024-01-261-1/+1
|
* Support case-insensitive regex matchingThomas Voss 2024-01-241-5/+11
|
* Move arguments to git-grep into static arrayThomas Voss 2024-01-241-6/+9
|
* Find files via git-grep instead of git-ls-filesThomas Voss 2024-01-241-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 changesThomas Voss 2024-01-241-6/+7
|
* Disallow h// at the start of patternsThomas Voss 2024-01-231-0/+2
|
* Minor refactorThomas Voss 2024-01-231-11/+7
|
* Prefer char8_t strings to char stringsThomas Voss 2024-01-231-5/+5
|
* Properly support UTF-8 in patternsThomas Voss 2024-01-231-29/+37
|
* Allow for only h// to take an empty patternThomas Voss 2024-01-221-3/+20
|
* Remove <assert.h> includeThomas Voss 2024-01-221-2/+0
|
* Implement H//Thomas Voss 2024-01-221-6/+41
|
* Fix memory leaksThomas Voss 2024-01-221-0/+5
|
* Rename the ‘ma’ color to ‘hl’Thomas Voss 2024-01-221-11/+11
|
* Support highlighting matches with h//Thomas Voss 2024-01-221-37/+159
|