Commit Graph

3014 Commits (6fc58821a53e8dff0690a1f6a144cee6d4676b71)
 

Author SHA1 Message Date
cyqsimon 2c9bf229e1
Add doc comment for `BUILTIN_MAPPINGS` 9 months ago
cyqsimon 822e81bb24
Suppress clippy warning for `MappingTarget` in build script 9 months ago
cyqsimon ad628c0471
Fix iterator lifetime incompatibility 9 months ago
cyqsimon f483d2df42
Lazily compile `GlobMatcher`s 9 months ago
cyqsimon 4ad3002543
`s/Lazy<GlobMatcher>/Lazy<Option<GlobMatcher>>/` 9 months ago
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.
9 months ago
cyqsimon 1c7c9a6b6d
Split `syntax_mapping/builtin.rs` 9 months ago
cyqsimon 0c93ca80f4
Guard against duplicate matchers in build script 9 months ago
cyqsimon de6d418d42
Remove `BuiltinMatcher` enum
Explanation added as comments in code
Using plain `Lazy<Option<GlobMatcher>>` is just better
9 months ago
cyqsimon c016b462c0
`STATIC_RULES` => `BUILTIN_MAPPINGS` 9 months ago
cyqsimon 7e1fbcfe95
Fix visibility for `SyntaxMapping::get_syntax_for`
This change was made in 31fb708, but then was reverted (I assume incorrectly)
in 6246485.
9 months ago
cyqsimon 4815b6155e
Write changelog 9 months ago
cyqsimon 075b5b288a
Matcher parser errors when empty 9 months ago
cyqsimon 7cfd1e0d78
Rerun build script only when necessary 9 months ago
cyqsimon 9f7d70f642
Use regex for matcher parsing
- Somewhat better maintainability I think
9 months ago
cyqsimon 0fea82cff9
Minor improvement of variable naming accuracy 9 months ago
cyqsimon 64840fbbae
`join_segments` -> `build_glob_string`
- this is a more descriptive name
9 months ago
cyqsimon 827b3eca2f
Add unset `*.conf` example 9 months ago
cyqsimon 9478d2dfe8
Isolate variables at compile time 9 months ago
cyqsimon d24501ab5e
`include!` generated mappings in source 9 months ago
cyqsimon 9f4259721a
Fix codegen type declaration 9 months ago
cyqsimon 77e491161c
Ensure lexicographical ordering 9 months ago
cyqsimon 97780f987e
`MappingDefModel::into_mapping_list` returns `MappingList` 9 months ago
cyqsimon d1bc0ef0d4
Build script codegen initial impl 9 months ago
cyqsimon 52f94b4623
Clarify syntax selection algorithm behaviour 9 months ago
cyqsimon 37fd050100
Describe filename ordering more accurately 9 months ago
cyqsimon 83286975ff
Add ordering prefix to git-config example 9 months ago
cyqsimon f705fcb984
Add global git-config example 9 months ago
cyqsimon 9ca1f20f43
Add specification draft 9 months ago
Oliver looney 6ad800e43a
tidied commits 9 months ago
Oliver looney 069318b139
fixed formatting of terminal title 9 months ago
Oliver looney b9b554248d
successfully setting the terminal title to bat's input's names 9 months ago
Oliver looney 4863d428dd
title is being reset on quit, so no need to restore terminal title 9 months ago
Oliver looney 2e103ee6b3
able to set terminal title to hardcoded value 9 months ago
Lena 28990bc451
fix: display color when NO_COLOR is an empty string (#2767) 10 months ago
cyqsimon 748e2a681f Add `columns=3` to repology badge 10 months ago
Broono Lu bfa0b5241f
Update Arch Linux package URL in README files (#2779) 10 months ago
Oliver looney 4af4bfc0f1 fixed syntax typo in russian readme 10 months ago
cyqsimon 51203ff750
Use GitHub API to get correct PR submitter (#2791) 10 months ago
dependabot[bot] 96cef9a24e
Bump assets/themes/zenburn from `43dc527` to `e627f1c` (#2790)
Bumps [assets/themes/zenburn](https://github.com/colinta/zenburn) from `43dc527` to `e627f1c`.
- [Commits](43dc527731...e627f1cb22)

---
updated-dependencies:
- dependency-name: assets/themes/zenburn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago
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
10 months ago
dependabot[bot] ad3ff26960
Bump serde from 1.0.190 to 1.0.193 (#2788)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.190 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.193)

---
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>
10 months ago
dependabot[bot] 86b40993c3
Bump grep-cli from 0.1.9 to 0.1.10 (#2789)
Bumps [grep-cli](https://github.com/BurntSushi/ripgrep) from 0.1.9 to 0.1.10.
- [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/grep-cli-0.1.9...0.1.10)

---
updated-dependencies:
- dependency-name: grep-cli
  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>
10 months ago
dependabot[bot] 31bed250ba
Bump clap from 4.4.6 to 4.4.10 (#2786)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.6 to 4.4.10.
- [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/v4.4.6...v4.4.10)

---
updated-dependencies:
- dependency-name: clap
  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>
10 months ago
Cosmic Horror 7658334645 Consider adding `?exclude_unsupported=1` to repology badge 10 months ago
cyqsimon 491ae70aa9 Write changelog 11 months ago
cyqsimon d64c568196 Allow overriding `{WARMUP,RUN}_COUNT` using env 11 months ago
cyqsimon b5982a6174 Allow setting number of runs in `run-benchmarks.sh` 11 months ago
Maria José Solano 04e7d2a313 fix(completions): add missing fish completions 11 months ago
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
11 months ago