about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Re-introduce .clang-formatRory Bradford2022-08-201-0/+8
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Replace __progname with hardcoded name, include version in usage.Rory Bradford2022-06-051-4/+2
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Use fgets instead of getline.Rory Bradford2022-06-052-4/+4
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Remove editor/formatting configs.Rory Bradford2022-06-052-18/+0
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Remove configRory Bradford2022-06-027-276/+4
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Remove override config fileRory Bradford2022-04-221-13/+4
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Remove path escapingRory Bradford2022-04-221-41/+1
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Update README with platform supportRory Bradford2021-08-301-0/+15
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix build on macOSRory Bradford2021-08-301-1/+1
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix ignore file typoRory Bradford2021-07-171-1/+1
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Escape strings in output to avoid problems in other toolsRory Bradford2021-07-171-1/+42
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Use xargs in Vim RF grep functionRory Bradford2021-07-171-2/+3
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix modeline in default config fileRory Bradford2021-07-011-1/+1
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Update READMERory Bradford2021-07-011-5/+29
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix CFLAGSRory Bradford2021-06-301-2/+1
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix memory leak when not specifying any patternsRory Bradford2021-04-111-5/+9
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Remove memsetRory Bradford2021-04-111-2/+0
| | | | | | This isn't required as we're already doing a calloc. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Make strings saferRory Bradford2021-03-066-13/+171
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Improve Vim integrationRory Bradford2020-10-1011-133/+182
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add rfgrep contrib scriptRory Bradford2020-08-303-1/+31
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add config parserRory Bradford2020-08-137-23/+294
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix double slashesRory Bradford2020-08-111-1/+5
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add change root directory optionRory Bradford2020-08-112-2/+12
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Make calloc types explicitRory Bradford2020-08-102-5/+6
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add contrib/ with Vim integration exampleRory Bradford2020-08-083-0/+130
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix loop break out logicRory Bradford2020-08-082-5/+3
| | | | | | Also changes _XOPEN_SOURCE to 700 to fix includes. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Additional safetyRory Bradford2020-08-022-39/+67
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Various minor improvementsRory Bradford2020-08-024-26/+23
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add wholename optionRory Bradford2020-04-187-169/+217
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Initialise struct with defaultsRory Bradford2020-04-181-30/+17
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Re-introduce optional substring matchingRory Bradford2020-04-173-34/+42
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add unlink and shell options, refactor optsRory Bradford2020-04-143-131/+111
| | | | | | Make opts more BSD-like, simpler. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix invert exclusionRory Bradford2020-04-141-0/+1
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Tidy up help textRory Bradford2020-04-141-6/+5
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix invert logicRory Bradford2020-04-141-11/+7
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Update default ignored file extensionsRory Bradford2020-04-141-2/+3
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Improve documentation wordingRory Bradford2020-04-141-2/+2
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* RefactorRory Bradford2020-04-105-136/+45
| | | | | | | | | | | Implement `fnmatch` file name matching. Define clang formatting, previously used defaults without a config file; apply formatting. Make `install` more cross-platform. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* More code reformattingRory Bradford2020-04-093-301/+326
| | | | | | Add editorconfig. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Move _DEFAULT_SOURCE to MakefileRory Bradford2020-03-251-0/+1
| | | | | | Also remove deprecated _BSD_SOURCE. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add missing dirname short optRory Bradford2020-03-251-1/+5
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Reformat config.hRory Bradford2020-03-241-8/+6
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add CONTRIBUTINGRory Bradford2020-03-241-0/+37
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Add dirname optionRory Bradford2020-02-223-11/+30
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Reformat with default clang styleRory Bradford2020-02-221-314/+275
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix valgrind test on OpenBSDRory Bradford2020-02-041-3/+3
| | | | | | Remove non-portable valgrind -s option. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Additional usage documentationRory Bradford2019-12-281-4/+19
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix uninitialised variablesRory Bradford2019-12-221-5/+18
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Tweak make flags for additional C safetyRory Bradford2019-12-181-3/+25
| | | | | | | As well as adding some obvious memory safety flags to the compiler also add some initial tests with valgrind. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
* Fix memory leak when using --limitRory Bradford2019-12-041-8/+25
| | | | Signed-off-by: Rory Bradford <roryrjb@gmail.com>