355a82db54
CICD: Sort build matrix by target
2021-08-29 15:39:25 +02:00
b3e17bde82
CICD: Remove disabled windows-2019 i686-pc-windows-gnu from build matrix
...
It just messes up alignment. Nothing gets better by keeing it around.
2021-08-29 15:39:25 +02:00
4b38e7b1d7
CICD: Swap target and os in matrix job name
...
The full name can frequently not be shown, and target is more relevant than os,
so show target first.
2021-08-29 15:39:25 +02:00
43afae34be
Add PowerShell completion file ( #1826 )
2021-08-28 13:39:17 +02:00
27fa55d274
src/build_assets.rs: Refactor into smaller functions ( #1822 )
...
To make the code easier to work with.
2021-08-27 09:56:20 +02:00
19c3e82abf
Replace deprecated 'error-chain' with 'thiserror' ( #1820 )
...
We can't use #[from] on Error::Msg(String) because String does not implement Error.
(Which it shouldn't; see e.g. https://internals.rust-lang.org/t/impl-error-for-string/8881 .)
So we implement From manually for Error::Msg, since our current code was written
in that way for error-chain.
2021-08-26 13:12:21 +02:00
f1c0fd7343
Don't take a HighlightingAssets detour to build assets ( #1802 )
...
Move code to build assets to its own file. That results in better modularity and flexibility.
It also allows us to simplify HighlightingAssets a lot, since it will now always
be initialized with a SerializedSyntaxSet.
2021-08-24 07:58:03 +02:00
12dfbdc400
doc/release-checklist.md: Recommend git push origin tag vX.Y.Z ( #1815 )
2021-08-23 20:08:04 +02:00
c86a179412
PR comments addressed for line range +delta syntax
2021-08-23 19:55:41 +02:00
0748783404
Support for line range plus syntax
2021-08-23 19:55:41 +02:00
b3247d9364
Merge the v0.18.3 hotfix release into master
...
The v0.18.3 release was a hotfix release to make bat build again with Rust 1.54.
This merge commit brings in all changes from the hotfix release into the master
branch.
In practice, this only brings in one new commit, namely b146958ec
. The other
three commits in the release were cherry-picks from master.
2021-08-22 19:22:20 +02:00
ba8a694314
Add LANG and LC_ALL to --diagnostics output
...
To make it easier to debug problems like #1806 in the future.
2021-08-22 18:31:39 +02:00
b146958ecb
Bump version to v0.18.3
v0.18.3
2021-08-22 17:47:12 +02:00
ff70a80741
Add statically linked binaries for ARM
2021-08-22 15:52:23 +02:00
ecdb17148d
Use Ubuntu 20.04 instead of 18.04
2021-08-22 15:52:23 +02:00
11bd523f7e
Remove post-release section
2021-08-22 09:38:35 +02:00
01fbedc246
Formatting
2021-08-22 09:38:35 +02:00
05e4e1f2f2
Add refined version of release checklist
2021-08-22 09:38:35 +02:00
20223ad77c
Add old release checklist
2021-08-22 09:38:35 +02:00
51edacb5eb
style: trim excess whitespace
2021-08-21 23:07:37 +02:00
5197ef9048
fix: spelling
2021-08-21 23:07:37 +02:00
19678527e5
chore(find-slow-to-highlight-files.py): be explicit about using python3
...
In many distros, `python` no longer leads to anything, and instead
`python2` or `python3` need to be explicitly run.
2021-08-21 23:07:37 +02:00
5d319dee94
style(create.sh): remove non-POSIX keyword
2021-08-21 23:07:37 +02:00
15c701b196
Bump bugreport to 0.4.1
...
(cherry picked from commit f6975e2acd
)
2021-08-21 20:03:39 +02:00
d8339808a1
Update git2 dependency to fix incompatibility with Rust 1.54
...
(cherry picked from commit f3d53b79a2
)
2021-08-21 20:02:56 +02:00
3b263f0917
Fix typo in README
...
(cherry picked from commit fc0794a83d
)
2021-08-21 20:02:23 +02:00
43e1a11ad8
Make Package Control reference a link
2021-08-19 07:21:32 +02:00
ed09f90e5e
Fix all lints that are new with Rust 1.54
...
They are all of the following type:
https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
2021-08-19 07:19:12 +02:00
cbd96237fd
CICD: Add 'cargo fmt' check
2021-08-19 07:18:05 +02:00
f5c1cb2dff
Run 'cargo fmt'
2021-08-19 07:18:05 +02:00
5eb93a6eae
Merge pull request #1800 from sharkdp/syslog_no_colon_after_process
...
Fix syslog syntax highlighting when no colon after "process"
2021-08-17 21:22:52 +03:00
25fa577cd0
Make 'build-assets' an optional capability for application
...
Also structure features a bit more clever to avoid duplication of
feature dependency declarations.
2021-08-17 10:58:21 +02:00
deddc81426
src/assets.rs: Use ThemeSet::new() instead of BTreeMap::new()
2021-08-17 10:58:21 +02:00
133b06e945
Fix syslog syntax highlighting when no colon after "process"
2021-08-16 22:15:39 +03:00
699f1e65cc
Add slim syntax test
2021-08-16 06:16:53 +02:00
9ef87dab27
Convert tmLanguage into sublime-syntax
2021-08-16 06:16:53 +02:00
5125e9c941
Add support for ruby-slim syntax
2021-08-16 06:16:53 +02:00
6c62ed5608
revamped integration test, made CHANGELOG changes
2021-08-14 22:02:58 +02:00
bf78288e9e
feat(config): added recognition of $BAT_CONFIG_DIR
2021-08-14 22:02:58 +02:00
f8498b260b
Merge pull request #1793 from scop/syslog-improvements
...
Syslog highlight improvements
2021-08-12 09:49:33 +03:00
79f08588c6
Mention syslog highlight improvements in change log
2021-08-11 23:03:33 +03:00
2d92a4dbb3
Allow colon in syslog loghost
...
Makes it work with IPv6 addresses.
2021-08-11 21:36:43 +03:00
f508ddf66d
Allow period in syslog loghost
...
Makes it work with FQDN's and IPv4 addresses.
2021-08-11 16:43:04 +03:00
02218c916c
Allow period in syslog process name
2021-08-11 16:41:56 +03:00
89217e0d58
Make --no-paging and --no-pager work again
2021-08-09 13:37:56 +02:00
cb4973987b
Cargo.toml: Introduce 'quick-build-application' feature
...
Use it like this:
cargo build --no-default-features --features quick-build-application
It reduces dependencies to build from 154 to 125, allowing quicker iteration
when developing the app.
2021-08-08 11:18:26 +02:00
905902d811
bin: Allow to build without bugreport
2021-08-08 11:18:26 +02:00
c83e382eac
Cargo.toml: Only build bugreport with the app
2021-08-08 11:18:26 +02:00
f6975e2acd
Bump bugreport to 0.4.1
2021-08-08 11:18:26 +02:00
d8b813c0bf
When returning a SyntaxReference, also return the SyntaxSet that contains it ( #1776 )
...
To improve startup performance, we will later load smaller `SyntaxSet`s instead
of one giant one. However, the current API assumes only one `SyntaxSet` is ever used,
and that that implicitly is the `SyntaxSet` from which returned `SyntaxReference`s
comes.
This change changes the API to reflect that `SyntaxSet` and `SyntaxReference`
are tightly coupled, and enables the use of several `SyntaxSet`.
2021-08-08 08:26:17 +02:00