Commit Graph

202 Commits

Author SHA1 Message Date
60693db73f Merge branch 'master' into dark-light 2024-11-13 20:33:37 +02:00
f8f12a7db5 Update sponsorship information 2024-11-10 20:02:58 +01:00
8d82402d74 Merge branch 'master' into feature/binary_as_text 2024-10-30 12:46:11 +01:00
a0226f5670 Update Chinese version translation of README.md 2024-09-20 06:28:20 +02:00
89ce060183 Update help, man page and completions 2024-08-18 20:32:59 +02:00
bc42149a72 Merge color scheme options into theme / BAT_THEME 2024-08-18 14:59:14 +02:00
7f089ead62 Add option --binary
`--binary` allows to specify how to deal with binary content. Current
options are not printing anything or treating the binary data as text.
2024-08-18 10:05:37 +02:00
b9b981f657 Generalize --detect-color-scheme to --color-scheme 2024-08-16 14:14:30 +02:00
cea45e05f3 Expose new theme selection in CLI 2024-08-16 14:12:22 +02:00
6e91ba83b7 Update clap/docs for merging --style arguments 2024-07-30 21:21:55 -07:00
9e8176b1c6 Add --strip-ansi=auto option
When using `auto`, escape sequences will be stripped unless printing
plain text.
2024-06-17 18:27:33 -07:00
70ff93d238 Add --strip-ansi option 2024-06-16 16:49:07 -07:00
e8d777b73a fix: some typos 2024-04-04 06:01:37 +02:00
018a482621 Update Warp logo 2024-03-23 21:15:25 +01:00
83b00bc653 Rename --squeeze to --squeeze-blank 2024-02-24 14:02:27 +01:00
f041ff8c5f Hide --squeeze-limit from short help 2024-02-24 13:57:44 +01:00
13204c46e2 Update short-help/long-help 2024-02-24 13:51:43 +01:00
3ffa3648cf Merge pull request #2853 from einfachIrgendwer0815/document_default_style_components
Document default style components
2024-02-23 21:51:55 +01:00
875046e4cd Mention which style components are the default 2024-02-11 10:06:01 +01:00
7ce010d9ed Using hypens instead of underscores for set-terminal-title command 2024-02-08 21:33:03 +00:00
7f12989127 added set_terminal_title arg to clap_app.rs to fix ci errors 2024-01-29 09:47:41 +00:00
c911829771 fixed failing tests 2024-01-27 14:23:24 +00:00
748e2a681f Add columns=3 to repology badge 2023-12-01 21:39:25 +01:00
bfa0b5241f Update Arch Linux package URL in README files (#2779) 2023-12-01 21:26:35 +01:00
4af4bfc0f1 fixed syntax typo in russian readme 2023-12-01 20:59:52 +01:00
7658334645 Consider adding ?exclude_unsupported=1 to repology badge 2023-11-10 09:00:28 +01:00
a5a7ede698 release-checklist.md: Adapt to new auto-merge workflow 2023-10-18 21:33:44 +02:00
c946ddb012 Replace warp logo 2023-10-06 09:11:06 +02:00
6568fb775d Explain how to convert .tmLanguage.json and .tmLanguage.yml files in doc/assets.md 2023-10-04 09:09:54 +02:00
d376a4b631 Add support for WGSL 2023-10-04 09:09:54 +02:00
506fe65474 Add Warp as a sponsor 2023-10-03 20:04:26 +02:00
26111950b3 Add environment variable BAT_PAGING 2023-09-01 17:59:41 +02:00
0f5f51f9ba Fixed RU readme typos 2023-09-01 17:51:30 +02:00
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>
2023-09-01 05:42:45 +02:00
2042eace2a release checklist: fix command to find MSRV 2023-03-25 09:46:25 +01:00
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.
2023-03-15 08:52:31 +01:00
8f99a78cf1 Print non-printable characters using caret notation (#2443)
When the new flag is set, non-printable characters are printed using caret notation.
2023-03-14 22:21:30 +01:00
ec6e9c29ac Bump MSRV to 1.62 (#2496)
* Bump MSRV to 1.62

Mainly to be able to derive default enum variants.

* CHANGELOG.md: Update
2023-03-03 13:20:03 +01:00
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.
2022-12-30 09:59:52 +01:00
b29f66c40d Merge branch 'master' into feat/env-extension 2022-10-30 20:45:39 +01:00
6378a95308 Add more dotenv file types
Upstream PR: https://github.com/zaynali53/DotENV/pull/17
2022-10-30 08:25:10 +02:00
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/
2022-10-30 13:15:14 +08:00
21bdcbb71f Fix up punctuation and sorting in manual modifications doc 2022-10-17 19:50:14 +02:00
16d181a755 ja: Update description about Debian/Ubuntu packages 2022-10-03 21:41:36 +02:00
eab1c9eb46 update alternatives.md 2022-09-04 14:28:06 +02:00
45d6b1af3b Bump MSRV to 1.60
see https://github.com/rust-lang/git2-rs/issues/838
2022-09-04 06:04:35 +02:00
02a9d191ed Bump MSRV to 1.58 2022-08-14 16:21:45 +02:00
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).
2022-08-13 14:10:19 +02:00
f93d650708 Fix typos 2022-06-12 16:38:33 +02:00
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.
2022-05-09 09:47:30 +02:00