Commit Graph

969 Commits

Author SHA1 Message Date
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
Timothy Stack
879c1059aa missing sys/wait.h include 2013-10-11 06:31:17 -07:00
Timothy Stack
30a9d0497e build fix 2013-10-11 06:27:36 -07:00
Timothy Stack
59c1d4313b [mouse] more mouse support and other fixes 2013-10-11 06:22:29 -07:00
Timothy Stack
001f9abdef [cmd] open/close file commands 2013-09-14 12:30:57 -07:00
Timothy Stack
8eb4b02f97 [yajlpp] some optimizations for json log parsing 2013-09-14 06:36:31 -07:00
Timothy Stack
05c62fc7a8 [log_format] some missing initializers 2013-09-10 20:27:14 -07:00
Timothy Stack
968fcb50a5 [cppcheck] some cppcheck nits and other bugs 2013-09-10 20:13:08 -07:00
Timothy Stack
33584ed9f8 [docs] minor tweaks and version bump 2013-09-10 09:42:30 -07:00
Timothy Stack
a8c3a8c80b [docs] json format docs and some build fixes 2013-09-10 06:45:48 -07:00
Timothy Stack
c59acba758 [format] initial support for json formats and some bug fixes 2013-09-10 06:20:37 -07:00
Timothy Stack
f61f87e22d [default files] read in all default files and fix some display issues in the text view 2013-09-04 02:14:48 -07:00
Tim Stack
d882e8b9ea [README] Add a pointer to lnav.org at the top 2013-08-30 08:55:49 -07:00