Compare commits

...

8 Commits

Author SHA1 Message Date
Tim Stack 8acb688693
Merge pull request #1077 from tstack/dependabot/bundler/docs/nokogiri-1.13.9
Bump nokogiri from 1.13.8 to 1.13.9 in /docs
2022-10-31 11:01:40 -07:00
dependabot[bot] a36c99cb73
Bump nokogiri from 1.13.8 to 1.13.9 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.8 to 1.13.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.8...v1.13.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 17:05:11 +00:00
Tim Stack cb55f588ec [themes] add missing scrollbar style
Fixes #1074
2022-10-31 09:35:01 -07:00
Tim Stack 33f0cc51b9 [site] fix download links 2022-10-11 13:07:39 -07:00
Tim Stack d36bb61f3e [release] final version bumps 2022-10-10 20:49:05 -07:00
Timothy Stack 48798076c1 [release] update tag 2022-10-10 20:12:58 -07:00
Tim Stack 8391de3ad6 [data_scanner] fix DT_H1 detection
Fix a broken refactor
2022-10-06 21:02:33 -07:00
Tim Stack 016bca01db [release] pull before doing osx build 2022-10-06 10:53:35 -07:00
14 changed files with 66 additions and 43 deletions

View File

@ -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.

View File

@ -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):

View File

@ -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)

View File

@ -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

View File

@ -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/

View File

@ -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) {

View File

@ -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();

View File

@ -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(

View File

@ -51,6 +51,10 @@
"color": "Silver",
"background-color": "Teal"
},
"scrollbar": {
"color": "Black",
"background-color": "Silver"
},
"focused": {
"color": "Black",
"background-color": "Silver"

View File

@ -60,6 +60,10 @@
"color": "$black",
"background-color": "Grey37"
},
"scrollbar": {
"color": "$black",
"background-color": "$white"
},
"h1": {
"underline": true
},

View File

@ -68,6 +68,10 @@
"color": "$base00",
"background-color": "$base3"
},
"scrollbar": {
"color": "$black",
"background-color": "$white"
},
"h1": {
"underline": true
},

View File

@ -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"

View File

@ -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"

View File

@ -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; },