summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
8 daysAssociate JSON-LD `.jsonld` files with `json` syntax (fixes #3036)HEADmasterMichael Vorburger
Use PR instead of Issue # number in CHANGELOG. Clean up (unify) CHANGELOG.
2024-06-17Add ANSI stripping to bat-as-a-libraryEthan P.
2024-06-17Add `--strip-ansi=auto` optionEthan P.
When using `auto`, escape sequences will be stripped unless printing plain text.
2024-06-16Add `--strip-ansi` optionEthan P.
2024-06-10Update expand_tabs to use bat's ANSI iteratorEthan P.
2024-06-10Make EscapeSequenceOffsetsIterator pub, add fns to get indicesEthan P.
2024-04-19refactor: factorize constants by inverting loop and condition orderStéphane Blondon
2024-04-19display which theme is the default one in basic outputStéphane Blondon
2024-04-14display which theme is the default one in colored output (#2838)sblondon
2024-04-07Print $TERM with --diagnosticRivera Calzadillas
2024-04-07Sort env vars printed by --diagnosticRivera Calzadillas
2024-03-11style: simplify equality checkHamir Mahal
2024-03-10Merge pull request #2868 from cyqsimon/builtin-offload-v2David Peter
Faster startup by offloading glob matcher building to a worker thread
2024-03-10refactor: remove reference that is unnecessaryHamir Mahal
2024-02-29Add syntax mapping for Wireguard configcyqsimon
2024-02-26Add note on thread synchronizationcyqsimon
2024-02-25Inline `format!` args wherever possibleLena
2024-02-24Rename `--squeeze` to `--squeeze-blank`einfachIrgendwer0815
2024-02-24Hide `--squeeze-limit` from short helpeinfachIrgendwer0815
2024-02-24Add squeeze functionality to `SimplePrinter`einfachIrgendwer0815
2024-02-24Add --squeeze-limit to specify max number of consecutive empty linesEthan P
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
2024-02-24Add squeeze_empty_lines to PrettyPrinterEthan P
2024-02-24Add --squeeze/-s optionEthan P
Co-authored-by: einfachIrgendwer0815 <85333734+einfachIrgendwer0815@users.noreply.github.com>
2024-02-23Merge branch 'master' into skip-highlighting-when-no-colorDavid Peter
2024-02-23Merge branch 'master' into quadletDavid Peter
2024-02-23Merge pull request #2853 from ↵David Peter
einfachIrgendwer0815/document_default_style_components Document default style components
2024-02-23Merge branch 'master' into containers-confDavid Peter
2024-02-23Merge branch 'master' into masterDavid Peter
2024-02-23Merge pull request #2795 from mxaddict/masterDavid Peter
Added JSONC and aws credentials to the syntax mappings
2024-02-23Merge branch 'master' into skip-highlighting-when-no-colorDavid Peter
2024-02-23Merge pull request #2807 from Oliver-Looney/2783-setting-terminal-titleDavid Peter
2783 setting terminal title
2024-02-23Merge branch 'master' into masterDavid Peter
2024-02-21Builtin glob matchers build offload, v2cyqsimon
2024-02-20Apply clippy fixes (#2864)cyqsimon
* Apply clippy fixes * Write changelog
2024-02-21Map containers `.conf` files to TOML syntaxcyqsimon
2024-02-20Add syntax mapping for podman quadletscyqsimon
2024-02-12Merge branch 'master' into 2783-setting-terminal-titleOliver Looney
2024-02-12Merge branch 'master' into fix-2185David Peter
2024-02-11Skip syntax parsing when color output disabledEthan P.
2024-02-11Split syntax highlighting from print_line into fnEthan P.
This simplifies the `print_line` function a little bit while also providing a way for syntax highlighting to be skipped when it's not being used (i.e. `--color=never`).
2024-02-11Test for correct categorization of SGR sequencesEthan P.
This adds a regression test for the fix in the previous commit.
2024-02-11Fix incorrect categorization of SGR sequencesEthan P.
Specifically, prevent other attributes from leaking into the bold/dim/italic/underline attributes, and ensure that bright backgrounds are put into the background attribute instead of the foreground attribute.
2024-02-11Fix off-by-one error in line number continuationEthan P.
2024-02-11Merge branch 'master' into 2783-setting-terminal-titleOliver Looney
2024-02-11Mention which style components are the defaulteinfachIrgendwer0815
2024-02-11Added JSONC and aws credentials to the syntax mappingsmxaddict
2024-02-09Remove hyperlink when wrapping linesEthan P
2024-02-09Re-emit hyperlinks when wrapping linesEthan P
2024-02-09Replace AnsiCodeIterator in printer.rsEthan P
This uses the new EscapeSequenceIterator, saving us a preprocessing step for each line.
2024-02-09Add EscapeSequenceIteratorEthan P
This is an iterator for escape sequences, using EscapeSequenceOffsetsIterator for the underlying parsing of individual escape sequences.