1-- $Id: CHANGES,v 1.73 2012/01/03 09:38:29 tom Exp $ 2 32012/01/03 (diffstat 1.55) 4 + add -R option, like patch's, to reverse the order of the comparison. 5 6 + FreeBSD ports/148604, ports/149500 reported that lzcat may not 7 support extracting files compressed in xz format (patch by Frederic 8 Culot, FreeBSD #149500). 9 10 + address documentation issue raised in Novell #739210 11 12 + correct typo s/Solaris/Solar/. 13 14 + updated configure script macros: 15 CF_ANSI_CC_CHECK CF_DISABLE_LEAKS CF_GCC_ATTRIBUTES CF_GCC_WARNINGS 16 CF_MAKE_TAGS CF_MSG_LOG CF_PATH_PROG CF_WITH_INSTALL_PREFIX 17 CF_XOPEN_SOURCE 18 19 + update config.guess, config.sub 20 212010/10/10 (diffstat 1.54) 22 + change Debian package script to use native format. 23 24 + correct counts used for new files when -S/-D options are used. 25 26 + minor typography improvement to manpage (patch by Solar Designer) 27 28 + remove the temporary directory on error, introduced in 1.48+ (patch 29 by Solar Designer). 30 312010/07/19 (diffstat 1.53) 32 33 + add missing "break" statement which left "-c" option falling-through 34 into "-C". 35 362010/07/16 (diffstat 1.52) 37 38 + add "-C" option to show the histogram using SGR colors. 39 40 + add "-s" option to show only the summary line. 41 42 + add configure check for "xz", using this in preference to "lzcat" 43 (FreeBSD #148604). 44 45 + also escape literal dashes used as part of the histogram in the 46 manpage. 47 48 + modify hyphens vs dashes in manpage per 49 http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html 50 (patch by Francois Marier). 51 52 + drop mkdirs.sh, use "mkdir -p" 53 54 + add configure checks for ctags and lint. 55 56 + updated configure macros 57 58 + reformat CHANGES to work with metrics script. 59 60 + fix strict gcc warnings, e.g., using const. 61 62 + improve a case where filenames have embedded blanks (patch by Reinier 63 Post). 64 65 + update config.guess, config.sub 66 672009/11/07 (diffstat 1.51) 68 69 + correct suffix-check for ".xz" files as command-line parameters 70 rather than as piped input (report by Moritz Barsnick). 71 722009/11/6 (diffstat 1.50) 73 74 + build/test fixes for MSYS, i.e., MinGW. 75 76 + improve configure check for get_unlocked function. 77 78 + use $TMPDIR for path of temporary file used in decompression. 79 80 + correct else-condition for detecting compression type (patch by Zach 81 Hirsch). 82 832009/08/31 (diffstat 1.49) 84 85 + improve lzma support, add support for xz (patch by Eric Blake). 86 87 + add special case for no-newline message from some diff's (Ubuntu 88 #269895). 89 90 + improve configure check for getopt header. 91 92 + add configure special case for HPUX 11 with _XOPEN_SOURCE definition. 93 94 + update config.guess, config.sub 95 962009/08/11 (diffstat 1.48) 97 98 + add decompression tests for lzma and pack file types. 99 100 + check for zcat and uncompress in preference to "compress -dc". 101 102 + modify to check the first few bytes of standard input, and use a 103 corresponding decompression utility if the stream appears to be 104 compressed. This requires making a temporary copy of the data 105 (Debian #491575). 106 107 + add -N option, to truncate filenames. 108 109 + use getc_unlocked() rather than fgetc_unlocked() 110 111 + modify to recognize Perforce-style diffs (patch by Ed Schouten). 112 113 + updated configure macros to improve compiler warning checks, use 114 $PATH_SEPARATOR rather than $PATH_SEP (for consistency with some 115 autoconf versions), 116 117 + fix typo in configure --with-install-prefix option (report by 118 Dagobert Michelsen). 119 120 + update config.guess, config.sub 121 1222009/03/29 (diffstat 1.47) 123 124 modify to work with patch ".rej" files, which do not have a header to 125 tell which file is affected. 126 127 fix typo in usage message (reports by Moritz Barsnick, John McNamara, 128 Richard Quadling). 129 1302008-08-06 (diffstat 1.46) 131 132 + add "-S", "-D" and "-m" options to provide a way to show the amount 133 of difference relative to the total sizes of the files. 134 135 + add "-q" option (Debian #488248, patch by Greg Norris). 136 1372007/09/04 (diffstat 1.45) 138 139 + add "-b" option (Debian #379380, patch by Greg Norris). 140 1412007/08/26 (diffstat 1.44) 142 143 + add a check for default-diff output, e.g., "diff foo bar|diffstat", 144 which has no "diff" command in the output for diffstat to guess that 145 a diff is beginning. 146 147 + add a check after completing a chunk for unified diff to ensure that 148 the next line either begins another chunk for the diff, or starts 149 another diff, e.g., a context diff (report by Adrian Bunk). 150 151 + add configure options for leak-checking valgrind, etc. 152 153 + use install-sh rather than install.sh 154 155 + updated config.guess and config.sub 156 157 + updated configure macros CF_GCC_ATTRIBUTES CF_GCC_WARNINGS CF_MSG_LOG 158 CF_PATH_SYNTAX CF_VERBOSE CF_XOPEN_SOURCE 159 1602006/07/16 (diffstat 1.43) 161 162 + fix to avoid modifying data which is being used by tsearch() for 163 ordering the binary tree (report by Adrian Bunk). 164 1652006/07/02 (diffstat 1.42) 166 167 + do not ignore pathnames in /tmp/, since some tools create usable 168 for both old/new files there (Debian #376086). 169 170 + correct ifdef for fgetc_unlocked(). 171 172 + updated configure macros CF_GCC_VERSION, CF_PATH_SYNTAX and 173 CF_XOPEN_SOURCE 174 175 + add configure check for compress, gzip and bzip2 programs that may be 176 used to decompress files. 177 1782005/08/24 (diffstat 1.41) 179 180 + update usage message for options added in 1.40 (report by Eric Blake). 181 1822005-08-15 (diffstat 1.40) 183 184 + add options -l, -r and -t. add to -f option (patch, comments by 185 Jean Delvare, Michael Burian). 186 187 + improve I/O on Linux using fgetc_locked(). 188 189 + improve searching of long sorted lists using tsearch() 190 191 + improve configure-script checks for Intel compiler warnings. 192 1932005-04-10 (diffstat 1.39) 194 195 + change order of merging and prefix-stripping so stripping all prefixes, 196 e.g., with -p9, will be sorted as expected (patch by Jean Delvare). 197 198 + correct a reference to freed memory after merging found with valgrind. 199 2002005-01-16 (diffstat 1.38) 201 202 + add makefile.wnt, etc., for win32 port. 203 204 + fix "make check" to work even when PATH or the build directory has 205 spaces in it (patch by Eric Blake). 206 207 + add support for '--help' and '--version' command line arguments, for a 208 consistent interface with GNU tools, and still compatible to POSIX 209 requirements on utility options (patch by Eric Blake). 210 2112004-12-18 212 213 + modify makefile.in and run_test.sh to allow "make check" to be run 214 from a build directory which is not the same as the source directory, 215 i.e., when the configure --srcdir option is used (request by Eric 216 Blake). 217 218 + modify distribution to include sample of regression tests, so a 219 "make check" will work (request by Eric Blake). 220 2212004-12-16 (diffstat 1.37) 222 223 + fix a different case for data beginning with "--" which was treated 224 as a header line. 225 2262004-12-14 (diffstat 1.36) 227 228 + Fix allocation problems. Open files in binary mode for reading. 229 Getopt returns -1, not necessarily EOF. Add const where useful. Use 230 NO_IDENT where necessary. malloc() comes from <stdlib.h> in standard 231 systems (Patch by Eric Blake <ebb9@byu.net>.) 232 2332004-11-08 (diffstat 1.35) 234 235 + modify makefile.in to work with configure --srcdir option (report by 236 Eric Blake). 237 238 + minor fix for resync of unified diffs checks for range (line beginning 239 with '@' without header lines (successive lines beginning with "---" 240 and "+++") (Debian #264098). 241 242 + miscellaneous updates for configure script 243 2442003-11-09 (diffstat 1.34) 245 246 + improve check for certain lines (not those that begin a chunk) that 247 begin with '-', treating all except "---" as a delete (report by 248 James Rowe <Jay@jnrowe.uklinux.net>). 249 250 + minor updates to configure script. 251 2522003-02-14 (diffstat 1.33) 253 254 + modified to work around a case where the filename+date was incomplete, 255 i.e., missing one of the components such as the day of the month. 256 While diffstat does not use the date directly, it helps distinguish 257 some lines from non-patches (report by Moritz Barsnick 258 <moritz@barsnick.net>). 259 260 + add "-h" option (request by Moritz Barsnick). 261 262 + fix a typo in usage message (report by Moritz Barsnick). 263 264 + add "-e" and "-o" options to simplify testing on OS/2 EMX. 265 2662003-01-04 (diffstat 1.32) 267 268 + modified to handle patches generated by makepatch-2.00_09, which uses 269 both "Index" and "diff" lines (report by D Roland Walker). As a side 270 effect, the additional merging eliminates occasional reports with 271 zero differences. 272 273 + modified to avoid buffer overflows. 274 275 + fixes for Debian #155000 (did not handle a '-' in first content-column 276 of a unified diff) and #170947 (option to turn the progress messages 277 off). 278 279 + updated configure script using aclocal.m4 macros 280 281 + update makefile.in to improve use of autoconf (report/patch by Nix 282 <nix@esperi.demon.co.uk>). 283 2842002-08-20 (diffstat 1.31) 285 286 + add -u, -k options to override diffstat's normal sorting (-u) and 287 merging (-k) of identical filenames. (-u requested by H Peter Anvin 288 <hpa@zytor.com>). 289 2902002-08-09 (diffstat 1.30) 291 292 + allow either '/' or '-' as delimiters in dates, to accommodate 293 gendiff (report by Rik van Riel <riel@conectiva.com.br>). This 294 corresponds to the time format used in diffutils 2.8 whose changelog 295 states that this is ISO 8601 (though online references differ). 296 2972001-10-10 (diffstat 1.29) 298 299 + add bzip2 (.bz2) suffix (suggested by Gregory T Norris 300 <haphazard@socket.net>, Debian #82969). 301 302 + add check for diff from RCS archive where the "diff" lines do not 303 reference a filename. 304 3052000-03-29 (diffstat 1.28) 306 307 + Add -c option (to prefix output with '#' comment), eliminating a step 308 in my script that combines diffstat output with a patch. This is a 309 workaround for OSF1's broken sed utility. 310 311 + Check for compressed file suffixes .Z and .gz, read uncompressed data 312 via pipe (Debian wishlist item #53975 by ch@lathspell.westend.com). 313 314 + Simplified makefile based on comments by M Sweger 315 <mikesw@whiterose.net> 316 317 + Adapted changes from Troy Engel <tengel@sonic.net> as "-f" option. 318 3191998-05-27 (diffstat 1.27) 320 321 + Debian diff's don't show dates on the lines where we expect to see 322 filenames. 323 3241998-01-16 (diffstat 1.26, Patch 5) 325 326 + Change copyright terms. 327 328 + Accommodate patches w/o tabs in header lines (e.g., from cut/paste). 329 Still prefer the tabs because otherwise we cannot have spaces in 330 filenames. 331 332 + Strip suffixes such as ".orig", to avoid confusing output. 333 3341996-03-16 (diffstat 1.24, Patch 4) 335 336 + Corrected state-transition after "Binary". 337 338 + Added testing subdirectory 339 340 + Added -p option. 341 342 + Handle differences from /tmp (e.g., for X11R5 patches). 343 3441995-05-06 (diffstat 1.17 Patch 3) 345 346 + Repost whole program to comp.sources.misc (1.17) 347 348 + Mods to scaling: limit to 1:1 if only a few changes were made; added 349 logic to accumulate error across +/-/! calls. 350 351 + added logic to recognize 'rcsdiff -u' output. 352 3531994-12-26 (diffstat 1.15, Patch 2) 354 355 + Strip common pathname prefix (1.15) 356 3571994-11-13 (diffstat 1.14, Patch 1) 358 359 + Test for <string.h> vs <strings.h> 360 361 + Corrected error in 'match()' that didn't handle properly the case 362 when an argument was a null string (i.e., blank lines in a unified 363 diff). 364 365 + Added options '-n' and '-V' 366 367 + Added patchlev.h, CHANGES files. 368 369 + Added install.sh, for autoconf 2.1 370 3711994-06-13 (diffstat 1.12, Patch 0) 372 373 + Initial release of 'diffstat' (1.12). 374