Commit Graph

1745 Commits

Author SHA1 Message Date
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
Timothy Stack
45262b80c4 [build] fix some itertools issues 2022-05-10 22:22:25 -07:00
Timothy Stack
dd93250648 [build] rewrite itertools use 2022-05-10 22:08:07 -07:00
Timothy Stack
f03f9e704f [views] add a breadcrumb view 2022-05-10 21:58:32 -07:00
Timothy Stack
f2968a7032 [build] missing include ... again 2022-04-30 13:17:50 -07:00
Timothy Stack
45b9745cf2 [build] missing include 2022-04-30 13:14:28 -07:00
Timothy Stack
a27198e8ca [regex101] add an integration with regex101
... and a pile of other changes
2022-04-30 13:06:01 -07:00
Tim Stack
69b5cb1d58
Merge pull request #968 from pedropombeiro/unifi_iptables_log
unifi: Support iptables log file
2022-04-19 14:56:39 -07:00
Timothy Stack
4439c9f3ce [build] fix callback type 2022-04-12 16:10:11 -07:00
Timothy Stack
0785a432fa [console] colorize console output 2022-04-12 16:07:13 -07:00
Pedro Pombeiro
880ae7fc57
unifi: Support iptables log file 2022-04-11 22:26:15 +02:00
Timothy Stack
7652c58248 [win] catch locale exception 2022-04-06 13:07:08 -07:00
Timothy Stack
c125211a7e [lss] use adjusted time
Related to #967
2022-04-06 12:23:07 -07:00
Timothy Stack
1019714409 [rescan] automatically pop the text view when the last text file is promoted 2022-04-04 21:54:20 -07:00
Timothy Stack
292724d7ad [build] remove use of memset 2022-04-04 11:53:47 -07:00
Timothy Stack
5eaf1c4332 [exttm] missed an initialization 2022-04-04 09:58:16 -07:00
Timothy Stack
c8799b1c99 [build] missing include 2022-04-04 09:30:03 -07:00
tstack
28957de012 Update tailer 2022-04-04 16:15:44 +00:00
Timothy Stack
d82140de52 [date-time-scanner] fix generating with a user-defined format
Fixes #967
2022-04-04 09:14:57 -07:00
Timothy Stack
531c35158c [tidy] some more tidying 2022-04-03 22:10:20 -07:00
Timothy Stack
99c1688c2e [attr_line] use variant instead of a union for attribute values 2022-03-31 23:21:59 -07:00
Timothy Stack
ffd364ec12 [view_curses] fix ident length calculation 2022-03-31 09:24:46 -07:00
Timothy Stack
81e63784e7 [modernize] some more cleanups 2022-03-31 08:59:33 -07:00
tstack
cfa6f35c44 Update tailer 2022-03-29 05:02:10 +00:00
Timothy Stack
b856cd9657 [build] silence some warnings 2022-03-28 22:00:49 -07:00
Timothy Stack
98ca668a03 [build] fix a declaration 2022-03-25 21:32:43 -07:00
Timothy Stack
6fff9d60f5 [build] some clang-tidy fixes 2022-03-25 16:38:11 -07:00
Timothy Stack
8b3bb9312e [build] cmake fixes for linux 2022-03-16 21:41:37 -07:00
Timothy Stack
66ef5fdae1 [clang-format] init 2022-03-16 15:38:08 -07:00
Timothy Stack
d0ba84d9be [build] run cmake-init and switch from hunter to conan for packages 2022-03-13 22:44:12 -07:00
Timothy Stack
a0ee4427a6 [build] try to fix missing include 2022-03-13 21:46:15 -07:00
Timothy Stack
4564e162d0 [build] try to optimize compile time 2022-03-13 15:49:41 -07:00
Pedro Pombeiro
ca3b4b6c8c
unifi: Add kernel-other-proto format 2022-03-07 23:24:15 +01:00
Pedro Pombeiro
5028f84b59
Add ID for 'dnsmasq-dhcp' and 'other' formats 2022-03-07 23:24:15 +01:00
Pedro Pombeiro
16f5886cb1
Improvements to unifi format 2022-03-07 23:24:14 +01:00
Timothy Stack
0e23dcf4b5 [release] bump release number 2022-03-05 11:02:35 -08:00
Pedro Pombeiro
894c36dac4
Add format for UniFi gateway 2022-03-04 00:35:13 +01:00
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.
2022-02-21 21:09:30 +01:00
Cristian Chiru
084b88b6f4 Fix func signature 2022-02-20 03:32:33 +02:00
Cristian Chiru
b23e0ad508 Fix lnav homedir for windows 2022-02-20 03:30:07 +02:00
Cristian Chiru
e2fe64e536 Fix for building on msys2; Closes #795 2022-02-20 01:35:40 +02:00
Cristian Chiru
092af9b694 Add missing include, closes #956 2022-02-20 01:10:41 +02:00
Timothy Stack
8bb034eeeb [pcap] initial pcap support
Fixes #12
2021-11-05 15:13:16 -07:00
Timothy Stack
f74214b9b6 [sql] add a gunzip() SQL function 2021-10-26 09:39:05 -07:00
Tim Stack
b9b4d24933
Merge pull request #932 from eladeyal-intel/patch-1
Clarify that keybindings listed are default
2021-10-18 13:14:46 -07:00
Timothy Stack
f33a9a580b [docs] add clipboard to the tuning section 2021-10-18 09:03:12 -07:00
eladeyal-intel
0f25ec6c3b
Clarify that keybindings listed are default
User can changfe the keybindings and the help message would not be updated.
2021-10-18 08:09:29 +03:00
Timothy Stack
fa3c7048c9 [logfmt] remove noisy log message 2021-10-16 08:52:15 -07:00
Timothy Stack
561262c2f9 [perf] fix a performance issue when interactively loading a text file 2021-10-07 09:29:37 -07:00
Timothy Stack
3d31b2b723 [build] fix lib link order 2021-10-03 13:54:09 -07:00
Timothy Stack
7627c41802 [build] missing file 2021-10-03 12:52:29 -07:00
Timothy Stack
19fd336e9a [formats] add logfmt 2021-10-02 23:17:33 -07:00
Timothy Stack
008b1c827b [build] fix some 32-bit build issues 2021-10-02 16:29:15 -07:00
Timothy Stack
5089347e82 [views] fix some issues on shutdown 2021-10-01 22:34:39 -07:00
Timothy Stack
2cac26cc00 [input] try fix handling of modifier+cursor keys 2021-10-01 15:58:44 -07:00
Timothy Stack
3c36869711 [looper] check for POLLHUP on stdin
Fixes #919
2021-10-01 09:31:39 -07:00
Timothy Stack
b3b8ed7f07 [bump] update doctest version 2021-09-27 22:17:02 -07:00
Timothy Stack
d228c5a9e1 [build] fix for static 2021-09-27 22:02:32 -07:00
Timothy Stack
dc0b7ff631 [cmake] run cmake-format 2021-09-27 15:59:23 -07:00
Timothy Stack
b884f732f2 [json-ext] json_contains() should accept null
Related to #447
2021-09-27 15:54:10 -07:00
Timothy Stack
954e368974 [build] rejigger doctest inclusion a bit 2021-09-26 22:01:40 -07:00
Tim Stack
f4d9e51f4c
Merge pull request #915 from bowlofeggs/optional_system_doctest
Provide a configure flag to use the system doctest
2021-09-25 22:37:33 -07:00
Timothy Stack
68d7d64948 [rebuild] some more cleanup 2021-09-25 15:35:44 -07:00
Timothy Stack
1c5567157f [build] use other #define for max 2021-09-24 09:35:01 -07:00
Timothy Stack
458b959a13 [headless] fix an issue with headless rebuilds 2021-09-24 09:30:03 -07:00
Timothy Stack
272de832d5 [build] silence a warning 2021-09-23 21:39:28 -07:00
Timothy Stack
2edc3c8382 [lnav_log] fix issue when the debug log file couldn't be opened
Related to #866
2021-09-23 13:13:01 -07:00
Timothy Stack
806e3d934e [ptimec] use FOR_BUILD version of some defines 2021-09-23 12:37:27 -07:00
Timothy Stack
90b8e85e62 [tools] need to use FOR_BUILD version of some defines
Related to #916
2021-09-23 12:34:40 -07:00
Timothy Stack
90b513499c tweak file format display 2021-09-22 23:13:31 -07:00
Timothy Stack
b2f11ac27f [intern] some cleanup 2021-09-22 16:01:03 -07:00
Timothy Stack
ecb4084b37 [logfile_sub_source] remove alternate 5 min highlight 2021-09-18 21:38:43 -07:00
Randy Barlow
85515b2c19
Provide a configure flag to use the system doctest
This will allow distributions to more easily maintain
incompatibilies between doctest and the rest of their software.

