Commit Graph

100 Commits

Author SHA1 Message Date
Tim Stack
5c0333fd64 [themes] add dracula theme
Various improvements to styling.

Empty opids are not valid.
2023-08-16 22:13:15 -07:00
Tim Stack
3e49915ef2 [tests] fix :export-session-to test
Also, fix some regex101 import bitrot
2023-08-15 09:52:54 -07:00
Tim Stack
d6137c7b10 [vtab] allow UPDATEs to log_annotations 2023-08-11 21:40:46 -07:00
Tim Stack
73b2b28ec5 [session] restore bookmarks for non-time-ordered formats
The optimization to load bookmarks by a timestamp search
does not work for formats that are not time-ordered.
2023-08-11 20:22:58 -07:00
Tim Stack
3cc827d613 [date_time] missed some TZ stuff 2023-08-11 10:06:28 -07:00
Tim Stack
155dad6ee1 [date_time_scanner] convert timestamps with zones to local time
Related to #703
2023-08-11 09:05:15 -07:00
Tim Stack
e952dc6340 [date_time_scanner] do not try to read millis if it is already set
Also, pay attention to the gmtoff when converting exttm to a timeval.

Fixes #1034
2023-08-10 16:08:56 -07:00
Tim Stack
116ff24da3 [tests] add regexp test
Related to #1177
2023-08-07 10:05:22 -07:00
Tim Stack
98699b318c [tests] more gantt tests 2023-08-06 23:26:27 -07:00
Tim Stack
b791c573e1 [tests] add some more gantt tests 2023-08-06 07:20:06 -07:00
Tim Stack
cb43a562a2 [bro] update opid metadata 2023-08-05 07:20:17 -07:00
Tim Stack
a16a8cf3fa [log-annotations] add :annotate command 2023-07-30 21:17:52 -07:00
Tim Stack
4b9f81a65a [markdown] some minor improvements 2023-07-27 21:50:12 -07:00
Tim Stack
b0589d14d9 [tidy] use factory_container for theme highlights
And... a bunch of other stuff
2023-07-25 20:45:12 -07:00
Tim Stack
401ec5181f [piper] add metadata to piper file header and cleanup workdir 2023-07-18 22:14:45 -07:00
Tim Stack
9b2a6f323a [misc] add URL handler test
Fix loading of configs from include dirs

Add "config get" and "config blame" management CLI
commands
2023-07-15 21:50:46 -07:00
Tim Stack
4f4fd4091f [misc] more include shuffling
Improve xpath() error messages

Update alt-text in other themes
2023-07-14 22:03:08 -07:00
Tim Stack
b5e19ef3b0 [tests] add some tests for recent additions
Add missing SQLite JSON functions to the help
Fix some DB UI issues
2023-07-13 21:56:22 -07:00
Tim Stack
2e09202ff5 [config] externalize file format detection 2023-07-09 10:11:10 -07:00
Tim Stack
5787f47767 [piper] replace piper_proc with a thread
Related to #1029
2023-07-06 20:05:30 -07:00
Tim Stack
29837caf52 [log_format] fix hiding/showing JSON fields not in the line-format
Related to #1081
2023-06-22 06:06:30 -07:00
Tim Stack
c49d83395b [formats] add cloudflare format
Related to #1081
2023-06-21 16:40:19 -07:00
Tim Stack
8118c5dbe4 [sections] fix some issues with doc sections in logs 2023-06-20 14:52:41 -07:00
Tim Stack
c8764da9d2 [bunyan] add test for this format and add "src" field
Related to #1136
2023-06-20 10:33:53 -07:00
Tim Stack
dd21bdfd82 [text_filter] scrub ansi when testing a filter
Related to #1163
2023-06-09 08:43:14 -07:00
Tim Stack
70dee8a747 [ci] try to fix some test failures 2023-03-31 12:11:26 -07:00
Tim Stack
554918b96c [goto] fix error reporting issue
Fixes #1078
2022-11-08 13:57:43 -08:00
Tim Stack
9eb734ef7e [log_format] support for a separate sub-second field 2022-10-02 21:58:10 -07:00
Tim Stack
07c57dae08 [json-log] change how lines that do not start with a curly are reported 2022-09-24 21:19:20 -07:00
Tim Stack
93a53c4224 [fini] fix a destruction ordering issue 2022-09-21 18:54:45 -07:00
Tim Stack
d940d9d5eb [logfile] plumb gzip header through file meta 2022-09-20 20:07:44 -07:00
Tim Stack
a437d9fcc9 [pcre2pp] allocate match_data on the stack 2022-09-20 08:31:23 -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
d79c1f9235 [regex101] accept pcre2 imports 2022-09-18 22:37:44 -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
eb0bd4ac9a [anon] add an anonymizer to help with support requests
Fixes #1055
2022-09-15 21:11:30 -07:00
Tim Stack
eaa6e50a52 [log_format] perform more validations on log formats 2022-09-12 07:18:26 -07:00
Tim Stack
5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2022-09-10 09:28:07 -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
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
72d171ae4b [tests] add a regexp_capture() test 2022-08-30 22:28:12 -07:00
Tim Stack
87791ec94b [markdown] add support for going to an anchor 2022-08-28 18:55:32 -07:00
Tim Stack
53c9c5cb51 [logfile] move bookmark_metadata to logfiles 2022-08-19 20:01:25 -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
072fad4173 [tests] coverage for json SQL funcs 2022-08-16 20:46:23 -07:00