Commit Graph

506 Commits

Author SHA1 Message Date
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.
2017-12-02 22:11:34 -08:00
Suresh Sundriyal
4483722b1d Fix the __clang__ macro. 2017-10-28 16:10:03 -07:00
Suresh Sundriyal
217d365672 Redefine _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only on OpenBSD 2017-10-28 15:11:15 -07:00
Suresh Sundriyal
1a7e2fee9b Redefine _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only if needed. 2017-10-28 14:26:35 -07:00
Suresh Sundriyal
72f3d7951b Don't redefine rl_completer_word_break_characters 2017-10-28 13:26:29 -07:00
Suresh Sundriyal
23c1f7ba4f [OpenBSD] Define _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only when using Clang. 2017-10-28 13:17:54 -07:00
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.
2017-10-28 05:21:02 -07:00
Timothy Stack
d18b344489 [perf] avoid an initial forced index rebuild
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-25 06:55:07 -07:00
Timothy Stack
867504b2b5 [build] try to fix some tests
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-23 15:57:24 -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
4cedde9a43 [help] add builtin help to the main help text as a reference
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-14 22:49:36 -07:00
Timothy Stack
abd566cb08 [readline] make search tab-completion case-insensitive 2017-04-13 06:15:29 -07:00
Timothy Stack
a973f7f934 [misc] some more miscellaneous bugs
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-12 15:54:54 -07:00
Timothy Stack
05730274ed [prev-mark] jumping to the first bookmark wasn't always working 2017-04-12 07:32:11 -07:00
Timothy Stack
aa21234164 [hist] need to rebuild hist to reflect marks
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-11 07:25:54 -07:00
Timothy Stack
7033b51b41 fix potential crash when quitting 2017-04-10 23:21:14 -07:00
Timothy Stack
aae3cf4d14 [log_vtab_manager] fix lookup_impl() 2017-04-09 02:32:07 -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
851bd183b3 [perf] some performance tweaks 2017-04-05 21:42:54 -07:00
Timothy Stack
78119dc9f1 fixing some minor issues
Fixes #255
2017-04-05 07:05:19 -07:00
Timothy Stack
4954817741 [crash] pressing i/I when not in the log view
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-02 07:47:51 -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
cd76eae5b8 [build] convert some C files to C++
Defect Number:
    Reviewed By:
   Testing Done:
2017-03-26 21:01:49 -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
Timothy Stack
c0684a97cc [sql] add a regexp_capture tablue-valued function
Fixup the release makefile a bit.
2017-03-15 17:01:58 -07:00
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
2017-03-14 06:05:46 -07:00
Timothy Stack
32c9dacd0a [files_vtab] add a vtable for opened files
Defect Number:
    Reviewed By:
   Testing Done:
2017-03-08 13:51:07 -08:00
Timothy Stack
c180c44e49 [vtab] add an lnav_view_stack table to get programmatic access to the view stack
More progress towards #377
2017-03-04 15:22:19 -08:00
Timothy Stack
71aa54ad4d [keymap] convert more hotkeys to keymaps
Fixes #416
2017-03-01 08:44:16 -08:00
Timothy Stack
34d1422b76 [highlight] only highlight keywords in text files
Fixes #408
2017-02-18 22:35:18 -08:00
Timothy Stack
c606e1169c only do custom keys in paging mode 2017-01-23 10:05:46 -08:00
Timothy Stack
89f8ef9c2b [hotkeys] hotkey configuration
First steps to implementing #350
2017-01-21 07:41:28 -08:00
Timothy Stack
0138d13297 [cmds] execute scripts from stdin/fds
Issues mentioned in #397
2016-12-23 11:37:23 -08:00
Timothy Stack
a69d4c37a4 [hotkey] when scanning through search hits, move to the last hits 2016-12-17 21:43:26 -08:00
Timothy Stack
d799cc227e some tweaks to these changes 2016-12-17 21:13:38 -08:00
Timothy Stack
e286534cfc Merge branch 'fix-compile-warnings' of https://github.com/aspiers/lnav into aspiers-fix-compile-warnings 2016-12-16 22:50:45 -08:00
Timothy Stack
f567aafe3b [c++11] migration #1
Just a start
2016-12-10 07:21:24 -08:00
Timothy Stack
44d93dddc3 [pretty-print] allow formats to do transforms before pretty-printing
Also started upgrading to C++11.

