Commit Graph

842 Commits

Author SHA1 Message Date
Tim Stack
43104ed687 Merge pull request #228 from sureshsundriyal/wip4
[pretty] Don't wait indefinitely for reverse IP lookups.
2015-04-24 12:59:51 -07:00
Suresh Sundriyal
fcb2db38b0 [timer] Start off disarmed + refactoring. 2015-04-24 01:58:39 -07:00
Suresh Sundriyal
da582ce00f [timer] Add 'disarm' method 2015-04-24 00:43:30 -07:00
Suresh Sundriyal
99094a9cf8 [timer] Some refactoring 2015-04-24 00:37:57 -07:00
Suresh Sundriyal
55e912d21e [pretty] Don't wait indefinitely for reverse IP lookups.
Reverse lookup for pretty print should be a best effort undertaking. So,
+ Give up on EAI_AGAIN.
+ Don't block on the getnameinfo call indefinitely, resolv.conf might be
  set up with a large timeout.
+ Disable lookups after the first failure.
+ Lots of OCD error checking.
2015-04-23 23:42:51 -07:00
Timothy Stack
5a7c5a2139 [piper] the piper was not exiting if the stream it was reading did not terminate with a line feed 2015-04-21 22:25:54 -07:00
Suresh Sundriyal
d8ca659203 Merge pull request #226 from sureshsundriyal/wip
[pretty] More restrictive IPv4 regex.
2015-04-19 01:26:32 -07:00
Suresh Sundriyal
5cd1da8e1a [pretty] More restrictive IPv4 regex.
The regular expression seems to match arbitrary version strings in
pretty-print view. Adding a more restrictive regular expression,
that should be able to distinguish between valid IPv4 addresses and
arbitrary version strings.
2015-04-19 00:00:43 -07:00
Timothy Stack
9ac53b114e add subsystem to the vmk_log format 2015-04-18 21:29:14 -07:00
Suresh Sundriyal
d8d46a49dc [build] Make pkg.sh executable. 2015-04-18 00:40:58 -07:00
Suresh Sundriyal
9903f9bb21 [build] Some typographical errors. 2015-04-17 00:48:46 -07:00
Suresh Sundriyal
520ec12bab Merge pull request #225 from sureshsundriyal/wip
[build] Get rid of the sqlite3 dependency.
2015-04-16 18:42:22 -07:00
Suresh Sundriyal
ace51f0848 [build] Get rid of the sqlite3 dependency. 2015-04-16 00:28:31 -07:00
Suresh Sundriyal
99baf0f9aa Merge pull request #224 from sureshsundriyal/wip2
[vagrant] Use the multi-machine facility.
2015-04-15 20:54:36 -07:00
Suresh Sundriyal
229576d1be [vagrant] Use the multi-machine facility. 2015-04-15 20:32:28 -07:00
Suresh Sundriyal
bfa27483d6 Merge pull request #223 from sureshsundriyal/wip
Add FreeBSD builds + fixes + remove build cruft.
2015-04-15 02:44:19 -07:00
Suresh Sundriyal
1a0de7269e [vagrant] Remove the generated cruft after the builds are done. 2015-04-14 09:38:53 -07:00
Suresh Sundriyal
b854940d22 [vagrant] Fix builds and add support for FreeBSD.
+ The sqlite certificates have changed and not trusted by wget, so use
  the http protocol to download the binary.
+ Add support for FreeBSD builds.
+ Move stuff around to support FreeBSD builds.
+ Destroy the vagrant VM after a successful build.
2015-04-14 09:38:53 -07:00
Suresh Sundriyal
0ad313a342 Merge pull request #222 from sureshsundriyal/wip
[test] Add tests for attaching to sqlite3 db.
2015-04-13 23:50:59 -07:00
Suresh Sundriyal
9894db83be [test] Add tests for attaching to sqlite3 db.
* Test for attaching db when passed in through as a command line
  argument.
