1
1
mirror of https://github.com/tstack/lnav.git synced 2024-09-11 13:05:51 +03:00
Commit Graph

117 Commits

Author SHA1 Message Date
Timothy Stack
469124d72b [time-offset] fixes
Defect Number:
    Reviewed By:
   Testing Done:
2019-03-12 07:06:31 -07:00
Timothy Stack
659f01c9ae [filters] add a log_filters column to log tables that contains the matched filters
Related to #597
2019-02-14 22:42:44 -08:00
Timothy Stack
3d77fb2acf [cmds] change :write-raw-to to write all the lines in the view
Fixes #606
2019-01-29 07:30:37 -08:00
Timothy Stack
5fff4d8784 [help] add some initial help text for search/SQL prompts
Also:
  * You can now "scroll out" of the visual editor to
    return to the main view.  This should alleviate the
    frustration of pressing up/down arrows thinking the
    main view should move but, really, you're stuck in
    the editor.
  * The three-dot-ellipsis for hidden fields has been
    replaced with a unicode vertical ellipsis so that
    less space is taken up.
2019-01-24 22:05:15 -08:00
Timothy Stack
814ad03ec9 [view] keep a history of view positions
Fixes #577
2018-12-14 06:18:56 -08:00
Timothy Stack
ea5ac46c0e [cmds] the output of the :pipe commands should go to the top of the output stack and not to a temp file 2018-10-11 07:09:52 -07:00
Timothy Stack
9664b015c6 [textview] preserve location in view when changing filters
Defect Number:
    Reviewed By:
   Testing Done:
2018-10-08 07:43:08 -07:00
Timothy Stack
00ed12557b [keymap] add more keys to the keymap 2018-08-12 08:37:16 -07:00
Timothy Stack
36d5ff8b86 [lo-fi] display fixes
Fixes #513
Fixes #516
2018-05-18 22:11:40 -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
7fb881222d [pretty] highlight log messages in the pretty view as in the normal log view 2018-05-10 06:44:03 -07:00
Timothy Stack
b5f5b4137c [search] redo search after filtering
Fixes #480
2017-12-04 08:52:40 -08:00
Timothy Stack
c3688e87f7 [build] fix some tests
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-24 07:29:55 -07:00
Timothy Stack
36e46fc67b [log] do a full sort if there is a year rollover
Fixes #437
2017-04-24 07:03:46 -07:00
Timothy Stack
5e8d6aa3a8 [session] add hidden fields to the session
Fixes #433
2017-04-15 21:11:11 -07:00
Timothy Stack
4cedde9a43 [help] add builtin help to the main help text as a reference
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-14 22:49:36 -07:00
Timothy Stack
aa21234164 [hist] need to rebuild hist to reflect marks
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-11 07:25:54 -07:00
Timothy Stack
1a87184c82 [log] allow parts of log messages to be hidden
Fixes #412
2017-02-23 06:15:44 -08:00
Timothy Stack
0138d13297 [cmds] execute scripts from stdin/fds
Issues mentioned in #397
2016-12-23 11:37:23 -08:00
Timothy Stack
41a2eed239 [pretty-print] fix printing of quoted strings that have escaped characters
Fixes #354
2016-10-14 11:18:00 -07:00
Timothy Stack
2e68f48a18 [hist] check for zoom with no logs
Fixes #346
2016-08-25 21:20:48 -07:00
Suresh Sundriyal
88833c8035 [commands] Read and honor the 'LNAVSECURE' environment variable.
Read the value of the 'LNAVSECURE' environment variable upfront and
store it in the lnav_data structure. When this variable is set prior to
the binary execution, the following commands are disabled:

* 'open'
* 'pipe-to'
* 'pipe-line-to'
* 'write-*-to'

This is a proposed fix for tstack/lnav#305.
2016-04-23 10:34:17 -07:00
Timothy Stack
fdc2748e3e [spectro] add a spectrogram view that works with known message fields 2016-03-20 15:15:50 -07:00
Timothy Stack
cdd43549ab [cmds] automatically capture echo/write output from scripts so they can generate reports
Add another example script, dhclient-summary.

