Commit Graph

26 Commits

Author SHA1 Message Date
Dan Davison
3d5b6852a0
Fix hyperlink absolute paths (#939)
Fix file paths and hyperlinks

With this commit the target of a hyperlink should always be an absolute path. This should be true for all file hyperlinks, e.g.

- File hyperlink
- Hunk header hyperlink
- Line number hyperlink

Fixes #890
2022-02-14 12:30:30 -05:00
Dan Davison
9106a51ac3
Drop deprecated options (#914)
Drop deprecated options

Fixes #891
2022-01-16 11:24:42 -05:00
Dan Davison
ab77bff0fc
Run test of less on MacOS with output redirected to /dev/null (#574)
This change makes git and delta believe that they are writing to a tty
so that they invoke their child pager processes, as is required for
the test. However, output is actually redirected to /dev/null.

TODO: implement for the Linux version of script also.

https://stackoverflow.com/a/1402389/583763
2021-04-24 13:37:50 -04:00
Dan Davison
bf04c7b602 Use redirect and chmod instead of install
install didn't work on MacOS:

install: skipping file '/dev/stdin', as it was replaced while being copied
2021-03-09 21:56:26 -05:00
Kriss
b4a36d7886 Update navigate tests 2021-03-09 21:53:45 -05:00
Dan Davison
1b90b4e1ba Add navigate/less integration test 2021-03-09 21:53:45 -05:00
Dan Davison
ed39e4c813 Fix end-to-end test shell scripts 2020-12-03 11:39:37 -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
Dan Davison
d4441fe24a
Truncate long lines (#290)
Fixes #154, #288
2020-08-14 12:10:52 -04:00
Dan Davison
aa1bb5c424 Shell scripts 2020-08-08 11:53:57 -04:00
Dan Davison
cfd6ed0e07 Reorganize 2020-08-05 16:37:09 -04:00
Dan Davison
2da099e53d Add diagnostics script 2020-08-05 16:29:15 -04:00
Dan Davison
cd7953c176 Initial implementation of color-moved support
- Inspect the raw hunk line
- If it does not appear to be a standard minus/plus line, treat it as moved
- Apply special delta color-moved-* styles
2020-08-01 11:35:50 -04:00
Dan Davison
5d4b8f51a9 Rename option: color-only => raw 2020-06-28 15:36:16 -04:00
Dan Davison
a5705f305d Add diffs reproducing highlighting bugs
See
https://github.com/dandavison/delta/issues/205#issuecomment-637856245
https://github.com/dandavison/delta/issues/215
2020-06-26 13:50:49 -04:00
Dan Davison
98a1f238e2 Add --no-gitconfig option 2020-06-09 08:57:29 -04:00
Dan Davison
e68aae8cf6 Add failing test that --theme still works 2020-06-06 21:47:39 -04:00
Dan Davison
643a0f6c88 Add failing tests of handling input with color 2020-05-31 14:55:46 -04:00
Dan Davison
d0db423210 Add test of deprecated options 2020-05-26 10:46:09 -04:00
Dan Davison
692fb19037 Add examples of within-line edit inference from #119, #140 2020-04-30 09:13:52 -04:00
Dan Davison
af1e2d663c Use ANSI CSI "Erase in Line" code instead of right-padding
Fixes #136
2020-04-30 00:08:20 -04:00
Dan Davison
4ef322f75c Add test example reproducing bug #139 2020-04-28 10:36:52 -04:00
Dan Davison
adfa0f98f8 Add failing test of paths containing spaces #127 2020-04-26 18:33:27 -04:00
Dan Davison
4d95f8528b Add failing test of empty commit / empty files #128 2020-04-26 18:33:27 -04:00
Dan Davison
15bedf2eb4 Move end-to-end-test out of Makefile into shell script 2020-04-26 14:45:50 -04:00
Dan Davison
fcaf206657 Move directory of test examples 2020-04-26 14:26:54 -04:00