Commit Graph

148 Commits

Author SHA1 Message Date
Timothy Stack
d6e1fd1f32 [release] change version to 0.9.0 2020-09-01 22:36:47 -07:00
Timothy Stack
0aa31964aa Revert "[autoconf] check for ncursesw instead of just ncurses"
This reverts commit 9b751940ae.
2020-09-01 15:27:52 -07:00
Timothy Stack
9b751940ae [autoconf] check for ncursesw instead of just ncurses
Fixes #479
2020-08-30 21:26:12 -07:00
Timothy Stack
441833ac23 [build] bump version numbers 2020-04-20 22:50:57 -07:00
Timothy Stack
fb7d6eafaf [build] some refactoring of files 2019-05-08 05:30:59 -07:00
Timothy Stack
832f980ab9 [version] set to v0.8.5 2019-04-07 10:26:50 -07:00
Timothy Stack
c4b950e4d9 bump version to v0.8.5-rc1 2019-03-15 22:13:18 -07:00
Timothy Stack
2589345e5c [perf] improve initial indexing times 2018-10-17 07:03:33 -07:00
Timothy Stack
d1856b53ba [build] avoid adding -I/usr/include to CPPFLAGS
Defect Number:
    Reviewed By:
   Testing Done:
2018-10-02 23:04:14 -07:00
Timothy Stack
26ad05dd80 [build] try to remove some old defines 2018-10-02 22:52:07 -07:00
Timothy Stack
def35d1ae7 [release] version bump to v0.8.4
Defect Number:
    Reviewed By:
   Testing Done:
2018-08-27 07:23:13 -07:00
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
Suresh Sundriyal
b9b06ca951 [build] Hook in the yajl related macros. 2015-03-14 01:58:41 -07:00
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.
2015-03-12 23:47:34 -07:00
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.
2015-03-12 00:48:50 -07:00
Timothy Stack
0ce83a0301 bump version to 0.7.2 2015-02-26 21:47:27 -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
1974e1f1ae [jsonptr] initial impl 2014-05-05 06:44:58 -07:00
Timothy Stack
b58438875d [concise] initial impl 2014-04-20 10:40:28 -07:00
Timothy Stack
530a0a94b5 [configure] fail if ncurses was not found and fix the date test 2014-03-22 10:13:45 -07:00
Timothy Stack
a94b432630 [build] check for libexecinfo 2014-03-18 03:59:27 -07:00
Timothy Stack
0f8f1b5218 [build] check for execinfo.h 2014-03-18 03:37:00 -07:00
Timothy Stack
1eb29e4081 try again for the limit 2014-03-16 15:21:42 -07:00
Timothy Stack
9ff2d3774d [line_buffer] split long lines
Fixes #81
2014-03-15 04:40:58 -07:00
Timothy Stack
454503ed53 [conf] check for sqlite3_stmt_readonly 2014-03-12 20:36:14 -07:00
Timothy Stack
174e1c855e [version] next release will be 0.7.0 instead of 0.6.3 2014-03-10 07:39:57 -07:00
Timothy Stack
c347485834 [config] add more config directories to search 2014-03-02 22:26:41 -08:00
Timothy Stack
5b66441378 [doc] update some docs 2014-02-24 15:50:42 -08:00
Suresh Sundriyal
cd49dc5226 Static linking related cleanup.
* Remove traces of libcrypto, since we don't use OpenSSL anymore.
* Add libgpm and libtinfo to the list of static_lib_list.
2014-02-06 20:53:11 -08:00
Suresh Sundriyal
e5471490cf Fix the static linking issue. fixes tstack/lnav#71. 2014-02-06 13:30:36 -08:00
Timothy Stack
71cd99a2bf [cygwin] fix compile issue for test 2014-01-12 19:58:18 -08:00
Timothy Stack
5e011a9203 [cygwin] misc fixes to get things building/running on windows
This change is just a first step, it should get the basics going.  But,
the tests don't all build and there are probably other issues when
running.
2014-01-07 07:35:52 -08:00
Timothy Stack
59c1d4313b [mouse] more mouse support and other fixes 2013-10-11 06:22:29 -07:00
Timothy Stack
33584ed9f8 [docs] minor tweaks and version bump 2013-09-10 09:42:30 -07:00
Timothy Stack
de374e68f6 [build] some more build tweaks 2013-08-28 21:22:04 -07:00
Timothy Stack
22dbcf7796 [build] some lib path ordering and a fix for older linuxes 2013-08-28 18:20:11 -07:00
Timothy Stack
db8e64960d [build] more static library link 2013-08-28 07:57:21 -07:00
Timothy Stack
b4ed348428 [build] mostly static linking stuff 2013-08-28 07:28:31 -07:00
Timothy Stack
255b91771c [version] bump the version to 0.6.0 2013-07-28 11:43:33 -07:00
Timothy Stack
af6e289cda [log format] add scaling factors 2013-07-23 05:55:08 -07:00
Timothy Stack
c93172824c [logline] cache log line schemas to make subsequent queries faster and other tweaks 2013-06-12 06:59:48 -07:00
Timothy Stack
9420662006 [build] some configure fixes 2013-06-10 06:55:39 -07:00
Timothy Stack
5d478fc17a [cleanup] start a tracer/debugger for the data parser 2013-06-08 06:10:18 -07:00
Timothy Stack
5e18f47cd2 [nits] fix some recently introduced bugs and some long standing ones 2013-06-04 06:53:25 -07:00
Timothy Stack
3128dc772c [sqlite] Major improvements to the sqlite integration.
This is a checkpoint of the improvements to the sqlite integration.  The
data_parser stuff should be much better now and I've tried to improve
other parts of the user experience as well.
2013-05-24 07:55:56 -07:00
Timothy Stack
f62b5c271c [release] bump to 0.5.1 2013-05-02 23:02:03 -07:00
Timothy Stack
4c6069c33d [cleanup] little bits of cleanup here and there 2013-05-02 08:29:36 -07:00
Timothy Stack
5a25a76b2d [build] set _BSD_SOURCE to 1 to quiet warnings 2013-04-24 07:18:27 -07:00
Timothy Stack
458a42fcc9 [autogen] do not install bin2c and rerun autogen 2013-04-18 22:46:49 -07:00