David Tolnay
4e11abdf9b
Move git changes support behind a feature
5 years ago
David Tolnay
570805bc98
Strip dependencies of bat-as-a-library
5 years ago
David Tolnay
e7e1967bb0
Allow using bat-as-a-library with older syntect
5 years ago
Igor Raits
136a745c5d
chore: Update liquid to 0.20
...
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
5 years ago
sharkdp
c13935f3c0
Bump version to 0.13, see #845
5 years ago
sharkdp
bd8a13dbc9
Initial implementation of glob-based syntax mapping
5 years ago
sharkdp
a2075b0f24
Update git dependency
5 years ago
sharkdp
b1183f72a5
Update to new assert_cmd
5 years ago
dependabot-preview[bot]
6d32d3dbec
Bump assert_cmd from 0.11.1 to 0.12.0
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.11.1...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
c6bbca62ef
Bump console from 0.9.2 to 0.10.0
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Kogia-sima
85e84ab3eb
Add unicode-width dependency
5 years ago
dependabot-preview[bot]
f079c14068
Bump git2 from 0.11.0 to 0.12.0
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.11.0...git2-curl-0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
0418e6294b
Bump atty from 0.2.13 to 0.2.14
...
Bumps [atty](https://github.com/softprops/atty ) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/softprops/atty/releases )
- [Changelog](https://github.com/softprops/atty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/atty/compare/0.2.13...0.2.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
sharkdp
126729f87a
Enable LTO
...
closes #719
5 years ago
dependabot-preview[bot]
826624c9fa
Bump git2 from 0.10.2 to 0.11.0
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.10.2...git2-curl-0.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
3a5f8ece49
Bump liquid from 0.18.2 to 0.19.0
...
Bumps [liquid](https://github.com/cobalt-org/liquid-rust ) from 0.18.2 to 0.19.0.
- [Release notes](https://github.com/cobalt-org/liquid-rust/releases )
- [Changelog](https://github.com/cobalt-org/liquid-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cobalt-org/liquid-rust/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Ethan P
c8478cedc5
Update manual page to use parameterized names
5 years ago
dependabot-preview[bot]
25c2e1725e
Bump syntect from 3.2.1 to 3.3.0
...
Bumps [syntect](https://github.com/trishume/syntect ) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/trishume/syntect/releases )
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/trishume/syntect/compare/v3.2.1...v3.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
ac5ff9d454
Bump console from 0.8.0 to 0.9.0
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.8.0...0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
sharkdp
608cefb05c
Bump version
5 years ago
sharkdp
47d5130764
Bump version
5 years ago
dependabot-preview[bot]
f8ea075e78
Bump console from 0.7.7 to 0.8.0
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.7.7 to 0.8.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.7.7...0.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
c187dce2c2
Bump lazy_static from 1.3.0 to 1.4.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
108c907d69
Bump git2 from 0.9.2 to 0.10.0
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.9.2...git2-curl-0.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
dcfa810112
Bump syntect from 3.2.0 to 3.2.1
...
Bumps [syntect](https://github.com/trishume/syntect ) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/trishume/syntect/releases )
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/trishume/syntect/compare/v3.2.0...v3.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
35ca1c5191
Bump atty from 0.2.12 to 0.2.13
...
Bumps [atty](https://github.com/softprops/atty ) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/softprops/atty/releases )
- [Changelog](https://github.com/softprops/atty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/atty/compare/0.2.12...0.2.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
ee6659dacf
Bump ansi_term from 0.11.0 to 0.12.0
...
Bumps [ansi_term](https://github.com/ogham/rust-ansi-term ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/ogham/rust-ansi-term/releases )
- [Commits](https://github.com/ogham/rust-ansi-term/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
7f5a5612e4
Bump atty from 0.2.11 to 0.2.12
...
Bumps [atty](https://github.com/softprops/atty ) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/softprops/atty/releases )
- [Changelog](https://github.com/softprops/atty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/atty/compare/0.2.11...0.2.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
e9210c0f6c
Bump git2 from 0.8.0 to 0.9.0
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.8.0...0.9.0 )
5 years ago
dependabot-preview[bot]
b2757cb461
Bump dirs from 1.0.5 to 2.0.0
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 1.0.5 to 2.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
5 years ago
sharkdp
260814c377
Bump version to 0.11
6 years ago
dependabot[bot]
2fdfb8de40
Bump escargot from 0.4.0 to 0.5.0
...
Bumps [escargot](https://github.com/crate-ci/escargot ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/crate-ci/escargot/releases )
- [Changelog](https://github.com/crate-ci/escargot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/escargot/compare/v0.4.0...v0.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
f8c759edff
Bump clap from 2.32.0 to 2.33.0
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.32.0 to 2.33.0.
- [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/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
e34431f922
Bump assert_cmd from 0.11.0 to 0.11.1
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.11.0...v0.11.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
dbc49e534a
Bump syntect from 3.1.0 to 3.2.0
...
Bumps [syntect](https://github.com/trishume/syntect ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/trishume/syntect/releases )
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/trishume/syntect/compare/v3.1.0...v3.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
Daniele Esposti
a21ae614e6
Migrated to Rust 2018
6 years ago
dependabot[bot]
b94c94e845
Bump lazy_static from 1.2.0 to 1.3.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.2.0...1.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
ecf147fd96
Bump syntect from 3.0.2 to 3.1.0
...
Bumps [syntect](https://github.com/trishume/syntect ) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/trishume/syntect/releases )
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/trishume/syntect/compare/v3.0.2...v3.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
sharkdp
357ce84c56
Bump version to 0.10
6 years ago
Lavi
6a8e4757b7
Updated bat config dir for MacOs
...
Removed directories crate and using dirs_rs
Changed bat config file and cache dir on MacOs:
config: ~/.config/bat/config
cache: ~/.config/bat/cache/
6 years ago
dependabot[bot]
82f048aedb
Bump assert_cmd from 0.10.2 to 0.11.0
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.10.2...v0.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
abf0229741
Bump escargot from 0.3.1 to 0.4.0
...
Bumps [escargot](https://github.com/crate-ci/escargot ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/crate-ci/escargot/releases )
- [Changelog](https://github.com/crate-ci/escargot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/escargot/compare/v0.3.1...v0.4.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
72e8036edc
Bump git2 from 0.7.5 to 0.8.0
...
Bumps [git2](https://github.com/alexcrichton/git2-rs ) from 0.7.5 to 0.8.0.
- [Release notes](https://github.com/alexcrichton/git2-rs/releases )
- [Commits](https://github.com/alexcrichton/git2-rs/compare/libgit2-sys-0.7.5...git2-curl-0.8.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
49c22c8d39
Bump console from 0.6.2 to 0.7.0
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Commits](https://github.com/mitsuhiko/console/compare/0.6.2...0.7.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
673caf6b59
Bump assert_cmd from 0.10.1 to 0.10.2
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.10.1...v0.10.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
sharkdp
e79c5516bf
Bump version, update assets
6 years ago
dependabot[bot]
1117d2f9cb
Bump syntect from 3.0.1 to 3.0.2
...
Bumps [syntect](https://github.com/trishume/syntect ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/trishume/syntect/releases )
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/trishume/syntect/compare/v3.0.1...v3.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
0800562ba2
Bump content_inspector from 0.2.3 to 0.2.4
...
Bumps [content_inspector](https://github.com/sharkdp/content_inspector ) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/sharkdp/content_inspector/releases )
- [Commits](https://github.com/sharkdp/content_inspector/compare/v0.2.3...v0.2.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
dependabot[bot]
f37f100352
Bump lazy_static from 1.1.0 to 1.2.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.1.0...1.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago
sharkdp
c6a526f99c
Run 'cargo run' only once
6 years ago
sharkdp
a892caeb33
Bump bat version to 0.8
6 years ago
sharkdp
e956225b4d
Update syntect to 3.0.1
...
closes #314
6 years ago
sharkdp
693bd5929d
Add possibility for spaces on a single line
6 years ago
sharkdp
1891e194b5
Add simple integration tests
6 years ago
sharkdp
5842d58c01
Updates for syntect 3.0
6 years ago
sharkdp
404d6a4a81
Update content_inspector version
6 years ago
sharkdp
25d96da4a2
Add support for UTF-16LE and UTF-16BE
6 years ago
sharkdp
ce96df00b6
Do not display binary files in interactive mode
...
closes #248
6 years ago
sharkdp
1dbb4ef683
Update minimum Rust version to 1.27
6 years ago
Richard Hozák
b39e28d2c8
Add support for wildcards in Windows CMD ( #329 )
...
Windows does not support wildcard expansion in cmd, this adds 'wild' crate (as discussed in #309 ) that handles everything transparently, so wildcards work everywhere.
Fixes #309
6 years ago
davideGiovannini
0d71968615
Generate shell completions with clap during build ( #327 )
...
* Generate shell completions with clap during build
* Updated ci release script, added SHELL_COMPLETIONS_DIR override to build.rs and fixed dependency version
6 years ago
sharkdp
238482e5f3
Update syntax-set, fixes #314
6 years ago
Michal Nazarewicz
79b960e17e
Use ansi_colours package for better true-colour approximation
6 years ago
sharkdp
732750c274
Bump version
6 years ago
sharkdp
54c434934e
Bump version, update assets
6 years ago
rachitchokshi
e9681bf22d
Testing build by removing dependency 'libz-sys = "1.0.20"'
6 years ago
rachitchokshi
1b6df8a480
Enabled build target aarch64-unknown-linux-gnu for arm64 architecture
6 years ago
sharkdp
ba4d5a2e7d
Bump version number
6 years ago
sharkdp
839e4ee611
Bump version
6 years ago
sharkdp
08850f0474
Update the `--help` text
6 years ago
sharkdp
297afad337
Bump version
6 years ago
sharkdp
5b421b455d
Update dependencies
6 years ago
sharkdp
0cc5d1dab6
Update error-chain to fix compiler warnings
6 years ago
sharkdp
c9f7a0c126
Use separate Git repository for snapshot testing
...
closes #161
6 years ago
sharkdp
86c1777205
Skip snapshot test if Git is not available
...
closes #161
6 years ago
sharkdp
16874ab016
Exclude assets from upload
6 years ago
sharkdp
bf5883f06f
Updates for 0.4
6 years ago
sharkdp
f74263e71d
Update syntect
6 years ago
sharkdp
1013cdd80a
Bump version
7 years ago
sharkdp
9aa97b6c22
Update to latest syntect, closes #100
7 years ago
David Peter
6343535eb2
Add 32bit support ( #87 )
...
* Add 32bit support, closes #84
* Remove error-chain backtrace support
7 years ago
Pit Kleyersburg
389edd7239
Combine `OutputComponent`s and `PredefinedStyle`s
...
This commit tries to simply the change. Instead of separating an
`OutputComponent` and a `PredefinedStyle`, I have combined the two into
just `OutputComponent`.
To still have the styles work, I added an impl to `OutputComponent` with
a function `components` which returns the components related to the
specified component.
For a simple output component this is trivial, but for the predefined
styles this is a list of other components.
The evaluating of the command-line parameter simplified significantly,
making use of Claps `values_t!` macro to parse the supplied parameters
into a `Vec<OutputComponent>`. After that it is simply a task of
combining all supplied output components into one vector.
Important: this means that the styles are now additive, rather than one
of the predefined styles overruling other parameters supplied.
7 years ago
Pit Kleyersburg
23813cc08b
Make `--style` parameter more flexible
...
The `--style` parameter now accepts a comma-separated list of strings,
where every element defines either a single output component (`changes`,
`grid`, `header`, `numbers`) or a predefined style (`full`,
`line-numbers`, `plain`).
If available, bat picks the first predefined style in the user-supplied
style-list and ignores everything else. If no predefined style was
requested, the other parameters that are simple output components will
be used.
Examples:
--style changes,full,numbers
Will internally be reduced to only the predefined style `full`.
--style plain,full
Will internally be reduced to only the predefined style `plain`.
--style changes,numbers
Will not be reduced, because the list does not contain any predefined
styles.
(Note: if `grid` is requested but no other parameters, bat still creates
the left-most column with a width of `PANEL_WIDTH`. I didn't want to
introduce further logic in this PR that drops or adapts the width of the
left column.)
7 years ago
sharkdp
f59ddd1e36
Update dependencies
7 years ago
sharkdp
4e8ea815af
Bump version
7 years ago
sharkdp
f5a9236a47
Bump version
7 years ago
sharkdp
edbe8f3e1a
Remove openssl dependency
7 years ago
sharkdp
ed09a80a73
Bump version to 0.2.1
7 years ago
sharkdp
25f83610f9
Remove explicit bincode dependency
7 years ago
sharkdp
64ef61b409
Add customization chapter
7 years ago
sharkdp
ced6801740
Better error messages
7 years ago
sharkdp
f81e38618c
Implement SyntaxSet and ThemeSet caching
...
closes #21 , see #20
7 years ago
sharkdp
74d023a7b1
Specify syntect features
7 years ago
sharkdp
36bbc770eb
Use error-chain
7 years ago
sharkdp
70ffd60b20
Update help text
7 years ago
sharkdp
a979608f37
Add Git support, closes #8
7 years ago
sharkdp
8f5a80ea07
Initial commit
7 years ago