Commit Graph

285 Commits (11545f84ca9dd6b5e56f4482f2d2ebeb59952a2e)

Author SHA1 Message Date
Tim Stack 884e2df6ad [:eval] treat the argument like the contents of a file with multiple commands 1 year ago
Tim Stack 01c973868d [file_collection] handle large file counts better 1 year ago
Tim Stack 80a7332fc8 [sql] some SQL prompt cleanup 1 year ago
Tim Stack dd8a23ad51 [ansi_scrubber] handle unknown sequences
... and many other tweaks.
1 year ago
Tim Stack ce391166ee [ptime] fix buffer overflow
Fixes #997
1 year ago
Tim Stack f3bdc50e70 [pretty] use an attribute to draw the guidelines to keep copy & paste clean 1 year ago
Tim Stack be377dea27 [pretty-print] fix an issue with shifting attributes when rewriting
Related to #705
1 year ago
Tim Stack 530021604e [docs] add some more stuff for the gantt chart 1 year ago
Tim Stack 33c929ac5d [time_util] fix typo 1 year ago
Tim Stack 912171a43f [vmw_vc_svc_log] fixup for this format
Also, some optimizations for gantt index building
1 year ago
Tim Stack 12c2718a16 [data_scanner] recognize XML comments 1 year ago
Tim Stack 5c0333fd64 [themes] add dracula theme
Various improvements to styling.

Empty opids are not valid.
1 year ago
Tim Stack c464827737 [views_vtab] programmatic control of the overlay toggle 1 year ago
Tim Stack 3e49915ef2 [tests] fix :export-session-to test
Also, fix some regex101 import bitrot
1 year ago
Tim Stack 4cd1234cea [date_time] try to show zone offset where appropriate
Related to #703
1 year ago
Tim Stack cc445cc78f [listview] use ctrl-] to focus on overlays 1 year ago
Tim Stack 1c857feed7 [gantt] support for sub-ids 1 year ago
Tim Stack d6137c7b10 [vtab] allow UPDATEs to log_annotations 1 year ago
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.
1 year ago
Tim Stack 3cc827d613 [date_time] missed some TZ stuff 1 year ago
Tim Stack 155dad6ee1 [date_time_scanner] convert timestamps with zones to local time
Related to #703
1 year ago
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
1 year ago
Tim Stack bd5b3908c3 [formats] some tweaks 1 year ago
Tim Stack 9306ddbf13 [gantt] tweak the style of dates in the chart headers 1 year ago
Tim Stack 116ff24da3 [tests] add regexp test
Related to #1177
1 year ago
Tim Stack 98699b318c [tests] more gantt tests 1 year ago
Tim Stack b791c573e1 [tests] add some more gantt tests 1 year ago
Tim Stack a1ed96dc5c [tests] set TZ to UTC 1 year ago
Tim Stack 970e53a7ef [tests] missing expected files 1 year ago
Tim Stack cb43a562a2 [bro] update opid metadata 1 year ago
Tim Stack 14e61acda7 [gantt] support filtering 1 year ago
Tim Stack 6334ad299c [log_format] check that patterns have a timestamp capture 1 year ago
Tim Stack f71300ba1d [gantt] add a gantt chart view 1 year ago
Tim Stack 7c8d32308a [listview] scroll within overlay 1 year ago
Tim Stack f2ec975b1c [string_fragment] oopserator< 1 year ago
Tim Stack 7dfecc556f [config] fix static init ordering issue 1 year ago
Tim Stack a16a8cf3fa [log-annotations] add :annotate command 1 year ago
Tim Stack 80bf31b338 [markdown] add border-left/border-right support 1 year ago
Tim Stack 4b9f81a65a [markdown] some minor improvements 1 year ago
Tim Stack c8fd38f74a [tests] set TZ for sessions test 1 year ago
Tim Stack b0589d14d9 [tidy] use factory_container for theme highlights
And... a bunch of other stuff
1 year ago
Tim Stack a05dd4bd2f [tests] scrub out $UID in test output 1 year ago
Tim Stack 401ec5181f [piper] add metadata to piper file header and cleanup workdir 1 year ago
Tim Stack a5c7378557 [config] order the keymaps 1 year ago
Tim Stack 9b2a6f323a [misc] add URL handler test
Fix loading of configs from include dirs

Add "config get" and "config blame" management CLI
commands
1 year ago
Tim Stack 4f4fd4091f [misc] more include shuffling
Improve xpath() error messages

