Commit Graph

664 Commits (2aa26082f8c9fc272630d73618bf1afbcc5f065c)

Author SHA1 Message Date
Timothy Stack 44d2e12403 [text] add filtering support to the plain text view
Fixes #149 #148
9 years ago
Suresh Sundriyal 521767eeb9 [build] autogen 9 years ago
Suresh Sundriyal acd913b9f9 [Compile errors] test_override.cc -> test_override.c 9 years ago
Timothy Stack 282e70445e [pretty] reformat all displayed lines instead of just the top one
Fixes #150
9 years ago
Suresh Sundriyal ed0baf7c1c [build] Add custom silent rules.
Add custom silent rules for ptime/bin2c/sqlite3/rm commands.
9 years ago
Timothy Stack 8fb15e455a [cmd] add a relative-goto command 9 years ago
Suresh Sundriyal 1025015bc8 [build] autogen.sh run 9 years ago
Suresh Sundriyal 40250d41d9 [build] autogen.sh run 9 years ago
Timothy Stack 4ea800a8f8 [build] messed up sigset init 9 years ago
Timothy Stack 219a4baad1 [ui] lower the index rebuild frequency when the command line is active 9 years ago
Suresh Sundriyal 23e2d86421 [build] autogen run 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
Suresh Sundriyal 6567b53266 [Coverity] Eliminate null pointer dereferencing.
There is a possibility that 'name' might be NULL and {get/set}env might
dereference it.
9 years ago
Suresh Sundriyal e3f2939904 [Coverity] Uninitialized variable.
Zero out 'msg' during declaration.
9 years ago
Suresh Sundriyal 803642a849 [Coverity] Fixes an 'Uninitialized variables' error.
Initialize retval to SQLITE_ERROR during declaration at the beggining of
the method. I could technically go with SQLITE_OK but if this is going
to be unintentially returned without being initialized, I would much
rather it return an error than success.
9 years ago
Suresh Sundriyal 74de13e2c9 Remove unused 'strncasestr_i'.
The function is not really used anywhere and does not really do what the
name suggests it should. It leads to compiler warnings about 'unused'
function. Removing this for now.
9 years ago
Suresh Sundriyal 1c0d3a4f5a [Warnings] varargs with reference parameters.
'va_start' has undefined behvaior with reference types, so use a pointer instead.
9 years ago
Suresh Sundriyal 89b31050f1 [Compile errors] Fix some errors on ancient toolchains.
Fix some random errors on older toolchains where sys/time.h does
not include time.h.
9 years ago
Timothy Stack b02430f4d9 add netinet include 9 years ago
Timothy Stack fa2ed5621d [build] autogen run 9 years ago
Timothy Stack ff724e4941 [pipe-to] set env vars for each log line column 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 12b81fe4e7 [format] fix full message read for json formats 9 years ago
Timothy Stack dc79bd3bf5 [nav] reset where shift+j/k set bookmarks after scrolling
Fixes #13
9 years ago
Timothy Stack 12e0befe30 [pretty-print] try to reverse lookup IP addresses 9 years ago
Timothy Stack c3968e4291 [pretty-print] remove some extra line feeds 9 years ago
Timothy Stack 3e7063a522 [pretty-print] put closing curlys on their own line 9 years ago
Tim Stack facb75589b Merge pull request #128 from sureshsundriyal/master
Partial fix for issue#53 (Allow the use of yajl installed on the system)
9 years ago
Timothy Stack 1a9e41cf2f use stringstream instead of strstream 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
Suresh Sundriyal 74da06a8b8 [build] Define a USE_INCLUDED_YAJL conditional
Define a USE_INCLUDED_YAJL conditional which can be used to skip the
included YAJL files if there are local ones available.
9 years ago
Timothy Stack 9ded31f647 display autotools version 9 years ago
Suresh Sundriyal bd2ae532de Update the generated build files. 9 years ago
Timothy Stack 974aafe1b9 [search] fix searching when a file is deleted and recreated 9 years ago
Timothy Stack 23344ac8b2 build fix 9 years ago
Timothy Stack b5b4a241e2 build 9 years ago
Timothy Stack fad59bfaf1 [ptime] fix endianness and parsing issues 9 years ago
Timothy Stack c80e181790 fix ptime_b_slow, again... 10 years ago
Timothy Stack a2caf34028 [sysclip] fix NULL deref 10 years ago
Timothy Stack 0b816dd45d [nav] fix time-based navigation when filtering is active 10 years ago
Timothy Stack c2e44c5998 [filter] fix for multiple filter-ins being applied 10 years ago
Timothy Stack 99f34a1447 [fmt] add a vmkernel log format
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 6a90dd9bc2 copy search terms to OS-Xs find clipboard
Fixes #108
10 years ago
Tim Stack 80ef38227b Merge pull request #120 from iranzo/master
Add support for OpenStack log formats (tested on neutron, nova)
10 years ago
Pablo Iranzo Gómez 8fc539df16 Specify timestamp and url for Openstack log files 10 years ago
Pablo Iranzo Gómez d1c5f12bfc Add support for OpenStack log formats (tested on neutron, nova) 10 years ago
Suresh Sundriyal 114a7a6ecf [log_accel] Minor refactoring.
Unless I am misunderstanding the intention behind the equation:

    (A - D)/C - (B - D)/C = (A - B)/C

