Ethan P.
9e8176b1c6
Add `--strip-ansi=auto` option
...
When using `auto`, escape sequences will be stripped unless printing
plain text.
4 months ago
Ethan P.
70ff93d238
Add `--strip-ansi` option
4 months ago
一个不知名の睡觉高手
e8d777b73a
fix: some typos
7 months ago
David Peter
018a482621
Update Warp logo
7 months ago
einfachIrgendwer0815
83b00bc653
Rename `--squeeze` to `--squeeze-blank`
8 months ago
einfachIrgendwer0815
f041ff8c5f
Hide `--squeeze-limit` from short help
8 months ago
einfachIrgendwer0815
13204c46e2
Update short-help/long-help
8 months ago
David Peter
3ffa3648cf
Merge pull request #2853 from einfachIrgendwer0815/document_default_style_components
...
Document default style components
8 months ago
einfachIrgendwer0815
875046e4cd
Mention which style components are the default
8 months ago
Oliver looney
7ce010d9ed
Using hypens instead of underscores for set-terminal-title command
8 months ago
Oliver looney
7f12989127
added set_terminal_title arg to clap_app.rs to fix ci errors
9 months ago
Oliver looney
c911829771
fixed failing tests
9 months ago
cyqsimon
748e2a681f
Add `columns=3` to repology badge
11 months ago
Broono Lu
bfa0b5241f
Update Arch Linux package URL in README files ( #2779 )
11 months ago
Oliver looney
4af4bfc0f1
fixed syntax typo in russian readme
11 months ago
Cosmic Horror
7658334645
Consider adding `?exclude_unsupported=1` to repology badge
11 months ago
Martin Nordholts
a5a7ede698
release-checklist.md: Adapt to new auto-merge workflow
1 year ago
David Peter
c946ddb012
Replace warp logo
1 year ago
rhysd
6568fb775d
Explain how to convert `.tmLanguage.json` and `.tmLanguage.yml` files in doc/assets.md
1 year ago
rhysd
d376a4b631
Add support for WGSL
1 year ago
David Peter
506fe65474
Add Warp as a sponsor
1 year ago
einfachIrgendwer0815
26111950b3
Add environment variable `BAT_PAGING`
1 year ago
nazar
0f5f51f9ba
Fixed RU readme typos
1 year 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>
1 year ago
David Peter
2042eace2a
release checklist: fix command to find MSRV
2 years 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.
2 years 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.
2 years 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
2 years 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
3 years ago
Martin Nordholts
448bfaf748
Prepare a "unreleased" section at the top of `CHANGELOG.md`
3 years ago
Martin Nordholts
671fc952bc
release-checklist.md: Add tip on how to review the man page
3 years ago
Martin Nordholts
8e8c350391
release-checklist.md: Remove '## Dependencies'
3 years ago
yuuji.yaginuma
36093dd3bc
Fix a repology badge in READMEs
...
`https://repology.org/project/bat/ ` doesn't exist now.
3 years ago
David Peter
f2166ec6ec
Add additional note to sponsors.md
3 years ago