Commit Graph

983 Commits

Author SHA1 Message Date
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
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
53c1f03205 update includes for command_executor.hh 2018-10-11 06:45:23 -07:00
Timothy Stack
e5c6c180eb [cmds] fix preview for :write-raw-to 2018-10-11 06:14:39 -07:00
Timothy Stack
5f5e2d5c4e [cleanup] prune some includes and some other cleaning
Defect Number:
    Reviewed By:
   Testing Done:
2018-10-11 05:50:28 -07:00
Timothy Stack
c715807657 [perf] minor improvement in indexing 2018-10-10 22:21:56 -07:00
Timothy Stack
658931a145 [cleanup] remove cdefs.h include and other stuff
Fix #486
2018-10-10 08:01:08 -07:00
Timothy Stack
70f7bcacd9 Don't update the top if the time is not different 2018-10-09 16:52:19 -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
d1856b53ba [build] avoid adding -I/usr/include to CPPFLAGS
Defect Number:
    Reviewed By:
   Testing Done:
2018-10-02 23:04:14 -07:00
Timothy Stack
686ce639a0 [build] use cmath instead of math.h
Defect Number:
    Reviewed By:
   Testing Done:
2018-10-02 22:01:18 -07:00
Benny Zlotnik
bec91a458e Remove redundant the
Signed-off-by: Benny Zlotnik <uber442@gmail.com>
2018-10-02 16:24:02 +03:00
Timothy Stack
562362ed67 missed including this file with the last commit 2018-10-01 11:16:53 -07:00
Timothy Stack
6a3b1f2d94 Search results are not reversed for bookmarked lines
Fix #313

Sorry for the delay
2018-10-01 07:08:21 -07:00
Timothy Stack
d7699cfb96 add an ifdef for a symbol, Fix #289 2018-10-01 06:46:51 -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
0b822739ea [readline] wait for focus before processing input
Fix for #543

Mistakenly had the read-ready bit set for stdin before the
command to focus was processed.  The result being the
readline child would exit.
2018-09-29 22:24:55 -07:00
Timothy Stack
f65df7c762 [readline] tweak fuzzy matching threshold
Change the threshold for cutting off the remaining fuzzy matches
that was added for #541

Also, fix an error when filtering is added when viewing
the tail of the log.
2018-09-29 00:20:45 -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
bc26b92199 [json] some more journald log tweaks
Defect Number:
    Reviewed By:
   Testing Done:
2018-08-22 05:33:20 -07:00
Timothy Stack
ca7b4b2168 [lint] fix a couple more struct/class complaints 2018-08-21 23:01:10 -07:00
Timothy Stack
65b6ecb6ba [lint] change log_state_dumper tag 2018-08-21 22:58:23 -07:00
Timothy Stack
26cccdafce [locale] some tweaks for recognizing non-english logs
Try to address some locale issues brought up in #533
2018-08-21 21:43:32 -07:00
Timothy Stack
0b36da15a6 add monotonic timestamp back to the journald format, map priority 1 to fatal as well 2018-08-21 11:39:47 -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
00baf0a1d9 [cmds] return an error when :hide-unmarked-lines is run when no lines are marked 2018-08-18 23:44:04 -07:00
Timothy Stack
470e317d87 [overlay] shift the comment/tag overlays when the filename is displayed on the left 2018-08-18 23:43:38 -07:00
Timothy Stack
3e457e30ca [json-format] fix json file recognition for crlf line-endings
Fixes #528
2018-08-13 05:30:47 -07:00
Timothy Stack
00ed12557b [keymap] add more keys to the keymap 2018-08-12 08:37:16 -07:00
Timothy Stack
c3097db7af [filter] fix some nits in the filter command 2018-07-25 02:27:11 -07:00
Timothy Stack
59c31925de [log_format] missing highlight colors
The highlighter copy constructor wasn't copying the colors over
2018-07-24 07:48:16 -07:00
Timothy Stack
d805dee15f [line_buffer] avoid a crash with binary files, but still not handled well 2018-07-22 07:59:49 -07:00
Timothy Stack
8df3ebf709 [top_status_line] use the unique path for the filename if there is not enough room to display the full path
Trying to address #526
2018-07-22 07:17:45 -07:00
Timothy Stack
0ee6bdd5bf [sql] the log_part column was not correct in some cases 2018-07-22 06:51:05 -07:00
Timothy Stack
77302eb980 [build] fix some build issues 2018-06-12 08:04:20 -07:00
Timothy Stack
5e8983b857 [sql-view] pressing tab should hide bart charts
Fixes #514
2018-06-12 07:50:40 -07:00
Timothy Stack
bc8e51914a [hotkey] the "P" hotkey was not toggling the view
Fixes #522
2018-06-07 06:26:07 -07:00
Timothy Stack
d1da7b800c [ptime] fix %p and %l 2018-05-28 08:15:42 -07:00
Timothy Stack
6bfd158e49 [logline] check for SQL keywords in column names 2018-05-27 07:59:24 -07:00
Timothy Stack
b94571c58e [build] fixes... 2018-05-25 06:43:35 -07:00
Timothy Stack
5689984702 [yajlpp] use pointer to member over nullobj() 2018-05-25 06:32:01 -07:00
Timothy Stack
9e1411f113 [ptime] fix am/pm issue again
Fixes #520
2018-05-23 08:31:05 -07:00
Timothy Stack
5e0dabb231 [ptime] fix offset in failed parse for a few cases 2018-05-22 22:38:01 -07:00
Timothy Stack
030c33476c [sql] fix some copy pasta 2018-05-22 09:00:42 -07:00
Timothy Stack
2070c669de [ptime] fix PM offset
Fixes #517
2018-05-22 07:14:37 -07:00
Timothy Stack
a741236c76 [sql] missed a null check on log_time in vt_filter
Fixes #518
2018-05-22 06:45:54 -07:00
Timothy Stack
36d5ff8b86 [lo-fi] display fixes
Fixes #513
Fixes #516
2018-05-18 22:11:40 -07:00
Timothy Stack
f3d37cd4d6 [build] json_contains issue 2018-05-17 07:19:38 -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
b8fc956677 [search-table] match against the whole line and not just the body 2018-05-10 07:34:38 -07:00