1
1
mirror of https://github.com/tstack/lnav.git synced 2024-10-26 21:19:54 +03:00
Commit Graph

2636 Commits

Author SHA1 Message Date
Tim Stack
26bcf0865d [test] tests should not rely on the local syslog being readable 2022-09-20 08:31:23 -07:00
Tim Stack
5ae2c7dbe7
Merge pull request #1062 from TobiX/gitlab-clf
Handle empty referer in access log (fixes #1059)
2022-09-20 08:04:41 -07:00
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.
2022-09-20 16:34:25 +02:00
Tim Stack
20a06a2782 [test] missed input file 2022-09-19 21:15:28 -07:00
Tim Stack
b7de0766c8 [highlighters] add some keywords 2022-09-19 20:42:48 -07:00
Tim Stack
f1deeb5b74 [highlight] turn off nesting for some builtin highlighters 2022-09-19 20:30:56 -07:00
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
2022-09-19 20:15:35 -07:00
Tim Stack
9185518bda [top_status_source] try to fix prepared_stmt destruct order 2022-09-19 09:13:01 -07:00
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
2022-09-19 02:25:26 -07:00
Tim Stack
1faa95df94 [readme] mention running autogen.sh in the regular README 2022-09-19 01:53:47 -07:00
Tim Stack
81fc0dc47e [tidy] remove duplicate struct names
Fixes #1004
2022-09-19 01:50:54 -07:00
Tim Stack
b2abf94c2e [data_scanner] fix performance regression
Related to #1057
2022-09-19 01:37:59 -07:00
Tim Stack
d79c1f9235 [regex101] accept pcre2 imports 2022-09-18 22:37:44 -07:00
Tim Stack
2ad379c454 [am] remove aminclude_static.am 2022-09-18 22:10:03 -07:00
Tim Stack
6016219d57 [tests] missed updating test output 2022-09-18 20:47:30 -07:00
Tim Stack
502c3b5f20 [sql] tweaks to parse_url() 2022-09-18 20:42:05 -07:00
Tim Stack
c49e0787f3 [release] bump version and try to automate some stuff 2022-09-18 16:05:24 -07:00
Tim Stack
4445781038 [release] move NEWS to NEWS.md 2022-09-18 07:41:12 -07:00
Tim Stack
1effd99e5c [sql] add parse_url()/unparse_url() functions
Fixes #44
2022-09-18 06:51:04 -07:00
Tim Stack
b536043050 [sql/json] json_group_array() returns {} instead of [] 2022-09-16 13:02:52 -07:00
Tim Stack
116b40f28c [bottom_status] fix out-of-bounds when with word-wrap
Related to #1058
2022-09-16 11:20:15 -07:00
Tim Stack
bfa8ae2c42 [test] try to fix anon test 2022-09-15 23:35:54 -07:00
Tim Stack
01fe042a84 [build] try to fix link issue 2022-09-15 22:19:32 -07:00
Tim Stack
506d569b2f [build] missing include 2022-09-15 21:49:23 -07:00
Tim Stack
bf3fe7fc2c [text] add some missing bound check on the filtered line index for the TEXT view
Fixes #1056
2022-09-15 21:22:11 -07:00
Tim Stack
eb0bd4ac9a [anon] add an anonymizer to help with support requests
Fixes #1055
2022-09-15 21:11:30 -07:00
Tim Stack
fadcea4403 [final] fix sqlite cleanup bug 2022-09-15 06:27:28 -07:00
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
2022-09-14 21:43:36 -07:00
Tim Stack
8613ad4d47 [demo] bump version 2022-09-14 18:57:54 -07:00
Tim Stack
2c5aaca254 [demo] log stuff 2022-09-14 18:50:00 -07:00
Tim Stack
f0b173b0af [snap] fix pcre2 lib name 2022-09-12 14:36:33 -07:00
Tim Stack
38c10017ee [snap] add pcre2 lib 2022-09-12 13:52:34 -07:00
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
b2b300c7c8 [build] install pcre2 libs 2022-09-10 09:48:42 -07:00
Tim Stack
5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2022-09-10 09:28:07 -07:00
Tim Stack
ca4e61ba02
Merge pull request #1042 from trantor/coloring_fix
[view_curses] Fix for fg colour and reverse attribute for separator bars
2022-09-04 14:51:36 -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
aee33d6929
Merge pull request #1041 from bowlofeggs/build-remote-when-needed
Only build ssh keys when needed
2022-09-04 14:09:00 -07: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
Randy Barlow
b16833392b
Only build ssh keys when needed
I believe the test/remote folder only needs to be setup for
test/test_remote.sh. Prior to this commit, it was being built during
make, rather than just during make check. This commit adjusts things so
that the test/remote folder is only generated during make check, and
only when test/test_remote.sh is being executed.

Fixes #1040

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2022-09-04 00:03:33 -04: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
2b1a8e4622 [.github] fix version number in issue template 2022-09-02 10:32:25 -07:00
Tim Stack
7a3f4dbeaa [snap] add favicon 2022-09-02 00:13:43 -07:00
Tim Stack
f8e3417c62 [site] sigh... didn't notice it was .1 instead of .0 2022-09-01 23:54:39 -07:00
Tim Stack
94fa27ead8 [site] bump release version 2022-09-01 23:52:09 -07:00