Commit Graph

37 Commits

Author SHA1 Message Date
Timothy Stack 5a7d6dab2c [cleanup] uncrustify 2013-06-15 18:07:50 -07:00
Timothy Stack 61d3af6e62 [parsing] fix some bugs and improve performance of the scanner 2013-06-11 21:10:59 -07:00
Timothy Stack 3196050b25 [sql] set some columns to be text so they are not graphed 2013-06-08 11:47:50 -07:00
Timothy Stack 5d478fc17a [cleanup] start a tracer/debugger for the data parser 2013-06-08 06:10:18 -07:00
Timothy Stack 178937886c [cmd] add summarize command 2013-06-05 19:34:48 -07:00
Timothy Stack 5e18f47cd2 [nits] fix some recently introduced bugs and some long standing ones 2013-06-04 06:53:25 -07:00
Timothy Stack 0dba72db71 [nits] fix some minor bugs and add some path manipulation functions to sqlite 2013-05-28 23:29:13 -07:00
Timothy Stack 865849f017 [spam] uncrustify pass 2013-05-27 21:35:00 -07:00
Timothy Stack 3128dc772c [sqlite] Major improvements to the sqlite integration.
This is a checkpoint of the improvements to the sqlite integration.  The
data_parser stuff should be much better now and I've tried to improve
other parts of the user experience as well.
2013-05-24 07:55:56 -07:00
Timothy Stack b04e6bfc78 [glog] some tweaks to the glog change
Some changes to the glog_log sql table:

  * Removed the 'glog_level' field since the standard one should be able to
    handle everything now.
  * Changed the 'file' column to 'src_file' and added a 'src_line' column.
  * Added the sample glog log content to the test directory.
2013-05-17 17:44:55 -07:00
Tim Stack f3a85327ab Merge pull request #49 from mdordal/master
Add support for glog logs
2013-05-17 17:09:32 -07:00
Matt Dordal e1dbc7262e Add support for glog logs
Glog is an open-source C++ logging framework from Google. Add support
for the log format.

Testing: run on an example log
2013-05-15 01:04:58 -07:00
Timothy Stack f62b5c271c [release] bump to 0.5.1 2013-05-02 23:02:03 -07:00
Timothy Stack 4c6069c33d [cleanup] little bits of cleanup here and there 2013-05-02 08:29:36 -07:00
Timothy Stack a92785e889 [piper_proc] add timestamp and file write options for stdin 2013-04-30 21:48:16 -07:00
Timothy Stack bad57ac735 [misc] add some more comments and fix bugs in the sql view 2013-04-20 13:21:10 -07:00
Timothy Stack a476e27701 Some more miscellaneous fixes:
* lnav.cc: Move the view when J/K are pressed.
   Handle 'too many files' situations better.
 * line_buffer.cc: Increase some of the file
   size constants.
2012-11-28 08:39:39 -08:00
Timothy Stack 61f15891ec [display] Some log line display enhancements
This change adds back support for line scrubbing and
adds a column that displays the time offset from
different points in the file.  Also, try to handle
deleted files by dropping their lines from the display
view.

 * help.txt: Update the help text for the new features.
 * lnav.cc: Add scrub/time-offset key bindings.  Also
   added some more comments and added some handling for
   deleted files.
 * log_format_impls.cc: Add scrubbing for the generic
   log format that shortens timestamps and RDNS strings.
 * logfile_sub_source.cc: Add a time-offset column to
   the display.
 * textview_curses.cc: Some cleanup.
2012-10-29 16:38:58 -07:00
Timothy Stack c4e9f58bf0 [bugs] fix some long-standing bugs
* grep_proc.cc: When a request is queued with the start line
   == -1, we need to start searching from the highest line
   ever seen and not the last line processed.
 * line_buffer.cc: If a partial line was read, we need to
   avoid returning another line if more data is appended
   to the file.
 * lnav.cc: Accept file name patterns on the command-line that
   don't match any files yet.  Initialize the screen before
   redirecting stderr to the log file or /dev/null.
 * log_format.hh: Add some comments.  Start to add back support
   for scrubbing.
 * logfile_sub_source.cc: Move scrubbing to the format impl.
 * textview_curses.hh: Add comments.
2012-09-22 16:15:15 -07:00
Timothy Stack e6bbe56f4e fix a stack smash
## BEGIN PATCH TEMPLATE

      QA Notes:
    Bug Number:
   Reviewed By:
  Testing Done: make check
2012-09-06 07:37:18 -07:00
Timothy Stack d87f613eb0 fix log format 2012-08-01 09:37:55 -07:00
Timothy Stack c6c19eabb5 [generic log format/misc] try to pull millisecond value out of the log
* log_format.cc, log_format_impls.cc, log_format.hh: Change
   log_scanf to return a pointer to the character in the
   time string that was not part of the time.  Change the
   generic log format to try and pull out the millisecond
   value from the timestamp.
 * test/Makefile.am: Fix some dist problems.
 * test/logfile_generic.0: Test logfile for the generic log format.
2012-07-03 12:01:09 -07:00
Timothy Stack b68a1bba9b [test] some cleanup for tests and other things
Just a cleanup pass
2012-06-05 13:18:59 -07:00
Timothy Stack a19faa885a [valgrind] Plug some more leaks and tweak a few things 2012-04-20 17:59:19 -06:00
Timothy Stack 08ca33713d Fix SQL highlighting in the text view 2011-10-20 15:38:37 -07:00
tstack fd7d59383b search fixes 2010-11-21 22:01:57 -08:00
tstack a285c0dc2b vtab fix and refine some log time formats 2010-02-12 15:16:44 -08:00
tstack e1c309c49f Merge branch 'master' of git@github:tstack/lnav 2010-01-29 15:18:11 -08:00
tstack c09aa3ba70 fix some minor build issues 2010-01-29 15:17:08 -08:00
Timothy Stack 3735fccda2 clean up some auto conf and add an strace test 2010-01-24 12:25:34 -08:00
Timothy Stack abe0182a0b tcsh fix and distcheck 2010-01-02 12:28:14 -08:00
tstack c07ba8756f Freebsd build changes 2009-12-24 10:36:01 -08:00
Timothy Stack 1d40a8edcf build work 2009-10-14 12:42:58 -07:00
Timothy Stack 7a2855349a remove soci 2009-10-06 14:14:49 -07:00
tstack 905b33d9a6 fix make distcheck 2009-09-29 16:21:33 -07:00
tstack 335dbadb22 random fixes 2009-09-19 15:36:27 -07:00
tstack b4ec432515 first commit 2009-09-13 18:07:32 -07:00