Commit Graph

646 Commits (53ab7b14a6c412e2c57aad579a8ec4f33097316c)

Author SHA1 Message Date
Timothy Stack b924395ed2 [debt] fix some mem leaks 4 years ago
Timothy Stack 0d31323a18 [build] missing sqlite func 4 years ago
Timothy Stack 33621e1936 [filters] more space for hit count in the UI 4 years ago
Timothy Stack 6d0054d3b6 [logfile] refactor visibility 4 years ago
Timothy Stack 8e629b166a [build] some more compiler profiling
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 51d1204a96 [arc] add content hash to archive temp dir and tech debt 4 years ago
Timothy Stack 0765c07010 [view] migrate view_action stuff to function objects 4 years ago
Timothy Stack 9d87cfa2f0 [debt] more tech debt 4 years ago
Timothy Stack f192cb7c3e [input_dispatcher] fix handling of unicode input
Fixes #791
4 years ago
Timothy Stack db8a3c4d38 [debt] doing some cleanup
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 78d5954fd7 [build] fix conversion 4 years ago
Timothy Stack e4ea9ca584 [arc] report errors when opening archives 4 years ago
Timothy Stack 9bfe1f8319 [cmds] include filename in copied log lines when shown
Fixes #789
4 years ago
Timothy Stack df3df8369c [session] stages 4 years ago
Timothy Stack 5e42b4cb8a [debt] include cleanup 4 years ago
Timothy Stack 56866d8a33 [config-ui] support for searching 4 years ago
Timothy Stack 8b38bb0970 [session] store file visibility 4 years ago
Timothy Stack c22c78220c [text] hide text files 4 years ago
Timothy Stack 7b77a612c2 [files] make file scanning async 4 years ago
Timothy Stack dfd18a4be5 [view] add files view 4 years ago
Timothy Stack 3b0168025d [cmds] add support for hiding files 4 years ago
Timothy Stack 579e4274f9 [files] initial impl for opening archives 4 years ago
Timothy Stack 9f524136bd [fs] remove old filesystem impl 4 years ago
Timothy Stack 276f71423e [readline] add alternate enter command 4 years ago
Timothy Stack ee572a2c86 [init] fix an issue with input not being taken when an empty file is loaded 4 years ago
Timothy Stack dbe252c70c [docs] some more doc stuff 4 years ago
Timothy Stack bbf06e78ba [init] delay initial command execution until some files are loaded
Fixes #764
4 years ago
Timothy Stack ce0383dee1 [build] fix some warnings 4 years ago
Timothy Stack f3d172c831 [keymap] add a french keymap 4 years ago
Timothy Stack 815a05577e [keymap] suggest the config option to set for an unknown keystroke
Also, add a unicode green-check/red-X mark for the success/error
message for commands.
4 years ago
Timothy Stack 8734795505 [keymap] handle unicode keys and add UK keymap
Fixes #392
4 years ago
Timothy Stack 84a7079e3f [main] capture stderr only after initscr() and fix curl configure detection 4 years ago
Timothy Stack f23791af18 [internals] ignore failure to open file 4 years ago
Timothy Stack 8413dd13d8 [config] add configs directory 4 years ago
Timothy Stack 9b28a90ab0 pay attention to the result of rebuild_index() 4 years ago
Timothy Stack 7e538c85f9 [tests] try to fix breakage 4 years ago
Timothy Stack 8a0193691f ignore stdin when it is from /dev/null 4 years ago
Timothy Stack 3da3ec799a [session] allow the name 4 years ago
Timothy Stack 56a341f7f8 [view_curses] colors
Defect Number:
    Reviewed By:
   Testing Done:
5 years ago
Timothy Stack 9a05b9d186 [config] pay attention to XDG_CONFIG_HOME
Fixes #105
5 years ago
Timothy Stack 07cc749c50 [stdin-capture] change save limit to 10MB 5 years ago
Timothy Stack e442f84e80 [textview] pause loading of files by pressing =
Fixes #670
5 years ago
Timothy Stack 63dba408ec [stdin] Keep the stdin piper file in .lnav so that it can be reopened
When piping the output of a program into lnav, the data would
be dumped to the terminal on exit so that it would not be
lost.  Since that is a bit noisy, the temp file used to store
the data is now left in .lnav so that it can be reopened later.
Older stdin captures are automatically removed after a day.

Also took the opportunity to start using filesystem::path more.

