./textproc/bat, Clone of cat with syntax highlighting

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.24.0nb2, Package name: bat-0.24.0nb2, Maintainer: fox

A cat(1) clone with syntax highlighting and Git integration.


Required to run:
[devel/libgit2]

Required to build:
[lang/rust]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2024-05-06 07:44:44 by pin | Files touched by this commit (1)
Log message:
textproc/bat: Switch to libgit2-sys crate
   2023-10-25 00:11:51 by Thomas Klausner | Files touched by this commit (2298)
Log message:
*: bump for openssl 3
   2023-10-21 16:48:54 by Santhosh Raju | Files touched by this commit (4)
Log message:
textproc/bat: Update to 0.24.0

Changes since 0.23.0:

v0.24.0
Features

  * Add environment variable BAT_PAGING, see #2629 (@einfachIrgendwer0815)
  * Add opt-in (--features lessopen) support for LESSOPEN and LESSCLOSE.
    See #1597, #1739, #2444, #2602, and #2662 (@Anomalocaridid)

Bugfixes

  * Fix more not being found on Windows when provided via BAT_PAGER, see
    #2570, #2580, and #2651 (@mataha)
  * Switched default behavior of --map-syntax to be case insensitive #2520
  * Updated version of serde_yaml to 0.9. See #2627 (@Raghav-Bell)
  * Fix arithmetic overflow in LineRange::from and LineRange::parse_range,
    see #2674, #2698 (@skoriop)
  * Fix paging not happening when stdout is interactive but stdin is not,
    see #2574 (@Nigecat)
  * Make -pp override --paging and vice versa when passed as a later argument,
    see #2660 (@J-Kappes)

Other

  * Output directory for generated assets (completion, manual) can be
    customized, see #2515 (@tranzystorek-io)
  * Use the is-terminal crate instead of atty, see #2530 (@nickelc)
  * Add Winget Releaser workflow, see #2519 (@sitiom)
  * Bump MSRV to 1.70, see #2651 (@mataha)

Syntaxes

  * Associate os-release with bash syntax, see #2587 (@cyqsimon)
  * Associate Containerfile with Dockerfile syntax, see #2606
    (@einfachIrgendwer0815)
  * Replaced quotes with double quotes so fzf integration example script
    works on windows and linux. see #2095 (@johnmatthiggins)
  * Associate ksh files with bash syntax, see #2633 (@johnmatthiggins)
  * Associate sarif files with JSON syntax, see #2695 (@rhysd)
  * Associate ron files with rust syntax, see #2427 (@YeungOnion)
  * Add support for WebGPU Shader Language, see #2692 (@rhysd)
  * Add .dpkg-new and .dpkg-tmp to ignored suffixe, see #2595 (@scop)
  * fix: Add syntax mapping *.jsonl => json, see #2539 (@WinterCore)
  * Update Julia syntax, see #2553 (@dependabot)
  * add NSIS support, see #2577 (@idleberg)
  * Update ssh-config, see #2697 (@mrmeszaros)

bat as a library

  * Add optional output_buffer arg to Controller::run() and
    Controller::run_with_error_handler(), see #2618 (@Piturnah)
   2023-10-20 09:05:38 by pin | Files touched by this commit (5)
Log message:
textproc/bat: fix build with new libgit2
   2023-05-17 00:55:00 by Thomas Klausner | Files touched by this commit (1)
Log message:
bat: use a bit of cargo's install target
   2023-04-26 13:25:56 by Thomas Klausner | Files touched by this commit (5)
Log message:
bat: fix build with libgit2-1.6

Bump PKGREVISION
   2023-03-29 10:32:40 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
bat: update to 0.23.0.

# v0.23.0

## Features

- Implemented `-S` and `--chop-long-lines` flags as aliases for `--wrap=never`. \ 
See #2309 (@johnmatthiggins)
- Breaking change: Environment variables can now override config file settings \ 
(but command-line arguments still have the highest precedence), see #1152, \ 
#1281, and #2381 (@aaronkollasch)
- Implemented `--nonprintable-notation=caret` to support showing non-printable \ 
characters using caret notation. See #2429 (@einfachIrgendwer0815)

## Bugfixes

- Fix `bat cache --clear` not clearing the `--target` dir if specified. See \ 
#2393 (@miles170)

## Other

- Various bash completion improvements, see #2310 (@scop)
- Disable completion of `cache` subcommand, see #2399 (@cyqsimon)
- Signifigantly improve startup performance on macOS, see #2442 (@BlackHoleFox)
- Bump MSRV to 1.62, see #2496 (@Enselic)

## Syntaxes

- Added support for Ada, see #1300 and #2316 (@dkm)
- Added `todo.txt` syntax, see #2375 (@BANOnotIT)
- Improve Manpage.sublime-syntax. See #2364 (@Freed-Wu) and #2461 (@keith-hall)
- Added a new `requirements.txt` syntax, see #2361 (@Freed-Wu)
- Added a new VimHelp syntax, see #2366 (@Freed-Wu)
- Associate `pdm.lock` with `TOML` syntax, see #2410
- `Todo.txt`: Fix highlighting of contexts and projects at beginning of \ 
done.txt, see #2411
- `cmd-help`: overhaul scope names (colors) to improve theme support; misc \ 
syntax improvements. See #2419 (@victor-gp)
- Added support for Crontab, see #2509 (@keith-hall)

## Themes

## `bat` as a library

- `PrettyPrinter::header` correctly displays a header with the filename, see \ 
#2378 and #2406 (@cstyles)
   2022-09-17 20:53:33 by Santhosh Raju | Files touched by this commit (3) | Package updated
Log message:
textproc/bat: Update to 0.22.1

Changes since 0.21.0:

v0.22.1
Bugfixes

  * Bring back pre-processing of ANSI escape characters to so that some
    common bat use cases starts working again. See #2308 (@Enselic)

v0.22.0
Features

  * Make the default macOS theme depend on Dark Mode. See #2197, #1746
    (@Enselic)
  * Support for separate system and user config files. See #668
    (@patrickpichler)

Bugfixes

  * Prevent fork nightmare with PAGER=batcat. See #2235 (@johnmatthiggins)
  * Make --no-paging/-P override --paging=... if passed as a later arg, see
    #2201 (@themkat)
  *  --map-syntax and --ignored-suffix now works together, see #2093 (@czzrr)
  * Strips byte order mark from output when in non-loop-through mode.
    See #1922 (@dag-h)

Other

  * Relaxed glibc requirements on amd64, see #2106 and #2194 (@sharkdp)
  * Improved fish completions. See #2275 (@zgracem)
  * Stop pre-processing ANSI escape characters. Syntax highlighting on ANSI
    escaped input is not supported. See #2185 and #2189 (@Enselic)

Syntaxes

  * NSE (Nmap Scripting Engine) is mapped to Lua, see #2151 (@Cre3per)
  * Correctly color fstab dump and pass fields, see #2246 (@yuvalmo)
  * Update Command Help syntax, see #2255
  * Julia: Fix syntax highlighting for function name starting with struct,
    see #2230
  * Minor update to LiveScript, see #2291
  * Associate .mts and .cts files with the TypeScript syntax. See #2236
    (@kidonng)
  * Fish history is mapped to YAML. See #2237 (@kidonng)

bat as a library

  * Make bat::PrettyPrinter::syntaxes() iterate over new bat::Syntax struct
    instead of &syntect::parsing::SyntaxReference. See #2222 (@Enselic)
  * Clear highlights after printing, see #1919 and #1920 (@rhysd)