Commit Graph

314 Commits

Author SHA1 Message Date
Timothy Stack
2c4b1d3886 [blog] add a screenshot of new error message 2022-05-01 22:54:28 -07:00
Timothy Stack
64d5ae4ad4 [docs] fix post meta 2022-05-01 15:45:37 -07:00
Timothy Stack
7cc55734a8 [docs] add some regex101 integration stuff 2022-05-01 15:42:13 -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
b69b3e4ec4 [docs] update links from lnav.readthedocs.io to docs.lnav.org 2022-04-12 16:33:09 -07:00
Timothy Stack
0785a432fa [console] colorize console output 2022-04-12 16:07:13 -07:00
Timothy Stack
81e63784e7 [modernize] some more cleanups 2022-03-31 08:59:33 -07:00
Timothy Stack
d0ba84d9be [build] run cmake-init and switch from hunter to conan for packages 2022-03-13 22:44:12 -07:00
Timothy Stack
0e23dcf4b5 [release] bump release number 2022-03-05 11:02:35 -08:00
Cristian Chiru
e2fe64e536 Fix for building on msys2; Closes #795 2022-02-20 01:35:40 +02:00
solsTiCe d'Hiver
62901ac89d
Mention the name of the remote binary file
To avoid surprise, just mention the name of the remote binary file that is written and deleted immediately.

Sometimes it is not deleted. (when ?)
2022-02-16 10:17:32 +01:00
Timothy Stack
43df8f75a2 [site] add goatcounter 2022-01-12 14:02:39 -08:00
Timothy Stack
8bb034eeeb [pcap] initial pcap support
Fixes #12
2021-11-05 15:13:16 -07:00
Timothy Stack
c52240a25d [pages] update version number 2021-10-28 09:22:08 -07:00
Timothy Stack
f33a9a580b [docs] add clipboard to the tuning section 2021-10-18 09:03:12 -07:00
Timothy Stack
19fd336e9a [formats] add logfmt 2021-10-02 23:17:33 -07:00
Timothy Stack
3c5b86b5ed [lnav.org] fix download link 2021-09-23 21:20:50 -07:00
Timothy Stack
d239bb4594 [vum/configmanager] make the clipboard commands configurable 2021-09-15 21:29:55 -07:00
Timothy Stack
107199cb7c [remote] clean up the cache 2021-09-10 21:01:25 -07:00
Timothy Stack
dd527cf6d4 [version] bump to v0.10.1 2021-09-08 14:43:16 -07:00
Timothy Stack
7eb1d17bef [files] highlight issues with opening files
Fixes #904
2021-08-27 22:37:10 -07:00
a1346054
e68be8f447 remove trailing whitespace 2021-08-25 11:21:07 +00:00
a1346054
f30ed34a22 fix spelling 2021-08-25 11:20:38 +00:00
Timothy Stack
b6cb1e6dda [blog] update v0.10.0 links 2021-08-09 22:18:40 -07:00
Timothy Stack
981bced044 [release] update download links 2021-08-05 21:59:37 -07:00
dependabot[bot]
943f243f3a
Bump addressable from 2.7.0 to 2.8.0 in /docs
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 05:30:06 +00:00
Timothy Stack
5f1dbac193 [site] add some links to beta release 2021-07-13 09:55:38 -07:00
Timothy Stack
6c6a5c11cc [docs] fix schema paths in the config docs 2021-07-07 09:47:15 -07:00
Timothy Stack
4a11b737df [blog] add post about the tailer 2021-06-24 22:22:10 -07:00
Timothy Stack
872b9411aa [site] fix copy-pasta for pretty print screen shot
Fixes #875
2021-06-22 09:16:50 -07:00
Timothy Stack
c13e78358e [blog] add a post about xpath() TVF 2021-06-21 02:44:48 -07:00
Timothy Stack
f5b866844d [blog] add post about themes 2021-06-19 21:51:19 -07:00
Tim Stack
bb35ac1471 Update CNAME 2021-06-19 12:58:39 -07:00
Timothy Stack
02167e2caf ops 2021-06-15 21:21:36 -07:00
Timothy Stack
08ba6c0914 [docs] add favicon 2021-06-15 09:42:48 -07:00
Timothy Stack
9138251355 [tailer] set the mtime on the synced file 2021-06-14 16:20:38 -07:00
Timothy Stack
3041dca1ed fix links 2021-06-12 22:33:22 -07:00
Timothy Stack
488397b41c [docs] disable link check 2021-06-12 22:29:52 -07:00
Timothy Stack
e07581c742 [docs] responsive grid 2021-06-12 22:07:02 -07:00
Timothy Stack
a9aac1f36b [docs] more stuff for lnav.org transition 2021-06-12 18:19:06 -07:00
Tim Stack
f571feaedc Create CNAME 2021-06-11 22:21:49 -07:00
Timothy Stack
b9a8ac7141 [docs] config tweaks 2021-06-11 22:09:39 -07:00
Timothy Stack
de86f4cce0 [docs] set baseurl 2021-06-11 22:02:13 -07:00
Timothy Stack
1d6ac461ba [docs] start to migrate lnav.org 2021-06-11 21:57:16 -07:00
Timothy Stack
4b6fb5ff18 [release] change version to v0.10.0 since there's a lot of stuff and some nits 2021-06-10 23:01:05 -07:00
Timothy Stack
b1adcdef36 [docs] add note about snap permissions 2021-06-08 21:37:13 -07:00
Timothy Stack
b2d296b5d3 [open] handle file names with colons
Fixes #863
2021-06-07 16:04:41 -07:00
Timothy Stack
d3d527d290 [tests] adding some more coverage 2021-06-02 21:09:50 -07:00
Timothy Stack
ed93eb71c0 [remote] add some docs and allow ssh command customization 2021-06-01 22:57:32 -07:00
Timothy Stack
46bafa1dea [remote] show progress during startup 2021-05-27 22:02:26 -07:00
Timothy Stack
be51a4e3de [arc/remote] use a single work directory for archive/remote files 2021-05-15 22:39:18 -07:00
Timothy Stack
e13816a8e3 [cmds] change :write-raw-to to copy the original log content and add :write-view-to command
Also added log_raw_text column to the log tables.