Fixes #436
5 years ago
Timothy Stack e6590e94e2 [highlight] fix highlights
Fix #667
5 years ago
Timothy Stack 02c53976b4 Some refactoring for the line buffer and other cleanups
Fixes #649
5 years ago
Timothy Stack b5c6ed6240 [rebiuld] fix an issue when a text file is truncated 5 years ago
Timothy Stack 0918063640 [cleanup] some modernization 5 years ago
Timothy Stack 1fc24ecabf [bin2c] improve building of data files that are incorporated into the binary 5 years ago
Timothy Stack fb7d6eafaf [build] some refactoring of files 5 years ago
Timothy Stack 06d1098211 [config] initial support for themes
For #422

Still more to do
5 years ago
Timothy Stack 78d80fddd5 [cli] add -r flag for recursively loading files from a directory hierarchy
Fixes #431
5 years ago
Timothy Stack 21c5c52843 [format] allow multiple log format patterns per log file
This tries to address #624
5 years ago
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.
5 years ago
Timothy Stack 1e795c1e4a [ui] move filter editor help to separate status bar
The help is unreadable when the terminal width is
small.
5 years ago
Timothy Stack 153b59ea8a [status] some fixes for the bottom status bar
Fixes #603
Fixes #578
5 years ago
Timothy Stack 4381c23641 some build and cleanup 6 years ago
Timothy Stack dcccebe797 [sql] add some help for regexp_capture()
Fixes #593
6 years ago
Timothy Stack 814ad03ec9 [view] keep a history of view positions
Fixes #577
6 years ago
Timothy Stack 5769bcbb4a whiff
missed refreshing patch
6 years ago
Timothy Stack 42be76c3ba [readline] fix some broken shortcuts
Defect Number:
    Reviewed By:
   Testing Done:
6 years ago
Timothy Stack f2b9988c95 [internal] capture stderr while in curses and log it
Fixes #582
6 years ago
Timothy Stack 49dce3cec2 [readline] fix escaping out of prompt 6 years ago
Timothy Stack 5c6cc5fe2a [readline] pressing escape should exit the command prompt
Fixes #316
6 years ago
Timothy Stack 2345a32423 [filter] add panel that shows the set of filters
Initial version, still needs some cleanup
6 years ago
Timothy Stack b1a6d06490 [lss] refactor the force flag during indexing and some other stuff 6 years ago
Timothy Stack 2589345e5c [perf] improve initial indexing times 6 years ago
Timothy Stack ac7ae1275a [cmds] add :redirect-to command for redirecting the output of commands in scripts
Related to #551
6 years ago
Timothy Stack 5f5e2d5c4e [cleanup] prune some includes and some other cleaning
Defect Number:
    Reviewed By:
   Testing Done:
6 years ago
Timothy Stack 9664b015c6 [textview] preserve location in view when changing filters
Defect Number:
    Reviewed By:
   Testing Done:
6 years ago
Timothy Stack 686ce639a0 [build] use cmath instead of math.h
Defect Number:
    Reviewed By:
   Testing Done:
6 years ago
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.
6 years ago
Timothy Stack b1ff6b3a3b [json-log] fix some inconsistencies with json logs
Fill some gaps brought up in #535
6 years ago
Timothy Stack 00ed12557b [keymap] add more keys to the keymap 6 years ago
Timothy Stack bc8e51914a [hotkey] the "P" hotkey was not toggling the view
Fixes #522
6 years ago
Timothy Stack 6bfd158e49 [logline] check for SQL keywords in column names 6 years ago
Timothy Stack 5689984702 [yajlpp] use pointer to member over nullobj() 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 7fb881222d [pretty] highlight log messages in the pretty view as in the normal log view 6 years ago
Nicolas Werner 5594120f1a Use CTRL macro from readline instead of CEOF from ttydefaults.h
The ttydefaults.h header is not available on musl. Readline provides the
same functionality with its CTRL macro and it makes the intent of the
code a bit clearer (that we check for CTRL-D).
6 years ago
Timothy Stack 7c5fc44f7d [view_curses] fix highlighting when a line contains unicode
Take into account unicode codepoint lengths when adjusting
attribute ranges
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.
6 years ago
Phil Hord eee7d0ddfc Squash a bunch of signed/unsigned warnings 6 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.
6 years ago
Timothy Stack 36932b148d [hotkeys] cleanup the last commit 6 years ago
Timothy Stack 8257f188cb [hotkeys] change the filename hotkey to left/right arrow 6 years ago
Timothy Stack 7d7060ae4c [generic_log] fix recognition for generic logs
The generic format picks up extra text in the timestamp, which
caused the date time scanner to reject some matches.  I think
it's okay to allow for some trailing junk, so it no longer
ensures the size of the match is the same as the input.
6 years ago
Timothy Stack bdcfc5cfdd [misc] rounding some corners 7 years ago
Timothy Stack 75ccb8ca4f [layout] fix a crash with a small window 7 years ago
Timothy Stack 74b58ed9fc [highlights] allow the highlight color to be specified in log formats
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack b5f5b4137c [search] redo search after filtering
Fixes #480
7 years ago
Timothy Stack f25980df03 [ui] rework the default colors change
The default colors change resulted in some parts of the lnav
UI being colored incorrectly.  I've reworked it a bit so that
the ansi color pairs are preserved and the default colors are
only used with the color pairs for roles.  I've also replaced
references to ansi colors with roles in a few places to make
things work consistently.
7 years ago
Suresh Sundriyal 4483722b1d Fix the __clang__ macro. 7 years ago
Suresh Sundriyal 217d365672 Redefine _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only on OpenBSD 7 years ago
Suresh Sundriyal 1a7e2fee9b Redefine _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only if needed. 7 years ago
Suresh Sundriyal 72f3d7951b Don't redefine rl_completer_word_break_characters 7 years ago
Suresh Sundriyal 23c1f7ba4f [OpenBSD] Define _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only when using Clang. 7 years ago
Suresh Sundriyal 0c88eeeb07 Fix lnav builds on OpenBSD.
* Remove all the wordexp related unused headers and code.
* stdout does not appear to be reassignable on OpenBSD.
* defining _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ seems to fix the const
  correctness related redefinitions between wchar.h imported from
  the system libc and the one imported by clang++ STL.
7 years ago
Timothy Stack d18b344489 [perf] avoid an initial forced index rebuild
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 867504b2b5 [build] try to fix some tests
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 8ea51a6fd8 [formats] support for CSV/TSV log formats
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 16fd7ec785 [help] remove old command help and add some more filesystem extensions 7 years ago
Timothy Stack 5e8d6aa3a8 [session] add hidden fields to the session
Fixes #433
7 years ago
Timothy Stack 4cedde9a43 [help] add builtin help to the main help text as a reference
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack abd566cb08 [readline] make search tab-completion case-insensitive 7 years ago
Timothy Stack a973f7f934 [misc] some more miscellaneous bugs
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 05730274ed [prev-mark] jumping to the first bookmark wasn't always working 7 years ago
Timothy Stack aa21234164 [hist] need to rebuild hist to reflect marks
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 7033b51b41 fix potential crash when quitting 7 years ago
Timothy Stack aae3cf4d14 [log_vtab_manager] fix lookup_impl() 7 years ago
Timothy Stack fea3cb83d9 [sql] preview table definition
Defect Number:
    Reviewed By:
   Testing Done:
7 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:
7 years ago
Timothy Stack 851bd183b3 [perf] some performance tweaks 7 years ago
Timothy Stack 78119dc9f1 fixing some minor issues
Fixes #255
7 years ago
Timothy Stack 4954817741 [crash] pressing i/I when not in the log view
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 00ebd10d71 [cmds] do a dry-run of a command to check for errors
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 411ea1fbee [help] show help text for SQL functions
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack cd76eae5b8 [build] convert some C files to C++
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 6fcfd35395 [sql] add "search" column to the lnav_views table
Fixes #388
7 years ago
Timothy Stack 8776f6a703 [sql] do some minimal parsing/annotation of SQL statements
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack c0684a97cc [sql] add a regexp_capture tablue-valued function
Fixup the release makefile a bit.
7 years ago
Timothy Stack fa296fca1b [listview] get a batch of rows from the source instead of a single one at a time
Also: bump to c++14 and added a helper template for creating sqlite virtual tables
7 years ago
Timothy Stack 32c9dacd0a [files_vtab] add a vtable for opened files
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack c180c44e49 [vtab] add an lnav_view_stack table to get programmatic access to the view stack
More progress towards #377
7 years ago
Timothy Stack 71aa54ad4d [keymap] convert more hotkeys to keymaps
Fixes #416
7 years ago
Timothy Stack 34d1422b76 [highlight] only highlight keywords in text files
Fixes #408
7 years ago
Timothy Stack c606e1169c only do custom keys in paging mode 8 years ago
Timothy Stack 89f8ef9c2b [hotkeys] hotkey configuration
First steps to implementing #350
8 years ago
Timothy Stack 0138d13297 [cmds] execute scripts from stdin/fds
Issues mentioned in #397
8 years ago
Timothy Stack a69d4c37a4 [hotkey] when scanning through search hits, move to the last hits 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 02bfd5846b [hotkey] the n/N keys will now move to the next cluster of search hits, up to a screenful
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 95fe6f0d73 [hotkey] the n/N keys will now move to the next cluster of search hits, up to a screenful
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 09292fc23e remove -s flag
Fixes #363
8 years ago
Timothy Stack 642a94e7b7 [open] check for FIFOs
Fixes #380
8 years ago
Timothy Stack a7a03470d7 [search] fix a typo in the timeval compare operator
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Timothy Stack 4de576fba7 [search] after a search has been entered, move to the first hit if one is found quickly
Defect Number:
    Reviewed By:
   Testing Done:
8 years ago
Adam Spiers 81f5a843cf check return value of git pull command
This is obviously worthwhile, but also eliminates this compiler warning:

    lnav.cc: In function ‘int main(int, char**)’:
    lnav.cc:2407:33: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
                     system(pull_cmd);
                                     ^
8 years ago
Adam Spiers 04627c1743 fix -Wunused-result warnings when calling read() and write()
Fix warnings like these:

    lnav.cc: In function ‘int main(int, char**)’:
    lnav.cc:2407:33: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
                     system(pull_cmd);
                                     ^
    lnav.cc:2966:66: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
                         write(STDOUT_FILENO, str.c_str(), str.size());
                                                                      ^
    lnav.cc:2967:50: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
                         write(STDOUT_FILENO, "\n", 1);
                                                      ^
8 years ago
Timothy Stack b296e84a65 [format] color extra json fields that are identifiers 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 d9b5cf3856 call setlocale() to try and get unicode working 8 years ago
Timothy Stack fbbedfea48 [build] try to silence some warnings 8 years ago
Timothy Stack c564beee29 [build] try to silence some warnings 8 years ago
Timothy Stack deccd51bdf [mouse] update the status line when the mouse is enabled/disabled 8 years ago
Suresh Sundriyal 1e6878164f [secure-mode] Refactoring and check for sqlite version.
'mode=memory' query parameter is only supported from sqlite3 version
3.8.0 onwards. Make sure to check for the version before continuing with
the 'ATTACH' statement.

Turning off some of the tests, since they fail on the Travis CI setup
which uses sqlite version 3.6.0.
8 years ago
Suresh Sundriyal e6c87678e9 [secure-mode] Prevent users from attaching db files.
Prevent the users from attaching an external db file which they may not
have ownership of.

The current authorizer method is hooked in only when the LNAVSECURE
variable is set. This is done deliberately, since the method will be
called on every sqlite query and I did not want to incur a performance
hit.

