Commit Graph

1704 Commits (cc7b89faf822d773a5ec74f3c80320ff06863af8)
 

Author SHA1 Message Date
David Peter cc7b89faf8
Merge pull request #1440 from Enselic/fix-1438-newline-can-be-added-even-if-style-plain
Don't add artificial newline to last line if --style=plain
4 years ago
chris48s c1e4746d50 change docs dir name to match package name
i.e: docs for bat-musl go in /usr/share/doc/bat-musl
not /usr/share/doc/bat
4 years ago
chris48s 8331eec7fc include changelog in package
in line with debian changelog/release notes guidance
https://www.debian.org/doc/debian-policy/ch-docs.html#changelog-files-and-release-notes
resolves changelog-file-missing-in-native-package
https://lintian.debian.org/tags/changelog-file-missing-in-native-package.html
4 years ago
chris48s 0547068ed0 include years in copyright notice
This brings the copyright notice into line with the expected format
resolves copyright-without-copyright-notice
https://lintian.debian.org/tags/copyright-without-copyright-notice.html
4 years ago
chris48s 18d8389785 ensure copyright is mode 644
resolves non-standard-file-perm
https://lintian.debian.org/tags/non-standard-file-perm.html
4 years ago
chris48s 165d25d941 remove leading article from description
resolves description-synopsis-starts-with-article
https://lintian.debian.org/tags/description-synopsis-starts-with-article.html
4 years ago
chris48s c4fb77b042 invoke gzip with -n
resolves package-contains-timestamped-gzip
https://lintian.debian.org/tags/package-contains-timestamped-gzip.html
4 years ago
VeryTastyTomato 973ea984c8 fix: warnings of ShellCheck
SC2155: Declare and assign separately to avoid masking return values.
SC2164: Use cd ... || exit in case cd fails.
SC2230: which is non-standard. Use builtin 'command -v' instead.
4 years ago
sharkdp 3e9afe2974 Add integration test for nonexisting newline 4 years ago
David Peter 73c16574e6
Merge branch 'master' into fix-1438-newline-can-be-added-even-if-style-plain 4 years ago
Martin Nordholts 60e00d49a9
Fix #1443 macOS: regression_test.sh: mktemp: illegal option (#1444)
The macOS version of mktemp does not recognize the --suffix option.
Using pure -d should work since, it seems [1], macOS 10.11 however.

So to make the script work on macOS, stop using the --suffix option.

The downside is of course that the temporary dir will have an anonymous
name, but I see no risk of confusion given how short-lived the usage of
the dir is, and given the context it is used.

[1] https://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x
4 years ago
Keith Hall 2d22c705ba
Merge pull request #1439 from rsteube/themes-help-interactive-only
only print themes hint in interactive mode
4 years ago
Martin Nordholts 68d525cd8b Don't add artificial newline to last line if --style=plain
This fixes #1438.

Note however, that using a pager such as less will add a newline itself.
So to actually not print a newline for such files, you need to either
disable paging:

  bat --style=plain --paging=never no-newline-at-end-of-file.txt

or use a "pager" that does not add a newline:

  bat --style=plain --pager=cat no-newline-at-end-of-file.txt

Note that we also update syntax tests file since a bunch of them had
missing newlines on the last lines.
4 years ago
Martin Nordholts c3fc1b88fe replace_nonprintable: Keep \n around
Since it has a functional role, we can not just replace it, we must keep
it around. This also allows us to simplify the code slightly.

