1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-18 12:05:52 +00:00

3204 Commits

Author SHA1 Message Date
kojix2
c533a4aa14 Update CHANGELOG.md 2024-10-23 21:42:02 +09:00
kojix2
b93a41a9a3 Add print_with_writer to PrettyPrint 2024-10-23 21:21:15 +09:00
Keith Hall
937c59fca9
Merge pull request #3049 from cyqsimon/kubernetes
Add syntax mapping for kubernetes config files
2024-10-21 23:10:22 +03:00
Keith Hall
a80d5ea9f7 Merge branch 'master' into pacman-conf 2024-10-21 23:02:56 +03:00
Keith Hall
c11a7d9e41 Merge branch 'master' into kubernetes 2024-10-21 23:01:30 +03:00
einfachIrgendwer0815
ac082ab64b
Update changelog 2024-10-18 12:44:53 +02:00
einfachIrgendwer0815
c9fd0f3cf0
Add partial override of -pp and --paging 2024-10-18 12:13:41 +02:00
einfachIrgendwer0815
e667415def
Add tests against issue #2731 2024-10-18 12:13:41 +02:00
einfachIrgendwer0815
fd6c7637e4
Partially revert "Make -pp override --paging and vice versa when passed as a later argument. (#2660)"
This partially reverts commit e2bf85e749d87459e3fced697af5cd9cc96eeb8c.
2024-10-18 11:46:51 +02:00
Jarasłaŭ Viktorčyk
9a816c9c68
Add syntax mapping for CITATION.cff 2024-10-13 11:47:31 +02:00
Matt Helsley
431344ba67
Merge branch 'master' into mhelsley-fix-lessopen 2024-10-06 21:52:34 -07:00
Keith Hall
eca6b8a376
Merge pull request #3075 from einfachIrgendwer0815/fix/3073_list_themes
Don't output default theme info to piped stdout
2024-10-06 22:27:18 +03:00
Keith Hall
b01ed8d773
Merge branch 'master' into fix/3073_list_themes 2024-10-06 22:08:00 +03:00
Matt Helsley
3e5f4266ce Fix lessopen feature
RawOsString API changed in os_str_bytes 7.0.0 and bat no longer builds
with the lessopen feature because:

- ::from_string() is deprecated and says to use new().
  The documentation says that new(), like from_string() no longer
  needs to copy the string.

- ::assert_from_raw_vec() is no longer merely deprecated and now
  requires selecting the "conversions" feature of os_str_bytes.

Replaces PR#2938
2024-10-03 16:32:23 -07:00
dependabot[bot]
61c9f312c9
Bump flate2 from 1.0.30 to 1.0.34 (#3093)
Bumps [flate2](https://github.com/rust-lang/flate2-rs) from 1.0.30 to 1.0.34.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.30...1.0.34)

---
updated-dependencies:
- dependency-name: flate2
  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-10-01 03:36:57 +00:00
dependabot[bot]
c59dad0cae
Bump git2 from 0.18.3 to 0.19.0 (#3092)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.18.3 to 0.19.0.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.18.3...git2-0.19.0)

---
updated-dependencies:
- dependency-name: git2
  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-10-01 03:19:34 +00:00
dependabot[bot]
16a79d38c2
Bump once_cell from 1.19.0 to 1.20.1 (#3091)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.19.0 to 1.20.1.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.1)

---
updated-dependencies:
- dependency-name: once_cell
  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-10-01 03:02:02 +00:00
dependabot[bot]
9d635627dc
Bump globset from 0.4.14 to 0.4.15 (#3090)
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.14 to 0.4.15.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/globset-0.4.14...ignore-0.4.15)

---
updated-dependencies:
- dependency-name: globset
  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-10-01 02:40:45 +00:00
einfachIrgendwer0815
bc69ffb0f0
Map *.mkd files to Markdown syntax (#3061) 2024-09-26 21:06:07 +02:00
flytam
a0226f5670 Update Chinese version translation of README.md 2024-09-20 06:28:20 +02:00
Mikael Vaaltola
ed7789d9b7 Associate GeoJSON .geojson files with json syntax (fixes #3083) 2024-09-20 06:14:26 +02:00
Tau Gärtli
b747184788
Accept impl Into<String> to avoid cloning strings 2024-09-08 17:11:11 +02:00
Tau Gärtli
02ae6ef348
Remove redundant guard 2024-09-07 22:59:27 +02:00
Tau Gärtli
0ebb9cbfe2
Add Display impl 2024-09-07 21:57:27 +02:00
Tau Gärtli
f6cbee9e27
Update docs 2024-09-07 21:36:03 +02:00
Tau Gärtli
10e823c4b7
Rename internal function 2024-09-07 21:36:03 +02:00
Tau Gärtli
60e4027332
Expose theme env vars 2024-09-07 21:36:02 +02:00
Tau Gärtli
e075fee5bf
Add infallible constructor 2024-09-07 21:36:02 +02:00
Tau Gärtli
16d9b99f6c
Flatten preference enum 2024-09-04 21:18:29 +02:00
dependabot[bot]
ffa74a7f49
Bump serde from 1.0.199 to 1.0.209 (#3077)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.199 to 1.0.209.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.209)

---
updated-dependencies:
- dependency-name: serde
  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-09-01 03:05:26 +00:00
dependabot[bot]
c1772b7793
Bump plist from 1.6.0 to 1.7.0 (#3076)
Bumps [plist](https://github.com/ebarnard/rust-plist) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/ebarnard/rust-plist/releases)
- [Commits](https://github.com/ebarnard/rust-plist/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: plist
  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-09-01 02:45:53 +00:00
einfachIrgendwer0815
5be9d19500
Reinforce tests for --list-themes 2024-08-25 11:10:25 +02:00
einfachIrgendwer0815
0603f0b844
Don't output default theme info to piped stdout 2024-08-25 10:54:46 +02:00
Tau Gärtli
50958472e5
Return theme alongside detected color scheme 2024-08-23 18:03:07 +02:00
Tau Gärtli
89ce060183
Update help, man page and completions 2024-08-18 20:32:59 +02:00
Tau Gärtli
bc42149a72
Merge color scheme options into theme / BAT_THEME 2024-08-18 14:59:14 +02:00
einfachIrgendwer0815
0c3b22e0f0
Run syntax highlighting when --binary=as-text 2024-08-18 10:06:12 +02:00
einfachIrgendwer0815
a769a3d813
Update CHANGELOG 2024-08-18 10:06:09 +02:00
einfachIrgendwer0815
7cc231b82b
Test --binary=as-text 2024-08-18 10:05:43 +02:00
einfachIrgendwer0815
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
Tau Gärtli
b9b981f657
Generalize --detect-color-scheme to --color-scheme 2024-08-16 14:14:30 +02:00
Tau Gärtli
abf9dada04
Remove HighlightingAssets::default_theme() 2024-08-16 14:13:58 +02:00
Tau Gärtli
5c6974703e
Respect --detect-color-scheme flag when listing themes 2024-08-16 14:13:58 +02:00
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