Commit Graph

770 Commits

Author SHA1 Message Date
Suresh Sundriyal
4ed9765610 [Coverity] Fix dereference before null check. 2015-03-28 18:41:06 -07:00
Suresh Sundriyal
c386814850 [Coverity] Printf arg type mismatch. 2015-03-28 18:20:44 -07:00
Tim Stack
1afe9b0d9d Merge pull request #160 from sureshsundriyal/wip
Coverity related fixes.
2015-03-28 16:13:51 -07:00
Suresh Sundriyal
6a2c28450e [Coverity] Initialize class variables. 2015-03-28 14:46:10 -07:00
Suresh Sundriyal
0c30d52ca2 [Coverity] Remove dead code.
Given the fact that rem += SECSPERDAY is executed only when rem < 0,
it won't be possible for the condition 'rem >= SECSPERDAY' to be true.
2015-03-28 13:46:42 -07:00
Suresh Sundriyal
44b67edfd0 Merge pull request #159 from sureshsundriyal/wip
Revert "Enable Coverity scan."
2015-03-28 13:40:52 -07:00
Suresh Sundriyal
d47c17e2e8 Revert "Enable Coverity scan."
This reverts commit 7898d4d0d5.
2015-03-28 13:39:37 -07:00
Suresh Sundriyal
d5f3bba71c Merge pull request #158 from sureshsundriyal/wip
Enable Coverity scan.
2015-03-28 13:27:02 -07:00
Suresh Sundriyal
7898d4d0d5 Enable Coverity scan. 2015-03-28 13:08:48 -07:00
Tim Stack
fdcb75d198 Merge pull request #157 from sureshsundriyal/wip
Fix the tests when not compiled with bz2 support.
2015-03-28 12:11:03 -07:00
Timothy Stack
44d2e12403 [text] add filtering support to the plain text view
Fixes #149 #148
2015-03-28 06:30:30 -07:00
Suresh Sundriyal
94e3051257 [tests] Fix the conditional. 2015-03-28 02:32:59 -07:00
Suresh Sundriyal
521767eeb9 [build] autogen 2015-03-28 01:26:28 -07:00
Suresh Sundriyal
b371a680b3 [tests] Skip bzip2 tests if not compiled with bzip2. 2015-03-28 01:25:09 -07:00
Suresh Sundriyal
ef686b6932 Merge pull request #156 from sureshsundriyal/wip
[Compile errors] test_override.cc -> test_override.c
2015-03-27 12:15:16 -07:00
Suresh Sundriyal
acd913b9f9 [Compile errors] test_override.cc -> test_override.c 2015-03-27 11:21:08 -07:00
Suresh Sundriyal
ab257af0c7 Merge pull request #154 from sureshsundriyal/wip
More refactoring and autogen run.
2015-03-27 04:51:52 -07:00
Suresh Sundriyal
2554f19b23 [build] macro refactor 2015-03-27 04:34:25 -07:00
Suresh Sundriyal
229db9b446 [build] autogen 2015-03-27 04:25:35 -07:00
Suresh Sundriyal
9f1da30515 [build] Add the '-pthread' to the list of extra libraries.
Instead of setting it manually.
2015-03-27 04:14:39 -07:00
Suresh Sundriyal
b8d7841342 Merge pull request #152 from sureshsundriyal/wip
Fix some brokenness.
2015-03-26 20:53:03 -07:00
Timothy Stack
a15f08cfd3 [build] autogen 2015-03-26 20:42:18 -07:00
Suresh Sundriyal
a903873f1b [build] Add '-pthread' to sqlite macro.
On some systems, sqlite3 requires pthread libraries to be linked in. Add
the flag so that autoconf can successfully compile and look for
'sqlite3_open'.
2015-03-26 20:40:41 -07:00
Suresh Sundriyal
a3bdb2355d [build] Fix the check for editline in readline macro. 2015-03-26 18:51:48 -07:00
Suresh Sundriyal
45238cc451 Merge pull request #151 from sureshsundriyal/wip
Remove quotes from LNAV_ADDTO arguments.
2015-03-26 17:23:08 -07:00
Suresh Sundriyal
fcdc67eda9 Remove quotes from LNAV_ADDTO arguments. 2015-03-26 17:11:23 -07:00
Timothy Stack
282e70445e [pretty] reformat all displayed lines instead of just the top one
Fixes #150
2015-03-26 06:13:25 -07:00
Tim Stack
d7d9a16179 Merge pull request #146 from sureshsundriyal/wip
update NEWS
2015-03-25 06:24:13 -07:00
Suresh Sundriyal
d7f432fcc9 Merge pull request #147 from sureshsundriyal/wip2
[build] Add custom silent rules.
2015-03-25 03:11:07 -07:00
Suresh Sundriyal
ed0baf7c1c [build] Add custom silent rules.
Add custom silent rules for ptime/bin2c/sqlite3/rm commands.
2015-03-25 03:03:34 -07:00
Suresh Sundriyal
9badd2e5ba update NEWS 2015-03-25 00:03:10 -07:00
Timothy Stack
8fb15e455a [cmd] add a relative-goto command 2015-03-24 23:07:47 -07:00
Suresh Sundriyal
82f28a9f61 Merge pull request #145 from sureshsundriyal/wip
Let BSD definitions take precedence.
2015-03-24 23:03:07 -07:00
Suresh Sundriyal
1025015bc8 [build] autogen.sh run 2015-03-24 22:52:49 -07:00
Suresh Sundriyal
0ec996e4aa [build] Reinstate _BSD_SOURCE
Comment and case '*' and everything.
2015-03-24 22:51:21 -07:00
Suresh Sundriyal
63bd013645 Merge pull request #144 from sureshsundriyal/wip
[build] Warn if libgpm is missing and other minor changes.
2015-03-24 22:34:09 -07:00
Suresh Sundriyal
40250d41d9 [build] autogen.sh run 2015-03-24 22:27:52 -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
b111dca671 Merge pull request #142 from sureshsundriyal/wip
[build] Make readline macro depend on curses.
2015-03-24 00:26:48 -07:00
Suresh Sundriyal
9aaf5d12c3 [build] Make readline macro depend on curses. 2015-03-24 00:21:11 -07:00
Timothy Stack
4ea800a8f8 [build] messed up sigset init 2015-03-23 21:25:19 -07:00
Timothy Stack
219a4baad1 [ui] lower the index rebuild frequency when the command line is active 2015-03-23 21:20:55 -07:00
Suresh Sundriyal
ef36548b82 Merge pull request #141 from sureshsundriyal/wip
Some more build related additions/fixes.
2015-03-23 16:09:47 -07:00
Suresh Sundriyal
bc5a6cd154 [minor] Fix the tinfo disable message. 2015-03-23 15:57:43 -07:00
Suresh Sundriyal
498efe4bbb [build] autogen.sh run 2015-03-23 15:46:54 -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
de7024e820 [yajl macro] Remove unnecessary addition to libs. 2015-03-23 15:13:38 -07:00
Suresh Sundriyal
182279db6c Merge pull request #140 from sureshsundriyal/wip
Fix the filename in pcre macro
2015-03-23 03:53:18 -07:00
Suresh Sundriyal
c83371c74e Fix the filename in pcre macro 2015-03-23 03:43:10 -07:00
Suresh Sundriyal
57140c7b02 Merge pull request #139 from sureshsundriyal/wip
Build related stuff.
2015-03-23 03:38:10 -07:00