Fixes #859
2021-05-14 13:31:19 -07:00
Timothy Stack
d2b5690e0c [readline] improve filename completion 2021-05-13 19:50:04 -07:00
Timothy Stack
6ff3badc62 [docs] start a section on remote files 2021-05-04 15:50:26 -07:00
Nicolas Bock
97e8e6c87b
Fix schema reference
The schema should be `format` instead of `config`.

Signed-off-by: Nicolas Bock <nicolasbock@gmail.com>
2021-04-28 14:47:50 -06:00
Timothy Stack
3741985ee3 [format] allow leading slash in field names
Fixes #852
2021-04-16 14:47:47 -07:00
Timothy Stack
f4c5f42e87 [docs] add some links to the Sessions section 2021-03-30 14:30:57 -07:00
Timothy Stack
ef916a3fca [docs] ansi color table for themes 2021-03-30 14:12:09 -07:00
Timothy Stack
32bfd76cdb [logfile] allow max unrecognized lines to be tuned 2021-03-29 22:40:22 -07:00
Timothy Stack
d45d7d6c58 [docs] add report generation to cookbook 2021-02-25 15:47:36 -08:00
Timothy Stack
4d2691fa99 [docs] flesh out envvars a bit 2021-02-16 23:17:32 -08:00
Timothy Stack
8fa4cef1b5 [docs] try to fix css_files error 2021-02-15 22:51:43 -08:00
Timothy Stack
864168ec7f [docs] set version of Sphinx 2021-02-15 22:38:26 -08:00
Timothy Stack
f5c72736cb [docs] some more doc text 2021-02-14 22:44:14 -08:00
Timothy Stack
0f238f7972 [docs] add some more text to arch docs and other tweaks 2021-02-13 23:08:40 -08:00
Timothy Stack
f5e88b7158 [docs] add ARCHITECTURE.md and various other things 2021-02-13 12:41:48 -08:00
Timothy Stack
fa7f8cf3a7 [docs] some more cookbook text 2021-01-29 18:51:37 -08:00
Timothy Stack
2b9f4c6d3a [docs] start a cookbook 2021-01-24 21:49:06 -08:00
Timothy Stack
b5af750256 [docs] some doc updates 2021-01-24 14:35:14 -08:00
Timothy Stack
099b32b393 [version] bump to 0.9.1 2021-01-24 13:16:28 -08:00
Timothy Stack
32f112b8de [formats] add w3c extended log format impl
Fiexes #798
2020-12-05 21:51:46 -08:00
Timothy Stack
dbe252c70c [docs] some more doc stuff 2020-09-15 15:45:29 -07:00
Timothy Stack
be106fcb8d [docs] add some more keymap/theme docs 2020-09-13 23:03:23 -07:00
Timothy Stack
9773efd3a5 [keymap] add german keymap 2020-09-12 14:06:23 -07:00
Timothy Stack
f383af4d5f [build] try to fix RTD build 2020-09-09 22:54:05 -07:00
Timothy Stack
f3d172c831 [keymap] add a french keymap 2020-09-09 22:16:06 -07:00
Timothy Stack
8734795505 [keymap] handle unicode keys and add UK keymap
Fixes #392
2020-09-04 14:39:04 -07:00
Timothy Stack
82b34bb02a [config] remove :save-config 2020-09-03 14:09:35 -07:00
Timothy Stack
d6e1fd1f32 [release] change version to 0.9.0 2020-09-01 22:36:47 -07:00
Timothy Stack
e451c7c112 [docs] more usage notes
Defect Number:
    Reviewed By:
   Testing Done:
