Commit Graph

89 Commits (a27198e8ca8cf38ad36de07ba96583a00cfead11)

Author SHA1 Message Date
Timothy Stack a27198e8ca [regex101] add an integration with regex101
... and a pile of other changes
2 years ago
Timothy Stack 4439c9f3ce [build] fix callback type 2 years ago
Timothy Stack 0785a432fa [console] colorize console output 2 years ago
Timothy Stack 6fff9d60f5 [build] some clang-tidy fixes 2 years ago
Timothy Stack 66ef5fdae1 [clang-format] init 2 years ago
Timothy Stack 4564e162d0 [build] try to optimize compile time 2 years ago
Timothy Stack 19fd336e9a [formats] add logfmt 3 years ago
Timothy Stack 681f771bb7 [remote] add preview for remote :open 3 years ago
Timothy Stack f050c7b0a7 [remote] start to wire up remote support 3 years ago
Timothy Stack c0ed59e61e [sqlite] implement .dump SQL command 3 years ago
Timothy Stack cac1175973 [services] initial pass at injecting services and a bunch of other stuff 3 years ago
Timothy Stack d3fa76e8e9 [lnav_util] fix ok/error msg rendering 4 years ago
Timothy Stack 8e629b166a [build] some more compiler profiling
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 51d1204a96 [arc] add content hash to archive temp dir and tech debt 4 years ago
Timothy Stack db8a3c4d38 [debt] doing some cleanup
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 5e42b4cb8a [debt] include cleanup 4 years ago
Timothy Stack 579e4274f9 [files] initial impl for opening archives 4 years ago
Timothy Stack 9f524136bd [fs] remove old filesystem impl 4 years ago
Timothy Stack be106fcb8d [docs] add some more keymap/theme docs 4 years ago
Timothy Stack 815a05577e [keymap] suggest the config option to set for an unknown keystroke
Also, add a unicode green-check/red-X mark for the success/error
message for commands.
4 years ago
Timothy Stack 8413dd13d8 [config] add configs directory 4 years ago
Timothy Stack 8a0193691f ignore stdin when it is from /dev/null 4 years ago
Timothy Stack 138a506b1a [perf] a few performance tweaks 4 years ago
Timothy Stack 63dba408ec [stdin] Keep the stdin piper file in .lnav so that it can be reopened
When piping the output of a program into lnav, the data would
be dumped to the terminal on exit so that it would not be
lost.  Since that is a bit noisy, the temp file used to store
the data is now left in .lnav so that it can be reopened later.
Older stdin captures are automatically removed after a day.

Also took the opportunity to start using filesystem::path more.

Fixes #436
5 years ago
Timothy Stack fb7d6eafaf [build] some refactoring of files 5 years ago
Phil Hord eee7d0ddfc Squash a bunch of signed/unsigned warnings 6 years ago
Timothy Stack 7d7060ae4c [generic_log] fix recognition for generic logs
The generic format picks up extra text in the timestamp, which
caused the date time scanner to reject some matches.  I think
it's okay to allow for some trailing junk, so it no longer
ensures the size of the match is the same as the input.
6 years ago
Timothy Stack a6d4563d7d [build] missing header 7 years ago
Timothy Stack 4b40b3f9f5 [date-time] add a formatter for 0x0p+0
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Suresh Sundriyal 0c88eeeb07 Fix lnav builds on OpenBSD.
* Remove all the wordexp related unused headers and code.
* stdout does not appear to be reassignable on OpenBSD.
* defining _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ seems to fix the const
  correctness related redefinitions between wchar.h imported from
  the system libc and the one imported by clang++ STL.
7 years ago
Timothy Stack 7240aaa127 [time] an epoch timestamp should not have whitespace 7 years ago
Timothy Stack 8ea51a6fd8 [formats] support for CSV/TSV log formats
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Adam Spiers 43ac6366cb fix -Wformat time_t warnings (#368)
Fix warnings like:

    ptimec.hh: In function ‘void ftime_i(char*, off_t&, ssize_t, const exttm&)’:
    ptimec.hh:387:57: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
         snprintf(&dst[off_inout], len - off_inout, "%lld", t);
                                                             ^

In this case we know that the `t` returned by `tm2sec` is a number of
seconds, so a long should be long enough, and anyway there is already
code checking for overflow.

Fixes #368.

https://github.com/tstack/lnav/issues/368
8 years ago
Timothy Stack 26cd9f5930 [ptime] make sure the full time stamp is matched
Fixes #389
Fixes #390
8 years ago
Timothy Stack 4c0a8d0376 [ptime] need to clear the zone from the base when using a custom time format 8 years ago
Timothy Stack 41a2eed239 [pretty-print] fix printing of quoted strings that have escaped characters
Fixes #354
8 years ago
Timothy Stack 876b37ade0 [log-format] add "truncate" overflow value 8 years ago
Timothy Stack c05dfafae8 [log-format] abbreviate long fields when formatting JSON logs
Fixes #340
8 years ago
Timothy Stack 41854cf637 [json-log] custom date formats
Fixes #341
8 years ago
Timothy Stack 96191badf3 [release] update versions for release and fix some time issues 8 years ago
Timothy Stack 4f05af6408 [time] add support for TAI64N timestamps
Fixes #300
8 years ago
Timothy Stack 7a6429519f [summary-line] change error count to error rate and do some cleanup on message levels 8 years ago
Timothy Stack 7c74ecf1e7 [logview] add a "time span" section to the summary and right justify the summary 8 years ago
Timothy Stack ff35d811e2 [logview] more summary line tweaks 8 years ago
Timothy Stack 80e5e8fcce [logview] add a line with summary information to the log view 8 years ago
Timothy Stack 9213a6b58b [out-of-order] some more tweaks for out-of-order 8 years ago
Timothy Stack a2b381ca19 [config] initial impl with clock-format as the only option at the moment 9 years ago
Timothy Stack 87b07a0087 [sql] allow log_part to be updated 9 years ago
Timothy Stack e07b4e448f [exec] add a prompt to execute lnav scripts 9 years ago
Timothy Stack c4ae8d158c [fmt] minor fix for the generic_log format and add another pattern to vmw_log 9 years ago