Commit Graph

2064 Commits (9663b1f49f115fe291979fcffbe7fb6454369ef0)

Author SHA1 Message Date
Tim Stack 7f513b2d1f [tidy] fixing some uninit issues 2 years ago
Tim Stack 93a53c4224 [fini] fix a destruction ordering issue 2 years ago
Tim Stack d940d9d5eb [logfile] plumb gzip header through file meta 2 years ago
Tim Stack 3f3e6dcbdc [highlight] turn off nesting for var highlight 2 years ago
Tim Stack a437d9fcc9 [pcre2pp] allocate match_data on the stack 2 years ago
Tobias Gruetzmacher 0958a9b189
Handle empty referer in access log (fixes #1059)
It seems most web servers log an empty referer as `"-"`, but GitLab's
nginx actually logs an empty field instead (`""`). Allow this in the
standard CLF format parser.
2 years ago
Tim Stack b7de0766c8 [highlighters] add some keywords 2 years ago
Tim Stack f1deeb5b74 [highlight] turn off nesting for some builtin highlighters 2 years ago
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 9185518bda [top_status_source] try to fix prepared_stmt destruct order 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 81fc0dc47e [tidy] remove duplicate struct names
Fixes #1004
2 years ago
Tim Stack b2abf94c2e [data_scanner] fix performance regression
Related to #1057
2 years ago
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
Timothy Stack dfaeee7f44 [perf] fix some performance issues 2 years ago
Timothy Stack 24a56042d0 [file-collection] restore progress after move nulls out pointer 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 0c7f6145c9 [data_scanner] fix file:/path recognition in data_scanner 2 years ago
Timothy Stack 5e6985d8a4 [release] some updates 2 years ago
Timothy Stack b2e4e59a40 [build] handle older versions of sqlite 2 years ago
Timothy Stack 45262b80c4 [build] fix some itertools issues 2 years ago
Timothy Stack dd93250648 [build] rewrite itertools use 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
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 3 years ago
Timothy Stack 0785a432fa [console] colorize console output 3 years ago
Pedro Pombeiro 880ae7fc57
unifi: Support iptables log file 3 years ago
Timothy Stack 7652c58248 [win] catch locale exception 3 years ago
Timothy Stack c125211a7e [lss] use adjusted time
Related to #967
3 years ago
Timothy Stack 1019714409 [rescan] automatically pop the text view when the last text file is promoted 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
tstack 28957de012 Update tailer 3 years ago
Timothy Stack d82140de52 [date-time-scanner] fix generating with a user-defined format
Fixes #967
3 years ago
Timothy Stack 531c35158c [tidy] some more tidying 3 years ago
Timothy Stack 99c1688c2e [attr_line] use variant instead of a union for attribute values 3 years ago
Timothy Stack ffd364ec12 [view_curses] fix ident length calculation 3 years ago
Timothy Stack 81e63784e7 [modernize] some more cleanups 3 years ago
tstack cfa6f35c44 Update tailer 3 years ago
Timothy Stack b856cd9657 [build] silence some warnings 3 years ago
Timothy Stack 98ca668a03 [build] fix a declaration 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 a0ee4427a6 [build] try to fix missing include 3 years ago
Timothy Stack 4564e162d0 [build] try to optimize compile time 3 years ago
Pedro Pombeiro ca3b4b6c8c
unifi: Add kernel-other-proto format 3 years ago
Pedro Pombeiro 5028f84b59
Add ID for 'dnsmasq-dhcp' and 'other' formats 3 years ago
Pedro Pombeiro 16f5886cb1
Improvements to unifi format 3 years ago
Timothy Stack 0e23dcf4b5 [release] bump release number 3 years ago
Pedro Pombeiro 894c36dac4
Add format for UniFi gateway 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
Cristian Chiru 092af9b694 Add missing include, closes #956 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
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