Timothy Stack
9848582239
fix an error when parsing json logs
2014-03-02 15:19:34 -08:00
Timothy Stack
169a5bd732
[misc] some more tweaks to the last few changes
2014-03-02 11:56:58 -08:00
Timothy Stack
9588901171
Ensure the logfile_syslog.0 timestamp is from 2013 since the year is inferred from that.
2014-03-02 11:07:41 -08:00
Timothy Stack
47041177be
Make sure there is a view on the stack
2014-03-02 11:01:33 -08:00
Timothy Stack
5a04a44381
[tests] add some tests that use headless mode
2014-03-02 08:55:00 -08:00
Timothy Stack
10eb9617b1
[sql] add a bookmark column to the log tables
2014-03-01 23:40:12 -08:00
Timothy Stack
7bcbd000ad
Add include for time.h
2014-03-01 19:42:59 -08:00
Timothy Stack
64fe8175a6
[log] add an internal logger instead of using redirected stderr
2014-03-01 16:35:30 -08:00
Timothy Stack
e0643fcfc1
[sql] plumb env vars into queries
2014-02-28 21:27:14 -08:00
Timothy Stack
2dd2b02e1b
[headless] add options for usage without the UI
2014-02-28 20:35:07 -08:00
Timothy Stack
806b272679
[status] some fixes to the search hit count status
2014-02-26 19:24:34 -08:00
Timothy Stack
83f7013e7f
[logline] update for shared_buffer change
2014-02-26 08:12:09 -08:00
Timothy Stack
33fe23a325
[status] show the search hit index in the bottom status bar
...
I've removed the error/warning counts from the status bar since
they're a little redundant with the new scroll bar stuff.
Removing that stuff also made room to show the search hit
index.
Fixes #68
2014-02-24 16:41:12 -08:00
Timothy Stack
1453c8e787
[sql] do not switch to the DB view if only the log_line column is selected
...
Fixes #78
2014-02-24 16:05:29 -08:00
Timothy Stack
5b66441378
[doc] update some docs
2014-02-24 15:50:42 -08:00
Timothy Stack
c29d756fd3
[sql] implement the sqlite3 .schema command
2014-02-24 11:43:50 -08:00
Timothy Stack
aac5fada48
[nits] small changes to fix clang analyzer errors
2014-02-23 12:34:57 -08:00
Timothy Stack
7958c54fd0
[sql] use the default sqlite datetime format so collating works
2014-02-23 10:23:17 -08:00
Timothy Stack
034bde1854
Add term_extra.hh to noinst_HEADERS
2014-02-22 23:03:15 -08:00
Timothy Stack
8e884520c0
[misc] tweak scrollbar colors; add auto-complete for strings when typing sql searches; fix ipaddress collator
2014-02-22 22:52:21 -08:00
Timothy Stack
3d72830b74
[scroll] some more scrollbar tweaks
2014-02-20 20:22:20 -08:00
Timothy Stack
601c19a537
[scrollbar] change the look of the scrollbar
2014-02-20 20:01:06 -08:00
Timothy Stack
8a61902622
[valgrind] fix an issue in mvwattrline turned up by valgrind
2014-02-20 07:15:03 -08:00
Timothy Stack
c3e1dda8f7
[sql] fix bug when querying sub-lines
2014-02-19 20:23:19 -08:00
Timothy Stack
c9d3914b6a
[cppcheck] fix some nits
2014-02-19 06:29:13 -08:00
Timothy Stack
6a38619ac7
[piper] fix for partial lines when reading stdin
2014-02-19 05:58:31 -08:00
Timothy Stack
1bb17a0b96
[sql] add a collator for log level
...
Fix for #77
2014-02-18 09:06:50 -08:00
Timothy Stack
8c086c06ae
[help] add an option to just display the internal help text
...
Fixes #67
2014-02-10 07:53:56 -08:00
Timothy Stack
fcaae6af0e
[term] set the terminal title
...
Defect Number:
Reviewed By:
Testing Done:
2014-02-10 07:25:28 -08:00
Timothy Stack
55e9dafa79
[search] add autocomplete for tokens in displayed lines
2014-02-09 18:41:32 -08:00
Timothy Stack
8b11813463
[format] cache indexes to pcre named captures
2014-02-09 07:11:58 -08:00
Tim Stack
e822636f89
Merge pull request #75 from sureshsundriyal/lnav-cleanup
...
Static linking related cleanup.
2014-02-06 21:27:18 -08:00
Suresh Sundriyal
cd49dc5226
Static linking related cleanup.
...
* Remove traces of libcrypto, since we don't use OpenSSL anymore.
* Add libgpm and libtinfo to the list of static_lib_list.
2014-02-06 20:53:11 -08:00
Tim Stack
04c2d014ce
Merge pull request #74 from sureshsundriyal/lnav-static-compile-fix
...
Fix the static linking issue. fixes tstack/lnav#71 .
2014-02-06 16:26:52 -08:00
Suresh Sundriyal
e5471490cf
Fix the static linking issue. fixes tstack/lnav#71 .
2014-02-06 13:30:36 -08:00
Timothy Stack
3251554cf9
[byte_array] tweak the template so it is easier to use with SpookyHash
2014-02-04 09:26:25 -08:00
Tim Stack
ef88ad1003
Merge pull request #69 from sureshsundriyal/lnav-spooky
...
Replace SHA-1 with Spookyhash.
2014-02-04 07:24:36 -08:00
Suresh Sundriyal
13f5ad0dce
Change the code to use Spookyhash.
...
* This change removes the external dependency on OpenSSL, which should
allow the code to compile on Mac OS X without specifying the
MAC_OS_X_VERSION_MIN_REQUIRED non-sense.
* Spookyhash should be faster than SHA-1's Merkle-Damgård construction.
* Spookyhash is only 128-bits as opposed to SHA-1's 160-bits so memory
consumption should be less. I doubt it will lead to too many
collisions.
* The docs are updated to reflect the fact that OpenSSL is not a
dependency.
2014-02-03 22:36:33 -08:00
Timothy Stack
e08b11ff3d
[pcre] try to avoid null chars in log messages
2014-02-03 22:18:58 -08:00
Suresh Sundriyal
35584d6482
Fix Makefile.am to use Spookyhash code.
2014-02-03 22:10:17 -08:00
Suresh Sundriyal
66253b432d
Add Spookyhash code.
...
Add the code to Bob Jenkins' SpookyhashV2 to the repository. The code is
in public domain and available from:
(http://burtleburtle.net/bob/hash/spooky.html )
2014-02-03 22:05:09 -08:00
Timothy Stack
8acba75862
[data-parser] fix test failure
2014-02-01 15:47:15 -08:00
Timothy Stack
e9d8172f61
instantiate templates for other number types
2014-02-01 09:53:29 -08:00
Timothy Stack
5ef8a168a7
[perf] reduce copies of log messages
2014-02-01 06:41:11 -08:00
Timothy Stack
e200f60a96
[format] avoid making a copy of the string in logline_value and reduce UI updates
2014-01-25 12:13:41 -08:00
Timothy Stack
f4aeb11ad5
[view_curses] use a vector for string attributes
...
Using a map/multimap is too expensive/complex for how many
attributes we have on a line due to how many tree nodes
need to be malloced/freed. Just using a vector should be
good enough and a lot faster.
2014-01-25 09:29:35 -08:00
Timothy Stack
13ecf0abf7
[date_time] temporary perf hack, parsing timezone is slow...
2014-01-21 06:45:27 -08:00
Timothy Stack
3259bde974
[nits] use pcrepp for filtering and fix sigabrt received when loading is interrupted
2014-01-20 07:18:15 -08:00
Timothy Stack
bd7b14965b
[log-data] fix the column type for numbers
2014-01-18 06:46:51 -08:00
Timothy Stack
ccf361775a
[cmd] filter pcres should be case-insensitive
...
Defect Number:
Reviewed By:
Testing Done:
2014-01-18 06:40:32 -08:00