2020-08-24 22:50:48 -07:00
Timothy Stack
ae08c12aa0 [docs] some updates 2020-07-02 15:04:44 -07:00
Timothy Stack
d2b9d1cd1c [docs] fix overflow in log formats section 2020-05-22 21:32:49 -07:00
Timothy Stack
7a0cb4359c [docs] fix lexing of lnav commands 2020-05-18 22:21:24 -07:00
Timothy Stack
9c3f0eee89 [build] fix cmake build and lexing of sqlite in docs
Defect Number:
    Reviewed By:
   Testing Done:
2020-05-18 07:10:07 -07:00
Timothy Stack
e85fff0b88 [sql] add json_concat() function and misc fixes 2020-05-17 22:23:30 -07:00
Timothy Stack
468a5ea5d2 [docs] fix json-ptr ref 2020-05-15 11:02:46 -07:00
Timothy Stack
e3ac0e5825 [build] missing doc package 2020-05-15 10:41:09 -07:00
Timothy Stack
adb18eeea3 [build] try to fix doc build 2020-05-15 10:38:28 -07:00
Timothy Stack
9cbe4d73a9 [docs] start to flesh out command and sql docs 2020-05-15 07:38:40 -07:00
Timothy Stack
defb00303f [docs] some changes 2020-05-13 09:38:41 -07:00
Timothy Stack
8413dd13d8 [config] add configs directory 2020-05-07 07:08:59 -07:00
Timothy Stack
3da3ec799a [session] allow the name 2020-04-25 07:32:05 -07:00
Timothy Stack
0744a9b6de [docs] mention the view tables
Defect Number:
    Reviewed By:
   Testing Done:
2020-04-21 21:04:03 -07:00
Timothy Stack
d5373abeb4 [sql] bind $LINES/$COLS variables to the size of the window
Fixes #698
2020-04-21 06:20:25 -07:00
Timothy Stack
441833ac23 [build] bump version numbers 2020-04-20 22:50:57 -07:00
Timothy Stack
cd3b9bbb71 [docs] start a CLI options page 2019-08-20 07:21:41 -07:00
Timothy Stack
e442f84e80 [textview] pause loading of files by pressing =
Fixes #670
2019-07-30 06:28:42 -07:00
Timothy Stack
06d1098211 [config] initial support for themes
For #422

Still more to do
2019-05-03 13:50:19 -07:00
Timothy Stack
c4b950e4d9 bump version to v0.8.5-rc1 2019-03-15 22:13:18 -07:00
Timothy Stack
469124d72b [time-offset] fixes
Defect Number:
    Reviewed By:
   Testing Done:
2019-03-12 07:06:31 -07:00
Timothy Stack
4a7d116f37 [docs] expand the collate format field a little more 2019-02-06 22:40:07 -08:00
Timothy Stack
153b59ea8a [status] some fixes for the bottom status bar
Fixes #603
Fixes #578
2019-02-05 07:30:57 -08:00
Timothy Stack
3d77fb2acf [cmds] change :write-raw-to to write all the lines in the view
Fixes #606
2019-01-29 07:30:37 -08:00
Timothy Stack
31c440777f [hotkeys] add ctrl+f to toggle filters
Fixes #604
2019-01-27 08:05:44 -08:00
Timothy Stack
0c2f84a3c0 [hotkeys] press 7/8 for previous/next minute
Fixes #382
2019-01-25 07:45:17 -08:00
Timothy Stack
814ad03ec9 [view] keep a history of view positions
Fixes #577
2018-12-14 06:18:56 -08:00
Timothy Stack
5c6cc5fe2a [readline] pressing escape should exit the command prompt
Fixes #316
2018-11-15 06:43:28 -08:00
Timothy Stack
aa0bfd6c62 [sql] add a spooky_hash() function
Fixes #567
2018-11-13 20:55:04 -08:00
Timothy Stack
ec82ecda62 [filter] display the number of filters 2018-11-10 22:55:08 -08:00
Timothy Stack
2345a32423 [filter] add panel that shows the set of filters
Initial version, still needs some cleanup
2018-11-09 09:45:19 -08:00
Timothy Stack
ac7ae1275a [cmds] add :redirect-to command for redirecting the output of commands in scripts
Related to #551
2018-10-12 07:12:35 -07:00
Timothy Stack
db6c619e4e [keymap] support for /dev/clipboard in :write commands
The copy hotkey is now implemented in the keymap and the
':write-*' commands were enhanced to recognize /dev/clipboard
as a special file name for writing to the system clipboard.
2018-09-30 09:49:23 -07:00
Timothy Stack
def35d1ae7 [release] version bump to v0.8.4
Defect Number:
    Reviewed By:
   Testing Done:
2018-08-27 07:23:13 -07:00
Timothy Stack
b1ff6b3a3b [json-log] fix some inconsistencies with json logs
Fill some gaps brought up in #535
2018-08-21 11:10:03 -07:00
Timothy Stack
bc8e51914a [hotkey] the "P" hotkey was not toggling the view
Fixes #522
2018-06-07 06:26:07 -07:00
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.
2018-05-17 07:06:50 -07:00
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.
2018-03-28 07:25:10 -07:00
Timothy Stack
8257f188cb [hotkeys] change the filename hotkey to left/right arrow 2018-03-27 22:11:57 -07:00
Adam Spiers
9ffbc1ac46 make '.' toggle prefixing each log line with filename
Mostly addresses #277.  I won't claim it fully closes it, because there
are at least two ways it could be improved:

1. It doesn't draw a nice coloured divider in the column after the
   filename, and that would provide maximum visual clarity and
   consistency with the existing presentation.

2. It would be nice if the filenames weren't shown on every single line,
   but only on the first line of a contiguous chunk of log lines from a
   single file (or on the top line of the screen if the first line of
   the chunk was already scrolled off the top).

3. It doesn't yet include the filename in the text copied to the
   clipboard when the 'c' hotkey is pressed.
2018-03-27 16:07:56 -07:00
Timothy Stack
4694cabd05 update year 2018-03-23 06:45:09 -07:00
Timothy Stack
74f24fcf4c bump version numbers 2018-01-23 20:17:38 -08:00
Timothy Stack
74b58ed9fc [highlights] allow the highlight color to be specified in log formats
Defect Number:
    Reviewed By:
   Testing Done:
2017-12-29 06:51:09 -08:00
Suresh Sundriyal
150252e578 [command] Add a ':quit' command.
Add a ':quit' command and add ':q' as the alias for the
quit command.

Closes #470
2017-10-17 21:36:58 -07:00
Kevin Pham
91b1e96263 update document with default-colors config option 2017-09-15 11:06:21 -07:00
Timothy Stack
371e79ff3d [log_format] allow external logs to specify that they are not time-ordered 2017-04-25 05:58:10 -07:00
Timothy Stack
8ea51a6fd8 [formats] support for CSV/TSV log formats
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-23 07:11:21 -07:00
Timothy Stack
fea3cb83d9 [sql] preview table definition
Defect Number:
    Reviewed By:
   Testing Done:
