Tau Gärtli
1b0a6da4be
Use new default_theme
fn for --list-themes
2024-08-16 14:13:58 +02:00
Tau Gärtli
06b645435a
Add changelog entry
2024-08-16 14:13:57 +02:00
Tau Gärtli
c3b190d45b
Disable color detection in test
2024-08-16 14:13:18 +02:00
Tau Gärtli
594b1417f1
Update readme
2024-08-16 14:13:18 +02:00
Tau Gärtli
e8ca6ec7c3
Remove cargo feature
2024-08-16 14:13:18 +02:00
Tau Gärtli
6498615f5f
Improve upon the documentation
2024-08-16 14:13:18 +02:00
Tau Gärtli
30b0143ccf
Make default_theme pub
2024-08-16 14:13:17 +02:00
Tau Gärtli
ff81cfd584
Move actual detection into library
2024-08-16 14:13:16 +02:00
Tau Gärtli
14ce668a1d
Add generated powershell completion to ignore list
2024-08-16 14:12:23 +02:00
Tau Gärtli
9a1bfe946d
Update completions and man page
2024-08-16 14:12:23 +02:00
Tau Gärtli
cea45e05f3
Expose new theme selection in CLI
2024-08-16 14:12:22 +02:00
Tau Gärtli
cda363a3f7
Use default_theme()
function from theme module
2024-08-16 14:09:38 +02:00
Tau Gärtli
de796392cf
Deprecate old default_theme
function
2024-08-16 14:09:38 +02:00
Tau Gärtli
1423dd9440
Choose theme based on the terminal's color scheme
2024-08-16 14:09:35 +02:00
dependabot[bot]
b662fec214
Bump ansi_colours from 1.2.2 to 1.2.3 ( #3058 )
...
Bumps [ansi_colours](https://github.com/mina86/ansi_colours ) from 1.2.2 to 1.2.3.
- [Commits](https://github.com/mina86/ansi_colours/commits )
---
updated-dependencies:
- dependency-name: ansi_colours
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 03:28:12 +00:00
dependabot[bot]
d8d0b77568
Bump indexmap from 2.2.6 to 2.3.0 ( #3057 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.2.6 to 2.3.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.3.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 03:14:26 +00:00
dependabot[bot]
13317b0a3b
Bump expect-test from 1.4.1 to 1.5.0 ( #3055 )
...
Bumps [expect-test](https://github.com/rust-analyzer/expect-test ) from 1.4.1 to 1.5.0.
- [Changelog](https://github.com/rust-analyzer/expect-test/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-analyzer/expect-test/compare/v1.4.1...v1.5.0 )
---
updated-dependencies:
- dependency-name: expect-test
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 02:47:46 +00:00
Ethan P.
2616296183
Merge pull request #2929 from eth-p/add-remove-styles
...
Merge `--style`s from different places using `+`/`-`
2024-07-30 21:30:19 -07:00
Ethan P.
39684b85ad
Update changelog
2024-07-30 21:22:05 -07:00
Ethan P.
aa3ec109b7
First StyleComponentList should remove from 'auto' style.
...
This happens when there are no `--style` arguments other than the one
passed in as a command line argument.
Prior to this change, removing a style component (e.g. `--style=-numbers`)
would remove the component from an empty style component set, resulting
in no styles at all. That behaviour was less intuitive than the new
behaviour, which starts out with the default components and
removes the line numbers.
2024-07-30 21:22:02 -07:00
Ethan P.
180a77ee99
Add integration tests for merging styles
...
A huge thanks to @einfachIrgendwer0815 for helping me make sure
these tests work under the MSRV CI job.
2024-07-30 21:22:00 -07:00
Ethan P.
93b25d75a0
Join env var options with "=" instead of " "
...
Joining them with a space was causing certain styles (e.g. `-grid`) to
be misinterpreted as a separate option.
2024-07-30 21:21:58 -07:00
Ethan P.
6e91ba83b7
Update clap/docs for merging --style
arguments
2024-07-30 21:21:55 -07:00
Ethan P.
b74c125c43
Support merging --style
arguments
...
The `overrides_with` clap builder option was removed
because it interfered with the matcher's ability to
retain all occurrences of `--style`.
The behavior it covered is expressed within the new
`forced_style_components` function.
2024-07-30 21:21:53 -07:00
Keith Hall
fd1e0d5876
Merge pull request #2995 from akinomyoga/update-man
...
Update the man page of bat (`assets/manual/bat.1.in`)
2024-07-29 07:14:31 +03:00
Koichi Murase
9a650e8279
Update CHANGELOG
2024-07-29 12:18:40 +09:00
Koichi Murase
d5aa9d8e05
Add options generated by completions to the man page
2024-07-29 12:18:40 +09:00
Koichi Murase
b1cdc06430
Add --no-* options to Bash/Zsh completions
2024-07-29 12:18:40 +09:00
Koichi Murase
83a15ac05f
Add --cache-dir to Fish completion
2024-07-29 12:18:40 +09:00
Koichi Murase
43a77a42f8
Add options present in --help to Bash completion
2024-07-29 12:18:40 +09:00
Koichi Murase
44ca1e7df1
Add options present in --help to the man page
2024-07-29 12:18:40 +09:00
Michael Vorburger
23fd200482
Associate JSON-LD .jsonld
files with json
syntax ( fixes #3036 )
...
Use PR instead of Issue # number in CHANGELOG.
Clean up (unify) CHANGELOG.
2024-07-27 15:48:02 +02:00
Keith Hall
9f1c62b013
Merge pull request #3031 from brenton-at-pieces/add-cfml
...
add CFML syntax
2024-07-26 19:45:44 +03:00
Brenton Bostick
1488a4a006
Merge branch 'master' into add-cfml
2024-07-26 09:09:30 -04:00
Keith Hall
56d2823b0e
Merge pull request #3045 from cyqsimon/time
...
Bump time to 0.3.36 (fixes #3043 )
2024-07-26 12:12:57 +03:00
cyqsimon
1a11ba11e3
Write changelog
2024-07-26 16:18:16 +08:00
cyqsimon
c34bdb5e66
Bump time to 0.3.36 ( fixes #3043 )
2024-07-26 16:10:17 +08:00
Brenton Bostick
10456e1d51
Merge branch 'master' into add-cfml
2024-07-25 15:54:50 -04:00
Keith Hall
bbdadc7e38
Merge pull request #3038 from vorburger/bump-textproto
...
Update the Protobuf sobmodule in order to add `.textproto` support
2024-07-23 23:02:35 +03:00
Michael Vorburger
ff71e32c0f
Update the Protobuf sobmodule ( fixes #2542 )
2024-07-21 23:14:12 +02:00
Brenton Bostick
50b01ea8da
update CHANGELOG
2024-07-17 16:17:41 -04:00
Brenton Bostick
de697f7717
add CFML syntax
2024-07-17 15:46:38 -04:00
dependabot[bot]
6fc58821a5
Bump anyhow from 1.0.78 to 1.0.86 ( #3021 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.78 to 1.0.86.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.78...1.0.86 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 03:34:46 +00:00
dependabot[bot]
7873b473e8
Bump unicode-width from 0.1.11 to 0.1.13 ( #3019 )
...
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width ) from 0.1.11 to 0.1.13.
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.13 )
---
updated-dependencies:
- dependency-name: unicode-width
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 03:16:35 +00:00
dependabot[bot]
609005a225
Bump encoding_rs from 0.8.33 to 0.8.34 ( #3020 )
...
Bumps [encoding_rs](https://github.com/hsivonen/encoding_rs ) from 0.8.33 to 0.8.34.
- [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.33...v0.8.34 )
---
updated-dependencies:
- dependency-name: encoding_rs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 02:51:38 +00:00
dependabot[bot]
b9c74ab859
Bump walkdir from 2.4.0 to 2.5.0 ( #3018 )
...
Bumps [walkdir](https://github.com/BurntSushi/walkdir ) from 2.4.0 to 2.5.0.
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0 )
---
updated-dependencies:
- dependency-name: walkdir
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 02:29:47 +00:00
Driss Boumlik
cee5584daf
Fix cmder link
2024-06-29 14:57:40 +02:00
Bryan Honof
b265b20721
Add flox install
2024-06-23 13:52:52 +02:00
Ethan P
a7a9727c11
Merge pull request #2999 from eth-p/strip-ansi-from-input-option
...
Add option to remove ANSI escape sequences from bat's input.
2024-06-17 18:37:22 -07:00
Ethan P.
90dfa7f18d
Update README.md to mention --strip-ansi
2024-06-17 18:27:39 -07:00