summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-04-22Reduce public APIsharkdp
2020-04-22Fix warnings, sort imports, input from stringsharkdp
2020-04-22Completely refactor 'input' modulesharkdp
2020-04-22Fix commentsharkdp
2020-04-22Add InputDescriptionsharkdp
2020-04-22Allow fluent stylesharkdp
2020-04-22Rename InputFile => Inputsharkdp
2020-04-22Separate inputs from configsharkdp
2020-04-22Add all builder optionssharkdp
2020-04-22Large refactoring towards a better builder structuresharkdp
2020-04-22Initial verison of PrettyPrinter buildersharkdp
2020-04-22Use 4-bit ANSI codes for base16 themesharkdp
closes #865
2020-04-21Fix README phrasing about dark modeBrice Dutheil
2020-04-21Bump version to v0.14.0sharkdp
2020-04-21Update CHANGELOGsharkdp
2020-04-21Pass --no-init on Windows if less version < 559sharkdp
We used to call `less` with ``` bash less --RAW-CONTROL-CHARS --quit-if-one-screen --no-init ``` We only passed `--no-init` because there was a bug with previous versions of `less` which required the use of `--no-init` in combination with `--quit-if-one-screen` to prevent this "no output" issue from happening. Since bat 0.13, [we omit the `--no-init` option](https://github.com/sharkdp/bat/blob/0ecc94956b88beed27ca13a130c8ba09f1a220d8/src/output.rs#L85-L97) if we can detect that the version of `less` is higher than or equal to 530. We did that because `--no-init` breaks mouse support and because [less 530 fixed the above-mentioned bug](http://www.greenwoodsoftware.com/less/news.530.html). However, it seems that this bug was *not* fixed on Windows! According to @gwsw, the issue should be fixed with less 559 on Windows. closes #887
2020-04-21Fix compilation of librarysharkdp
2020-04-21Do not store metadata.yaml file in gitsharkdp
2020-04-21Add metadata information to cached assetssharkdp
When saving/reading user-provided syntaxes or themes, `bat` will now maintain a `metadata.yaml` file which includes information about the `bat` version which was used to create the cached files. When loading cached files, we now print an error if they have been created with an incompatible version closes #882
2020-04-21Make get_cache_dir privatesharkdp
2020-04-21Typo in CHANGELOGsharkdp
2020-04-21Update default config file, add comment about tmux mouse scrolling supportsharkdp
2020-04-21Revert "Pass '--mouse' to less versions >= 551"sharkdp
This reverts commit cb21b74ecd5fe971d356677932bcbf892b1dc088.
2020-04-21Revert "Only enable --mouse when running from tmux, see #904"sharkdp
This reverts commit 5f6e310152f45f5a90a8e4b7312e85ec284745db.
2020-04-21Only enable --mouse when running from tmux, see #904sharkdp
2020-04-21Remove invalid UTF-8 file from repo, use temp file insteadsharkdp
2020-04-21Fix bug for file with invalid-utf8 filenamessharkdp
2020-04-21Patch Rust syntax filesharkdp
closes #924
2020-04-21Disable Travis cachingsharkdp
2020-04-21Update CHANGELOGsharkdp
2020-04-21Update dependenciessharkdp
2020-04-21Add do-not-panic! regression testssharkdp
2020-04-21Pass '--mouse' to less versions >= 551sharkdp
When using `less` version 551 or newer, `bat` will now pass the `--mouse` argument, allowing for (better) mouse scrolling support in some terminals. closes #904
2020-04-21Update CHANGELOGsharkdp
2020-04-21Improve error messagesharkdp
2020-04-21Small refactoring, handle invalid UTF-8 filenamessharkdp
2020-04-21Extract common syntax functionality to helper fnsKyle Criddle
2020-04-21Fix build on 1.37sharkdp
2020-04-21Use to_string_lossysharkdp
2020-04-21Pass stdin as a generic BufRead, fix stdin testssharkdp
2020-04-21Remove commented-out codesharkdp
2020-04-21Make filename method privatesharkdp
2020-04-21Do not take optional as argumentsharkdp
2020-04-21Rename field name, new constructorssharkdp
2020-04-21Moved user_provided_filename to be contained within OrdinaryFile structKyle Criddle
2020-04-21Use --file-name to detect syntax highlightingKyle Criddle
Closes #891
2020-04-21Add cat alias detection to info.sh (#911)Ethan P
2020-04-17Clarify the Ubuntu/Debian install instructionsMichael Diamond
A cursory reading of the existing text would lead a reader to think `bat`should be available on Debian, which isn't really true. Most users are not running Sid, so `bat` isn't yet available to them.
2020-04-13Add performance patch for Makefile syntaxsharkdp
Thanks to @keith-hall! closes #750
2020-04-12Add Stylus syntax (#917)David Peter
closes #915