Fixes #912

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2021-09-18 23:31:21 -04:00
Timothy Stack
6761e2d7df [usage] add some symbols to the usage message 2021-09-17 21:56:35 -07:00
tstack
2315fc8871 Update tailer 2021-09-17 21:02:21 +00:00
Timothy Stack
c317008463 [remote] fix issue with symlinked files 2021-09-17 14:01:52 -07:00
tstack
fa8dc6214f Update tailer 2021-09-17 20:14:55 +00:00
Timothy Stack
2f9f72762f [tailer] some more fixes 2021-09-17 13:14:19 -07:00
tstack
f5f41ffad9 Update tailer 2021-09-17 04:59:16 +00:00
Timothy Stack
4fc6e60d10 [tailer] fix init offer 2021-09-16 21:58:11 -07:00
Timothy Stack
d239bb4594 [vum/configmanager] make the clipboard commands configurable 2021-09-15 21:29:55 -07:00
Timothy Stack
98bc71914b [sysclip] log the detected clipboard commands and add x11 to snap 2021-09-14 22:31:38 -07:00
tstack
cddad0ac92 Update tailer 2021-09-15 04:45:14 +00:00
Timothy Stack
47964ac852 [build] missing include 2021-09-14 21:44:35 -07:00
tstack
90cae9d59b Update tailer 2021-09-15 04:38:23 +00:00
Timothy Stack
e8f3468801 [build] missing include 2021-09-14 21:37:49 -07:00
Timothy Stack
a50c806bd9 [build] fix hash type 2021-09-14 21:34:37 -07:00
tstack
ca98425e10 Update tailer 2021-09-15 04:28:55 +00:00
Timothy Stack
a125e49415 [build] fix ape build 2021-09-14 21:28:15 -07:00
Timothy Stack
aae83a6a10 [remote] optimize file syncing 2021-09-14 21:20:25 -07:00
Timothy Stack
aa30526a54 [help] add some more stuff to the search syntax help prompt 2021-09-10 21:01:40 -07:00
Timothy Stack
107199cb7c [remote] clean up the cache 2021-09-10 21:01:25 -07:00
Timothy Stack
f6e245c04a [sql] jget() is not returning values with the right sqlite type 2021-09-09 22:22:52 -07:00
Timothy Stack
7252e5fc0f [views] fix an issue with the log view not updating when switching back from text 2021-09-09 13:03:43 -07:00
Timothy Stack
b3a4eadbe2 [cmds] add :show-only-this-file command 2021-09-08 14:56:18 -07:00
Timothy Stack
c308a3b17a [build] fix a build issue 2021-09-08 08:46:29 -07:00
Timothy Stack
b6b0578027 [file_collection] check for file closure in same_file
Fixes #908
2021-09-07 23:07:34 -07:00