Marco Ieni
5e39a0e4dd
automatically publish to crates.io on tag ( #419 )
...
* automatically publish to crates.io on tag
* Update cd.yml
Add newline
Co-authored-by: Dan Davison <dandavison7@gmail.com>
2020-12-23 11:31:57 +00:00
Dan Davison
0615e2ad1f
Add link to repology
2020-12-23 11:31:02 +00:00
Dan Davison
192a331bae
0.4.5 release ( #457 )
...
* Bump version in links to executables
* Bump version in private Homebrew formula
* Update README for 0.4.5
2020-12-23 11:01:05 +00:00
dependabot-preview[bot]
66f73d74f5
Bump unicode-segmentation from 1.7.0 to 1.7.1 ( #408 )
...
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases )
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 23:16:11 +00:00
dependabot-preview[bot]
dfad1c7518
Bump git2 from 0.13.12 to 0.13.13 ( #454 )
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.12 to 0.13.13.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.12...0.13.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 22:42:34 +00:00
Dan Davison
a489f4a2e3
Merge pull request #453 from dandavison/309-file-path-in-hunk-header
...
Add file path to hunk header
2020-12-21 21:26:57 +00:00
Dan Davison
334dec742d
Implement hunk-header-style 'file' attribute
...
Fixes #309
2020-12-19 12:48:25 +00:00
Dan Davison
3c31223dbf
Add failing test of hunk-header-style 'file' attribute
...
Ref #309
2020-12-19 12:48:25 +00:00
Dan Davison
31066fc880
Do not paint hunk header twice
...
The text being passed to the draw function has already been painted.
2020-12-19 12:32:30 +00:00
Dan Davison
a52e36d521
Support DELTA_FEATURES environment variable
...
Ref #447 #307
2020-12-17 17:43:53 +00:00
Dan Davison
5f85977b6e
Add junegunn/fzf.vim to related projects
2020-12-16 23:39:38 +00:00
Dan Davison
3765b79e3f
README update ( #451 )
2020-12-16 23:23:25 +00:00
Dan Davison
2aeec901de
Run CI on pull_request only ( #450 )
2020-12-16 23:18:01 +00:00
Dan Davison
46eb84bd34
Exit with diff's exit code ( #449 )
...
Fixes #448
2020-12-16 23:17:45 +00:00
dependabot-preview[bot]
a632e3f704
Bump syntect from 4.4.0 to 4.5.0 ( #441 )
...
Bumps [syntect](https://github.com/trishume/syntect ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/trishume/syntect/releases )
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/trishume/syntect/compare/v4.4.0...v4.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-14 23:01:09 +00:00
Dan Davison
05933a7ddb
Merge pull request #445 from ulwlu/add_cd_update_homebrew
...
Add cd to update brew formula in homebrew core
2020-12-13 15:13:46 +00:00
Dan Davison
4637403fc1
Delete public homebrew Makefile targets for release
2020-12-13 15:12:11 +00:00
ulwlu
e0e879df24
Add cd to update brew formula in homebrew core
2020-12-13 23:48:11 +09:00
ulwlu
fde369e674
Enable hunk header style with syntax when color only ( #443 )
...
* Enable hunk header style with syntax when color only
* Add comment
* Add comment about color_only if conditions
2020-12-12 14:02:33 +00:00
devzbysiu
c71e3f4e90
fix: Replace unmaintained dirs with dirs-next ( #412 )
...
* fix: Replace unmaintained dirs with dirs-next
* fix: Fix compilation error on macos, remove warn
Co-authored-by: Dan Davison <dandavison7@gmail.com>
2020-12-09 00:31:10 +00:00
ulwlu
b45ed90542
Make commit style to be colored with same structure while color_only #405 ( #438 )
...
* Remove force assing raw to commit style when color_only
* Add test for commit style color when color_only
2020-12-08 17:04:30 +00:00
ulwlu
8cc0c372f4
Make hunk header style to be colored with same structure while color_only #405 ( #437 )
...
* Remove force passing raw to hunk header style when color_only
* Handle hunk header color when color_only
* Add test for hunk header style color when color_only
* Delete fixme because it actually is required
* Add comment for condition that keeps structure when color_only and raw mode
2020-12-08 15:51:52 +00:00
ulwlu
1dfb1f7fb1
Make file style to be colored with same structure while color_only #405 ( #436 )
...
* Add config property of color_only
* Delete force assign raw to file_style when color_only
* Print filemeta in color with rawline when color_only mode
* Cargo fmt
* Add test if file_style with color_only has style
* Add comment about color_only
2020-12-08 14:01:47 +00:00
Dan Davison
f83f53f9d3
Reset highlighter after painting hunk header ( #435 )
...
Fixes #281
2020-12-07 00:26:40 +00:00
Dan Davison
1a5959a6d3
Commit test examples
2020-12-05 23:24:39 +00:00
Dan Davison
e198c0d841
Exclude bat_utils from test coverage calculations
2020-12-05 21:31:45 +00:00
Dan Davison
b9a76d4523
Resolve TODO
2020-12-05 21:30:22 +00:00
Dan Davison
5b0bbb5bbe
Merge pull request #431 from dandavison/update-to-vte-v0.9.0
...
Update to vte v0.9.0
2020-12-05 20:44:23 +00:00
Dan Davison
5a78bf6c57
Update handling of underline case
...
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2020-12-05 20:11:02 +00:00
Dan Davison
6d4392517a
Update to vte 0.9.0
...
See
https://github.com/alacritty/vte/releases/tag/v0.9.0
https://github.com/alacritty/vte/compare/v0.8.0...v0.9.0
576252294d (diff-49ac9e6f6e6a855312bfcd393201f18ca53e6148c4a22a3a4949f1f9d1d137a8)
2020-12-05 19:51:27 +00:00
Dan Davison
e5ea573a94
Revert "Revert "Bump vte from 0.8.0 to 0.9.0 ( #391 )""
...
This reverts commit da2ba61163
.
2020-12-05 19:51:27 +00:00
Dan Davison
51e1fcdd43
Merge pull request #430 from dandavison/345-fix-prefix-painting
...
Fix prefix painting
2020-12-05 18:08:24 +00:00
Dan Davison
b85936d90a
Pass pre-painted prefix as Option
2020-12-05 17:23:31 +00:00
Dan Davison
e455eb9d74
Pass pre-painted prefix
2020-12-05 17:08:33 +00:00
Dan Davison
4b99d7c994
Expose line-buffer-size as a new option ( #429 )
...
Fixes #427
2020-12-05 02:05:27 -05:00
Dan Davison
7357148546
Fix whitespace errors under keep-plus-minus-markers ( #425 )
...
* Add failing test of added empty line with keep-plus-minus-markers
* Fix whitespace error flagging with keep-plus-minus-markers
Fixes #388
* Possibly more efficient implementation
* Fix clippy
* Fix clippy II
* Increase tarpaulin timeout
* Increase tarpaulin timeout
* Add failing test of line with one non-whitespace character
* Fix test of line with one non-whitespace character
* Revert tarpaulin changes
2020-12-05 06:06:31 +00:00
Dan Davison
beb700f889
Recommend release build in CONTRIBUTING.org
2020-12-05 04:50:41 +00:00
Dan Davison
d0b5262fa3
Rearrange badges
2020-12-04 22:31:44 +00:00
Dan Davison
970555b68a
Disable test
2020-12-04 22:20:02 +00:00
Dan Davison
ff4182c2fb
Use .lines() instead of .split("\n")
2020-12-04 19:33:56 +00:00
Dan Davison
fd67277346
Change color used in test
...
magenta is confusing because it is used as a whitespace error default
2020-12-04 19:33:56 +00:00
Dan Davison
d68001471d
Add test coverage of main.rs ( #423 )
...
* Refactor: pass handle to writer
* Add test of list_syntax_themes
* Add test of show_syntax_themes
* Refactor: pass writer handle
* Add test of show_config
* Exclude main function from coverage calculations
* DEBUGGING
* Refactor: only use stdin if non-empty
Motivation: in the CI test build, atty::is(stdin) seems to be
returning false.
2020-12-03 19:18:44 -05:00
Marco Ieni
0ddd064819
delete travis ci ( #418 )
...
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
Co-authored-by: Dan Davison <dandavison7@gmail.com>
2020-12-03 16:19:09 -05:00
Dan Davison
15d06cbf75
Disable some clippy warnings ( #422 )
2020-12-03 15:14:38 -05:00
Dan Davison
8e65ea071a
Remove Travis config
...
Ref #396
2020-12-03 11:49:29 -05:00
Dan Davison
ed39e4c813
Fix end-to-end test shell scripts
2020-12-03 11:39:37 -05:00
Dan Davison
0ecbe6e70a
Delete Travis badge
2020-12-02 15:41:05 -05:00
Marco Ieni
2cfc0aafa4
add cd ( #417 )
...
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
2020-12-02 09:40:17 -05:00
Marco Ieni
9d72205be8
ci: add unit tests for other linux targets ( #413 )
...
* ci: add unit tests for other linux targets
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
* ci: runs all ubuntu configurations
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
* ci: update matrix variables
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
* ci: use cross for i686
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
2020-11-29 17:47:25 -05:00
Marco Ieni
64a9027f96
GitHub Continuous Integration: run tests on linux, mac and windows ( #411 )
...
* GitHub actions: add integration tests
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
Co-authored-by: danyspin97 <oss@danyspin97.org>
Co-authored-by: surveyor3 <samuelebertollo.sb@gmail.com>
* GitHub actions: fix jobs names
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
* GitHub actions: remove windows from integration tests
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
Co-authored-by: danyspin97 <oss@danyspin97.org>
Co-authored-by: surveyor3 <samuelebertollo.sb@gmail.com>
* GitHub actions: fix target variable name
Signed-off-by: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com>
Co-authored-by: danyspin97 <oss@danyspin97.org>
Co-authored-by: surveyor3 <samuelebertollo.sb@gmail.com>
Co-authored-by: danyspin97 <oss@danyspin97.org>
Co-authored-by: surveyor3 <samuelebertollo.sb@gmail.com>
Co-authored-by: Dan Davison <dandavison7@gmail.com>
2020-11-28 14:48:40 -05:00