aboutsummaryrefslogtreecommitdiff
path: root/bp.c
AgeCommit message (Collapse)Author
2021-07-30Removing DEBUG_HEAP, just do a full cleanup all the timeBruce Hill
2021-07-26Introduced cache to greatly speed up many use casesBruce Hill
2021-07-17Removed unnecessary codeBruce Hill
2021-07-17Factored debug visualization into its own fileBruce Hill
2021-07-03Switched /etc/xdg/bp -> /etc/bpBruce Hill
2021-05-31Added lots of extra compiler flagsBruce Hill
2021-05-22Minor splint fixesBruce Hill
2021-05-20Renamed file_t.contents -> file_t.start, added file_t.memory forBruce Hill
canonical tracking of memory for mmap, simplified json printing, and added support for initiating searches on a specific line (and/or column).
2021-05-20Fixed up JSON outputBruce Hill
2021-05-19Fix for binary file detection bug.Bruce Hill
2021-05-19Fancier string escape sequences and a bit of cleanup.Bruce Hill
2021-05-18CleanupBruce Hill
2021-05-18True -> 1Bruce Hill
2021-05-12Moved settings into a structBruce Hill
2021-05-12Added --color flagBruce Hill
2021-03-26Removed fallback where bp prompts for a pattern if none is given.Bruce Hill
Instead print usage and exit.
2021-03-15Debug errorBruce Hill
2021-03-03Fix for permissions/ownership getting screwed up with inplace modifyingBruce Hill
of files. With the new change, temporary files are no longer created on the filesystem and the file is entirely modified inplace (with an in-memory copy kept on hand for matching).
2021-02-07Slightly cleaner flag parsingBruce Hill
2021-01-26Pulled git code into a separate functionBruce Hill
2021-01-26Replaced returns with exit()s in mainBruce Hill
2021-01-26Cleanup of return/exit paths for main()Bruce Hill
2021-01-26Removed check() and replaced with err()/errx()Bruce Hill
2021-01-20Added --skip flag for skipping over patternsBruce Hill
2021-01-18Bumped prefix checker on is_text_fileBruce Hill
2021-01-18Fixed buggy git ls-files line readingBruce Hill
2021-01-18More boolsBruce Hill
2021-01-18More boolsBruce Hill
2021-01-18A few more pedantic cleanupsBruce Hill
2021-01-18More static analysis cleanupBruce Hill
2021-01-18More static analyzer cleanup, including switching to use bools whereBruce Hill
appropriate and EXIT_SUCESS/EXIT_FAILURE
2021-01-18Checking more return values (per static analyzer)Bruce Hill
2021-01-18Static analysis part 1Bruce Hill
2021-01-18Propagate signals betterBruce Hill
2021-01-18Fixed error printing codeBruce Hill
2021-01-17Fixed issue where `bp -g bp` would accidentally load local `bp`Bruce Hill
executable file instead of /etc/xdg/bp/bp.bp
2021-01-17Fixed bug with NULL filenameBruce Hill
2021-01-17Fixed two bugs: mmapped files weren't getting closed, and filenames withBruce Hill
%s-style formatting strings caused issues.
2021-01-17Improved handling of directories (e.g. `bp foo dir/`)Bruce Hill
2021-01-17Improved argument parsing and added support for prompting user for aBruce Hill
pattern if none is provided
2021-01-17Added commentBruce Hill
2021-01-17Cleaned up flag parsing code.Bruce Hill
2021-01-17Added --git/-GBruce Hill
2021-01-17Better errors for bad patterns.Bruce Hill
2021-01-16Renamed VM_ to BP_Bruce Hill
2021-01-15Sorting importsBruce Hill
2021-01-15Renamed grammar -> definitionsBruce Hill
2021-01-15Rename compiler -> patternBruce Hill
2021-01-15Renamed vm->matchBruce Hill
2021-01-15Renaming files: printing->print, file_loader->filesBruce Hill