Commit Graph

290 Commits (fc9546854f5a7b38823f4990453c6cde386bfd3b)

Author SHA1 Message Date
Martin Nordholts fc9546854f Bump version to v0.24.0
We need to bump 0.x.0 because the library API changed in incompatible
ways:

    $ cargo public-api diff
    Resolved `diff` to `diff 0.23.0`
    Removed items from the public API
    =================================
    (none)

    Changed items in the public API
    ===============================
    -pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>) -> bat::error::Result<bool>
    +pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>) -> bat::error::Result<bool>
    -pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool>
    +pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool>

    Added items to the public API
    =============================
    [...]
9 months ago
Martin Nordholts 32da58e723 Update CHANGELOG.md for v0.24.0 9 months ago
skoriop 4382be5e7c docs: update `CHANGELOG.md` 9 months ago
Raghav-Bell 8e35a56712 Updated version of `serde_yaml` to 0.9 9 months ago
Linda_pp 9f795dd947
Associate `*.sarif` files with `json` syntax (#2695)
* Associate `*.sarif` files with `json` syntax

* Update changelog for #2695
9 months ago
rhysd d376a4b631 Add support for WGSL 9 months ago
Nicolas AMBRY 5a240f36b9
Case insensitive `--map-syntax` (#2650)
Co-authored-by: Nicolas AMBRY <nicolas.ambry@atos.net>
10 months ago
Anomalocaridid 150c04acb6 update CHANGELOG.md 10 months ago
Anomalocaridid e32ad0b048
Add `$LESSOPEN` and `$LESSCLOSE` support (#2444) 10 months ago
einfachIrgendwer0815 26111950b3 Add environment variable `BAT_PAGING` 10 months ago
Orion Yeung f21d3502e1 Add `*.ron` syntax mapping
Add a mapping to use `Rust` for rusty object notation, identified by `.ron` extension. See [#2427](https://github.com/sharkdp/bat/issues/2427).
10 months ago
mataha 82664e3c82 Bump MSRV to 1.70.0
The intention is to take advantage of `std::io::IsTerminal` that landed
in 1.70.0, both in `bat` and its dependencies (`clap`, `grep-cli`).

This will fix #2570 as well - `grep-cli` 0.1.9 has a patch for that.

Signed-off-by: mataha <mataha@users.noreply.github.com>
10 months ago
John Higgins 7826e506f8
Merge branch 'master' into doc_fix 11 months ago
John Higgins b720af8a06
fix for issue #2095 11 months ago
John Higgins b1fbcc8a6e
fix for issue #2633 11 months ago
einfachIrgendwer0815 8b187e6997
Update CHANGELOG 1 year ago
cyqsimon 8e866babfc
Write changelog 1 year ago
Marcin Puc 3ca8c43a67 Update CHANGELOG.md 1 year ago
David Peter d27aaffead New empty CHANGELOG section 1 year ago
David Peter 58dbbd1cd4 Bump version to 0.23 1 year ago
Collin Styles ad3586f58a Update CHANGELOG.md 1 year ago
Keith Hall b65a02681a Add crontab syntax 1 year ago
einfachIrgendwer0815 8f99a78cf1
Print non-printable characters using caret notation (#2443)
When the new flag is set, non-printable characters are printed using caret notation.
1 year ago
Martin Nordholts ec6e9c29ac
Bump MSRV to 1.62 (#2496)
* Bump MSRV to 1.62

Mainly to be able to derive default enum variants.

* CHANGELOG.md: Update
1 year ago
Keith Hall 52ef1bc0d6 Scope environment variable and commands sections in Manpages 1 year ago
BlackHoleFox 1004018941 Directly read preferences instead of using the defaults CLI 1 year ago
cyqsimon b6b9d3a629
Disable completion of `cache` subcommand (#2399)
* Disable completion of `cache` subcommand

* Fully removed completion code for `cache`

* Add to changelog
2 years ago
Víctor González Prieto 3ffa7edbd5 Bump cmd-help syntax to latest
This update includes an overhaul of scope names to better support the
set of themes included with bat.

You can find a visual diff for every theme in this PR:
https://github.com/victor-gp/cmd-help-sublime-syntax/pull/17

This commit updates the cmd-help syntax test because the scopes (-> colors)
have changed.
2 years ago
Martin Nordholts 906de11975
Update CHANGELOG.md 2 years ago
dependabot[bot] d5b397f66a Bump assets/syntaxes/02_Extra/TOML from `ed38438` to `fd0bf3e` (#2410)
* Bump assets/syntaxes/02_Extra/TOML from `ed38438` to `fd0bf3e`

Bumps [assets/syntaxes/02_Extra/TOML](https://github.com/jasonwilliams/sublime_toml_highlighting) from `ed38438` to `fd0bf3e`.
- [Release notes](https://github.com/jasonwilliams/sublime_toml_highlighting/releases)
- [Commits](ed38438900...fd0bf3e5d6)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/TOML
  dependency-type: direct:production
...

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

* Update CHANGELOG.md

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2 years ago
Miles Liu e39178b101
Fix `bat cache --clear` not clearing the `--target` dir if specified 2 years ago
David Peter 7c847d84b0 Update CHANGELOG 2 years ago
Aaron Kollasch 017e830bf2
Move CHANGELOG.md entry to Features 2 years ago
Aaron Kollasch d084cdc72b
Update CHANGELOG.md
Co-authored-by: David Peter <sharkdp@users.noreply.github.com>
2 years ago
Aaron Kollasch 36ccc6a31e
Allow env vars to override config but not args 2 years ago
David Peter 5652038f01 Update CHANGELOG 2 years ago
David Peter a7b0449967 Update CHANGELOG 2 years ago
David Peter 3668464f3d Update CHANGELOG 2 years ago
David Peter 3c9c960612
Merge pull request #2309 from johnmatthiggins/master
Added -S flag for truncating long lines
2 years ago
wzy f215d07366
Improve Manpage.sublime-syntax, Fix #2353 (#2364)
* Improve Manpage.sublime-syntax, Fix #2353

* Add highlight tests for fzf-0.33.0
2 years ago
John Higgins 20f272168a
Fixed typo in CHANGELOG.md for PR #2309 2 years ago
John Higgins 236a2c5794
Fixed inverted logic on -S and --chop-long-lines 2 years ago
Martin Nordholts 8bd5a88f07 Prepare a new "unreleased" section at the top of CHANGELOG.md 2 years ago
Martin Nordholts e5d9579614 Bump version to v0.22.1 2 years ago
Martin Nordholts 352309b056 Revert "Remove code that tries to handle ANSI escape inputs"
This reverts commit 8174e02279. Turns out
it is needed for a common use case, see
https://github.com/sharkdp/bat/issues/2307.

It is not a clean revert, because I adjust CHANGELOG.md and also add a
comment to the test. I also had to resolve a small `use` conflict.
2 years ago
David Peter 6680f65e4b Add new 'unreleased' section, post v0.22 2 years ago
David Peter 3c33b28507 Bump version to v0.22 2 years ago
dag-h 08386daa3a
Strip BOM from output in interactive mode (#1938)
* Strip BOM from output in interactive mode

* Strip BOM when not loop_through, add regression tests

* Update CHANGELOG.md

* Only strip BOM from beginning of first line

* Fix integration test on macOS that relied on color scheme

* Fix integration test on Windows that relied on detected terminal width

* Fix syntax test that was failing due to a previously wrong (now fixed) highlighting

Co-authored-by: David Peter <mail@david-peter.de>
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2 years ago
David Peter 6a0ab0095a Add CHANGELOG entry 2 years ago
Kid 1e1fa7cde5 CHANGELOG 2 years ago