Commit Graph

1928 Commits (e0ff4434a937ef0e29f6d5e676a1e9873ef4ff98)

Author SHA1 Message Date
Tim Stack e0ff4434a9 [logfile] report utf error location
Related to #1156
1 year ago
Tim Stack 5d915796fa [debug] include archive_version_details() 1 year ago
Tim Stack d4832c976d [vmw_py_log] handle broken ms field in timestamp 1 year ago
Tim Stack 5244753758 [pcap_log] use auto-width for fields 1 year ago
Tim Stack 4a24d8797f [sql] logline table was not checking if format matched the template line format
Some more cursor mode tweaks...
1 year ago
Tim Stack 7f18aa9cd9 [blog] add post for cursor mode 1 year ago
Tim Stack 8da3dcc01c [listview] when making big moves, put the focused row in the middle
Related to #1088 and #1149
1 year ago
Tim Stack 7bf42e7d2f [json-logs] automatically remove trailing line feeds
Fixes #969
1 year ago
Tim Stack e0811eb629 [session] fix restoring log top/selection
Related to #1088
1 year ago
Tim Stack 3da4b85365 [cursor] use selection when switching between views and keeping time synced
Related to #1088
1 year ago
Tim Stack 1a1272bbfb [cursor] when the parser overlay is displayed, sync the selection and top
Related to #1088
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 0e4a6635e1 [textfile] log reason for not discovering metadata and cache it 1 year ago
Tim Stack 8118c5dbe4 [sections] fix some issues with doc sections in logs 1 year ago
Tim Stack e77ef5c8cd [cursor] breadcrumb performers should move selection instead of top 1 year ago
Tim Stack c8764da9d2 [bunyan] add test for this format and add "src" field
Related to #1136
1 year ago
Tim Stack 57486af178
Merge pull request #1136 from TobiX/bunyan
Add support for the bunyan JSON log format
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 a1cfe34a7b [lss] fix handling of ansi escapes in json log 1 year ago
Tim Stack 5db31300c9 [logfile] avoid reading full log messages that are bigger than the line_buffer max size 1 year ago
Tim Stack 0083eaf675 [humanize] pad out duration to align fields
Fixes #933
1 year ago
Tim Stack 026031dcd3 [config] remove GLOB_NOCHECK when looking for git dirs
Fixes #1109
1 year ago
Tim Stack 82b10e2b23 [readline] handle width properly
Fixes #1100
1 year ago
Tim Stack 8f8874c718 [cursor] update docs and more tweaks 1 year ago
Tim Stack cfb7ac1fdd [lss] don't add an empty style attr 1 year ago
Tim Stack 2e409a8251 [vmw_log] fix for capturing sub= 1 year ago
Tim Stack 2ff9f63a79 [hotkeys] use selection instead of top in a few more places 1 year ago
Tim Stack 06385bc019 [cursor] ignore key repeat when searching forward 1 year ago
Tim Stack e3bebedbad [cursor] following should only be done when the last line is selected 1 year ago
Tim Stack fe7e89121f [listview] set selection to 0 when pressing 'b'/'pgup' and the top is 0 1 year ago
Tim Stack f44e04d854 [cursor] some more fixes for the new cursor support
related to #1088
1 year ago
Tim Stack 6f0f66a418 [json] fix json log handling with multiple lines in a field 1 year ago
tstack 49dcccbaae Update tailer 1 year ago
tstack ab12671308 Update tailer 1 year ago
tstack 7b2ec36315 Update tailer 1 year ago
Tim Stack 7ccb467695 [build] fix some more warnings 1 year ago
Tim Stack 91730b7c3c [cleanup] fix some warnings 1 year ago
Tim Stack 193fd7d8cc [fmt] bump version to 10.0.0 1 year ago
Tim Stack 51841d40b8 [view] add selection column to lnav_views
related to #1149
1 year ago
Tim Stack 5e8800872b [build] try using prebuilt image 1 year ago
Tim Stack dd21bdfd82 [text_filter] scrub ansi when testing a filter
Related to #1163
1 year ago
Tim Stack f98f1e52c9
Merge pull request #1160 from he32/shift-overflow-fix
ArenaAlloc/arenaallocimpl.h: avoid shift overflow on 32-bit hosts.
1 year ago
Havard Eidnes 0b51752974 ArenaAlloc/arenaallocimpl.h: avoid shift overflow on 32-bit hosts.
Use the constants defined by <stdint.h> to avoid right-shift by 32
on a 32-bit host by comparing SIZE_MAX to UINT32_MAX, since `value`
is a size_t.

Found by building on NetBSD/macppc with -Wshift-count-overflow
(which is default on in the pkgsrc setup, which this is from).

./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >=
width of type [-Wshift-count-overflow]
  111 |       value |= value >> 32;
      |                ~~~~~~^~~~~
1 year ago
Havard Eidnes f5daea2273 strnatcmp.c: ensure correct value range for isdigit() argument.
The valid values to pass to `isdigit()` is the values represented
by `unsigned char` and the value of EOF (usually -1).  Other values
such as the other negative `signed char` values may invoke undefined
behaviour.

Fix this by casting the argument to `isdigit()` to `unsigned char`.

Found by building on NetBSD/macppc with -Wchar-subscripts turned on.
1 year ago
Tim Stack 9323958296 [args] fix handling of non-numeric text after colon in a path
Fixes #1155
1 year ago
Tim Stack a324bc8c1c [docs] add a note that level regexes are not anchored
Related to #1153
1 year ago
Tim Stack c3abaee445 [log/text-views] reload selectable config
Related to #1088
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