1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-23 17:03:18 +00:00
Commit Graph

1042 Commits

Author SHA1 Message Date
Yuri Astrakhan d9fbd18541 inline format arguments
In a few cases, removed the unneeded `&` - this causes a minor slowdown because compiler cannot eliminate those (yet).
2025-08-19 05:07:54 +02:00
Keith Hall bdaf25793d cargo fmt 2025-08-16 15:36:45 +03:00
Keith Hall 96ce80d0e2 Apply same fix and tests for UTF16BE 2025-08-16 15:36:45 +03:00
Keith Hall 40c4c8e542 More thorough tests for UTF16LE 2025-08-16 15:35:57 +03:00
Keith Hall 6675153460 Fix the read_line method for utf16le input
to determine the end of the line, instead of reading until \n (0x0A) and then reading until 0x00 and calling it done, read until we find 0x00 preceded by 0x0A.
2025-08-16 15:35:57 +03:00
Ferenc Géczi 20caaf26c8 Add syntax mapping for flatpakrepo
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2025-07-31 00:00:00 +00:00
Ferenc Géczi 3574118e17 Add syntax mapping for flatpakref
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2025-07-31 00:00:00 +00:00
Tau Gärtli feb0bc1ae6 Update terminal-colorsaurus to 1.0 2025-07-22 07:15:52 +02:00
Keith Hall 8b12191bda Make map-syntax target case insensitive 2025-07-17 22:19:54 +03:00
cyqsimon 555933315d Only start offload worker thread when there's more than 1 core (#2956)
* Only start offload worker thread when there's more than 1 core

* Write changelog
2025-07-15 05:21:00 +02:00
Y.D.X. 4661f22e81 Merge remote-tracking branch 'upstream/master' into lean 2025-07-11 13:03:06 +08:00
cyqsimon e0165a2d6a Add syntax mapping for certbot certificate configuration 2025-07-08 23:33:41 +03:00
Jerry 9776ebfa0f Send errors to stderr (#3336)
* fix: send errors to stderr by default (#2561)

Closes #2561

* chore: add changelog entry

* chore: change PR id

* chore: add github username

* chore: cargo fmt...

* chore: move changelog line to bugfixes
2025-07-08 20:42:22 +02:00
Y.D.X. a9d5880dc8 docs: Update CHANGELOG, allow CC BY 4.0 license, and fix a markdown backquote 2025-06-10 17:44:10 +08:00
krikera 9d3db318e3 Add syntax mapping for Mill build tool files to use Scala syntax 2025-06-01 22:03:54 +05:30
krikera 17e6952ab8 Fix UTF-8 BOM file type detection for first-line syntax patterns - Fixes #3314 2025-05-31 02:58:47 +05:30
cyqsimon a4ffe2fdbf Update quadlet syntax mapping rules to cover quadlets in subdirectories 2025-05-20 15:22:55 +08:00
Keith Hall e42883bf2c Merge branch 'master' into read-from-tail 2025-04-15 20:27:26 +03:00
Adam Gaskins 45185b36fb Merge branch 'master' into bash-zsh 2025-04-12 11:09:33 -04:00
Keith Hall 44a6e29da7 Merge branch 'master' into fix/multibyte-chars 2025-04-12 11:20:48 +03:00
Adam Gaskins 51491c3c08 Fix syntax highlighting for bash/zsh 2025-04-07 17:43:56 -04:00
Haris Mohamedy b5413cc015 Do not split into graphemes if not necessary 2025-04-03 00:49:14 -07:00
einfachIrgendwer0815 12a2a451b4 Add paging to --list-themes 2025-04-02 11:27:37 +02:00
Haris Mohamedy 18b71743c8 Fix for multibyte characters in file path 2025-03-31 17:29:18 -07:00
Keith Hall d31bc4347a Map various .NET file extensions to XML syntax 2025-02-23 20:20:52 +02:00
Keith Hall 2843a2c0e8 Add mapping for ndjson file extension to JSON syntax 2025-02-15 08:46:22 +02:00
odilf 61d42ee87b Add syntax mapping for nixs flake.lock 2025-02-02 21:10:03 +02:00
einfachIrgendwer0815 71dce0e7f3 Fix clippy::duplicated_attributes warnings 2025-02-02 15:08:16 +01:00
einfachIrgendwer0815 52252b15d6 Fix clippy::needless_lifetimes warnings 2025-02-02 15:08:15 +01:00
einfachIrgendwer0815 bc24ce9ad4 Fix clippy::needless_update warnings 2025-02-02 15:08:15 +01:00
einfachIrgendwer0815 625e986552 Fix clippy::manual_ignore_case_cmp warnings 2025-02-02 15:08:14 +01:00
einfachIrgendwer0815 095442191c Fix clippy::ptr_arg warnings 2025-02-02 15:08:14 +01:00
einfachIrgendwer0815 cc46282866 Fix clippy::into_iter_on_ref warnings 2025-02-02 15:08:13 +01:00
einfachIrgendwer0815 cbc9c3629d Fix clippy::manual_pattern_char_comparison warnings 2025-02-02 15:08:13 +01:00
einfachIrgendwer0815 2c49d905e4 Fix clippy::legacy_numeric_constants warnings 2025-02-02 15:08:12 +01:00
einfachIrgendwer0815 f0e2f642e0 Fix clippy::redundant_closure warnings 2025-02-02 15:08:12 +01:00
einfachIrgendwer0815 3d0f0c0565 Fix clippy::unnecessary_map_or warnings 2025-02-02 15:08:12 +01:00
einfachIrgendwer0815 3d442cdf98 Fix clippy::needless_borrow warnings 2025-02-02 15:08:11 +01:00
einfachIrgendwer0815 b009fee5ea Fix clippy::needless_return warnings 2025-02-02 15:08:11 +01:00
einfachIrgendwer0815 6cf747678c Fix clippy::needless_borrows_for_generic_args warnings 2025-02-02 15:08:11 +01:00
einfachIrgendwer0815 4f161705a3 Fix: Don't output default theme info to piped stdout 2025-01-27 17:11:26 +01:00
cyqsimon 94f49fd99b Add syntax mapping for paru configuration 2025-01-24 23:02:57 +02:00
Tau Gärtli 280f3eeb4e Fix name of BAT_THEME_{DARK,LIGHT} env vars 2025-01-09 08:20:36 +01:00
Anomalocaridid de8bb79a6f refactor lessopen implementation 2025-01-05 21:36:33 +00:00
einfachIrgendwer0815 dbe25ba5e6 Include shell completions in the executable 2024-12-01 09:39:17 +01:00
Leo f87157d009 Update syntax mapping for apache conf 2024-12-01 11:15:17 +08:00
binchengqu d27064cea5 chore: remove redundant word in comment
Signed-off-by: binchengqu <bincheng@before.tech>
2024-11-21 11:55:43 +08:00
kojix2 6598442d41 Merge branch 'master' into print 2024-11-14 10:08:21 +09:00
Keith Hall 2e836e9822 Merge branch 'master' into mhelsley-fix-lessopen 2024-11-13 21:42:36 +02:00
Keith Hall 08047a6a2e Merge branch 'master' into dark-light 2024-11-13 20:54:57 +02:00