David Peter
f29f9387b5
Merge pull request #2868 from cyqsimon/builtin-offload-v2
...
Faster startup by offloading glob matcher building to a worker thread
2024-03-10 20:08:43 +01:00
cyqsimon
071874ea8f
Write changelog
2024-02-29 14:34:00 +08:00
David Peter
bc5beaec5d
Update CHANGELOG.md
2024-02-24 20:36:08 +01:00
einfachIrgendwer0815
1fbdbfc4b2
Update CHANGELOG
2024-02-24 13:52:40 +01:00
Ethan P
9bb0271e7d
Update CHANGELOG.md (PR #1441 )
2024-02-24 13:51:40 +01:00
David Peter
1ae9e843ed
Merge branch 'master' into skip-highlighting-when-no-color
2024-02-23 21:59:32 +01:00
David Peter
4549f83689
Merge branch 'master' into quadlet
2024-02-23 21:54:36 +01:00
David Peter
b9e249f782
Merge branch 'master' into syntax-mapping-fix
2024-02-23 21:52:46 +01:00
David Peter
a6f01af8de
Merge branch 'master' into containers-conf
2024-02-23 21:50:35 +01:00
David Peter
b718889ba2
Merge branch 'master' into master
2024-02-23 21:48:44 +01:00
David Peter
708c74f6af
Merge pull request #2795 from mxaddict/master
...
Added JSONC and aws credentials to the syntax mappings
2024-02-23 21:48:20 +01:00
David Peter
74d666f5c0
Merge branch 'master' into skip-highlighting-when-no-color
2024-02-23 21:45:38 +01:00
David Peter
7604fe5567
Merge pull request #2807 from Oliver-Looney/2783-setting-terminal-title
...
2783 setting terminal title
2024-02-23 21:37:28 +01:00
David Peter
0080b043c4
Merge branch 'master' into master
2024-02-23 21:35:21 +01:00
cyqsimon
c7bce46622
Write changelog
2024-02-21 15:24:36 +08:00
cyqsimon
6a6b02117b
Apply clippy fixes ( #2864 )
...
* Apply clippy fixes
* Write changelog
2024-02-20 19:39:22 +01:00
cyqsimon
511cd30105
Write changelog
2024-02-21 00:26:23 +08:00
cyqsimon
d499191b0a
Write changelog
2024-02-20 14:54:43 +08:00
cyqsimon
81aa24310c
Write changelog
2024-02-20 14:33:02 +08:00
Oliver Looney
1f628203e5
Merge branch 'master' into 2783-setting-terminal-title
2024-02-12 09:34:01 +00:00
David Peter
bc1ca1a346
Merge branch 'master' into fix-2185
2024-02-12 08:19:56 +01:00
Ethan P.
25b5a41189
Skip syntax parsing when color output disabled
2024-02-11 22:49:49 -08:00
Ethan P.
915dd9fbf8
Fix incorrect categorization of SGR sequences
...
Specifically, prevent other attributes from leaking into the
bold/dim/italic/underline attributes, and ensure that bright backgrounds
are put into the background attribute instead of the foreground
attribute.
2024-02-11 19:35:54 -08:00
Ethan P.
9d77c1373c
Fix off-by-one error in line number continuation
2024-02-11 16:49:06 -08:00
Oliver Looney
c3f2ddf509
Merge branch 'master' into 2783-setting-terminal-title
2024-02-11 22:53:48 +00:00
mxaddict
a5bd9f51be
Added JSONC and aws credentials to the syntax mappings
2024-02-11 04:57:42 +08:00
Ethan P
61029c8bd2
Update changelog for fix of ANSI OSC sequences
2024-02-09 22:09:40 -08:00
Ethan P
c29bf2ff28
Update git2 dependency
2024-02-09 22:05:30 -08:00
David Tolnay
1a54c9bf6d
Eliminate dependency on serde's "derive" feature
2024-02-08 15:55:30 -08:00
Andy Kipp
695cf1f387
Update CHANGELOG.md
2024-01-31 14:12:00 +01:00
Filip Razek
e7256a624b
Refer to PR instead of issue in CHANGELOG
2024-01-21 19:48:26 +01:00
Filip Razek
45ee2dc4c7
fix: Wrap file name in header
2024-01-21 19:48:26 +01:00
cyqsimon
230abfd2bc
Merge branch 'master' into syntax-mapping-refactor
2024-01-19 15:18:48 +08:00
cyqsimon
e4d637a3d8
Reverse precedence of syntax mappings specified on CLI
2024-01-18 22:41:57 +08:00
rhysd
98a2b6bc17
Update changelog
2024-01-17 22:00:29 +01:00
dependabot[bot]
cd81c7fa6b
Bump assets/syntaxes/02_Extra/SublimeJQ from 6870582
to b7e53e5
( #2820 )
...
* Bump assets/syntaxes/02_Extra/SublimeJQ from `6870582` to `b7e53e5`
Bumps [assets/syntaxes/02_Extra/SublimeJQ](https://github.com/zogwarg/SublimeJQ ) from `6870582` to `b7e53e5`.
- [Commits](687058289c...b7e53e5d86
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/SublimeJQ
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update highlighted version of sample.jq
* update changelog
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Hall <kingkeith+github@gmail.com>
2024-01-03 14:16:33 +00:00
Oliver Looney
b4fdb5dc36
Merge branch 'master' into 2783-setting-terminal-title
2024-01-01 09:45:53 +00:00
Oliver Looney
6f1cc80d68
Merge branch 'master' into 2783-setting-terminal-title
2023-12-31 22:25:25 +00:00
Víctor González Prieto
497342fabb
Bump cmd-help syntax to latest
...
Manual update (as opposed to Dependabot's) because the highlighting for
the test help message has changed. It's all good because it's as
intended, an improvement.
See victor-gp/cmd-help-sublime-syntax#23
2023-12-29 18:15:55 +01:00
David Tolnay
bf56cd90f0
Eliminate dependency on syn v1 by updating git-version
2023-12-29 08:37:11 +01:00
David Tolnay
0acb979e9e
Pull in fix for unsafe-libyaml security advisory
2023-12-28 23:01:55 +01:00
Oliver Looney
d7503bfc09
Merge branch 'master' into 2783-setting-terminal-title
2023-12-27 16:14:04 +00:00
Martin Nordholts
b89dc15be1
Use proper Architecture for Debian packages built for musl
...
New values taken from
dpkg-architecture -L
2023-12-27 17:03:40 +01:00
Oliver looney
321b3ec81b
updated CHANGELOG.md
2023-12-18 17:38:11 +00:00
Oliver looney
1679460f42
updated CHANGELOG.md
2023-12-18 17:32:08 +00:00
cyqsimon
cfd622d6e1
Migrate SyntaxMapping
impl to new system
...
Most existing builtins are removed but not yet ported, so the test
`user_can_override_builtin_mappings` should fail. It should pass once the old
rules have been ported.
2023-12-11 10:21:05 +08:00
cyqsimon
4815b6155e
Write changelog
2023-12-11 10:21:03 +08:00
Lena
28990bc451
fix: display color when NO_COLOR is an empty string ( #2767 )
2023-12-02 11:43:55 +00:00
Broono Lu
bfa0b5241f
Update Arch Linux package URL in README files ( #2779 )
2023-12-01 21:26:35 +01:00
cyqsimon
51203ff750
Use GitHub API to get correct PR submitter ( #2791 )
2023-12-01 11:18:10 +00:00
Oliver Kiddle
b43d31b75a
Improvements and fixes to zsh completion
...
* Use correct return status so that approximate completion isn't broken
* Follow zsh conventions on description forms
* Some options can be used multiple times, e.g. -H, -r, --file-name
* Set completion context correctly for the cache subcommand
* Better completion for --map-syntax argument
* Add --nonprintable-notation option
* Correct some of the mutual exclusion lists for options
2023-12-01 11:11:44 +01:00
cyqsimon
491ae70aa9
Write changelog
2023-11-06 06:02:59 +01:00
cyqsimon
bcc2de86b4
CI: add changelog check ( #2766 )
...
* Added changelog item check
Fetch the base branch and diff correctly
- See: https://github.com/actions/checkout/issues/160
Improve organisation
Add some echo for easier debugging
Fix bad variable syntax
Clarify the double-print in the success case
* Write to changelog
* Don't block dependabot PRs
2023-11-03 08:53:29 +01:00
cyqsimon
1296aea836
Write changelog for #2756
...
- I always forget to write changelog.
2023-11-03 06:25:18 +01:00
cyqsimon
4b33093f9e
Bump edition to 2021 ( #2748 )
2023-10-31 04:54:06 +01:00
Martin Nordholts
c6cae09f99
CHANGELOG.md: Add new unreleased section
2023-10-11 20:43:52 +02:00
Martin Nordholts
fc9546854f
Bump version to v0.24.0
...
We need to bump 0.x.0 because the library API changed in incompatible
ways:
$ cargo public-api diff
Resolved `diff` to `diff 0.23.0`
Removed items from the public API
=================================
(none)
Changed items in the public API
===============================
-pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>) -> bat::error::Result<bool>
+pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>) -> bat::error::Result<bool>
-pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool>
+pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool>
Added items to the public API
=============================
[...]
2023-10-11 19:14:12 +02:00
Martin Nordholts
32da58e723
Update CHANGELOG.md for v0.24.0
2023-10-10 16:50:20 +02:00
skoriop
4382be5e7c
docs: update CHANGELOG.md
2023-10-05 09:20:09 +02:00
Raghav-Bell
8e35a56712
Updated version of serde_yaml
to 0.9
2023-10-04 12:42:01 +02:00
Linda_pp
9f795dd947
Associate *.sarif
files with json
syntax ( #2695 )
...
* Associate `*.sarif` files with `json` syntax
* Update changelog for #2695
2023-10-04 09:34:40 +02:00
rhysd
d376a4b631
Add support for WGSL
2023-10-04 09:09:54 +02:00
Nicolas AMBRY
5a240f36b9
Case insensitive --map-syntax
( #2650 )
...
Co-authored-by: Nicolas AMBRY <nicolas.ambry@atos.net>
2023-09-14 16:04:43 +02:00
Anomalocaridid
150c04acb6
update CHANGELOG.md
2023-09-08 06:25:20 +02:00
Anomalocaridid
e32ad0b048
Add $LESSOPEN
and $LESSCLOSE
support ( #2444 )
2023-09-02 08:48:26 +02:00
einfachIrgendwer0815
26111950b3
Add environment variable BAT_PAGING
2023-09-01 17:59:41 +02:00
Orion Yeung
f21d3502e1
Add *.ron
syntax mapping
...
Add a mapping to use `Rust` for rusty object notation, identified by `.ron` extension. See [#2427 ](https://github.com/sharkdp/bat/issues/2427 ).
2023-09-01 17:57:46 +02:00
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>
2023-09-01 05:42:45 +02:00
John Higgins
7826e506f8
Merge branch 'master' into doc_fix
2023-08-02 09:00:29 -07:00
John Higgins
b720af8a06
fix for issue #2095
2023-08-02 00:28:26 -07:00
John Higgins
b1fbcc8a6e
fix for issue #2633
2023-08-02 00:04:55 -07:00
einfachIrgendwer0815
8b187e6997
Update CHANGELOG
2023-07-02 13:55:54 +02:00
cyqsimon
8e866babfc
Write changelog
2023-06-01 13:25:02 +08:00
Marcin Puc
3ca8c43a67
Update CHANGELOG.md
2023-03-25 11:56:40 +01:00
David Peter
d27aaffead
New empty CHANGELOG section
2023-03-25 10:33:49 +01:00
David Peter
58dbbd1cd4
Bump version to 0.23
2023-03-25 09:46:42 +01:00
Collin Styles
ad3586f58a
Update CHANGELOG.md
2023-03-24 22:33:43 +01:00
Keith Hall
b65a02681a
Add crontab syntax
2023-03-17 22:48:12 +02:00
einfachIrgendwer0815
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
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
2023-03-03 13:20:03 +01:00
Keith Hall
52ef1bc0d6
Scope environment variable and commands sections in Manpages
2023-02-05 16:56:54 +01:00
BlackHoleFox
1004018941
Directly read preferences instead of using the defaults CLI
2023-02-05 16:53:28 +01:00
cyqsimon
b6b9d3a629
Disable completion of cache
subcommand ( #2399 )
...
* Disable completion of `cache` subcommand
* Fully removed completion code for `cache`
* Add to changelog
2022-12-18 11:46:43 +01:00
Víctor González Prieto
3ffa7edbd5
Bump cmd-help syntax to latest
...
This update includes an overhaul of scope names to better support the
set of themes included with bat.
You can find a visual diff for every theme in this PR:
https://github.com/victor-gp/cmd-help-sublime-syntax/pull/17
This commit updates the cmd-help syntax test because the scopes (-> colors)
have changed.
2022-12-07 04:02:05 +01:00
Martin Nordholts
906de11975
Update CHANGELOG.md
2022-12-03 17:13:13 +01:00
dependabot[bot]
d5b397f66a
Bump assets/syntaxes/02_Extra/TOML from ed38438
to fd0bf3e
( #2410 )
...
* Bump assets/syntaxes/02_Extra/TOML from `ed38438` to `fd0bf3e`
Bumps [assets/syntaxes/02_Extra/TOML](https://github.com/jasonwilliams/sublime_toml_highlighting ) from `ed38438` to `fd0bf3e`.
- [Release notes](https://github.com/jasonwilliams/sublime_toml_highlighting/releases )
- [Commits](ed38438900...fd0bf3e5d6
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/TOML
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update CHANGELOG.md
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2022-12-03 17:09:39 +01:00
Miles Liu
e39178b101
Fix bat cache --clear
not clearing the --target
dir if specified
2022-11-19 18:00:37 +08:00
David Peter
7c847d84b0
Update CHANGELOG
2022-11-04 22:08:51 +01:00
Aaron Kollasch
017e830bf2
Move CHANGELOG.md entry to Features
2022-11-02 17:14:48 -04:00
Aaron Kollasch
d084cdc72b
Update CHANGELOG.md
...
Co-authored-by: David Peter <sharkdp@users.noreply.github.com>
2022-11-02 16:48:51 -04:00
Aaron Kollasch
36ccc6a31e
Allow env vars to override config but not args
2022-11-02 16:48:50 -04:00
David Peter
5652038f01
Update CHANGELOG
2022-11-02 21:03:16 +01:00
David Peter
a7b0449967
Update CHANGELOG
2022-10-30 22:10:04 +01:00
David Peter
3668464f3d
Update CHANGELOG
2022-10-30 20:01:10 +01:00
David Peter
3c9c960612
Merge pull request #2309 from johnmatthiggins/master
...
Added -S flag for truncating long lines
2022-10-30 17:36:09 +01:00
wzy
f215d07366
Improve Manpage.sublime-syntax, Fix #2353 ( #2364 )
...
* Improve Manpage.sublime-syntax, Fix #2353
* Add highlight tests for fzf-0.33.0
2022-10-17 19:56:17 +02:00
John Higgins
20f272168a
Fixed typo in CHANGELOG.md for PR #2309
2022-10-14 14:23:51 -07:00
John Higgins
236a2c5794
Fixed inverted logic on -S and --chop-long-lines
2022-10-13 23:52:15 -07:00
Martin Nordholts
8bd5a88f07
Prepare a new "unreleased" section at the top of CHANGELOG.md
2022-09-10 20:39:33 +02:00
Martin Nordholts
e5d9579614
Bump version to v0.22.1
2022-09-10 17:59:33 +02:00