Commit Graph

87 Commits

Author SHA1 Message Date
Timothy Stack
7fb881222d [pretty] highlight log messages in the pretty view as in the normal log view 2018-05-10 06:44:03 -07:00
Phil Hord
121be1a558 Add updated definition to squash warning
_BSD_SOURCE is deprecated and using it emits warnings unless you also
define _DEFAULT_SOURCE. Let's define _DEFAULT_SOURCE.
2018-03-29 10:20:20 -07:00
Timothy Stack
74f24fcf4c bump version numbers 2018-01-23 20:17:38 -08:00
Tim Stack
3da74b5621
[build] try to fix the windows build
I think this should fix the failure to find asprintf.  But, the resulting binary fails on startup...
2017-12-04 13:25:36 -08:00
Timothy Stack
753e12d606 [unicode] do not clobber wide chars when applying attributes
Attempt to address #414
2017-08-01 10:17:30 -07:00
Timothy Stack
186cae4658 [build] add -static-libstdc++ and -static-libgcc by default
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-11 07:41:55 -07:00
Timothy Stack
78119dc9f1 fixing some minor issues
Fixes #255
2017-04-05 07:05:19 -07:00
Timothy Stack
c0684a97cc [sql] add a regexp_capture tablue-valued function
Fixup the release makefile a bit.
2017-03-15 17:01:58 -07:00
Timothy Stack
fa296fca1b [listview] get a batch of rows from the source instead of a single one at a time
Also: bump to c++14 and added a helper template for creating sqlite virtual tables
2017-03-14 06:05:46 -07:00
Timothy Stack
11d23a26d9 [build] libgpm autoconf check 2016-12-06 07:01:05 -08:00
Timothy Stack
d85ca570dd more travis 2016-12-06 06:22:43 -08:00
Timothy Stack
327b1b6e9f try turning libgpm complaint to a warning 2016-12-06 06:17:32 -08:00
Timothy Stack
44d93dddc3 [pretty-print] allow formats to do transforms before pretty-printing
Also started upgrading to C++11.

Fixes #353
2016-12-05 16:34:30 -08:00
Adam Spiers
5c5027673d fix compile on SUSE
If we have both 64-bit and 32-bit versions of ncurses installed,
currently the 32-bit libraries in /lib get found first, so gcc fails to
link against them, and ./configure ends up thinking that we're missing
ncurses libraries.

So scan /lib64 before /lib.  There might be a better fix, but hopefully
it will avoid breaking 32-bit distributions and distributions which have
64-bit libraries in /lib.
2016-11-19 15:00:27 +00:00
Jan Chren
d347104a30 [configure] add AM_PROG_AR to detect 'ar' instead of hard-coding it 2016-10-24 16:56:16 +02:00
Timothy Stack
4d091988a0 [release] some more work on the release build 2016-08-06 15:23:23 -07:00
Timothy Stack
96191badf3 [release] update versions for release and fix some time issues 2016-04-04 23:55:43 -07:00
Timothy Stack
5a718bc0ec [sql] missed checking for null in graphable columns 2015-11-29 20:10:40 -08:00
Timothy Stack
62075fb340 [sql] add json_group_object aggregate function 2015-11-29 19:56:10 -08:00
Timothy Stack
bf73660747 bump version to 0.8.0 2015-09-25 06:40:17 -07:00
Suresh Sundriyal
f96827a61c [Autoconf] More cleanup. 2015-09-15 01:42:56 -07:00
Suresh Sundriyal
90b9905bdc [Autoconf] Minor cleanup.
Use the autoconf macros instead of shell constructs.
2015-09-14 00:59:42 -07:00
Timothy Stack
9555ad911a more build fixes 2015-08-02 07:41:09 -07:00
Timothy Stack
f286950854 [curl] add a curl looper to handle url requests 2015-08-02 06:43:57 -07:00
Timothy Stack
248dd78f63 [config] some libcurl changes for static linking 2015-07-25 07:01:29 -07:00
Timothy Stack
06c74c450f [release] some updates to the release makefile 2015-07-25 06:45:38 -07:00
Timothy Stack
879bbd581e [pt] rough draft of tail for papertrail 2015-07-06 20:53:42 -07:00
Timothy Stack
92dd59285b some fixes to the re2c change 2015-06-10 20:42:46 -07:00
Timothy Stack
054e8d489b [data-scanner] convert to using re2c 2015-06-08 06:27:45 -07:00
Suresh Sundriyal
b5f1e9cec2 Require sqlite3-v3.6.0
v3.6.0 was the last released version of sqlite3 that I could
successfully compile with without any source changes. I could
compile with v3.4.2 but that required some code changes which
were not really worth the trouble of supporting v3.4.2, which was
released on 2007-08-13.
2015-04-26 13:28:30 -07:00
Suresh Sundriyal
e8ff7d8e8e [build] Require sqlite3 to be at least version 3.3.9.
'sqlite3_prepare_v2' was first introduced in version 3.3.9, which is
about 8 years old by now.
2015-04-26 01:42:07 -07:00
Suresh Sundriyal
ace51f0848 [build] Get rid of the sqlite3 dependency. 2015-04-16 00:28:31 -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
ce7a32b587 [build] Remove the build dependency on 'sqlite3' command-line tool. 2015-04-12 00:24:51 -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
Timothy Stack
8a91c96bed [build] bump version to 0.7.3 since we will release soon 2015-04-08 02:26:25 -07:00
Suresh Sundriyal
7da767bc07 [build] More changes for git version string. 2015-04-06 21:51:16 -07:00
Suresh Sundriyal
0c979afc09 [build] Add the git cln to the lnav version. 2015-04-06 21:35:47 -07:00
Suresh Sundriyal
b53e3f2401 [build] Get rid of warnings from autoreconf.
* Remove some of the obsolete macros.
* Use AC_CONFIG_MACRO_DIR to allow compatibility with older versions of
  autoconf.
* Remove AU_ALIAS from curses macro.
2015-04-01 01:04:12 -07:00
Suresh Sundriyal
b4d7781539 [build] Try a bit harder to resolve libgpm dependency. 2015-03-30 20:32:56 -07:00
Suresh Sundriyal
78efe35f3f [build] Pick up readline '.a' files.
And give preference to user specified/ac discovered paths rather than
system directories.
2015-03-29 17:12:34 -07:00
Suresh Sundriyal
58e3b20f17 [build] Add the package name and URL to autoconf script. 2015-03-28 19:44:36 -07:00
Suresh Sundriyal
b371a680b3 [tests] Skip bzip2 tests if not compiled with bzip2. 2015-03-28 01:25:09 -07:00
Suresh Sundriyal
0ec996e4aa [build] Reinstate _BSD_SOURCE
Comment and case '*' and everything.
2015-03-24 22:51:21 -07:00
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.
2015-03-24 22:19:37 -07:00
Suresh Sundriyal
bc5a6cd154 [minor] Fix the tinfo disable message. 2015-03-23 15:57:43 -07:00
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.
2015-03-23 15:44:25 -07:00
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.
2015-03-23 03:22:59 -07:00
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.
2015-03-20 17:17:30 -07:00
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.
2015-03-14 03:12:36 -07:00