Commit Graph

283 Commits (46b2a9f1eefac269192b3e0780bac19a20436f00)

Author SHA1 Message Date
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 5060b38f99 [db] avoid reusing the same chart colors
This just covers the basic case and doesn't address reuse
with JSON values.

Related to #1047
2 years ago
Tim Stack 1effd99e5c [sql] add parse_url()/unparse_url() functions
Fixes #44
2 years ago
Tim Stack eb0bd4ac9a [anon] add an anonymizer to help with support requests
Fixes #1055
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 5a63ece31d [pcre2] migrate from pcre to pcre2
Fixes #974
2 years ago
Tim Stack 7309352c97 [view_curses] add a unit type to line_range
Fixes #1033
2 years ago
Tim Stack 87791ec94b [markdown] add support for going to an anchor 2 years ago
Tim Stack 0d1304e8ec [ansi_scrubber] fix handling of invalid utf 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 13f161d21e [build] fix some warnings 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 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 8941f28c3e [time_util] cap large year in tm2sec() instead of returning BAD_DATE 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 be862e0eab [scn] more scnlib conversions 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 66853a70ca [db] use arena allocator for db results
... and continue to tweak cylon
2 years ago
Timothy Stack 41754a8ec1 [session] add time_offset of files to session exports 2 years ago
Timothy Stack 6712a33163 [cmds] add :export-session command 2 years ago
Timothy Stack 5ea55afd74 [vtab] indexing improvements 2 years ago
Timothy Stack 981a3d6b70 [build] xxhash for other arch 2 years ago
Timothy Stack f5cc4b298f [ui] add back top status bar 2 years ago
Timothy Stack dde6d88430 [exec] fix reporting of errors in scripts 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 f3934c742d [error] leverage sqlite3_error_offset 2 years ago
Timothy Stack 8b3b8a6e3c [perf] fix some text file loading issues 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 ef7c7fa9b4 [build] remove use of <algorithm> 2 years ago
Timothy Stack a687de1690 [build] missing include 2 years ago
Timothy Stack c27ee7fdd5 [libs] bump fmt 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 13910aff7a [lnav_log] leak the dumper list vector to avoid static ordering issues 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 c666a669fe [spectro] fix key colors 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 c24be236a3 [:goto] raise an error if the input is not fully parsed
Related to #999
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 bcc7436f66 [console] syntax highlight some snippets 2 years ago
Timothy Stack 1891ceb7b5 [perf] fix some performance issues with log vtabs
Fixes #995
2 years ago
Timothy Stack 6c52760cc9 [events] initial events work
Related to #811
2 years ago
Timothy Stack d54f21d7a5 [build] fix some warnings 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
Timothy Stack dfaeee7f44 [perf] fix some performance issues 2 years ago
Timothy Stack 6105db3c32 [build] try try try 2 years ago
Timothy Stack 6b59b03750 [build] try to fix a couple of build issues 2 years ago
Timothy Stack 2e20195b99 [afl] some more fixes for fuzzer bugs
Fixes #987
Fixes #986
Fixes #985
Fixes #984
Fixes #982
2 years ago
Timothy Stack 2bc258e621 [afl] fix bugs detected by a fuzzer
Fixes #981 #983
2 years ago
Timothy Stack 31a670ce27 [md4c] initial markdown support 2 years ago
Timothy Stack 45262b80c4 [build] fix some itertools issues 2 years ago
Timothy Stack f03f9e704f [views] add a breadcrumb view 2 years ago
Timothy Stack f2968a7032 [build] missing include ... again 2 years ago
Timothy Stack 45b9745cf2 [build] missing include 2 years ago
Timothy Stack a27198e8ca [regex101] add an integration with regex101
... and a pile of other changes
2 years ago
Timothy Stack 0785a432fa [console] colorize console output 3 years ago
Timothy Stack 292724d7ad [build] remove use of memset 3 years ago
Timothy Stack 5eaf1c4332 [exttm] missed an initialization 3 years ago
Timothy Stack c8799b1c99 [build] missing include 3 years ago
Timothy Stack d82140de52 [date-time-scanner] fix generating with a user-defined format
Fixes #967
3 years ago
Timothy Stack 99c1688c2e [attr_line] use variant instead of a union for attribute values 3 years ago
Timothy Stack 81e63784e7 [modernize] some more cleanups 3 years ago
Timothy Stack b856cd9657 [build] silence some warnings 3 years ago
Timothy Stack 6fff9d60f5 [build] some clang-tidy fixes 3 years ago
Timothy Stack 8b3bb9312e [build] cmake fixes for linux 3 years ago
Timothy Stack 66ef5fdae1 [clang-format] init 3 years ago
Timothy Stack d0ba84d9be [build] run cmake-init and switch from hunter to conan for packages 3 years ago
Timothy Stack 4564e162d0 [build] try to optimize compile time 3 years ago
Peter Schiffer b8a31ae9b4
Add `#include <iterator>` to `string_util.cc`
Lnav fails to build on the next Fedora version due to the following error:
```
make[3]: Entering directory '/builddir/build/BUILD/lnav-0.10.1/src/base'
g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src   -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib     -I../../src/third-party/doctest-root  -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o string_util.o string_util.cc
make[3]: Leaving directory '/builddir/build/BUILD/lnav-0.10.1/src/base'
string_util.cc: In function 'std::string repeat(const std::string&, size_t)':
string_util.cc:199:22: error: 'ostream_iterator' is not a member of 'std'
  199 |     std::fill_n(std::ostream_iterator<std::string>(os), num, input);
      |                      ^~~~~~~~~~~~~~~~
string_util.cc:38:1: note: 'std::ostream_iterator' is defined in header '<iterator>'; did you forget to '#include <iterator>'?
   37 | #include "string_util.hh"
  +++ |+#include <iterator>
   38 |
```

