Commit Graph

1951 Commits (4f4fd4091f2f21b51199469a1b5919450ac22dd6)

Author SHA1 Message Date
Tim Stack d79c1f9235 [regex101] accept pcre2 imports 2 years ago
Tim Stack 502c3b5f20 [sql] tweaks to parse_url() 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 116b40f28c [bottom_status] fix out-of-bounds when with word-wrap
Related to #1058
2 years ago
Tim Stack bfa8ae2c42 [test] try to fix anon test 2 years ago
Tim Stack 01fe042a84 [build] try to fix link issue 2 years ago
Tim Stack 506d569b2f [build] missing include 2 years ago
Tim Stack bf3fe7fc2c [text] add some missing bound check on the filtered line index for the TEXT view
Fixes #1056
2 years ago
Tim Stack eb0bd4ac9a [anon] add an anonymizer to help with support requests
Fixes #1055
2 years ago
Tim Stack fadcea4403 [final] fix sqlite cleanup bug 2 years ago
Tim Stack 740b827901 [logfile] handle logs with ANSI escapes
This is a partial fix for handling ANSI escapes in
parts of log messages that would prevent regexes
from matching.  Still more work to do.

Related to #1057
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 132bd0adba [log_format] check for null 2 years ago
Tim Stack 664f45f641 [build] check for sqlite3_drop_modules
Fixes #1053
2 years ago
Tim Stack 5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2 years ago
Fulvio Scapin 4b7c9ef54c [view_curses] Fix for fg colour and reverse attribute for separator bars
Elements of type VC_GRAPHIC used as column separators, when used
along with background coloured bars to express numeric column values,
maintain alternate-line reversing of colours when inside the bar range
and take the foreground color of the last coloured bar on the line even
though are not placed in the coloured range of characters.
This commit fixes this.
2 years ago
Tim Stack 66ec8e553e [build] fix static var issue 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 679e9f0771 [build] try to fix brew build error 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 84d2f56189 [formats] add / to pattern in unifi 2 years ago
Tim Stack 8d6780e089 [ptimec_rt] restore '%a' handling 2 years ago
Tim Stack eb403f540f [text_format] recognize .markdown extension 2 years ago
Tim Stack 8e33c599f1 [regexp_vtab] match_index should reset for the next log line 2 years ago
Tim Stack c69b398944 [tutorial] add more steps to the first tutorial 2 years ago
Tim Stack 1f24ab3074 [leak] fix leak of pcrepp object 2 years ago
Tim Stack 7a1ade581a [db] fix leaked db connection 2 years ago
Tim Stack b5cb38d454 [user_notifications] treat message as markdown 2 years ago
Tim Stack ff91cfc3a0 [tutorial] some more nits 2 years ago
Tim Stack 915f583ab0 [cmake] add missing time format 2 years ago
Tim Stack 311798e1f8 [main] try to fix cleanup of sqlite 2 years ago
Tim Stack cebc867c6b [cmds] reduce next/prev mark errors to info to make them less noisy 2 years ago
Timothy Stack 220317eb16 [demo] build/deploy stuff for ssh-based demo
fix structure name clash
2 years ago
Tim Stack 4b307b5b4f [build] missed new file 2 years ago
Tim Stack 87791ec94b [markdown] add support for going to an anchor 2 years ago
Tim Stack fd956c66d3 [field_overlay] fix known key size when there's a prefix 2 years ago
Tim Stack d01db38d51 [init] fix handling of unknown TERM 2 years ago
Tim Stack 5751fe89c4 [markdown] recognize more code fence langs 2 years ago
Tim Stack 0d1304e8ec [ansi_scrubber] fix handling of invalid utf 2 years ago
Tim Stack a2c35140ba [data_scanner] hack to recognize some windows paths
Fixes #1018
2 years ago
Tim Stack 23ab1abd73 [data_scanner] tweaks to fix slow build times and a couple warnings 2 years ago
Tim Stack 7310f9dcec [formats] add description and level properties to tag definitions 2 years ago
Tim Stack 412a3c2a70 [formats] restrict tag name characters 2 years ago
Tim Stack 53c9c5cb51 [logfile] move bookmark_metadata to logfiles 2 years ago
Tim Stack ad1897ba15 [field-overlay] display the timestamp format 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 8e734eaf07 [cover] remove some dead code 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 d020168860 [meta] highlight comments/tags in searches 2 years ago
Tim Stack a1de8f1fc1 [search-table] fix clearing of message data 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 13f161d21e [build] fix some warnings 2 years ago
Tim Stack c824b64840 [filter] fix a case where top time was not maintained when a filter was applied 2 years ago
Tim Stack 270d44c6b4 [remote] fix handling of absolute symlinks 2 years ago
Tim Stack f73e71cf30 [perf] issues with matching filenames and ansi scrubbing 2 years ago
Tim Stack 1e63cfc5ae [lss] fix issue with crumbs 2 years ago
Tim Stack d9e699fd09 [docs] add docs for new SQL tables 2 years ago
Tim Stack 061e3690de [build] fix 32-bit build 2 years ago
Tim Stack ca7efa822f [spectro] show DB overlay and handle values in an empty range 2 years ago
Tim Stack ebe2e0d8e6 [docs] add config panel screenshots 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 c52615c424 [docs] start updating screenshots 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 bbedca5940 [export-session] add missing line-feeds 2 years ago
Tim Stack 01405ffbd6 [log-crumbs] turn off semantic highlights for crumbs 2 years ago
Tim Stack 1832303bde [lo-fi] try to maintain the position of lines on the display
Fixes #815
2 years ago
Tim Stack 8941f28c3e [time_util] cap large year in tm2sec() instead of returning BAD_DATE 2 years ago
Tim Stack c5d11f36e1 [logfile] need to flush the buffer for single line files as well 2 years ago
Tim Stack 3ade11a449 [remote] clear file error on reconnect
Fixes #940
2 years ago
Tim Stack 7077495389 [crash] missed expanding the alt buffer in line_buffer 2 years ago
Tim Stack 4e0dab843a [session] try avoid using absolute file paths in session exports 2 years ago
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.
2 years ago
Tim Stack c5b8bd0ba4 [ui] handle resizes during sql execution
Also, fix reporting of init command errors
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 c6d7206a1e actually remove the flag 2 years ago
Tim Stack ab3f01bbf5 [config] GLOB_BRACE is not supported in musl 2 years ago
Tim Stack 5259da4f4f [highlights] reprioritize highlighters to prefer formats over themes
Fixes #992
2 years ago
Tim Stack bdacaa6f86 [stdin] fix handling of stdin piper
Fixes #1011
2 years ago
Tim Stack 010198531b [tests] some coverage for blobs 2 years ago
Tim Stack 7b32ea9d39 [logfile] fix handling of partial lines 2 years ago
Tim Stack df082eaf16 [highlighter] fix string range for pcrepp input 2 years ago
Tim Stack 363eb35da3 [pcrepp] handle defined capture groups
Fixes #1013
2 years ago
Tim Stack 3cafcf3c77 [attr_line] tweak shifting of attributes
Fixes #1017
2 years ago
Tim Stack 40037b0fd1 [highlight] for format highlights, only set semantic color if nothing else is specified
Fixes #1016
2 years ago
Tim Stack d22727242a [formats] pickup old macos syslog format 2 years ago
Tim Stack 9675eb5902 [build] fix cmake build 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 c9c573d2ad [sql] handle null in base64_encode() 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 f234b37fe0 [build] some more scnlib stuff 2 years ago
Tim Stack 9c03938ff3 use scnlib instead of sscanf/strtod 2 years ago
Tim Stack 390bc132e2 [build] updates for arm64 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 0f2d38df50 [ui/sql] the y/Y hotkey pair is no longer a thing 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 20165a85e7 [themes] tweaks for the top status bar 2 years ago
Timothy Stack 7ed2437a01 [ux] remove redundant code for staying at the same time in lss that fixes a jump on reset 2 years ago
Timothy Stack b3ee092dc5 [cleanup] remove unused stuff and add a test 2 years ago
Timothy Stack 317f2d32cf [misc] use sqlitepp.client in lnav.events.cc 2 years ago
Timothy Stack e8f0b1e6b8 [secure-mode] some more restrictions 2 years ago
Timothy Stack 935290b521 [misc] fix some early exit issues 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 80bddbd2e7 [formats] some more fixes for vmw formats 2 years ago
Timothy Stack 0f9c519061 [vmw_log] update to work with hostd on esx 2 years ago
Timothy Stack 3ac5ce1e51 [sqlite] make compatible with older sqlite 2 years ago
Timothy Stack 981a3d6b70 [build] xxhash for other arch 2 years ago
Timothy Stack dabd93a63a [build] distcheck fix 2 years ago
Timothy Stack 7b83b87e57 [build] fix bin2c path 2 years ago
Timothy Stack fcb4794e87 [build] change to BUILT_SOURCES 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
Timothy Stack 4c20b0039c [sql] some more error improvements 2 years ago
Timothy Stack dde6d88430 [exec] fix reporting of errors in scripts 2 years ago
Timothy Stack e669f6ca55 [build] distcheck fix for header 2 years ago
Timothy Stack 3c54f20fce [sysclip] support osc 52 for copying to the clipboard
Fixes #825
2 years ago
Timothy Stack 6393990b91 [nits] miscellaneous issues 2 years ago
Timothy Stack a3f5c3239e [vtab] some more indexing fixes 2 years ago
Timothy Stack 39763b2d31 [vtab] add indexes for text columns 2 years ago
Timothy Stack f3934c742d [error] leverage sqlite3_error_offset 2 years ago
Timothy Stack 8b3b8a6e3c [perf] fix some text file loading issues 2 years ago
Timothy Stack 01031a9fa3 [build] add missing include 2 years ago
Timothy Stack 7db3c7d3cf [tests] fix index test 2 years ago
Timothy Stack 36e9433891 [perf] try to overlap line buffer i/o 2 years ago
Timothy Stack 09bd5396b2 [build] remove use of <algorithm> in header 2 years ago
Timothy Stack ef7c7fa9b4 [build] remove use of <algorithm> 2 years ago
Timothy Stack a687de1690 [build] missing include 2 years ago
Timothy Stack ea16ee630b [libs] bump ghc::filesystem 2 years ago
Timothy Stack dae3f6b7bc [libs] bump doctest 2 years ago
Timothy Stack c27ee7fdd5 [libs] bump fmt version 2 years ago
Timothy Stack 262c993a31 [libs] bump pugixml version 2 years ago
Timothy Stack a3e1fd27b8 [db] charting of JSON values was mistakenly limited to very short values 2 years ago
Timothy Stack d6c9b0036a [spectro] improve error messages and fix some issues with invalidation 2 years ago
Timothy Stack 812fa08055 [search-table] some more enhancements to search-tables 2 years ago
Timothy Stack 13910aff7a [lnav_log] leak the dumper list vector to avoid static ordering issues 2 years ago
Timothy Stack 635dd996a9 [build] fix win build 2 years ago
Timothy Stack 20cb489ce3 [build] fix some include issues 2 years ago
Timothy Stack 52fe2db376 [spectro] add a summary overlay to the selected position and show log messages in a panel 2 years ago
Timothy Stack cec6c3a225 [build] check for limit/offset def 2 years ago
Timothy Stack 72c1c48e23 [perf] fixing slow queries 2 years ago
Timothy Stack d5b06fca5f [mark-expr] expression marks should count when showing elapsed time 2 years ago
Timothy Stack bd1b90a101 fix -H usage and mem leak 2 years ago
Timothy Stack f6fa834aa6 [test_yajlpp] missed freeing the tree 2 years ago
Timothy Stack c666a669fe [spectro] fix key colors 2 years ago
Timothy Stack 717c039100 [dist] missed arena headers 2 years ago
Timothy Stack 689793d39f [build] try to fix issue 2 years ago
Timothy Stack f9f797fc9d [logfile_sub_source] add log message watch expressions
Fixes #539
2 years ago
Timothy Stack 906494ebfa [errors] try to improve some errors 2 years ago
Timothy Stack a3b9314ff7 [yajlpp] add for_child() helper 2 years ago
Timothy Stack 041cc2c551 [themes/monocai] add snippet-border definition 2 years ago
Timothy Stack c24be236a3 [:goto] raise an error if the input is not fully parsed
Related to #999
2 years ago
Timothy Stack 9d590836f3 [perf] tweak initial line buffer request size 2 years ago
Timothy Stack c0f4254f1c [attr_line] minor perf fix 2 years ago
Timothy Stack 64e7b78c6b [attr_line] fixes for empty attributes 2 years ago
Timothy Stack 84ec014a8d [coverity] fix some issues found by coverity 2 years ago
Timothy Stack 7eb4d1b6e6 [input] remove capture of ctrl-d
Not sure why this was ever put in in the first place.

