Commit Graph

1400 Commits (0b822739ea8e83150dcb072e6b7bb93cb2ace3d0)
 

Author SHA1 Message Date
Timothy Stack 4694cabd05 update year 6 years ago
Tim Stack faf47ca041
Merge pull request #496 from phord/master
Replace mkstemp with std::tmpfile
6 years ago
Tim Stack e9c9d8ba51
Merge pull request #487 from mterron/patch-1
Fix comparison between signed and unsigned int
6 years ago
Phil Hord 1ae4a04e42 Replace mkstemp with std::tmpfile
TMPDIR is not always defined in the environment but the code doesn't check
for that. Let's used std::tmpfile instead.

Maybe an easier fix is to perform the tmpdir lookup better, but that is
also noisy since the search for a decent tmpdir is based on lore.

std::tmpfile() is rather clean. However it does not leave a nice filename
name around for debugging, so I understand why it might not be preferred.

Fixes #495
6 years ago
Timothy Stack 352d16f4cf [line-buffer] fix resize to use the requested size
When reading in a full message, we need to make sure the buffer
is large enough to accommodate the full thing.
6 years ago
Terror 794595fde1
Fix comparison between signed and unsigned int
Fixes warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
6 years ago
Timothy Stack 8f3af33792 add some NEWS 6 years ago
Timothy Stack 339b5bfd82 add author 6 years ago
Timothy Stack 7f99955cbc [misc] fix a perf issue when previewing commands and some sql fixes 6 years ago
Timothy Stack 7d7060ae4c [generic_log] fix recognition for generic logs
The generic format picks up extra text in the timestamp, which
caused the date time scanner to reject some matches.  I think
it's okay to allow for some trailing junk, so it no longer
ensures the size of the match is the same as the input.
7 years ago
Timothy Stack 74f24fcf4c bump version numbers 7 years ago
Timothy Stack 332fa39145 [release] bump some version numbers 7 years ago
Timothy Stack bdcfc5cfdd [misc] rounding some corners 7 years ago
Timothy Stack 75ccb8ca4f [layout] fix a crash with a small window 7 years ago
Timothy Stack a6d4563d7d [build] missing header 7 years ago
Timothy Stack 74b58ed9fc [highlights] allow the highlight color to be specified in log formats
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Tim Stack 095bcbd419
Merge pull request #482 from salvadom/master
Added used time formats
7 years ago
Medina Maza b4152056af Added time format for day month year hour:minutes:seconds and optional millis 7 years ago
Timothy Stack 4b40b3f9f5 [date-time] add a formatter for 0x0p+0
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
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...
7 years ago
Timothy Stack b5f5b4137c [search] redo search after filtering
Fixes #480
7 years ago
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.
7 years ago
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).
7 years ago
Tim Stack 336b3d9945
Merge pull request #478 from sureshsundriyal/openbsd
Fix lnav builds on OpenBSD
7 years ago
Suresh Sundriyal 4483722b1d Fix the __clang__ macro. 7 years ago
Suresh Sundriyal 060a437754 Fix the filedesciptior assignment 7 years ago
Suresh Sundriyal 217d365672 Redefine _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only on OpenBSD 7 years ago
Suresh Sundriyal 1a7e2fee9b Redefine _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only if needed. 7 years ago
Suresh Sundriyal 72f3d7951b Don't redefine rl_completer_word_break_characters 7 years ago
Suresh Sundriyal 23c1f7ba4f [OpenBSD] Define _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ only when using Clang. 7 years ago
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.
7 years ago
Timothy Stack c8fc0db481 [ui] deleting command-prompt char should exit prompt 7 years ago
Suresh Sundriyal d9c42cdc29 Merge pull request #474 from sureshsundriyal/format-specifier
[test] Fix printf format specifier for size_t.
7 years ago
Suresh Sundriyal fb41673532 [test] Fix printf format specifier for size_t.
Suppress compiler warnings.
7 years ago
Tim Stack 7d0ff6dd26 Merge pull request #473 from sureshsundriyal/authors
[AUTHORS] Credit the newer contributors.
7 years ago
Suresh Sundriyal a9fb94df38 [AUTHORS] Credit the newer contributors. 7 years ago
Tim Stack 78d4ce3b3a Merge pull request #472 from sureshsundriyal/master
[command] Add a ':quit' command.
7 years ago
Suresh Sundriyal 150252e578 [command] Add a ':quit' command.
Add a ':quit' command and add ':q' as the alias for the
quit command.

Closes #470
7 years ago
Timothy Stack 283293e019 [tests] update expected output for default colors change 7 years ago
Tim Stack d4defbaaf7 Merge pull request #468 from konmeo/master
add config option to use default fg/bg colors
7 years ago
Timothy Stack e615805ac6 [cmds] remove completion for highlight after clearing
Fixes #465
7 years ago
Timothy Stack 689bcadc94 [time_fmts] add a default time format
Fixes #467
7 years ago
Kevin Pham 91b1e96263 update document with default-colors config option 7 years ago
Kevin Pham 52f78cfb75 add config option to use default fg/bg colors 7 years ago
Timothy Stack 485a931793 [headless] always switch to the DB view after executing a SQL command, even if the result set is empty 7 years ago
Tim Stack 3ff9265e0c Update NEWS
Add note for unicode change
7 years ago
Timothy Stack 5e4ca5bbed [test] comment out mvwattrline test for now 7 years ago
Timothy Stack f6e01e9ad0 [build] fix for last checkin 7 years ago
Timothy Stack 753e12d606 [unicode] do not clobber wide chars when applying attributes
Attempt to address #414
7 years ago
Timothy Stack 2e095fb03e [time] add a time format 7 years ago