Commit Graph

1084 Commits

Author SHA1 Message Date
Timothy Stack
a758056657 Revert "need to check level before incrementing line count"
This reverts commit c0cd26dec4.
2016-11-09 13:58:55 -08:00
Timothy Stack
c0cd26dec4 need to check level before incrementing line count 2016-11-09 13:31:51 -08:00
Tim Stack
9e82c6ba32 Merge pull request #360 from victorhooi/patch-1
Add Ctrl-W display shortcut for word-wrap.
2016-11-07 08:23:36 -08:00
Victor Hooi
ae42f97ba0 Add Ctrl-W display shortcut for word-wrap.
This is mentioned in the lnav 0.6.2 release notes:

http://lnav.org/blog/2013/11/10/word-wrap-support-in-v062

But doesn't appear to be mentioned elsewhere.
2016-11-07 17:39:02 +11:00
Timothy Stack
4c0a8d0376 [ptime] need to clear the zone from the base when using a custom time format 2016-11-04 11:00:51 -07:00
Timothy Stack
b296e84a65 [format] color extra json fields that are identifiers 2016-10-29 22:16:45 -07:00
Timothy Stack
a59e0b290e [format] allow json log fields to be hidden
Fixes #303
2016-10-29 06:52:12 -07:00
Timothy Stack
b392886f0c [highlight] choose highlight color based on the regex
Defect Number:
    Reviewed By:
   Testing Done:
2016-10-25 06:42:05 -07:00
Tim Stack
06ca3c5288 Merge pull request #356 from rindeal/patch-1
[configure] add AM_PROG_AR to detect 'ar' instead of hard-coding it
2016-10-24 11:43:24 -07: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
9f79dcc31a [format] point out the location of a pcre-compile error
Defect Number:
    Reviewed By:
   Testing Done:
2016-10-21 08:57:51 -07:00
Timothy Stack
d9b5cf3856 call setlocale() to try and get unicode working 2016-10-17 08:46:25 -07:00
Timothy Stack
41a2eed239 [pretty-print] fix printing of quoted strings that have escaped characters
Fixes #354
2016-10-14 11:18:00 -07:00
Timothy Stack
2e68f48a18 [hist] check for zoom with no logs
Fixes #346
2016-08-25 21:20:48 -07:00
Timothy Stack
b216993760 [tests] missed a format file in the makefile 2016-08-23 06:50:01 -07:00
Timothy Stack
5539e21c05 [log-format] fix line-format where a variable can span lines
Fixes #337
2016-08-23 06:34:18 -07:00
Timothy Stack
876b37ade0 [log-format] add "truncate" overflow value 2016-08-22 23:28:14 -07:00
Timothy Stack
c05dfafae8 [log-format] abbreviate long fields when formatting JSON logs
Fixes #340
2016-08-22 06:45:27 -07:00
Timothy Stack
9ee18c26d3 [log-format] add min-width and align options to line-format
Also some fixes for validating the format definitions.

Fixes #338
2016-08-21 21:34:52 -07:00
Timothy Stack
41854cf637 [json-log] custom date formats
Fixes #341
2016-08-18 22:15:35 -07:00
Timothy Stack
4d091988a0 [release] some more work on the release build 2016-08-06 15:23:23 -07:00
Tim Stack
3a22d8c5f8 Merge pull request #335 from sureshsundriyal/freebsd
[freebsd] Fix out of source builds
2016-07-31 21:30:17 -07:00
Suresh Sundriyal
87590aab6b [freebsd] Revert the bump gcc to 4.8.
Updated the incorrect section.
2016-07-30 21:39:13 -07:00
Suresh Sundriyal
f2cb5c80d8 Revert "[freebsd] Install automake before kicking off the build."
This reverts commit 08ab680492.
2016-07-30 19:15:41 -07:00
Suresh Sundriyal
936afab0cc [freebsd] Use GNU Make
Either Autotools is producing a makefile that FreeBSD make does not like
or FreeBSD make does not like pattern rules anymore. Or more plausibly,
we are not invoking autogen.sh correctly.
2016-07-30 19:13:23 -07:00
Suresh Sundriyal
08ab680492 [freebsd] Install automake before kicking off the build. 2016-07-30 17:06:15 -07:00
Suresh Sundriyal
6cea55ae3d [freebsd] More out of source build related fixes. 2016-07-30 16:50:25 -07:00
Suresh Sundriyal
7c670bc730 [freebsd] Fix out of source builds 2016-07-30 16:04:41 -07:00
Tim Stack
25593204e2 Merge pull request #334 from sureshsundriyal/freebsd
[freebsd] Partial fix for the release builds.
2016-07-28 23:14:07 -07:00
Suresh Sundriyal
438ab2c9d4 [freebsd] Some more build related fixes. 2016-07-28 20:32:24 -07:00
Suresh Sundriyal
759eb53f01 [freebsd] Partial fix for the release builds.
The default gcc toolchain on freebsd has been bumped to 4.8 so the build
scripts that hardcoded the gcc binary name are getting confused.

