Commit Graph

140 Commits (9e1411f113ba71367d91ae7e770031012d851dbb)

Author SHA1 Message Date
Timothy Stack 36d5ff8b86 [lo-fi] display fixes
Fixes #513
Fixes #516
6 years ago
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 b8fc956677 [search-table] match against the whole line and not just the body 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 697d22705d [generic_log] include more of the line in the body for a generic log message 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 3f7f80e32c Squash various compiler warnings
Unused-result from sensitive APIs, printf/scanf formatting types, set
but never used variables, and uninitialized variables.

Also there's one select(enum) that doesn't cover all cases.
7 years ago
Phil Hord eee7d0ddfc Squash a bunch of signed/unsigned warnings 7 years ago
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.
7 years ago
Timothy Stack ebf20a746b [commands] fix completion for delete-filter 7 years ago
Timothy Stack b5f5b4137c [search] redo search after filtering
Fixes #480
7 years ago
Suresh Sundriyal 150252e578 [command] Add a ':quit' command.
Add a ':quit' command and add ':q' as the alias for the
quit command.

Closes #470
7 years ago
Timothy Stack e615805ac6 [cmds] remove completion for highlight after clearing
Fixes #465
7 years ago
Timothy Stack 16fd7ec785 [help] remove old command help and add some more filesystem extensions 8 years ago
Timothy Stack 5e8d6aa3a8 [session] add hidden fields to the session
Fixes #433
8 years ago
Timothy Stack a973f7f934 [misc] some more miscellaneous bugs
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack aa21234164 [hist] need to rebuild hist to reflect marks
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack bbf8bdc4ec [search-table] highlight the captured text for preview
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 7e55f7401f [filter-in] highlight matches in green 8 years ago
Timothy Stack 914f4cf4bb [filter-out] show a preview of the filter effects by highlighting matches in red
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 78119dc9f1 fixing some minor issues
Fixes #255
8 years ago
Timothy Stack 00ebd10d71 [cmds] do a dry-run of a command to check for errors
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 8776f6a703 [sql] do some minimal parsing/annotation of SQL statements
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 8bf6bf1a65 [cmds] add the format directory to the PATH in the :pipe commands 8 years ago
Timothy Stack 32c9dacd0a [files_vtab] add a vtable for opened files
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack c180c44e49 [vtab] add an lnav_view_stack table to get programmatic access to the view stack
More progress towards #377
8 years ago
Timothy Stack 71aa54ad4d [keymap] convert more hotkeys to keymaps
Fixes #416
8 years ago
Timothy Stack 1a87184c82 [log] allow parts of log messages to be hidden
Fixes #412
8 years ago
Timothy Stack 89f8ef9c2b [hotkeys] hotkey configuration
First steps to implementing #350
8 years ago
Timothy Stack 04eda90244 [db] missed checking for a null progress callback
Fixes #404
8 years ago
Timothy Stack d799cc227e some tweaks to these changes 8 years ago
Timothy Stack e286534cfc Merge branch 'fix-compile-warnings' of https://github.com/aspiers/lnav into aspiers-fix-compile-warnings 8 years ago
Timothy Stack f567aafe3b [c++11] migration #1
Just a start
8 years ago
Timothy Stack 44d93dddc3 [pretty-print] allow formats to do transforms before pretty-printing
Also started upgrading to C++11.

Fixes #353
8 years ago
Timothy Stack 642a94e7b7 [open] check for FIFOs
Fixes #380
8 years ago
Adam Spiers dc500774a8 fix -Wsign-compare warnings in lnav_commands.cc
Fixes these warnings:

    lnav_commands.cc: In function ‘std::string remaining_args(const string&, const std::vector<std::basic_string<char> >&, size_t)’:
    lnav_commands.cc:67:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int lpc = 0; lpc < index; lpc++) {
                                 ^
    lnav_commands.cc: In function ‘std::string com_save_to(std::string, std::vector<std::basic_string<char> >&)’:
    lnav_commands.cc:574:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int lpc = 0; lpc < dls.text_line_count(); lpc++) {
8 years ago
Timothy Stack b392886f0c [highlight] choose highlight color based on the regex
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 2e68f48a18 [hist] check for zoom with no logs
Fixes #346
8 years ago
Timothy Stack c564beee29 [build] try to silence some warnings 9 years ago
Timothy Stack a4deaa1e8b [spectro] log_time must be in ascending order 9 years ago
Timothy Stack 82f970c09e [config] add a config option to control A_DIM for text
Fixes #298
9 years ago
Suresh Sundriyal e4ef35e652 [commands] Remove eval from the list of sandboxed commands. 9 years ago
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.
9 years ago
Timothy Stack a8cd28097b [spectro] add some better error messages for the spectrogram command and fix some vtable glitches 9 years ago
Timothy Stack 9c364bf48e [spectro] add spectro view support for sql results 9 years ago
Timothy Stack 99eb3a54f3 [spectro] support marking lines in a bucket 9 years ago
Timothy Stack fdc2748e3e [spectro] add a spectrogram view that works with known message fields 9 years ago
Timothy Stack 8de5d3b749 [logfile] add more options when opening files 9 years ago
Timothy Stack 2d04d047e4 [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 9 years ago
Timothy Stack d4a69cbf22 no joy
Revert "[sql] change extract() to regexp_match() and make extract() an interface to the data_parser"

This reverts commit 85eee6514b.
9 years ago