Commit Graph

3007 Commits

Author SHA1 Message Date
Tim Stack
8941f28c3e [time_util] cap large year in tm2sec() instead of returning BAD_DATE 2022-08-04 21:55:03 -07:00
Tim Stack
c5d11f36e1 [logfile] need to flush the buffer for single line files as well 2022-08-04 14:57:01 -07:00
Tim Stack
3ade11a449 [remote] clear file error on reconnect
Fixes #940
2022-08-04 14:41:41 -07:00
Tim Stack
7077495389 [crash] missed expanding the alt buffer in line_buffer 2022-08-04 09:23:40 -07:00
Tim Stack
4e0dab843a [session] try avoid using absolute file paths in session exports 2022-08-04 09:22:09 -07:00
Tim Stack
1c793f6f28 [remote] notify main when desired paths are initially synced
Need to wait for remote paths referenced by sessions to be
synced before progressing.
2022-08-03 23:01:38 -07:00
Tim Stack
c5b8bd0ba4 [ui] handle resizes during sql execution
Also, fix reporting of init command errors
2022-08-03 16:05:37 -07:00
Tim Stack
a4fadb56f6 [build] missed new textfile 2022-08-03 14:19:54 -07:00
Tim Stack
7c3df44fc4 [pretty] handle ANSI escapes
Fixes #1020
2022-08-03 13:46:36 -07:00
Tim Stack
056754a926 [session] some improvements to session export 2022-08-03 10:55:18 -07:00
Tim Stack
c6d7206a1e actually remove the flag 2022-08-03 07:18:59 -07:00
Tim Stack
ab3f01bbf5 [config] GLOB_BRACE is not supported in musl 2022-08-03 07:12:09 -07:00
Tim Stack
5259da4f4f [highlights] reprioritize highlighters to prefer formats over themes
Fixes #992
2022-08-03 06:48:59 -07:00
Tim Stack
bdacaa6f86 [stdin] fix handling of stdin piper
Fixes #1011
2022-08-02 22:21:44 -07:00
Tim Stack
010198531b [tests] some coverage for blobs 2022-08-02 21:18:05 -07:00
Tim Stack
7b32ea9d39 [logfile] fix handling of partial lines 2022-08-02 16:03:39 -07:00
Tim Stack
df082eaf16 [highlighter] fix string range for pcrepp input 2022-08-02 15:00:41 -07:00
Tim Stack
363eb35da3 [pcrepp] handle defined capture groups
Fixes #1013
2022-08-02 13:38:43 -07:00
Tim Stack
3cafcf3c77 [attr_line] tweak shifting of attributes
Fixes #1017
2022-08-02 11:25:19 -07:00
Tim Stack
40037b0fd1 [highlight] for format highlights, only set semantic color if nothing else is specified
Fixes #1016
2022-08-01 19:30:03 -07:00
Tim Stack
d22727242a [formats] pickup old macos syslog format 2022-08-01 15:16:00 -07:00
Tim Stack
9675eb5902 [build] fix cmake build 2022-08-01 15:15:48 -07:00
Tim Stack
1ae1600f7b [line_buffer] cache compressed files 2022-08-01 14:56:48 -07:00
Tim Stack
c17046b2fa [formats] fix error message if pattern does not fully match sample 2022-07-31 22:00:25 -07:00
Tim Stack
e2e491ec41 [search-table] improve preview highlighting 2022-07-31 07:44:22 -07:00
Tim Stack
3b9bc57ab0 [sql] consolidate the encoders to a single function 2022-07-30 13:18:55 -07:00
Tim Stack
c9c573d2ad [sql] handle null in base64_encode() 2022-07-30 00:18:26 -07:00
Tim Stack
94aab91d38 [sql] add base64_encode()/base64_decode() functions 2022-07-30 00:12:44 -07:00
Tim Stack
1f8e2bd46c [sql] add uri_encode()/uri_decode() functions
Fixes #1014
2022-07-29 23:05:16 -07:00
Tim Stack
be862e0eab [scn] more scnlib conversions 2022-07-29 21:58:08 -07:00
Tim Stack
f234b37fe0 [build] some more scnlib stuff 2022-07-29 00:07:11 -07:00
Tim Stack
9c03938ff3 use scnlib instead of sscanf/strtod 2022-07-28 23:31:58 -07:00
Tim Stack
390bc132e2 [build] updates for arm64 2022-07-28 20:24:32 -07:00
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
2022-07-27 21:49:14 -07:00
Timothy Stack
0f2d38df50 [ui/sql] the y/Y hotkey pair is no longer a thing 2022-07-25 09:23:19 -07:00
Timothy Stack
a459370bd8 [tests] coverage for markdown breadcrumbs 2022-07-25 07:49:51 -07:00
Timothy Stack
16d39f3fd9 [db] move the shared_buffer_ref out of logline_value 2022-07-24 23:29:46 -07:00
Timothy Stack
66853a70ca [db] use arena allocator for db results
... and continue to tweak cylon
2022-07-23 21:42:22 -07:00
Timothy Stack
ff44e37f7e [ui] make the cylon status mode actually cylon-like 2022-07-22 23:37:25 -07:00
Timothy Stack
a5a02d6243 [tests] text file handling and make sure the progress status bar is updated during SQL processing 2022-07-22 22:21:16 -07:00
Timothy Stack
20165a85e7 [themes] tweaks for the top status bar 2022-07-22 21:35:01 -07:00
Timothy Stack
f8aac1d52e [build] remove leftover file 2022-07-22 21:11:35 -07:00
Timothy Stack
7ed2437a01 [ux] remove redundant code for staying at the same time in lss that fixes a jump on reset 2022-07-22 21:09:19 -07:00
Timothy Stack
b3ee092dc5 [cleanup] remove unused stuff and add a test 2022-07-22 15:31:08 -07:00
Timothy Stack
317f2d32cf [misc] use sqlitepp.client in lnav.events.cc 2022-07-21 23:46:45 -07:00
Timothy Stack
e8f0b1e6b8 [secure-mode] some more restrictions 2022-07-21 23:30:49 -07:00
Timothy Stack
935290b521 [misc] fix some early exit issues 2022-07-21 22:10:37 -07:00
Timothy Stack
41754a8ec1 [session] add time_offset of files to session exports 2022-07-21 15:44:30 -07:00
Timothy Stack
a04dc2a327 [session] improvements to :export-session-to 2022-07-21 07:28:55 -07:00
Timothy Stack
773cc3e049 [tests] add some more tests for the views vtabs 2022-07-21 06:58:01 -07:00