2017-04-09 01:57:19 -07:00
Timothy Stack
df399a36a4 [docs] some more docs, command-help, and tests for #428 2017-04-06 23:05:20 -07:00
Timothy Stack
2f44f1e861 [ptime] add %N time format for nanoseconds 2017-04-05 10:19:47 -07:00
Timothy Stack
78119dc9f1 fixing some minor issues
Fixes #255
2017-04-05 07:05:19 -07:00
Timothy Stack
6fcfd35395 [sql] add "search" column to the lnav_views table
Fixes #388
2017-03-26 07:28:08 -07:00
Timothy Stack
c0684a97cc [sql] add a regexp_capture tablue-valued function
Fixup the release makefile a bit.
2017-03-15 17:01:58 -07:00
Timothy Stack
c180c44e49 [vtab] add an lnav_view_stack table to get programmatic access to the view stack
More progress towards #377
2017-03-04 15:22:19 -08:00
Timothy Stack
1a87184c82 [log] allow parts of log messages to be hidden
Fixes #412
2017-02-23 06:15:44 -08:00
Adam Spiers
d93178f879 fix 'conifg' typo 2016-12-19 16:01:37 +00:00
Timothy Stack
44d93dddc3 [pretty-print] allow formats to do transforms before pretty-printing
Also started upgrading to C++11.

Fixes #353
2016-12-05 16:34:30 -08:00
Victor Hooi
ae42f97ba0 Add Ctrl-W display shortcut for word-wrap.
This is mentioned in the lnav 0.6.2 release notes:

http://lnav.org/blog/2013/11/10/word-wrap-support-in-v062

But doesn't appear to be mentioned elsewhere.
2016-11-07 17:39:02 +11:00
Timothy Stack
a59e0b290e [format] allow json log fields to be hidden
Fixes #303
2016-10-29 06:52:12 -07:00
Timothy Stack
876b37ade0 [log-format] add "truncate" overflow value 2016-08-22 23:28:14 -07:00
Timothy Stack
c05dfafae8 [log-format] abbreviate long fields when formatting JSON logs
Fixes #340
2016-08-22 06:45:27 -07:00
Timothy Stack
9ee18c26d3 [log-format] add min-width and align options to line-format
Also some fixes for validating the format definitions.

Fixes #338
2016-08-21 21:34:52 -07:00
Timothy Stack
41854cf637 [json-log] custom date formats
Fixes #341
2016-08-18 22:15:35 -07:00
Timothy Stack
82f970c09e [config] add a config option to control A_DIM for text
Fixes #298
2016-05-01 20:35:37 -07:00
Suresh Sundriyal
e4ef35e652 [commands] Remove eval from the list of sandboxed commands. 2016-04-23 11:18:01 -07:00
Suresh Sundriyal
88833c8035 [commands] Read and honor the 'LNAVSECURE' environment variable.
Read the value of the 'LNAVSECURE' environment variable upfront and
store it in the lnav_data structure. When this variable is set prior to
the binary execution, the following commands are disabled:

* 'open'
* 'pipe-to'
* 'pipe-line-to'
* 'write-*-to'

This is a proposed fix for tstack/lnav#305.
2016-04-23 10:34:17 -07:00
Timothy Stack
efc74a5a0e [docs] some minor doc updates 2016-04-05 06:22:25 -07:00
Timothy Stack
fdc2748e3e [spectro] add a spectrogram view that works with known message fields 2016-03-20 15:15:50 -07:00
Timothy Stack
2d04d047e4 [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 2016-03-10 06:03:32 -08:00
Timothy Stack
d4a69cbf22 no joy
Revert "[sql] change extract() to regexp_match() and make extract() an interface to the data_parser"

This reverts commit 85eee6514b.
2016-03-09 23:30:34 -08:00
Timothy Stack
85eee6514b [sql] change extract() to regexp_match() and make extract() an interface to the data_parser 2016-03-09 23:14:54 -08:00