Commit Graph

21 Commits

Author SHA1 Message Date
Timothy Stack
6be36eda19 [build] isdigit() instead of isnumber() 2021-01-08 20:48:54 -08:00
Timothy Stack
8235f9af5d [tests] try to make scripty output readable 2021-01-08 14:08:52 -08:00
Timothy Stack
f192cb7c3e [input_dispatcher] fix handling of unicode input
Fixes #791
2020-11-09 22:18:17 -08:00
Timothy Stack
63dba408ec [stdin] Keep the stdin piper file in .lnav so that it can be reopened
When piping the output of a program into lnav, the data would
be dumped to the terminal on exit so that it would not be
lost.  Since that is a bit noisy, the temp file used to store
the data is now left in .lnav so that it can be reopened later.
Older stdin captures are automatically removed after a day.

Also took the opportunity to start using filesystem::path more.

Fixes #436
2019-07-29 22:18:32 -07:00
Timothy Stack
ecb1af304d [view_curses] fix search highlights
Cleanup the styling code, never really redid it after
switching to use mvwin_wchnstr

Fixes #493
2018-04-02 08:02:41 -07:00
Phil Hord
3f7f80e32c Squash various compiler warnings
Unused-result from sensitive APIs, printf/scanf formatting types, set
but never used variables, and uninitialized variables.

Also there's one select(enum) that doesn't cover all cases.
2018-03-29 10:49:45 -07:00
Timothy Stack
283293e019 [tests] update expected output for default colors change 2017-10-01 21:05:47 -07:00
Suresh Sundriyal
bfee33b7fd Turn on 'sign-compare' error check for tests. 2015-04-05 00:23:25 -07:00
Suresh Sundriyal
e62172fb63 [-Wformat] Fix scripty.cc again.
Seems like timeval is defined differently on OS X than on Linux. So
fixing the format specifier on one breaks it on the other. Explicitly
cast the value being passed in to fix the problem on both the platforms.
2015-04-02 19:06:46 -07:00
Suresh Sundriyal
e359f8552a [-Wunused-result] Bunch of test files. 2015-04-02 13:44:27 -07:00
Suresh Sundriyal
c45496b593 [-Wformat] test/scripty.cc 2015-04-02 10:42:40 -07:00
Timothy Stack
b6baae7730 [debug] more debugging stuff
Defect Number:
    Reviewed By:
   Testing Done:
2014-03-06 06:58:49 -08:00
Timothy Stack
f62b5c271c [release] bump to 0.5.1 2013-05-02 23:02:03 -07:00
Timothy Stack
b68a1bba9b [test] some cleanup for tests and other things
Just a cleanup pass
2012-06-05 13:18:59 -07:00
Timothy Stack
443b2873a4 fix some warnings 2012-04-24 14:32:35 -07:00
Timothy Stack
a19faa885a [valgrind] Plug some more leaks and tweak a few things 2012-04-20 17:59:19 -06:00
Timothy Stack
e738619a54 [win build] fix curses autoconf stuff
The curses macro was out-of-date and needed to be updated to the latest and
greatest.
2012-04-17 08:16:41 -07:00
tstack
7a3650a711 fix some minor glitches, add idle_msecs column to log tables 2010-02-13 10:23:13 -08:00
tstack
c07ba8756f Freebsd build changes 2009-12-24 10:36:01 -08:00
Timothy Stack
2713f3564e always restore the termios before exiting 2009-10-08 17:33:59 -07:00
tstack
b4ec432515 first commit 2009-09-13 18:07:32 -07:00