Commit Graph

396 Commits (c7cd0961abb957bc0ec98953eb2035690ae66c40)

Author SHA1 Message Date
Timothy Stack d2b2846a92 build fix... 11 years ago
Timothy Stack f94015e5b5 [readline] highlight pcre syntax in the search prompt 11 years ago
Timothy Stack c780ddb9af [mouse] more small fixes for mouse support (dragging) 11 years ago
Timothy Stack 74e7b3b92c [log] squelch file not found message 11 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
Timothy Stack 561c881482 [logline] terminate hidden_table_columns array 11 years ago
Timothy Stack b4ed348428 [build] mostly static linking stuff 11 years ago
Timothy Stack 94ce0ffd83 [docs] more docs and some simple bug fixes 11 years ago
Timothy Stack ba5b89ffe9 [logline] fix the read of the template line in get_columns and add man page 11 years ago
Timothy Stack 83f94cea86 [log-format] regex config format redux 11 years ago
Timothy Stack f716d5a533 [docs] more sections 11 years ago
Timothy Stack fb7d1f1dc9 [docs] some more docs 11 years ago
Timothy Stack 37283d0afb [nits] do not complain about no formats 11 years ago
Timothy Stack 7a12134577 [formats] reorder format file 11 years ago
Timothy Stack 75dd7e2ad6 [docs] start some UI docs 11 years ago
Timothy Stack 9b8ceb5cb0 [log formats] transfer more formats to config 11 years ago
Timothy Stack 644c2754b3 [curses] suppressed flash 11 years ago
Timothy Stack b305aff417 [sql] swap regexp_replace args 11 years ago
Timothy Stack 25f02eca08 [docs] more docs 11 years ago
Timothy Stack f6b2345184 [docs] use a different theme 11 years ago
Timothy Stack 165958f92d [readline] some minor cleanup from the last checkin 11 years ago
Timothy Stack af3524bbf6 [readline] abort entry support 11 years ago
Timothy Stack 78099e4fa8 [textview] max line length fix 11 years ago
Timothy Stack af6e289cda [log format] add scaling factors 11 years ago
Vagrant User c557a9ad33 [build] freebsd fixes 11 years ago
Timothy Stack e75f42dd07 [data parser] hex dump values and add the uwsgi log format 11 years ago
Timothy Stack 729c842ca5 [session] saving bookmarks 11 years ago
Timothy Stack 3ee6dbf824 [sql] log table nits 11 years ago
Timothy Stack c28b9f1316 [highlight] add some more highlighting and fix some other nits 11 years ago
Timothy Stack 9485f12147 [sql] add regexp_replace function 11 years ago
Timothy Stack a0fec0d01b [stdin] when reading from stdin, dump the contents after exiting from curses 11 years ago
Timothy Stack 68fb1170b0 [log format] more log tweaks 11 years ago
Timothy Stack b168cba8bf [log format] more log format stuff 11 years ago
Timothy Stack f801470fa5 [log format] more log formats 11 years ago
Timothy Stack 2772064c7f [nits] minor tweaks and bug fixes 11 years ago
Timothy Stack 7e8118513e [readline] dedupe history 11 years ago
Timothy Stack 275724e912 missed a change to summarize 11 years ago
Timothy Stack 57deb82f70 [sql] add startswith/endswith functions 11 years ago
Timothy Stack 3e480b5bad [bookmark] add support for metadata attached to bookmarks 11 years ago
Timothy Stack e5cb6ff251 use isdigit 11 years ago
Timothy Stack 0537e13e85 missing include 11 years ago
Timothy Stack f3cab9aafd [log format] tweak some of the formats 11 years ago
Timothy Stack 3e168ca67e Merge branch 'master' of github:tstack/lnav 11 years ago
Timothy Stack 9ac75c6b81 [view curses] missed reversing colors 11 years ago
Timothy Stack fcb6ab2cd5 [nits] fix some nits 11 years ago
Timothy Stack 79c4038128 [log time] add a command to adjust log message times 11 years ago
Timothy Stack 33c7f57979 [ext log] add support for samples 11 years ago
Timothy Stack 972fe9f9c9 [syslog] fix syslog timestamps 11 years ago
Tim Stack 76bc85c43b [build] fix for linux 11 years ago
Timothy Stack 2d33cb7f7e [log format] some more log format work 11 years ago
Timothy Stack 2cd356b4c5 [log format] some more work to externalize log formats; color identifiers in logs 11 years ago
Timothy Stack 0306287c1a [misc] use localtime in timestamp for stdin; collate in summarize; <END> moves to the last line 11 years ago
Timothy Stack c60f432863 [view_curses] use mvchgat in mvwattrline since it seems to work fine now and is much faster 11 years ago
Timothy Stack 6803beca97 [search] fix some glitches 11 years ago
Timothy Stack def3de9e6b [log] log partitioning 11 years ago
Timothy Stack bb62711678 [yajlpp] support for array indexes in paths; also force log times to be in order 11 years ago
Timothy Stack f1087184d6 [log format] lay some foundation for making log formats configurable 11 years ago
Timothy Stack 6d77a7412e [pcrepp] add support for named captures and fix some other bugs 11 years ago
Timothy Stack 63c6855a99 [k-way] fix a crash with empty files 11 years ago
Timothy Stack 5ba26cc5f7 [hist] cleanup the hist_source and add support for graphing a single column at a time 11 years ago
Timothy Stack 8908e2569f [parser] fix some parser issues; and a fix for my last checkin 11 years ago
Timothy Stack db963c16cb [perf] use k-way merge instead of stable_sort when building the index of all lines 11 years ago
Timothy Stack 6535b03b6e [log] try to cache the results of filtering so we do not always recompute 11 years ago
Timothy Stack 3507970684 [sql] hidden columns do not show up in table_info 11 years ago
Timothy Stack 025ca0586b [sql] add some more internal state functions 11 years ago
Timothy Stack af3d2a432f [sql] add a logline_datetime function 11 years ago
Timothy Stack d72cab0c1e [log_format] the access_log format wasn't picking up the timestamp range correctly 11 years ago
Timothy Stack 53ce768b9d Merge branch 'master' of github:tstack/lnav 11 years ago
Timothy Stack d9cf6aa668 [grep_proc] do not restart the proc during destruction 11 years ago
Timothy Stack 8be234d41f [bookmarks] restore support for bookmarks in the other views 11 years ago
Timothy Stack f26dc13529 [cppcheck] fix some nits turned up by cppcheck 11 years ago
Timothy Stack 8c1dee55ff Merge branch 'master' of ssh://github.com/tstack/lnav 11 years ago
Timothy Stack 4107af3bfe [session] prefer bookmarks from the same session 11 years ago