Commit Graph

1841 Commits

Author SHA1 Message Date
Tim Stack 13f161d21e [build] fix some warnings 2022-08-12 22:07:33 -07:00
Tim Stack c824b64840 [filter] fix a case where top time was not maintained when a filter was applied 2022-08-11 21:03:45 -07:00
Tim Stack 270d44c6b4 [remote] fix handling of absolute symlinks 2022-08-11 12:40:36 -07:00
Tim Stack f73e71cf30 [perf] issues with matching filenames and ansi scrubbing 2022-08-11 11:16:49 -07:00
Tim Stack 1e63cfc5ae [lss] fix issue with crumbs 2022-08-11 08:55:59 -07:00
Tim Stack d9e699fd09 [docs] add docs for new SQL tables 2022-08-11 00:15:18 -07:00
Tim Stack 061e3690de [build] fix 32-bit build 2022-08-10 15:08:12 -07:00
Tim Stack ca7efa822f [spectro] show DB overlay and handle values in an empty range 2022-08-10 14:37:49 -07:00
Tim Stack ebe2e0d8e6 [docs] add config panel screenshots 2022-08-10 10:39:25 -07:00
Tim Stack 1fd274ce24 [docs] some more updates to docs
Also, add support for overstruck/backspace-underscore for
doing bold/underline.
2022-08-08 23:14:02 -07:00
Tim Stack c52615c424 [docs] start updating screenshots 2022-08-07 10:00:34 -07:00
Tim Stack 3df07139b3 [line_buffer] fix long line issue
Fixes #980
2022-08-06 13:46:50 -07:00
Tim Stack 4e74491e84 [blog] post about markdown support 2022-08-06 02:11:37 -07:00
Tim Stack bbedca5940 [export-session] add missing line-feeds 2022-08-05 22:17:55 -07:00
Tim Stack 01405ffbd6 [log-crumbs] turn off semantic highlights for crumbs 2022-08-05 16:15:59 -07:00
Tim Stack 1832303bde [lo-fi] try to maintain the position of lines on the display
Fixes #815
2022-08-05 16:09:54 -07:00
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 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 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 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
Timothy Stack 6712a33163 [cmds] add :export-session command 2022-07-20 22:01:17 -07:00
Timothy Stack 1abc77e129 [secure] start to update secure-mode 2022-07-19 23:48:25 -07:00
Timothy Stack 5ea55afd74 [vtab] indexing improvements 2022-07-19 22:08:07 -07:00
Timothy Stack 80bddbd2e7 [formats] some more fixes for vmw formats 2022-07-17 14:11:23 -07:00
Timothy Stack 0f9c519061 [vmw_log] update to work with hostd on esx 2022-07-17 07:47:53 -07:00
Timothy Stack 3ac5ce1e51 [sqlite] make compatible with older sqlite 2022-07-16 16:41:21 -07:00
Timothy Stack 981a3d6b70 [build] xxhash for other arch 2022-07-16 15:52:01 -07:00
Timothy Stack dabd93a63a [build] distcheck fix 2022-07-15 23:15:09 -07:00
Timothy Stack 7b83b87e57 [build] fix bin2c path 2022-07-15 21:54:50 -07:00
Timothy Stack fcb4794e87 [build] change to BUILT_SOURCES 2022-07-15 21:48:30 -07:00
Timothy Stack 45270505e3 [status] some more user notification tweaks 2022-07-15 21:41:47 -07:00
Timothy Stack f5cc4b298f [ui] add back top status bar 2022-07-14 22:32:38 -07:00
Timothy Stack d1521496cc [docs] fill out search-table docs 2022-07-13 22:24:49 -07:00
Timothy Stack 4c20b0039c [sql] some more error improvements 2022-07-13 15:43:41 -07:00
Timothy Stack dde6d88430 [exec] fix reporting of errors in scripts 2022-07-12 22:52:40 -07:00
Timothy Stack e669f6ca55 [build] distcheck fix for header 2022-07-12 13:51:37 -07:00
Timothy Stack 3c54f20fce [sysclip] support osc 52 for copying to the clipboard
Fixes #825
2022-07-12 13:16:13 -07:00
Timothy Stack 6393990b91 [nits] miscellaneous issues 2022-07-11 23:17:42 -07:00
Timothy Stack a3f5c3239e [vtab] some more indexing fixes 2022-07-11 00:09:08 -07:00
Timothy Stack 39763b2d31 [vtab] add indexes for text columns 2022-07-10 21:00:45 -07:00
Timothy Stack f3934c742d [error] leverage sqlite3_error_offset 2022-07-08 14:17:34 -07:00
Timothy Stack 8b3b8a6e3c [perf] fix some text file loading issues 2022-07-07 22:13:18 -07:00
Timothy Stack 01031a9fa3 [build] add missing include 2022-07-07 11:00:19 -07:00
Timothy Stack 7db3c7d3cf [tests] fix index test 2022-07-07 10:46:06 -07:00
Timothy Stack 36e9433891 [perf] try to overlap line buffer i/o 2022-07-07 10:05:06 -07:00
Timothy Stack 09bd5396b2 [build] remove use of <algorithm> in header 2022-07-06 23:04:01 -07:00
Timothy Stack ef7c7fa9b4 [build] remove use of <algorithm> 2022-07-06 22:57:53 -07:00
Timothy Stack a687de1690 [build] missing include 2022-07-06 22:43:22 -07:00
Timothy Stack ea16ee630b [libs] bump ghc::filesystem 2022-07-06 22:30:51 -07:00
Timothy Stack dae3f6b7bc [libs] bump doctest 2022-07-06 22:27:33 -07:00
Timothy Stack c27ee7fdd5 [libs] bump fmt version 2022-07-06 22:19:39 -07:00
Timothy Stack 262c993a31 [libs] bump pugixml version 2022-07-06 21:22:14 -07:00
Timothy Stack a3e1fd27b8 [db] charting of JSON values was mistakenly limited to very short values 2022-07-06 21:10:23 -07:00
Timothy Stack d6c9b0036a [spectro] improve error messages and fix some issues with invalidation 2022-07-06 11:56:29 -07:00
Timothy Stack 812fa08055 [search-table] some more enhancements to search-tables 2022-07-05 21:46:12 -07:00
Timothy Stack 13910aff7a [lnav_log] leak the dumper list vector to avoid static ordering issues 2022-07-05 13:12:13 -07:00
Timothy Stack 635dd996a9 [build] fix win build 2022-07-05 12:15:24 -07:00
Timothy Stack 20cb489ce3 [build] fix some include issues 2022-07-05 11:46:15 -07:00
Timothy Stack 52fe2db376 [spectro] add a summary overlay to the selected position and show log messages in a panel 2022-07-05 11:06:37 -07:00
Timothy Stack cec6c3a225 [build] check for limit/offset def 2022-07-01 18:13:56 -07:00
Timothy Stack 72c1c48e23 [perf] fixing slow queries 2022-07-01 16:02:14 -07:00
Timothy Stack d5b06fca5f [mark-expr] expression marks should count when showing elapsed time 2022-06-29 11:04:37 -07:00
Timothy Stack bd1b90a101 fix -H usage and mem leak 2022-06-29 09:53:23 -07:00
Timothy Stack f6fa834aa6 [test_yajlpp] missed freeing the tree 2022-06-29 06:57:19 -07:00
Timothy Stack c666a669fe [spectro] fix key colors 2022-06-28 23:15:50 -07:00
Timothy Stack 717c039100 [dist] missed arena headers 2022-06-28 23:15:22 -07:00
Timothy Stack 689793d39f [build] try to fix issue 2022-06-28 22:44:02 -07:00
Timothy Stack f9f797fc9d [logfile_sub_source] add log message watch expressions
Fixes #539
2022-06-28 22:23:56 -07:00
Timothy Stack 906494ebfa [errors] try to improve some errors 2022-06-22 22:53:52 -07:00
Timothy Stack a3b9314ff7 [yajlpp] add for_child() helper 2022-06-22 11:25:11 -07:00
Timothy Stack 041cc2c551 [themes/monocai] add snippet-border definition 2022-06-21 22:26:39 -07:00
Timothy Stack c24be236a3 [:goto] raise an error if the input is not fully parsed
Related to #999
2022-06-21 22:16:57 -07:00
Timothy Stack 9d590836f3 [perf] tweak initial line buffer request size 2022-06-13 22:09:52 -07:00
Timothy Stack c0f4254f1c [attr_line] minor perf fix 2022-06-13 21:30:08 -07:00
Timothy Stack 64e7b78c6b [attr_line] fixes for empty attributes 2022-06-13 21:01:01 -07:00
Timothy Stack 84ec014a8d [coverity] fix some issues found by coverity 2022-06-13 09:31:32 -07:00
Timothy Stack 7eb4d1b6e6 [input] remove capture of ctrl-d
Not sure why this was ever put in in the first place.

