Commit Graph

377 Commits (a71ca1f1ca511f197d31e8dbdc30e07d31d1a87d)

Author SHA1 Message Date
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 10 years ago
Timothy Stack c347485834 [config] add more config directories to search 10 years ago
Timothy Stack fea18347f1 [headless] report output from commands/queries that were executed
Also, add some negative test cases.
10 years ago
Timothy Stack 9848582239 fix an error when parsing json logs 10 years ago
Timothy Stack 169a5bd732 [misc] some more tweaks to the last few changes 10 years ago
Timothy Stack 47041177be Make sure there is a view on the stack 10 years ago
Timothy Stack 5a04a44381 [tests] add some tests that use headless mode 10 years ago
Timothy Stack 10eb9617b1 [sql] add a bookmark column to the log tables 10 years ago
Timothy Stack 7bcbd000ad Add include for time.h 10 years ago
Timothy Stack 64fe8175a6 [log] add an internal logger instead of using redirected stderr 10 years ago
Timothy Stack e0643fcfc1 [sql] plumb env vars into queries 10 years ago
Timothy Stack 2dd2b02e1b [headless] add options for usage without the UI 10 years ago
Timothy Stack 806b272679 [status] some fixes to the search hit count status 10 years ago
Timothy Stack 83f7013e7f [logline] update for shared_buffer change 10 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
10 years ago
Timothy Stack 1453c8e787 [sql] do not switch to the DB view if only the log_line column is selected
Fixes #78
10 years ago
Timothy Stack 5b66441378 [doc] update some docs 10 years ago
Timothy Stack c29d756fd3 [sql] implement the sqlite3 .schema command 10 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