* Test for attaching db from within lnav.
2015-04-13 23:41:40 -07:00
Suresh Sundriyal
363fb68db4 Merge pull request #220 from sureshsundriyal/wip
Revert "[build] Remove the build dependency on 'sqlite3' command-line to...
2015-04-12 16:49:48 -07:00
Suresh Sundriyal
b2959ce6bd Revert "[build] Remove the build dependency on 'sqlite3' command-line tool."
This reverts commit ce7a32b587.
2015-04-12 16:39:03 -07:00
Suresh Sundriyal
fea61ef092 Merge pull request #219 from sureshsundriyal/wip
[build] Remove the build dependency on 'sqlite3' command-line tool.
2015-04-12 13:00:11 -07:00
Suresh Sundriyal
ce7a32b587 [build] Remove the build dependency on 'sqlite3' command-line tool. 2015-04-12 00:24:51 -07:00
Suresh Sundriyal
f106d1678a Merge pull request #218 from sureshsundriyal/wip
[build] Remove the dependency on Python.
2015-04-12 00:12:06 -07:00
Suresh Sundriyal
70e2de6fc6 [build] Remove the dependency on Python.
We got rid of the only Python script that was run during the build phase
to produce the sql table. This dependecy is no longer required.
2015-04-11 18:19:34 -07:00
Tim Stack
1b9f96852b Merge pull request #216 from sureshsundriyal/wip
[init.sql] Check in a static init.sql and remove init_sql.py.
2015-04-11 16:29:49 -07:00
Suresh Sundriyal
8e70980f7f [init.sql] Check in a static init.sql and remove init_sql.py.
- The codes from httplib.py don't contain all the HTTP status codes and
  might differ between different versions of Python installed on the
  systems the binary is built on.
- Add the complete list from:
  http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
- Remove ```init_sql.py``` from the source directory.
- Remove the ```init.sql``` targets from Makefile.am
2015-04-11 14:59:43 -07:00
Timothy Stack
1c41731c33 remove -Werror=sign-compare for now since it's not supported on some older compilers 2015-04-11 11:31:07 -07:00
Suresh Sundriyal
8405481381 Merge pull request #215 from sureshsundriyal/wip
Fix broken build targets + coverity fixes.
2015-04-11 01:00:07 -07:00
Suresh Sundriyal
d9a85507af [build] Fix the broken 'make distcheck' target. 2015-04-11 00:52:06 -07:00
Suresh Sundriyal
4e9f6f9b2a [coverity] Uninitialized pointer field : textview_curses.hh 2015-04-11 00:42:46 -07:00
Timothy Stack
245a3c3d1b [fmt] allow timestamp to be specified in the log format
Fixes #155
2015-04-10 22:55:57 -07:00
Timothy Stack
ae64b599bd [format] add more log levels and fix some more pretty-printer glitches
Fixes #212
2015-04-10 19:50:05 -07:00
Tim Stack
2981357ed4 Merge pull request #213 from sureshsundriyal/wip
[coverity] buffer overrun.
2015-04-10 03:05:11 -07:00
Suresh Sundriyal
13337a75a5 [coverity] buffer overrun. 2015-04-10 00:44:06 -07:00
Timothy Stack
866f45380c turn off coverity 2015-04-09 07:46:22 -07:00
Timothy Stack
4fcc4d6fdf run coverity 2015-04-09 07:29:06 -07:00
Tim Stack
6e5641314a Merge pull request #210 from sureshsundriyal/wip
[pretty] 'A-f' covers a lot of printable characters.
2015-04-09 05:47:15 -07:00
Suresh Sundriyal
fd157ac42c [pretty] 'A-f' covers a lot of printable characters. 2015-04-09 05:33:36 -07:00
Timothy Stack
488d24b847 [pretty] word-wrap should work in the pretty-printer view 2015-04-08 23:06:43 -07:00
Timothy Stack
a50ec2eb42 update usage 2015-04-08 21:12:16 -07:00
Timothy Stack
8d421d0cd4 do not dump stdin if -q is specified 2015-04-08 21:06:38 -07:00
Timothy Stack
a2f298de8c forgot to check for POLLHUP 2015-04-08 20:58:12 -07:00
Timothy Stack
e1874c0278 use poll instead of select so we can handle more than FD_SETSIZE files 2015-04-08 20:36:45 -07:00
Timothy Stack
66d258dd44 [test] use doc ip range 2015-04-08 20:01:20 -07:00
Tim Stack
754d0aba05 Merge pull request #209 from sureshsundriyal/wip
[regex] VMKernel logs have ALERT as well as WARNING.
2015-04-08 19:55:57 -07:00
Suresh Sundriyal
9f53d1d3d1 [regex] VMKernel logs have ALERT as well as WARNING. 2015-04-08 19:08:29 -07:00
Tim Stack
20e1fc06dd Merge pull request #207 from sureshsundriyal/wip
[terminal] Print out an error when openpty fails.
2015-04-08 09:20:18 -07:00
Suresh Sundriyal
7e5d5a72bd [terminal] Print out an error when openpty fails.
tstack/lnav#206
2015-04-08 03:57:34 -07:00