Commit Graph

2776 Commits (51203ff750008f6ba39f831caeed70a11cd74e2c)
 

Author SHA1 Message Date
Martin Nordholts 86ac48d68e Temporarily change dependabot to daily
So we can more easily test that auto-merge works as it should. Once we
have confirmed it does, we revert this commit.
11 months ago
Martin Nordholts c42fc810ea Setup auto-merge of dependabot PRs that pass CI 11 months ago
Martin Nordholts 6baebd79fa Add test for what jobs 'all-jobs' references 11 months ago
Martin Nordholts c6cae09f99 CHANGELOG.md: Add new unreleased section 11 months ago
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
    =============================
    [...]
11 months ago
Martin Nordholts 32da58e723 Update CHANGELOG.md for v0.24.0 12 months ago
Mészáros Máté Róbert 63aaa03013
Update the ssh-config submodule (#2697)
* Update the ssh-config submodule

Pull in the fix for the syntax.
Fixes #2359

* Extend the ssh_config syntax test
12 months ago
David Peter fbe9b6f15f
New warp text/subtext 12 months ago
David Peter c946ddb012 Replace warp logo 12 months ago
rhysd e5c81ed41e Replace our own macros to write buffers with standard macros 12 months ago
skoriop 0937d575fd fix: rewrite overflow test using `usize::MAX` 12 months ago
skoriop 4382be5e7c docs: update `CHANGELOG.md` 12 months ago
skoriop d89df18de2 test: add test for overflow in `LineRange::from` 12 months ago
skoriop 9fcc57e496 fix: integer overflow in `LineRange::parse_range` 12 months ago
Raghav-Bell 8e35a56712 Updated version of `serde_yaml` to 0.9 12 months ago
Linda_pp 9f795dd947
Associate `*.sarif` files with `json` syntax (#2695)
* Associate `*.sarif` files with `json` syntax

* Update changelog for #2695
12 months ago
dependabot[bot] 721f956c1c Bump once_cell from 1.17.0 to 1.18.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.0 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
dependabot[bot] db4cdc1cb8 Bump clap from 4.4.2 to 4.4.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.2 to 4.4.6.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.4.2...v4.4.6)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
dependabot[bot] e455f93a1e Bump encoding_rs from 0.8.32 to 0.8.33
Bumps [encoding_rs](https://github.com/hsivonen/encoding_rs) from 0.8.32 to 0.8.33.
- [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.32...v0.8.33)

---
updated-dependencies:
- dependency-name: encoding_rs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
rhysd d756d6f1ed Fix syntax tests failure on macOS during the daytime 12 months ago
rhysd 6568fb775d Explain how to convert `.tmLanguage.json` and `.tmLanguage.yml` files in doc/assets.md 12 months ago
rhysd d376a4b631 Add support for WGSL 12 months ago
dependabot[bot] 6e5fd36882 Bump flate2 from 1.0.26 to 1.0.27
Bumps [flate2](https://github.com/rust-lang/flate2-rs) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.26...1.0.27)

---
updated-dependencies:
- dependency-name: flate2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
dependabot[bot] c7cc4b5c59 Bump bytesize from 1.2.0 to 1.3.0
Bumps [bytesize](https://github.com/hyunsik/bytesize) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/hyunsik/bytesize/releases)
- [Commits](https://github.com/hyunsik/bytesize/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: bytesize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
dependabot[bot] db76091a53 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months ago
David Peter 506fe65474 Add Warp as a sponsor 12 months ago
Connor Sullivan 69c326fd41 Prefer shorter winget install 12 months ago
Connor Sullivan 466b275e87 [docs] Remove duplicate winget
Removes duplicate winget instructions for Windows install.
12 months ago
Dan Gohman 319c675f3e Fix a double-`close` in the `no_args_doesnt_break` test.
Fix the `no_args_doesnt_break` test to avoid calling `from_raw_fd` twice
on the same raw file descriptor, as that cause the file descriptor to be
closed twice, which means it could accidentally close some unrelated newly
created file descriptor.
12 months ago
Nicolas AMBRY 5a240f36b9
Case insensitive `--map-syntax` (#2650)
Co-authored-by: Nicolas AMBRY <nicolas.ambry@atos.net>
1 year ago
J-Kappes e2bf85e749
Make -pp override --paging and vice versa when passed as a later argument. (#2660) 1 year ago
Anomalocaridid fe73010a5e ignore failing test 1 year ago
Anomalocaridid 150c04acb6 update CHANGELOG.md 1 year ago
Anomalocaridid 433176ab54 require LESSOPEN to have exactly one %s 1 year ago
Anomalocaridid b56021ffa9 make LESSOPEN support opt-in 1 year ago
Anomalocaridid ac2953c070 pass --no-lessopen to less by default 1 year ago
Boy van Duuren d6e11b59e7
#2592: Fixes unit tests dependent on echo on windows (#2602)
Co-authored-by: Boy van Duuren <boy.van.duuren@rabobank.nl>
1 year ago
Martin Nordholts f49278cfaa Do not enable `lessopen` feature by default 1 year ago
pseudometa 9b73eda957 docs: add global `--help` alias limitations 1 year ago
pseudometa ed99a3a104 docs: Add better snippet for colorizing help pages 1 year ago
Anomalocaridid e32ad0b048
Add `$LESSOPEN` and `$LESSCLOSE` support (#2444) 1 year ago
David Peter 3abc0c0fc4
Merge pull request #2548 from utkarshgupta137/master
Replace `dirs` crate with `etcetera` crate
1 year ago
David Peter b06f13f0c5
Merge pull request #2618 from Piturnah/feat/write-to-buffer
feat: Optionally write to a buffer instead of stdout
1 year ago
Utkarsh Gupta a721cc31f3 Replace `dirs` crate with `etcetera` crate 1 year ago
David Peter 1e52785d35
Merge pull request #2626 from rhysd/encoding_rs
Replace unmaintained `encoding` dependency with `encoding_rs`
1 year ago
Orion Yeung 9ba3b6ed13
No duplicate keys test, fixes #2643 (#2647)
* moved unit tests to conditional compile

made module `tests` and conditionally compiled

* added test to check for duplicate keys in builtin

checks all pairs in GlobMatcher::mappings via `GlobMatcher::glob`s `Eq`
panics at first match

```rs
SyntaxMapping {
  mappings: Vec<(
    GlobMatcher {
      glob: Glob, ...,
    }, ...,
  }, ...,
}
```

* output more info with test failure

* dont duplicatively add git config path

* use guard in match for adding builtin git config syntax mapping

---------

Co-authored-by: Orion Yeung <11580988+orionyeung001@users.noreply.github.com>
1 year ago
Peter Hebden 72e1a40bab Remove leftover unwrap 1 year ago
Peter Hebden 33a89410d4 Add example to show new feature 1 year ago
Peter Hebden b2c28cdddb Clippy lints 1 year ago
Peter Hebden 906e774372 Handle todos 1 year ago