Fixes #353
2016-12-05 16:34:30 -08:00
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:
2016-11-25 15:44:36 -08:00
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:
2016-11-24 23:27:54 -08:00
Timothy Stack
09292fc23e remove -s flag
Fixes #363
2016-11-23 07:02:41 -08:00
Timothy Stack
642a94e7b7 [open] check for FIFOs
Fixes #380
2016-11-23 06:41:22 -08:00
Timothy Stack
a7a03470d7 [search] fix a typo in the timeval compare operator
Defect Number:
    Reviewed By:
   Testing Done:
2016-11-22 23:03:40 -08:00
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:
2016-11-22 21:02:01 -08:00
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);
                                     ^
2016-11-22 19:42:41 +00:00
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);
                                                      ^
2016-11-22 19:42:41 +00:00
Timothy Stack
b296e84a65 [format] color extra json fields that are identifiers 2016-10-29 22:16:45 -07:00
Timothy Stack
b392886f0c [highlight] choose highlight color based on the regex
Defect Number:
    Reviewed By:
   Testing Done:
2016-10-25 06:42:05 -07:00
Timothy Stack
d9b5cf3856 call setlocale() to try and get unicode working 2016-10-17 08:46:25 -07:00
Timothy Stack
fbbedfea48 [build] try to silence some warnings 2016-05-03 21:12:53 -07:00
Timothy Stack
c564beee29 [build] try to silence some warnings 2016-05-03 21:01:39 -07:00
Timothy Stack
deccd51bdf [mouse] update the status line when the mouse is enabled/disabled 2016-05-03 20:47:52 -07:00
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.
2016-05-02 21:43:11 -07:00
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.
2016-05-02 20:58:20 -07:00
Timothy Stack
82f970c09e [config] add a config option to control A_DIM for text
Fixes #298
2016-05-01 20:35:37 -07:00
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.
2016-04-23 10:34:17 -07:00
Timothy Stack
cad311f557 [views] do auto-scroll-down for all views 2016-03-28 06:13:40 -07:00
Timothy Stack
7a6429519f [summary-line] change error count to error rate and do some cleanup on message levels 2016-03-24 23:58:25 -07:00
Timothy Stack
99eb3a54f3 [spectro] support marking lines in a bucket 2016-03-22 23:19:26 -07:00
Timothy Stack
619076d89c no, we don't want to scroll... 2016-03-20 20:25:40 -07:00
Timothy Stack
fdc2748e3e [spectro] add a spectrogram view that works with known message fields 2016-03-20 15:15:50 -07:00
Timothy Stack
062cc63037 missed checking for an empty view stack 2016-03-13 22:53:59 -07:00
Timothy Stack
fe05fcc077 scroll if there's one blank row in the log view 2016-03-13 22:38:47 -07:00
Timothy Stack
80e5e8fcce [logview] add a line with summary information to the log view 2016-03-13 22:22:27 -07:00
Timothy Stack
8de5d3b749 [logfile] add more options when opening files 2016-03-12 14:12:23 -08:00
Timothy Stack
9ba690e041 [readline] change the break chars for the SQL context 2016-03-11 21:14:47 -08:00
Timothy Stack
2b2e1c0af9 [sql] add parens to function complete values and do not open empty output files from scripts 2016-03-11 09:11:26 -08:00
Timothy Stack
2d04d047e4 [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 2016-03-10 06:03:32 -08:00
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.
2016-03-09 23:30:34 -08:00
Timothy Stack
85eee6514b [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 2016-03-09 23:14:54 -08:00
Timothy Stack
9213a6b58b [out-of-order] some more tweaks for out-of-order 2016-03-07 21:17:57 -08:00
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.
2016-03-06 23:58:37 -08:00
Timothy Stack
3ef38c1250 missed some checks for an empty view stack 2016-03-04 20:28:23 -08:00
Justin Berger
2aa26082f8 Added O_TRUNC flag so new format installation doesn't result in trailing garbage message 2016-02-15 12:00:03 -07:00
Timothy Stack
a2b381ca19 [config] initial impl with clock-format as the only option at the moment 2016-01-05 06:18:58 -08:00
Timothy Stack
ab62d27757 [cmd] replace wordexp with shlex 2015-12-25 12:03:44 -08:00
Timothy Stack
16e988d132 [shlex] add a readline highlighter for shlex 2015-12-24 03:35:02 -08:00
Timothy Stack
6e196bff79 [line_buffer] clear cached data when doing a read 2015-12-22 22:44:42 -08:00
Timothy Stack
e07b4e448f [exec] add a prompt to execute lnav scripts 2015-12-18 22:39:27 -08:00
Timothy Stack
187d62334f [json] record the type of json data in json_ptr_walk 2015-12-08 23:10:48 -08:00
Timothy Stack
e987a5164f [hist] rewrite the histogram code 2015-12-08 22:46:10 -08:00
Timothy Stack
d1bbc433b7 [view] start to refactor the bar chart code 2015-12-03 21:56:35 -08:00
Timothy Stack
4eb797ce9a [hist] start to replace the old hist_source class 2015-11-28 21:52:24 -08:00
Timothy Stack
64cbab1281 [sql] exec .sql files in format dirs 2015-11-26 22:19:53 -08:00
Timothy Stack
3c9ba126a9 [glob] ignore files picked up by a glob that are not readable 2015-11-14 22:17:59 -08:00
Timothy Stack
ff929391f3 need to fflush(stdout) to get the mouse working again 2015-11-14 12:39:36 -08:00
Timothy Stack
0237aaad21 [release] update the release Makefile 2015-10-14 21:01:39 -07:00
Timothy Stack
9c23431779 [all_logs] add a .msgformats SQL command 2015-09-20 21:03:51 -07:00
Timothy Stack
ecd3eb05bc [coverity] next set of fixes 2015-09-19 21:13:46 -07:00
Timothy Stack
3c0d78d28e [sql] fix spurious loading bar flash while searching 2015-09-03 21:23:29 -07:00
Timothy Stack
0d37a8c142 [text] pretty-printing should work in the text view 2015-08-18 20:58:20 -07:00
Timothy Stack
b4cb092ce1 [view] stop scrolling to the right when the end is reached
Fixes #84
2015-08-14 20:45:23 -07:00
Timothy Stack
bedae8c8c2 [fmt] install/update formats from git repos
Fixes #244
2015-08-09 21:03:23 -07:00
Timothy Stack
2b5447f59c [sql] add a log_search table 2015-08-05 23:18:19 -07:00
Timothy Stack
83b92c3b65 [papertrail] add support for time ranges 2015-08-04 08:39:32 -07:00
Timothy Stack
cc5e70fb30 [cmd] add help to the command prompt 2015-08-03 06:49:07 -07:00
Timothy Stack
e9a96caf09 [papertrail] use the curl_looper 2015-08-02 20:12:21 -07:00
Timothy Stack
f286950854 [curl] add a curl looper to handle url requests 2015-08-02 06:43:57 -07:00
Timothy Stack
fa89ecc5e5 redo the search in the pretty view
Fixes #245
2015-07-23 22:29:08 -07:00
Timothy Stack
d2d8c75135 [sql] add an lnav_views table 2015-07-22 07:09:51 -07:00
Timothy Stack
9496a960f6 [check] print the partial match of non-matching lines when checking a log file 2015-07-20 06:33:52 -07:00
Timothy Stack
5e77e9f256 [readline] try a different behavior when tab-completing quoted stuff in the SQL context 2015-07-17 20:51:44 -07:00
Timothy Stack
3f4e11a693 [fmt] first pass at supporting sub-formats (called module formats) 2015-07-17 20:39:06 -07:00
Timothy Stack
a8bf7e39b0 log the version of libcurl 2015-07-12 10:23:01 -07:00
Timothy Stack
5ef60412db [pt] pass search query to papertrail 2015-07-12 09:57:02 -07:00
Timothy Stack
7ef92dab79 [format] try to validate formats against a given file 2015-07-11 16:32:48 -07:00
Timothy Stack
f1dd99328d [lnav.cc] move more stuff out of lnav.cc 2015-07-08 22:26:54 -07:00
Timothy Stack
6b971ccd66 move stuff out of lnav.cc
Defect Number:
    Reviewed By:
   Testing Done:
2015-07-08 06:35:36 -07:00
Timothy Stack
879bbd581e [pt] rough draft of tail for papertrail 2015-07-06 20:53:42 -07:00
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.
2015-06-27 21:37:08 -07:00
Timothy Stack
054e8d489b [data-scanner] convert to using re2c 2015-06-08 06:27:45 -07:00
Timothy Stack
504b5747fe [sql] add an all_logs table that exposes the message format with values, like numbers, replaced with hashes 2015-06-03 06:36:58 -07:00
Timothy Stack
04f8ceadab [file-marker] some more cleanup 2015-05-14 22:07:28 -07:00
Suresh Sundriyal
d6b32d60be [lo-fi shortcut] Change shortcut to 'Ctrl-l'.
* Change the 'lo-fi' shortcut to 'Ctrl-l'
* Remove the shortcut for 'redraw'
2015-05-08 22:31:56 -07:00
Timothy Stack
1d0233bbfa [json-format] support for full paths 2015-04-25 12:15:51 -07:00
Timothy Stack
ae64b599bd [format] add more log levels and fix some more pretty-printer glitches
Fixes #212
2015-04-10 19:50:05 -07:00
Suresh Sundriyal
13337a75a5 [coverity] buffer overrun. 2015-04-10 00:44:06 -07:00
Timothy Stack
a50ec2eb42 update usage 2015-04-08 21:12:16 -07:00
Timothy Stack
8d421d0cd4 do not dump stdin if -q is specified 2015-04-08 21:06:38 -07:00
Timothy Stack
e1874c0278 use poll instead of select so we can handle more than FD_SETSIZE files 2015-04-08 20:36:45 -07:00
Timothy Stack
0b232a7588 [headless] multiline support for command files 2015-04-07 22:13:44 -07:00
Timothy Stack
2dfae4f7f9 [pretty] add some more tests and leave leading spaces alone in some cases 2015-04-07 21:25:01 -07:00
Suresh Sundriyal
1de2a30560 [wsign-compare] FreeBSD builds fail while comparing int with FD_SETSIZE. 2015-04-07 19:39:27 -07:00
Timothy Stack
d6d652ec38 various tweaks 2015-04-07 06:09:49 -07:00
Suresh Sundriyal
0c979afc09 [build] Add the git cln to the lnav version. 2015-04-06 21:35:47 -07:00
Timothy Stack
c58f44bb3f [headless] completely read stdin in headless mode before running commands 2015-04-06 02:53:53 -07:00
Timothy Stack
32e96e6395 [pipe-to] fix some issues when running pipe in headless mode 2015-04-05 21:40:04 -07:00
Timothy Stack
7b8bc67cc9 [pretty] drop extra new lines 2015-04-05 11:59:14 -07:00
Timothy Stack
38e56b63ea [hist] fix the histogram when filters change 2015-04-04 13:36:53 -07:00
Tim Stack
1a204c6915 remove leftover test code 2015-04-04 11:41:55 -07:00
Timothy Stack
408c690192 [log] some more logging cleanup 2015-04-04 02:15:34 -07:00
Timothy Stack
f0f819b119 [log] dump more state on a crash 2015-04-04 02:15:34 -07:00
Suresh Sundriyal
19e6303fac [-Wsign-compare] lnav.cc 2015-04-02 01:48:21 -07:00
Suresh Sundriyal
a21c172d8e [Coverity] Fix a forward null. 2015-04-01 23:36:11 -07:00
Timothy Stack
7efedcdafc [lint] remove unnecessary null checks 2015-03-31 06:34:53 -07:00
Timothy Stack
e71985a951 need to check the view stack in rebuild_indexes() 2015-03-30 13:23:43 -07:00
Timothy Stack
033c861028 [cmd] next/prev-mark commands 2015-03-29 14:50:34 -07:00
Suresh Sundriyal
c386814850 [Coverity] Printf arg type mismatch. 2015-03-28 18:20:44 -07:00
Timothy Stack
44d2e12403 [text] add filtering support to the plain text view
Fixes #149 #148
2015-03-28 06:30:30 -07:00
Timothy Stack
282e70445e [pretty] reformat all displayed lines instead of just the top one
Fixes #150
2015-03-26 06:13:25 -07:00
Timothy Stack
219a4baad1 [ui] lower the index rebuild frequency when the command line is active 2015-03-23 21:20:55 -07:00
Timothy Stack
42521ef337 [hist] the wrong view could be used when switching from hist to log 2015-03-22 21:58:12 -07:00
Timothy Stack
cf462cecde [hist] need to rebuild the histogram if files are closed 2015-03-22 11:49:37 -07:00
Timothy Stack
aea0bd54e0 [cmd] add a :redraw command to do a full redraw of the window
Fixes #18
2015-03-19 20:43:22 -07:00
Timothy Stack
dc79bd3bf5 [nav] reset where shift+j/k set bookmarks after scrolling
Fixes #13
2015-03-18 21:54:46 -07:00
Timothy Stack
c670a86d04 [pretty-print] first pass at a pretty-printer
Defect Number:
    Reviewed By:
   Testing Done:
2015-03-16 23:10:34 -07:00
Timothy Stack
1d3481c3fa [cmd] add pipe-to and pipe-line-to commands 2015-03-16 09:16:49 -07:00
Timothy Stack
64df915a5a [piper] fix some ownership issues with the piper fd 2015-03-14 07:08:48 -07:00
Timothy Stack
6a90dd9bc2 copy search terms to OS-Xs find clipboard
Fixes #108
2014-11-19 06:12:43 -08:00
Timothy Stack
cfa628f6c4 various fixes
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-11 21:18:55 -08:00
Timothy Stack
62f4c9e59e [build] another missing define 2014-11-11 09:41:57 -08:00
Timothy Stack
17db6e38fe add a lo-fi mode
Fixes #113
2014-11-11 08:44:44 -08:00
Timothy Stack
82ada5103a fix an uninitialized var 2014-11-06 22:41:48 -08:00
Timothy Stack
80cbe192cb [filter] fix a filtering bug during tailing 2014-11-05 23:36:07 -08:00
Timothy Stack
671dca60dc [cmd] do not error out if filter exists, just enable it
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-05 21:29:31 -08:00
Timothy Stack
deeac1a5db [formats] add a "-i" flag to make it easier to install formats 2014-11-05 09:01:09 -08:00
Timothy Stack
45f18bd89c bump version, add some logging, and minor stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-03 20:02:22 -08:00
Timothy Stack
cd953a548c [filter] update the UI during filtering again
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-03 06:07:36 -08:00
Timothy Stack
c5f5ee5624 remove dead strace table code 2014-11-02 19:41:58 -08:00
Timothy Stack
35defc0ede fix for delete detection 2014-10-31 05:16:07 -07:00
Timothy Stack
0859f69c9f try to fix a crash related to deleted files 2014-10-31 04:49:16 -07:00
Timothy Stack
74b49e6f28 [cmd] add tab-completion for text in the view when filtering
Defect Number: fixes #92
    Reviewed By:
   Testing Done:
2014-10-30 08:37:06 -07:00
Timothy Stack
d4bea593b7 [perf] optimize json log loading 2014-10-28 07:02:27 -07:00
Timothy Stack
a71ca1f1ca [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -07:00
Timothy Stack
ccf29b3bac [coverity] some cleanup and add the chunky_index 2014-09-28 22:36:07 -07:00
Timothy Stack
d557002724 [format] add OpenAM log formats 2014-06-17 21:29:42 -07:00
Timothy Stack
353dfec878 [sql] add an environ virtual table
Defect Number:
    Reviewed By:
   Testing Done:
2014-05-06 21:26:05 -07:00
Timothy Stack
1974e1f1ae [jsonptr] initial impl 2014-05-05 06:44:58 -07:00
Timothy Stack
bf706a136c [cmd] remember closed files
Fixes #96
2014-04-20 14:58:19 -07:00
Timothy Stack
87223ed110 [sql] install a sqlite log handler
Fixes #86
2014-04-18 19:16:29 -07:00
Timothy Stack
a011e02ce2 [textview] clear bookmarks fix
Fixes #100
2014-04-18 07:29:29 -07:00
Timothy Stack
f37ec555bf [logfile] check for truncated files 2014-04-18 05:17:24 -07:00
Timothy Stack
1b60e49d0b [readline] add environment variable completions to the SQL view 2014-04-18 04:32:37 -07:00
Timothy Stack
6d6c0f9e55 [nits] some nits noticed after the release
Defect Number:
    Reviewed By:
   Testing Done:
2014-04-01 13:07:58 -07:00
Timothy Stack
8372cef11c [date] code generator for strptime formats 2014-03-22 08:02:48 -07:00
Timothy Stack
4ce9a1e871 [elapsed-time] add a visual indicator for sharp changes in message rate 2014-03-16 15:07:08 -07:00
Timothy Stack
d17f7b1940 [cmd] add set-min-log-level command
Part of #82
2014-03-16 02:46:17 -07:00
Timothy Stack
b988708431 [session] remove session flag CLI option in favor of commands
Too many CLI flags make things confusing and this one didn't add
anything, so I'm making it a command instead.
2014-03-15 12:32:29 -07:00
Timothy Stack
bd0ff97415 [help] always turn on word-wrap
Turn on word-wrap in the help view to disable
horizontal scrolling.
2014-03-15 10:08:50 -07:00
Timothy Stack
9ff2d3774d [line_buffer] split long lines
Fixes #81
2014-03-15 04:40:58 -07:00
Timothy Stack
3e6e3566d7 [cmd] rescan/reload after executing each init cmd 2014-03-12 23:20:18 -07:00
Timothy Stack
7b971cb40f [cmd] show the result of executing the 'close' command when pressing the 'X' shortcut 2014-03-12 22:54:35 -07:00
Timothy Stack
9dd471c5de [shared_buffer] invalid refs in the line buffer destructor 2014-03-12 22:50:11 -07:00
Timothy Stack
454503ed53 [conf] check for sqlite3_stmt_readonly 2014-03-12 20:36:14 -07:00
Timothy Stack
41bc1e98fe [sql] implement xBestIndex 2014-03-11 08:18:51 -07:00
Timothy Stack
9ff6a3cbe9 [write-json] add a command to write results as json 2014-03-11 05:37:13 -07:00
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.
2014-03-09 23:38:30 -07:00
Timothy Stack
1c6eb45170 [highlight] fix highlighting for backslash in regexes 2014-03-09 14:57:39 -07:00
Timothy Stack
b34a314098 [data] fix scanning for times 2014-03-09 12:55:02 -07:00
Timothy Stack
c628810850 [readline] fix a problem with scrolling through the match list 2014-03-09 08:54:55 -07:00
Timothy Stack
43e6b55a81 [readline] customize display of matches for completion 2014-03-09 01:29:28 -08:00
Timothy Stack
08374381b2 [partition] use an underline to mark a partition boundary 2014-03-07 06:29:20 -08:00
Timothy Stack
d993d0e8c6 [partition] make partitions a separate bookmark type 2014-03-07 05:20:49 -08:00
Timothy Stack
b6baae7730 [debug] more debugging stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-03-06 06:58:49 -08:00
Timothy Stack
f94015e5b5 [readline] highlight pcre syntax in the search prompt 2014-03-04 07:38:33 -08:00