Commit Graph

2967 Commits

Author SHA1 Message Date
Tim Stack
c3abaee445 [log/text-views] reload selectable config
Related to #1088
2023-04-29 16:38:29 -07:00
Tim Stack
822eaf5a1a [json_log] auto detect the required width for a column
Related to #1146
2023-04-29 16:13:42 -07:00
Tim Stack
cd59577324
Merge pull request #1147 from FlorianMuenchbach/feature/cursor-mode-tests
Some test cases for listview behavior in cursor mode
2023-04-28 11:49:01 -07:00
Tim Stack
de0cccd2b2
Merge pull request #1152 from tstack/dependabot/bundler/docs/nokogiri-1.14.3
Bump nokogiri from 1.14.2 to 1.14.3 in /docs
2023-04-28 11:47:29 -07:00
dependabot[bot]
895bb963a3
Bump nokogiri from 1.14.2 to 1.14.3 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 18:46:36 +00:00
Tim Stack
f2a0c8f21c [logfile] include microseconds when converting timestamps
Mentioned in #1145

Also, fix the field hiding issue mentioned in #1146
2023-04-28 11:37:24 -07:00
Florian Münchbach
1b250cc124 Add test input files to Makefile 2023-04-25 21:38:53 +02:00
Florian Münchbach
4d7f929d9a Add test cases for cursor mode 2023-04-23 17:49:59 +02:00
Florian Münchbach
ea5d59e7e2 Use set_selection instead set_top in listview driver 2023-04-23 15:53:15 +02:00
Florian Münchbach
6c642abad6 Prefix selected line in listview driver output with '+' 2023-04-23 15:53:15 +02:00
Florian Münchbach
e7a4e388a2 Add command options for cursor mode and key 'press' input to listview driver 2023-04-23 15:53:15 +02:00
Tim Stack
add3982d2e
Merge pull request #1144 from kbdharun/master
CI (workflows): bump actions version, fix Node 12 deprecation warning in action runs
2023-04-09 21:09:34 -07:00
K.B.Dharun Krishna
3024d929db
tailer-ape.yml: bump actions/checkout to v3 2023-04-09 21:48:32 +05:30
K.B.Dharun Krishna
91c30c9c76
coverity.yml: bump actions/checkout to v3 2023-04-09 21:48:05 +05:30
K.B.Dharun Krishna
e3b8c56098
c-cpp.yml: bump actions version to v3 (Node 16) 2023-04-09 21:45:45 +05:30
Tim Stack
44b564681b [format_loader] catch invalid format names
Fixes #1122
2023-04-05 22:52:55 -07:00
Tim Stack
a2f076a967 [test_sql_str_func] disable url test that is dependent on the curl version 2023-04-03 00:40:04 -07:00
Tim Stack
3862ba8ac1 [tests] fix file path 2023-03-31 12:37:45 -07:00
Tim Stack
70dee8a747 [ci] try to fix some test failures 2023-03-31 12:11:26 -07:00
Tim Stack
65b0d78143 [log_format/json] appending an empty string can trigger an assert
Fixes #1132
2023-03-31 11:30:59 -07:00
Tim Stack
db1fc92fdd [ansi] missed resizing a buffer when scrubbing ansi
Fixes #1135
2023-03-30 22:06:19 -07:00
Tim Stack
5ad75f156a [build] try to fix CI for test that uses a syslog logfile 2023-03-30 21:31:39 -07:00
Tobias Gruetzmacher
7e320b591e
Add example bunyan logfile
Taken directly from a live renovate instance.
2023-03-24 15:29:21 +01:00
Tobias Gruetzmacher
d675a8d10e
Add support for the bunyan JSON log format
See https://github.com/trentm/node-bunyan
2023-03-23 14:42:17 +01:00
Tim Stack
33a80db95c
Merge pull request #1125 from tstack/dependabot/bundler/docs/commonmarker-0.23.8
Bump commonmarker from 0.23.6 to 0.23.8 in /docs
2023-03-04 08:13:20 -08:00
dependabot[bot]
6bb1f7c0b6
Bump commonmarker from 0.23.6 to 0.23.8 in /docs
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker) from 0.23.6 to 0.23.8.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases)
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.6...v0.23.8)

---
updated-dependencies:
- dependency-name: commonmarker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-04 16:01:57 +00:00
Tim Stack
71d22e6567
Merge pull request #1124 from tstack/dependabot/bundler/docs/nokogiri-1.14.2
Bump nokogiri from 1.13.9 to 1.14.2 in /docs
2023-03-03 19:18:59 -08:00
dependabot[bot]
1fbdebb713
Bump nokogiri from 1.13.9 to 1.14.2 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.9 to 1.14.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.9...v1.14.2)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-04 03:16:25 +00:00
Tim Stack
082658a71e [docs] mention log file name behavior
Mentioned in #1123
2023-03-03 19:14:53 -08:00
Tim Stack
9118bb0f00
Merge pull request #1113 from nodiscc/doc-override
doc: provide an example of overriding only the error detection regexp for a format
2023-02-04 20:56:35 -08:00
nodiscc
7268513a27
[docs] formats: provide an example of overriding only the error detection regexp for a format
- fixes https://github.com/tstack/lnav/issues/733
2023-01-23 15:18:55 +01:00
nodiscc
1b19fdca95
[docs] formats are loaded from both /etc/lnav/formats and ~/.lnav/formats/ 2023-01-23 15:18:44 +01:00
Tim Stack
be42ebf686
Merge pull request #1112 from thesamesam/gcc-13
Fix build with GCC 13 (add missing <cstdint> include)
2023-01-22 08:25:59 -08:00
Sam James
e25d3e3c69
Fix build with GCC 13 (add missing <cstdint> include)
GCC 13 (as usual for new compiler releases) shuffles around some
internal includes and so <cstdint> is no longer transitively included.

Explicitly include <cstdint> for uint32_t.

Signed-off-by: Sam James <sam@gentoo.org>
2023-01-21 18:11:20 +00:00
Tim Stack
8d17561c76 [docs] mention logfmt in the features page 2023-01-06 09:27:23 -08:00
Tim Stack
3e7a75c00b [capture] don't save any empty stdin 2022-12-27 20:58:29 -08:00
Tim Stack
5266054af0 [config] fix location of crash logs
During some refactoring, I messed up the crash file location
2022-12-27 20:54:11 -08:00
Tim Stack
f34a5cf589 [docs] update docs for half page hotkeys 2022-12-21 15:45:59 -08:00
Tim Stack
b92663b38a [hotkeys] add ctrl-d/ctrl-u hotkeys for moving by half a page
Also fixed a bug that caused the bottom status line to
be updated with the wrong line number.

Related to #945
2022-12-21 15:37:31 -08:00
Tim Stack
2c981dbe25 [filter-panel] only add filter-expr possibilities for the log view 2022-12-21 14:55:55 -08:00
Tim Stack
df80e75586 [overlay] try to fix issues between overlay and selection (related to #1088) 2022-12-19 21:32:49 -08:00
Tim Stack
fe50ba8f9b change en_US.utf-8 to en_US.UTF-8
related to #1089
2022-12-15 21:43:15 -08:00
Tim Stack
a56cee67e6 [view-cursor] support for theming of the cursor line (#1088)
Add a role for the cursor line so that it can be themed.
The role is now optionally applied in textviews, which
fixes issues with other textviews having the wrong
selection highlight (e.g. filters, breadcrumb menus)

Still need to fix some issues with overlays...
2022-12-15 21:32:50 -08:00
Tim Stack
9a323ffe84
Merge pull request #1092 from padenot/patch-2
Fix typo in the tutorial presentation page
2022-12-15 08:21:22 -08:00
Paul Adenot
09d4c9b2c1
Fix typo in the tutorial presentation page
"in" was missing from a sentence.
2022-12-15 15:17:14 +01:00
Tim Stack
2062c7003b [views_vtab] add a movement column to lnav_views and other stuff (related to #1088)
I've plumbed the "movement" control through the lnav_views table
so that it can be controlled through the keymap definition instead
of hard-coded in hotkeys.cc.  (Trying to move most stuff out of
there...)

Removed listview_curses::lv_displayed_rows since it seemed to
cause some glitchy behavior when moving to the last line.

Call invoke_scroll() when changing the selection and change the
bottom status to reflect the selected line instead of just the
top.  Also, changing the selectability should set "needs update".

Change more commands to use the selection instead of the top.
2022-12-14 21:52:24 -08:00
Tim Stack
12d70f9996 [config] add missing enum terminator
the terminator is needed in the enum_value_t array

(I should really make it a real container...)
2022-12-14 20:48:53 -08:00
Tim Stack
3990517fcb
Merge pull request #1090 from FlorianMuenchbach/feature/cursor-mode
Feature/cursor mode
2022-12-14 20:33:45 -08:00
Tim Stack
ba20be0c12
Merge pull request #1085 from aj-bagwell/master
[pcre2] don't add PRCE2_HOME to the search path if it is empty
2022-12-14 20:32:53 -08:00
tstack
6bde93e886 Update tailer 2022-12-14 17:04:59 +00:00