|
994c9c973e
|
Changed how definitions work
|
2021-08-01 12:40:27 -07:00 |
|
|
cb9b4c40d8
|
Added -w/--word flag
|
2021-07-30 20:46:50 -07:00 |
|
|
9c05f880b0
|
Added | as alias for \b
|
2021-07-30 20:23:18 -07:00 |
|
|
a6d6e39f3f
|
Bugfix for trailing line numbers on plain output
|
2021-07-30 20:16:55 -07:00 |
|
|
ba6ee18ded
|
Added strict mode for upto operator: ..=Abc
|
2021-07-30 19:24:35 -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 |
|
|
ad640caac6
|
Removing DEBUG_HEAP, just do a full cleanup all the time
|
2021-07-30 13:38:39 -07:00 |
|
|
f3954ac151
|
Linked list management cleanup
|
2021-07-30 13:36:29 -07:00 |
|
|
253bb1dbe1
|
Temporary fix for memory bug
|
2021-07-29 13:59:50 -07:00 |
|
|
ca08ebfc45
|
Fix for bug in char pattern start pos
|
2021-07-29 12:52:32 -07:00 |
|
|
bc813df3d7
|
Tweaks and optimizations
|
2021-07-29 12:45:37 -07:00 |
|
|
db969f34a9
|
Micro optimization (probably not necessary)
|
2021-07-27 00:16:15 -07:00 |
|
|
a5a456fab3
|
Caching micro-optimizations
|
2021-07-27 00:09:04 -07:00 |
|
|
f86f75d782
|
More caching performance tuning
|
2021-07-26 23:56:04 -07:00 |
|
|
afc07fb735
|
Performance improvements for caching
|
2021-07-26 23:29:51 -07:00 |
|
|
f23b9bc637
|
Introduced cache to greatly speed up many use cases
|
2021-07-26 20:59:45 -07:00 |
|
|
d703070980
|
Fixed bug where pointer wasn't getting NULLed out
|
2021-07-26 13:20:40 -07:00 |
|
|
f5b9acc05c
|
Added const
|
2021-07-20 01:03:46 -07:00 |
|
|
8c351922f4
|
Error reporting bugfix
|
2021-07-19 20:00:35 -07:00 |
|
|
cc84c3d791
|
Made escape sequence handling stricter: no longer supporting arbitrary
characters, only special escapes like \n, hex sequences like \x0a, octal
sequences like \012, and backslashes \\
|
2021-07-19 19:57:59 -07:00 |
|
|
711fe47a7f
|
Overhaul of word boundaries/edges. Now they use \b, which is implemented
in C, and the C code understands UTF8 id chars.
|
2021-07-19 19:40:43 -07:00 |
|
|
62e7d654bd
|
Disable optimization when skip is non-null
|
2021-07-19 13:33:51 -07:00 |
|
|
01410bd09d
|
Removed unnecessary code
|
2021-07-17 16:53:13 -07:00 |
|
|
debd5d886c
|
Simplification
|
2021-07-17 16:47:05 -07:00 |
|
|
9f2d9d86de
|
Improved optimization for finding next match
|
2021-07-17 16:01:18 -07:00 |
|
|
f2e47bb95f
|
Bugfix for backrefs
|
2021-07-17 15:31:18 -07:00 |
|
|
85f6cb8e76
|
Performance optimization for common case where pattern starts with
string
|
2021-07-17 15:25:24 -07:00 |
|
|
ad85fb1da5
|
Added support for multiple escape sequences: \n,r,t
|
2021-07-17 14:19:55 -07:00 |
|
|
378e94090f
|
Factored debug visualization into its own file
|
2021-07-17 14:05:10 -07:00 |
|
|
0f05961578
|
Simplified backrefs by only doing direct substring matching instead of
accounting for replacement strings.
|
2021-07-17 13:54:26 -07:00 |
|
|
26b683ca74
|
Bugfix for NULL bytes in text
|
2021-07-15 21:19:34 -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 |
|
|
2439a87833
|
Remove some word chars
|
2021-07-03 21:41:43 -07:00 |
|
|
c89fd1db42
|
Added lots of extra compiler flags
|
2021-05-31 13:25:38 -07:00 |
|
|
a67a257044
|
Fix compiler warning nits
|
2021-05-31 12:56:49 -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 |
|
|
315aedc7cb
|
Minor splint fixes
|
2021-05-22 22:02:22 -07:00 |
|
|
55e57050c4
|
Slight tweak
|
2021-05-22 13:28:33 -07:00 |
|
|
c87a3add5b
|
Fix for keyword check
|
2021-05-22 13:25:14 -07:00 |
|
|
9c8baf4434
|
Fixes for replacements with or without patterns/replacement strings
|
2021-05-22 13:23:10 -07:00 |
|
|
cd719c1477
|
Tweaks to line-specific search
|
2021-05-21 00:22:05 -07:00 |
|
|
219f62ed3f
|
Renamed file_t.contents -> file_t.start, added file_t.memory for
canonical tracking of memory for mmap, simplified json printing,
and added support for initiating searches on a specific line (and/or
column).
|
2021-05-20 18:31:28 -07:00 |
|
|
cc6e25a06f
|
Fix for broken escapes
|
2021-05-20 18:30:30 -07:00 |
|
|
78695e2aee
|
Fixed backslash escape for single utf8 chars.
|
2021-05-20 17:39:27 -07:00 |
|