Commit Graph

2618 Commits

Author SHA1 Message Date
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
Tim Stack 679e9f0771 [build] try to fix brew build error 2022-09-01 21:46:59 -07:00
Tim Stack bea4fe5b3d [snap] fix config param name 2022-09-01 21:25:17 -07:00
Tim Stack ca51854e89 [build] turn on optimizations for snap build and fix dist 2022-09-01 21:16:28 -07:00
Tim Stack ac398dd441 [site] add links to playground / tutorial 2022-09-01 15:15:01 -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 72d171ae4b [tests] add a regexp_capture() test 2022-08-30 22:28:12 -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 a6cbed6162 [playground] make links in the sample markdown real to keep the action from complaining 2022-08-30 21:16:10 -07:00
Tim Stack d8ae7053e6
Merge pull request #1031 from trantor/patch-1
Indentation correction in formats.rst
2022-08-30 17:03:39 -07:00
Fulvio Scapin cad1d80be3
Indentation correction in formats.rst
Indentation correction in the formats.rst file
2022-08-31 01:44:30 +02:00
Tim Stack 84536d804c [demo] add playground 2022-08-30 16:11:37 -07:00
Tim Stack cc598e3ae6 [site] exclude tutorials directory 2022-08-30 14:03:55 -07:00
Tim Stack f0d9ab5f40 [tutorial] revert debugging change to timeout 2022-08-30 13:54:11 -07:00
Tim Stack c69b398944 [tutorial] add more steps to the first tutorial 2022-08-30 13:23:15 -07:00