2022-01-10 00:16:43 by Santhosh Raju | Files touched by this commit (3) | |
Log message:
textproc/bat: Updates to 0.19.0
Changes since 0.18.2:
v0.19.0
Performance
* Reduce startup time in loop-through mode (e.g. when redirecting output) by
90%. See #1747 (@Enselic)
* Load themes lazily to make bat start 25% faster when disregarding syntax load
time. See #1969 (@Enselic)
* Python syntax highlighting no longer suffers from abysmal performance in
specific scenarios. See #1688 (@keith-hall)
* Fix for poor performance when ANSI escape sequences are piped to bat, see
#1596 (@eth-p)
* Fix for incorrect handling of ANSI escape sequences when using --wrap=never,
see #1596 (@eth-p)
* Load custom assets as fast as integrated assets, see #1753 (@Enselic)
Features
* Support for x:-delta (minus) syntax in line ranges (e.g. 20:-10). See #1901
(@bojan88)
* Support for --ignored-suffix argument. See #1892 (@bojan88)
* $BAT_CONFIG_DIR is now a recognized environment variable. It has precedence
over $XDG_CONFIG_HOME, see #1727 (@billrisher)
* Support for x:+delta syntax in line ranges (e.g. 20:+10). See #1810
(@bojan88)
* Add new --acknowledgements option that gives credit to theme and syntax
definition authors. See #1971 (@Enselic)
* Include git hash in bat -V and bat --version output if present. See #1921
(@Enselic)
Bugfixes
* First line not shown in diff context. See #1891 (@divagant-martian)
* Do not ignore syntaxes that handle file names with a *.conf extension. See
#1703 (@cbolgiano)
Other
* Add PowerShell completion, see #1826 (@rashil2000)
* Minimum supported Rust version (MSRV) bumped to 1.51, see #1994 (@mdibaiee)
Syntaxes
* Groff, see #1685 (@scop)
* HTTP Requests and Responses, see #1748 (@keith-hall)
* LLVM, see #1777 (@ioncodes)
* Highlight for vimrc and gvimrc files, see #1763 (@SuperSandro2000)
* Syslog highlighting improvements, see #1793 (@scop)
* Added support for slim syntax, see #1693 (@mfinelli)
* Racket, see #1884 (@jubnzv)
* LiveScript, see #1915 (@Enselic)
* MediaWiki, see #1925 (@sorairolake)
* The requirements.txt syntax has been removed due to incompatible license
requirements.
* Dart, new highlighter, see #1959 (@Ersikan)
* SCSS and Sass syntaxes updated, see #1766 (@Enselic)
* PowerShell syntax updated, see #1935 (@Enselic)
* TypeScript syntax updated, see #1834 (@Enselic)
bat as a library
* Deprecate HighlightingAssets::syntaxes() and
HighlightingAssets::syntax_for_file_name(). Use
HighlightingAssets::get_syntaxes() and
HighlightingAssets::get_syntax_for_path() instead. They return a Result which
is needed for upcoming lazy-loading work to improve startup performance. They
also return which SyntaxSet the returned SyntaxReference belongs to. See
#1747, #1755, #1776, #1862 (@Enselic)
* Remove HighlightingAssets::from_files and
HighlightingAssets::save_to_cache. Instead of calling the former and then the
latter you now make a single call to bat::assets::build. See #1802, #1971
(@Enselic)
* Replace the error::Error(error::ErrorKind, _) struct and enum with an
error::Error enum. Error(ErrorKind::UnknownSyntax, _) becomes
Error::UnknownSyntax, etc. Also remove the error::ResultExt trait. These
changes stem from replacing error-chain with thiserror. See #1820 (@Enselic)
* Add new MappingTarget enum variant MapExtensionToUnknown. Refer to its
documentation for more information. Also mark MappingTarget as
#[non_exhaustive] since more enum variants might be added in the future. See
#1703 (@cbolgiano), #2012 (@Enselic)
v0.18.3
Bugfixes
* Bump git2 dependency to fix build with Rust 1.54, see #1761
|
2021-12-08 17:07:18 by Adam Ciarcinski | Files touched by this commit (3063) |
Log message:
revbump for icu and libffi
|
2021-11-08 06:23:57 by Santhosh Raju | Files touched by this commit (2) |
Log message:
textproc/bat: Refactor the crates into it's own file.
|
2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161) |
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
|
2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162) |
Log message:
textproc: Remove SHA1 hashes for distfiles
|
2021-07-16 06:11:11 by Santhosh Raju | Files touched by this commit (2) |
Log message:
textproc/bat: Updates to 0.18.2
Changes since 0.18.1:
v0.18.2
Features
* Ignore known backup/template filename suffixes when selecting the syntax,
see #1687 (@scop)
Bugfixes
* Fix for a security vulnerability on Windows. Prior to this release, bat
would execute programs called less/less.exe from the current working
directory (instead of the one from PATH) with priority. An attacker might
be able to use this by placing a malicious program in a shared directory
where the user would execute bat. bat users on Windows are advised to
upgrade to this version. See #1724 and #1472 (@Ry0taK).
Other
* Add bash completion, see #1678 (@scop)
* Fix Clippy lints, see #1661 (@mohamed-abdelnour)
* Add syntax highlighting test files, see #1213 and #1668
(@mohamed-abdelnour)
Syntaxes
* Upgraded Julia syntax to fix a highlighting bug, see #1692
* Added support for dash syntax, see #1654 (@mohamed-abdelnour)
* Added support for XAML syntax, see #1590 and #1655 (@mohamed-abdelnour)
* Apply DotENV syntax also for .env.default and .env.defaults files,
see #1669
|
2021-05-20 04:42:20 by Santhosh Raju | Files touched by this commit (5) | |
Log message:
textproc/bat: Updates to 0.18.1
- Removes patches to sys-info crate, since the latest release adds
NetBSD Support.
Changes since 0.18.0:
v0.18.1
Bugfixes
* Mouse support and screen clearing broken for less versions with minor
version number (581.2), see #1629 and #1639 (@aswild)
Other
* Input::ordinary_file and Input::with_name now accept Path rather than
OsStr see #1571 (@matklad)
* The LESS environment variable is now included in bat --diagnostic,
see #1589 (@Enselic)
* Increased min. required Rust version to 1.45
Syntaxes
* Improved the Syslog syntax highlighting, see #1606 (@keith-hall)
* Replaced "Advanced CSV" with a custom CSV syntax definition written
especially for bat; see #1574 (@keith-hall)
* Added SystemVerilog file syntax, see #1580 (@SeanMcLoughlin)
* Added Solidity and Vyper syntax, see #1602 (@Ersikan)
New themes
* Dark+ VS Code theme, see #1588 and #1598 (@PatriotRossii)
|
2021-04-21 13:43:04 by Adam Ciarcinski | Files touched by this commit (1822) |
Log message:
revbump for textproc/icu
|
2021-03-11 20:25:04 by Santhosh Raju | Files touched by this commit (5) | |
Log message:
textproc/bat: Updates to 0.18.0
- Adds patches to sys-info crate for NetBSD support.
The changes have been upstreamed and will be removed once the changes are
merged.
Changes since 0.17.1:
v0.18.0
Features
* Use a pager when 'bat --list-languages' is called, see #1394 (@stku1985)
Bugfixes
* If the last line doesn't end with a newline character, don't add it if
'--style=plain', see #1438 (@Enselic)
* Only print themes hint in interactive mode ('bat --list-themes'), see
#1439 (@rsteube)
* Make ./tests/syntax-tests/regression_test.sh work on recent versions of
macOS, see #1443 (@Enselic)
* VimL syntax highlighting fix, see #1450 (@esensar)
* Print an 'Invalid syntax theme settings' error message if a custom theme
is broken, see #614 (@Enselic)
* If plain mode is set and wrap is not explicitly opted in, long lines will
no be truncated, see #1426
* If 'PAGER' (but not 'BAT_PAGER' or '--pager') is 'more' or 'most',
silently use 'less' instead to ensure support for colors, see #1063
(@Enselic)
* If 'PAGER' is 'bat', silently use 'less' to prevent recursion. For
'BAT_PAGER' or '--pager', exit with error, see #1413 (@Enselic)
* Manpage highlighting fix, see #1511 (@keith-hall)
* 'BAT_CONFIG_PATH' ignored by 'bat' if non-existent, see #1550 (@sharkdp)
Other
* Performance improvements, see #1421 (@LovecraftianHorror)
* Added a new '--diagnostic' option to collect information for bug reports,
see #1459 (@sharkdp)
* Modified default theme colors to differentiate between a JSON key and a
string value, see #1400 (@keith-hall)
* Upped min required Rust version to 1.42
Syntaxes
* Added Zig syntax, see #1470 (@paulsmith)
* Added Lean syntax, see #1446 (@Julian)
* Added '.resource' extension for Robot Framework files, see #1386
* Added 'gnuplot' syntax, see #1431 (@sharkdp)
* Highlight *.pac (Proxy auto-config) files as JavaScript, see #1515
(@sharkdp)
New themes
* 'ansi' replaces 'ansi-dark' and 'ansi-light', see #1104 and #1412 (@mk12).
**Breaking change:** users that were previously using one of the 'ansi-*'
themes should switch to 'ansi'.
* The Gruvbox theme has been updated, see #1291 (@j0hnmeow).
**Breaking change:** users that were previously using 'gruvbox' or
'gruvbox-white' should update and use 'gruvbox-dark'/'gruvbox-light' instead.
'bat' as a library
* The following 'PrettyPrinter' methods have been removed (they were \
previously deprecated):
* 'input_stdin_with_name'
* 'input_from_bytes_with_name'
* 'input_from_reader_with_name'
* 'vcs_modification_markers' (if the 'git' feature is not enabled)
|
2020-11-29 14:47:37 by Santhosh Raju | Files touched by this commit (2) |
Log message:
textproc/bat: Updates to 0.17.1
Changes since 0.16.0:
v0.17.1
Bugfixes
* Running bat without arguments fails ("output file is also an \
input"), see #1396
v0.17.0
Features
* Added a new --style value, rule, which adds a simple horizontal ruled line
between files, see #1276 (@tommilligan)
* Pass -S ("chop long lines") to less if --wrap=never is set in bat, see
#1255 (@gahag)
Bugfixes
* Detect infinite loop when input and output are the same, see #1193 and
#1197 (@niklasmohrin)
* Throw an error when bat is being used as pager, see #1343 (@adrian-rivera)
* Bash syntax highlighting not selected for *.ebuild and *.eclass files, see
#1292 (@sharkdp)
* Fix zsh completion when using -p, see #1320 (@xzfc)
Other
* Add note to refer to see detailed help with --help (and vice versa with
-h), see #1215 (@henil)
* Add a Contributors section to README, see #1348 (@adrian-rivera)
Syntaxes
* Manpage syntax highlighting has been improved, see #1315 (@keith-hall)
* Add Svelte file syntax, see #1285 (@kjmph)
New themes
* Coldark, see #1329 (@ArmandPhilippot)
|