Commit Graph

1811 Commits (3f3e6dcbdc70c14386c14d3c2ee8994d8f237495)

Author SHA1 Message Date
Tim Stack 3f3e6dcbdc [highlight] turn off nesting for var highlight 2 years ago
Tim Stack a437d9fcc9 [pcre2pp] allocate match_data on the stack 2 years ago
Tobias Gruetzmacher 0958a9b189
Handle empty referer in access log (fixes #1059)
It seems most web servers log an empty referer as `"-"`, but GitLab's
nginx actually logs an empty field instead (`""`). Allow this in the
standard CLF format parser.
2 years ago
Tim Stack b7de0766c8 [highlighters] add some keywords 2 years ago
Tim Stack f1deeb5b74 [highlight] turn off nesting for some builtin highlighters 2 years ago
Tim Stack e0ecbdff10 [logfile] improve handling of ansi escapes
I think this covers the rest of the functionality
that needs to deal with ansi escapes.

Related to #1057
2 years ago
Tim Stack 9185518bda [top_status_source] try to fix prepared_stmt destruct order 2 years ago
Tim Stack 5060b38f99 [db] avoid reusing the same chart colors
This just covers the basic case and doesn't address reuse
with JSON values.

Related to #1047
2 years ago
Tim Stack 81fc0dc47e [tidy] remove duplicate struct names
Fixes #1004
2 years ago
Tim Stack b2abf94c2e [data_scanner] fix performance regression
Related to #1057
2 years ago
Tim Stack d79c1f9235 [regex101] accept pcre2 imports 2 years ago
Tim Stack 502c3b5f20 [sql] tweaks to parse_url() 2 years ago
Tim Stack 1effd99e5c [sql] add parse_url()/unparse_url() functions
Fixes #44
2 years ago
Tim Stack b536043050 [sql/json] json_group_array() returns {} instead of [] 2 years ago
Tim Stack 116b40f28c [bottom_status] fix out-of-bounds when with word-wrap
Related to #1058
2 years ago
Tim Stack bfa8ae2c42 [test] try to fix anon test 2 years ago
Tim Stack 01fe042a84 [build] try to fix link issue 2 years ago
Tim Stack 506d569b2f [build] missing include 2 years ago
Tim Stack bf3fe7fc2c [text] add some missing bound check on the filtered line index for the TEXT view
Fixes #1056
2 years ago
Tim Stack eb0bd4ac9a [anon] add an anonymizer to help with support requests
Fixes #1055
2 years ago
Tim Stack fadcea4403 [final] fix sqlite cleanup bug 2 years ago
Tim Stack 740b827901 [logfile] handle logs with ANSI escapes
This is a partial fix for handling ANSI escapes in
parts of log messages that would prevent regexes
from matching.  Still more work to do.

Related to #1057
2 years ago
Tim Stack eaa6e50a52 [log_format] perform more validations on log formats 2 years ago
Tim Stack af5213a98a [log_formats] change "no patterns have a capture" error to a warning 2 years ago
Tim Stack 132bd0adba [log_format] check for null 2 years ago
Tim Stack 664f45f641 [build] check for sqlite3_drop_modules
Fixes #1053
2 years ago
Tim Stack 5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2 years ago
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.
2 years ago
Tim Stack 66ec8e553e [build] fix static var issue 2 years ago
Tim Stack 6ca01cd934 [line_buffer] fix some long-line handling 2 years ago
Tim Stack 7309352c97 [view_curses] add a unit type to line_range
Fixes #1033
2 years ago
Tim Stack a813482a54 [log_formats] JSON number time to local time zone
Fixes #1038
2 years ago
Tim Stack 679e9f0771 [build] try to fix brew build error 2 years ago
Tim Stack e047386441 [sql] extract() assumed too much about elements 2 years ago
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.
2 years ago
Tim Stack 84d2f56189 [formats] add / to pattern in unifi 2 years ago
Tim Stack 8d6780e089 [ptimec_rt] restore '%a' handling 2 years ago
Tim Stack eb403f540f [text_format] recognize .markdown extension 2 years ago
Tim Stack 8e33c599f1 [regexp_vtab] match_index should reset for the next log line 2 years ago
Tim Stack c69b398944 [tutorial] add more steps to the first tutorial 2 years ago
Tim Stack 1f24ab3074 [leak] fix leak of pcrepp object 2 years ago
Tim Stack 7a1ade581a [db] fix leaked db connection 2 years ago
Tim Stack b5cb38d454 [user_notifications] treat message as markdown 2 years ago
Tim Stack ff91cfc3a0 [tutorial] some more nits 2 years ago
Tim Stack 915f583ab0 [cmake] add missing time format 2 years ago
Tim Stack 311798e1f8 [main] try to fix cleanup of sqlite 2 years ago
Tim Stack cebc867c6b [cmds] reduce next/prev mark errors to info to make them less noisy 2 years ago
Timothy Stack 220317eb16 [demo] build/deploy stuff for ssh-based demo
fix structure name clash
2 years ago
Tim Stack 4b307b5b4f [build] missed new file 2 years ago
Tim Stack 87791ec94b [markdown] add support for going to an anchor 2 years ago