We must fix this before we fix #1438 since otherwise the \n will be
missing with --style=plain, since we will stop adding it if it is
missing.
4 years ago
rsteube 84b0702399 only print themes hint in interactive mode 4 years ago
purvesh-linux11 f3489ffa29 add packaging in unreleased section 4 years ago
purvesh-linux11 8e6ba2a3e1 update changelog file 4 years ago
purvesh-linux11 48e799e7a6 changing snap name to batcat 4 years ago
purvesh-linux11 bc01999f0d update chagelog.md 4 years ago
purvesh-linux11 b0fcb3065f add snap installtion command 4 years ago
sharkdp 94d8cd5100 Minor fixes in CONTRIBUTING.md 4 years ago
dependabot-preview[bot] 5596c6133b Bump assets/syntaxes/02_Extra/ssh-config from `1ddcb32` to `201816b`
Bumps [assets/syntaxes/02_Extra/ssh-config](https://github.com/robballou/sublimetext-sshconfig) from `1ddcb32` to `201816b`.
- [Release notes](https://github.com/robballou/sublimetext-sshconfig/releases)
- [Commits](1ddcb320ac...201816b609)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot] 304332e380 Bump assets/syntaxes/02_Extra/GraphQL from `c9d8458` to `59304d6`
Bumps [assets/syntaxes/02_Extra/GraphQL](https://github.com/dncrews/GraphQL-SublimeText3) from `c9d8458` to `59304d6`.
- [Release notes](https://github.com/dncrews/GraphQL-SublimeText3/releases)
- [Commits](c9d84587eb...59304d6c7b)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot] fb989d8c94 Bump assets/syntaxes/02_Extra/Svelte from `bf92f5b` to `aee0676`
Bumps [assets/syntaxes/02_Extra/Svelte](https://github.com/corneliusio/svelte-sublime) from `bf92f5b` to `aee0676`.
- [Release notes](https://github.com/corneliusio/svelte-sublime/releases)
- [Commits](bf92f5b7b6...aee0676f37)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot] 026220b960 Bump assets/syntaxes/02_Extra/AWK from `e593eb6` to `e23926e`
Bumps [assets/syntaxes/02_Extra/AWK](https://github.com/JohnNilsson/awk-sublime) from `e593eb6` to `e23926e`.
- [Release notes](https://github.com/JohnNilsson/awk-sublime/releases)
- [Commits](e593eb6d42...e23926eca1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot] 543a253bc1 Bump assets/themes/Coldark from `b4a1c74` to `e44750b`
Bumps [assets/themes/Coldark](https://github.com/ArmandPhilippot/coldark-bat) from `b4a1c74` to `e44750b`.
- [Release notes](https://github.com/ArmandPhilippot/coldark-bat/releases)
- [Commits](b4a1c74d8d...e44750b2a9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot] 8f8e44e87a Bump assert_cmd from 1.0.1 to 1.0.2
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.1 to 1.0.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/v1.0.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
Deshdeepak 2da11097f9 Update with termux installation 4 years ago
chris48s d124ebeced only try to publish one set of archives/packages for linux x64 4 years ago
sharkdp 6d981498d8 Bump version to 0.17.1 4 years ago
sharkdp bd2e9917da Revert "Add cycle detection integration tests"
This reverts commit ec60d84265.
4 years ago
sharkdp a6810e3353 Revert "Add io cycle detection with clircle"
This reverts commit aa2ae19dfd.
4 years ago
henil 591eba66a3 add new syntax test files 4 years ago
sharkdp a5a9ac83e5 Revert "Update dependencies"
This reverts commit 44a905d135.
4 years ago
sharkdp 15b122a448 Update syntax cache 4 years ago
sharkdp 44a905d135 Update dependencies 4 years ago
sharkdp 8884104e82 Bump version to v0.17.0 4 years ago
David Peter 277cc5fa21 Revert "invoke gzip with -n"
This reverts commit 21de52ebea.
4 years ago
David Peter 0cbd7d583c Revert "remove leading article from description"
This reverts commit 7c730d11c3.
4 years ago
David Peter 3c3fc92863 Revert "ensure copyright is mode 644"
This reverts commit 4a6b4fb632.
4 years ago
David Peter e69d650598 Revert "include years in copyright notice"
This reverts commit 9f91a7d797.
4 years ago
David Peter 9385c81882 Revert "include changelog in package"
This reverts commit 1d4cee11b7.
4 years ago
David Peter 1b84f9f1ae Revert "add Depends line"
This reverts commit 883cc964ae.
4 years ago
David Peter d879fbd8a1 Revert "change docs dir name to match package name"
This reverts commit e4370d8d3f.
4 years ago
sharkdp 1fbdef06aa Use unreachable!(…) 4 years ago
MarcoIeni f5531cc7fa remove all matches 4 years ago
MarcoIeni 2ccff145ed remove unuseful matches expression 4 years ago
MarcoIeni 43b2ee5e71 fix some clippy warnings 4 years ago
sharkdp 51463a4b41 Change Robot syntax name to 'Robot Framework' 4 years ago
Niklas Mohrin 4f0116bee7 Add cycle detection integration tests 4 years ago