Update alt-text in other themes
1 year ago
Tim Stack 2a2e8738fa [tests] leave JSON shorthand (-> / ->>) out of the examples for now 1 year ago
Tim Stack b5e19ef3b0 [tests] add some tests for recent additions
Add missing SQLite JSON functions to the help
Fix some DB UI issues
1 year ago
Tim Stack 2f9a41dfaf [files] custom url handlers
Related to #1029
1 year ago
Tim Stack 8df83d562a [config] simplify file format detection by moving it into the log format definition 1 year ago
Tim Stack 2e09202ff5 [config] externalize file format detection 1 year ago
Tim Stack 5787f47767 [piper] replace piper_proc with a thread
Related to #1029
1 year ago
Tim Stack 7bf42e7d2f [json-logs] automatically remove trailing line feeds
Fixes #969
1 year ago
Tim Stack d5f19bc7f8 [tests] missing expected output 1 year ago
Tim Stack 29837caf52 [log_format] fix hiding/showing JSON fields not in the line-format
Related to #1081
1 year ago
Tim Stack c49d83395b [formats] add cloudflare format
Related to #1081
1 year ago
Tim Stack 8118c5dbe4 [sections] fix some issues with doc sections in logs 1 year ago
Tim Stack c8764da9d2 [bunyan] add test for this format and add "src" field
Related to #1136
1 year ago
Tim Stack 1c8c7089cb [log_format] try to do a better job matching JSON formats to logs
Try all formats and find the one with the highest quality
match.  For JSON logs, this means the format that matched
the most fields in the line-format.

Related to #1136
1 year ago
Tim Stack f096824034 [build] general actions improvements 1 year ago
Tim Stack dd21bdfd82 [text_filter] scrub ansi when testing a filter
Related to #1163
1 year ago
Tim Stack a324bc8c1c [docs] add a note that level regexes are not anchored
Related to #1153
1 year ago
Tim Stack 822eaf5a1a [json_log] auto detect the required width for a column
Related to #1146
1 year ago
Tim Stack f2a0c8f21c [logfile] include microseconds when converting timestamps
Mentioned in #1145

Also, fix the field hiding issue mentioned in #1146
1 year ago
Tim Stack 44b564681b [format_loader] catch invalid format names
Fixes #1122
2 years ago
Tim Stack 70dee8a747 [ci] try to fix some test failures 2 years ago
Tim Stack db1fc92fdd [ansi] missed resizing a buffer when scrubbing ansi
Fixes #1135
2 years ago
Tim Stack f34a5cf589 [docs] update docs for half page hotkeys 2 years ago
Tim Stack fe50ba8f9b change en_US.utf-8 to en_US.UTF-8
related to #1089
2 years ago
Tim Stack 12d70f9996 [config] add missing enum terminator
the terminator is needed in the enum_value_t array

