|
f271863601
|
Rename 'pat_t' -> 'bp_pat_t'
|
2024-05-29 13:12:34 -04:00 |
|
|
2ec9f76b72
|
Rename 'Match' macro to avoid confusion
|
2024-05-28 02:05:57 -04:00 |
|
|
59c5470ade
|
Tweak default visibility settings
|
2024-05-28 01:56:13 -04:00 |
|
|
96d23f1bf3
|
Light cleanup of utils
|
2024-05-28 01:41:07 -04:00 |
|
|
3ed2c19594
|
Use #pragma once
|
2022-11-07 22:54:59 -05:00 |
|
|
a61efe2cf0
|
Hardening utils (added *end param to avoid going past the end of
unterminated strings)
|
2021-09-28 16:59:01 -07:00 |
|
|
1727d9b75c
|
Use strncasecmp and memmem instead of custom logic.
|
2021-09-23 17:46:46 -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 |
|
|
ac2e8f5a15
|
Improved, cleaner/faster/more flexible return value checks
|
2021-08-06 17:52:20 -07:00 |
|
|
d3c1526f71
|
Cleanup of space/line skipping code
|
2021-08-01 13:41:13 -07:00 |
|
|
18e8a131f5
|
xfree() -> delete()
|
2021-07-30 15:06:04 -07:00 |
|
|
3e63da180b
|
Cleaner checking of stdlib negative returns
|
2021-07-30 15:03:21 -07:00 |
|
|
33a63bb8d9
|
Improved error checking
|
2021-07-30 14:54:28 -07:00 |
|
|
3445982b16
|
Ergonomic improvement: xcalloc -> new(), xrealloc -> grow()
|
2021-07-30 14:44:00 -07:00 |
|
|
de0fec8fcb
|
Removed check() and replaced with err()/errx()
|
2021-01-26 17:54:23 -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 |
|
|
4b3579c968
|
More bools, because why not
|
2021-01-18 11:39: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 |
|
|
ffdf32da2f
|
Code cleanup on utils
|
2021-01-17 23:06:37 -08:00 |
|
|
270509af3b
|
Renamed vm->match
|
2021-01-15 19:30:21 -08:00 |
|
|
43aeadaab8
|
Replaced _exit()s with exits()
|
2021-01-13 19:01:49 -08:00 |
|
|
b27b71608b
|
Standardizing to line-comments instead of block comments
|
2021-01-12 21:04:43 -08:00 |
|
|
f4a7b80b4f
|
Updated more things to use xfree(&foo) instead of free(foo)
|
2021-01-10 00:24:24 -08:00 |
|
|
9d1f51c483
|
Simplified grammars using intrusive linked lists instead of dynamic
arrays
|
2021-01-10 00:12:09 -08:00 |
|
|
ae27a7eec4
|
Fixed some minor issues
|
2020-12-30 21:20:54 -08:00 |
|
|
a07da1989d
|
Simplified syntax for replacement: just =>, no need for {}
|
2020-12-30 15:30:19 -08:00 |
|
|
06b1a795bb
|
Better null byte handling, simplified match datastructures, and some
misc. cleanup
|
2020-12-17 19:49:56 -08:00 |
|
|
484e1e33da
|
Memory allocation failure checks, and a simpler new() function
|
2020-12-17 16:27:23 -08:00 |
|
|
3acf397e6d
|
Imports cleanup and removing FILE* parameter from json
|
2020-12-14 22:13:47 -08:00 |
|
|
1a8095c6d7
|
Starting to add better error messages
|
2020-09-28 21:30:43 -07:00 |
|
|
938ff73730
|
More rigorous compile-time checks via __attribute__s
|
2020-09-23 22:37:28 -07:00 |
|
|
6c237850e9
|
WIP
|
2020-09-16 19:41:28 -07:00 |
|
|
877526b5df
|
Fixes for CLI flags
|
2020-09-12 20:05:55 -07:00 |
|
|
2baadd9ba0
|
Tightening up the makefile flags and vim modelines
|
2020-09-11 01:38:44 -07:00 |
|
|
2a11acc667
|
Major overhaul refactor restructuring
|
2020-09-11 01:28:06 -07:00 |
|
|
4e201e6a70
|
Added dashes to identifiers
|
2020-09-10 03:41:03 -07:00 |
|
|
1dc4b98ae1
|
Improving escape handling
|
2020-09-09 23:41:20 -07:00 |
|
|
3eee7c4bad
|
Loads of changes, including new CLI flags, start-in-string mode, etc.
|
2020-09-09 22:29:09 -07:00 |
|
|
64659a1566
|
Some cool debug viz stuff
|
2020-09-08 20:47:22 -07:00 |
|
|
9453ac360a
|
Cleanup
|
2020-09-08 19:45:00 -07:00 |
|
|
f7cdd6d4d2
|
Cleanup, splitting into files
|
2020-09-07 23:22:43 -07:00 |
|