Commit Graph

71 Commits (9e1411f113ba71367d91ae7e770031012d851dbb)

Author SHA1 Message Date
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.
6 years ago
Timothy Stack 7fb881222d [pretty] highlight log messages in the pretty view as in the normal log view 6 years ago
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.
7 years ago
Phil Hord eee7d0ddfc Squash a bunch of signed/unsigned warnings 7 years ago
Timothy Stack 36932b148d [hotkeys] cleanup the last commit 7 years ago
Timothy Stack 8257f188cb [hotkeys] change the filename hotkey to left/right arrow 7 years ago
Phil Hord 4d4ac9b8b0 Add another filename mode to show file path
Add a separate BASENAME bit to distinguish from the FILENAME bit.
When BASENAME is active show the base filename in the filename column.
When FILENAME is active show the whole path for each filename.  Cycle
through the three modes with toggle_filename() still. Note that we are
never in both FILENAME and BASENAME mode.

The user can cycle through the three modes by pressing the hotkey an
extra time.  First press shows the basename, second press shows the full
path (filename), and the third press hides the filename column again.
7 years ago
Phil Hord 81974c6bdc Fix filename column width and attributes
Display the basename instead of the whole path for each file when
the filename column is displayed. Make the column the same width all
the time, taking the maximum basename width of all loaded files and
padding with spaces.

Also fix the attributes when the filename column is displayed.  Insert
the correct filename-matching color for as many characters as we add for
the filename column.  Use the full filename when looking up the color
because we don't want files in different paths to have the same color,
and we don't want the color to change based on whether we are displaying
the base or the whole filename.
7 years ago
Adam Spiers 9ffbc1ac46 make '.' toggle prefixing each log line with filename
Mostly addresses #277.  I won't claim it fully closes it, because there
are at least two ways it could be improved:

1. It doesn't draw a nice coloured divider in the column after the
   filename, and that would provide maximum visual clarity and
   consistency with the existing presentation.

2. It would be nice if the filenames weren't shown on every single line,
   but only on the first line of a contiguous chunk of log lines from a
   single file (or on the top line of the screen if the first line of
   the chunk was already scrolled off the top).

3. It doesn't yet include the filename in the text copied to the
   clipboard when the 'c' hotkey is pressed.
7 years ago
Timothy Stack d18b344489 [perf] avoid an initial forced index rebuild
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 8ea51a6fd8 [formats] support for CSV/TSV log formats
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 04e60fd79d [build] sign warnings 8 years ago
Timothy Stack 4954817741 [crash] pressing i/I when not in the log view
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 411ea1fbee [help] show help text for SQL functions
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 26cd9f5930 [ptime] make sure the full time stamp is matched
Fixes #389
Fixes #390
8 years ago
Timothy Stack 592ee60693 [log] fix rewriting machine-oriented timestamps
Fixes #371
8 years ago
Timothy Stack 4f05af6408 [time] add support for TAI64N timestamps
Fixes #300
9 years ago
Timothy Stack 9c364bf48e [spectro] add spectro view support for sql results 9 years ago
Timothy Stack 13c90726a2 [tests] some more testing and stats for logfiles 9 years ago
Timothy Stack fdc2748e3e [spectro] add a spectrogram view that works with known message fields 9 years ago
Timothy Stack 80e5e8fcce [logview] add a line with summary information to the log view 9 years ago
Timothy Stack 89be76ef42 [filters] clear the state for filters that have been deleted
Fixes #292
9 years ago
Timothy Stack 224a7196e4 [cmd] hide lines commands 9 years ago
Timothy Stack 91406be91e [nav] add "opid" support with a hotkey 9 years ago
Timothy Stack ecd3eb05bc [coverity] next set of fixes 9 years ago
Timothy Stack b4cb092ce1 [view] stop scrolling to the right when the end is reached
Fixes #84
9 years ago
Timothy Stack 38e56b63ea [hist] fix the histogram when filters change 10 years ago
Timothy Stack 44d2e12403 [text] add filtering support to the plain text view
Fixes #149 #148
10 years ago
Timothy Stack 0b816dd45d [nav] fix time-based navigation when filtering is active 10 years ago
Timothy Stack c2e44c5998 [filter] fix for multiple filter-ins being applied 10 years ago
Timothy Stack 0d6f067aab [coverity] a couple of fixes 10 years ago
Timothy Stack cd953a548c [filter] update the UI during filtering again
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack cde87f0a11 [log_sub_source] fix the filtered count
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack d4bea593b7 [perf] optimize json log loading 10 years ago
Timothy Stack a71ca1f1ca [filter] some improvements to the core filtering code 10 years ago
Timothy Stack ccf29b3bac [coverity] some cleanup and add the chunky_index 10 years ago
Timothy Stack 4ce9a1e871 [elapsed-time] add a visual indicator for sharp changes in message rate 11 years ago
Timothy Stack d17f7b1940 [cmd] add set-min-log-level command
Part of #82
11 years ago
Timothy Stack 1de4838cf5 [index] allow for larger file sizes
Fixes #76

Max line count for a file is 256 million and the
max number of files is 4096.
11 years ago
Timothy Stack dbc96dc67c [session] preserve time-offset log-view setting 11 years ago
Timothy Stack b6baae7730 [debug] more debugging stuff
Defect Number:
    Reviewed By:
   Testing Done:
11 years ago
Timothy Stack 10eb9617b1 [sql] add a bookmark column to the log tables 11 years ago
Timothy Stack 2dd2b02e1b [headless] add options for usage without the UI 11 years ago
Timothy Stack c3e1dda8f7 [sql] fix bug when querying sub-lines 11 years ago
Timothy Stack 5ef8a168a7 [perf] reduce copies of log messages 11 years ago
Timothy Stack ef6380d03e [wrap] fix some word-wrap glitches 11 years ago
Timothy Stack 7df2470624 [wrap] compute line size for logs and cache the value 11 years ago
Timothy Stack c3d51190c8 [wrap] start support for word wrapping and fix a variety of glitches 11 years ago
Timothy Stack 59c1d4313b [mouse] more mouse support and other fixes 11 years ago
Timothy Stack c59acba758 [format] initial support for json formats and some bug fixes 11 years ago