Commit Graph

175 Commits (v0.24.0)

Author SHA1 Message Date
David Peter c946ddb012 Replace warp logo 9 months ago
rhysd 6568fb775d Explain how to convert `.tmLanguage.json` and `.tmLanguage.yml` files in doc/assets.md 9 months ago
rhysd d376a4b631 Add support for WGSL 9 months ago
David Peter 506fe65474 Add Warp as a sponsor 9 months ago
einfachIrgendwer0815 26111950b3 Add environment variable `BAT_PAGING` 10 months ago
nazar 0f5f51f9ba Fixed RU readme typos 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
David Peter 2042eace2a release checklist: fix command to find MSRV 1 year ago
Constantin Nickel c094cd3ee5 Update `clap` to 4.1.8
This requires bumping the MSRV to 1.64.

It also updates the `terminal_size` crate that is pulled in by `clap` to
reduce duplicate dependencies.
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
Martin Nordholts 4e34b362f8 Require changes to `-h` and `--help` to be blessed
From now on, any changes to the help texts will be visible in PR diffs,
which will make it very easy to review, and very hard to accidentally
miss changes to help texts.

If a contributor makes a change to help texts, the `cargo test` failure
text they will see contains instructions on how to update the blessed
help texts:

    error: expect test failed
       --> ../doc/long-help.txt

    You can update all `expect!` tests by running:

        env UPDATE_EXPECT=1 cargo test

In short, to update blessed help texts, one simply does

    env UPDATE_EXPECT=1 cargo test

Do not run the tests if the `git` feature is missing, since then
`--diff` will be missing from `--help`. And do not run the tests on
Windows, because then the help text will contain the term `.exe`.

Move man page step to after cargo doc step so that the man page exists
when we look for it.
2 years ago
David Peter b29f66c40d
Merge branch 'master' into feat/env-extension 2 years ago
Ville Skyttä 6378a95308 Add more dotenv file types
Upstream PR: https://github.com/zaynali53/DotENV/pull/17
2 years ago
Wu Zhenyu 46dc044c03 Add new file_extensions for INI
- https://coverage.readthedocs.io/en/6.3.2/faq.html#q-can-i-find-out-which-tests-ran-which-lines
- https://pylint.pycqa.org/en/latest/user_guide/usage/run.html#command-line-options
- https://jorisroovers.com/gitlint/configuration/
2 years ago
Ville Skyttä 21bdcbb71f Fix up punctuation and sorting in manual modifications doc 2 years ago
Masanori Kakura 16d181a755 ja: Update description about Debian/Ubuntu packages 2 years ago
Jon Eskin eab1c9eb46 update alternatives.md 2 years ago
David Peter 45d6b1af3b Bump MSRV to 1.60
see https://github.com/rust-lang/git2-rs/issues/838
2 years ago
David Peter 02a9d191ed Bump MSRV to 1.58 2 years ago
Martin Nordholts ab8f97b0bb Bump MSRV to 1.56.1
This is what `hashbrown` did recently: https://github.com/rust-lang/hashbrown/pull/298

And it causes CI failures for us. Examples:
* https://github.com/sharkdp/bat/pull/2266
* https://github.com/sharkdp/bat/pull/2265

