Commit Graph

1636 Commits

Author SHA1 Message Date
Timothy Stack
a6d4563d7d [build] missing header 2017-12-29 07:02:19 -08:00
Timothy Stack
74b58ed9fc [highlights] allow the highlight color to be specified in log formats
Defect Number:
    Reviewed By:
   Testing Done:
2017-12-29 06:51:09 -08:00
Tim Stack
095bcbd419
Merge pull request #482 from salvadom/master
Added used time formats
2017-12-28 09:56:59 -08:00
Medina Maza
b4152056af Added time format for day month year hour:minutes:seconds and optional millis 2017-12-17 22:01:50 -08:00
Timothy Stack
4b40b3f9f5 [date-time] add a formatter for 0x0p+0
Defect Number:
    Reviewed By:
   Testing Done:
2017-12-07 06:36:12 -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
b5f5b4137c [search] redo search after filtering
Fixes #480
2017-12-04 08:52:40 -08:00
Timothy Stack
f25980df03 [ui] rework the default colors change
The default colors change resulted in some parts of the lnav
UI being colored incorrectly.  I've reworked it a bit so that
the ansi color pairs are preserved and the default colors are
only used with the color pairs for roles.  I've also replaced
references to ansi colors with roles in a few places to make
things work consistently.
2017-12-02 22:11:34 -08:00
Timothy Stack
5d2dffad35 [cmd] redo deleting command-prompt char should exit prompt
My first attempt at this wasn't right and would exit the prompt
when an escape sequence was received and the prompt was empty
(like going back through history).
2017-11-05 21:19:46 -08:00
Tim Stack
336b3d9945
Merge pull request #478 from sureshsundriyal/openbsd
Fix lnav builds on OpenBSD
2017-10-31 14:24:55 -07:00
Suresh Sundriyal
4483722b1d Fix the __clang__ macro. 2017-10-28 16:10:03 -07:00
Suresh Sundriyal
060a437754 Fix the filedesciptior assignment 2017-10-28 15:52:06 -07:00
Suresh Sundriyal
217d365672 Redefine _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only on OpenBSD 2017-10-28 15:11:15 -07:00
Suresh Sundriyal
1a7e2fee9b Redefine _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only if needed. 2017-10-28 14:26:35 -07:00
Suresh Sundriyal
72f3d7951b Don't redefine rl_completer_word_break_characters 2017-10-28 13:26:29 -07:00
Suresh Sundriyal
23c1f7ba4f [OpenBSD] Define _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only when using Clang. 2017-10-28 13:17:54 -07:00
Suresh Sundriyal
0c88eeeb07 Fix lnav builds on OpenBSD.
* Remove all the wordexp related unused headers and code.
* stdout does not appear to be reassignable on OpenBSD.
* defining _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ seems to fix the const
  correctness related redefinitions between wchar.h imported from
  the system libc and the one imported by clang++ STL.
2017-10-28 05:21:02 -07:00
Timothy Stack
c8fc0db481 [ui] deleting command-prompt char should exit prompt 2017-10-18 22:34:55 -07:00
Suresh Sundriyal
d9c42cdc29 Merge pull request #474 from sureshsundriyal/format-specifier
[test] Fix printf format specifier for size_t.
2017-10-18 14:08:11 -07:00
Suresh Sundriyal
fb41673532 [test] Fix printf format specifier for size_t.
Suppress compiler warnings.
2017-10-18 12:52:49 -07:00
Tim Stack
7d0ff6dd26 Merge pull request #473 from sureshsundriyal/authors
[AUTHORS] Credit the newer contributors.
2017-10-18 11:01:25 -07:00
Suresh Sundriyal
a9fb94df38 [AUTHORS] Credit the newer contributors. 2017-10-18 10:48:18 -07:00
Tim Stack
78d4ce3b3a Merge pull request #472 from sureshsundriyal/master
[command] Add a ':quit' command.
2017-10-18 08:50:12 -07:00
Suresh Sundriyal
150252e578 [command] Add a ':quit' command.
Add a ':quit' command and add ':q' as the alias for the
quit command.

Closes #470
2017-10-17 21:36:58 -07:00
Timothy Stack
283293e019 [tests] update expected output for default colors change 2017-10-01 21:05:47 -07:00
Tim Stack
d4defbaaf7 Merge pull request #468 from konmeo/master
add config option to use default fg/bg colors
2017-10-01 20:50:48 -07:00
Timothy Stack
e615805ac6 [cmds] remove completion for highlight after clearing
Fixes #465
2017-10-01 20:49:10 -07:00
Timothy Stack
689bcadc94 [time_fmts] add a default time format
Fixes #467
2017-10-01 20:42:08 -07:00
Kevin Pham
91b1e96263 update document with default-colors config option 2017-09-15 11:06:21 -07:00
Kevin Pham
52f78cfb75 add config option to use default fg/bg colors 2017-09-14 18:52:29 -07:00
Timothy Stack
485a931793 [headless] always switch to the DB view after executing a SQL command, even if the result set is empty 2017-08-18 21:46:38 -07:00
Tim Stack
3ff9265e0c Update NEWS
Add note for unicode change
2017-08-02 11:10:32 -07:00
Timothy Stack
5e4ca5bbed [test] comment out mvwattrline test for now 2017-08-01 10:35:33 -07:00
Timothy Stack
f6e01e9ad0 [build] fix for last checkin 2017-08-01 10:28:27 -07: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
2e095fb03e [time] add a time format 2017-07-18 06:03:02 -07:00
Tim Stack
7a5c21f97c Merge pull request #453 from Freaky/fix-logfile-log
[logfile] Fix format string in debug log.
2017-05-23 12:29:40 -07:00
Thomas Hurst
24aa8cfd61 [logfile] Fix format string in debug log.
Resolves a crash on startup on FreeBSD/i386.
2017-05-23 20:05:32 +01:00
Timothy Stack
7240aaa127 [time] an epoch timestamp should not have whitespace 2017-05-13 06:53:58 -07:00
Tim Stack
588231dda6 Merge pull request #451 from michael-bouvy/fix-readme
Fix README headings
2017-05-09 11:36:57 -07:00
michael-bouvy
59ac5d8509 Fix README titles 2017-05-09 20:02:38 +02:00
Timothy Stack
a9fd0e37f6 [formats] add rfc5424 syslog format
Fixes #444
2017-04-29 07:31:55 -07:00
Timothy Stack
d18b344489 [perf] avoid an initial forced index rebuild
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-25 06:55:07 -07:00
Timothy Stack
371e79ff3d [log_format] allow external logs to specify that they are not time-ordered 2017-04-25 05:58:10 -07:00
Timothy Stack
9d249004ac [time-offset] add days to offset
Fixes #435
2017-04-25 05:41:14 -07:00
Timothy Stack
6306659362 [test] remove extra test 2017-04-24 10:31:07 -07:00
Timothy Stack
7ed6cc4858 [crash] handle recovery more flexibly
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-24 10:09:19 -07:00
Timothy Stack
ef5347b0eb [build] even more 2017-04-24 07:50:24 -07:00
Timothy Stack
4fb6e24be9 [build] one more time 2017-04-24 07:34:29 -07:00
Timothy Stack
c3688e87f7 [build] fix some tests
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-24 07:29:55 -07:00