(I should really make it a real container...)
2 years ago
Tim Stack 554918b96c [goto] fix error reporting issue
Fixes #1078
2 years ago
Tim Stack faeaf477ab [yajlpp] flesh things out a bit more 2 years ago
Tim Stack 9eb734ef7e [log_format] support for a separate sub-second field 2 years ago
Tim Stack 07c57dae08 [json-log] change how lines that do not start with a curly are reported 2 years ago
Tim Stack 094b45f7ca [nits] minor fixes 2 years ago
Tim Stack 0fd9845580 [tests] test_tailer tweaks 2 years ago
Tim Stack fd19759bf5 [tests] set TZ when doing touch 2 years ago
Tim Stack 93a53c4224 [fini] fix a destruction ordering issue 2 years ago
Tim Stack d940d9d5eb [logfile] plumb gzip header through file meta 2 years ago
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
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 d79c1f9235 [regex101] accept pcre2 imports 2 years ago
Tim Stack 6016219d57 [tests] missed updating test output 2 years ago
Tim Stack c49e0787f3 [release] bump version and try to automate some stuff 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 eb0bd4ac9a [anon] add an anonymizer to help with support requests
Fixes #1055
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 5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
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 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 72d171ae4b [tests] add a regexp_capture() test 2 years ago
Tim Stack b5cb38d454 [user_notifications] treat message as markdown 2 years ago
Tim Stack 87791ec94b [markdown] add support for going to an anchor 2 years ago
Tim Stack 5751fe89c4 [markdown] recognize more code fence langs 2 years ago
Tim Stack 53c9c5cb51 [logfile] move bookmark_metadata to logfiles 2 years ago
Tim Stack 5abd483029 [ansi_scrubber] handle unicode in overstrike code 2 years ago
Tim Stack 9c8cc04a99 [cmds] :goto was not handling timestamps with spaces 2 years ago
Tim Stack af75f7bd80 [tests] updated expected output for readme change 2 years ago
Tim Stack 74c2237296 [loader] add some help text to the error for values without a corresponding capture 2 years ago
Tim Stack 001f26d066 [loader] make sure values defined in formats have a corresponding capture in at least one pattern 2 years ago
Tim Stack 072fad4173 [tests] coverage for json SQL funcs 2 years ago
Tim Stack 35a8e99c07 [tests] coverage for some state functions 2 years ago
Tim Stack 88d9002a5d [search-table] add test case 2 years ago
Tim Stack d020168860 [meta] highlight comments/tags in searches 2 years ago
Tim Stack 7ef5cf6ba3 [session] some more session docs 2 years ago
Tim Stack 0603b1e756 [session] support for :hide-file and some related fixes 2 years ago
Tim Stack 1fd274ce24 [docs] some more updates to docs
Also, add support for overstruck/backspace-underscore for
doing bold/underline.
2 years ago
Tim Stack 3df07139b3 [line_buffer] fix long line issue
Fixes #980
2 years ago
Tim Stack 4e74491e84 [blog] post about markdown support 2 years ago
Tim Stack deb0e21554 [tests] fix export session test 2 years ago
Tim Stack 4e0dab843a [session] try avoid using absolute file paths in session exports 2 years ago
Tim Stack 7c3df44fc4 [pretty] handle ANSI escapes
Fixes #1020
2 years ago
Tim Stack 056754a926 [session] some improvements to session export 2 years ago
Tim Stack 5259da4f4f [highlights] reprioritize highlighters to prefer formats over themes
Fixes #992
2 years ago
Tim Stack 010198531b [tests] some coverage for blobs 2 years ago
Tim Stack 3cafcf3c77 [attr_line] tweak shifting of attributes
Fixes #1017
2 years ago
Tim Stack 1ae1600f7b [line_buffer] cache compressed files 2 years ago
Tim Stack c17046b2fa [formats] fix error message if pattern does not fully match sample 2 years ago
Tim Stack e2e491ec41 [search-table] improve preview highlighting 2 years ago
Tim Stack 3b9bc57ab0 [sql] consolidate the encoders to a single function 2 years ago
Tim Stack 94aab91d38 [sql] add base64_encode()/base64_decode() functions 2 years ago
Tim Stack 1f8e2bd46c [sql] add uri_encode()/uri_decode() functions
Fixes #1014
2 years ago
Tim Stack be862e0eab [scn] more scnlib conversions 2 years ago
Tim Stack 9c03938ff3 use scnlib instead of sscanf/strtod 2 years ago
Timothy Stack 8ef581177c [line_buffer] add some performance counters for tracking SQL perf
Also, check for keyboard input during SQL execution
so we can cancel.

Fixes #894
2 years ago
Timothy Stack a459370bd8 [tests] coverage for markdown breadcrumbs 2 years ago
Timothy Stack 16d39f3fd9 [db] move the shared_buffer_ref out of logline_value 2 years ago
Timothy Stack 66853a70ca [db] use arena allocator for db results
... and continue to tweak cylon
2 years ago
Timothy Stack ff44e37f7e [ui] make the cylon status mode actually cylon-like 2 years ago
Timothy Stack a5a02d6243 [tests] text file handling and make sure the progress status bar is updated during SQL processing 2 years ago
Timothy Stack b3ee092dc5 [cleanup] remove unused stuff and add a test 2 years ago
Timothy Stack 41754a8ec1 [session] add time_offset of files to session exports 2 years ago
Timothy Stack a04dc2a327 [session] improvements to :export-session-to 2 years ago
Timothy Stack 773cc3e049 [tests] add some more tests for the views vtabs 2 years ago
Timothy Stack 6712a33163 [cmds] add :export-session command 2 years ago
Timothy Stack 1abc77e129 [secure] start to update secure-mode 2 years ago
Timothy Stack 5ea55afd74 [vtab] indexing improvements 2 years ago
Timothy Stack 0f9c519061 [vmw_log] update to work with hostd on esx 2 years ago
Timothy Stack 0b99c0b9a4 [tests] update json sql test for sqlite bugfix
Related to #1009
2 years ago
Timothy Stack 45270505e3 [status] some more user notification tweaks 2 years ago
Timothy Stack f5cc4b298f [ui] add back top status bar 2 years ago
Timothy Stack d1521496cc [docs] fill out search-table docs 2 years ago