Commit Graph

122 Commits

Author SHA1 Message Date
Denis Isidoro
3ed1f0dd55 Dec-10 06h30: Cargo.toml 2023-12-10 06:30:45 -03:00
zjp
ea95dfec48 Fix preview: handle Windows NT UNC paths (\\?\C:\foo) 2023-05-13 22:44:13 +08:00
zjp
818d5cdc0e rm env_logger; use tracing instead 2023-05-12 19:13:50 +08:00
zjp
d1699dfaf1 introduce use env_logger
related to https://github.com/denisidoro/navi/issues/576

For the following config

cheats:
  paths:
    - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat
    - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat

navi now gets incorrect paths on Windows, since the seperator `:` for
path join is a valid component.

[2023-05-12T08:58:26Z DEBUG navi::commands::core] Filesystem(
        Some(
            "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat",
        ),
    )
[2023-05-12T08:58:28Z DEBUG navi::filesystem] filesystem::Fetcher = Fetcher {
        path: Some(
            "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat",
        ),
        files: RefCell {
            value: [],
        },
    }
2023-05-12 17:01:49 +08:00
Utkarsh Gupta
21f93c84b1
Use XDG conventions on macOS too 2023-04-24 19:41:06 +05:30
Denis Isidoro
efa09974a8
Bump to 2.22.1 (#826) 2023-04-09 10:10:35 -03:00
Denis Isidoro
a72add9d80
Bump to 2.22.0 (#823) 2023-04-08 21:45:38 -03:00
Denis Isidoro
8963749e6a
Correctly calculate character widths (#820) 2023-04-08 20:53:25 -03:00
Denis Isidoro
b56d70a6ca
Use dns_common library (#818) 2023-04-08 19:38:50 -03:00
Denis Isidoro
8cf9c96e54
Update dependencies (#817) 2023-04-08 19:28:42 -03:00
TD-Sky
f0f8e83f06 Upgrade clap to 4.2.1 2023-04-04 17:49:16 +08:00
Denis Isidoro
ebb02e28ec
Refactor code base (#760) 2022-07-28 20:11:42 -03:00
dependabot[bot]
7666484ee4
Bump crossterm from 0.23.2 to 0.24.0 (#750)
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.23.2 to 0.24.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits/0.24)

---
updated-dependencies:
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 08:18:55 -03:00
dependabot[bot]
4a3aac37d9
Bump clap from 3.2.6 to 3.2.8 (#748)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 20:31:45 -03:00
dependabot[bot]
484615af1c
Bump serde from 1.0.137 to 1.0.138 (#749)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 20:31:36 -03:00
dependabot[bot]
5e71a13b9b
Bump clap from 3.2.1 to 3.2.6 (#747)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.1 to 3.2.6.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v3.2.1...v3.2.6)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 20:08:23 -03:00
dependabot[bot]
275a2cbdd9
Bump anyhow from 1.0.57 to 1.0.58 (#743)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.57...1.0.58)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 07:00:39 -03:00
dependabot[bot]
f649de95c9
Bump clap from 3.1.18 to 3.2.1 (#741)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.18 to 3.2.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.18...clap_complete-v3.2.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-14 11:57:12 -03:00
dependabot[bot]
49570bf7b5
Bump edit from 0.1.3 to 0.1.4 (#739)
Bumps [edit](https://github.com/milkey-mouse/edit) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/milkey-mouse/edit/releases)
- [Commits](https://github.com/milkey-mouse/edit/compare/v0.1.3...v0.1.4)

---
updated-dependencies:
- dependency-name: edit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-12 09:31:40 -04:00
dependabot[bot]
17725d22b5
Bump regex from 1.5.5 to 1.5.6 (#734)
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.5...1.5.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 20:43:41 -03:00
Denis Isidoro
57348e0f74
Fix version in Cargo.toml (#732) 2022-05-18 09:02:35 -03:00
Rui Chen
5732bfc8a9
update version 2022-05-15 22:52:44 -04:00
Denis Isidoro
281950c1b9
Bump all possible dependencies(#729) 2022-05-15 12:14:19 -03:00
dependabot[bot]
537e2d6ad8
Bump crossterm from 0.22.1 to 0.23.0 (#683)
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.22.1 to 0.23.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits/0.23)

---
updated-dependencies:
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 13:31:14 -03:00
Ulrich Kautz
b5b79b4bf2 Add build feature to disable repo management
Having a command to install cheatsheets from repositories on github is amazing and makes `navi` very easy to setup and get started. The repo contents provide the "meat" of `navi`. A one-liner can load a bunch of useful cheatsheets for a whole host of open source commands.

However, in locked down environments, where a high level of control of what is executed needs to be imposed, having the capability to download and use "arbitrary code from the internet" can be more harmful than good. Here you would likely want to manage all cheathsheets for `navi` carefully yourself. Possibly reviewing each cheathsheet individually. This CL provides a build feature that disables the whole `repo` sub-command tree to support that use-case.
2022-02-09 10:23:50 +00:00
Ulrich Kautz
63e31baa74 Add build feature to disable command execution
This CL adds the build feature `disable-command-execution` that enforces the `--print` flag and thereby disables execution of commands.
2022-01-27 13:31:31 +00:00
dependabot[bot]
5945bdff46
Bump anyhow from 1.0.52 to 1.0.53 (#676)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.52 to 1.0.53.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.52...1.0.53)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 11:38:52 -03:00
Denis Isidoro
32513aaccc Jan-18 08h55: Cargo.toml, Cargo.lock 2022-01-18 08:55:39 -03:00
Denis Isidoro
35b544f418
Bump clap from 3.0.0-beta.5 to 3.0.6 2022-01-12 08:50:55 -03:00
dependabot[bot]
a3a48419de
Bump anyhow from 1.0.51 to 1.0.52 (#662)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 09:11:49 -03:00
dependabot[bot]
6aa8707c11
Bump anyhow from 1.0.48 to 1.0.51 (#649)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.48 to 1.0.51.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.48...1.0.51)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 18:22:09 -03:00
dependabot[bot]
5f8079668c
Bump anyhow from 1.0.45 to 1.0.48 (#643)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.45 to 1.0.48.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.45...1.0.48)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 17:46:12 -03:00
dependabot[bot]
e08b662114
Bump anyhow from 1.0.44 to 1.0.45 (#638)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.44...1.0.45)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-08 18:45:57 -03:00
Denis Isidoro
95e57cf084
Update to rust 1.56.0 and 2021 edition (#637) 2021-10-30 18:07:05 -03:00
dependabot[bot]
63e9d1364e
Bump crossterm from 0.21.0 to 0.22.1 (#636)
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.21.0 to 0.22.1.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

---
updated-dependencies:
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 08:47:43 -03:00
Kevin K
63f2a693cf
updates clap to v3.0-beta.5 2021-10-25 11:32:44 -04:00
Denis Isidoro
3b1038c884
Add support for multiline variables
Fixes #628
2021-10-15 13:16:10 -03:00
dependabot[bot]
8672c02558
Bump thiserror from 1.0.29 to 1.0.30 (#627)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 06:28:02 -03:00
dependabot[bot]
1e449b23e7
Bump anyhow from 1.0.43 to 1.0.44 (#623)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 11:23:22 -03:00
dependabot[bot]
86b5befa02
Bump thiserror from 1.0.28 to 1.0.29 (#619)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.28...1.0.29)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-07 17:30:06 -03:00
dependabot[bot]
97064b3204
Bump strip-ansi-escapes from 0.1.0 to 0.1.1 (#618)
Bumps [strip-ansi-escapes](https://github.com/luser/strip-ansi-escapes) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/luser/strip-ansi-escapes/releases)
- [Commits](https://github.com/luser/strip-ansi-escapes/compare/0.1.0...0.1.1)

---
updated-dependencies:
- dependency-name: strip-ansi-escapes
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 08:43:28 -03:00
dependabot[bot]
fce30995d1
Bump thiserror from 1.0.26 to 1.0.28 (#616)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.26 to 1.0.28.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.26...1.0.28)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 21:15:54 -03:00
Denis Isidoro
6f4e04c6fc Aug-24 09h22: Cargo.lock, Cargo.toml 2021-08-24 09:22:58 -03:00
dependabot[bot]
7c27e372bf
Bump crossterm from 0.20.0 to 0.21.0 (#612)
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)

---
updated-dependencies:
- dependency-name: crossterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 09:15:49 -03:00
Denis Isidoro
4d404a75fe Aug-23 09h14: Cargo.toml, Cargo.lock 2021-08-23 09:14:37 -03:00
Denis Isidoro
ea198d5e25
Revert "Bump clap from 3.0.0-beta.2 to 3.0.0-beta.4 (#606)" (#609)
This reverts commit 03534138a9.
2021-08-23 09:13:02 -03:00
dependabot[bot]
70b8e1062b
Bump anyhow from 1.0.42 to 1.0.43 (#607)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.42 to 1.0.43.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.42...1.0.43)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 20:21:49 -03:00
dependabot[bot]
03534138a9
Bump clap from 3.0.0-beta.2 to 3.0.0-beta.4 (#606)
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.0-beta.2 to 3.0.0-beta.4.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.0-beta.2...v3.0.0-beta.4)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 20:21:23 -03:00
Denis Isidoro
b30f680cb0 Bump to 2.17.0 2021-08-09 10:47:24 -03:00
dependabot[bot]
d57a2a998c
Bump anyhow from 1.0.41 to 1.0.42 (#579)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.41 to 1.0.42.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.41...1.0.42)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 17:46:20 -03:00