Commit Graph

84 Commits (e952dc63401ff0d59ac27ac6a3d0d8ac878fd03b)

Author SHA1 Message Date
Tim Stack e952dc6340 [date_time_scanner] do not try to read millis if it is already set
Also, pay attention to the gmtoff when converting exttm to a timeval.

Fixes #1034
10 months ago
Suresh Sundriyal ec100cdc99 Remove redundant headers - 2
Remove redundant headers from:
  - listview_curses.{cc,hh}
  - top_status_source.{cc,hh}
  - vtab_module.{cc,hh}
  - sql_util.{cc,hh}

Also add the appropriate headers in:
  - log.watch.cc
  - log_format.cc
  - regexp_vtab.cc
10 months ago
Tim Stack 7c8d32308a [listview] scroll within overlay 10 months ago
Tim Stack a16a8cf3fa [log-annotations] add :annotate command 10 months ago
Tim Stack 29e2db5cc3 [textview] fix backwards search for cursor mode and mention it in FAQ
Related to #385
11 months ago
Tim Stack 4a24d8797f [sql] logline table was not checking if format matched the template line format
Some more cursor mode tweaks...
11 months ago
Tim Stack 1a1272bbfb [cursor] when the parser overlay is displayed, sync the selection and top
Related to #1088
12 months ago
Tim Stack f44e04d854 [cursor] some more fixes for the new cursor support
related to #1088
12 months ago
Tim Stack df80e75586 [overlay] try to fix issues between overlay and selection (related to #1088) 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.
1 year ago
Florian Münchbach 2b5c291a86 Revert 'cursor mode as default' 1 year ago
Florian Münchbach 2c3b76c936 Move the displayed 'fields' details view with the cursor line 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 e5f7e5c8c5 Make lines selectable by default. 2 years ago
Tim Stack 116b40f28c [bottom_status] fix out-of-bounds when with word-wrap
Related to #1058
2 years ago
Tim Stack 056754a926 [session] some improvements to session export 2 years ago
Timothy Stack 8b3b8a6e3c [perf] fix some text file loading issues 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 84ec014a8d [coverity] fix some issues found by coverity 2 years ago
Timothy Stack 31a670ce27 [md4c] initial markdown support 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 66ef5fdae1 [clang-format] init 2 years ago
Timothy Stack db7173caec [views] fix some issues with empty views
Related to #908
3 years ago
Timothy Stack 75ead0eb60 [ui] update status on keypress and delay rescan/rebuild 3 years ago
Timothy Stack f6128240ab [sql] add lnav_top_file() SQL function 3 years ago
Timothy Stack cac1175973 [services] initial pass at injecting services and a bunch of other stuff 3 years ago
Timothy Stack 63c31838eb [debt] fixing some more debt 3 years ago
Timothy Stack 6d0054d3b6 [logfile] refactor visibility 4 years ago
Timothy Stack 8e629b166a [build] some more compiler profiling
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack 51d1204a96 [arc] add content hash to archive temp dir and tech debt 4 years ago
Timothy Stack 0765c07010 [view] migrate view_action stuff to function objects 4 years ago
Timothy Stack db8a3c4d38 [debt] doing some cleanup
Defect Number:
    Reviewed By:
   Testing Done:
4 years ago
Timothy Stack df3df8369c [session] stages 4 years ago
Timothy Stack 56866d8a33 [config-ui] support for searching 4 years ago
Timothy Stack c22c78220c [text] hide text files 4 years ago
Timothy Stack dfd18a4be5 [view] add files view 4 years ago
Timothy Stack 0940e97b2b [nits] fix some naming issues
Fixes #169
4 years ago
Timothy Stack 5fff4d8784 [help] add some initial help text for search/SQL prompts
Also:
  * You can now "scroll out" of the visual editor to
    return to the main view.  This should alleviate the
    frustration of pressing up/down arrows thinking the
    main view should move but, really, you're stuck in
    the editor.
  * The three-dot-ellipsis for hidden fields has been
    replaced with a unicode vertical ellipsis so that
    less space is taken up.
5 years ago
Timothy Stack 814ad03ec9 [view] keep a history of view positions
Fixes #577
6 years ago
Timothy Stack 2345a32423 [filter] add panel that shows the set of filters
Initial version, still needs some cleanup
6 years ago
Timothy Stack 9664b015c6 [textview] preserve location in view when changing filters
Defect Number:
    Reviewed By:
   Testing Done:
6 years ago
Timothy Stack f65df7c762 [readline] tweak fuzzy matching threshold
Change the threshold for cutting off the remaining fuzzy matches
that was added for #541

Also, fix an error when filtering is added when viewing
the tail of the log.
6 years ago
Timothy Stack 4ccae48aea [bookmarks] add support for tags and comments for log lines
Initial work for #446 and #447
  TODO: filtering on tags/comments

Also did a bunch of clang-tidy cleanups and improvements to
the online help.
6 years ago
Timothy Stack ef34a6aaaf [search] display lines matching the search in preview instead of jumping to the first
Jumping around can be disruptive, instead show matches in
the preview window.
6 years ago
Timothy Stack f25980df03 [ui] rework the default colors change
The default colors change resulted in some parts of the lnav
UI being colored incorrectly.  I've reworked it a bit so that
the ansi color pairs are preserved and the default colors are
only used with the color pairs for roles.  I've also replaced
references to ansi colors with roles in a few places to make
things work consistently.
7 years ago
Timothy Stack 78119dc9f1 fixing some minor issues
Fixes #255
7 years ago
Timothy Stack 411ea1fbee [help] show help text for SQL functions
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 8776f6a703 [sql] do some minimal parsing/annotation of SQL statements
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago