Timothy Stack
d1da7b800c
[ptime] fix %p and %l
2018-05-28 08:15:42 -07:00
Timothy Stack
6bfd158e49
[logline] check for SQL keywords in column names
2018-05-27 07:59:24 -07:00
Timothy Stack
b94571c58e
[build] fixes...
2018-05-25 06:43:35 -07:00
Timothy Stack
5689984702
[yajlpp] use pointer to member over nullobj()
2018-05-25 06:32:01 -07:00
Timothy Stack
9e1411f113
[ptime] fix am/pm issue again
...
Fixes #520
2018-05-23 08:31:05 -07:00
Timothy Stack
5e0dabb231
[ptime] fix offset in failed parse for a few cases
2018-05-22 22:38:01 -07:00
Timothy Stack
030c33476c
[sql] fix some copy pasta
2018-05-22 09:00:42 -07:00
Timothy Stack
2070c669de
[ptime] fix PM offset
...
Fixes #517
2018-05-22 07:14:37 -07:00
Timothy Stack
a741236c76
[sql] missed a null check on log_time in vt_filter
...
Fixes #518
2018-05-22 06:45:54 -07:00
Timothy Stack
36d5ff8b86
[lo-fi] display fixes
...
Fixes #513
Fixes #516
2018-05-18 22:11:40 -07:00
Timothy Stack
ab2980f5dd
[build] remove meta-sessions test dir
2018-05-17 07:37:58 -07:00
Timothy Stack
f3d37cd4d6
[build] json_contains issue
2018-05-17 07:19:38 -07:00
Timothy Stack
4ccae48aea
[bookmarks] add support for tags and comments for log lines
...
Initial work for #446 and #447
TODO: filtering on tags/comments
Also did a bunch of clang-tidy cleanups and improvements to
the online help.
2018-05-17 07:06:50 -07:00
Timothy Stack
b8fc956677
[search-table] match against the whole line and not just the body
2018-05-10 07:34:38 -07:00
Timothy Stack
7fb881222d
[pretty] highlight log messages in the pretty view as in the normal log view
2018-05-10 06:44:03 -07:00
Timothy Stack
697d22705d
[generic_log] include more of the line in the body for a generic log message
2018-05-06 07:23:53 -07:00
Timothy Stack
c83c31fb65
[sql-view] use A_REVERSE with graphable column names since it's hard to see the color otherwise
2018-05-06 06:53:11 -07:00
Tim Stack
a8d675344f
Merge pull request #512 from MonokelPinguin/fix-musl-build-issues
...
Fix some build issues with musl as libc
2018-04-27 07:38:38 -07:00
Nicolas Werner
5594120f1a
Use CTRL macro from readline instead of CEOF from ttydefaults.h
...
The ttydefaults.h header is not available on musl. Readline provides the
same functionality with its CTRL macro and it makes the intent of the
code a bit clearer (that we check for CTRL-D).
2018-04-26 14:54:25 +02:00
Nicolas Werner
f15add0abb
Don't dereference FILE*
...
This is undefined behavour and doesn't work on musl
2018-04-26 14:51:50 +02:00
Timothy Stack
3293388165
[generic_log] allow optional stars at the front of the log messages
2018-04-20 07:43:11 -07:00
Timothy Stack
873fc4dc2e
[logfile_sub_source] handle closed file
2018-04-13 10:03:05 -07:00
Tim Stack
c5824acb55
Merge pull request #509 from emilianobonassi/master
...
[fmt] add AWS Application Load Balancer (ELB v2) format
2018-04-11 06:42:50 -07:00
Emiliano Bonassi
37f46af7a6
[fmt] add AWS Application Load Balancer (ELB v2) format
2018-04-11 14:22:23 +02:00
Timothy Stack
809159140c
[unique_path] fix an infinite loop when files rolled
2018-04-09 21:16:15 -07:00
Timothy Stack
af36896f50
[sanitize] some fixes for issues found in the address sanitizer
2018-04-09 08:20:24 -07:00
Timothy Stack
a4faac4628
[tests] update drive_mvwattrline
2018-04-04 08:00:25 -07:00
Timothy Stack
e001d87862
[view_curses] fix for multiple tabs
2018-04-04 07:57:13 -07:00
Timothy Stack
7c5fc44f7d
[view_curses] fix highlighting when a line contains unicode
...
Take into account unicode codepoint lengths when adjusting
attribute ranges
2018-04-04 07:41:09 -07:00
Timothy Stack
db0d2fc231
[view_curses] fix graphics rendering
2018-04-03 07:57:04 -07:00
Timothy Stack
9f91d3b447
[log-view] display the unique parts of the file name instead of just the base
...
Instead of just displaying the base name of the file, try to include some
additional parts of the path that make a unique string.
2018-04-03 07:36:09 -07:00
Timothy Stack
2ed99695a2
[data_parser] fix for empty list
2018-04-02 14:20:26 -07:00
Timothy Stack
1ed0ff7e0f
[pretty-print] check if lines are XML before indenting them as such
...
Also, update the scanner for changes to re2c
2018-04-02 13:25:07 -07:00
Timothy Stack
5268872d1e
[build] oops
2018-04-02 08:10:14 -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
Timothy Stack
6b9ca15f21
[tests] update expected output
2018-03-30 22:01:55 -07:00
Timothy Stack
0a8b740807
Return early if json parsing fails
...
Fixes #505
2018-03-30 17:14:26 -07:00
Timothy Stack
e4432cfdeb
[tests] fix an issue with the last commit
2018-03-29 13:45:59 -07:00
Tim Stack
6e0bb175e9
Merge pull request #508 from phord/cleanup-warnings
...
Cleanup warnings
2018-03-29 13:22:34 -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
Phil Hord
eee7d0ddfc
Squash a bunch of signed/unsigned warnings
2018-03-29 10:49:38 -07:00
Phil Hord
5a20829ed4
dynamic exception specifications are deprecated in C++11
...
Remove exception specifications to appease modern compilers and reduce
warning counts.
I sort of hate to remove all these exception-decls, but they are in fact
deprecated, and my compiler loves to complain.
2018-03-29 10:43:44 -07:00
Phil Hord
121be1a558
Add updated definition to squash warning
...
_BSD_SOURCE is deprecated and using it emits warnings unless you also
define _DEFAULT_SOURCE. Let's define _DEFAULT_SOURCE.
2018-03-29 10:20:20 -07:00
Timothy Stack
87cbab1ac3
[index] do a full sort if new lines have a timestamp before the last indexed
2018-03-29 07:32:57 -07:00
Timothy Stack
ef34a6aaaf
[search] display lines matching the search in preview instead of jumping to the first
...
Jumping around can be disruptive, instead show matches in
the preview window.
2018-03-28 07:25:10 -07:00
Timothy Stack
36932b148d
[hotkeys] cleanup the last commit
2018-03-28 05:35:37 -07:00
Timothy Stack
8257f188cb
[hotkeys] change the filename hotkey to left/right arrow
2018-03-27 22:11:57 -07:00
Tim Stack
4760765c1d
Merge pull request #507 from phord/toggle-filenames
...
Toggle filenames attribute fixes
2018-03-27 21:08:30 -07:00
Phil Hord
95e294decb
fix failing unit test
...
The help output changed with the toggle-filenames option, but
the test for help wasn't updated.
Maybe the help needs to be updated a bit to include the two
filename column modes, now that I think about it. But we should
discuss the merits of that first, I suppose.
2018-03-27 16:36:57 -07:00
Phil Hord
4d4ac9b8b0
Add another filename mode to show file path
...
Add a separate BASENAME bit to distinguish from the FILENAME bit.
When BASENAME is active show the base filename in the filename column.
When FILENAME is active show the whole path for each filename. Cycle
through the three modes with toggle_filename() still. Note that we are
never in both FILENAME and BASENAME mode.
The user can cycle through the three modes by pressing the hotkey an
extra time. First press shows the basename, second press shows the full
path (filename), and the third press hides the filename column again.
2018-03-27 16:07:56 -07:00