Reason is probably the updated GNU toolchain, more info:
https://fedoraproject.org/wiki/Changes/GNUToolchainF36

This patch fixes the issue.
3 years ago
Cristian Chiru 084b88b6f4 Fix func signature 3 years ago
Cristian Chiru b23e0ad508 Fix lnav homedir for windows 3 years ago
Cristian Chiru e2fe64e536 Fix for building on msys2; Closes #795 3 years ago
Timothy Stack 8bb034eeeb [pcap] initial pcap support
Fixes #12
3 years ago
Timothy Stack f74214b9b6 [sql] add a gunzip() SQL function 3 years ago
Timothy Stack 7627c41802 [build] missing file 3 years ago
Timothy Stack 19fd336e9a [formats] add logfmt 3 years ago
Timothy Stack 008b1c827b [build] fix some 32-bit build issues 3 years ago
Timothy Stack dc0b7ff631 [cmake] run cmake-format 3 years ago
Timothy Stack b884f732f2 [json-ext] json_contains() should accept null
Related to #447
3 years ago
Timothy Stack 954e368974 [build] rejigger doctest inclusion a bit 3 years ago
Timothy Stack 2edc3c8382 [lnav_log] fix issue when the debug log file couldn't be opened
Related to #866
3 years ago
Timothy Stack b2f11ac27f [intern] some cleanup 3 years ago
Timothy Stack 0de76b29c8 [files] fix refreshing files with errors and auto-switching to text view
Fixes #909
3 years ago
Timothy Stack 211f10535c [cmds] add --view flag 3 years ago
Timothy Stack 76ce111d48 [test] fix a leak 3 years ago
Timothy Stack d3d527d290 [tests] adding some more coverage 3 years ago
Timothy Stack 8f7b08c9c5 [logfile] add notes for automatic decisions and fix compile errors
Fixes #864
3 years ago
Timothy Stack 108dc1b77a [build] more stacktrace 3 years ago
Timothy Stack 9231e812d7 [build] disable backward 3 years ago
Timothy Stack 399cf83fc5 [ras] add backward-cpp 3 years ago
Timothy Stack be51a4e3de [arc/remote] use a single work directory for archive/remote files 3 years ago
Timothy Stack d2b5690e0c [readline] improve filename completion 3 years ago
Timothy Stack 98677eb09a [remote] some more tweaks and add tab-completion 3 years ago
Timothy Stack 681f771bb7 [remote] add preview for remote :open 3 years ago
Timothy Stack ab671d5834 [lnav_log] add a thread-local prefix for messages 3 years ago
Timothy Stack 04676d75b7 [build] missing include 3 years ago
Timothy Stack f050c7b0a7 [remote] start to wire up remote support 3 years ago
Timothy Stack 444e7e3289 [remote] draft of the tailer 3 years ago
Timothy Stack d31aa845f5 [base] refactor duration2str 4 years ago
Timothy Stack d15c1103cf [build] bump deps and add a missing include 4 years ago
Timothy Stack 0658b9ef57 [tests] move some test code around 4 years ago
Timothy Stack d183247a31 [tests] add some tests for time-ago stuff 4 years ago
Timothy Stack 32ddc76624 [time] use a 64-bit time_t in some places 4 years ago
Timothy Stack c0ed59e61e [sqlite] implement .dump SQL command 4 years ago
Timothy Stack 92e20ffd51 [reltime] add support for weekdays and having timeslice() return NULL when a time is out-of-range 4 years ago
Timothy Stack f6128240ab [sql] add lnav_top_file() SQL function 4 years ago
Timothy Stack d45d7d6c58 [docs] add report generation to cookbook 4 years ago
Timothy Stack 9575f9c7d7 [view_curses] fix color pair allocation
fixes #839
4 years ago
Timothy Stack f5c72736cb [docs] some more doc text 4 years ago
Timothy Stack 0f238f7972 [docs] add some more text to arch docs and other tweaks 4 years ago
Timothy Stack f5e88b7158 [docs] add ARCHITECTURE.md and various other things 4 years ago
Timothy Stack fd40b55e0a [docs] some more README.md files 4 years ago
Timothy Stack a4368223ea some docs and test fixup 4 years ago
Timothy Stack b847ae7164 [tests] more coverage 4 years ago
Timothy Stack 49ebde5953 [build] remove pcrecpp and other stuff
Linking against a binary c++ lib suuuucckkkkkssss...
4 years ago
Timothy Stack 215c08f632 [build] missed curl_looper subclassing isc::service 4 years ago
Timothy Stack 50b63559ce [build] need a cast... 4 years ago
Timothy Stack 775d2443a6 [injector] fix some init issues 4 years ago
Timothy Stack eea5220191 [build] missing include 4 years ago
Timothy Stack cac1175973 [services] initial pass at injecting services and a bunch of other stuff 4 years ago
Timothy Stack 56bee6f4c9 [archive] remove old unpacked archives and a bunch of other stuff 4 years ago
Timothy Stack 8235f9af5d [tests] try to make scripty output readable 4 years ago
Timothy Stack 6d8a9f2121 [debt] try to fix leak 4 years ago
Timothy Stack 9a073e80e7 [result] fix Result.map() issue with copying the value when the result was in error 4 years ago
Timothy Stack 4ff2b710d5 [log_format] change w3c_log to put extra columns into a JSON column 4 years ago
Timothy Stack 3a11140b27 [humanize] handle a zero value explicitly since log() doesn't like it (doh...) 4 years ago
Timothy Stack e6df0fba0a [humanize] something seems wrong 4 years ago
Timothy Stack 730233e356 [debt] some more leak plugging
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 32f112b8de [formats] add w3c extended log format impl
Fiexes #798
4 years ago
Timothy Stack 22c2e95df0 [filters] sql filter
Related to #568
4 years ago
Timothy Stack 9a431f5354 [build] missing vec 4 years ago