The path of least resistance for us is to also bump MSRV, so let's do
that. 1.56.1 was released [9 months
ago](https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html).
2 years ago
Kian-Meng Ang f93d650708 Fix typos 2 years ago
Martin Nordholts dc7d5a862f release-checklist.md: Don't recommend `--allow-dirty` to cargo publish
Using `--allow-dirty` increases the risk of the published code not being
versioned properly in git.
2 years ago
Martin Nordholts 4789c71a37 release-checklist.md: Recommend looking at the tip of master for `-h` and `man` 2 years ago
Martin Nordholts be99b759d3 release-checklist.md: Recommend `--locked` for `cargo install`
So that the command will not fail if you are using the MSRV toolchain
and the latest version of a dependency happens to have a higher MSRV
than we do.
2 years ago
Martin Nordholts 5f7ae6b277 release-checklist.md: Recommend a single git grep command for MSRV
That filters out irrelevant hits in CHANGELOG.md and tests/.
2 years ago
Martin Nordholts 719248f1c1
Simplify release-checklist.md by printing `-h`, `--help` and `man` in CI (#2183)
* Simplify release-checklist.md by printing `-h`, `--help` and `man` in CI

Note that we run `find . -name bat.1` before we run anything with
`--all-features`, because `--all-features` is considered a separate
target, and so we will get a different (but identical) `bat.1`. For
example, we might have these:

    ./target/debug/build/bat-218e9538b4996215/out/assets/manual/bat.1
    ./target/debug/build/bat-89d6f56802af023f/out/assets/manual/bat.1

By showing the man page earlier, there is only one `bat.1` to pick from.

* Use plain `man $(find . -name bat.1)`
2 years ago
Martin Nordholts 7be9485c36 release-checklist: Remind where to push tags in forks 2 years ago
Martin Nordholts 448bfaf748 Prepare a "unreleased" section at the top of `CHANGELOG.md` 2 years ago
Martin Nordholts 671fc952bc release-checklist.md: Add tip on how to review the man page 2 years ago
Martin Nordholts 8e8c350391 release-checklist.md: Remove '## Dependencies' 2 years ago
yuuji.yaginuma 36093dd3bc Fix a repology badge in READMEs
`https://repology.org/project/bat/` doesn't exist now.
2 years ago
David Peter f2166ec6ec
Add additional note to sponsors.md 2 years ago
Keith Hall 478712be38 make further improvements to docs relating to sponsors 2 years ago
Keith Hall d5d2fc4016 create separate sponsors.md file 2 years ago
Keith Hall f340893a21 Add WorkOS sponsor to readme 2 years ago
klemens 9287cf6b0b small typos, should not interrupt anything 2 years ago
Martin Nordholts 53fb0baa06 doc/README-ja.md: Update MSRV 3 years ago
Martin Nordholts 743c4ccb17 doc/release-checklist.md: Tweak 3 years ago
Mahdi Dibaiee 6dc621ec18 Set minimum supported rust version to 1.51 3 years ago
D3ara1n a5234105e5
Add a README-zh.md as the Chinese version of README.md (#1970)
Add README-zh.md to replace the outdated one. Also fix url ref.
3 years ago
Martin Nordholts 4236fa97cb release-checklist.md: Update `cargo outdated` section with link and arg 3 years ago
David Peter 1822c981da Move comparison.sh benchmark script to documentation 3 years ago
i-ky aed4ea144f
Sync README header across translations (#1905)
* Fix links in Russian translation.
* Simplify links in Korean translation.
* Fix build status badge in Japanese and Russian translations.
* Add link from Japanese to Russian translation.
* Add line break between "topics" row and "translations" row.
* Remove "translations" from translations row in Japanese and Russian.
* Add consistent spacing between translation links.
* Add backreferences to English README.
* Remove self references.
* Split translations row across multiple lines for easier maintenance.

Co-authored-by: David Peter <sharkdp@users.noreply.github.com>
3 years ago
Ikko Ashimine 10288e309e Add Русский link 3 years ago
mac.mini ebdb00d4fc add security vulnerabilities in ko doc 3 years ago
USER 8f6a0cd9e2 update Korean readme 3 years ago
Martin Nordholts 418fce5683 Bump MSRV to 1.46
See #1874 and #1872.
3 years ago
Kevin John Mulligan 156dec2737 Add context to .ino configuration
This allows a user to search the README or the entire repository for "Arduino" to find the necessary configuration.
3 years ago
Martin Nordholts 12dfbdc400
doc/release-checklist.md: Recommend git push origin tag vX.Y.Z (#1815) 3 years ago