Add a 'search-table' section to formats so you can automatically
define a search-based table.
2016-03-06 23:58:37 -08:00
Timothy Stack
89be76ef42 [filters] clear the state for filters that have been deleted
Fixes #292
2016-02-24 23:42:02 -08:00
Timothy Stack
a2b381ca19 [config] initial impl with clock-format as the only option at the moment 2016-01-05 06:18:58 -08:00
Timothy Stack
ab62d27757 [cmd] replace wordexp with shlex 2015-12-25 12:03:44 -08:00
Timothy Stack
87b07a0087 [sql] allow log_part to be updated 2015-12-22 05:27:36 -08:00
Timothy Stack
e07b4e448f [exec] add a prompt to execute lnav scripts 2015-12-18 22:39:27 -08:00
Timothy Stack
e987a5164f [hist] rewrite the histogram code 2015-12-08 22:46:10 -08:00
Timothy Stack
224a7196e4 [cmd] hide lines commands 2015-12-05 20:38:21 -08:00
Timothy Stack
ec473edc85 [cmd] add support for times in goto 2015-09-14 08:56:42 -07:00
Timothy Stack
399c78d86d [pretty] pretty-print the contents of strings
Fixes #250
2015-08-26 21:28:30 -07:00
Timothy Stack
e95bd90dfc [filter] check for too many filters being created 2015-08-24 22:09:33 -07:00
Timothy Stack
0d37a8c142 [text] pretty-printing should work in the text view 2015-08-18 20:58:20 -07:00
Timothy Stack
b7d7fe70c7 [pretty] remove extraneous newline 2015-07-23 23:35:56 -07:00
Timothy Stack
054e8d489b [data-scanner] convert to using re2c 2015-06-08 06:27:45 -07:00
Timothy Stack
5a7c5a2139 [piper] the piper was not exiting if the stream it was reading did not terminate with a line feed 2015-04-21 22:25:54 -07:00
Timothy Stack
ae64b599bd [format] add more log levels and fix some more pretty-printer glitches
Fixes #212
2015-04-10 19:50:05 -07:00
Timothy Stack
66d258dd44 [test] use doc ip range 2015-04-08 20:01:20 -07:00
Timothy Stack
8a91c96bed [build] bump version to 0.7.3 since we will release soon 2015-04-08 02:26:25 -07:00
Timothy Stack
0b232a7588 [headless] multiline support for command files 2015-04-07 22:13:44 -07:00
Timothy Stack
2dfae4f7f9 [pretty] add some more tests and leave leading spaces alone in some cases 2015-04-07 21:25:01 -07:00
Timothy Stack
7b8bc67cc9 [pretty] drop extra new lines 2015-04-05 11:59:14 -07:00
Timothy Stack
da73110578 Revert "Revert "[pretty-print] add a test for the pretty-printer""
This reverts commit 42b809427d.
2015-04-05 11:00:13 -07:00
Timothy Stack
8d20474e42 set the timestamp for the syslog file 2015-04-04 14:06:32 -07:00
Timothy Stack
38e56b63ea [hist] fix the histogram when filters change 2015-04-04 13:36:53 -07:00
Timothy Stack
033c861028 [cmd] next/prev-mark commands 2015-03-29 14:50:34 -07:00
Timothy Stack
44d2e12403 [text] add filtering support to the plain text view
Fixes #149 #148
2015-03-28 06:30:30 -07:00
Timothy Stack
8fb15e455a [cmd] add a relative-goto command 2015-03-24 23:07:47 -07:00
Timothy Stack
ff724e4941 [pipe-to] set env vars for each log line column 2015-03-19 22:16:55 -07:00
Timothy Stack
42b809427d Revert "[pretty-print] add a test for the pretty-printer"
This reverts commit e0cec10445.
2015-03-16 23:51:36 -07:00
Timothy Stack
e0cec10445 [pretty-print] add a test for the pretty-printer 2015-03-16 23:44:05 -07:00
Timothy Stack
1d3481c3fa [cmd] add pipe-to and pipe-line-to commands 2015-03-16 09:16:49 -07:00
Timothy Stack
c2e44c5998 [filter] fix for multiple filter-ins being applied 2014-12-10 07:03:01 -08:00
Timothy Stack
04e5617553 [test] make the append file writable 2014-11-06 20:36:09 -08:00
Timothy Stack
a06d620018 [filter] add tests for filtering with append 2014-11-06 06:40:32 -08:00
Timothy Stack
0ab2400d2d [cmd] add a clear-highlight command
Defect Number: Fixes #109
    Reviewed By:
   Testing Done:
2014-10-29 20:53:23 -07:00
Timothy Stack
bf706a136c [cmd] remember closed files
Fixes #96
2014-04-20 14:58:19 -07:00
Timothy Stack
f37ec555bf [logfile] check for truncated files 2014-04-18 05:17:24 -07:00
Timothy Stack
d17f7b1940 [cmd] add set-min-log-level command
Part of #82
2014-03-16 02:46:17 -07:00
Timothy Stack
3e6e3566d7 [cmd] rescan/reload after executing each init cmd 2014-03-12 23:20:18 -07:00
Timothy Stack
783369223b fix some misuses of the std::string constructor and other tweaks 2014-03-12 21:19:23 -07:00
Timothy Stack
54d979f44f [open] bah, open should work for dirs 2014-03-12 09:22:30 -07:00
Timothy Stack
7b1bb506e2 [open] add some more checks when opening a file 2014-03-12 08:44:02 -07:00
Timothy Stack
9ff6a3cbe9 [write-json] add a command to write results as json 2014-03-11 05:37:13 -07:00
Timothy Stack
fea18347f1 [headless] report output from commands/queries that were executed
Also, add some negative test cases.
2014-03-02 16:52:18 -08:00