Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-13 | Run cargo fmt | David Peter | |
2021-07-12 | Use resolved path for --diagnostic as well | David Peter | |
2021-07-12 | Fix for Windows: do not run binaries from CWD | David Peter | |
This fixes a bug on Windows where `Command::new` would also run executables from the current working directory, possibly resulting in accidental runs of programs called `less`. | |||
2021-07-09 | Abort ignored filename suffix stripping early on unworkable filenames | David Peter | |
2021-07-09 | Simplify ignored filename suffix stripping | David Peter | |
2021-07-09 | Find syntax ignoring known backup/template filename suffixes | Ville Skyttä | |
For example, fall back to `foo.extension` for `foo.extension~`, `foo.extension.orig`, `foo.extension.in.in` etc. | |||
2021-06-28 | pretty_printer.rs: Don't use a URL as an example Input title | Martin Nordholts | |
Otherwise Rust 1.53.0 gets confused during `cargo doc` because it thinks we want an actual URL: warning: this URL is not a hyperlink --> src/pretty_printer.rs:331:40 | 331 | /// The title for the input (e.g. "http://example.com/example.txt") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://example.com/example.txt>` | = note: `#[warn(rustdoc::bare_urls)]` on by default = note: bare URLs are not automatically turned into clickable links It was perhaps also a bit confusing to give an URL as an example in the first place, because according to our own API example `examples/inputs.rs` it is meant to be more a free-text thing. | |||
2021-06-13 | Spelling fixes | Ville Skyttä | |
2021-05-27 | Refactor "Use `matches` macro" | Mohamed Abdelnour | |
2021-05-27 | Use the functional update syntax | Mohamed Abdelnour | |
2021-05-27 | Implement `From<..>` instead of `Into<..>` | Mohamed Abdelnour | |
2021-05-27 | Use the functional update syntax | Mohamed Abdelnour | |
2021-05-27 | Use `matches` macro | Mohamed Abdelnour | |
2021-05-27 | Use `!theme.is_empty()` | Mohamed Abdelnour | |
2021-05-12 | Fix less version parsing for minor versions of less | Allen Wild | |
Less 581.2 is here, and it has a ".2" in the version string, which can't be parsed as a usize. Update the check to find a non-digit character rather than a space. This ignores the minor version, but parses the major version correctly. | |||
2021-03-17 | Include LESS in --diagnostic | Martin Nordholts | |
So issues like #1586 are easier to troubleshoot. | |||
2021-03-15 | Add SystemVerilog support | Sean McLoughlin | |
2021-03-07 | 'mut self' => 'self', remove pub | David Peter | |
2021-03-07 | Improve readability | Aleksey Kladov | |
Using `Path`s for paths expresses intent more clearly. | |||
2021-02-28 | Change circle detection to use new more conservative method and run in main ↵ | Niklas Mohrin | |
loop instead of before the loop | |||
2021-02-28 | Do not ignore non-existent BAT_CONFIG_PATH | David Peter | |
Do not ignore `BAT_CONFIG_PATH` if it doesn't exist. Both when generating a new config file with `--generate-config-file` and when attempting to read the config. Also, provide a better error message in case the file can not be created. closes #1550 | |||
2021-02-16 | Fix broken resolv.conf highlighting | David Peter | |
closes #1510 The change in `create_highlighted_versions.py` fixes a "unknown theme "'1337'" warning. The single quotes were wrong. `bat` was always falling back to the default theme, so let's use that for now. | |||
2021-02-16 | Highlight *.pac files as JavaScript | David Peter | |
closes #1515 | |||
2021-02-16 | Fix clippy suggestion | David Peter | |
2021-02-16 | Use less binary specified in bat config for --diagnostic | Ethan P | |
2021-02-16 | Make less version check accept a path to the less binary | Ethan P | |
2021-02-16 | Update dependencies; replace unmaintained (#1522) | Caden Haustein | |
* Update dependencies; replace unmaintained * Fix errors * Revert dependency changes * Revert git2 to 0.13.15 Co-authored-by: David Peter <mail@david-peter.de> | |||
2021-01-11 | get_pager(): Simplify use_less_instead expression | Martin Nordholts | |
2021-01-11 | Fix #1413 Can't use `bat` at all! (Error: Use of bat as a pager is ↵ | Martin Nordholts | |
disallowed...) Fixed by implementing the proposal by sharkdp: * Allow PAGER=bat, but ignore the setting in bat and simply default to less. Unless of course, BAT_PAGER or --pager is used to overwrite the value of PAGER. * Disallow the usage of bat within BAT_PAGER and --pager. | |||
2021-01-11 | Remove deprecated PrettyPrinter methods | sharkdp | |
2021-01-10 | Improve --map-syntax documentation, see #1386 | sharkdp | |
2021-01-10 | PagerKind::from(): Simplify | Martin Nordholts | |
2021-01-10 | pager.rs: Some comment fixups | Martin Nordholts | |
2021-01-10 | PagerSource: [Bat]PagerEnvVar -> EnvVar[Bat]Pager | Martin Nordholts | |
2021-01-10 | pager.rs: Limit visibilities to pub(crate) | Martin Nordholts | |
2021-01-10 | Merge remote-tracking branch 'origin/master' into fix-1063 | Martin Nordholts | |
2021-01-09 | --diagnostic: add MANPAGER environment variable | sharkdp | |
2021-01-09 | Fix clippy suggestion: .or_else(|| Some(…)) => .or(Some(…)) | sharkdp | |
2021-01-09 | Use new matches!(…) macro to simplify code | sharkdp | |
2021-01-09 | Add a Default implementation for PrettyPrinter | sharkdp | |
2021-01-09 | Addressed PR feedback. Upped min version and used matches! macro | mark chaitin | |
2021-01-09 | fix bug where long lines were truncated in plain mode without wrap=never not ↵ | mark chaitin | |
being set | |||
2021-01-08 | Fix theme dir hint in --list-themes output | Csaba Henk | |
2021-01-07 | Merge remote-tracking branch 'origin/master' into fix-1063 | Martin Nordholts | |
2021-01-06 | Add --diagnostics alias | sharkdp | |
2021-01-06 | Update to bugreport 0.3.0 | sharkdp | |
2021-01-06 | Exhaustive list of relevant environment variables | sharkdp | |
2021-01-06 | Add config file, compile time info and less version | sharkdp | |
2021-01-06 | Add --diagnostic option to bat | sharkdp | |
2021-01-06 | Merge remote-tracking branch 'origin/master' into fix-1063 | Martin Nordholts | |