Fixes #945
2 years ago
Timothy Stack e03d216b8b [overlay] remove log view summary line 2 years ago
Timothy Stack bcc7436f66 [console] syntax highlight some snippets 2 years ago
Timothy Stack 64bee48fb0 [view] preserve top time when filtering 2 years ago
Timothy Stack bc467aacf2 [formats] skip closed file 2 years ago
Timothy Stack 7d2258764c [vtab] skip closed files 2 years ago
Timothy Stack 1891ceb7b5 [perf] fix some performance issues with log vtabs
Fixes #995
2 years ago
Timothy Stack d9ae810dd6 [build] fix type 2 years ago
Timothy Stack 56f6b801d2 [build] fix overridden methods 2 years ago
Timothy Stack 6c52760cc9 [events] initial events work
Related to #811
2 years ago
Timothy Stack 1ea385ea3b [document.sections] fix sections 2 years ago
Timothy Stack 9dbbec832c [formats] more vmw format updates 2 years ago
Timothy Stack d54f21d7a5 [build] fix some warnings 2 years ago
Timothy Stack eeddc318ff [formats] fix some of the vmw formats 2 years ago
Timothy Stack 0b6de5ae31 [oops] remove leftover debug log 2 years ago
Timothy Stack 60251dda84 [w3c_log] handle an invalid log correctly
Fixes #988
2 years ago
Timothy Stack ef8c641e59 [date_time_scanner] fix an overflow
Fixes #989
2 years ago
Timothy Stack c9724e1eb2 [build] more msys 2 years ago
Timothy Stack adf8f77e30 [build] more msys 2 years ago
Timothy Stack 023c9568d8 [build] try to fix msys build 2 years ago
Timothy Stack f01564fea4 [perf] fix url download performance 2 years ago