summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-07-10Refactor subcommand handling (#1467)Dan Davison
2023-07-08Replace usage of the `atty` crate with `std::io::IsTerminal` trait (#1465)nickelc
Rust 1.70 stabilized the `IsTerminal` trait and the newest version of `grep-cli` crate depending on it, makes it possible to remove the unmaintained `atty` crate from the build. ``` Crate: atty Version: 0.2.14 Warning: unsound Title: Potential unaligned read Date: 2021-07-04 ID: RUSTSEC-2021-0145 URL: https://rustsec.org/advisories/RUSTSEC-2021-0145 ```
2023-06-23Fix alignment when author name contains unicode accent modifiers (#1456)Pascal H
2023-06-21Add link to mellow-barbet terminal config docsDan Davison
2023-06-21Add mellow-barbet theme (#1452)Rohit K Viswanath
Add a new theme based on the mellow color scheme: https://kvrohit.dev/mellow
2023-06-21Update bat (#1453)Dan Davison
2023-06-03Delete notes about unsupported GIT_CONFIG_GLOBAL env varDan Davison
Should be supported by recent git2
2023-06-03Bump serde from 1.0.152 to 1.0.163 (#1415)dependabot[bot]
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.163. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.163) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03Bump serde_json from 1.0.93 to 1.0.96 (#1391)dependabot[bot]
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.93 to 1.0.96. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.93...v1.0.96) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03Bump clap from 4.1.8 to 4.1.14 (#1375)dependabot[bot]
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.8 to 4.1.14. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.1.8...v4.1.14) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03Bump dirs from 4.0.0 to 5.0.1 (#1407)dependabot[bot]
Bumps [dirs](https://github.com/soc/dirs-rs) from 4.0.0 to 5.0.1. - [Release notes](https://github.com/soc/dirs-rs/releases) - [Commits](https://github.com/soc/dirs-rs/commits) --- updated-dependencies: - dependency-name: dirs dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03Bump sysinfo from 0.28.2 to 0.29.0 (#1412)dependabot[bot]
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.28.2 to 0.29.0. - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03Bump palette from 0.6.1 to 0.7.2 (#1420)dependabot[bot]
Bumps [palette](https://github.com/Ogeon/palette) from 0.6.1 to 0.7.2. - [Changelog](https://github.com/Ogeon/palette/blob/master/CHANGELOG.md) - [Commits](https://github.com/Ogeon/palette/compare/0.6.1...0.7.2) --- updated-dependencies: - dependency-name: palette dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03Bump chrono from 0.4.23 to 0.4.26 (#1426)dependabot[bot]
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.23 to 0.4.26. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.23...v0.4.26) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03Bump git2 from 0.16.1 to 0.17.2 (#1422)dependabot[bot]
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.1 to 0.17.2. - [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...0.17.2) --- updated-dependencies: - dependency-name: git2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03Bump version0.16.5Dan Davison
2023-06-03Drop grep-header-style optionDan Davison
2023-06-03Honor grep-header-decoration-style for ripgrep outputDan Davison
2023-06-03Write directly, not by appending to output bufferDan Davison
This was a bug when a box decoration was subsequently drawn since the decoration enclosed pending content in the output buffer.
2023-06-03Fix typo in publishing build job & restore cross-compilation (#1430)nickelc
* Fix typo in publishing build job This prevented the cross-compilation targets from using the `cross` binary for the compilation. The script evaluated with `${{ matrix.job.cross }}` to: ``` if [[ "" == "true" ]]; then cross build --release --target x86_64-unknown-linux-musl else cargo build --release --target x86_64-unknown-linux-musl fi ``` The correct result for `${{ matrix.job.use-cross }}` is: ``` if [[ "true" == "true" ]]; then cross build --release --target x86_64-unknown-linux-musl else cargo build --release --target x86_64-unknown-linux-musl fi ``` * Restore previously failed cross-compilation targets - Revert "Delete the remaining failing cross-compilation target" This reverts commit 2937f3277a10d660bdb920ee6d5b9f033f6d97ef. - Revert "Delete another failing cross-compilation target" This reverts commit 4af8adf580818b57baa062bb7cd89a1cb72f1fbb. - Revert "Delete i686-unknown-linux-gnu job" This reverts commit eebddddb0a8c41f1225d9cd9a50d70128642623f. - Revert "Delete arm-unknown-linux-gnueabihf job" This reverts commit 9a2fa348eb4470a73790cc24320f1964783264c4.
2023-06-02Increase number of characters shown in submodule hashesDan Davison
Fixes #1408
2023-06-02Bump version0.16.4Dan Davison
2023-06-02Delete the remaining failing cross-compilation targetDan Davison
https://github.com/dandavison/delta/actions/runs/5160503594/jobs/9296619624
2023-06-02Bump version0.16.3Dan Davison
2023-06-02Delete another failing cross-compilation targetDan Davison
https://github.com/dandavison/delta/actions/runs/5160467636/jobs/9296549493
2023-06-02Bump versions0.16.2Dan Davison
2023-06-02Delete i686-unknown-linux-gnu jobDan Davison
Build failure https://github.com/dandavison/delta/actions/runs/5160397593/jobs/9296411455
2023-06-02Bump version0.16.1Dan Davison
2023-06-02Delete arm-unknown-linux-gnueabihf jobDan Davison
error occurred: Failed to find tool. Is `arm-linux-gnueabihf-gcc` installed? https://github.com/dandavison/delta/actions/runs/5160233910/jobs/9296084928
2023-06-02Update --help outputDan Davison
2023-06-02Update --help output in manualDan Davison
2023-06-02Bump version in Cargo.lockDan Davison
2023-06-02Bump version0.16.0Dan Davison
2023-06-02Introduce grep-output-type option: ripgrep or classicDan Davison
2023-06-02Refactor grep handlerDan Davison
2023-05-31manual: fix link to using `delta` on Windows (#1428)mataha
Self-explanatory.
2023-05-31Misc tab refactoring (#1424)Thomas Otto
* Move tabs logic into utils * Re-use buffer returned by tabs::expand * Add TabCfg to configure tabs Use the String from this config for the tab replacement. This avoids creating a new String for each processed line. * Avoid unicode segmentation for each line just to remove a prefix In some code paths no prefix is removed, and in almost all other cases the prefix is just ascii. This simplifies a lot of calls. * Set default tab with to 8 Editors like vim, emacs, nano and most terminal emulators set this value as the default tab display width.
2023-05-25Move imageDan Davison
2023-05-24Update ARCHITECTURE.mdDan Davison
2023-05-24Clean upDan Davison
2023-05-17Fix warning highlight for trailing whitespace (#1037)William Escande
Fix #137
2023-05-08Fix submodule diff parsing (#1413)Thomas Otto
Added support for an optional -dirty hash suffix which is present in `git diff` output when files were changed in a submodule.
2023-04-26Replace deprecated `error_chain` crate with `anyhow` (#1405)nickelc
The `error_chain` crate is now deprecated for a long time and `anyhow` has proven to be a popular replacement for applications. This also improves the current error messages for panics. ``` PAGER='"less' git show thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: \ Error(Msg("Could not parse pager command."), State { next_error: Some(ParseError), \ backtrace: InternalBacktrace })', src/main.rs:136:88 ``` ``` PAGER='"less' git show thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Could not parse pager command. Caused by: missing closing quote', src/main.rs:125:88 ```
2023-04-26Move 24-bit color / truecolor tip out of tmux sectionDan Davison
2023-04-26Improve manual build job (#1404)nickelc
- Only trigger the build if the book has changed. - Split the job into `build` and `deploy` with specific permissions. - Don't build documentation for dependencies. - Deploy to GitHub Pages directly without going through the `gh-pages` branch.
2023-04-26Downgrade and pin the `bytelines` crate (#1378)nickelc
The versions 2.3+ added support for Tokio's `AsyncBufRead` trait and futures' `Stream` trait without making the new dependencies optional. By downgrading `bytelines`, the compilation time can be reduced. ``` $ cargo up -p bytelines --precise 2.2.2 Updating bytelines v2.4.0 -> v2.2.2 Removing bytes v1.4.0 Removing futures v0.3.26 Removing futures-channel v0.3.26 Removing futures-core v0.3.26 Removing futures-executor v0.3.26 Removing futures-io v0.3.26 Removing futures-macro v0.3.26 Removing futures-sink v0.3.26 Removing futures-task v0.3.26 Removing futures-util v0.3.26 Removing pin-project-lite v0.2.9 Removing pin-utils v0.1.0 Removing slab v0.4.8 Removing tokio v1.26.0 ```
2023-04-26Remove unneeded `extern crate` statements (#1345)nickelc
2023-04-26Fix some typos (#1379)Alexander Seiler
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-04-26Update `bitflags` to 2.2.1 (#1361)nickelc
The `Clone`, `Copy`, `Debug` and `PartialEq` traits are no longer derived automatically by the macro.
2023-04-25Clarify how to use delta with `tmux` (#1402)isak102