Commit Graph

1039 Commits (1850c4f67845690334f53ac668e29ba1a95ed50d)
 

Author SHA1 Message Date
Timothy Stack 8fb15e455a [cmd] add a relative-goto command 10 years ago
Suresh Sundriyal 82f28a9f61 Merge pull request #145 from sureshsundriyal/wip
Let BSD definitions take precedence.
10 years ago
Suresh Sundriyal 1025015bc8 [build] autogen.sh run 10 years ago
Suresh Sundriyal 0ec996e4aa [build] Reinstate _BSD_SOURCE
Comment and case '*' and everything.
10 years ago
Suresh Sundriyal 63bd013645 Merge pull request #144 from sureshsundriyal/wip
[build] Warn if libgpm is missing and other minor changes.
10 years ago
Suresh Sundriyal 40250d41d9 [build] autogen.sh run 10 years ago
Suresh Sundriyal 3445ee5dc6 [build] Warn if libgpm is missing and other minor changes.
* On some misconfigured systems, libgpm is required along with ncurses.
  I haven't been able to figure out the correct way to figure out these
  dependencies without resorting to using external tools like 'nm'. So
  for the moment, if libgpm is not found, at least warn the user that
  the build might fail later.

* Ncurses on OS X does not require libgpm, so there is no need to test
  for it.

* There seems to be an 'AC_DEFINE' _BSD_SOURCE which does not seem to be
   used anywhere. Removing this for now.

* Remove some artifacts left behind by Emacs.
10 years ago
Suresh Sundriyal b111dca671 Merge pull request #142 from sureshsundriyal/wip
[build] Make readline macro depend on curses.
10 years ago
Suresh Sundriyal 9aaf5d12c3 [build] Make readline macro depend on curses. 10 years ago
Timothy Stack 4ea800a8f8 [build] messed up sigset init 10 years ago
Timothy Stack 219a4baad1 [ui] lower the index rebuild frequency when the command line is active 10 years ago
Suresh Sundriyal ef36548b82 Merge pull request #141 from sureshsundriyal/wip
Some more build related additions/fixes.
10 years ago
Suresh Sundriyal bc5a6cd154 [minor] Fix the tinfo disable message. 10 years ago
Suresh Sundriyal 498efe4bbb [build] autogen.sh run 10 years ago
Suresh Sundriyal 2c7f70d56c [build] Provide an option to disable tinfo linking.
In some cases, tinfo is not required to build but the library still gets
linked in because it's present on the system. There should be an
explicit way to disable linking with tinfo.
10 years ago
Suresh Sundriyal de7024e820 [yajl macro] Remove unnecessary addition to libs. 10 years ago
Suresh Sundriyal 182279db6c Merge pull request #140 from sureshsundriyal/wip
Fix the filename in pcre macro
10 years ago
Suresh Sundriyal c83371c74e Fix the filename in pcre macro 10 years ago
Suresh Sundriyal 57140c7b02 Merge pull request #139 from sureshsundriyal/wip
Build related stuff.
10 years ago
Suresh Sundriyal 23e2d86421 [build] autogen run 10 years ago
Suresh Sundriyal 649f486d13 [File headers] Add some headers to m4 files.
Add the license and copyright headers to m4 files.
10 years ago
Suresh Sundriyal 13c6b82f8c [build] Fix SQLite3 realted m4 macros.
The current macro does not seem to honor the CFLAGS and LDFLAGS
variables if '--with-sqlite3=yes' is used. Fix this and some of
the other cruft in the macro.
10 years ago
Timothy Stack 42521ef337 [hist] the wrong view could be used when switching from hist to log 10 years ago
Timothy Stack cf462cecde [hist] need to rebuild the histogram if files are closed 10 years ago
Timothy Stack 0cbaa394cb [build] autogen 10 years ago
Suresh Sundriyal 06ed04cea9 Merge pull request #137 from sureshsundriyal/wip
[Coverity] Eliminate null pointer dereferencing.
10 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.
10 years ago
Tim Stack 28956fc63f Merge pull request #136 from sureshsundriyal/wip
Minor changes.
10 years ago
Suresh Sundriyal e3f2939904 [Coverity] Uninitialized variable.
Zero out 'msg' during declaration.
10 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.
10 years ago
Tim Stack 1457aba137 Merge pull request #135 from sureshsundriyal/wip
Remove unused 'strncasestr_i'.
10 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.
10 years ago
Tim Stack 0850d75173 Merge pull request #133 from sureshsundriyal/wip
Code changes to get rid of warnings & errors.
10 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.
10 years ago
Suresh Sundriyal 1c0d3a4f5a [Warnings] varargs with reference parameters.
'va_start' has undefined behvaior with reference types, so use a pointer instead.
10 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.
10 years ago
Tim Stack eab197ecdc Merge pull request #132 from sureshsundriyal/master
Remove the check for libreadline.a
10 years ago
Suresh Sundriyal 263ece0d93 Remove the check for libreadline.a
Do a standard check for libreadline and use '-lreadline' as usual.
10 years ago
Tim Stack c312814637 Merge pull request #131 from sureshsundriyal/master
[build] Make sure readline has the necessary symbols.

Fixes #122
10 years ago
Timothy Stack b02430f4d9 add netinet include 10 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.
10 years ago
Timothy Stack fa2ed5621d [build] autogen run 10 years ago
Tim Stack 476a0da930 Merge pull request #130 from sureshsundriyal/master
Fix the 'readline' ac macro.
10 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.
10 years ago
Suresh Sundriyal df5045a64c [build] break up lnav.m4 based on the functionality 10 years ago
Timothy Stack ff724e4941 [pipe-to] set env vars for each log line column 10 years ago
Timothy Stack 650ce89a19 [build] autogen 10 years ago
Tim Stack 615172dcec Merge pull request #129 from sureshsundriyal/master
[build] Reimplement yajl m4 macro using only M4sh.
10 years ago
Timothy Stack aea0bd54e0 [cmd] add a :redraw command to do a full redraw of the window
Fixes #18
10 years ago
Suresh Sundriyal 8031a83290 [build] Reimplement yajl m4 macro using only M4sh. 10 years ago