Commit Graph

126 Commits

Author SHA1 Message Date
Tim Stack
53b0a606d6 [textview] try to preserve textview location better when reloading 2024-03-05 20:32:20 -08:00
Tim Stack
6736a8db81 [log_format] don't rely on the opid being in the displayed message itself
Related to #1212
2024-01-04 22:30:31 -08:00
Tim Stack
bab9f8dd9e [hotkeys] fix 'R' hotkey issue
set_top() was called instead of set_selection()

Mentioned in #1193
2023-10-06 13:29:43 -07:00
Tim Stack
37eb9cfa36 [listview] fix a couple of glitches with the selection 2023-09-03 07:43:19 -07:00
Tim Stack
29d0af47cb [keymap] half-page up near the top should go to zero
Some performance improvements
2023-08-30 20:20:21 -07:00
Tim Stack
01c973868d [file_collection] handle large file counts better 2023-08-28 22:43:33 -07:00
Tim Stack
dd8a23ad51 [ansi_scrubber] handle unknown sequences
... and many other tweaks.
2023-08-24 21:10:54 -07:00
Tim Stack
c464827737 [views_vtab] programmatic control of the overlay toggle 2023-08-15 16:34:33 -07:00
Tim Stack
d13a6e8b2d [overlay] fix some overlay issues 2023-08-15 07:28:44 -07:00
Tim Stack
cc445cc78f [listview] use ctrl-] to focus on overlays 2023-08-15 06:21:06 -07:00
Tim Stack
6e1a664286 [iwyu] more include cleanup 2023-08-05 22:26:00 -07:00
Tim Stack
5787f47767 [piper] replace piper_proc with a thread
Related to #1029
2023-07-06 20:05:30 -07:00
Tim Stack
4a24d8797f [sql] logline table was not checking if format matched the template line format
Some more cursor mode tweaks...
2023-06-23 23:03:23 -07:00
Tim Stack
8da3dcc01c [listview] when making big moves, put the focused row in the middle
Related to #1088 and #1149
2023-06-23 09:10:33 -07:00
Tim Stack
3da4b85365 [cursor] use selection when switching between views and keeping time synced
Related to #1088
2023-06-22 12:55:37 -07:00
Tim Stack
1a1272bbfb [cursor] when the parser overlay is displayed, sync the selection and top
Related to #1088
2023-06-22 08:56:29 -07:00
Tim Stack
2ff9f63a79 [hotkeys] use selection instead of top in a few more places 2023-06-15 22:13:21 -07: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
Florian Münchbach
b4e625030f Use cursor mode for 'LOG' and 'TEXT' view 2022-12-11 22:12:12 +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
a75d5c7cf3 Add hotkey binding for toggling the cursor mode 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
Tim Stack
e0ecbdff10 [logfile] improve handling of ansi escapes
I think this covers the rest of the functionality
that needs to deal with ansi escapes.

Related to #1057
2022-09-19 20:15:35 -07:00
Tim Stack
87791ec94b [markdown] add support for going to an anchor 2022-08-28 18:55:32 -07:00
Tim Stack
c52615c424 [docs] start updating screenshots 2022-08-07 10:00:34 -07:00
Tim Stack
056754a926 [session] some improvements to session export 2022-08-03 10:55:18 -07:00
Timothy Stack
8ef581177c [line_buffer] add some performance counters for tracking SQL perf
Also, check for keyboard input during SQL execution
so we can cancel.

Fixes #894
2022-07-27 21:49:14 -07:00
Timothy Stack
16d39f3fd9 [db] move the shared_buffer_ref out of logline_value 2022-07-24 23:29:46 -07:00
Timothy Stack
e8f0b1e6b8 [secure-mode] some more restrictions 2022-07-21 23:30:49 -07:00
Timothy Stack
41754a8ec1 [session] add time_offset of files to session exports 2022-07-21 15:44:30 -07:00
Timothy Stack
812fa08055 [search-table] some more enhancements to search-tables 2022-07-05 21:46:12 -07:00
Timothy Stack
52fe2db376 [spectro] add a summary overlay to the selected position and show log messages in a panel 2022-07-05 11:06:37 -07:00
Timothy Stack
d5b06fca5f [mark-expr] expression marks should count when showing elapsed time 2022-06-29 11:04:37 -07:00
Timothy Stack
906494ebfa [errors] try to improve some errors 2022-06-22 22:53:52 -07:00
Timothy Stack
dfaeee7f44 [perf] fix some performance issues 2022-06-03 19:17:00 -07:00
Timothy Stack
f03f9e704f [views] add a breadcrumb view 2022-05-10 21:58:32 -07:00
Timothy Stack
a27198e8ca [regex101] add an integration with regex101
... and a pile of other changes
2022-04-30 13:06:01 -07:00
Timothy Stack
0785a432fa [console] colorize console output 2022-04-12 16:07:13 -07:00
Timothy Stack
1019714409 [rescan] automatically pop the text view when the last text file is promoted 2022-04-04 21:54:20 -07:00
Timothy Stack
531c35158c [tidy] some more tidying 2022-04-03 22:10:20 -07:00
Timothy Stack
99c1688c2e [attr_line] use variant instead of a union for attribute values 2022-03-31 23:21:59 -07:00
Timothy Stack
81e63784e7 [modernize] some more cleanups 2022-03-31 08:59:33 -07:00
Timothy Stack
6fff9d60f5 [build] some clang-tidy fixes 2022-03-25 16:38:11 -07:00
Timothy Stack
66ef5fdae1 [clang-format] init 2022-03-16 15:38:08 -07:00
Timothy Stack
f6e245c04a [sql] jget() is not returning values with the right sqlite type 2021-09-09 22:22:52 -07:00
Timothy Stack
db7173caec [views] fix some issues with empty views
Related to #908
2021-09-07 21:08:01 -07:00
Timothy Stack
03ce38b09f [bottom-status] make sure the search term is updated
Fixes #907
2021-08-26 09:11:30 -07:00
Timothy Stack
b64342ca47 [log_format] display log_body for the body field instead of the format name and add :mark-expr command 2021-05-13 22:00:26 -07:00
Timothy Stack
92e20ffd51 [reltime] add support for weekdays and having timeslice() return NULL when a time is out-of-range 2021-03-21 08:53:21 -07:00