The output seems to be exactly the same:

    Before:
    =======
     1m7s000│Nov 11 06:45:01 XXX-XXX CRON[28452]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    11m7s000│Nov 11 06:55:01 XXX-XXX CRON[28819]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    21m7s000│Nov 11 07:05:01 XXX-XXX CRON[29186]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    31m7s000│Nov 11 07:15:01 XXX-XXX CRON[29552]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    33m7s000│Nov 11 07:17:01 XXX-XXX CRON[29629]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    41m7s000│Nov 11 07:25:01 XXX-XXX CRON[29922]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    51m7s000│Nov 11 07:35:01 XXX-XXX CRON[30290]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
   1h1m7s000│Nov 11 07:45:01 XXX-XXX CRON[30657]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)

    After:
    ======
     1m7s000│Nov 11 06:45:01 XXX-XXX CRON[28452]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    11m7s000│Nov 11 06:55:01 XXX-XXX CRON[28819]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    21m7s000│Nov 11 07:05:01 XXX-XXX CRON[29186]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    31m7s000│Nov 11 07:15:01 XXX-XXX CRON[29552]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    33m7s000│Nov 11 07:17:01 XXX-XXX CRON[29629]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    41m7s000│Nov 11 07:25:01 XXX-XXX CRON[29922]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    51m7s000│Nov 11 07:35:01 XXX-XXX CRON[30290]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
   1h1m7s000│Nov 11 07:45:01 XXX-XXX CRON[30657]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)

Some names and identifying details in the log snippets above have been changed
to protect the privacy of individuals. Any resemblance to actual computers,
sentient or otherwisei, is purely coincidental.
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 3158b29cbd [build] fix missing define 10 years ago
Timothy Stack 17db6e38fe add a lo-fi mode
Fixes #113
10 years ago
Timothy Stack ba83382b38 [vdsm_log] missed the level field 10 years ago
Pablo Iranzo Gómez 98e8f1b1c3 Add support for RHEV/oVirt engine.log file 10 years ago
Timothy Stack fc31831286 [vdsm_log] add new format 10 years ago
Timothy Stack 244ee2717f [vmw_log] fix full message read for continued messages 10 years ago
Timothy Stack 7664b75a87 missed invalidating shared buffer refs when loading new data 10 years ago
Suresh Sundriyal fb4eb36796 [vmw_log] 'panic' is an 'error' too.
VPXD prints out the stackframes in the log files when it terminates
abnormally. These log messages have a log level of 'panic'. I guess
these qualify as 'error' as well.
10 years ago
Timothy Stack 82ada5103a fix an uninitialized var 10 years ago
Timothy Stack c5c37a3202 [vmw_log] update the formats for the vmw_log format 10 years ago
Timothy Stack a06d620018 [filter] add tests for filtering with append 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
Suresh Sundriyal f8ad3479db Reduce session_data filesize and some minor cleanup.
After a year of not cleaning up the '~/.lnav' folder, the folder was
consuming ~8Mb of disk space. This change tries to reduce the disk
consumption by the session_data files.

