Commit Graph

764 Commits (1c41731c33b3d4165774e8b3f7553614a2614111)
 

Author SHA1 Message Date
Suresh Sundriyal 06ed04cea9 Merge pull request #137 from sureshsundriyal/wip
[Coverity] Eliminate null pointer dereferencing.
9 years ago
Suresh Sundriyal 6567b53266 [Coverity] Eliminate null pointer dereferencing.
There is a possibility that 'name' might be NULL and {get/set}env might
dereference it.
9 years ago
Tim Stack 28956fc63f Merge pull request #136 from sureshsundriyal/wip
Minor changes.
9 years ago
Suresh Sundriyal e3f2939904 [Coverity] Uninitialized variable.
Zero out 'msg' during declaration.
9 years ago
Suresh Sundriyal 803642a849 [Coverity] Fixes an 'Uninitialized variables' error.
Initialize retval to SQLITE_ERROR during declaration at the beggining of
the method. I could technically go with SQLITE_OK but if this is going
to be unintentially returned without being initialized, I would much
rather it return an error than success.
9 years ago
Tim Stack 1457aba137 Merge pull request #135 from sureshsundriyal/wip
Remove unused 'strncasestr_i'.
9 years ago
Suresh Sundriyal 74de13e2c9 Remove unused 'strncasestr_i'.
The function is not really used anywhere and does not really do what the
name suggests it should. It leads to compiler warnings about 'unused'
function. Removing this for now.
9 years ago
Tim Stack 0850d75173 Merge pull request #133 from sureshsundriyal/wip
Code changes to get rid of warnings & errors.
9 years ago
Suresh Sundriyal d1c267b0b1 [Warning] conversion from string literal to 'char *'
Fix the deprecation warning about conversion from string literal to
'char *' by implicitly casting the literal.
9 years ago
Suresh Sundriyal 1c0d3a4f5a [Warnings] varargs with reference parameters.
'va_start' has undefined behvaior with reference types, so use a pointer instead.
9 years ago
Suresh Sundriyal 89b31050f1 [Compile errors] Fix some errors on ancient toolchains.
Fix some random errors on older toolchains where sys/time.h does
not include time.h.
9 years ago
Tim Stack eab197ecdc Merge pull request #132 from sureshsundriyal/master
Remove the check for libreadline.a
9 years ago
Suresh Sundriyal 263ece0d93 Remove the check for libreadline.a
Do a standard check for libreadline and use '-lreadline' as usual.
9 years ago
Tim Stack c312814637 Merge pull request #131 from sureshsundriyal/master
[build] Make sure readline has the necessary symbols.

Fixes #122
9 years ago
Timothy Stack b02430f4d9 add netinet include 9 years ago
Suresh Sundriyal f52d9641ed [build] Make sure readline has the necessary symbols.
On FreeBSD variant, readline functionality is provided by editline which
is almost compatible but not quite. We could do a specific check for
editline but if editline adds the functionality in the future, this
check will still continue to fail. Instead look for one of the symbols
currently missing in editline as a sanity check.
9 years ago
Timothy Stack fa2ed5621d [build] autogen run 9 years ago
Tim Stack 476a0da930 Merge pull request #130 from sureshsundriyal/master
Fix the 'readline' ac macro.
9 years ago
Suresh Sundriyal 31c4669a8a [build] Fix the 'readline' ac macro.
The macro does not track the include directory when it is passed in
using the '--with-readline=/foo/bar' invocation of '--with-readline'
flag.

This change should fix the problem. I've tried to keep the functionality
exactly the same as before and converted the script to pure M4sh, which
should produce a more portable configure script.
9 years ago
Suresh Sundriyal df5045a64c [build] break up lnav.m4 based on the functionality 9 years ago
Timothy Stack ff724e4941 [pipe-to] set env vars for each log line column 9 years ago
Timothy Stack 650ce89a19 [build] autogen 9 years ago
Tim Stack 615172dcec Merge pull request #129 from sureshsundriyal/master
[build] Reimplement yajl m4 macro using only M4sh.
9 years ago
Timothy Stack aea0bd54e0 [cmd] add a :redraw command to do a full redraw of the window
Fixes #18
9 years ago
Suresh Sundriyal 8031a83290 [build] Reimplement yajl m4 macro using only M4sh. 9 years ago
Timothy Stack 12b81fe4e7 [format] fix full message read for json formats 9 years ago
Timothy Stack dc79bd3bf5 [nav] reset where shift+j/k set bookmarks after scrolling
Fixes #13
9 years ago
Timothy Stack 12e0befe30 [pretty-print] try to reverse lookup IP addresses 9 years ago
Timothy Stack c3968e4291 [pretty-print] remove some extra line feeds 9 years ago
Timothy Stack 3e7063a522 [pretty-print] put closing curlys on their own line 9 years ago
Tim Stack facb75589b Merge pull request #128 from sureshsundriyal/master
Partial fix for issue#53 (Allow the use of yajl installed on the system)
9 years ago
Timothy Stack 42b809427d Revert "[pretty-print] add a test for the pretty-printer"
This reverts commit e0cec10445.
9 years ago
Timothy Stack e0cec10445 [pretty-print] add a test for the pretty-printer 9 years ago
Timothy Stack 1a9e41cf2f use stringstream instead of strstream 9 years ago
Timothy Stack c670a86d04 [pretty-print] first pass at a pretty-printer
Defect Number:
    Reviewed By:
   Testing Done:
9 years ago
Timothy Stack 1d3481c3fa [cmd] add pipe-to and pipe-line-to commands 9 years ago
Timothy Stack 64df915a5a [piper] fix some ownership issues with the piper fd 9 years ago
Suresh Sundriyal 74da06a8b8 [build] Define a USE_INCLUDED_YAJL conditional
Define a USE_INCLUDED_YAJL conditional which can be used to skip the
included YAJL files if there are local ones available.
9 years ago
Suresh Sundriyal b9b06ca951 [build] Hook in the yajl related macros. 9 years ago
Suresh Sundriyal fdf73c5744 [build] Add yajl related macros. 9 years ago
Timothy Stack 145982ee6a even more travis 9 years ago
Timothy Stack 48d377e838 more travis 9 years ago
Timothy Stack 592c93b0dd more travis 9 years ago
Timothy Stack 82f566c5cf travis test 9 years ago
Timothy Stack 9ded31f647 display autotools version 9 years ago
Tim Stack 82a36855fb Merge pull request #127 from sureshsundriyal/master
[build] Move/Refactor aclocal macros.
9 years ago
Tim Stack 33d43e0157 Merge pull request #126 from sureshsundriyal/master
Add support for compiling lnav with jemalloc.
9 years ago
Suresh Sundriyal 7886ddbb12 [build] Move/Refactor aclocal macros.
* Move all the m4 macros in to their own directory.
* Rename 'ax_with_jemalloc.m4' -> 'lnav_with_jemalloc.m4' because
  'ax_with_*' is a convention for third-party aclocal macros in the
  official archives.
* Rename the methods to be more lnav specific.
9 years ago
Suresh Sundriyal bd2ae532de Update the generated build files. 9 years ago
Suresh Sundriyal 0d29019923 [jemalloc] Add support for jemalloc.
Add some repurposed m4 macros for compiling lnav with jemalloc and hook
them in to configure.ac.
9 years ago