Commit Graph

474 Commits

Author SHA1 Message Date
6c612d4def Updated docs slightly 2021-09-24 22:57:39 -07:00
cfc53ea643 Overhaul of lua API to use tables 2021-09-24 22:55:39 -07:00
0c5c4124a2 Bugfix 2021-09-24 22:54:54 -07:00
3de6de1ffa Added builtins for lua library 2021-09-23 21:19:39 -07:00
0ec89315b4 Removed unneccessary import 2021-09-23 21:01:06 -07:00
6b98401771 Removed print files 2021-09-23 20:53:25 -07:00
0a5f3a6a75 Added ignore rule for .so 2021-09-23 20:52:15 -07:00
6ed610b7a2 Added test file 2021-09-23 20:51:50 -07:00
3a2492d584 WIP: working line breaks, formatting, etc. All seems functional, but a
bit messy
2021-09-23 20:51:04 -07:00
fddba4c54f Merge branch 'master' into fileless_matches 2021-09-23 17:53:17 -07:00
6ab22ad6a9 Bugfix 2021-09-23 17:50:16 -07:00
1727d9b75c Use strncasecmp and memmem instead of custom logic. 2021-09-23 17:46:46 -07:00
04eb92153f WIP 2021-09-23 17:31:21 -07:00
c81601729e Patterns no longer need files.h 2021-09-23 15:42:50 -07:00
1460e6d940 Updated lua code 2021-09-23 15:42:19 -07:00
ce915a5433 Patterns don't need to reference a separate start value anymore 2021-09-23 15:40:45 -07:00
fac3fd9772 Moving pattern lifetime tracking off of files and onto its own list of
allocated pats.
2021-09-23 15:24:08 -07:00
8e1e6572fe Moved type defs into their own files instead of types.h 2021-09-23 15:15:48 -07:00
d20afd10b6 API update: made new_pat() internal and added public bp_backref() to
cover that use case
2021-09-23 14:55:30 -07:00
89c5888dd6 Switched to using an optional type 2021-09-23 14:38:46 -07:00
86404d0ab3 Merge branch 'master' into setjmp 2021-09-23 13:43:56 -07:00
fb67ceb276 Minor BP_ERROR cleanup 2021-09-23 13:43:43 -07:00
e938ecbdcc Merge branch 'master' into setjmp 2021-09-23 13:42:46 -07:00
744a927562 Deprecated (!)-errors 2021-09-23 13:42:23 -07:00
cf99abb852 WIP implementation of setjmp/longjmp recovery 2021-09-23 13:38:20 -07:00
55ff8ec663 WIP 2021-09-23 13:33:22 -07:00
7122dcdc81 Added Lua bindings 2021-09-22 23:51:34 -07:00
f1f60c9dcf Removed cache struct 2021-09-22 23:10:05 -07:00
f2db62cb55 Moved trailing newline guarantee code into bp.c 2021-09-22 22:57:44 -07:00
a712a61e4d Bugfix 2021-09-22 22:10:28 -07:00
d957bd3273 Minor printing cleanups 2021-09-22 21:04:15 -07:00
97b7befdc8 Moved capture retrieval logic into match.c and out of print.c 2021-09-22 20:44:01 -07:00
90c3c13a02 Moving cache logic into match, cleaner next_match() API, and slightly
less tightly coupled UTF8 API
2021-09-21 18:45:43 -07:00
9401facbe7 Minor cleanup 2021-09-19 17:55:26 -07:00
ae7f21b531 Moved capture retrieval logic into print.c 2021-09-19 17:48:00 -07:00
5fa09eb636 Better non-verbose JSON output 2021-09-19 17:38:18 -07:00
09435a8b15 Slight tweak to JSON output 2021-09-19 17:33:40 -07:00
42c75cfd73 Fix for single-arg when it's a directory 2021-09-19 17:08:51 -07:00
393778ffab Shortening \033[0m -> \033[m 2021-09-07 13:39:11 -07:00
f3eb2e99cd Fixes for inplace modifications 2021-09-07 13:38:57 -07:00
58fef531eb Changed non-tty output to BARE instead of PLAIN 2021-09-04 14:09:20 -07:00
900466c483 Tests should use local bp, not installed version 2021-09-04 14:08:27 -07:00
3c51755050 Fixing memory leak 2021-09-04 14:02:43 -07:00
615d94ba68 Improved formatting options 2021-09-02 18:07:18 -07:00
1cf17cf95c Optimization for parens pattern 2021-08-29 13:44:43 -07:00
f8860c385e Style change: added cino=:0 (i.e. case statements on same indentation as
switch). Also fixed issue where $$ would fail to match with trailing
newline on file
2021-08-28 16:05:30 -07:00
d44806f746 Moved tutorial info up 2021-08-28 14:27:27 -07:00
16bf40bd64 Added tests/tutorial 2021-08-28 14:26:32 -07:00
9db5e91781 Only print filenames when there are multiple files 2021-08-25 13:15:05 -07:00
d7e18968bb Bugfix for | not working at start of file 2021-08-25 13:13:47 -07:00