- The json data in the session_data is beautified. The extra characters
  contribute to some of the file size. After removing the beautification
  option, the file size reduces by 60-20%, depending on how many files
  are open.

  Without knowing much about the functionality of these files, my
  cursory tests seem to show that lnav can still restore the sessions
  after this change. I don't know if these files are meant for human
  consumption or not but they can easily be run through a linter to
  beautify them again.

- While I was in the file, I noticed that there was a scope declared
  with no code inside it. Seems like a remnant of a cleanup.
10 years ago
Timothy Stack deeac1a5db [formats] add a "-i" flag to make it easier to install formats 10 years ago
Timothy Stack f9098e6bc4 [build] automate building the linux static binary 10 years ago
Timothy Stack c7cd0961ab [build] make dist fixes 10 years ago
Timothy Stack 0d6f067aab [coverity] a couple of fixes 10 years ago
Timothy Stack 45f18bd89c bump version, add some logging, and minor stuff
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack cd953a548c [filter] update the UI during filtering again
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack cde87f0a11 [log_sub_source] fix the filtered count
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack c5f5ee5624 remove dead strace table code 10 years ago
Timothy Stack 2d23f8e809 [time] use the gmtime from newlib
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 708490e3b0 [mem] some more memory reductions
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack f410c9eeb8 [logfile] try to reduce memory usage a bit
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 35defc0ede fix for delete detection 10 years ago
Timothy Stack 0859f69c9f try to fix a crash related to deleted files 10 years ago
Timothy Stack 74b49e6f28 [cmd] add tab-completion for text in the view when filtering
Defect Number: fixes #92
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 0ab2400d2d [cmd] add a clear-highlight command
Defect Number: Fixes #109
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 6c1dfe3521 [yajl] add a yajl_reset() so we do not have to do yajl_alloc for every line 10 years ago
Timothy Stack ccee7caa32 [yajl] bump to version 2.1.0 10 years ago
Timothy Stack e05d42dc3f fix some warnings 10 years ago
Timothy Stack 996e665078 fix an invalid read error 10 years ago
Timothy Stack d4bea593b7 [perf] optimize json log loading 10 years ago
Timothy Stack dd87952195 [build] minor fix 10 years ago
Timothy Stack a71ca1f1ca [filter] some improvements to the core filtering code 10 years ago
Tim Stack a10838a77a remove bad include 10 years ago
Tim Stack 4207602f3c remove bad include 10 years ago
Timothy Stack ccf29b3bac [coverity] some cleanup and add the chunky_index 10 years ago
Timothy Stack 2c46b0f07b [clion] hacks to get clion working 10 years ago
Timothy Stack dc4949305d ignore bad json lines
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack c491e93797 try to fix openam log on some pcre impls 10 years ago
Timothy Stack 17bd6e234a fix ptime_b_slow 10 years ago
Timothy Stack d557002724 [format] add OpenAM log formats 10 years ago
Timothy Stack b205a3ec82 [build] some more centos build fixes 10 years ago
Timothy Stack a02bf365e9 [build] fix attempt for older sqlites 10 years ago
Timothy Stack 9220c3c926 [timefmt] some more time formats
Handle month/day/hour formats without a leading zero.
10 years ago
Timothy Stack 353dfec878 [sql] add an environ virtual table
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 1974e1f1ae [jsonptr] initial impl 10 years ago
Timothy Stack d4219f5bdc [build] fix an ambiguous call 10 years ago
Timothy Stack bf706a136c [cmd] remember closed files
Fixes #96
10 years ago
Timothy Stack b58438875d [concise] initial impl 10 years ago
Timothy Stack 134dcc2fc7 [status] flash "Not Shown" when filter count changes
Fixes #95
10 years ago
Timothy Stack 87f288d3d0 [build] ifdefs for some sqlite defines 10 years ago
Timothy Stack 87223ed110 [sql] install a sqlite log handler
Fixes #86
10 years ago
Timothy Stack a011e02ce2 [textview] clear bookmarks fix
Fixes #100
10 years ago
Timothy Stack f37ec555bf [logfile] check for truncated files 10 years ago
Timothy Stack 1b60e49d0b [readline] add environment variable completions to the SQL view 10 years ago
Timothy Stack 47dc9e4a3c [readline] fix some highlighting issues for search/sql 10 years ago
Timothy Stack 72e3a4d8df [format] add TCF file format and some fixes to make it work
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 1795c6c77e [line_buffer] endian.h is not available everywhere
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Tim Stack 755154aab6 Merge pull request #97 from carnil/master
Convert byte encoding to host byte order
10 years ago
Salvatore Bonaccorso d452a52514 Convert byte encoding to host byte order
Correctly convert byte encoding for 32bit value from little-endian order
to host byte order.
10 years ago
Timothy Stack 6d6c0f9e55 [nits] some nits noticed after the release
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack eb1747d73b build fix 10 years ago
Timothy Stack 9b44069e0b [build] cygwin fix 10 years ago
Timothy Stack bbc9d5335f ifdef out the attach on signal code 10 years ago
Timothy Stack 8372cef11c [date] code generator for strptime formats 10 years ago
Timothy Stack 865951739e [release] add a log generator for demo purposes 10 years ago
Timothy Stack a76803fd44 [session] fix a bug in save-session when the log file was closed 10 years ago
Timothy Stack 5a1385bf5e [build] check for ENODATA 10 years ago
Timothy Stack e7565b5913 [build] termcap path 10 years ago
Timothy Stack 0f8f1b5218 [build] check for execinfo.h 10 years ago
Timothy Stack b2fb77e0c3 [line_buffer] small fix to the buffering code 10 years ago
Timothy Stack 1eb29e4081 try again for the limit 10 years ago
Timothy Stack 290cb0b733 add a define for limit macros 10 years ago
Timothy Stack 4ce9a1e871 [elapsed-time] add a visual indicator for sharp changes in message rate 10 years ago
Timothy Stack d17f7b1940 [cmd] add set-min-log-level command
Part of #82
10 years ago
Timothy Stack cbd8308b36 [cmd] use wordexp in the open command 10 years ago
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.
10 years ago
Timothy Stack b8d7dee277 handle missing level field in format 10 years ago
Timothy Stack bd0ff97415 [help] always turn on word-wrap
Turn on word-wrap in the help view to disable
horizontal scrolling.
10 years ago
Timothy Stack 9ff2d3774d [line_buffer] split long lines
Fixes #81
10 years ago
Timothy Stack eba916749b some more string cons errors 10 years ago
Timothy Stack 3e6e3566d7 [cmd] rescan/reload after executing each init cmd 10 years ago
Timothy Stack 7b971cb40f [cmd] show the result of executing the 'close' command when pressing the 'X' shortcut 10 years ago
Timothy Stack 9dd471c5de [shared_buffer] invalid refs in the line buffer destructor 10 years ago
Timothy Stack 783369223b fix some misuses of the std::string constructor and other tweaks 10 years ago
Timothy Stack 454503ed53 [conf] check for sqlite3_stmt_readonly 10 years ago
Timothy Stack f9adcc34b1 fix an off-by-one in the match array length 10 years ago
Timothy Stack 54d979f44f [open] bah, open should work for dirs 10 years ago
Timothy Stack 7b1bb506e2 [open] add some more checks when opening a file 10 years ago
Timothy Stack 365f8c619a [matches] readline seems to lie about the max match length 10 years ago
Timothy Stack ab1f9a8725 [test] reformat test_grep_proc2 10 years ago
Timothy Stack 41bc1e98fe [sql] implement xBestIndex 10 years ago
Timothy Stack 9ff6a3cbe9 [write-json] add a command to write results as json 10 years ago
Timothy Stack 06974bc942 [json-log] some tweaks to json-log support 10 years ago
Timothy Stack 44970b5800 [data] version regex tweak 10 years ago
Tim Stack 39f0b0995b Update strong_int.hh 10 years ago
Timothy Stack 6a02c938cf [data] fix some minor perf bugs 10 years ago
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.
10 years ago
Timothy Stack 1c6eb45170 [highlight] fix highlighting for backslash in regexes 10 years ago
Timothy Stack b34a314098 [data] fix scanning for times 10 years ago
Timothy Stack c628810850 [readline] fix a problem with scrolling through the match list 10 years ago
Timothy Stack 43e6b55a81 [readline] customize display of matches for completion 10 years ago
Timothy Stack 5918ffe069 [readline] some tweaks to the readline regex highlighting 10 years ago
Timothy Stack f77b601e9a [view_curses] add some tests for mvwattrline 10 years ago
Timothy Stack 112986da79 [view_curses] fix for attr ranges that cover tabs 10 years ago
Timothy Stack affff589a4 [view_curses] fix mvwattrline to work with overlapping styles better 10 years ago
Timothy Stack dbc96dc67c [session] preserve time-offset log-view setting 10 years ago
Timothy Stack 8455257aad fix coloring for the timestamp when in time-offset mode 10 years ago
Timothy Stack 08374381b2 [partition] use an underline to mark a partition boundary 10 years ago
Timothy Stack d993d0e8c6 [partition] make partitions a separate bookmark type 10 years ago
Timothy Stack 71328be926 build fix 10 years ago
Timothy Stack b6baae7730 [debug] more debugging stuff
Defect Number:
    Reviewed By:
   Testing Done:
10 years ago
Timothy Stack 86e32f4b45 build fix #2 10 years ago
Timothy Stack d2b2846a92 build fix... 10 years ago
Timothy Stack f94015e5b5 [readline] highlight pcre syntax in the search prompt 10 years ago
Timothy Stack c780ddb9af [mouse] more small fixes for mouse support (dragging) 10 years ago
Timothy Stack 74e7b3b92c [log] squelch file not found message 10 years ago
Timothy Stack d9fbe4a181 [mouse] small fixes for mouse support 11 years ago
Timothy Stack c347485834 [config] add more config directories to search 11 years ago
Timothy Stack fea18347f1 [headless] report output from commands/queries that were executed
Also, add some negative test cases.
11 years ago
Timothy Stack 9848582239 fix an error when parsing json logs 11 years ago
Timothy Stack 169a5bd732 [misc] some more tweaks to the last few changes 11 years ago
Timothy Stack 47041177be Make sure there is a view on the stack 11 years ago
Timothy Stack 5a04a44381 [tests] add some tests that use headless mode 11 years ago
Timothy Stack 10eb9617b1 [sql] add a bookmark column to the log tables 11 years ago
Timothy Stack 7bcbd000ad Add include for time.h 11 years ago
Timothy Stack 64fe8175a6 [log] add an internal logger instead of using redirected stderr 11 years ago
Timothy Stack e0643fcfc1 [sql] plumb env vars into queries 11 years ago
Timothy Stack 2dd2b02e1b [headless] add options for usage without the UI 11 years ago
Timothy Stack 806b272679 [status] some fixes to the search hit count status 11 years ago
Timothy Stack 83f7013e7f [logline] update for shared_buffer change 11 years ago
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
11 years ago
Timothy Stack 1453c8e787 [sql] do not switch to the DB view if only the log_line column is selected
Fixes #78
11 years ago
Timothy Stack 5b66441378 [doc] update some docs 11 years ago
Timothy Stack c29d756fd3 [sql] implement the sqlite3 .schema command 11 years ago
Timothy Stack aac5fada48 [nits] small changes to fix clang analyzer errors 11 years ago
Timothy Stack 7958c54fd0 [sql] use the default sqlite datetime format so collating works 11 years ago
Timothy Stack 034bde1854 Add term_extra.hh to noinst_HEADERS 11 years ago
Timothy Stack 8e884520c0 [misc] tweak scrollbar colors; add auto-complete for strings when typing sql searches; fix ipaddress collator 11 years ago
Timothy Stack 3d72830b74 [scroll] some more scrollbar tweaks 11 years ago
Timothy Stack 601c19a537 [scrollbar] change the look of the scrollbar 11 years ago
Timothy Stack 8a61902622 [valgrind] fix an issue in mvwattrline turned up by valgrind 11 years ago
Timothy Stack c3e1dda8f7 [sql] fix bug when querying sub-lines 11 years ago
Timothy Stack c9d3914b6a [cppcheck] fix some nits 11 years ago
Timothy Stack 6a38619ac7 [piper] fix for partial lines when reading stdin 11 years ago
Timothy Stack 1bb17a0b96 [sql] add a collator for log level
Fix for #77
11 years ago
Timothy Stack 8c086c06ae [help] add an option to just display the internal help text
Fixes #67
11 years ago
Timothy Stack fcaae6af0e [term] set the terminal title
Defect Number:
    Reviewed By:
   Testing Done:
11 years ago
Timothy Stack 55e9dafa79 [search] add autocomplete for tokens in displayed lines 11 years ago
Timothy Stack 8b11813463 [format] cache indexes to pcre named captures 11 years ago
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.
11 years ago
Timothy Stack 3251554cf9 [byte_array] tweak the template so it is easier to use with SpookyHash 11 years ago
Tim Stack ef88ad1003 Merge pull request #69 from sureshsundriyal/lnav-spooky
Replace SHA-1 with Spookyhash.
11 years ago
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.
11 years ago
Timothy Stack e08b11ff3d [pcre] try to avoid null chars in log messages 11 years ago
Suresh Sundriyal 35584d6482 Fix Makefile.am to use Spookyhash code. 11 years ago
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)
11 years ago
Timothy Stack 8acba75862 [data-parser] fix test failure 11 years ago
Timothy Stack e9d8172f61 instantiate templates for other number types 11 years ago
Timothy Stack 5ef8a168a7 [perf] reduce copies of log messages 11 years ago
Timothy Stack e200f60a96 [format] avoid making a copy of the string in logline_value and reduce UI updates 11 years ago
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.
11 years ago
Timothy Stack 13ecf0abf7 [date_time] temporary perf hack, parsing timezone is slow... 11 years ago
Timothy Stack 3259bde974 [nits] use pcrepp for filtering and fix sigabrt received when loading is interrupted 11 years ago
Timothy Stack bd7b14965b [log-data] fix the column type for numbers 11 years ago
Timothy Stack ccf361775a [cmd] filter pcres should be case-insensitive
Defect Number:
    Reviewed By:
   Testing Done:
11 years ago
Timothy Stack 9906e949cf [overlay] clear overlay when file is removed 11 years ago
Timothy Stack 73bde9dee3 [filter] fix problems with filtering multi-line log messages 11 years ago
Timothy Stack 2fa081c00a [cygwin] more windows nits and cleanup 11 years ago
Timothy Stack 7feeaf0fde highlighting nits and fix filtering
Defect Number:
    Reviewed By:
   Testing Done:
11 years ago
Timothy Stack 71cd99a2bf [cygwin] fix compile issue for test 11 years ago
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.
11 years ago
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:
11 years ago
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:
11 years ago
Timothy Stack ef6380d03e [wrap] fix some word-wrap glitches 11 years ago
Timothy Stack 6d7e6bf66f [release] some last minute clean up 11 years ago
Timothy Stack 7df2470624 [wrap] compute line size for logs and cache the value 11 years ago
Timothy Stack f867b9cc63 [wrap] add a hotkey for word wrap and fix some glitches 11 years ago
Timothy Stack 7eeb45f5e8 Fix a build issue on 32bit 11 years ago
Timothy Stack c3d51190c8 [wrap] start support for word wrapping and fix a variety of glitches 11 years ago
Timothy Stack 50d50fb5a8 [sql] show single-row results in the command-line and fix some minor fixes 11 years ago
Timothy Stack 7f08e46920 [build] fix os x build issues 11 years ago
Timothy Stack 879c1059aa missing sys/wait.h include 11 years ago
Timothy Stack 30a9d0497e build fix 11 years ago
Timothy Stack 59c1d4313b [mouse] more mouse support and other fixes 11 years ago
Timothy Stack 001f9abdef [cmd] open/close file commands 11 years ago
Timothy Stack 8eb4b02f97 [yajlpp] some optimizations for json log parsing 11 years ago
Timothy Stack 05c62fc7a8 [log_format] some missing initializers 11 years ago
Timothy Stack 968fcb50a5 [cppcheck] some cppcheck nits and other bugs 11 years ago
Timothy Stack a8c3a8c80b [docs] json format docs and some build fixes 11 years ago
Timothy Stack c59acba758 [format] initial support for json formats and some bug fixes 11 years ago
Timothy Stack f61f87e22d [default files] read in all default files and fix some display issues in the text view 11 years ago
Timothy Stack 7d66a64d00 [data-parser] ignore whitespace when computing the schema id
Also add some more terminfo directories.
11 years ago
Timothy Stack de374e68f6 [build] some more build tweaks 11 years ago
Timothy Stack 22dbcf7796 [build] some lib path ordering and a fix for older linuxes 11 years ago