The new version of SQLite seems to be getting confused between editline
and readline.
2016-07-28 20:03:43 -07:00
Timothy Stack
e8ba6b4921 [release] update some dependency versions 2016-07-28 08:49:21 -07:00
Timothy Stack
8dbf018814 [loader] the loader was not converting the level name to the enum value correctly
Closes #329
2016-06-30 21:59:51 -07:00
Tim Stack
2f0d645a26 Merge pull request #328 from elyscape/glog-spacing
[fmt] Fix glog_log format
2016-06-30 21:29:40 -07:00
Eli Young
5602af33f8 [fmt] Fix glog_log format
The log format used by glog uses spaces to left-pad the thread to 7
digits, per the code:

https://github.com/golang/glog/blob/65d6746/glog.go#L577

This fixes the regular expression to correctly match the extra
whitespace.
2016-06-30 18:36:45 -07:00
Tim Stack
5676d19981 Update README.md
Update appveyor links
2016-06-04 12:52:32 -07:00
Tim Stack
30c1738bd9 Merge pull request #324 from saaguero/appveyor
Add cygwin continuous integration through appveyor
2016-06-01 11:14:13 -07:00
saaguero
d0b5e4c11e Add cygwin continuous integration through appveyor 2016-05-31 10:18:37 -03:00
Timothy Stack
5d12eed17e fix a bug related to hide-extra for json logs 2016-05-13 20:06:57 -07:00
Tim Stack
91633d089f Merge pull request #320 from sureshsundriyal/db-attach
[secure-mode] Disallow ATTACH statements completely.
2016-05-04 21:18:33 -07:00
Suresh Sundriyal
6663740c5e [secure-mode] Disallow ATTACH statements completely.
The code to handle in-memory db exceptions is hideous and unreliable,
given the fact that SQLite does not expose much in terms of getting the
current value and the methods to check the compile time options can
themselves be disabled by a compile=time option in SQLite.

There really isn't much use for in-memory databases and if someone
really needs it, they can always choose to run in normal mode, so just
remove the extra code.
2016-05-04 20:21:01 -07:00
Timothy Stack
a81db3f41d fix summary overlay on linux 2016-05-03 21:31:47 -07:00
Timothy Stack
fbbedfea48 [build] try to silence some warnings 2016-05-03 21:12:53 -07:00
Timothy Stack
c564beee29 [build] try to silence some warnings 2016-05-03 21:01:39 -07:00
Timothy Stack
deccd51bdf [mouse] update the status line when the mouse is enabled/disabled 2016-05-03 20:47:52 -07:00
Tim Stack
1850c4f678 Merge pull request #318 from sureshsundriyal/db-attach
[secure-mode] Prevent users from attaching db files.
2016-05-03 10:37:03 -07:00
Timothy Stack
5ea5504aec [time] fix time rollover for days
Fixes #304
2016-05-03 06:43:00 -07:00
Suresh Sundriyal
a13047a9ed [secure-mode] Check to see if URIs are enabled.
Check to see if URIs are enabled or not before continuing on with the
file uri checks.
2016-05-03 02:11:33 -07:00
Timothy Stack
a4deaa1e8b [spectro] log_time must be in ascending order 2016-05-02 22:59:04 -07:00
Suresh Sundriyal
1e6878164f [secure-mode] Refactoring and check for sqlite version.
'mode=memory' query parameter is only supported from sqlite3 version
3.8.0 onwards. Make sure to check for the version before continuing with
the 'ATTACH' statement.

Turning off some of the tests, since they fail on the Travis CI setup
which uses sqlite version 3.6.0.
2016-05-02 21:43:11 -07:00