<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/diffutils.git, branch v3.7</title>
<subtitle>git.savannah.gnu.org: git/diffutils.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/'/>
<entry>
<title>version 3.7</title>
<updated>2019-01-01T01:56:36+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2019-01-01T01:56:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=2de623e7a15d8142c416217bf5634698c3f66fd0'/>
<id>2de623e7a15d8142c416217bf5634698c3f66fd0</id>
<content type='text'>
* NEWS: Record release date.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* NEWS: Record release date.
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: distribute new file, init.cfg</title>
<updated>2019-01-01T01:56:23+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2019-01-01T01:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=04c64737c5df39c3d4ae7a79d5bb3cc06809bf3b'/>
<id>04c64737c5df39c3d4ae7a79d5bb3cc06809bf3b</id>
<content type='text'>
Otherwise, strip-trailing-cr would fail on a system without valgrind.
* tests/Makefile.am (EXTRA_DIST): Include init.cfg.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, strip-trailing-cr would fail on a system without valgrind.
* tests/Makefile.am (EXTRA_DIST): Include init.cfg.
</pre>
</div>
</content>
</entry>
<entry>
<title>diff: adjust ANSI escapes for compatibility with less -R</title>
<updated>2018-12-31T06:22:10+00:00</updated>
<author>
<name>Dennis Lambe Jr</name>
<email>malsyned@malsyned.net</email>
</author>
<published>2018-12-29T21:04:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=aaf0efa70d9a72175e7847df196cda21ab3bd3a9'/>
<id>aaf0efa70d9a72175e7847df196cda21ab3bd3a9</id>
<content type='text'>
GNU less can display ANSI-colored text with the -R flag, but this
support has some limitations. One of them is that if an escape
sequence starts on one line and ends on a different line, only the
first line will be colored in less.

As a result, when diff creates colored output with multi-line deletes
or adds, less will only color the first line.

This change resets ANSI color to the default at the end of
each line and restarts it at the beginning of the next. It patches
normal and context mode. Side-by-side already worked in my testing.
* src/context.c (print_context_label, pr_context_hunk): As above.
(pr_unidiff_hunk, print_context_header): Likewise.
* src/normal.c (print_normal_hunk): Likewise.
* tests/colors: Adjust existing tests to accommodate this.
* NEWS (Improvements): Mention it.
Proposed in http://bugs.gnu.org/31105
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GNU less can display ANSI-colored text with the -R flag, but this
support has some limitations. One of them is that if an escape
sequence starts on one line and ends on a different line, only the
first line will be colored in less.

As a result, when diff creates colored output with multi-line deletes
or adds, less will only color the first line.

This change resets ANSI color to the default at the end of
each line and restarts it at the beginning of the next. It patches
normal and context mode. Side-by-side already worked in my testing.
* src/context.c (print_context_label, pr_context_hunk): As above.
(pr_unidiff_hunk, print_context_header): Likewise.
* src/normal.c (print_normal_hunk): Likewise.
* tests/colors: Adjust existing tests to accommodate this.
* NEWS (Improvements): Mention it.
Proposed in http://bugs.gnu.org/31105
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix colors test on systems lacking fractional timestamp support</title>
<updated>2018-12-29T20:18:31+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2018-12-28T23:23:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=b9e2f4f3b395c8eff525a95e00ca14e7dd44a5b4'/>
<id>b9e2f4f3b395c8eff525a95e00ca14e7dd44a5b4</id>
<content type='text'>
* tests/colors: The .NNNNNNNNN suffix is not printed on some systems.
Adapt the test to accommodate those systems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/colors: The .NNNNNNNNN suffix is not printed on some systems.
Adapt the test to accommodate those systems.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: strip-trailing-cr: avoid failure with ASAN</title>
<updated>2018-12-29T16:14:03+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2018-12-29T07:13:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=b33a91993401095d3785ede93caa71226eacc5e5'/>
<id>b33a91993401095d3785ede93caa71226eacc5e5</id>
<content type='text'>
Valgrind cannot operate on an ASAN-compiled binary.
* tests/strip-trailing-cr (valgrind): Define as no-op when diff
was compiled with sanitizer support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Valgrind cannot operate on an ASAN-compiled binary.
* tests/strip-trailing-cr (valgrind): Define as no-op when diff
was compiled with sanitizer support.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add test for --strip-trailing-cr UMR bug</title>
<updated>2018-12-29T04:54:08+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2018-12-29T00:12:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=c7a4eacac909ec98e3a1ca45643b4a20766864ec'/>
<id>c7a4eacac909ec98e3a1ca45643b4a20766864ec</id>
<content type='text'>
* tests/strip-trailing-cr: New file. Test for today's bug fix.
* tests/Makefile.am (TESTS): Add it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/strip-trailing-cr: New file. Test for today's bug fix.
* tests/Makefile.am (TESTS): Add it.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: import test infrastructure from coreutils</title>
<updated>2018-12-29T04:35:35+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2018-12-29T00:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=a28327bd77be425702927a032f4801338de40203'/>
<id>a28327bd77be425702927a032f4801338de40203</id>
<content type='text'>
* tests/init.cfg: New file, for require_valgrind_ definition (from coreutils).
* tests/Makefile.am (PATH): Don't set stderr_fileno_ here, since it is
now initialized in init.cfg.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/init.cfg: New file, for require_valgrind_ definition (from coreutils).
* tests/Makefile.am (PATH): Don't set stderr_fileno_ here, since it is
now initialized in init.cfg.
</pre>
</div>
</content>
</entry>
<entry>
<title>diff: fix UMR with --strip-trailing-cr</title>
<updated>2018-12-29T03:08:16+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2018-12-29T03:00:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=f8780039532cebb4f4580af1ef7c7d9019080157'/>
<id>f8780039532cebb4f4580af1ef7c7d9019080157</id>
<content type='text'>
Problem reported by Hongxu Chen (Bug#31935).
* src/io.c (prepare_text): Strip trailing CR before
doing the rest of the analysis.
* NEWS: Mention the fix.
Co-authored-by: Jim Meyering &lt;jim@meyering.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem reported by Hongxu Chen (Bug#31935).
* src/io.c (prepare_text): Strip trailing CR before
doing the rest of the analysis.
* NEWS: Mention the fix.
Co-authored-by: Jim Meyering &lt;jim@meyering.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: colors: avoid test failure on AIX 7</title>
<updated>2018-12-28T17:02:07+00:00</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2018-12-28T06:34:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=15668f2c54d095b872cd06d78adde5a525a583e8'/>
<id>15668f2c54d095b872cd06d78adde5a525a583e8</id>
<content type='text'>
* tests/colors: Splice the argument into the printf format string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/colors: Splice the argument into the printf format string.
</pre>
</div>
</content>
</entry>
<entry>
<title>maint: don't use an undocumented Autoconf macro</title>
<updated>2018-12-28T07:14:28+00:00</updated>
<author>
<name>Bruno Haible</name>
<email>address@hidden</email>
</author>
<published>2018-01-23T08:04:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/diffutils.git/commit/?id=b18c0155f577d66fac4d12919dbfbf0bbfa8118e'/>
<id>b18c0155f577d66fac4d12919dbfbf0bbfa8118e</id>
<content type='text'>
* configure.ac: Use AC_CONFIG_HEADERS instead of AC_CONFIG_HEADER.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* configure.ac: Use AC_CONFIG_HEADERS instead of AC_CONFIG_HEADER.
</pre>
</div>
</content>
</entry>
</feed>
