Commit Graph

478 Commits

Author SHA1 Message Date
Timothy Stack
c5c37a3202 [vmw_log] update the formats for the vmw_log format 2014-11-06 20:32:35 -08:00
Timothy Stack
a06d620018 [filter] add tests for filtering with append 2014-11-06 06:40:32 -08:00
Timothy Stack
80cbe192cb [filter] fix a filtering bug during tailing 2014-11-05 23:36:07 -08:00
Timothy Stack
671dca60dc [cmd] do not error out if filter exists, just enable it
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-05 21:29:31 -08:00
Tim Stack
3c69ffb5be Merge pull request #112 from sureshsundriyal/master
Reduce session_data filesize and some minor cleanup.
2014-11-05 21:26:12 -08:00
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.
2014-11-05 19:11:14 -08:00
Timothy Stack
deeac1a5db [formats] add a "-i" flag to make it easier to install formats 2014-11-05 09:01:09 -08:00
Timothy Stack
c1bba73034 missing mkdir in build.sh 2014-11-04 08:51:45 -08:00
Timothy Stack
f9098e6bc4 [build] automate building the linux static binary 2014-11-04 06:36:49 -08:00
Timothy Stack
c7cd0961ab [build] make dist fixes 2014-11-03 20:41:38 -08:00
Timothy Stack
0d6f067aab [coverity] a couple of fixes 2014-11-03 20:24:46 -08:00
Timothy Stack
45f18bd89c bump version, add some logging, and minor stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-03 20:02:22 -08:00
Timothy Stack
cd953a548c [filter] update the UI during filtering again
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-03 06:07:36 -08:00
Timothy Stack
cde87f0a11 [log_sub_source] fix the filtered count
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-02 19:46:53 -08:00
Timothy Stack
c5f5ee5624 remove dead strace table code 2014-11-02 19:41:58 -08:00
Timothy Stack
2d23f8e809 [time] use the gmtime from newlib
Defect Number:
    Reviewed By:
   Testing Done:
2014-11-02 19:35:15 -08:00
Timothy Stack
708490e3b0 [mem] some more memory reductions
Defect Number:
    Reviewed By:
   Testing Done:
2014-10-31 13:16:35 -07:00
Timothy Stack
f410c9eeb8 [logfile] try to reduce memory usage a bit
Defect Number:
    Reviewed By:
   Testing Done:
2014-10-31 11:11:56 -07:00
Timothy Stack
35defc0ede fix for delete detection 2014-10-31 05:16:07 -07:00
Timothy Stack
0859f69c9f try to fix a crash related to deleted files 2014-10-31 04:49:16 -07:00
Timothy Stack
74b49e6f28 [cmd] add tab-completion for text in the view when filtering
Defect Number: fixes #92
    Reviewed By:
   Testing Done:
2014-10-30 08:37:06 -07:00
Timothy Stack
0ab2400d2d [cmd] add a clear-highlight command
Defect Number: Fixes #109
    Reviewed By:
   Testing Done:
2014-10-29 20:53:23 -07:00
Timothy Stack
74e1d446ba add a test for change that fixes #110
Defect Number:
    Reviewed By:
   Testing Done:
2014-10-29 20:05:33 -07:00
Timothy Stack
6c1dfe3521 [yajl] add a yajl_reset() so we do not have to do yajl_alloc for every line 2014-10-29 06:42:45 -07:00
Timothy Stack
ccee7caa32 [yajl] bump to version 2.1.0 2014-10-29 06:19:10 -07:00
Timothy Stack
e05d42dc3f fix some warnings 2014-10-29 04:26:13 +00:00
Timothy Stack
996e665078 fix an invalid read error 2014-10-28 07:12:33 -07:00
Timothy Stack
d4bea593b7 [perf] optimize json log loading 2014-10-28 07:02:27 -07:00
Timothy Stack
dd87952195 [build] minor fix 2014-10-19 22:19:40 -07:00
Timothy Stack
a71ca1f1ca [filter] some improvements to the core filtering code 2014-10-19 22:16:40 -07:00
Tim Stack
a10838a77a remove bad include 2014-09-29 04:57:08 -07:00
Tim Stack
4207602f3c remove bad include 2014-09-29 04:48:27 -07:00
Timothy Stack
ccf29b3bac [coverity] some cleanup and add the chunky_index 2014-09-28 22:36:07 -07:00
Timothy Stack
2c46b0f07b [clion] hacks to get clion working 2014-09-18 21:51:01 -07:00
Timothy Stack
dc4949305d ignore bad json lines
Defect Number:
    Reviewed By:
   Testing Done:
2014-07-30 16:27:50 -07:00
Timothy Stack
c491e93797 try to fix openam log on some pcre impls 2014-06-17 23:10:09 -07:00
Timothy Stack
17bd6e234a fix ptime_b_slow 2014-06-17 22:24:16 -07:00
Timothy Stack
d557002724 [format] add OpenAM log formats 2014-06-17 21:29:42 -07:00
Timothy Stack
b205a3ec82 [build] some more centos build fixes 2014-06-13 21:39:03 -07:00
Timothy Stack
a02bf365e9 [build] fix attempt for older sqlites 2014-06-13 08:52:03 -07:00
Timothy Stack
9220c3c926 [timefmt] some more time formats
Handle month/day/hour formats without a leading zero.
2014-06-10 22:14:13 -07:00
Timothy Stack
353dfec878 [sql] add an environ virtual table
Defect Number:
    Reviewed By:
   Testing Done:
2014-05-06 21:26:05 -07:00
Timothy Stack
1974e1f1ae [jsonptr] initial impl 2014-05-05 06:44:58 -07:00
Tim Stack
7e0a218dc0 Update .travis.yml 2014-05-04 07:18:31 -07:00
Timothy Stack
704e7cfa4d [build] add coverity scan to .travis.yml 2014-04-23 14:45:53 -07:00
Timothy Stack
d4219f5bdc [build] fix an ambiguous call 2014-04-20 21:40:04 -07:00
Timothy Stack
bf706a136c [cmd] remember closed files
Fixes #96
2014-04-20 14:58:19 -07:00
Timothy Stack
b58438875d [concise] initial impl 2014-04-20 10:40:28 -07:00
Timothy Stack
134dcc2fc7 [status] flash "Not Shown" when filter count changes
Fixes #95
2014-04-20 10:39:28 -07:00
Timothy Stack
87f288d3d0 [build] ifdefs for some sqlite defines 2014-04-18 19:29:01 -07:00