Commit Graph

1789 Commits (eaa6e50a523937401aab76f687b44c31cd788b3e)

Author SHA1 Message Date
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
Tim Stack 69b5cb1d58
Merge pull request #968 from pedropombeiro/unifi_iptables_log
unifi: Support iptables log file
2 years ago
Timothy Stack 4439c9f3ce [build] fix callback type 2 years ago
Timothy Stack 0785a432fa [console] colorize console output 2 years ago
Pedro Pombeiro 880ae7fc57
unifi: Support iptables log file 2 years ago
Timothy Stack 7652c58248 [win] catch locale exception 2 years ago
Timothy Stack c125211a7e [lss] use adjusted time
Related to #967
2 years ago
Timothy Stack 1019714409 [rescan] automatically pop the text view when the last text file is promoted 2 years ago
Timothy Stack 292724d7ad [build] remove use of memset 2 years ago
Timothy Stack 5eaf1c4332 [exttm] missed an initialization 2 years ago
Timothy Stack c8799b1c99 [build] missing include 2 years ago
tstack 28957de012 Update tailer 2 years ago
Timothy Stack d82140de52 [date-time-scanner] fix generating with a user-defined format
Fixes #967
2 years ago
Timothy Stack 531c35158c [tidy] some more tidying 2 years ago
Timothy Stack 99c1688c2e [attr_line] use variant instead of a union for attribute values 2 years ago
Timothy Stack ffd364ec12 [view_curses] fix ident length calculation 2 years ago
Timothy Stack 81e63784e7 [modernize] some more cleanups 2 years ago
tstack cfa6f35c44 Update tailer 2 years ago
Timothy Stack b856cd9657 [build] silence some warnings 2 years ago
Timothy Stack 98ca668a03 [build] fix a declaration 2 years ago
Timothy Stack 6fff9d60f5 [build] some clang-tidy fixes 2 years ago
Timothy Stack 8b3bb9312e [build] cmake fixes for linux 2 years ago
Timothy Stack 66ef5fdae1 [clang-format] init 2 years ago
Timothy Stack d0ba84d9be [build] run cmake-init and switch from hunter to conan for packages 2 years ago
Timothy Stack a0ee4427a6 [build] try to fix missing include 2 years ago
Timothy Stack 4564e162d0 [build] try to optimize compile time 2 years ago
Pedro Pombeiro ca3b4b6c8c
unifi: Add kernel-other-proto format 2 years ago
Pedro Pombeiro 5028f84b59
Add ID for 'dnsmasq-dhcp' and 'other' formats 2 years ago
Pedro Pombeiro 16f5886cb1
Improvements to unifi format 2 years ago
Timothy Stack 0e23dcf4b5 [release] bump release number 2 years ago
Pedro Pombeiro 894c36dac4
Add format for UniFi gateway 2 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.
2 years ago
Cristian Chiru 084b88b6f4 Fix func signature 2 years ago
Cristian Chiru b23e0ad508 Fix lnav homedir for windows 2 years ago
Cristian Chiru e2fe64e536 Fix for building on msys2; Closes #795 2 years ago
Cristian Chiru 092af9b694 Add missing include, closes #956 2 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
Tim Stack b9b4d24933
Merge pull request #932 from eladeyal-intel/patch-1
Clarify that keybindings listed are default
3 years ago
Timothy Stack f33a9a580b [docs] add clipboard to the tuning section 3 years ago
eladeyal-intel 0f25ec6c3b
Clarify that keybindings listed are default
User can changfe the keybindings and the help message would not be updated.
3 years ago
Timothy Stack fa3c7048c9 [logfmt] remove noisy log message 3 years ago
Timothy Stack 561262c2f9 [perf] fix a performance issue when interactively loading a text file 3 years ago
Timothy Stack 3d31b2b723 [build] fix lib link order 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 5089347e82 [views] fix some issues on shutdown 3 years ago
Timothy Stack 2cac26cc00 [input] try fix handling of modifier+cursor keys 3 years ago
Timothy Stack 3c36869711 [looper] check for POLLHUP on stdin
Fixes #919
3 years ago
Timothy Stack b3b8ed7f07 [bump] update doctest version 3 years ago
Timothy Stack d228c5a9e1 [build] fix for static 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
Tim Stack f4d9e51f4c
Merge pull request #915 from bowlofeggs/optional_system_doctest
Provide a configure flag to use the system doctest
3 years ago
Timothy Stack 68d7d64948 [rebuild] some more cleanup 3 years ago
Timothy Stack 1c5567157f [build] use other #define for max 3 years ago
Timothy Stack 458b959a13 [headless] fix an issue with headless rebuilds 3 years ago
Timothy Stack 272de832d5 [build] silence a warning 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 806e3d934e [ptimec] use FOR_BUILD version of some defines 3 years ago
Timothy Stack 90b8e85e62 [tools] need to use FOR_BUILD version of some defines
Related to #916
3 years ago
Timothy Stack 90b513499c tweak file format display 3 years ago
Timothy Stack b2f11ac27f [intern] some cleanup 3 years ago
Timothy Stack ecb4084b37 [logfile_sub_source] remove alternate 5 min highlight 3 years ago
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>
3 years ago
Timothy Stack 6761e2d7df [usage] add some symbols to the usage message 3 years ago
tstack 2315fc8871 Update tailer 3 years ago
Timothy Stack c317008463 [remote] fix issue with symlinked files 3 years ago
tstack fa8dc6214f Update tailer 3 years ago
Timothy Stack 2f9f72762f [tailer] some more fixes 3 years ago
tstack f5f41ffad9 Update tailer 3 years ago
Timothy Stack 4fc6e60d10 [tailer] fix init offer 3 years ago
Timothy Stack d239bb4594 [vum/configmanager] make the clipboard commands configurable 3 years ago
Timothy Stack 98bc71914b [sysclip] log the detected clipboard commands and add x11 to snap 3 years ago
tstack cddad0ac92 Update tailer 3 years ago
Timothy Stack 47964ac852 [build] missing include 3 years ago
tstack 90cae9d59b Update tailer 3 years ago
Timothy Stack e8f3468801 [build] missing include 3 years ago
Timothy Stack a50c806bd9 [build] fix hash type 3 years ago
tstack ca98425e10 Update tailer 3 years ago
Timothy Stack a125e49415 [build] fix ape build 3 years ago
Timothy Stack aae83a6a10 [remote] optimize file syncing 3 years ago
Timothy Stack aa30526a54 [help] add some more stuff to the search syntax help prompt 3 years ago
Timothy Stack 107199cb7c [remote] clean up the cache 3 years ago
Timothy Stack f6e245c04a [sql] jget() is not returning values with the right sqlite type 3 years ago
Timothy Stack 7252e5fc0f [views] fix an issue with the log view not updating when switching back from text 3 years ago
Timothy Stack b3a4eadbe2 [cmds] add :show-only-this-file command 3 years ago
Timothy Stack c308a3b17a [build] fix a build issue 3 years ago
Timothy Stack b6b0578027 [file_collection] check for file closure in same_file
Fixes #908
3 years ago
Timothy Stack 86e84e1dab [distclean] more files to remove 3 years ago
Timothy Stack db7173caec [views] fix some issues with empty views
Related to #908
3 years ago
Timothy Stack 312a97bca7 [logfile] tweak overwrite detection to ignore remote files
The mtime of a remote file is not adjusted in an atomic fashion,
so it can cause a spurious overwrite signal
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 804056c1c3 remove unused var 3 years ago
Timothy Stack 7eb1d17bef [files] highlight issues with opening files
Fixes #904
3 years ago
Timothy Stack 1df74411c2 [field-overlay] fix out-of-time-order message overlay
Related to #902
3 years ago
Timothy Stack 03ce38b09f [bottom-status] make sure the search term is updated
Fixes #907
3 years ago
Timothy Stack 426e70b99f [field-overlay] use log_time instead of the name from the format
Related to #902
3 years ago
Timothy Stack 87ae18238b [build] try to fix tailer test 3 years ago
a1346054 285e171b54 Add final linux LF newline 3 years ago
Timothy Stack 211f10535c [cmds] add --view flag 3 years ago
Timothy Stack 97530070c9 [cmds] add /dev/clipboard support to :redirect-to 3 years ago
Timothy Stack c9d22e7941 [db-view] fix scrolling performance 3 years ago
Timothy Stack 383bf71f26 [filters-view] key capture fix
Fixes #898
3 years ago
Timothy Stack e33fe1a85b [config] include values from the configs dir in the default config 3 years ago
Timothy Stack ce8397b5cf [view_curses] only write OSC;send-input in the test env
Fixes #895
3 years ago
Timothy Stack 7a66283bf2 [readline] fix TAB-completion for tilde paths 3 years ago
Timothy Stack 65a7bd7bd6 [time-fmt] add a time format 3 years ago
Timothy Stack ea34d7cd5f [cmds] change umask
Fixes #540
3 years ago
Timothy Stack b184272edb [file_collection] fix recursion
Fixes #877
3 years ago
Timothy Stack 23cb718d65 [overlay] remove "Last message:"
Fixes #876
3 years ago
Timothy Stack 4445a54847 [tailer] always update the remote description 3 years ago
Timothy Stack d42006d0a9 [build] minor fixes 3 years ago
Timothy Stack c13e78358e [blog] add a post about xpath() TVF 3 years ago
Timothy Stack 04c4f8a779 [help] fix the example width when space is constrained 3 years ago
Timothy Stack dbcfdda363 [reltime] some more relative time fixes 3 years ago
Timothy Stack aa7ac37cdc [log_source] try to report sql filter errors 3 years ago
Timothy Stack b77367a3d3 [logs] some minor fixes
hide files on remote like with archives
fix vmw_log pattern
fix an NPE
3 years ago
tstack 9a8703ae7c Update tailer 3 years ago
Timothy Stack 9138251355 [tailer] set the mtime on the synced file 3 years ago
Timothy Stack 4b6fb5ff18 [release] change version to v0.10.0 since there's a lot of stuff and some nits 3 years ago
tstack 0c5dc3840f Update tailer 3 years ago
Timothy Stack 131edc2823 [tailer] call out to uname utility 3 years ago
tstack 5cb6d5ea1b Update tailer 3 years ago
Timothy Stack b4e9384ac5 [tailer] backout sysctl attempt, sigh 3 years ago
Timothy Stack 1dcf92e982 [tailer] fallback to sysctl() if uname fails 3 years ago
tstack e4868d5ae2 Update tailer 3 years ago
Timothy Stack b38bd6e2fe [tailer] send the uname of the remote host back 3 years ago
tstack 796a02aa15 Update tailer 3 years ago
Timothy Stack 528f7be9d2 [tailer] don't ignore links 3 years ago
Timothy Stack 9c6715fa18 [command_executor] avoid rebuilding on interactive use 3 years ago
Timothy Stack a760a4240f [file_collection] handle dirs with colons
Fixes #863
3 years ago
Timothy Stack ace63947df [looper] increase rescan/rebuild delay when a prompt is open 3 years ago
Timothy Stack b2d296b5d3 [open] handle file names with colons
Fixes #863
3 years ago
Timothy Stack 3cc22dc88c remove leftover debug msg 3 years ago
Timothy Stack 75ead0eb60 [ui] update status on keypress and delay rescan/rebuild 3 years ago
Timothy Stack 71d1ab1a96 [statusview] fix leak in set_stitch_value() 3 years ago
Timothy Stack 516d13d772 [log_format] use DOTALL for format patterns 3 years ago
Timothy Stack 27bc9cf117 [vmw_log] format fix 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 ed93eb71c0 [remote] add some docs and allow ssh command customization 3 years ago
Timothy Stack f5ee4306db [tests] more testing of tailer 3 years ago
Timothy Stack a87c420070 [logfile] some more notes stuff 3 years ago
Timothy Stack 8f7b08c9c5 [logfile] add notes for automatic decisions and fix compile errors
Fixes #864
3 years ago
Timothy Stack a6a411834e [lint] use enum class for logfile::rebuild_result 3 years ago
Timothy Stack 912f7939d0 [looper] minor refactor and reduce rescans 3 years ago
Timothy Stack 9c417afb2d [logfile] remove error exception and some optimizations 3 years ago
Timothy Stack 326fbae163 [vmw_log] some pattern fixes 3 years ago
Timothy Stack 46bafa1dea [remote] show progress during startup 3 years ago
Timothy Stack c0ea709dd4 [build] oops 3 years ago
Timothy Stack 8589dd253a [archive] hardening 3 years ago
Timothy Stack 0dca44f487 [rebuild] add a deadline to make the UI more responsive 3 years ago
tstack 4638370f7c Update tailer 3 years ago
Timothy Stack bce7192bee [test] fix exec 3 years ago
tstack d4fc61cbe8 Update tailer 3 years ago
Timothy Stack 1737964df6 [remote] add some tailer tests 3 years ago
tstack 5ab5d9a4f4 Update tailer 3 years ago
Timothy Stack a8e7a69c49 [build] fix for backward 3 years ago
Timothy Stack 108dc1b77a [build] more stacktrace 3 years ago
Timothy Stack db5fd8e0ec [build] some more stacktrace stuff 3 years ago
Timothy Stack 8f03a441d3 [build] fix a couple of build issues 3 years ago
Timothy Stack 9231e812d7 [build] disable backward 3 years ago
Timothy Stack 399cf83fc5 [ras] add backward-cpp 3 years ago
Timothy Stack edfd835866 [remote] use the APE version of the tailer 3 years ago
tstack 529088f911 Update tailer 3 years ago
Timothy Stack d09cffd9b4 [remote] commit the tailer 3 years ago
Timothy Stack 857ba5c8e1 [remote] try again 3 years ago
Timothy Stack 33bfc873b1 [remote] fix an issue with empty files 3 years ago
Timothy Stack 5607b1b08e [formats] handle some more vmw logs 3 years ago
Timothy Stack db1fac9def [build] missed some includes 3 years ago
Timothy Stack 93b33929a3 [build] try to fix cosmo build 3 years ago
Timothy Stack b78c914d6f [remote] a path is synced on an error 3 years ago
Timothy Stack c3dc668b69 [remote] add some config options and remove the copied tailer binary
Also fix time offset issue
3 years ago
Timothy Stack be51a4e3de [arc/remote] use a single work directory for archive/remote files 3 years ago
Timothy Stack e13816a8e3 [cmds] change :write-raw-to to copy the original log content and add :write-view-to command
Also added log_raw_text column to the log tables.

