Keith Hall
a9aa73d215
Merge pull request #3895 from 1t1sCooL/fix-vcredist-link
...
docs: fix dead Visual C++ Redistributable link in README
2026-10-20 22:18:09 +03:00
Keith Hall
f0a58595bd
Merge branch 'master' into fix-vcredist-link
2026-10-20 22:07:28 +03:00
Keith Hall
2fd71ad588
Merge pull request #4091 from NavpreetSSidhu/fix-js-block-comment-hang
...
Fix hang on block comment after an expression in JavaScript
2026-10-20 22:03:22 +03:00
Keith Hall
f748c1a467
Merge pull request #4069 from injust/patch-1
...
Add syntax mapping for Podman `.quadlets` files
2026-10-17 14:57:57 +03:00
Keith Hall
d3afbaeb06
Merge branch 'master' into patch-1
2026-10-17 14:48:35 +03:00
Keith Hall
dbe6ec265d
Merge pull request #4076 from cindykrafft/fix/utf16be-first-line
...
Fix the first line of UTF-16BE input swallowing the second line
2026-10-17 14:41:31 +03:00
Keith Hall
bc0a67e07c
Merge branch 'master' into fix/utf16be-first-line
2026-10-17 14:28:44 +03:00
Keith Hall
fca6c542d4
Merge pull request #4067 from ump45nose/docs-strip-ansi-mode
...
Document StripAnsiMode and its variants
2026-10-17 14:27:03 +03:00
Keith Hall
62b439dae3
Merge pull request #4064 from ump45nose/doc-range-check-result-variants
...
Document RangeCheckResult variants with doc comments
2026-10-14 22:41:06 +03:00
Keith Hall
e8d05da87a
Merge branch 'master' into doc-range-check-result-variants
2026-10-14 22:22:14 +03:00
Keith Hall
edd161aefb
Merge pull request #4065 from ump45nose/doc-wrapping-mode-variant
...
Document WrappingMode::NoWrapping's bool payload with a doc comment
2026-10-14 22:22:03 +03:00
Keith Hall
b95f8d37bf
Merge branch 'master' into doc-range-check-result-variants
2026-10-14 22:20:52 +03:00
Keith Hall
4d916905d1
Merge pull request #4063 from ump45nose/config-doc-comments
...
Document 4 public Config fields with doc comments
2026-10-14 20:59:49 +03:00
Keith Hall
d9559c69f5
Merge pull request #4035 from Mathjk/fix/aux-epipe
...
Fix panic on closed stdout in auxiliary output paths
2026-10-07 22:49:03 +03:00
Keith Hall
4987f76709
Merge pull request #4015 from mikehasa/fix/track-strikethrough-sgr9
...
Track strikethrough (SGR 9) so it is not dropped across highlighted tokens
2026-09-22 21:13:30 +03:00
Keith Hall
7323a7514f
Merge pull request #3912 from logarithmone1128/repeatable-boolean-flags
...
Allow boolean flags to be repeated
2026-09-04 22:10:30 +03:00
Keith Hall
16b5f99d16
Merge pull request #3908 from cuishuang/master
...
Use parsed CLI arguments to detect number flags
2026-09-04 06:46:32 +03:00
Keith Hall
2ed8b010af
Merge pull request #3877 from Matei02355/fix-binary-detection-across-lines-3554
...
Detect binary content beyond the first line
2026-09-03 22:07:15 +03:00
Keith Hall
5fee86b97b
Merge branch 'master' into fix-binary-detection-across-lines-3554
2026-09-03 21:54:06 +03:00
Keith Hall
66ad54c27d
Merge pull request #3897 from cuishuang/master
...
fix: use last occurrence in combined short flags
2026-09-03 21:52:16 +03:00
Keith Hall
5f12c62b3e
Merge pull request #3899 from rootsec1/fix/cargo-install-manifest-diagnostic
...
fix: avoid Cargo parsing syntax fixture as a manifest
2026-08-31 21:20:32 +03:00
Keith Hall
b671e53c2c
Merge pull request #3857 from MeGaurav4/master
...
feat: implement `-b` / `--number-nonblank` for `cat -b` compatibility
2026-08-11 17:39:20 +03:00
Keith Hall
af59a32183
Merge pull request #3876 from Matei02355/fix-log-syntax-performance-3866
...
fix(syntax): avoid repeated log level scans
2026-08-10 21:30:13 +03:00
Keith Hall
c63838efeb
Merge branch 'master' into fix-log-syntax-performance-3866
2026-08-10 21:19:46 +03:00
Keith Hall
8112350da6
Merge pull request #3747 from mvanhorn/fix/3697-bat-auto-detect-language-from-stdin
...
chore: improve auto-detection of language from stdin via first-line patterns and add tests
2026-08-10 19:43:01 +03:00
Keith Hall
a5deaf63ff
Merge branch 'master' into fix/3697-bat-auto-detect-language-from-stdin
2026-08-10 19:32:11 +03:00
Keith Hall
2fb2415731
Merge pull request #3885 from latent-9/fix-doc-typos
...
Fix doubled word in README
2026-08-10 05:37:48 +03:00
Keith Hall
73dc3258be
Merge pull request #3862 from lenamonj/fix/sanitize-bidi-control-set
...
Fix --sanitize passing through the bidi control characters U+200E, U+200F and U+061C
2026-07-30 00:27:20 +03:00
Keith Hall
0230cba42d
Merge pull request #3828 from cyphercodes/fix-list-languages-paging-never
...
Respect paging mode for --list-languages
2026-07-29 23:49:08 +03:00
Keith Hall
227e0fa00f
Merge branch 'master' into fix-list-languages-paging-never
2026-07-29 23:33:51 +03:00
Keith Hall
3a7a750969
Merge branch 'master' into fix-list-languages-paging-never
2026-07-29 21:25:10 +03:00
Keith Hall
c371044276
Merge pull request #3861 from TyceHerrman/fix/cargo-audit-2026-07
...
chore(deps): resolve current cargo audit failures
2026-07-29 21:18:39 +03:00
Keith Hall
78951393e2
Merge pull request #3729 from curious-rabbit/sanitize
...
add --sanitize option
2026-07-01 23:15:58 +03:00
Keith Hall
bb4f48a124
Merge pull request #3816 from adnrivera/fix/ignored-suffix-firstline
...
Fix --ignored-suffix to fall back to first-line detection
2026-07-01 00:40:18 +03:00
Keith Hall
835bd2a756
Merge pull request #3793 from Matei02355/fix-sml-definition-link
...
docs: fix SML syntax source link
2026-06-28 22:25:36 +03:00
Keith Hall
3409674d9c
Merge branch 'master' into fix-sml-definition-link
2026-06-28 22:15:42 +03:00
Keith Hall
7de0c4ba47
Merge pull request #3809 from dhruvkb/patch-1
...
Include `.code-workspace` as a JSON extension
2026-06-27 22:21:18 +03:00
Keith Hall
20a818fe14
Merge branch 'master' into patch-1
2026-06-27 21:58:52 +03:00
Keith Hall
30b50a9eed
Merge pull request #3814 from injust/dnf-repo
...
Add syntax mapping for DNF config
2026-06-27 21:57:37 +03:00
Keith Hall
b7ae4585ad
Merge pull request #3812 from greymoth-jp/fix/list-languages-narrow-width-underflow
...
fix: avoid usize underflow in --list-languages at narrow terminal width
2026-06-27 06:12:21 +03:00
Keith Hall
a4609d1778
Merge branch 'master' into fix/list-languages-narrow-width-underflow
2026-06-27 06:03:16 +03:00
Keith Hall
8f70e0cf00
Merge pull request #3703 from blinxen/master
...
Replace libgit2 with gitoxide (#2 )
2026-06-27 05:53:22 +03:00
Keith Hall
6d4a3cef53
Merge pull request #3789 from CosmicHorrorDev/caddy
...
feat: add syntax highlighting for `Caddyfile`
2026-06-17 20:35:17 +03:00
Keith Hall
5bb35b4bed
Merge pull request #3804 from leeewee/fix-snip-terminal-width-1-panic
...
Fix capacity-overflow panic in snip separator at --terminal-width 1
2026-06-16 20:19:08 +03:00
Keith Hall
f3d0773468
Merge pull request #3761 from mvanhorn/fix/3760-completion-skip-pager
...
fix(completions): force --no-paging on bat invocations in completion scripts (#3760 )
2026-05-20 07:00:37 +03:00
Keith Hall
ce7ad9adca
Merge pull request #3758 from injust/patch-1
...
Include `.ssh/` subdirectories in SSH Config syntax mapping
2026-05-18 20:26:18 +03:00
Keith Hall
f9fa590c3d
Merge branch 'master' into patch-1
2026-05-18 20:11:48 +03:00
Keith Hall
1e1c3773fb
Merge pull request #3759 from injust/patch-2
...
Add Ghostty syntax mapping
2026-05-18 20:10:26 +03:00
Keith Hall
2cec8cdf25
Merge pull request #3737 from truffle-dev/fix/zsh-completion-language-only
...
fix: only offer language names in zsh tab completion for `-l`
2026-05-11 20:32:12 +03:00
Keith Hall
f74082cee8
Merge pull request #3734 from kimjune01/fix/zsh-completion-force-plain
...
fix: pass --color=never --decorations=never in zsh completions
2026-05-09 13:52:47 +03:00
Keith Hall
f57c1b6b1d
Merge pull request #3726 from curious-rabbit/less
...
fix command injection in LESS template
2026-05-07 05:34:13 +03:00
Keith Hall
517de0463b
Merge branch 'master' into less
2026-05-07 05:23:26 +03:00
Keith Hall
cfc6d9c415
Merge pull request #3728 from Daeraxa/fix-fedora-section
...
Fix README Fedora section links
2026-05-06 04:59:37 +03:00
Keith Hall
baebdd1789
Merge pull request #3623 from zachvalenta/makefile-syntax-for-justfiles
...
Makefile syntax for justfiles
2026-05-02 14:04:55 +03:00
Keith Hall
f7b84a3b41
Merge branch 'master' into makefile-syntax-for-justfiles
2026-05-02 13:56:45 +03:00
Keith Hall
7fcab0616a
Merge pull request #3700 from optimistiCli/list-themes-term-probe-fix
...
Fixed hardcoded terminal probing when `--list-themes` is called
2026-04-30 18:09:32 +03:00
Keith Hall
e157ac911b
Merge branch 'master' into list-themes-term-probe-fix
2026-04-30 17:58:24 +03:00
Keith Hall
b29e1d55c4
Merge pull request #3709 from mvanhorn/osc/3228-readme-style-list
...
docs(README): list available --style components in Output style section
2026-04-30 14:15:25 +03:00
Keith Hall
12ee94f530
Merge branch 'master' into list-themes-term-probe-fix
2026-04-30 14:13:47 +03:00
Keith Hall
8fbc96a5f2
Merge pull request #3654 from cuiweixie/fix/lessclose-nonzero-warning
...
fix: correct $LESSCLOSE exit-status warning
2026-04-30 08:19:42 +03:00
Keith Hall
54bfc33248
Merge branch 'master' into fix/lessclose-nonzero-warning
2026-04-30 08:10:40 +03:00
Keith Hall
91aac95db2
Merge pull request #3691 from curious-rabbit/master
...
sanitize filenames
2026-04-28 23:24:00 +03:00
Keith Hall
5977245a23
Merge branch 'master' into fix/lessclose-nonzero-warning
2026-04-28 19:24:00 +03:00
Keith Hall
3f98e6f10f
Merge branch 'master' into master
2026-04-28 19:22:51 +03:00
Keith Hall
78cb14af05
Merge pull request #3699 from guille/master
...
Improve Kotlin syntax
2026-04-27 22:26:10 +03:00
Keith Hall
8c8ed90d6d
Merge branch 'master' into master
2026-04-27 22:20:33 +03:00
Keith Hall
8cadefb5cb
Merge pull request #3706 from lawrence3699/fix/initial-read-errors
...
Propagate initial input read errors
2026-04-27 21:46:10 +03:00
Keith Hall
de2f21562a
Merge pull request #3704 from sharkdp/fix/zsh-completion-language-word-split
...
Fix/zsh completion language word split
2026-04-27 06:07:37 +03:00
Keith Hall
93c52a4f88
Merge pull request #3692 from barry3406/fix/remove-crt-windows
...
windows: statically link the CRT to remove vcruntime dependency
2026-04-20 05:09:54 +03:00
Keith Hall
e782ec125c
Merge pull request #3647 from mvanhorn/osc/3513-tcl-shebang
...
feat: add tclsh, wish, and expect shebang detection for Tcl syntax
2026-04-19 05:52:52 +03:00
Keith Hall
f822bd05ce
Merge pull request #3689 from janlarres/python-uv
...
[Python] Support uv as script runner in shebang
2026-04-13 20:28:02 +03:00
Keith Hall
a36b02d90f
Merge pull request #3688 from orbisai0security/fix-fix-shell-injection-subprocess-call
...
fix: sanitize subprocess call in generate_snapshots.py
2026-04-12 16:04:47 +03:00
Keith Hall
33045c3558
Merge pull request #3687 from officialasishkumar/support-bat-width-env
...
Support BAT_WIDTH for terminal width
2026-04-12 04:59:03 +03:00
Keith Hall
a995764d23
Merge pull request #3686 from officialasishkumar/fix-zip-binary-detection
...
Detect ZIP archives as binary content
2026-04-10 20:30:27 +03:00
Keith Hall
111aa2e10e
Merge pull request #3682 from ltrzesniewski/slnx
...
Add .NET `slnx` extension
2026-04-08 05:20:55 +03:00
Keith Hall
11efacbe64
Merge pull request #3661 from sharkdp/diagnostic_themes
...
Update --diagnostic output with BAT_THEME_LIGHT/DARK env vars and detected theme type
2026-04-02 21:44:28 +03:00
Keith Hall
204ca18d71
Merge branch 'master' into diagnostic_themes
2026-04-02 21:36:24 +03:00
Keith Hall
3e4169b8c3
cargo fmt
2026-03-31 22:35:21 +03:00
Keith Hall
ba223289ce
Update --diagnostic output with detected terminal color scheme type
2026-03-31 22:23:10 +03:00
Keith Hall
abab6533e4
Update --diagnostic output with BAT_THEME_LIGHT/DARK env vars
2026-03-31 22:22:31 +03:00
Keith Hall
7d9884d6d2
Merge pull request #3655 from claw-explorer/docs/fish-abbr-removal
...
docs: add instructions for removing fish help abbreviations
2026-03-28 22:44:07 +02:00
Keith Hall
3ee9ea9a8d
Merge pull request #3652 from cyqsimon/syntax-mapping-glob-parse-cleanup
...
Builtin syntax mapping: cleanup matcher glob parsing logic
2026-03-25 22:01:52 +02:00
Keith Hall
a500fb236a
Merge pull request #3650 from Sim-hu/fix/i686-deb-architecture
...
fix: use correct Debian architecture name for i686 .deb
2026-03-24 22:37:48 +02:00
Keith Hall
515b9d62db
Merge branch 'master' into fix/i686-deb-architecture
2026-03-24 22:23:29 +02:00
Keith Hall
62907b1da5
Merge pull request #3651 from sharkdp/minus_home_end_keys
...
Add Home/End key bindings to builtin minus pager
2026-03-24 22:22:53 +02:00
Keith Hall
eef7107407
update changelog
2026-03-24 21:38:07 +02:00
Keith Hall
780fdeb888
Merge pull request #3576 from vorburger/patch-2
...
feat: Map BUILD to Python (Starlark) for Bazel (fixes #3575 )
2026-03-22 20:14:05 +02:00
Keith Hall
7a9c6e0de5
Merge branch 'master' into patch-2
2026-03-22 17:47:24 +02:00
Keith Hall
a1e7c0ab4a
Merge pull request #3643 from mvanhorn/feat/diff-plain-compatibility
...
feat: preserve change markers when combining --diff with --plain
2026-03-21 16:30:43 +02:00
Keith Hall
1e36873704
Merge branch 'master' into feat/diff-plain-compatibility
2026-03-21 16:21:56 +02:00
Keith Hall
66eece4e2c
Merge branch 'master' into patch-2
2026-03-20 23:57:19 +02:00
Keith Hall
a19593b383
improvements from PR review
...
1. Added `Deserialize` derive and `#[serde(try_from = "RawMatcher")]` to the `Matcher` struct. With `try_from`, serde generates a `Deserialize` impl that first deserializes into `RawMatcher`, then calls `TryFrom<RawMatcher> for Matcher`. It never attempts to deserialize `Matcher`'s fields directly, so `Case` and `MatcherSegment` don't need `Deserialize` impls.
2. Replaced the manual `impl<'de> serde::Deserialize<'de> for Matcher` with a standard `impl TryFrom<RawMatcher> for Matcher`. The logic is identical - the conversion is fallible because `Matcher::from_str` returns `Result<_, anyhow::Error>`, so `try_from` (not `from`) is the correct choice, avoiding any panics.
The net effect: same behavior, same error handling, but using the idiomatic serde pattern instead of a manual deserializer impl. The `RawMatcher` intermediate type and its `#[serde(untagged)]` derive remain unchanged.
2026-03-20 23:53:30 +02:00
Keith Hall
7a6f442c86
improvements from PR review
...
- prefer to use `Default::default` because it's semantically clearer why we've chosen to use a particular value
2026-03-20 23:35:27 +02:00
Keith Hall
3767f15c2a
improvements from PR review
...
fix documentation about syntax mappings
2026-03-20 23:34:38 +02:00
Keith Hall
1932d1da39
Merge pull request #3642 from mvanhorn/fix/deb-musl-package-names
...
fix: consistent .deb MUSL package names
2026-03-20 22:57:41 +02:00
Keith Hall
b0e5590864
Merge branch 'master' into fix/deb-musl-package-names
2026-03-20 22:42:24 +02:00
Keith Hall
f2daa1eb6e
Merge pull request #3640 from eyupcanakman/fix/binary-as-text-width-3631
...
Fix line wrapping for files with control characters
2026-03-20 22:40:28 +02:00
Keith Hall
4a38eab3ea
Merge pull request #3628 from XploitMonk0x01/codex/clarify-bat-vs-batcat
...
docs: clarify Ubuntu and Debian executable name
2026-03-19 23:00:59 +02:00
Keith Hall
c6e661d80b
cargo fmt
2026-03-18 22:25:07 +02:00
Keith Hall
031ba0953a
Merge branch 'master' into patch-2
2026-03-18 22:17:18 +02:00