Ethan P
9c371ed8a2
Merge pull request #997 from eth-p/misc-fixes-1
...
Allow 'bat' application to built without git feature, remove PrettyPrint git support when feature not enabled.
2020-05-15 16:41:13 -07:00
Ethan P
f03ab11623
Update CHANGELOG.md
2020-05-15 14:03:04 -07:00
Ethan P
887e61a99d
Allow application to be built without git support
...
Caveats:
The help descriptions aren't changed with you remove the "git" feature.
2020-05-15 13:58:48 -07:00
Ethan P
0aca8cab0b
Remove vcs_modification_markers from PrettyPrinter 'git' feature disabled
2020-05-15 13:58:48 -07:00
Ethan P
d08d1f8c45
Merge pull request #985 from eth-p/string-input
...
Unify syntax detection for all variants of InputKind, fix #983
2020-05-15 13:57:44 -07:00
Ethan P
403ab6e443
Update CHANGELOG.md
2020-05-15 13:23:24 -07:00
Ethan P
b8687bc969
Merge branch 'master' of github.com:sharkdp/bat into string-input
2020-05-15 13:22:24 -07:00
Ethan P
9166c9dd35
Remove unnecessary clone in integration tests
2020-05-15 12:29:01 -07:00
Ethan P
cc52f79e42
Add helper fn for checking if opened input is theme preview file
2020-05-15 12:20:20 -07:00
Ethan P
59140b458c
Consolidate syntax detection behavior for all InputKind types
2020-05-13 02:53:30 -07:00
Ethan P
82981c9663
Add regression test for detected syntax differing for stdin and files
2020-05-13 02:53:19 -07:00
Ethan P
157b8dd848
Rename test for checking if inputkinds are consistent
2020-05-13 00:47:18 -07:00
Ethan P
1fb669ae1a
Test that OrdinaryFile consistent with CustomReader
2020-05-13 00:38:56 -07:00
Ethan P
7d07aa395a
Change assets.rs tests to use InputKind::CustomReader
...
This should avoid errors in filesystems that don't
support UTF-8 or invalid UTF-8.
2020-05-13 00:38:41 -07:00
dependabot-preview[bot]
c2c7070712
Bump assets/syntaxes/02_Extra/Julia from 0ca4cc2
to 6c0d770
...
Bumps [assets/syntaxes/02_Extra/Julia](https://github.com/JuliaEditorSupport/Julia-sublime ) from `0ca4cc2` to `6c0d770`.
- [Release notes](https://github.com/JuliaEditorSupport/Julia-sublime/releases )
- [Commits](0ca4cc2990...6c0d770fc7
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:31:26 +02:00
dependabot-preview[bot]
daf06bb026
Bump assets/syntaxes/02_Extra/Email from fc034fb
to ee3e68f
...
Bumps [assets/syntaxes/02_Extra/Email](https://github.com/mariozaizar/email.sublime-syntax ) from `fc034fb` to `ee3e68f`.
- [Release notes](https://github.com/mariozaizar/email.sublime-syntax/releases )
- [Commits](fc034fb85a...ee3e68fce2
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:22:27 +02:00
dependabot-preview[bot]
5b11b1ba47
Bump assets/themes/onehalf from fdcbffe
to 970abdf
...
Bumps [assets/themes/onehalf](https://github.com/sonph/onehalf ) from `fdcbffe` to `970abdf`.
- [Release notes](https://github.com/sonph/onehalf/releases )
- [Commits](fdcbffe317...970abdf26b
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:22:13 +02:00
sharkdp
ee287447c5
Update CHANGELOG
2020-05-13 08:21:58 +02:00
dependabot-preview[bot]
257f978ceb
Bump assets/syntaxes/02_Extra/ssh-config from 16e19d5
to 3ec06d0
...
Bumps [assets/syntaxes/02_Extra/ssh-config](https://github.com/robballou/sublimetext-sshconfig ) from `16e19d5` to `3ec06d0`.
- [Release notes](https://github.com/robballou/sublimetext-sshconfig/releases )
- [Commits](16e19d5da4...3ec06d0e9c
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:19:17 +02:00
dependabot-preview[bot]
8e803bdb02
Bump assets/themes/dracula-sublime from 811a634
to 26c57ec
...
Bumps [assets/themes/dracula-sublime](https://github.com/dracula/sublime ) from `811a634` to `26c57ec`.
- [Release notes](https://github.com/dracula/sublime/releases )
- [Commits](811a634420...26c57ec282
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 07:58:49 +02:00
dependabot-preview[bot]
a265242e6e
Bump assets/themes/Solarized from 87e0109
to 3707f68
...
Bumps [assets/themes/Solarized](https://github.com/braver/Solarized ) from `87e0109` to `3707f68`.
- [Release notes](https://github.com/braver/Solarized/releases )
- [Commits](87e01090cf...3707f68ddc
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 07:58:32 +02:00
dependabot-preview[bot]
3aa9b31bda
Bump assets/syntaxes/02_Extra/Elm from dfbb8bd
to e266d27
...
Bumps [assets/syntaxes/02_Extra/Elm](https://github.com/elm-community/SublimeElmLanguageSupport ) from `dfbb8bd` to `e266d27`.
- [Release notes](https://github.com/elm-community/SublimeElmLanguageSupport/releases )
- [Commits](dfbb8bdc9a...e266d279c8
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 07:58:15 +02:00
dependabot-preview[bot]
c692c4770a
Bump assets/syntaxes/02_Extra/Elixir from 89b3bad
to 1f010d5
...
Bumps [assets/syntaxes/02_Extra/Elixir](https://github.com/princemaple/elixir-sublime-syntax ) from `89b3bad` to `1f010d5`.
- [Release notes](https://github.com/princemaple/elixir-sublime-syntax/releases )
- [Commits](89b3bada32...1f010d5f63
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 07:58:02 +02:00
sharkdp
6ceba56288
Add 'mkdir -p …' to Ubuntu instructions, see #982
2020-05-12 18:35:35 +02:00
David Peter
4be66f8b88
Update README.md
2020-05-12 17:42:52 +02:00
David Peter
54a85d98f1
Add instructions for ~/.local/bin/bat symlink
2020-05-12 17:41:15 +02:00
Prat T
491a5a17f3
Update CHANGELOG
2020-05-12 16:37:29 +02:00
Prat T
b3373398e8
Remove padding if the header style is not enabled
2020-05-12 16:37:29 +02:00
Prat T
0040fef215
Add padding above headers when no grid
2020-05-12 16:37:29 +02:00
Ethan P
1a6e8d297f
Update README to mention batcat for Debian/Ubuntu
2020-05-12 11:08:21 +02:00
Ethan P
f39487fca9
Make syntax detection more consistent for Reader and File inputs
2020-05-11 19:44:09 -07:00
sharkdp
2596bfe7a7
Bump version to v0.15.1
2020-05-11 20:30:45 +02:00
sharkdp
406bffa8c8
Update syntaxes and themes
2020-05-11 20:29:49 +02:00
sharkdp
48441b99ef
Patch Markdown syntax
...
closes #963
see #977
2020-05-11 20:22:50 +02:00
sharkdp
ce4717144a
Update CHANGELOG
2020-05-11 19:33:13 +02:00
Mitchell Kember
f59d00d4c7
Fix base16, and combine 00 and 0f alpha encodings
...
This changes the base16 theme back from #RRGGBB0f to #RRGGBB00,
reverting part of #934 . That PR used the 0f encoding to produce ANSI
escape sequences 30-37 and 40-47 rather than 38;5 and 48;5 which require
256-color support. Unfortunately, it resulted in base16 using the wrong
colors becuase ansi_term does not support the bright variants (90-97 and
100-107) so it simply mapped them to the non-bright colors.
This PR makes combines the 00 and 0f alpha encodings into 00, and makes
them use the Color enum for the first 8 colors and Fixed otherwise. This
means the ansi-light and ansi-dark themes will work on terminals without
256-color support, and base16 will render bright colors correctly.
2020-05-11 19:29:19 +02:00
Ethan P
dcfdbf82dd
Do not warn if both 'bat' and 'batcat' are available in info.sh
2020-05-02 10:39:58 +02:00
Ethan P
0cb884d501
Prevent batcat warning from being in output of info.sh
2020-05-02 10:39:58 +02:00
Ethan P
7bc4020a92
Check for 'batcat' in info.sh
2020-05-02 10:39:58 +02:00
sharkdp
0792195156
Properly add QML submodule
2020-05-01 10:24:19 +02:00
dependabot-preview[bot]
83f24ffcfb
Bump git2 from 0.13.3 to 0.13.5
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.3 to 0.13.5.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.3...0.13.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 10:21:19 +02:00
pylipp
74ec390770
Add QML syntax
...
QML.sublime-syntax file generated from Support/QML.tmLanguage using
Sublime's built-in converter.
Fix sharkdp/bat#962
2020-04-30 09:59:14 +02:00
Mario Zaizar
9014ffcfd8
Adds Email ( https://github.com/mariozaizar/email.sublime-syntax )
2020-04-29 19:38:39 +02:00
sharkdp
81af375289
Use console 0.11.2, see #955
2020-04-28 21:18:48 +02:00
sharkdp
d707eab95c
Revert "Use console 0.11.1, see #955 "
...
This reverts commit d64c55ef11
.
The build on Windows failed due to two broken tests:
line_numbers
tabs_numbers
2020-04-28 09:22:19 +02:00
sharkdp
d64c55ef11
Use console 0.11.1, see #955
2020-04-28 00:00:59 +02:00
sharkdp
2b1d53fb27
Add '--locked' flag to all 'cargo install' commands
2020-04-27 23:43:18 +02:00
sharkdp
bf696f58c8
Pin version of console to 0.10.0
2020-04-27 23:37:06 +02:00
sharkdp
296bad8ffd
Update CHANGELOG
2020-04-27 22:01:41 +02:00
sharkdp
94310af30c
Add Fortran syntax, closes #957
2020-04-27 21:45:36 +02:00