Commit Graph

395 Commits

Author SHA1 Message Date
d9cca805a0 Added web grammar 2021-01-26 17:21:57 -08:00
bea3e3e268 Added nodent support (\N) for replacement strings. Slightly hacky, but
it works okay.
2021-01-22 18:35:58 -08:00
c46a8227d0 Added --skip flag for skipping over patterns 2021-01-20 16:12:46 -08:00
b50ad0cad0 Fixed grammar syntax for ..% 2021-01-20 15:46:21 -08:00
b4c8a33a0c Tweaked .. syntax to make it more flexible (now: .. % skip pat) 2021-01-20 15:23:57 -08:00
3c38aef78c Bugfix for replacement coloring 2021-01-20 15:16:40 -08:00
ab275800b3 Removed outdated '?' documentation 2021-01-19 23:30:50 -08:00
16c401fbbb Simplified code by disallowing escapes in strings and splitting
stringpatterns into chunks (so unescaped versions don't need to be
created)
2021-01-19 21:35:34 -08:00
b8bb6c25ec Finally got around to implementing binary search for line numbers 2021-01-18 15:24:10 -08:00
060ace366b Added tags to makefile 2021-01-18 15:12:01 -08:00
8df395e701 Fixed some grammar bugs 2021-01-18 14:52:33 -08:00
ac51181f34 Removed dead code for interning files (no longer needed since temp file
change)
2021-01-18 13:06:25 -08:00
62f866e370 Bumped prefix checker on is_text_file 2021-01-18 12:57:35 -08:00
e82fcefac8 Added perf notes 2021-01-18 12:53:44 -08:00
71471476be Performance optimizations for id and | rules 2021-01-18 12:39:44 -08:00
218ea864e1 Fixed buggy git ls-files line reading 2021-01-18 12:30:55 -08:00
e03726b9a8 Updated splint rule 2021-01-18 11:55:05 -08:00
97cf726442 More bools 2021-01-18 11:53:37 -08:00
d12cf8abbd More bools 2021-01-18 11:52:47 -08:00
4acf91f802 More bools 2021-01-18 11:52:00 -08:00
4b3579c968 More bools, because why not 2021-01-18 11:39:20 -08:00
0b0e99bfac A few more pedantic cleanups 2021-01-18 11:28:39 -08:00
e98574570e More static analysis cleanup 2021-01-18 11:15:53 -08:00
46f1747947 More static analyzer cleanup 2021-01-18 10:47:20 -08:00
eece8c8556 More static analyzer cleanup, including switching to use bools where
appropriate and EXIT_SUCESS/EXIT_FAILURE
2021-01-18 10:30:17 -08:00
7f0c3804dc Checking more return values (per static analyzer) 2021-01-18 09:52:35 -08:00
2622d44dc4 Switched calloc arg order 2021-01-18 09:35:15 -08:00
3bc3d824aa Cleanup 2021-01-18 09:34:52 -08:00
3ededef53d Static analysis part 1 2021-01-18 09:15:25 -08:00
65141b2402 Propagate signals better 2021-01-18 09:05:35 -08:00
4382fffbe0 Better visualization of matches with newlines and tabs 2021-01-18 00:38:55 -08:00
2615a3b9f2 Hacky fix for tabs misaligning error printing 2021-01-18 00:32:39 -08:00
dfdc7bf94a Fixed error printing code 2021-01-18 00:14:01 -08:00
b37c7c3985 Removed -v file from uninstall 2021-01-17 23:40:21 -08:00
4761a74abb Removed -v flags from install 2021-01-17 23:39:29 -08:00
0979e9d68d Fixed issue where bp -g bp would accidentally load local bp
executable file instead of /etc/xdg/bp/bp.bp
2021-01-17 23:37:35 -08:00
a337357d7b Better debug info 2021-01-17 23:37:27 -08:00
c577769a89 Updated REF and CAPTURE types to store direct pointers to names (with a
len size_t) instead of allocating memory.
2021-01-17 23:28:19 -08:00
379bf1b6c8 Fix for leaktest renaming bpeg->bp 2021-01-17 23:26:24 -08:00
eb79c4a806 No longer allocatte memory for replacement string 2021-01-17 23:13:47 -08:00
ffdf32da2f Code cleanup on utils 2021-01-17 23:06:37 -08:00
ff597be5fc Updated manpage 2021-01-17 22:37:58 -08:00
ff928690bb Added documentation for grammars 2021-01-17 22:35:34 -08:00
1b9e2957c0 Cleanup of builtins 2021-01-17 22:35:13 -08:00
395bdd664f Added Lisp 2021-01-17 22:13:32 -08:00
d2600c8832 Improved rules for word boundary matching and ids (more utf8-compliant,
more flexible)
2021-01-17 22:07:08 -08:00
65ec566aa8 Fixed color output for utf8 sequences 2021-01-17 22:06:03 -08:00
58c4fe378d Bugfix for typo 2021-01-17 21:59:23 -08:00
ec9835df36 Added some aliases 2021-01-17 21:42:06 -08:00
25346aa214 Updated the behavior of !=/== to only consider exact, full-text matches
instead of prefix matches
2021-01-17 21:39:56 -08:00