If the scope of this authorizer increases, we should consider passing in
the lnav_data as pUserData and do the checks inside the authorizer
itself.
8 years ago
Timothy Stack 82f970c09e [config] add a config option to control A_DIM for text
Fixes #298
8 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.
8 years ago
Timothy Stack cad311f557 [views] do auto-scroll-down for all views 8 years ago
Timothy Stack 7a6429519f [summary-line] change error count to error rate and do some cleanup on message levels 8 years ago
Timothy Stack 99eb3a54f3 [spectro] support marking lines in a bucket 8 years ago
Timothy Stack 619076d89c no, we don't want to scroll... 8 years ago
Timothy Stack fdc2748e3e [spectro] add a spectrogram view that works with known message fields 8 years ago
Timothy Stack 062cc63037 missed checking for an empty view stack 8 years ago
Timothy Stack fe05fcc077 scroll if there's one blank row in the log view 8 years ago
Timothy Stack 80e5e8fcce [logview] add a line with summary information to the log view 8 years ago
Timothy Stack 8de5d3b749 [logfile] add more options when opening files 8 years ago
Timothy Stack 9ba690e041 [readline] change the break chars for the SQL context 8 years ago
Timothy Stack 2b2e1c0af9 [sql] add parens to function complete values and do not open empty output files from scripts 8 years ago
Timothy Stack 2d04d047e4 [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 8 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.
8 years ago
Timothy Stack 85eee6514b [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 8 years ago
Timothy Stack 9213a6b58b [out-of-order] some more tweaks for out-of-order 8 years ago
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.
8 years ago
Timothy Stack 3ef38c1250 missed some checks for an empty view stack 8 years ago
Justin Berger 2aa26082f8 Added O_TRUNC flag so new format installation doesn't result in trailing garbage message 8 years ago
Timothy Stack a2b381ca19 [config] initial impl with clock-format as the only option at the moment 9 years ago
Timothy Stack ab62d27757 [cmd] replace wordexp with shlex 9 years ago
Timothy Stack 16e988d132 [shlex] add a readline highlighter for shlex 9 years ago
Timothy Stack 6e196bff79 [line_buffer] clear cached data when doing a read 9 years ago
Timothy Stack e07b4e448f [exec] add a prompt to execute lnav scripts 9 years ago
Timothy Stack 187d62334f [json] record the type of json data in json_ptr_walk 9 years ago
Timothy Stack e987a5164f [hist] rewrite the histogram code 9 years ago
Timothy Stack d1bbc433b7 [view] start to refactor the bar chart code 9 years ago
Timothy Stack 4eb797ce9a [hist] start to replace the old hist_source class 9 years ago
Timothy Stack 64cbab1281 [sql] exec .sql files in format dirs 9 years ago
Timothy Stack 3c9ba126a9 [glob] ignore files picked up by a glob that are not readable 9 years ago
Timothy Stack ff929391f3 need to fflush(stdout) to get the mouse working again 9 years ago
Timothy Stack 0237aaad21 [release] update the release Makefile 9 years ago
Timothy Stack 9c23431779 [all_logs] add a .msgformats SQL command 9 years ago
Timothy Stack ecd3eb05bc [coverity] next set of fixes 9 years ago
Timothy Stack 3c0d78d28e [sql] fix spurious loading bar flash while searching 9 years ago
Timothy Stack 0d37a8c142 [text] pretty-printing should work in the text view 9 years ago
Timothy Stack b4cb092ce1 [view] stop scrolling to the right when the end is reached
Fixes #84
9 years ago
Timothy Stack bedae8c8c2 [fmt] install/update formats from git repos
Fixes #244
9 years ago
Timothy Stack 2b5447f59c [sql] add a log_search table 9 years ago
Timothy Stack 83b92c3b65 [papertrail] add support for time ranges 9 years ago
Timothy Stack cc5e70fb30 [cmd] add help to the command prompt 9 years ago
Timothy Stack e9a96caf09 [papertrail] use the curl_looper 9 years ago
Timothy Stack f286950854 [curl] add a curl looper to handle url requests 9 years ago
Timothy Stack fa89ecc5e5 redo the search in the pretty view
Fixes #245
9 years ago
Timothy Stack d2d8c75135 [sql] add an lnav_views table 9 years ago
Timothy Stack 9496a960f6 [check] print the partial match of non-matching lines when checking a log file 9 years ago
Timothy Stack 5e77e9f256 [readline] try a different behavior when tab-completing quoted stuff in the SQL context 9 years ago
Timothy Stack 3f4e11a693 [fmt] first pass at supporting sub-formats (called module formats) 9 years ago
Timothy Stack a8bf7e39b0 log the version of libcurl 9 years ago
Timothy Stack 5ef60412db [pt] pass search query to papertrail 9 years ago
Timothy Stack 7ef92dab79 [format] try to validate formats against a given file 9 years ago
Timothy Stack f1dd99328d [lnav.cc] move more stuff out of lnav.cc 9 years ago
Timothy Stack 6b971ccd66 move stuff out of lnav.cc
Defect Number:
    Reviewed By:
   Testing Done:
9 years ago
Timothy Stack 879bbd581e [pt] rough draft of tail for papertrail 9 years ago
Suresh Sundriyal b4f2c1683a [coverity] Avoid a buffer-overrun.
'escape_index' is ensured to be less than 'sizeof(escape_buffer)-1'.
This guarantees enough space for one more character in the
escape_buffer. However, if we meet this condition, we go ahead and shove
a character and a null-terminator in to the string, potentially leading
to a buffer overrun.
9 years ago
Timothy Stack 054e8d489b [data-scanner] convert to using re2c 9 years ago
Timothy Stack 504b5747fe [sql] add an all_logs table that exposes the message format with values, like numbers, replaced with hashes 9 years ago
Timothy Stack 04f8ceadab [file-marker] some more cleanup 9 years ago
Suresh Sundriyal d6b32d60be [lo-fi shortcut] Change shortcut to 'Ctrl-l'.
* Change the 'lo-fi' shortcut to 'Ctrl-l'
* Remove the shortcut for 'redraw'
9 years ago
Timothy Stack 1d0233bbfa [json-format] support for full paths 9 years ago
Timothy Stack ae64b599bd [format] add more log levels and fix some more pretty-printer glitches
Fixes #212
9 years ago
Suresh Sundriyal 13337a75a5 [coverity] buffer overrun. 9 years ago
Timothy Stack a50ec2eb42 update usage 9 years ago
Timothy Stack 8d421d0cd4 do not dump stdin if -q is specified 9 years ago
Timothy Stack e1874c0278 use poll instead of select so we can handle more than FD_SETSIZE files 9 years ago
Timothy Stack 0b232a7588 [headless] multiline support for command files 9 years ago
Timothy Stack 2dfae4f7f9 [pretty] add some more tests and leave leading spaces alone in some cases 9 years ago
Suresh Sundriyal 1de2a30560 [wsign-compare] FreeBSD builds fail while comparing int with FD_SETSIZE. 9 years ago
Timothy Stack d6d652ec38 various tweaks 9 years ago
Suresh Sundriyal 0c979afc09 [build] Add the git cln to the lnav version. 9 years ago
Timothy Stack c58f44bb3f [headless] completely read stdin in headless mode before running commands 9 years ago
Timothy Stack 32e96e6395 [pipe-to] fix some issues when running pipe in headless mode 9 years ago
Timothy Stack 7b8bc67cc9 [pretty] drop extra new lines 9 years ago
Timothy Stack 38e56b63ea [hist] fix the histogram when filters change 9 years ago
Tim Stack 1a204c6915 remove leftover test code 9 years ago
Timothy Stack 408c690192 [log] some more logging cleanup 9 years ago
Timothy Stack f0f819b119 [log] dump more state on a crash 9 years ago
Suresh Sundriyal 19e6303fac [-Wsign-compare] lnav.cc 9 years ago
Suresh Sundriyal a21c172d8e [Coverity] Fix a forward null. 9 years ago
Timothy Stack 7efedcdafc [lint] remove unnecessary null checks 9 years ago
Timothy Stack e71985a951 need to check the view stack in rebuild_indexes() 9 years ago
Timothy Stack 033c861028 [cmd] next/prev-mark commands 9 years ago
Suresh Sundriyal c386814850 [Coverity] Printf arg type mismatch. 9 years ago
Timothy Stack 44d2e12403 [text] add filtering support to the plain text view
Fixes #149 #148
9 years ago
Timothy Stack 282e70445e [pretty] reformat all displayed lines instead of just the top one
Fixes #150
9 years ago
Timothy Stack 219a4baad1 [ui] lower the index rebuild frequency when the command line is active 9 years ago
Timothy Stack 42521ef337 [hist] the wrong view could be used when switching from hist to log 9 years ago
Timothy Stack cf462cecde [hist] need to rebuild the histogram if files are closed 9 years ago
Timothy Stack aea0bd54e0 [cmd] add a :redraw command to do a full redraw of the window
Fixes #18
9 years ago
Timothy Stack dc79bd3bf5 [nav] reset where shift+j/k set bookmarks after scrolling
Fixes #13
9 years ago
Timothy Stack c670a86d04 [pretty-print] first pass at a pretty-printer
Defect Number:
    Reviewed By:
   Testing Done:
9 years ago
Timothy Stack 1d3481c3fa [cmd] add pipe-to and pipe-line-to commands 9 years ago
Timothy Stack 64df915a5a [piper] fix some ownership issues with the piper fd 9 years ago
Timothy Stack 6a90dd9bc2 copy search terms to OS-Xs find clipboard
Fixes #108
10 years ago
Timothy Stack cfa628f6c4 various fixes
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 62f4c9e59e [build] another missing define 10 years ago
Timothy Stack 17db6e38fe add a lo-fi mode
Fixes #113
10 years ago
Timothy Stack 82ada5103a fix an uninitialized var 10 years ago
Timothy Stack 80cbe192cb [filter] fix a filtering bug during tailing 10 years ago
Timothy Stack 671dca60dc [cmd] do not error out if filter exists, just enable it
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago