Commit Graph

112 Commits (7bf42e7d2f215129dbecacf38e4d6362bc0f482b)

Author SHA1 Message Date
Tim Stack 3da4b85365 [cursor] use selection when switching between views and keeping time synced
Related to #1088
1 year ago
Tim Stack 1a1272bbfb [cursor] when the parser overlay is displayed, sync the selection and top
Related to #1088
1 year ago
Tim Stack 2ff9f63a79 [hotkeys] use selection instead of top in a few more places 1 year 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
Florian Münchbach b4e625030f Use cursor mode for 'LOG' and 'TEXT' view 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 a75d5c7cf3 Add hotkey binding for toggling the cursor mode 2 years ago
Florian Münchbach 7f8b031b83 Use selected line instead of top 2 years ago
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
2 years ago
Tim Stack 87791ec94b [markdown] add support for going to an anchor 2 years ago
Tim Stack c52615c424 [docs] start updating screenshots 2 years ago
Tim Stack 056754a926 [session] some improvements to session export 2 years ago
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
2 years ago
Timothy Stack 16d39f3fd9 [db] move the shared_buffer_ref out of logline_value 2 years ago
Timothy Stack e8f0b1e6b8 [secure-mode] some more restrictions 2 years ago
Timothy Stack 41754a8ec1 [session] add time_offset of files to session exports 2 years ago
Timothy Stack 812fa08055 [search-table] some more enhancements to search-tables 2 years ago
Timothy Stack 52fe2db376 [spectro] add a summary overlay to the selected position and show log messages in a panel 2 years ago
Timothy Stack d5b06fca5f [mark-expr] expression marks should count when showing elapsed time 2 years ago
Timothy Stack 906494ebfa [errors] try to improve some errors 2 years ago
Timothy Stack dfaeee7f44 [perf] fix some performance issues 2 years ago
Timothy Stack f03f9e704f [views] add a breadcrumb view 2 years ago
Timothy Stack a27198e8ca [regex101] add an integration with regex101
... and a pile of other changes
2 years ago
Timothy Stack 0785a432fa [console] colorize console output 2 years ago
Timothy Stack 1019714409 [rescan] automatically pop the text view when the last text file is promoted 3 years ago
Timothy Stack 531c35158c [tidy] some more tidying 3 years ago
Timothy Stack 99c1688c2e [attr_line] use variant instead of a union for attribute values 3 years ago
Timothy Stack 81e63784e7 [modernize] some more cleanups 3 years ago
Timothy Stack 6fff9d60f5 [build] some clang-tidy fixes 3 years ago
Timothy Stack 66ef5fdae1 [clang-format] init 3 years ago
Timothy Stack f6e245c04a [sql] jget() is not returning values with the right sqlite type 3 years ago
Timothy Stack db7173caec [views] fix some issues with empty views
Related to #908
3 years ago
Timothy Stack 03ce38b09f [bottom-status] make sure the search term is updated
Fixes #907
3 years ago
Timothy Stack b64342ca47 [log_format] display log_body for the body field instead of the format name and add :mark-expr command 3 years ago
Timothy Stack 92e20ffd51 [reltime] add support for weekdays and having timeslice() return NULL when a time is out-of-range 4 years ago
Timothy Stack cac1175973 [services] initial pass at injecting services and a bunch of other stuff 4 years ago
Timothy Stack 076d730fa2 [cleanup] some minor fixes 4 years ago
Timothy Stack 56bee6f4c9 [archive] remove old unpacked archives and a bunch of other stuff 4 years ago
Timothy Stack 32f112b8de [formats] add w3c extended log format impl
Fiexes #798
4 years ago
Timothy Stack 19e0624ab6 [debt] even more mem leaks
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 2aad7985a6 [build] opt build
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 8e629b166a [build] some more compiler profiling
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack db8a3c4d38 [debt] doing some cleanup
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack c22c78220c [text] hide text files 4 years ago
Timothy Stack 276f71423e [readline] add alternate enter command 4 years ago
Timothy Stack be106fcb8d [docs] add some more keymap/theme docs 4 years ago
Timothy Stack 815a05577e [keymap] suggest the config option to set for an unknown keystroke
Also, add a unicode green-check/red-X mark for the success/error
message for commands.
4 years ago
Timothy Stack 8734795505 [keymap] handle unicode keys and add UK keymap
Fixes #392
4 years ago
Timothy Stack 3da3ec799a [session] allow the name 4 years ago