Fixes #859
3 years ago
Timothy Stack b64342ca47 [log_format] display log_body for the body field instead of the format name and add :mark-expr command 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 1849609e07 [remote] try to enforce protocol state 3 years ago
Timothy Stack 681f771bb7 [remote] add preview for remote :open 3 years ago
Timothy Stack 0dbe5f0f94 [logfile] increase format detection limit 3 years ago
Timothy Stack ab671d5834 [lnav_log] add a thread-local prefix for messages 3 years ago
Timothy Stack 0a0e355696 [remote] do not automatically descend into sub directories on the remote 3 years ago
Timothy Stack 224eb6fe55 [remote] handle closure 3 years ago
Timothy Stack a37a859c11 [tailer] can't use realpath with some libcs 3 years ago
Timothy Stack 65dd0bfeb8 [ghc/fs] upgrade to v1.5.4 3 years ago
Timothy Stack e88e37184f [remote] add support for glob patterns 3 years ago
Timothy Stack ca5ec33241 [remote] support for links 3 years ago
Tim Stack 5aaea49b4b
Merge pull request #858 from nicolasbock/keystone_format
Add format for OpenStack Keystone log files
3 years ago
Timothy Stack c2f0919ed3 [build] fix bin2c rule 3 years ago
Timothy Stack ad6f469378 [build] add BUILT_SOURCES 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
Nicolas Bock 125c872849
Add format for OpenStack Keystone log files
Keystone logs are formatted differently than the other OpenStack
service logs.

