Commit Graph

1789 Commits

Author SHA1 Message Date
Tim Stack
eaa6e50a52 [log_format] perform more validations on log formats 2022-09-12 07:18:26 -07:00
Tim Stack
af5213a98a [log_formats] change "no patterns have a capture" error to a warning 2022-09-10 15:43:47 -07:00
Tim Stack
132bd0adba [log_format] check for null 2022-09-10 10:48:52 -07:00
Tim Stack
664f45f641 [build] check for sqlite3_drop_modules
Fixes #1053
2022-09-10 10:37:04 -07:00
Tim Stack
5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2022-09-10 09:28:07 -07:00
Fulvio Scapin
4b7c9ef54c [view_curses] Fix for fg colour and reverse attribute for separator bars
Elements of type VC_GRAPHIC used as column separators, when used
along with background coloured bars to express numeric column values,
maintain alternate-line reversing of colours when inside the bar range
and take the foreground color of the last coloured bar on the line even
though are not placed in the coloured range of characters.
This commit fixes this.
2022-09-04 23:36:17 +02:00
Tim Stack
66ec8e553e [build] fix static var issue 2022-09-04 07:13:32 -07:00
Tim Stack
6ca01cd934 [line_buffer] fix some long-line handling 2022-09-04 06:38:39 -07:00
Tim Stack
7309352c97 [view_curses] add a unit type to line_range
Fixes #1033
2022-09-03 08:49:47 -07:00
Tim Stack
a813482a54 [log_formats] JSON number time to local time zone
Fixes #1038
2022-09-02 23:06:03 -07:00
Tim Stack
679e9f0771 [build] try to fix brew build error 2022-09-01 21:46:59 -07:00
Tim Stack
e047386441 [sql] extract() assumed too much about elements 2022-09-01 14:33:51 -07:00
Tim Stack
c9ec288853 [regexp_vtab] hex floats were being passed through to json, which does not support hex floats
It looks like sscanf("%f") was accepting hex-floats. So, lnav
was passing that through to the JSON, which does not like hex
floats.

FYI, @trantor, this should fix the regexp_capture_into_json()
issue of hex numbers being passed through.
2022-09-01 07:32:51 -07:00
Tim Stack
84d2f56189 [formats] add / to pattern in unifi 2022-08-31 21:31:44 -07:00
Tim Stack
8d6780e089 [ptimec_rt] restore '%a' handling 2022-08-31 09:27:59 -07:00
Tim Stack
eb403f540f [text_format] recognize .markdown extension 2022-08-31 09:27:46 -07:00
Tim Stack
8e33c599f1 [regexp_vtab] match_index should reset for the next log line 2022-08-30 21:39:35 -07:00
Tim Stack
c69b398944 [tutorial] add more steps to the first tutorial 2022-08-30 13:23:15 -07:00
Tim Stack
1f24ab3074 [leak] fix leak of pcrepp object 2022-08-29 22:07:05 -07:00
Tim Stack
7a1ade581a [db] fix leaked db connection 2022-08-29 21:53:20 -07:00
Tim Stack
b5cb38d454 [user_notifications] treat message as markdown 2022-08-29 16:00:33 -07:00
Tim Stack
ff91cfc3a0 [tutorial] some more nits 2022-08-29 10:22:23 -07:00
Tim Stack
915f583ab0 [cmake] add missing time format 2022-08-29 09:37:58 -07:00
Tim Stack
311798e1f8 [main] try to fix cleanup of sqlite 2022-08-29 09:21:19 -07:00
Tim Stack
cebc867c6b [cmds] reduce next/prev mark errors to info to make them less noisy 2022-08-29 02:54:31 -07:00
Timothy Stack
220317eb16 [demo] build/deploy stuff for ssh-based demo
fix structure name clash
2022-08-28 23:07:55 -07:00
Tim Stack
4b307b5b4f [build] missed new file 2022-08-28 19:41:56 -07:00
Tim Stack
87791ec94b [markdown] add support for going to an anchor 2022-08-28 18:55:32 -07:00
Tim Stack
fd956c66d3 [field_overlay] fix known key size when there's a prefix 2022-08-26 07:39:04 -07:00
Tim Stack
d01db38d51 [init] fix handling of unknown TERM 2022-08-22 13:15:31 -07:00
Tim Stack
5751fe89c4 [markdown] recognize more code fence langs 2022-08-21 22:02:46 -07:00
Tim Stack
0d1304e8ec [ansi_scrubber] fix handling of invalid utf 2022-08-21 21:15:37 -07:00
Tim Stack
a2c35140ba [data_scanner] hack to recognize some windows paths
Fixes #1018
2022-08-20 21:23:42 -07:00
Tim Stack
23ab1abd73 [data_scanner] tweaks to fix slow build times and a couple warnings 2022-08-20 21:01:15 -07:00
Tim Stack
7310f9dcec [formats] add description and level properties to tag definitions 2022-08-20 06:41:44 -07:00
Tim Stack
412a3c2a70 [formats] restrict tag name characters 2022-08-19 21:15:59 -07:00
Tim Stack
53c9c5cb51 [logfile] move bookmark_metadata to logfiles 2022-08-19 20:01:25 -07:00
Tim Stack
ad1897ba15 [field-overlay] display the timestamp format 2022-08-18 21:32:51 -07:00
Tim Stack
5abd483029 [ansi_scrubber] handle unicode in overstrike code 2022-08-18 16:09:45 -07:00
Tim Stack
9c8cc04a99 [cmds] :goto was not handling timestamps with spaces 2022-08-18 13:27:49 -07:00
Tim Stack
8e734eaf07 [cover] remove some dead code 2022-08-17 16:15:02 -07:00
Tim Stack
74c2237296 [loader] add some help text to the error for values without a corresponding capture 2022-08-16 22:39:24 -07:00
Tim Stack
001f26d066 [loader] make sure values defined in formats have a corresponding capture in at least one pattern 2022-08-16 21:38:17 -07:00
Tim Stack
072fad4173 [tests] coverage for json SQL funcs 2022-08-16 20:46:23 -07:00
Tim Stack
d020168860 [meta] highlight comments/tags in searches 2022-08-15 22:32:28 -07:00
Tim Stack
a1de8f1fc1 [search-table] fix clearing of message data 2022-08-15 21:45:31 -07:00
Tim Stack
7ef5cf6ba3 [session] some more session docs 2022-08-13 21:42:41 -07:00
Tim Stack
0603b1e756 [session] support for :hide-file and some related fixes 2022-08-13 07:31:46 -07:00
Tim Stack
13f161d21e [build] fix some warnings 2022-08-12 22:07:33 -07:00
Tim Stack
c824b64840 [filter] fix a case where top time was not maintained when a filter was applied 2022-08-11 21:03:45 -07:00