Timothy Stack
0765c07010
[view] migrate view_action stuff to function objects
4 years ago
Timothy Stack
9d87cfa2f0
[debt] more tech debt
4 years ago
Timothy Stack
56866d8a33
[config-ui] support for searching
4 years ago
Timothy Stack
7b77a612c2
[files] make file scanning async
4 years ago
Timothy Stack
dfd18a4be5
[view] add files view
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
a2b3427502
[tests] add tests for SQL annotation functionality
4 years ago
Timothy Stack
1269654617
fix SQL prompt help lookup
...
Fixes #748
4 years ago
Timothy Stack
8413dd13d8
[config] add configs directory
4 years ago
Timothy Stack
3da3ec799a
[session] allow the name
4 years ago
Timothy Stack
e6590e94e2
[highlight] fix highlights
...
Fix #667
5 years ago
Timothy Stack
02c53976b4
Some refactoring for the line buffer and other cleanups
...
Fixes #649
5 years ago
Timothy Stack
fb7d6eafaf
[build] some refactoring of files
5 years ago
Timothy Stack
06d1098211
[config] initial support for themes
...
For #422
Still more to do
5 years ago
Timothy Stack
062d480fea
[sql] fix some issues found while trying to query some logs
6 years ago
Timothy Stack
e0ee2c6706
Fixes #613
6 years ago
Timothy Stack
85671755d3
[readline] fix alignment in SQL help
...
related to #598
6 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.
6 years ago
Timothy Stack
1a08eb0d12
[cmds] allow commands to set the prompt
...
Fixes #574 and #573
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
ac7ae1275a
[cmds] add :redirect-to command for redirecting the output of commands in scripts
...
Related to #551
6 years ago
Timothy Stack
5f5e2d5c4e
[cleanup] prune some includes and some other cleaning
...
Defect Number:
Reviewed By:
Testing Done:
6 years ago
Timothy Stack
f241704a93
[readline] do a fuzzy match if the prefix match fails to find anything
...
Prototype for #541
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
Phil Hord
3f7f80e32c
Squash various compiler warnings
...
Unused-result from sensitive APIs, printf/scanf formatting types, set
but never used variables, and uninitialized variables.
Also there's one select(enum) that doesn't cover all cases.
7 years ago
Phil Hord
eee7d0ddfc
Squash a bunch of signed/unsigned warnings
7 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.
7 years ago
Phil Hord
1ae4a04e42
Replace mkstemp with std::tmpfile
...
TMPDIR is not always defined in the environment but the code doesn't check
for that. Let's used std::tmpfile instead.
Maybe an easier fix is to perform the tmpdir lookup better, but that is
also noisy since the search for a decent tmpdir is based on lore.
std::tmpfile() is rather clean. However it does not leave a nice filename
name around for debugging, so I understand why it might not be preferred.
Fixes #495
7 years ago
Timothy Stack
7f99955cbc
[misc] fix a perf issue when previewing commands and some sql fixes
7 years ago
Suresh Sundriyal
0c88eeeb07
Fix lnav builds on OpenBSD.
...
* Remove all the wordexp related unused headers and code.
* stdout does not appear to be reassignable on OpenBSD.
* defining _WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ seems to fix the const
correctness related redefinitions between wchar.h imported from
the system libc and the one imported by clang++ STL.
7 years ago
Timothy Stack
16fd7ec785
[help] remove old command help and add some more filesystem extensions
8 years ago
Timothy Stack
085ea321ea
show some more preview
8 years ago
Timothy Stack
bbf8bdc4ec
[search-table] highlight the captured text for preview
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
fea3cb83d9
[sql] preview table definition
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
914f4cf4bb
[filter-out] show a preview of the filter effects by highlighting matches in red
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
78119dc9f1
fixing some minor issues
...
Fixes #255
8 years ago
Timothy Stack
00ebd10d71
[cmds] do a dry-run of a command to check for errors
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
411ea1fbee
[help] show help text for SQL functions
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
8776f6a703
[sql] do some minimal parsing/annotation of SQL statements
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
0b157ff867
[sql] add function adapter template
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
c180c44e49
[vtab] add an lnav_view_stack table to get programmatic access to the view stack
...
More progress towards #377
8 years ago
Timothy Stack
89f8ef9c2b
[hotkeys] hotkey configuration
...
First steps to implementing #350
8 years ago
Timothy Stack
44d93dddc3
[pretty-print] allow formats to do transforms before pretty-printing
...
Also started upgrading to C++11.
Fixes #353
8 years ago
Timothy Stack
a7a03470d7
[search] fix a typo in the timeval compare operator
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
4de576fba7
[search] after a search has been entered, move to the first hit if one is found quickly
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
8de5d3b749
[logfile] add more options when opening files
9 years ago
Timothy Stack
2b2e1c0af9
[sql] add parens to function complete values and do not open empty output files from scripts
9 years ago
Timothy Stack
cdd43549ab
[cmds] automatically capture echo/write output from scripts so they can generate reports
...
Add another example script, dhclient-summary.
Add a 'search-table' section to formats so you can automatically
define a search-based table.
9 years ago
Timothy Stack
f81d4aefd8
[logview] some more work on highlighting out-of-time-order messages
9 years ago
Timothy Stack
a2b381ca19
[config] initial impl with clock-format as the only option at the moment
9 years ago
Timothy Stack
e5f786bc2c
[script] add metadata to script files
9 years ago
Timothy Stack
e07b4e448f
[exec] add a prompt to execute lnav scripts
9 years ago
Timothy Stack
2b5447f59c
[sql] add a log_search table
9 years ago
Timothy Stack
cc5e70fb30
[cmd] add help to the command prompt
9 years ago
Timothy Stack
7679599afc
fix a refactor error
9 years ago
Timothy Stack
6b971ccd66
move stuff out of lnav.cc
...
Defect Number:
Reviewed By:
Testing Done:
9 years ago