Commit Graph

76 Commits

Author SHA1 Message Date
59c5470ade Tweak default visibility settings 2024-05-28 01:56:13 -04:00
1dd05d2d18 Include fewer files in libbp 2024-05-28 01:48:58 -04:00
96d23f1bf3 Light cleanup of utils 2024-05-28 01:41:07 -04:00
4fbc4288fd Update test rule 2024-05-28 01:12:24 -04:00
5f49677d76 Bugfix for string literals and add support for printing patterns with
--verbose
2024-02-11 16:46:07 -05:00
54e87ff91e Reapply fix for compiler warning 2022-10-27 12:52:05 -04:00
2bc0ca7390 Revert "Moving to each_match() API"
This reverts commit 9380a54d7c.
2022-10-27 12:49:31 -04:00
f29bf54ffb Fix warning 2022-10-26 20:28:16 -04:00
ed737a76ba Fix for profiling 2022-10-26 19:30:04 -04:00
0e0269def1 Added new profile 2022-10-26 19:28:57 -04:00
9e07e08a48 Microoptimizations 2022-10-26 13:38:38 -04:00
6b8f1a09d0 Added profile rule 2022-10-26 13:19:38 -04:00
d62fd1eb96 Lib install stuff 2022-05-14 14:31:34 -04:00
af668004e8 Updated Make rules so default is bp 2022-05-02 17:25:18 -04:00
eb0f18dc79 Added recursive make rules 2022-05-02 17:24:20 -04:00
326a0b960c Moving print logic out of match.c and renaming explain -> printmatch 2022-04-09 14:15:07 -04:00
911827fac3 Removed definitions as a separate type and instead encode that value in
the patterns themselves. This simplifies memory management a lot and
speeds up performance.
2021-09-27 20:36:10 -07:00
6b98401771 Removed print files 2021-09-23 20:53:25 -07:00
8e1e6572fe Moved type defs into their own files instead of types.h 2021-09-23 15:15:48 -07:00
900466c483 Tests should use local bp, not installed version 2021-09-04 14:08:27 -07:00
16bf40bd64 Added tests/tutorial 2021-08-28 14:26:32 -07:00
41bd2ce6fa Renamed matchviz -> explain 2021-08-01 21:30:41 -07:00
8268e67875 Bugfix for replacing @0 2021-08-01 13:45:51 -07:00
ad640caac6 Removing DEBUG_HEAP, just do a full cleanup all the time 2021-07-30 13:38:39 -07:00
378e94090f Factored debug visualization into its own file 2021-07-17 14:05:10 -07:00
7cd6117138 Better cross-platform compatibility 2021-07-06 11:45:40 -07:00
416484a636 Switched /etc/xdg/bp -> /etc/bp 2021-07-03 21:43:56 -07:00
c89fd1db42 Added lots of extra compiler flags 2021-05-31 13:25:38 -07:00
da6c8857d6 Moved utf8 code into a C file, fixed some potential null deref issues 2021-05-31 12:38:42 -07:00
0443fbb063 Added warning flag for null derefs 2021-05-31 10:32:48 -07:00
aa1faea83c Added pandoc lua filter to make code literals work better with manpages. 2021-05-23 15:21:46 -07:00
cd30e89042 Use local grammars instead of installed 2021-05-20 16:24:41 -07:00
655ed12128 Mostly working version 2021-05-20 15:27:24 -07:00
cd6b5925f1 Make the manpage before installing 2021-05-19 22:03:34 -07:00
f824d3f3e2 Added markdown manpage, which converts to roff using pandoc. 2021-05-19 22:02:45 -07:00
b09bd4c746 Code cleanup: adding len parameter to new_pat() 2021-05-11 00:19:52 -07:00
943aa0b71a Added simple test 2021-05-10 23:43:54 -07:00
f9d3ab6309 Moved /usr/local/share/man -> /usr/local/man 2021-01-26 18:12:29 -08:00
060ace366b Added tags to makefile 2021-01-18 15:12:01 -08:00
e03726b9a8 Updated splint rule 2021-01-18 11:55:05 -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
3ededef53d Static analysis part 1 2021-01-18 09:15:25 -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
379bf1b6c8 Fix for leaktest renaming bpeg->bp 2021-01-17 23:26:24 -08:00
13c4564594 Renamed grammar -> definitions 2021-01-15 19:35:39 -08:00
44573fc224 Rename compiler -> pattern 2021-01-15 19:32:37 -08:00