1
1
mirror of https://github.com/tstack/lnav.git synced 2024-10-26 13:16:11 +03:00
Commit Graph

1109 Commits

Author SHA1 Message Date
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
Timothy Stack
02bfd5846b [hotkey] the n/N keys will now move to the next cluster of search hits, up to a screenful
Defect Number:
    Reviewed By:
   Testing Done:
2016-11-25 15:44:36 -08:00
Timothy Stack
95fe6f0d73 [hotkey] the n/N keys will now move to the next cluster of search hits, up to a screenful
Defect Number:
    Reviewed By:
   Testing Done:
2016-11-24 23:27:54 -08:00
Timothy Stack
09292fc23e remove -s flag
Fixes #363
2016-11-23 07:02:41 -08:00
Timothy Stack
642a94e7b7 [open] check for FIFOs
Fixes #380
2016-11-23 06:41:22 -08:00
Timothy Stack
a7a03470d7 [search] fix a typo in the timeval compare operator
Defect Number:
    Reviewed By:
   Testing Done:
2016-11-22 23:03:40 -08:00
Timothy Stack
4de576fba7 [search] after a search has been entered, move to the first hit if one is found quickly
Defect Number:
    Reviewed By:
   Testing Done:
2016-11-22 21:02:01 -08:00
Tim Stack
ec7dae5979 Merge pull request #391 from aspiers/more-time-formats
add two more common time formats
2016-11-22 15:16:57 -08:00
Adam Spiers
baa4ec0eb2 add two more common time formats
Since 26cd9f59 introduced stricter timestamp parsing so that
the full string now has to be matched, several of the 3rd party
formats installable via "lnav -i extra" broke.  So add a couple
more very common timestamp formats to address these.
2016-11-22 19:59:44 +00:00
Timothy Stack
fb4e66e0b5 [build] package logfile_epoch.1 2016-11-22 10:02:38 -08:00
Timothy Stack
1b8b773184 [tests] print logfile::error exception 2016-11-22 09:56:08 -08:00
Timothy Stack
6618fe1947 [build] test 2016-11-22 09:48:05 -08:00
Timothy Stack
26cd9f5930 [ptime] make sure the full time stamp is matched
Fixes #389
Fixes #390
2016-11-22 08:38:45 -08:00
Timothy Stack
592ee60693 [log] fix rewriting machine-oriented timestamps
Fixes #371
2016-11-21 11:34:12 -08:00
Tim Stack
70240d2ca1 Merge pull request #376 from aspiers/fix-hour-help
fix hints about moving by hour
2016-11-19 20:42:51 -08:00
Adam Spiers
c18adb8b73 fix hints about moving by hour
o/O do not move forward/backward an hour; in fact, no hotkey does,
but 6/^ are about as close as it gets.
2016-11-20 01:56:22 +00:00
Tim Stack
742c8b553f Merge pull request #367 from aspiers/fix-compile
fix compile on SUSE
2016-11-19 11:11:38 -08:00
Tim Stack
a6f22f77ec Merge pull request #366 from aspiers/git-ignores
add some compile-time artefacts to .gitignore
2016-11-19 11:00:36 -08:00
Tim Stack
ae5f4b5dd5 Merge pull request #365 from aspiers/group-keybindings
Group keybindings in built-in help text
2016-11-19 11:00:17 -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
Adam Spiers
db55d10039 add some compile-time artefacts to .gitignore 2016-11-19 14:35:43 +00:00
Adam Spiers
41acc7f249 group keybindings in built-in help text
Group them in roughly the same way as in the manual.  This makes
it a lot easier to locate a key binding more quickly.
2016-11-19 14:28:54 +00:00
Adam Spiers
c354295c92 increase emphasis of level 1 heading underlines
This will allow us to introduce level 2 headings underlined by the
hyphen character.
2016-11-19 14:18:57 +00:00
Timothy Stack
4712bb6f76 update test for json logs with objects/arrays 2016-11-11 20:45:56 -08:00
Timothy Stack
d8a49ec737 actual fix for json fields 2016-11-09 14:03:19 -08:00
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