Commit Graph

3131 Commits

Author SHA1 Message Date
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
Timothy Stack
9906e949cf [overlay] clear overlay when file is removed 2014-01-16 06:37:02 -08:00
Timothy Stack
73bde9dee3 [filter] fix problems with filtering multi-line log messages 2014-01-15 07:05:15 -08:00
Timothy Stack
2fa081c00a [cygwin] more windows nits and cleanup 2014-01-13 22:29:14 -08:00
Timothy Stack
7feeaf0fde highlighting nits and fix filtering
Defect Number:
    Reviewed By:
   Testing Done:
2014-01-13 21:58:04 -08:00
Timothy Stack
71cd99a2bf [cygwin] fix compile issue for test 2014-01-12 19:58:18 -08:00
Timothy Stack
5e011a9203 [cygwin] misc fixes to get things building/running on windows
This change is just a first step, it should get the basics going.  But,
the tests don't all build and there are probably other issues when
running.
2014-01-07 07:35:52 -08:00
Timothy Stack
6968b76825 [key] add g/G for going to the top/bottom of the file
The 'graph' view hotkey has been changed to ctrl-G since it is not
used as much.

  Defect Number:
    Reviewed By:
   Testing Done:
2013-11-24 14:26:10 -08:00
Timothy Stack
9f7ed7f095 [misc] fix the access log format for user names; update config.guess/config.sub
Some miscellaneous fixes.

  Defect Number:
    Reviewed By:
   Testing Done:
2013-11-24 14:21:20 -08:00
Timothy Stack
ef6380d03e [wrap] fix some word-wrap glitches 2013-11-10 07:32:35 -08:00
Timothy Stack
6d7e6bf66f [release] some last minute clean up 2013-11-09 17:34:06 -08:00
Timothy Stack
7df2470624 [wrap] compute line size for logs and cache the value 2013-11-09 17:14:40 -08:00
Timothy Stack
f867b9cc63 [wrap] add a hotkey for word wrap and fix some glitches 2013-11-08 07:32:39 -08:00
Timothy Stack
7eeb45f5e8 Fix a build issue on 32bit 2013-11-06 09:28:14 -08:00
Timothy Stack
c3d51190c8 [wrap] start support for word wrapping and fix a variety of glitches 2013-11-06 07:29:20 -08:00
Timothy Stack
50d50fb5a8 [sql] show single-row results in the command-line and fix some minor fixes 2013-10-29 05:33:39 -07:00
Timothy Stack
7f08e46920 [build] fix os x build issues 2013-10-23 07:01:32 -07:00