Commit Graph

1865 Commits (2062c7003b9c6033eb9e72cd49d59f698e0b0ec5)

Author SHA1 Message Date
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
tstack 6bde93e886 Update tailer 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
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
Florian Münchbach a75d5c7cf3 Add hotkey binding for toggling the cursor mode 2 years ago
Florian Münchbach a8a668b40a Make the highlighting of the selected line more visible 2 years ago
Florian Münchbach 7f8b031b83 Use selected line instead of top 2 years ago
Florian Münchbach e5f7e5c8c5 Make lines selectable by default. 2 years ago
Florian Münchbach 1f9c08856f Highlight the selected line in text view. 2 years ago
Tim Stack cb55f588ec [themes] add missing scrollbar style
Fixes #1074
2 years ago
micttyl 1dfce25c56
Make build work on FreeBSD
Otherwise the build fails at the type checking
2 years ago
Tim Stack 8391de3ad6 [data_scanner] fix DT_H1 detection
Fix a broken refactor
2 years ago
Tim Stack 057be8c66d [lint] fix some coverity/clang-tidy issues 2 years ago
Tim Stack faeaf477ab [yajlpp] flesh things out a bit more 2 years ago
Tim Stack 468358a358 [port] one more endianness change 2 years ago
Tim Stack 3b1233be8f [port] hopefully the last endian issue 2 years ago
Tim Stack 9ff1daf032 [port] more endianness stuff 2 years ago
Tim Stack 5a70e62003
Merge pull request #1068 from sureshsundriyal/endianness
[Endianness] Make SpookyHash endianness-agnostic.
2 years ago
Tim Stack 9eb734ef7e [log_format] support for a separate sub-second field 2 years ago
Suresh Sundriyal 071ec72586 [Endianness] More code to make Spookyhash endianness-agnostic. 2 years ago
Suresh Sundriyal e2cddf28b2 [Endianness] Make SpookyHash endianness-agnostic.
Try and make SpookyHash endianness-agnostic using macros copied from:
https://github.com/k0dai/spookyhash
2 years ago
Tim Stack e135cf3334 [result] try to fix type conversion on s390x 2 years ago
Tim Stack e1e6ca30eb
Merge pull request #1067 from FaffeF/swedish-keyboard
Swedish keymap
2 years ago
Fredrik Forsell 59f3af535d Delete missing keymap from keymaps.am 2 years ago
Fredrik Forsell e310a18d7c Move mac specific binding to main sv keymap 2 years ago
Tim Stack f7b067db42 [ryml] remove unnecessary include that is triggering a compile error on some archs 2 years ago
Fredrik Forsell 8f8be6fd20 Clean up defaults, add mac layout
Remove items that are the same as the default keymap

Adds a Swedish Mac layout because shift-4 is not the same as on a
Windows keyboard
2 years ago
Fredrik Forséll 91a03b7b86
Update keymaps.am to include Swedish layout 2 years ago
Fredrik Forséll 6aba246bf3
Create keymap for Swedish keyboard layout
Avoids problems with shift-numbers etc
2 years ago
Tim Stack b86d272c29 [view_curses] remove fallback arg in to_attrs() 2 years ago
Tim Stack bddc6011ff [ansi] fix perf bug in eraser
Related to #1057
2 years ago
Tim Stack 07c57dae08 [json-log] change how lines that do not start with a curly are reported 2 years ago
Tim Stack 094b45f7ca [nits] minor fixes 2 years ago
Tim Stack d11b90bc6f [build] try to fix win build 2 years ago
Tim Stack 871ad1ad12 [dist] missed cleaning some files 2 years ago
Tim Stack 0fd9845580 [tests] test_tailer tweaks 2 years ago