Commit Graph

118 Commits

Author SHA1 Message Date
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
2021-09-07 14:23:12 -07:00
Timothy Stack
a87c420070 [logfile] some more notes stuff 2021-05-30 15:07:09 -07:00
Timothy Stack
8f7b08c9c5 [logfile] add notes for automatic decisions and fix compile errors
Fixes #864
2021-05-30 13:33:05 -07:00
Timothy Stack
a6a411834e [lint] use enum class for logfile::rebuild_result 2021-05-29 21:46:48 -07:00
Timothy Stack
9c417afb2d [logfile] remove error exception and some optimizations 2021-05-28 22:53:50 -07:00
Timothy Stack
46bafa1dea [remote] show progress during startup 2021-05-27 22:02:26 -07:00
Timothy Stack
0dca44f487 [rebuild] add a deadline to make the UI more responsive 2021-05-26 22:09:47 -07:00
Timothy Stack
c3dc668b69 [remote] add some config options and remove the copied tailer binary
Also fix time offset issue
2021-05-19 22:05:21 -07:00
Timothy Stack
0dbe5f0f94 [logfile] increase format detection limit 2021-05-06 10:42:05 -07:00
Timothy Stack
f050c7b0a7 [remote] start to wire up remote support 2021-05-01 08:33:54 -07:00
Timothy Stack
94498878c8 [logfile_sub_source] try to avoid a full rebuild in some cases 2021-04-24 14:38:26 -07:00
Timothy Stack
32bfd76cdb [logfile] allow max unrecognized lines to be tuned 2021-03-29 22:40:22 -07:00
Timothy Stack
f6128240ab [sql] add lnav_top_file() SQL function 2021-03-07 14:29:22 -08:00
Timothy Stack
d45d7d6c58 [docs] add report generation to cookbook 2021-02-25 15:47:36 -08:00
Timothy Stack
f5e88b7158 [docs] add ARCHITECTURE.md and various other things 2021-02-13 12:41:48 -08:00
Timothy Stack
cac1175973 [services] initial pass at injecting services and a bunch of other stuff 2021-01-23 13:00:51 -08:00
Timothy Stack
678be94d75 [files] use libarchive to decompress files
Fixes #87
2021-01-10 13:33:20 -08:00
Timothy Stack
9d6941c89d [readline] show help for SQL in :filter-expr 2020-12-08 13:24:29 -08:00
Timothy Stack
e3f28eaa43 [logfile] a captured file cannot be overwritten
Fixes #741
2020-12-07 15:21:33 -08:00
Timothy Stack
32f112b8de [formats] add w3c extended log format impl
Fiexes #798
2020-12-05 21:51:46 -08:00
Timothy Stack
19e0624ab6 [debt] even more mem leaks
Defect Number:
    Reviewed By:
   Testing Done:
2020-12-01 11:27:03 -08:00
Timothy Stack
22c2e95df0 [filters] sql filter
Related to #568
2020-11-29 13:20:07 -08:00
Timothy Stack
6d0054d3b6 [logfile] refactor visibility 2020-11-25 14:47:39 -08:00
Timothy Stack
51d1204a96 [arc] add content hash to archive temp dir and tech debt 2020-11-17 10:04:23 -08:00
Timothy Stack
9d87cfa2f0 [debt] more tech debt 2020-11-12 21:58:40 -08:00
Timothy Stack
db8a3c4d38 [debt] doing some cleanup
Defect Number:
    Reviewed By:
   Testing Done:
2020-11-09 22:17:17 -08:00
Timothy Stack
8b38bb0970 [session] store file visibility 2020-10-28 21:23:25 -07:00
Timothy Stack
7b77a612c2 [files] make file scanning async 2020-10-28 21:22:56 -07:00
Timothy Stack
dfd18a4be5 [view] add files view 2020-10-28 21:21:57 -07:00
Timothy Stack
3b0168025d [cmds] add support for hiding files 2020-10-28 21:18:57 -07:00
Timothy Stack
9f524136bd [fs] remove old filesystem impl 2020-10-20 22:55:46 -07:00
Timothy Stack
a3264fb104 [log_format] fix issues with year rollover
Defect Number:
    Reviewed By:
   Testing Done:
2020-09-08 22:11:32 -07:00
Timothy Stack
138a506b1a [perf] a few performance tweaks 2020-04-23 06:42:48 -07:00
Timothy Stack
92f28f1174 [logfile] cache line length to fix perf issues with JSON logs 2020-03-11 07:25:39 -07:00
Timothy Stack
73e902f7d8 [json-log] handle invalid json log lines
Header from folded patch 'foldme1.patch':

[local] foldme
2019-09-03 06:19:57 -07:00
Timothy Stack
34db64aa32 [logfile] the index rebuild didn't check the mtime if the file size was the same
Fixes #668
2019-07-25 07:31:46 -07:00
Timothy Stack
a9e9613214 [textfile] fix search issue 2019-06-18 06:28:40 -07:00
Timothy Stack
02c53976b4 Some refactoring for the line buffer and other cleanups
Fixes #649
2019-06-15 06:32:02 -07:00
Timothy Stack
0918063640 [cleanup] some modernization 2019-05-21 22:14:36 -07:00
Timothy Stack
c7046b0b54 [json] newlines in the line format cause problems
Fixes #644
2019-05-13 10:44:33 -07:00
Timothy Stack
104b8736e8 [vtab] fix for failed update to log_tags column and fix filtering with json logs 2019-02-01 13:31:28 -08:00
Timothy Stack
66ef968529 [logfile] fix a performance bug in searching json logs 2018-12-16 21:45:10 -08:00
Timothy Stack
2589345e5c [perf] improve initial indexing times 2018-10-17 07:03:33 -07:00
Timothy Stack
2e10ca09d0 [line_buffer] fix crlf handling in log files 2018-10-12 07:46:18 -07:00
Timothy Stack
5689984702 [yajlpp] use pointer to member over nullobj() 2018-05-25 06:32:01 -07:00
Timothy Stack
4ccae48aea [bookmarks] add support for tags and comments for log lines
Initial work for #446 and #447
  TODO: filtering on tags/comments

Also did a bunch of clang-tidy cleanups and improvements to
the online help.
2018-05-17 07:06:50 -07:00
Timothy Stack
af36896f50 [sanitize] some fixes for issues found in the address sanitizer 2018-04-09 08:20:24 -07:00
Timothy Stack
9f91d3b447 [log-view] display the unique parts of the file name instead of just the base
Instead of just displaying the base name of the file, try to include some
additional parts of the path that make a unique string.
2018-04-03 07:36:09 -07:00
Phil Hord
5a20829ed4 dynamic exception specifications are deprecated in C++11
Remove exception specifications to appease modern compilers and reduce
warning counts.

I sort of hate to remove all these exception-decls, but they are in fact
deprecated, and my compiler loves to complain.
2018-03-29 10:43:44 -07:00
Thomas Hurst
24aa8cfd61 [logfile] Fix format string in debug log.
Resolves a crash on startup on FreeBSD/i386.
2017-05-23 20:05:32 +01:00