Fixes #945
2022-06-12 22:11:01 -07:00
Timothy Stack e03d216b8b [overlay] remove log view summary line 2022-06-11 21:17:24 -07:00
Timothy Stack bcc7436f66 [console] syntax highlight some snippets 2022-06-11 08:39:02 -07:00
Timothy Stack 64bee48fb0 [view] preserve top time when filtering 2022-06-11 06:43:55 -07:00
Timothy Stack bc467aacf2 [formats] skip closed file 2022-06-10 22:44:05 -07:00
Timothy Stack 7d2258764c [vtab] skip closed files 2022-06-10 21:41:48 -07:00
Timothy Stack 1891ceb7b5 [perf] fix some performance issues with log vtabs
Fixes #995
2022-06-10 21:17:02 -07:00
Timothy Stack d9ae810dd6 [build] fix type 2022-06-09 13:21:52 -07:00
Timothy Stack 56f6b801d2 [build] fix overridden methods 2022-06-09 13:15:41 -07:00
Timothy Stack 6c52760cc9 [events] initial events work
Related to #811
2022-06-09 12:49:06 -07:00
Timothy Stack 1ea385ea3b [document.sections] fix sections 2022-06-07 15:24:09 -07:00
Timothy Stack 9dbbec832c [formats] more vmw format updates 2022-06-06 21:23:33 -07:00
Timothy Stack d54f21d7a5 [build] fix some warnings 2022-06-04 22:58:19 -07:00
Timothy Stack eeddc318ff [formats] fix some of the vmw formats 2022-06-04 20:35:47 -07:00
Timothy Stack 0b6de5ae31 [oops] remove leftover debug log 2022-06-04 15:46:00 -07:00
Timothy Stack 60251dda84 [w3c_log] handle an invalid log correctly
Fixes #988
2022-06-04 15:31:48 -07:00
Timothy Stack ef8c641e59 [date_time_scanner] fix an overflow
Fixes #989
2022-06-04 11:05:39 -07:00
Timothy Stack c9724e1eb2 [build] more msys 2022-06-04 00:20:10 -07:00
Timothy Stack adf8f77e30 [build] more msys 2022-06-04 00:03:52 -07:00
Timothy Stack 023c9568d8 [build] try to fix msys build 2022-06-03 23:09:25 -07:00
Timothy Stack f01564fea4 [perf] fix url download performance 2022-06-03 21:41:21 -07:00
Timothy Stack dfaeee7f44 [perf] fix some performance issues 2022-06-03 19:17:00 -07:00
Timothy Stack 24a56042d0 [file-collection] restore progress after move nulls out pointer 2022-06-03 07:06:07 -07:00
Timothy Stack 6105db3c32 [build] try try try 2022-05-24 10:15:52 -07:00
Timothy Stack 6b59b03750 [build] try to fix a couple of build issues 2022-05-24 00:15:40 -07:00
Timothy Stack 2e20195b99 [afl] some more fixes for fuzzer bugs
Fixes #987
Fixes #986
Fixes #985
Fixes #984
Fixes #982
2022-05-23 21:41:50 -07:00
Timothy Stack 2bc258e621 [afl] fix bugs detected by a fuzzer
Fixes #981 #983
2022-05-22 22:45:06 -07:00
Timothy Stack 31a670ce27 [md4c] initial markdown support 2022-05-22 20:44:18 -07:00
Timothy Stack 0c7f6145c9 [data_scanner] fix file:/path recognition in data_scanner 2022-05-11 12:20:02 -07:00
Timothy Stack 5e6985d8a4 [release] some updates 2022-05-11 09:06:02 -07:00
Timothy Stack b2e4e59a40 [build] handle older versions of sqlite 2022-05-10 22:28:20 -07:00