Commit Graph

3033 Commits

Author SHA1 Message Date
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
Tim Stack
e2527513df [docs] try to fix horiz scrolling
related to #1091
2022-12-14 09:04:12 -08:00
Florian Münchbach
ef48a95f55 Update config schema with new movement options 2022-12-11 22:12:12 +01:00
Florian Münchbach
b4e625030f Use cursor mode for 'LOG' and 'TEXT' view 2022-12-11 22:12:12 +01:00
Florian Münchbach
bd81c4382d Add configuration option for cursor movement 2022-12-11 22:12:09 +01:00
Florian Münchbach
2b5c291a86 Revert 'cursor mode as default' 2022-12-11 21:46:19 +01:00
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.
2022-12-11 21:44:23 +01:00
Florian Münchbach
d9dc1e9c7f Set selection to current view's top when toggling cursor mode 2022-12-11 20:16:52 +01:00
Florian Münchbach
572ed130aa Disable highlighting of selected line if not in cursor mode 2022-12-04 16:41:29 +01:00
Florian Münchbach
d996335abd Use setter instead of directly modifying selection variable 2022-12-04 12:30:44 +01:00
Florian Münchbach
2c3b76c936 Move the displayed 'fields' details view with the cursor line 2022-12-04 12:28:25 +01:00
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.
2022-11-29 11:07:32 +00:00
Tim Stack
9034bc2c76
Merge pull request #1079 from f9z/f9z-add-hhmmss.f-format
Add %H:%M:%S.%f format
2022-11-10 11:11:59 -08:00
Tim Stack
9e780e667b
Merge pull request #1072 from micttyl/patch-2
Make build work on FreeBSD
2022-11-10 11:11:26 -08:00
Tim Stack
554918b96c [goto] fix error reporting issue
Fixes #1078
2022-11-08 13:57:43 -08:00
f9z
2abcb358bc
Update time_formats.am 2022-11-06 16:07:23 +01:00
f9z
573fee227a
Update CMakeLists.txt 2022-11-06 16:05:27 +01:00
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.
2022-11-06 10:24:32 +01:00
Florian Münchbach
a75d5c7cf3 Add hotkey binding for toggling the cursor mode 2022-11-01 21:33:47 +01:00
Florian Münchbach
a8a668b40a Make the highlighting of the selected line more visible 2022-11-01 21:33:47 +01:00
Florian Münchbach
7f8b031b83 Use selected line instead of top 2022-11-01 21:33:47 +01:00
Florian Münchbach
e5f7e5c8c5 Make lines selectable by default. 2022-11-01 21:33:47 +01:00
Florian Münchbach
1f9c08856f Highlight the selected line in text view. 2022-11-01 21:33:47 +01:00
Tim Stack
8acb688693
Merge pull request #1077 from tstack/dependabot/bundler/docs/nokogiri-1.13.9
Bump nokogiri from 1.13.8 to 1.13.9 in /docs
2022-10-31 11:01:40 -07:00
dependabot[bot]
a36c99cb73
Bump nokogiri from 1.13.8 to 1.13.9 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.8 to 1.13.9.
- [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.8...v1.13.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 17:05:11 +00:00
Tim Stack
cb55f588ec [themes] add missing scrollbar style
Fixes #1074
2022-10-31 09:35:01 -07:00
micttyl
1dfce25c56
Make build work on FreeBSD
Otherwise the build fails at the type checking
2022-10-16 03:12:26 -07:00
Tim Stack
33f0cc51b9 [site] fix download links 2022-10-11 13:07:39 -07:00
Tim Stack
d36bb61f3e [release] final version bumps 2022-10-10 20:49:05 -07:00
Timothy Stack
48798076c1 [release] update tag 2022-10-10 20:12:58 -07:00
Tim Stack
8391de3ad6 [data_scanner] fix DT_H1 detection
Fix a broken refactor
2022-10-06 21:02:33 -07:00
Tim Stack
016bca01db [release] pull before doing osx build 2022-10-06 10:53:35 -07:00
Tim Stack
f4e67df114 [release] bump sqlite version 2022-10-06 09:12:29 -07:00
Tim Stack
057be8c66d [lint] fix some coverity/clang-tidy issues 2022-10-05 12:28:29 -07:00
Tim Stack
faeaf477ab [yajlpp] flesh things out a bit more 2022-10-04 21:17:01 -07:00