Signed-off-by: Nicolas Bock <nicolasbock@gmail.com>
3 years ago
Timothy Stack 94498878c8 [logfile_sub_source] try to avoid a full rebuild in some cases 3 years ago
Timothy Stack 2748171d2c [tailer] add an offset to the tail block 3 years ago
Timothy Stack 26751a7e2e [tailer] add option to ssh to a host 3 years ago
Timothy Stack 380969ee8d fix lib order in tailer build 3 years ago
Timothy Stack 444e7e3289 [remote] draft of the tailer 3 years ago
Timothy Stack cc1e79d1cc [init] fix order of init for views so they can be manipulated by SQL files in format dirs
Fixes #853
3 years ago
Timothy Stack 3741985ee3 [format] allow leading slash in field names
Fixes #852
3 years ago
Timothy Stack 70c07da5c5 [sql] fix help for sparkline() 3 years ago
Timothy Stack d31aa845f5 [base] refactor duration2str 3 years ago
Timothy Stack d15c1103cf [build] bump deps and add a missing include 3 years ago
Timothy Stack 73a4df61e3 [lss] fix format string for time offset 3 years ago
Timothy Stack 0658b9ef57 [tests] move some test code around 3 years ago
Timothy Stack d183247a31 [tests] add some tests for time-ago stuff 3 years ago
Timothy Stack 32ddc76624 [time] use a 64-bit time_t in some places 3 years ago
Timothy Stack 30b4067e43 [build] unused var 3 years ago
Timothy Stack e593bde875 [build] fix some issues on xenial32 3 years ago
Timothy Stack 32bfd76cdb [logfile] allow max unrecognized lines to be tuned 3 years ago
Timothy Stack 66eb3c76e6 [build] fixy 3 years ago
Timothy Stack 94b3c0d467 [dbdump] remove keyword_check for now 3 years ago
Timothy Stack c0ed59e61e [sqlite] implement .dump SQL command 3 years ago
Timothy Stack 6f4791ec35 [sqlite] include generate_series() extension 3 years ago
Timothy Stack dd9465cd10 [readline] some fixes for match display 3 years ago
Timothy Stack 92e20ffd51 [reltime] add support for weekdays and having timeslice() return NULL when a time is out-of-range 3 years ago
Timothy Stack 0b3819d16a [config] check if XDG_CONFIG_HOME exists before using it 3 years ago
Timothy Stack 4f4d90a65d [tests] include more information in error message 3 years ago
Timothy Stack 749fdacfa8 [build] fixes 3 years ago
Timothy Stack 7b0e1c4f54 [filters] fix previews when created in the editor 3 years ago
Timothy Stack 6749d6b53c [pretty-print] fix issue with rewrite
Fixes #845
3 years ago
Timothy Stack 72275aa968 [cli] require '-' to read from stdin if there are other file arguments 3 years ago
Timothy Stack f6128240ab [sql] add lnav_top_file() SQL function 3 years ago
Timothy Stack 68759ada2d [data_scanner] fix quoted string regex
Fixes #842
3 years ago
Timothy Stack 5af3664bc1 [leak] fix leak in sparkline() 3 years ago
Timothy Stack d45d7d6c58 [docs] add report generation to cookbook 3 years ago
Timothy Stack 9575f9c7d7 [view_curses] fix color pair allocation
fixes #839
3 years ago
Timothy Stack f5c72736cb [docs] some more doc text 3 years ago
Timothy Stack 0f238f7972 [docs] add some more text to arch docs and other tweaks 3 years ago
Timothy Stack 43bb384199 fix color var lookup issue 3 years ago
Timothy Stack f5e88b7158 [docs] add ARCHITECTURE.md and various other things 3 years ago
Timothy Stack fd40b55e0a [docs] some more README.md files 3 years ago
Timothy Stack a4368223ea some docs and test fixup 3 years ago
Timothy Stack 351ad7a8fc [xml/xpath] suggest xpath() calls for xml fields 3 years ago
Timothy Stack 6deb7032a6 [tests] add more CSIs to scripty 3 years ago
Timothy Stack 2750d23b07 [tests] add more TUI tests 3 years ago
Timothy Stack 58f1c9df1c [tests] fix tui test 3 years ago
Timothy Stack 0a701394fe [tests] add an initial TUI test 3 years ago
Timothy Stack b847ae7164 [tests] more coverage 3 years ago
Timothy Stack f35c0c397e [tests] increasing coverage a bit 3 years ago
Timothy Stack c5ab97352d [cover] add some tests for :unix-time 3 years ago
Timothy Stack 83345f85c1 [build] missing coverage include 3 years ago
Timothy Stack a120bf2c0c [build] missing coverage flags 3 years ago