mirror of https://github.com/tstack/lnav.git
Compare commits
8 Commits
v0.11.1-rc
...
master
Author | SHA1 | Date |
---|---|---|
Tim Stack | 8acb688693 | |
dependabot[bot] | a36c99cb73 | |
Tim Stack | cb55f588ec | |
Tim Stack | 33f0cc51b9 | |
Tim Stack | d36bb61f3e | |
Timothy Stack | 48798076c1 | |
Tim Stack | 8391de3ad6 | |
Tim Stack | 016bca01db |
|
@ -8,7 +8,7 @@ assignees: ''
|
|||
---
|
||||
|
||||
**lnav version**
|
||||
v0.11.0 is the latest
|
||||
v0.11.1 is the latest
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
|
|
@ -11,7 +11,7 @@ The following options are available for installing **lnav**:
|
|||
## Linux
|
||||
|
||||
<!-- markdown-link-check-disable-next-line -->
|
||||
Download a [statically linked 64-bit binary](https://github.com/tstack/lnav/releases/download/v{{site.version}}/lnav-{{site.version}}-musl-64bit.zip).
|
||||
Download a [statically linked 64-bit binary](https://github.com/tstack/lnav/releases/download/v{{site.version}}/lnav-{{site.version}}-x86_64-linux-musl.zip).
|
||||
|
||||
Install from the [Snap Store](https://snapcraft.io/lnav):
|
||||
|
||||
|
@ -22,7 +22,7 @@ $ sudo snap install lnav
|
|||
## MacOS
|
||||
|
||||
<!-- markdown-link-check-disable-next-line -->
|
||||
Download a [statically linked 64-bit binary](https://github.com/tstack/lnav/releases/download/v{{site.version}}/lnav-{{site.version}}-os-x.zip)
|
||||
Download a [statically linked 64-bit binary](https://github.com/tstack/lnav/releases/download/v{{site.version}}/lnav-{{site.version}}-x86_64-macos.zip)
|
||||
|
||||
Install using [Homebrew](https://formulae.brew.sh/formula/lnav):
|
||||
|
||||
|
|
|
@ -211,9 +211,9 @@ GEM
|
|||
jekyll-feed (~> 0.9)
|
||||
jekyll-seo-tag (~> 2.1)
|
||||
minitest (5.16.3)
|
||||
nokogiri (1.13.8-arm64-darwin)
|
||||
nokogiri (1.13.9-arm64-darwin)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.13.8-x86_64-linux)
|
||||
nokogiri (1.13.9-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
octokit (4.25.1)
|
||||
faraday (>= 1, < 3)
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
# in the templates via {{ site.myvariable }}.
|
||||
|
||||
title: The Logfile Navigator
|
||||
version: 0.11.0
|
||||
version: 0.11.1
|
||||
email: support@lnav.org
|
||||
description: >- # this means to ignore newlines until "baseurl:"
|
||||
The Logfile Navigator, lnav for short, is an advanced log file viewer
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
VERSION=0.11.1
|
||||
|
||||
VERSION_TAG=v$(VERSION)-rc1
|
||||
VERSION_TAG=v$(VERSION)
|
||||
|
||||
SRC_VERSION=master
|
||||
|
||||
|
@ -70,6 +70,7 @@ osx-build:
|
|||
|
||||
osx-package: clean-outbox osx-build
|
||||
mkdir -p osx-pkg/lnav-${VERSION}
|
||||
git pull --rebase
|
||||
cp ../README ../NEWS.md osx-pkg/lnav-${VERSION}
|
||||
cp osx-build-dir/src/lnav osx-pkg/lnav-${VERSION}
|
||||
cp osx-build-dir/lnav-${VERSION}.tar.gz outbox/
|
||||
|
|
|
@ -251,7 +251,6 @@ public:
|
|||
metadata walk()
|
||||
{
|
||||
metadata_builder mb;
|
||||
data_token_t dt = DT_INVALID;
|
||||
size_t garbage_count = 0;
|
||||
|
||||
while (garbage_count < 1000) {
|
||||
|
@ -260,6 +259,7 @@ public:
|
|||
break;
|
||||
}
|
||||
|
||||
auto dt = tokenize_res->tr_token;
|
||||
element el(tokenize_res->tr_token, tokenize_res->tr_capture);
|
||||
|
||||
switch (dt) {
|
||||
|
|
|
@ -210,6 +210,7 @@ CREATE TABLE lnav_file (
|
|||
loo.loo_include_in_session = true;
|
||||
this->lf_collection.fc_file_names[path] = std::move(loo);
|
||||
lf->set_filename(path);
|
||||
this->lf_collection.regenerate_unique_file_names();
|
||||
|
||||
init_session();
|
||||
load_session();
|
||||
|
|
|
@ -45,7 +45,7 @@ detect_text_format(string_fragment sf,
|
|||
static const auto MARKDOWN_EXT = ghc::filesystem::path(".markdown");
|
||||
|
||||
static const auto MAN_MATCHERS = lnav::pcre2pp::code::from_const(
|
||||
R"(^[A-Z]+\(\d\)\s+)", PCRE2_MULTILINE);
|
||||
R"(^[A-Za-z][A-Za-z\-_\+0-9]+\(\d\)\s+)", PCRE2_MULTILINE);
|
||||
|
||||
// XXX This is a pretty crude way of detecting format...
|
||||
static const auto PYTHON_MATCHERS = lnav::pcre2pp::code::from_const(
|
||||
|
|
|
@ -51,6 +51,10 @@
|
|||
"color": "Silver",
|
||||
"background-color": "Teal"
|
||||
},
|
||||
"scrollbar": {
|
||||
"color": "Black",
|
||||
"background-color": "Silver"
|
||||
},
|
||||
"focused": {
|
||||
"color": "Black",
|
||||
"background-color": "Silver"
|
||||
|
|
|
@ -60,6 +60,10 @@
|
|||
"color": "$black",
|
||||
"background-color": "Grey37"
|
||||
},
|
||||
"scrollbar": {
|
||||
"color": "$black",
|
||||
"background-color": "$white"
|
||||
},
|
||||
"h1": {
|
||||
"underline": true
|
||||
},
|
||||
|
|
|
@ -68,6 +68,10 @@
|
|||
"color": "$base00",
|
||||
"background-color": "$base3"
|
||||
},
|
||||
"scrollbar": {
|
||||
"color": "$black",
|
||||
"background-color": "$white"
|
||||
},
|
||||
"h1": {
|
||||
"underline": true
|
||||
},
|
||||
|
|
|
@ -4,23 +4,23 @@
|
|||
"theme-defs": {
|
||||
"solarized-dark": {
|
||||
"vars": {
|
||||
"base03": "#002b36",
|
||||
"base02": "#073642",
|
||||
"base01": "#586e75",
|
||||
"base00": "#657b83",
|
||||
"base0": "#839496",
|
||||
"base1": "#93a1a1",
|
||||
"base2": "#eee8d5",
|
||||
"base3": "#fdf6e3",
|
||||
"black": "#002b36",
|
||||
"yellow": "#b58900",
|
||||
"orange": "#cb4b16",
|
||||
"red": "#dc322f",
|
||||
"magenta": "#d33682",
|
||||
"violet": "#6c71c4",
|
||||
"blue": "#268bd2",
|
||||
"cyan": "#2aa198",
|
||||
"green": "#859900",
|
||||
"base03": "#002b36",
|
||||
"base02": "#073642",
|
||||
"base01": "#586e75",
|
||||
"base00": "#657b83",
|
||||
"base0": "#839496",
|
||||
"base1": "#93a1a1",
|
||||
"base2": "#eee8d5",
|
||||
"base3": "#fdf6e3",
|
||||
"black": "#002b36",
|
||||
"yellow": "#b58900",
|
||||
"orange": "#cb4b16",
|
||||
"red": "#dc322f",
|
||||
"magenta": "#d33682",
|
||||
"violet": "#6c71c4",
|
||||
"blue": "#268bd2",
|
||||
"cyan": "#2aa198",
|
||||
"green": "#859900",
|
||||
"semantic_highlight_color": "semantic()"
|
||||
},
|
||||
"styles": {
|
||||
|
@ -69,6 +69,10 @@
|
|||
"color": "$base00",
|
||||
"background-color": "$base3"
|
||||
},
|
||||
"scrollbar": {
|
||||
"color": "$base03",
|
||||
"background-color": "$base0"
|
||||
},
|
||||
"focused": {
|
||||
"color": "$base03",
|
||||
"background-color": "$base01"
|
||||
|
|
|
@ -4,23 +4,23 @@
|
|||
"theme-defs": {
|
||||
"solarized-light": {
|
||||
"vars": {
|
||||
"base03": "#002b36",
|
||||
"base02": "#073642",
|
||||
"base01": "#586e75",
|
||||
"base00": "#657b83",
|
||||
"base0": "#839496",
|
||||
"base1": "#93a1a1",
|
||||
"base2": "#eee8d5",
|
||||
"base3": "#fdf6e3",
|
||||
"black": "#002b36",
|
||||
"yellow": "#b58900",
|
||||
"orange": "#cb4b16",
|
||||
"red": "#dc322f",
|
||||
"magenta": "#d33682",
|
||||
"violet": "#6c71c4",
|
||||
"blue": "#268bd2",
|
||||
"cyan": "#2aa198",
|
||||
"green": "#859900",
|
||||
"base03": "#002b36",
|
||||
"base02": "#073642",
|
||||
"base01": "#586e75",
|
||||
"base00": "#657b83",
|
||||
"base0": "#839496",
|
||||
"base1": "#93a1a1",
|
||||
"base2": "#eee8d5",
|
||||
"base3": "#fdf6e3",
|
||||
"black": "#002b36",
|
||||
"yellow": "#b58900",
|
||||
"orange": "#cb4b16",
|
||||
"red": "#dc322f",
|
||||
"magenta": "#d33682",
|
||||
"violet": "#6c71c4",
|
||||
"blue": "#268bd2",
|
||||
"cyan": "#2aa198",
|
||||
"green": "#859900",
|
||||
"semantic_highlight_color": "semantic()"
|
||||
},
|
||||
"styles": {
|
||||
|
@ -69,6 +69,10 @@
|
|||
"color": "$base00",
|
||||
"background-color": "$base3"
|
||||
},
|
||||
"scrollbar": {
|
||||
"color": "$base3",
|
||||
"background-color": "$base00"
|
||||
},
|
||||
"focused": {
|
||||
"color": "$base03",
|
||||
"background-color": "$base01"
|
||||
|
|
|
@ -125,6 +125,7 @@ DESCRIPTION
|
|||
|
||||
auto meta = lnav::document::discover_structure(INPUT, line_range{0, -1});
|
||||
|
||||
CHECK(meta.m_sections_root->hn_named_children.size() == 3);
|
||||
meta.m_sections_tree.visit_all([](const auto& intv) {
|
||||
auto ser = intv.value.match(
|
||||
[](const std::string& name) { return name; },
|
||||
|
|
Loading…
Reference in New Issue