Commit Graph

155 Commits

Author SHA1 Message Date
Timothy Stack
8a0193691f ignore stdin when it is from /dev/null 2020-04-25 13:19:41 -07:00
Timothy Stack
3da3ec799a [session] allow the name 2020-04-25 07:32:05 -07:00
Timothy Stack
d5373abeb4 [sql] bind $LINES/$COLS variables to the size of the window
Fixes #698
2020-04-21 06:20:25 -07:00
Timothy Stack
9a05b9d186 [config] pay attention to XDG_CONFIG_HOME
Fixes #105
2019-08-01 07:14:47 -07:00
Timothy Stack
e442f84e80 [textview] pause loading of files by pressing =
Fixes #670
2019-07-30 06:28:42 -07:00
Timothy Stack
65d9240300 [theme] add eldar theme 2019-05-08 06:05:09 -07:00
Timothy Stack
63e53377c3 [theme] add monocai theme 2019-05-04 10:35:23 -07:00
Timothy Stack
06d1098211 [config] initial support for themes
For #422

Still more to do
2019-05-03 13:50:19 -07:00
Timothy Stack
78d80fddd5 [cli] add -r flag for recursively loading files from a directory hierarchy
Fixes #431
2019-03-14 22:24:57 -07:00
Timothy Stack
21c5c52843 [format] allow multiple log format patterns per log file
This tries to address #624
2019-03-13 16:37:41 -07:00
Timothy Stack
469124d72b [time-offset] fixes
Defect Number:
    Reviewed By:
   Testing Done:
2019-03-12 07:06:31 -07:00
Timothy Stack
02b9e13343 [filters] add the number of hits for each filter in the editor
Might be useful to know the number of hits for a given filter.
2019-02-15 09:22:32 -08: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
153b59ea8a [status] some fixes for the bottom status bar
Fixes #603
Fixes #578
2019-02-05 07:30:57 -08:00
Timothy Stack
d1a556638b [filters] save disabled filters in the session 2019-02-03 22:03:52 -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
31c440777f [hotkeys] add ctrl+f to toggle filters
Fixes #604
2019-01-27 08:05:44 -08:00
Timothy Stack
0c2f84a3c0 [hotkeys] press 7/8 for previous/next minute
Fixes #382
2019-01-25 07:45:17 -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
1a08eb0d12 [cmds] allow commands to set the prompt
Fixes #574 and #573
2018-11-21 17:00:28 -08:00
Timothy Stack
6336fa56e9 [cmds] :write-json-to should passthru JSON columns as JSON instead of strings
Fixes #565
2018-11-14 21:46:49 -08:00
Timothy Stack
aa0bfd6c62 [sql] add a spooky_hash() function
Fixes #567
2018-11-13 20:55:04 -08:00
Timothy Stack
efe6ccf0d1 [filter] change from backquote to tab for activating filter panel 2018-11-09 13:59:27 -08:00
Timothy Stack
2345a32423 [filter] add panel that shows the set of filters
Initial version, still needs some cleanup
2018-11-09 09:45:19 -08:00
Timothy Stack
ac7ae1275a [cmds] add :redirect-to command for redirecting the output of commands in scripts
Related to #551
2018-10-12 07:12:35 -07:00
Timothy Stack
db6c619e4e [keymap] support for /dev/clipboard in :write commands
The copy hotkey is now implemented in the keymap and the
':write-*' commands were enhanced to recognize /dev/clipboard
as a special file name for writing to the system clipboard.
2018-09-30 09:49:23 -07:00
Timothy Stack
f241704a93 [readline] do a fuzzy match if the prefix match fails to find anything
Prototype for #541
2018-09-13 14:27:49 -07:00
Timothy Stack
069650153f add journald to NEWS 2018-08-21 12:45:28 -07:00
Timothy Stack
b1ff6b3a3b [json-log] fix some inconsistencies with json logs
Fill some gaps brought up in #535
2018-08-21 11:10:03 -07:00
Timothy Stack
00ed12557b [keymap] add more keys to the keymap 2018-08-12 08:37:16 -07:00
Timothy Stack
086eb2e552 [build] update news and fix test failure 2018-07-22 07:27:59 -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
ef34a6aaaf [search] display lines matching the search in preview instead of jumping to the first
Jumping around can be disruptive, instead show matches in
the preview window.
2018-03-28 07:25:10 -07:00
Timothy Stack
8257f188cb [hotkeys] change the filename hotkey to left/right arrow 2018-03-27 22:11:57 -07:00
Timothy Stack
8f3af33792 add some NEWS 2018-02-11 22:11:01 -08:00
Timothy Stack
bdcfc5cfdd [misc] rounding some corners 2018-01-08 10:03:11 -08:00
Timothy Stack
74b58ed9fc [highlights] allow the highlight color to be specified in log formats
Defect Number:
    Reviewed By:
   Testing Done:
2017-12-29 06:51:09 -08:00
Tim Stack
3ff9265e0c Update NEWS
Add note for unicode change
2017-08-02 11:10:32 -07:00
Timothy Stack
8ea51a6fd8 [formats] support for CSV/TSV log formats
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-23 07:11:21 -07:00
Timothy Stack
16fd7ec785 [help] remove old command help and add some more filesystem extensions 2017-04-16 15:07:41 -07:00
Timothy Stack
5e8d6aa3a8 [session] add hidden fields to the session
Fixes #433
2017-04-15 21:11:11 -07:00
Timothy Stack
fea3cb83d9 [sql] preview table definition
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-09 01:57:19 -07:00
Timothy Stack
914f4cf4bb [filter-out] show a preview of the filter effects by highlighting matches in red
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-07 23:11:57 -07:00
Timothy Stack
78119dc9f1 fixing some minor issues
Fixes #255
2017-04-05 07:05:19 -07:00
Timothy Stack
00ebd10d71 [cmds] do a dry-run of a command to check for errors
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-02 07:17:31 -07:00
Timothy Stack
411ea1fbee [help] show help text for SQL functions
Defect Number:
    Reviewed By:
   Testing Done:
2017-03-31 07:01:11 -07:00
Timothy Stack
6fcfd35395 [sql] add "search" column to the lnav_views table
Fixes #388
2017-03-26 07:28:08 -07:00
Timothy Stack
8776f6a703 [sql] do some minimal parsing/annotation of SQL statements
Defect Number:
    Reviewed By:
   Testing Done:
2017-03-26 06:02:53 -07:00