Commit Graph

2850 Commits (8ab65d8e90c513f1869536ceaefd72001c3009ac)
 

Author SHA1 Message Date
Tim Stack 3862ba8ac1 [tests] fix file path 1 year ago
Tim Stack 70dee8a747 [ci] try to fix some test failures 1 year ago
Tim Stack 65b0d78143 [log_format/json] appending an empty string can trigger an assert
Fixes #1132
1 year ago
Tim Stack db1fc92fdd [ansi] missed resizing a buffer when scrubbing ansi
Fixes #1135
1 year ago
Tim Stack 5ad75f156a [build] try to fix CI for test that uses a syslog logfile 1 year ago
Tobias Gruetzmacher 7e320b591e
Add example bunyan logfile
Taken directly from a live renovate instance.
1 year ago
Tobias Gruetzmacher d675a8d10e
Add support for the bunyan JSON log format
See https://github.com/trentm/node-bunyan
1 year ago
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
1 year ago
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>
1 year ago
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
1 year ago
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>
1 year ago
Tim Stack 082658a71e [docs] mention log file name behavior
Mentioned in #1123
1 year ago
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
1 year ago
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
1 year ago
nodiscc 1b19fdca95
[docs] formats are loaded from both /etc/lnav/formats and ~/.lnav/formats/ 1 year ago
Tim Stack be42ebf686
Merge pull request #1112 from thesamesam/gcc-13
Fix build with GCC 13 (add missing <cstdint> include)
1 year ago
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>
1 year ago
Tim Stack 8d17561c76 [docs] mention logfmt in the features page 1 year ago
Tim Stack 3e7a75c00b [capture] don't save any empty stdin 2 years ago
Tim Stack 5266054af0 [config] fix location of crash logs
During some refactoring, I messed up the crash file location
2 years ago
Tim Stack f34a5cf589 [docs] update docs for half page hotkeys 2 years ago
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
2 years ago
Tim Stack 2c981dbe25 [filter-panel] only add filter-expr possibilities for the log view 2 years ago
Tim Stack df80e75586 [overlay] try to fix issues between overlay and selection (related to #1088) 2 years ago
Tim Stack fe50ba8f9b change en_US.utf-8 to en_US.UTF-8
related to #1089
2 years ago
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...
2 years ago
Tim Stack 9a323ffe84
Merge pull request #1092 from padenot/patch-2
Fix typo in the tutorial presentation page
2 years ago
Paul Adenot 09d4c9b2c1
Fix typo in the tutorial presentation page
"in" was missing from a sentence.
2 years ago
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.
2 years ago
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...)
2 years ago
Tim Stack 3990517fcb
Merge pull request #1090 from FlorianMuenchbach/feature/cursor-mode
Feature/cursor mode
2 years ago
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
2 years ago
tstack 6bde93e886 Update tailer 2 years ago
Tim Stack e2527513df [docs] try to fix horiz scrolling
related to #1091
2 years ago
Florian Münchbach ef48a95f55 Update config schema with new movement options 2 years ago
Florian Münchbach b4e625030f Use cursor mode for 'LOG' and 'TEXT' view 2 years ago
Florian Münchbach bd81c4382d Add configuration option for cursor movement 2 years ago
Florian Münchbach 2b5c291a86 Revert 'cursor mode as default' 2 years ago
Florian Münchbach 56bb730bb4 Only reposition selection if not in view
This sets the selection to top if 'above' current top and to bottom if
'below' current bottom.
Feels a lot more natural that way.
2 years ago
Florian Münchbach d9dc1e9c7f Set selection to current view's top when toggling cursor mode 2 years ago
Florian Münchbach 572ed130aa Disable highlighting of selected line if not in cursor mode 2 years ago
Florian Münchbach d996335abd Use setter instead of directly modifying selection variable 2 years ago
Florian Münchbach 2c3b76c936 Move the displayed 'fields' details view with the cursor line 2 years ago
AJ Bagwell c431ba904c [pcre2] don't add PRCE2_HOME to the search path if it is empty
This used to add -L/lib to LDFLAGS which was not an issue unless
you are cross compiling and then it may detect PCRE features based
on the host PCRE not the target one.
2 years ago
Tim Stack 9034bc2c76
Merge pull request #1079 from f9z/f9z-add-hhmmss.f-format
Add %H:%M:%S.%f format
2 years ago
Tim Stack 9e780e667b
Merge pull request #1072 from micttyl/patch-2
Make build work on FreeBSD
2 years ago
Tim Stack 554918b96c [goto] fix error reporting issue
Fixes #1078
2 years ago
f9z 2abcb358bc
Update time_formats.am 2 years ago
f9z 573fee227a
Update CMakeLists.txt 2 years ago
Florian Münchbach e426a63731 Allow only visible log rows being selected
This solves the issue of the cursor going out of the visible screen
area. Wrapped rows were previously counted as single row but displayed
as multiple which led to the problem.
2 years ago