Home | History | Annotate | Download | only in libtiff
      1 2012-06-15  Frank Warmerdam  <warmerdam (a] google.com>
      2 
      3 	*  libtiff 4.0.2 released.
      4 
      5 	* tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable
      6 	warnings with clang.
      7 
      8 2012-06-15  Tom Lane  <tgl (a] sss.pgh.pa.us>
      9 
     10 	* tools/tiff2pdf.c: Defend against integer overflows while
     11 	calculating required buffer sizes (CVE-2012-2113).
     12 
     13 2012-06-12  Frank Warmerdam  <warmerdam (a] google.com>
     14 
     15 	* libtiff/tif_print.c: Be careful about printing corrupt inknames.
     16 
     17 	* libtiff/tif_fax3.c: Ensure runs array is initialized to zeros.
     18 
     19 2012-06-07  Frank Warmerdam  <warmerdam (a] google.com>
     20 
     21 	* libtiff/tif_print.c: avoid pretty printing other fields when
     22 	we don't have the proper amount and type of data or if the field
     23 	is actually autodefined.
     24 
     25 2012-06-05  Frank Warmerdam  <warmerdam (a] google.com>
     26 
     27 	* libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal
     28 	ycbcrsubsampling values result in a runtime error, not just an
     29 	assertion.
     30 
     31 	* tests/custom_dir.c: Add testing of EXIF and custom directory
     32 	reading and writing.
     33 
     34 	* libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory()
     35 	and TIFFCreateEXIFDirectory() functions.
     36 
     37 	* libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for
     38 	PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING.  Implement DOTRANGE
     39 	differently.  This is to avoid using special TIFFGetField/TIFFSetField 
     40 	rules for these fields in non-image directories (like EXIF).
     41 
     42 2012-06-04  Frank Warmerdam  <warmerdam (a] google.com>
     43 
     44 	* libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling
     45 	in JPEGPreDecode().  If a fixup will be done it needs to be done sooner
     46 	in JPEGFixupTagsSubsampling() or else buffer sized may be wrong.
     47 
     48 2012-06-01  Frank Warmerdam  <warmerdam (a] google.com>
     49 
     50 	* tools/tiffinfo.c: Do not try to read image data in EXIF directories.
     51 
     52 	* libtiff/tif_getimage.c: added support for _SEPARATED CMYK images.
     53 	http://bugzilla.maptools.org/show_bug.cgi?id=2379
     54 
     55 	* libtiff/tif_unix.c: use strerror() to return a more specific error message
     56 	on failed open.
     57 	http://bugzilla.maptools.org/show_bug.cgi?id=2341
     58 
     59 	* libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs.
     60 	http://bugzilla.maptools.org/show_bug.cgi?id=2386
     61 
     62 	* tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support
     63 	for testing jpeg in tiff image decoding including the "raw" decode interface.
     64 
     65 2012-05-31  Frank Warmerdam  <warmerdam (a] google.com>
     66 
     67 	* libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in
     68 	JPEGDecodeRaw() - mostly likely to occur when there is confusion about
     69 	sampling values.
     70 
     71 	* libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed.
     72 
     73 	* libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jrmie Laval.
     74 	http://bugzilla.maptools.org/show_bug.cgi?id=2398
     75 
     76 2012-05-29  Frank Warmerdam  <warmerdam (a] google.com>
     77 
     78 	* libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories,
     79 	like EXIF directories.  This fixes problems like a tag "320" existing in a custom directory getting
     80 	processed as if it were a colormap when it isn't really.  Damn the wide variety of argument formulations
     81 	to get/set functions for different tags!
     82 
     83 	* libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata
     84 	is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag.
     85 
     86 2012-05-24  Frank Warmerdam  <warmerdam (a] google.com>
     87 
     88 	* libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward
     89 	accumulate" and overwrite the end by one word in at least some cases.
     90 
     91 2012-05-23  Frank Warmerdam  <warmerdam (a] google.com>
     92 
     93 	* libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs.
     94 
     95 	* tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files.
     96 
     97 	* libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on
     98 	the same image.
     99 
    100 	* libtiff/tif_ojpeg.c: make things more resilient in the face of files without
    101 	stripbytecounts or stripoffsets or where loading these fails.
    102 
    103 	* libtiff/tif_print.c: be careful about whether min/max values are singular
    104 	or one per sample.
    105 
    106 	* libtiff/tif_print.c: Avoid confusion about count size when printing custom fields.
    107 	May affect things like ISOSpeedRatings.
    108 
    109 	* libtiff/tif_dir.c: avoid one byte past end of ink names reading
    110 	in some cases.
    111 
    112 2012-05-19  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    113 
    114 	* man/TIFFGetField.3tiff: Correct the 'count' field type in the
    115 	example for how to retreive the value of unsupported tags.
    116 
    117 2012-03-30  Frank Warmerdam  <warmerdam (a] google.com>
    118 
    119 	* tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173)
    120 	care of Tom Lane @ Red Hat.
    121 
    122 2012-02-18  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    123 
    124 	* libtiff 4.0.1 released.
    125 
    126 	* Update automake used to 1.11.3.
    127 
    128 	* libtiff/tiffio.h: Use double-underbar syntax in GCC printf
    129 	attribute specification to lessen the risk of accidental macro
    130 	substitution.  Patch from Vincent Torri.
    131 
    132 2012-01-31  Frank Warmerdam  <warmerdam (a] pobox.com>
    133 
    134 	* libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around
    135 	assumption tag fetching is always successful. 
    136 
    137 	* libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.
    138 
    139 2012-01-22  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    140 
    141 	* configure.ac: Add support for using library symbol versioning on
    142 	ELF systems with the GNU linker.  Support is enabled via
    143 	--enable-ld-version-script.  Disabled by default for now until
    144 	there is a decision for how to deploy a libtiff with versioned
    145 	symbols after libtiff 4.0.0 was already released.
    146 
    147 2011-12-22  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    148 
    149 	* libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
    150 
    151 	tif_win32.c.  Patch by Edward Lam.
    152 
    153 	* configure.ac: Add libtiff private dependency on -llzma for
    154 	pkg-config.  Patch by Mark Brand.
    155 	Updated Automake to 1.11.2.
    156 
    157 2011-12-21  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    158 
    159 	* libtiff 4.0.0 released.
    160 
    161 2011-12-08  Frank Warmerdam  <warmerdam (a] pobox.com>
    162 
    163 	* libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking
    164 	of _TIFFFillStriles() results (#gdal 4372)
    165 
    166 2011-12-07  Frank Warmerdam  <warmerdam (a] pobox.com>
    167 
    168 	* libtiff/tif_dirread.c: fixes to deal with invalid files where
    169 	_TIFFFillStriles() fails, and we try to chop up strips (gdal #4372)
    170 
    171 	* libtiff/tif_dirread.c: fix error reporting when there is no 
    172 	tag information struct and name (gdal #4373)
    173 
    174 2011-10-22  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    175 
    176 	* Update GNU libtool to 2.4.2.
    177 
    178 	* tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
    179 	uint32 type for TIFFTAG_JPEGTABLES.  Patch by Christophe
    180 	Deroulers.
    181 
    182 2011-06-21  Frank Warmerdam  <warmerdam (a] pobox.com>
    183 
    184 	* libtiff/libtiff.def: Restore TIFFMergeFieldInfo.
    185 
    186 2011-05-31  Jim Meyering  <meyering (a] redhat.com>
    187 
    188 	* libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also
    189 	upon failure to allocate "resizeddata".
    190 	* tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for
    191 	allocation failure, not before.
    192 	* libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path
    193 	* tools/rgb2ycbcr.c (cvtRaster): unchecked malloc
    194 	* libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark
    195 	NULL-deref and possible overflow
    196 	* tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written"
    197 	* libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration
    198 	and set of otherwise unused local, data_is_empty.
    199 	* libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]:
    200 	Diagnose out-of-memory failure and return 0 rather than
    201 	dereferencing NULL.
    202 
    203 2011-05-24  Frank Warmerdam  <warmerdam (a] pobox.com>
    204 
    205 	* libtiff/tif_dirread.c: produce special error message for zero tag
    206 	directories instead of error out on the malloc(0) failure.
    207 
    208 2011-05-16  Frank Warmerdam  <warmerdam (a] pobox.com>
    209 
    210 	* libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and
    211 	related declarations as they are in active use by libraries
    212 	such as libgeotiff, and work just fine.  (#2315)
    213 
    214 2011-04-20  Frank Warmerdam  <warmerdam (a] pobox.com>
    215 
    216 	* libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 
    217 	TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 
    218 	http://bugzilla.maptools.org/show_bug.cgi?id=2315
    219 
    220 	* libtiff/libtiff.def: add some missing (64bit) APIs.  
    221 	http://bugzilla.maptools.org/show_bug.cgi?id=2316
    222 
    223 2011-04-09  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    224 
    225 	* libtiff 4.0.0beta7 released.
    226 
    227 2011-04-09  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    228 
    229 	* configure.ac: Should use AC_CANONICAL_HOST since host specifies
    230 	the run-time target whereas target is used to specify the final
    231 	output target if the package is a build tool (like a compiler),
    232 	which libtiff is not.  Resolves libtiff bug 2307 "Use
    233 	AC_CANONICAL_HOST macro".
    234 
    235 2011-04-02  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    236 
    237 	* configure.ac: Support configuring TIFF_INT64_FORMAT and
    238 	TIFF_UINT64_FORMAT appropriately for MinGW32.
    239 
    240 	* tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32
    241 	printf conventions for 64-bit types because it uses the WIN32 CRT.
    242 
    243 	* libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c,
    244 	tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32
    245 	printf conventions for 64-bit types because it uses the WIN32 CRT.
    246 
    247 	* tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not
    248 	understood by WIN32 CRT.
    249 
    250 	* libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC.
    251 
    252 	* tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since
    253 	it is much more portable.  Tmpfile is included in ISO/IEC
    254 	9899:1990 and the WIN32 CRT.
    255 
    256 2011-03-26  Frank Warmerdam  <warmerdam (a] pobox.com>
    257 
    258 	* tools/tiffset.c: add -d and -sd switches to allow operation on
    259 	a particular directory, not just the first (jef).
    260 
    261 2011-03-21  Frank Warmerdam  <warmerdam (a] pobox.com>
    262 
    263 	* libtiff/tif_thunder.c: Correct potential buffer overflow with 
    264 	thunder encoded files with wrong bitspersample set.  The libtiff 
    265 	development team would like to thank Marin Barbella and TippingPoint's
    266 	Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004,
    267 	CVE-2011-1167).
    268 	http://bugzilla.maptools.org/show_bug.cgi?id=2300
    269 
    270 2011-03-10  Frank Warmerdam  <warmerdam (a] pobox.com>
    271 
    272 	* libtiff/tif_fax3.h: Fix to last change allowing zero length 
    273 	runs at the start of a scanline - needed for legal cases.
    274 
    275 2011-03-02  Frank Warmerdam  <warmerdam (a] pobox.com>
    276 
    277 	* libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 
    278 	a move left.  Without this, a malicious input file can generate an 
    279 	indefinitely large series of runs without a0 ever reaching the right 
    280 	margin, thus overrunning our buffer of run lengths.  Per CVE-2011-0192.
    281 	This is a modified version of a patch proposed by Drew Yao of Apple 
    282 	Product Security.  It adds an unexpected() report, and disallows the 
    283 	equality case, since emitting a run without increasing a0 still allows 
    284 	buffer overrun.
    285 
    286 2011-02-23  Frank Warmerdam  <warmerdam (a] pobox.com>
    287 
    288 	* libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296)
    289 
    290 	* tools/tiff2rgba.c: close source file on error to make leak 
    291 	detection easier.
    292 
    293 	* libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails.
    294 
    295 	http://bugzilla.maptools.org/show_bug.cgi?id=2295
    296 
    297 2011-02-22  Frank Warmerdam  <warmerdam (a] pobox.com>
    298 
    299 	* libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ
    300 	_SUPPORT)
    301 
    302 2011-02-18  Frank Warmerdam  <warmerdam (a] pobox.com>
    303 
    304 	* configure.ac, configure: Added support for --enable-chunky-strip-read
    305 	configure option to enable the experimental feature from a couple 
    306 	months ago for reading big strips in chunks. 
    307 
    308 	* configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 
    309 	tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c:
    310 	Implement optional support for deferring the load of strip/tile 
    311 	offset and size tags for optimized scanning of directories.  Enabled
    312 	with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD
    313 	#define in tif_config.h). 
    314 
    315 2011-02-11  Frank Warmerdam  <warmerdam (a] pobox.com>
    316 
    317 	* libtiff/tif_print.c: remove unused variable.
    318 
    319 2011-02-09  Frank Warmerdam  <warmerdam (a] pobox.com>
    320 
    321 	* libtiff/tif_win32.c: avoid error/warning buffer overrun problem
    322 	with non-console (popup message) builds on win32. 
    323 
    324 	http://bugzilla.maptools.org/show_bug.cgi?id=2293
    325 
    326 2011-01-24  Olivier Paquet  <olivier.paquet (a] gmail.com>
    327 
    328 	* libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c,
    329 	tif_print.c, tiff.h, tiffiop.h} : Added support for
    330 	TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different
    331 	values for each sample. Presents the min/max of all samples by default for
    332 	compatibility. TIFFSetField/TIFFGetField can be made to handle those tags
    333 	as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag.
    334 	http://www.asmail.be/msg0055458208.html
    335 
    336 2011-01-06  Frank Warmerdam  <warmerdam (a] pobox.com>
    337 
    338 	* libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 
    339 	maintained.  
    340 
    341 	* libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 
    342 	for CHUNKY_STRIP_READ_SUPPORT.
    343 
    344 	* libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained
    345 	during JPEGPreDecode and JPEGDecode calls.  
    346 	* libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 
    347 	as compression formats like JPEG keep 16 lines interleaved in a sense 
    348 	and might need to touch	quite a bit of data. 
    349 	
    350 	http://trac.osgeo.org/gdal/ticket/3894
    351 
    352 2011-01-03  Lee Howard <faxguy (a] howardsilvan.com>
    353 
    354 	* libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images
    355 	caused by commit on 2010-12-14.  Submitted by e-mail from
    356 	Even Rouault <even.rouault (a] mines-paris.org>
    357 
    358 2010-12-31  Olivier Paquet  <olivier.paquet (a] gmail.com>
    359 
    360 	* libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE.
    361 	http://bugzilla.maptools.org/show_bug.cgi?id=2266
    362 
    363 2010-12-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    364 
    365 	* tools/tiffcp.c, man/tiffcp.1: Added support for specifying the
    366 	compression level parameter (preset) for Deflate and LZMA encoders,
    367 	e.g "-c lzma:p1" or "-c zip:p9".
    368 
    369 	* libtiff/tif_lzma.c: Properly set the LZMA2 compression level
    370 	(preset) in LZMAVSetField().
    371 
    372 2010-12-18  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    373 
    374 	* libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to
    375 	Makefile.
    376 
    377 2010-12-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    378 
    379 	* configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h,
    380 	tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new
    381 	TIFF compression scheme LZMA reserving a new value 34925 for
    382 	Compression tag. As per
    383 	bug http://bugzilla.maptools.org/show_bug.cgi?id=2221
    384 
    385 2010-12-14  Lee Howard <faxguy (a] howardsilvan.com>
    386 
    387 	* libtiff/tif_dirread.c: tolerate some cases where
    388 	FIELD_COLORMAP is missing
    389 	http://bugzilla.maptools.org/show_bug.cgi?id=2189
    390 
    391 2010-12-14  Lee Howard <faxguy (a] howardsilvan.com>
    392 
    393 	* libtiff/tif_read.c: change read_ahead to tmsize_t
    394 	http://bugzilla.maptools.org/show_bug.cgi?id=2222
    395 
    396 2010-12-14  Lee Howard <faxguy (a] howardsilvan.com>
    397 
    398 	* configure.ac, libtiff/Makefile.am: Build tif_win32.c on
    399 	Windows except on Cygwin
    400 	http://bugzilla.maptools.org/show_bug.cgi?id=2224
    401 
    402 2010-12-14  Lee Howard <faxguy (a] howardsilvan.com>
    403 
    404 	* tools/gif2tiff.c: fix buffer overrun
    405 	http://bugzilla.maptools.org/show_bug.cgi?id=2270
    406 
    407 2010-12-14  Lee Howard <faxguy (a] howardsilvan.com>
    408 
    409 	* libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order
    410 	to improve compatibility with various viewers
    411 	submitted by e-mail from Dwight Kelly <dkelly (a] apago.com>
    412 
    413 2010-12-13  Lee Howard <faxguy (a] howardsilvan.com>
    414 
    415 	* tools/fax2ps.c: be consistent with page-numbering
    416 	http://bugzilla.maptools.org/show_bug.cgi?id=2225
    417 
    418 2010-12-13  Lee Howard <faxguy (a] howardsilvan.com>
    419 
    420 	* libtiff/tif_color.c: prevent crash in handling bad TIFFs
    421 	resolves CVE-2010-2595
    422 	http://bugzilla.maptools.org/show_bug.cgi?id=2208
    423 
    424 2010-12-13  Lee Howard <faxguy (a] howardsilvan.com>
    425 
    426 	* tools/tiffcrop.c: new release by Richard Nolde
    427 	http://bugzilla.maptools.org/show_bug.cgi?id=2004
    428 
    429 2010-12-12  Lee Howard <faxguy (a] howardsilvan.com>
    430 
    431 	* tools/tiff2pdf.c: fix colors for images with RGBA 
    432 	interleaved data
    433 	http://bugzilla.maptools.org/show_bug.cgi?id=2250
    434 
    435 2010-12-12  Lee Howard <faxguy (a] howardsilvan.com>
    436 
    437 	* libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files
    438 	http://bugzilla.maptools.org/show_bug.cgi?id=2164
    439 
    440 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    441 
    442 	* tools/tiff2pdf.c: remove invalid duplication for Lab
    443 	http://bugzilla.maptools.org/show_bug.cgi?id=2162
    444 
    445 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    446 
    447 	* libtiff/tif_jpeg.c: fix use of clumplines calculation
    448 	http://bugzilla.maptools.org/show_bug.cgi?id=2149
    449 
    450 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    451 
    452 	* tools/fax2ps.c: replace unsafe tmpfile() with mkstemp()
    453 	http://bugzilla.maptools.org/show_bug.cgi?id=2118
    454 
    455 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    456 
    457 	* libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c,
    458 	  libtiff/tif_zip.c: fix build errors for VC6
    459 	http://bugzilla.maptools.org/show_bug.cgi?id=2105
    460 
    461 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    462 
    463 	* libtiff/tif_stream.cxx: warnings cleanup
    464 	http://bugzilla.maptools.org/show_bug.cgi?id=2091
    465 	* libtiff/tif_dirread.c: warnings cleanup
    466 	http://bugzilla.maptools.org/show_bug.cgi?id=2092
    467 
    468 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    469 
    470 	* tools/tiff2pdf.c: add fill-page option
    471 	http://bugzilla.maptools.org/show_bug.cgi?id=2051
    472 
    473 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    474 
    475 	* libtiff/tif_dirread.c: modify warnings
    476 	http://bugzilla.maptools.org/show_bug.cgi?id=2016
    477 
    478 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    479 
    480 	* libtiff/tif_ojpeg.c: fix buffer overflow on problem data
    481         http://bugzilla.maptools.org/show_bug.cgi?id=1999
    482 
    483 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    484 
    485 	* tools/tiffinfoce.c: strip byte counts are uint64* now
    486 
    487 2010-12-11  Lee Howard <faxguy (a] howardsilvan.com>
    488 
    489         * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
    490         or missing byte-count tag
    491         * tools/tiffsplit.c: abort when reading a TIFF without a byte-count
    492         per http://bugzilla.maptools.org/show_bug.cgi?id=1996
    493 
    494 2010-12-08  Lee Howard <faxguy (a] howardsilvan.com>
    495 
    496         * libtiff/tif_dirread.c: fix crash when reading a badly-constructed
    497         TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994
    498 
    499 2010-12-06  Lee Howard <faxguy (a] howardsilvan.com>
    500 
    501         * libtiff/tif_open.c: Fix mode check before opening a file.
    502         http://bugzilla.maptools.org/show_bug.cgi?id=1906
    503 
    504 2010-11-27  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    505 
    506 	* libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
    507 	Patch by Vincent Torri.
    508 
    509 2010-10-21  Frank Warmerdam  <warmerdam (a] pobox.com>
    510 
    511 	* tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler.
    512 	
    513 	* libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf.
    514 
    515 	* libtiff/libtiff.def: export _TIFFCheckMalloc for tools.
    516 
    517 2010-09-25  Lee Howard <faxguy (a] howardsilvan.com>
    518 
    519 	* tools/tiff2ps.c: improvements and enhancements from Richard Nolde
    520 	with additional command line options for Document Title,
    521 	Document Creator, and Page Orientation
    522 
    523 2010-07-13  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    524 
    525 	* tools/tiffcrop.c: Patch from Richard Nolde to avoid a
    526 	potentially unterminated buffer due to using an exceptionally long
    527 	file name.
    528 
    529 2010-07-08  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    530 
    531 	* tools/tiff2pdf.c: Fixed ID buffer filling in
    532 	t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
    533 
    534 2010-07-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    535 
    536 	* libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount()
    537 	to expected value as the warning message suggests. As per bug
    538 	http://bugzilla.maptools.org/show_bug.cgi?id=1963
    539 
    540 2010-07-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    541 
    542 	* tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER,
    543 	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE
    544 	which should be set by value.
    545 
    546 	* libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag()
    547 	and _TIFFFieldWithName() if the tag is not found in the tag table.
    548 	This should be normal situation and returned NULL value should be
    549 	properly handled by the caller.
    550 
    551 2010-07-02  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    552 
    553 	* libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned
    554 	integer type conversions. As per bug
    555 	http://bugzilla.maptools.org/show_bug.cgi?id=2207
    556 
    557 	* tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for
    558 	WhitePoint tag as per bug
    559 	http://bugzilla.maptools.org/show_bug.cgi?id=2042
    560 
    561 	* libtiff/tif_getimage.c: Check the number of samples per pixel when
    562 	working with YCbCr image in PickContigCase(). As per bug
    563 	http://bugzilla.maptools.org/show_bug.cgi?id=2216
    564 
    565 	* libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
    566 	TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
    567 	we don't need any post-processing. That helps to reset the hook if we
    568 	previously set this field to some other value and the hook was
    569 	initialized accordingly. As per bug
    570 	http://bugzilla.maptools.org/show_bug.cgi?id=2035
    571 
    572 2010-07-01  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    573 
    574 	* tools/tiffgt.c: Properly check the raster buffer allocations for
    575 	integer overflows. As per bug
    576 	http://bugzilla.maptools.org/show_bug.cgi?id=2108
    577 
    578 	* m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the
    579 	upstream.
    580 
    581 	* libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move
    582 	multiply_32() and multiply_64() functions into tif_aux.c file and
    583 	rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively.
    584 
    585 2010-06-30  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    586 
    587 	* tools/tiff2pdf.c: Better generation of ID field in
    588 	t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings.
    589 
    590 	* tools/tiff2pdf.c: Fixed computation of the tile buffer size when
    591 	converting JPEG encoded tiles.
    592 
    593 	* tools/tiff2pdf.c: Better handling of string fields, use static
    594 	string buffers instead of dynamically allocated, use strncpy() instead
    595 	of strcpy(), control the string lengths.
    596 
    597 2010-06-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    598 
    599 	* tools/tiffcp.c: Initialize buffer arrays with zero to avoid
    600 	referencing to uninitialized memory in some cases (e.g. when tile size
    601 	set bigger than the image size).
    602 
    603 2010-06-15  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    604 
    605 	* tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
    606 	subsampled data since tiffcrop currently doesn't support it.  Fix
    607 	JPEG support.
    608 
    609 2010-06-13  Frank Warmerdam  <warmerdam (a] pobox.com>
    610 
    611 	* libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201)
    612 
    613 	* tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 
    614 	in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 
    615 	wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 
    616 	size is larger.  Also, there are a bunch of places that try to 
    617 	memset() a malloc'd buffer before checking for malloc failure, which 
    618 	would result in core dump if there actually were a failure. (#2211)
    619 
    620 2010-06-11  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    621 
    622 	* libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
    623 	avoid compiler warnings if parameter types are not sign
    624 	consistent.
    625 
    626 	* libtiff 4.0.0alpha6 released.
    627 
    628 	* tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
    629 	European page size dimensions.  Added an option to allow the user
    630 	to specify a custom page size on the command line.  Fix the case
    631 	where a page size specified with a fractional part was being
    632 	coerced to an integer by retyping the variables that define the
    633 	paper size.
    634 
    635 	* html/index.html: Update for the 3.9.3 release.
    636 
    637 	* tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
    638 	YCbCr subsampled data since tiffcp currently doesn't support it.
    639 	http://bugzilla.maptools.org/show_bug.cgi?id=2097
    640 
    641 	* Update libtool to version 2.2.10.
    642 
    643 2010-06-10  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    644 
    645 	* libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
    646 	multiplier is zero.
    647 
    648 2010-06-09  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    649 
    650 	* libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
    651 	CVE-2010-1411 was not complete.
    652 
    653 	* libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
    654 	multiply two integers.  Returns zero if there is an integer
    655 	overflow.
    656 
    657 	* tools/tiffcp.c (main): tiffcp should not leak memory if an error
    658 	is reported when reading the input file.
    659 
    660 2010-06-08  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    661 
    662 	* Update libtool to version 2.2.8.
    663 
    664 	* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
    665 	buffer due to integer overflow in TIFFroundup() and several other
    666 	potential overflows.  In conjunction with the fix to TIFFhowmany(),
    667 	fixes CVE-2010-1411.
    668 
    669 	* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
    670 	result in an integer overflow. This causes TIFFroundup() to also
    671 	return zero if there would be an integer overflow.
    672 
    673 	* contrib: Add an emacs formatting mode footer to all source files
    674 	so that emacs can be effectively used.
    675 
    676 2010-06-03  Oliver Chen Feng <scip8183 (a] gmail.com>
    677 
    678 	* libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
    679 	file PAGENUMBER value in sequence for users who care the page
    680 	sequence, this will also prevent tiff2pdf from creating pdf file from
    681 	the merged tiff file with wrong page sequence.
    682 
    683 2010-05-08  Olivier Paquet  <olivier.paquet (a] gmail.com>
    684 
    685 	* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
    686 	to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
    687 	* libtiff/tif_dirinfo.c: Use correct set_field_type for
    688 	TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
    689 	http://bugzilla.maptools.org/show_bug.cgi?id=2192
    690 
    691 2010-05-07  Frank Warmerdam  <warmerdam (a] pobox.com>
    692 
    693 	* libtiff/tif_jpeg.c: Ensure that quality is always set in 
    694 	JPEGPreEncode(), not just when we want to output local tables.  
    695 	Otherwise the quality used during compression may not be right and
    696 	might not match the tables in the tables tag.   This bug only occurs
    697 	when seeking between directories in the midst of writing blocks.
    698 	http://trac.osgeo.org/gdal/ticket/3539
    699 	
    700 2010-05-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
    701 
    702 	* html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
    703 	Regenerated from the source.
    704 
    705 2010-05-05  Olivier Paquet  <olivier.paquet (a] gmail.com>
    706 
    707 	* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
    708 	had stopped working. Also made it always print 6 floats instead of
    709 	2*SamplesPerPixel.
    710 	http://bugzilla.maptools.org/show_bug.cgi?id=2191
    711 	http://bugzilla.maptools.org/show_bug.cgi?id=2186
    712 	* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
    713 	fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
    714 
    715 2010-05-05  Frank Warmerdam  <warmerdam (a] pobox.com>
    716 
    717 	* libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
    718 	if the jpeg table was written.  This is a fix for the last fix on 04-21.
    719 
    720 2010-04-21  Frank Warmerdam  <warmerdam (a] pobox.com>
    721 
    722 	* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 
    723 	JPEGSetupEncode() is called if the tables already seem to be 
    724 	established.  This prevents spurious updates and rewriting of 
    725 	directories with jpegtables when doing updates to existing images.
    726 	http://trac.osgeo.org/gdal/ticket/3539
    727 
    728 2010-04-20  Olivier Paquet  <olivier.paquet (a] gmail.com>
    729 
    730 	* libtiff/tif_dirinfo.c: Use correct set_field_type for
    731 	TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
    732 	TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
    733 	They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
    734 	http://bugzilla.maptools.org/show_bug.cgi?id=2139
    735 
    736 2010-04-10  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    737 
    738 	* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
    739 	when the tag count value is zero.  Error handling is still a
    740 	regression since in 3.9.2, empty tags are skipped (with a warning)
    741 	rather than returning a hard error and refusing to read the file.
    742 
    743 	* tools/ppm2tiff.c (main): While case for parsing comment line
    744 	requires extra parenthesis to work as expected.  Reported by
    745 	Thomas Sinclair.
    746 
    747 2010-04-02  Frank Warmerdam  <warmerdam (a] pobox.com>
    748 
    749 	* libtiff/tif_read.c (primarily): Add support for 
    750 	CHUNKY_STRIP_READ_SUPPORT where large strips are
    751 	read in chunks for applications using TIFFReadScanline().
    752 	This is intended to make it more practical work with very
    753 	large compressed one-strip files.   Feature is off by default.
    754 	Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
    755 	http://trac.osgeo.org/gdal/ticket/3514
    756 
    757 2010-03-31  Frank Warmerdam  <warmerdam (a] pobox.com>
    758 
    759 	* libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
    760 	directories so previously placed directories will be migrated to
    761 	the end of file if needed.
    762 
    763 2010-03-30  Frank Warmerdam  <warmerdam (a] pobox.com>
    764 
    765 	* libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
    766 	to support operating on strips/tiles of more than 256MB.
    767 	http://trac.osgeo.org/gdal/ticket/3512
    768 
    769 2010-03-10  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    770 
    771 	* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
    772 	that it is clearly a memory allocation error message, and also
    773 	includes the size of the allocation request.
    774 
    775 2010-02-22  Lee Howard  <faxguy (a] howardsilvan.com>
    776 
    777 	* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
    778 	the JPEG TIFF as is is not required in order to prevent it from 
    779 	being unused and filled with invalid data.  (Leave it to be 
    780 	generated by later activity.)
    781 	http://bugzilla.maptools.org/show_bug.cgi?id=2135
    782 	* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 
    783 	data rather than skipping them.  This fixes the ability to view in
    784 	Acrobat Reader, Evince, and Ghostscript.
    785 	http://bugzilla.maptools.org/show_bug.cgi?id=2135
    786 	* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
    787 	strips.
    788 	http://bugzilla.maptools.org/show_bug.cgi?id=2029
    789 
    790 2009-12-03  Frank Warmerdam  <warmerdam (a] pobox.com>
    791 
    792 	* libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
    793 	Made so that when working with downsampled images a stub function 
    794 	reporting an error is used for tif_decoderow.  We cannot meaningfully
    795 	support reading scanlines in this situation.  (#1936)
    796 
    797 	* libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
    798 	resetting of the upsampling values (gdal:#3259).
    799 	http://bugzilla.maptools.org/show_bug.cgi?id=1936
    800 
    801 2009-11-30  Frank Warmerdam  <warmerdam (a] pobox.com>
    802 
    803 	* contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 
    804 	tools/ras2tiff.c: Fix resource leaks on error.
    805 	http://bugzilla.maptools.org/show_bug.cgi?id=2121
    806 
    807 	* libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 
    808 	TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
    809 	of as a custom(generic) field to avoid a potential reentrancy problem.
    810 	http://bugzilla.maptools.org/show_bug.cgi?id=2125
    811 	
    812 	* libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
    813 	man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 
    814 	const, and display_sRGB static and const.
    815 	http://bugzilla.maptools.org/show_bug.cgi?id=2124
    816 
    817 2009-11-04  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    818 
    819 	* libtiff 4.0.0alpha5 released.
    820 
    821 2009-11-03  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    822 
    823 	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
    824 	version has undergone substantial testing with arbitrary sample
    825 	bit depths.  Also eliminates GCC compilation warnings.
    826 
    827 2009-11-02  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    828 
    829 	* port/libport.h: Add extern declarations for getopt standard
    830 	globals.
    831 
    832 2009-10-31  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    833 
    834 	* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
    835 	noticed in 64-bit build of libtiff with Visual Studio 2005.
    836 	Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
    837 	tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
    838 
    839 	* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
    840 	warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
    841 	Visual Studio 2005 64-bit warning in tif_pixarlog.c",
    842 	http://bugzilla.maptools.org/show_bug.cgi?id=2068
    843 
    844 2009-10-29  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    845 
    846 	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
    847 	pointer" warnings.
    848 
    849 2009-10-28  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    850 
    851 	* html/tools.html: Add manual page links, and a summary
    852 	description of tiffcrop.
    853 
    854 2009-10-07  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    855 
    856 	* configure.ac: x86_64 should use the same fill order as i386.
    857 
    858 2009-09-24  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    859 
    860 	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
    861 	Nolde.  Major updates to add significant functionality for reading
    862 	and writing tile based images with bit depths not a multiple of 8
    863 	which cannot be handled by tiffcp.
    864 
    865 2009-09-03  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    866 
    867 	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
    868 	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
    869 	"Bug 2090 - OJPEG crash with libjpeg v7".
    870 	http://bugzilla.maptools.org/show_bug.cgi?id=2090
    871 
    872 2009-09-03  Frank Warmerdam  <warmerdam (a] pobox.com>
    873 
    874 	* libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
    875 	interface when stoponerror is set. 
    876 	http://bugzilla.maptools.org/show_bug.cgi?id=2071
    877 
    878 2009-08-30  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    879 
    880 	* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
    881 	fix build with gcc when using the "-Wformat
    882 	-Werror=format-security" flags.
    883 
    884 2009-08-29  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    885 
    886 	* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
    887 	ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
    888 	utilities tests.
    889 
    890 2009-08-28  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    891 
    892 	* tools/tiffinfo.c: tiffinfo should return error status to the
    893 	caller.  Register a private error callback to accomplish that.
    894 
    895 	* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
    896 	PNM formats so that we will be able to test more of the tools.
    897 	While adding these test images I notice that bmp2tiff and gif2tiff
    898 	only support ancient versions of their respective formats.
    899 
    900 2009-08-27  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    901 
    902 	* libtiff 4.0.0alpha4 released.
    903 
    904 	* HOWTO-RELEASE: Improved release instructions.
    905 
    906 2009-08-24  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    907 
    908 	* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
    909 	fixes for "Bug 2023 - nroff errors in manual pages".
    910 	http://bugzilla.maptools.org/show_bug.cgi?id=2023
    911 
    912 	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
    913 	CVE-2009-2347 libtiff: integer overflows in various inter-color
    914 	space conversion tools".
    915 	http://bugzilla.maptools.org/show_bug.cgi?id=2079
    916 
    917 	* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
    918 	Berkenbilt for "Bug 2024 - possible null pointer dereference with
    919 	one-line fix".
    920 	http://bugzilla.maptools.org/show_bug.cgi?id=2024
    921 
    922 	* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
    923 	from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
    924 	segfault after setting tdir_tag = IGNORE".	
    925 	http://bugzilla.maptools.org/show_bug.cgi?id=1895
    926 
    927 2009-08-23  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    928 
    929 	* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
    930 	tiffcrop.sh into a collection of many specific tests.  Re-wrote
    931 	all of the existing tests to be based on some simple shell
    932 	functions.  Make distcheck works again.
    933 	
    934 	Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
    935 	added 'memcheck' and 'ptrcheck' targets to make it easy to run the
    936 	tests under valgrind.
    937 
    938 2009-08-21  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    939 
    940 	* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
    941 	build.
    942 
    943 	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
    944 	actually activated since it needed to be enabled in this
    945 	Makefile.am.  Also activated parallel-tests mode since it offers
    946 	useful features such as per-test .log files and a summary test
    947 	report .log file.
    948 
    949 2009-08-20  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
    950 
    951 	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
    952 	libtool 2.2.6.  Enabled support for silent build rules
    953 	(--enable-silent-rules or 'make V=0') and colorized tests.
    954 
    955 	* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
    956 
    957 2009-06-30  Frank Warmerdam  <warmerdam (a] pobox.com>
    958 
    959 	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
    960 
    961 	* tools/tiffcp.c: add -c sgilog support.
    962 
    963 	* libtiff/tif_luv.c: correct return codes from encoderow to be
    964 	1 on success instead of zero.
    965 	http://bugzilla.maptools.org/show_bug.cgi?id=2069
    966 
    967 	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 
    968 	#1085 for a better underflow fix that errors properly.
    969 	http://bugzilla.maptools.org/show_bug.cgi?id=2065
    970 	http://bugzilla.maptools.org/show_bug.cgi?id=1985
    971 
    972 2009-06-26  Frank Warmerdam  <warmerdam (a] pobox.com>
    973 
    974 	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
    975 	fails on oddly sized 12bit jpeg compressed ycbcr images.
    976 
    977 2009-06-22  Frank Warmerdam  <warmerdam (a] pobox.com>
    978 
    979 	* libtiff/tif_lzw.c: Fix buffer underflow bug. 
    980 	http://bugzilla.maptools.org/show_bug.cgi?id=2065
    981 
    982 2009-06-21  Frank Warmerdam  <warmerdam (a] pobox.com>
    983 
    984 	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
    985 	for dual mode 8/12 bit jpeg support. 
    986 
    987 2009-06-03  Frank Warmerdam  <warmerdam (a] pobox.com>
    988 
    989 	* libtiff/tif_write.c: do not override the planar configuration to be
    990 	contig for one sample files if planar configuration is already set.
    991 	http://bugzilla.maptools.org/show_bug.cgi?id=2057
    992 
    993 2009-06-02  Frank Warmerdam  <warmerdam (a] pobox.com>
    994 
    995 	* libtiff/libtiff.def: Add TIFFUnsetField.
    996 
    997 2009-05-03  Frank Warmerdam  <warmerdam (a] pobox.com>
    998 
    999 	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
   1000 	error reports to use "%s" as format string.
   1001 	http://trac.osgeo.org/gdal/ticket/2976
   1002 	
   1003 2009-03-12  Frank Warmerdam  <warmerdam (a] pobox.com>
   1004 
   1005 	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
   1006 	for some codecs (#2020).
   1007 
   1008 2009-02-12  Frank Warmerdam  <warmerdam (a] pobox.com>
   1009 
   1010 	* libtiff/tif_luv.c: Fix handling of tiled logluv images. 
   1011 	http://bugzilla.maptools.org/show_bug.cgi?id=2005
   1012 
   1013 2009-02-09  Frank Warmerdam  <warmerdam (a] pobox.com>
   1014 
   1015 	* libtiff/tif_dirread.c: Improve allocation safety when allocated
   1016 	buffer for large tags.  (#1998)  Related to (#1993)
   1017 
   1018 2009-02-06  Frank Warmerdam  <warmerdam (a] pobox.com>
   1019 
   1020 	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
   1021 	test suite should pass.
   1022 
   1023 2009-02-05  Frank Warmerdam  <warmerdam (a] pobox.com>
   1024 
   1025 	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
   1026 	but at the 2GB boundary to avoid overflow on 32bit systems. 
   1027 	http://bugzilla.maptools.org/show_bug.cgi?id=1993
   1028 
   1029 	* libtiff/tif_dirread.c: Remove some assertions that blow due to
   1030 	corrupt files rather than in response to library internal 
   1031 	inconsistencies.  
   1032 	http://bugzilla.maptools.org/show_bug.cgi?id=1995
   1033 	http://bugzilla.maptools.org/show_bug.cgi?id=1991
   1034 
   1035 	* libtiff/tif_dirread.c: Fixed testing for failed result from
   1036 	TIFFReadDirectoryFindFieldInfo().  
   1037 	http://bugzilla.maptools.org/show_bug.cgi?id=1992
   1038 
   1039 2009-01-23  Frank Warmerdam  <warmerdam (a] pobox.com>
   1040 
   1041 	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
   1042 	http://bugzilla.maptools.org/show_bug.cgi?id=1911
   1043 
   1044 	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
   1045 	
   1046 	http://bugzilla.maptools.org/show_bug.cgi?id=1924
   1047 
   1048 	* tools/tiffcrop.c: initialize xres/yres values. 
   1049 
   1050 	* test/*.sh - default ${srcdir} to local directory.
   1051 
   1052 	* test/common.sh - start verbose mode after common settings. 
   1053 
   1054 	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 
   1055 	avoid type mismatches on different platforms. 
   1056 	http://bugzilla.maptools.org/show_bug.cgi?id=1889
   1057 
   1058 2009-01-22  Frank Warmerdam  <warmerdam (a] pobox.com>
   1059 
   1060 	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
   1061 	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
   1062 
   1063 	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
   1064 	defined, primarily to reduce prototype warnings on windows. 
   1065 
   1066 	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
   1067 	about unused parameters, and uninitialized variables.
   1068 
   1069 2009-01-21  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1070 
   1071 	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
   1072 	order to trace full execution detail while executing the test suite.
   1073 
   1074 2009-01-20  Frank Warmerdam  <warmerdam (a] pobox.com>
   1075 
   1076 	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
   1077 
   1078 2009-01-20  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1079 
   1080 	* test/Makefile.am (CLEANFILES): Make sure that test output files
   1081 	are removed by 'make clean'
   1082 
   1083 	* Update autotools for 4.0.0 beta3
   1084 
   1085 	* 4.0.0 beta3 produced.
   1086 
   1087 2009-01-12  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1088 
   1089 	* test/tiffcrop.sh: New test script for tiffcrop from Richard
   1090 	Nolde.
   1091 
   1092 	* tools/tiff2ps.c: Remove spurious message to stderr.
   1093 
   1094 2009-01-11  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1095 
   1096 	* tools/tiff2ps.c: Incorporated significant functionality update
   1097 	from Richard Nolde.  In particular, support for rotating the image
   1098 	by 90, 180, 270, and 'auto' has been added.
   1099 
   1100 	* man/tiffcrop.1: Incorporated documentation updates from Richard
   1101 	Nolde.
   1102 
   1103 	* tools/tiffcrop.c: Incorporated significant functionality update
   1104 	from Richard Nolde.
   1105 
   1106 2008-12-31  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1107 
   1108 	* libtiff/tiffio.h: GCC will now validate format specifications
   1109 	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
   1110 	TIFFWarningExt() in order to reveal bugs.
   1111 
   1112 	* Many fixes throughout to work better as a 64-bit build. 
   1113 
   1114 2008-12-30  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1115 
   1116 	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
   1117 	tags now require 64-bit parameter rather than 32-bit.
   1118 
   1119 	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
   1120 	64-bit values.
   1121 
   1122 	* tools/thumbnail.c: Eliminate crash noticed while running test
   1123 	suite.
   1124 
   1125 2008-12-29  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1126 
   1127 	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
   1128 	Initialize stack variables to avoid compiler warning.
   1129 
   1130 	* tools/tiffinfoce.c (main): Use toff_t for offset type when
   1131 	retrieving offset of EXIF IFD.
   1132 
   1133 	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
   1134 	TIFFClientOpen() callback and other external function definitions.
   1135 
   1136 	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
   1137 	type now.  Fixes crash when dumping files containing an EXIF IFD.
   1138 
   1139 	* m4/libtool.m4: Update to libtool 2.2.6.
   1140 
   1141 2008-12-21  Frank Warmerdam  <warmerdam (a] pobox.com>
   1142 
   1143 	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
   1144 
   1145 	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
   1146 	strip for the last partial strip in a jpeg compressed file.
   1147 	http://bugzilla.maptools.org/show_bug.cgi?id=1981
   1148 
   1149 2008-10-29  Frank Warmerdam  <warmerdam (a] pobox.com>
   1150 
   1151 	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
   1152 	we take the shortcut to only update the strip/tile offsets in place.
   1153 	http://trac.osgeo.org/gdal/ticket/2621
   1154 
   1155 2008-10-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1156 
   1157 	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
   1158 	the older versions retained).
   1159 
   1160 2008-10-09  Frank Warmerdam  <warmerdam (a] pobox.com>
   1161 
   1162 	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
   1163 	IPP enabled version of libjpeg from Intel. 
   1164 	http://bugzilla.maptools.org/show_bug.cgi?id=1951
   1165 
   1166 2008-09-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1167 
   1168 	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
   1169 	Required for libtiff 4.0.
   1170 
   1171 	* tools/tiffsplit.c: Use dynamically allocated array instead of static
   1172 	when constructing output file names.
   1173 
   1174 2008-09-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1175 
   1176 	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
   1177 	doing the filename/path construction.
   1178 
   1179 	* tools/tiff2pdf.c: More appropriate format string in
   1180 	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
   1181 
   1182 	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
   1183 
   1184 	http://bugzilla.maptools.org/show_bug.cgi?id=1929
   1185 
   1186 	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
   1187 	CVE-2008-2327 security issue.
   1188 
   1189 2008-09-01  Frank Warmerdam  <warmerdam (a] pobox.com>
   1190 
   1191 	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
   1192 
   1193 	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
   1194 	depending on whether the file is bigtiff or classic tiff.
   1195 	http://bugzilla.maptools.org/show_bug.cgi?id=1917
   1196 
   1197 2008-08-12  Edward Lam  <edward (a] sidefx.com>
   1198 
   1199 	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
   1200 	consistent (__int64) casting when testing if _lseeki64 has
   1201 	successfully seeked as requested.  This is necessary for large
   1202 	file support to work since off_t is only 32-bit.
   1203 
   1204 2008-07-29  Frank Warmerdam  <warmerdam (a] pobox.com>
   1205 
   1206 	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or 
   1207 	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
   1208 	with control logic to return runtime errors (c/o Even Rouault) (#1927).
   1209 
   1210 2008-06-17  Frank Warmerdam  <warmerdam (a] pobox.com>
   1211 
   1212 	* tools/tiffcrop.c: Fix some portability problems.
   1213 
   1214 	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
   1215 	used in tif_jpeg.c.
   1216 
   1217 	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
   1218 	as TIFFOpen().
   1219 
   1220 2008-06-01  Frank Warmerdam  <warmerdam (a] pobox.com>
   1221 
   1222 	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
   1223 	like Sparc/Solaris.
   1224 	http://bugzilla.maptools.org/show_bug.cgi?id=1892
   1225 
   1226 2008-05-27  Frank Warmerdam  <warmerdam (a] pobox.com>
   1227 
   1228 	* libtiff.def: Add TIFFFindField
   1229 	http://bugzilla.maptools.org/show_bug.cgi?id=1891
   1230 
   1231 2008-05-26  Frank Warmerdam  <warmerdam (a] pobox.com>
   1232 
   1233 	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
   1234 
   1235 	* li2008-04-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1236 
   1237 btiff/tif_win32.c: Replace custom Win32 memory api with generic
   1238 	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
   1239 	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
   1240 
   1241 	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
   1242 	in windows version (care of Edward Lam).
   1243 
   1244 2008-05-24  Frank Warmerdam  <warmerdam (a] pobox.com>
   1245 
   1246 	* tif_codec.c: Avoid NULL pointer dereferencing for exotic 
   1247 	compression codec codes.
   1248 
   1249 	* tif_dirwrite.c: fix potential memory leak.
   1250 
   1251 	* tif_dirread.c: Fix unchecked malloc result.
   1252  
   1253 2008-05-24  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1254 
   1255 	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
   1256 	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
   1257 	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
   1258 	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
   1259 	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
   1260 	suggestions from Lee Howard posted to the tiff list on 13 Sep
   1261 	2007.
   1262 
   1263 2008-05-23  Frank Warmerdam  <warmerdam (a] pobox.com>
   1264 
   1265 	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
   1266 	possible runtime problem reported by coverity.
   1267 
   1268 	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
   1269 
   1270 	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
   1271 	http://bugzilla.maptools.org/show_bug.cgi?id=1888
   1272 
   1273 	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
   1274 
   1275 	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
   1276 
   1277 	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
   1278 	Cleanup scanline allocation to avoid coverity warning.
   1279 
   1280 	* tools/thumbnail.c: Check for TIFFOpen() failure.
   1281 
   1282 2008-05-18  Frank Warmerdam  <warmerdam (a] pobox.com>
   1283 
   1284 	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
   1285 	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
   1286 	why this is needed. 
   1287 
   1288 2008-05-09  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1289 
   1290 	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
   1291 	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
   1292 
   1293 2008-04-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1294 
   1295 	* test/: Test suite updated. Everything is passed now.
   1296 
   1297 	* libtiff/tif_dirinfo.c: Fixed description of the
   1298 	TIFFTAG_NUMBEROFINKS tag.
   1299 
   1300 2008-04-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1301 
   1302 	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
   1303 	Get rid of some of "dereferencing type-punned" warnings by converting
   1304 	tdir_offset field of TIFFDirEntry structure into union.
   1305 
   1306 2008-04-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1307 
   1308 	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
   1309 	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
   1310 	from the public interface. Type of its 'count' parameter changed
   1311 	from uint32 to tmsize_t.
   1312 
   1313 	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
   1314 	of the tiff structure have the size_t type instead of uint32.
   1315 
   1316 2008-04-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1317 
   1318 	* tools/tiffdump.c: Added support for MSVS 6.0.
   1319 
   1320 	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
   1321 	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
   1322 	point values on MSVS 6.0 platform.
   1323 
   1324 2008-03-14  Frank Warmerdam  <warmerdam (a] pobox.com>
   1325 
   1326 	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
   1327 	TIFFReadDirEntryArray() since they are interfering with seemingly 
   1328 	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
   1329 
   1330 2008-02-09  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1331 
   1332 	* tif_dirread.c: Added handling for the case of number of values for 
   1333 	PageNumber tag different from 2 (previously resulted in an assert 
   1334 	indicating lack of handling and was forgotten about)
   1335 
   1336 2008-02-01  Frank Warmerdam  <warmerdam (a] pobox.com>
   1337 
   1338 	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 
   1339 	the actual jpeg data stream if the first strip/tile has zero size.
   1340 	This is the case when GDAL creates a new file with zero sizes, closes
   1341 	and reopens it.
   1342 
   1343 2008-01-07  Frank Warmerdam  <warmerdam (a] pobox.com>
   1344 
   1345 	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 
   1346 
   1347 2008-01-01  Frank Warmerdam  <warmerdam (a] pobox.com>
   1348 
   1349 	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
   1350 
   1351 	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
   1352 	targets.
   1353 
   1354 	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
   1355 	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 
   1356 	(x64). 
   1357 
   1358 	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 
   1359 	and TIFFFieldWithName() now return TIFFField pointers instead of
   1360 	TIFFFieldInfo pointers.
   1361 
   1362 	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 
   1363 	exist. This makes it compile again on Windows
   1364 
   1365 	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
   1366 	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
   1367 
   1368 	* test/rewrite_tag.c: New test for TIFFRewriteField().
   1369 
   1370 2007-12-31  Frank Warmerdam  <warmerdam (a] pobox.com>
   1371 
   1372 	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
   1373 	rewrites one field "on disk" updating an existing directory 
   1374 	entry.  Lots of limitations still...
   1375 
   1376 	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 
   1377 	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 
   1378 	the strip offset/size values are dirty but nothing else about the 
   1379 	directory is dirty.  In flush handle "just stripmaps dirty" as a
   1380 	special case that just rewrites these values without otherwise 
   1381 	modifying the directory on disk using TIFFRewriteField().  
   1382 
   1383 	We also modify logic so that in update mode the directory is not
   1384 	marked dirty on read, but only when something is changed.  This
   1385 	means we need to keep track of updates to the stripmap stuff in 
   1386 	TIFFAppendToStrip().
   1387 
   1388 2007-12-10  Frank Warmerdam  <warmerdam (a] pobox.com>
   1389 
   1390 	* tif_jpeg.c: Improve ability to switch between encoding and decoding
   1391 	in the jpeg code (gdal bug #2033).
   1392 
   1393 2007-11-23  Frank Warmerdam  <warmerdam (a] pobox.com>
   1394 
   1395 	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
   1396 	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 
   1397 	rawcp/rawcc buffer are for writing and thus may require flushing.
   1398 	Necessary to distinguish whether they need to be written to disk when
   1399 	in mixed read/write mode and doing a mixture of writing followed by
   1400 	reading.  http://trac.osgeo.org/gdal/ticket/1758
   1401 
   1402 2007-11-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1403 
   1404 	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
   1405 	from Alexey Chupahin.
   1406 
   1407 2007-11-02  Frank Warmerdam  <warmerdam (a] pobox.com>
   1408 
   1409 	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 
   1410 	establishing if an existing tile can be rewritten to the same location 
   1411 	by comparing the current size to all the other blocks in the same 
   1412 	directory.  This is dangerous in many situations and can easily 
   1413 	corrupt a file.  (observed in esoteric GDAL situation that's hard to
   1414 	document).  This change involves leaving the stripbytecount[] values 
   1415 	unaltered till TIFFAppendToStrip().  Now we only write a block back
   1416 	to the same location it used to be at if the new data is the same
   1417 	size or smaller - otherwise we move it to the end of file.
   1418 
   1419 	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
   1420 	data when writing the directory just because we have BEENWRITING at
   1421 	some point in the past.  This was causing odd junk to be written out
   1422 	in a tile of data when a single tile had an interleaving of reading 
   1423 	and writing with reading last.  (highlighted by gdal 
   1424 	autotest/gcore/tif_write.py test 7. 
   1425 
   1426 	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
   1427 	modifying callers buffer. 
   1428 	http://trac.osgeo.org/gdal/ticket/1965
   1429 
   1430 	* tif_predict.c/h: more fixes related to last item, keeping a 
   1431 	distinct pfunc for encode and decode cases as these were getting
   1432 	mixed up sometimes.
   1433 	http://trac.osgeo.org/gdal/ticket/1948
   1434 
   1435 2007-11-01  Frank Warmerdam  <warmerdam (a] pobox.com>
   1436 
   1437 	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 
   1438 	predictor based encoding and decoding works in read-write update
   1439 	mode properly. 
   1440 	http://trac.osgeo.org/gdal/ticket/1948
   1441 
   1442 2007-10-24  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1443 
   1444 	* tif_dirread.c: Fixed problem with bogus file triggering 
   1445 	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 
   1446 	ChopUpSingleUncompressedStrip
   1447 
   1448 2007-10-22  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1449 
   1450 	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
   1451 	at best, access violation at worst, when subsampled JPEG compressed imagery
   1452 	is decoded without the JPEG_COLORMODE feature
   1453 
   1454 2007-10-11  Frank Warmerdam  <warmerdam (a] pobox.com>
   1455 
   1456 	* html/index.html: Update "people responsible" section.
   1457 
   1458 2007-10-05  Frank Warmerdam  <warmerdam (a] pobox.com>
   1459 
   1460 	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
   1461 	as reported on the mailing list.
   1462 
   1463 2007-10-01  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1464 
   1465 	* changed some more incorrect %lud printf flags to %lu
   1466 
   1467 2007-09-29  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1468 
   1469 	* tif_dirread.c: Strip chopping interfered badly with uncompressed 
   1470 	subsampled images because it tried to divide subsampled rowblocks, 
   1471 	leading to all sorts of errors throughout the library for these 
   1472 	images. Fixed by making strip chopping divide in row counts that 
   1473 	are a multiple of vertical subsampling value.
   1474 
   1475 2007-09-28  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1476 
   1477 	* tif_dirread.c: Logical cast working around compiler warning
   1478 
   1479 	* tif_read.c: Correction of some error flags and parameter lists
   1480 
   1481 2007-09-27  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1482 
   1483 	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
   1484 	when dealing with large bitspersample values, shutting up purification
   1485 	tools that warn about truncation, though it remains incorrect and 
   1486 	indicates a conceptual problem there.
   1487 
   1488 	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading 
   1489 	of first IFD) to proper place because it badly interfered with memory 
   1490 	mapping, resulting in mapping flag even with dummy mapping functions 
   1491 	that returned 0 whilst at the same time the mapping tif_size wasn't 
   1492 	set, thus resulting in continuous incorrect beyond-eof errors.
   1493 
   1494 2007-09-24  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1495 
   1496 	* tif_dirinfo.c: Fixed (MSVC) compiler reports about 
   1497 	inconsistent use of const in tiffFields and exifFields definition
   1498 
   1499 2007-09-20  Frank Warmerdam  <warmerdam (a] pobox.com>
   1500 
   1501 	* tif_dirwrite.c: Always write tile/strip offsets and sizes
   1502 	using LONG8 type when output format is BigTIFF.  The
   1503 	TIFFWriteDirectoryTagLongLong8Array() function was restructured
   1504 	accordingly.
   1505 
   1506 	* tif_dirread.c: Improvements to error reporting text in 
   1507 	TIFFFetchDirectory().
   1508 
   1509 2007-09-19  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1510 
   1511 	* test/images: Added a small collection of test images for use by
   1512 	test programs and scripts.
   1513 	* test/tiffinfo.sh: A trivial example test script.
   1514 	* test/common.sh: Added small script for setting the environment
   1515 	used by script-based tests.
   1516 
   1517 2007-08-24  Frank Warmerdam  <warmerdam (a] pobox.com>
   1518 
   1519 	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
   1520 	zero when writing directory contents to preserve the ability to 
   1521 	rewrite directories in place, even in the middle of a directory
   1522 	chain.
   1523 
   1524 	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
   1525 	definitions that are missing.  Existing definitions are silently
   1526 	ignored. 
   1527 
   1528 	* tif_dirread.c: Add runtime error for fields for which no definition
   1529 	is found (in addition to an assert for developers) in 
   1530 	TIFFFetchNormalTag().  Not sure if this is needed, but it seems 
   1531 	prudent.
   1532 
   1533 2007-08-10  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1534 
   1535 	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 
   1536 	from _TIFFRGBAImage structure to revert unwanted ABI change.
   1537 
   1538 2007-08-10  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1539 
   1540 	* libtiff/tif_win32.c: use SetFilePointer instead of 
   1541 	SetFilePointerEx, as per bug
   1542 
   1543 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
   1544 
   1545 2007-07-19  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1546 
   1547 	* libtiff/tif_stream.cxx: Put all callback functions declarations
   1548 	inside extern "C" block.
   1549 
   1550 	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
   1551 	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
   1552 	formatter instead of "%lld" with MSVC compiler.
   1553 
   1554 	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
   1555 	_TIFFUInt64ToDouble() functions.
   1556 
   1557 2007-07-18  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1558 
   1559 	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
   1560 	integer constants.
   1561 
   1562 	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 
   1563 	remove tif_config.h/tiffconf.h during cleaning. As per bug
   1564 
   1565 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
   1566 
   1567 	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
   1568 
   1569 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
   1570 
   1571 2007-07-13  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1572 
   1573 	* libtiff 4.0.0alpha released.
   1574 
   1575 2007-07-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1576 
   1577 	* tools/tiff2pdf.c: Added missed extern optind as per bug
   1578 
   1579 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
   1580 
   1581 	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
   1582 	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
   1583 	extending scheme completed.
   1584 
   1585 2007-07-11  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1586 
   1587 	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
   1588 	use standard C++ library size types and attempt to detect overflow
   1589 	cases.
   1590 
   1591 2007-07-08  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1592 
   1593 	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
   1594 	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
   1595 	tag extending scheme. Use the new scheme everywhere.
   1596 
   1597 	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
   1598 	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
   1599 	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
   1600 	TIFFFIeldInfo structure replaced with TIFFField structure.
   1601 	TIFFFieldInfo retained for the backward compatibility.
   1602 
   1603 2007-07-05  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1604 
   1605 	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
   1606 	defined.
   1607 
   1608 2007-07-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1609 
   1610 	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
   1611 	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
   1612 	removed.
   1613 
   1614 	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
   1615 	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
   1616 	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
   1617 	These tags are not codec-specific and relate to image content, so
   1618 	process them as other normal tags.
   1619 
   1620 	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
   1621 	public tiffio.h to private tif_dir.h.
   1622 
   1623 	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
   1624 	outdated.
   1625 
   1626 2007-07-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1627 
   1628 	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
   1629 	tif_win3.c}: Obsoleted portability stuff removed.
   1630 
   1631 	* tools/tiff2ps.c:  Added support 16-bit images as per bug
   1632 	
   1633 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
   1634 
   1635 	Patch from William Bader.
   1636 
   1637 	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
   1638 	significant upgrade of the whole utility as per bug
   1639 	
   1640 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
   1641 
   1642 	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
   1643 	PDF file using TIFFClientOpen() machinery as it is implemented
   1644 	by Leon Bottou.
   1645 
   1646 2007-06-26  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1647 
   1648 	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
   1649 	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
   1650 	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
   1651 	allow returning -1 for errors.
   1652 	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
   1653 
   1654 2007-06-25  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1655 
   1656 	* port/strtoull.c: New porting function in case strtoull() is not
   1657 	available on the target system.	
   1658 	* configure.ac: Add configure support for determining sized types
   1659 	in a portable way and performing necessary substitutions in
   1660 	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
   1661 	definitions.
   1662 
   1663 2007-04-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1664 
   1665 	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
   1666 
   1667 	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
   1668 
   1669 2007-04-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1670 
   1671 	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
   1672 	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
   1673 	tif_predict.c, tif_zip.c}: Finally fix bug
   1674 	
   1675 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
   1676 
   1677 	by introducing _TIFFMergeFieldInfo() returning integer error status
   1678 	instead of void in case of problems with field merging (e.g., if the
   1679 	field with such a tag already registered). TIFFMergeFieldInfo() in
   1680 	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
   1681 	check returned value.
   1682 
   1683 2007-04-07  Frank Warmerdam  <warmerdam (a] pobox.com>
   1684 
   1685 	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 
   1686 	blocks in TIFF_DownSample_Subsampled() (bug 1542).
   1687 
   1688 2007-04-06  Frank Warmerdam  <warmerdam (a] pobox.com>
   1689 
   1690 	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
   1691 	will convert from decompressor to compressor or compress to decompress
   1692 	if required by the force arguments.  This works around a problem in
   1693 	where the JPEGFixupTestSubsampling() may cause a decompressor to 
   1694 	be setup on a directory when later a compressor is required with the
   1695 	force flag set.  Occurs with the addtiffo program for instance. 
   1696 
   1697 2007-04-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1698 
   1699 	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
   1700 	functionality from Richard Nolde. As per bug
   1701 	
   1702 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
   1703 
   1704 2007-03-28  Frank Warmerdam  <warmerdam (a] pobox.com>
   1705 
   1706 	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
   1707 
   1708 2007-03-17  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1709 
   1710 	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
   1711 
   1712 2007-03-07  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1713 	
   1714 	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
   1715 	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
   1716 	factor. This bug is mentioned in:
   1717 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
   1718 	http://www.asmail.be/msg0054766825.html 
   1719 
   1720 2007-03-07  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1721 	
   1722 	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
   1723 
   1724 	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
   1725 	unused arguments by standard C indication for the same
   1726 
   1727 2007-02-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1728 
   1729 	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
   1730 	counters in TIFFFetchData(). Should finally fix the issue
   1731 
   1732 	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
   1733 
   1734 2007-02-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1735 
   1736 	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
   1737 	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
   1738 
   1739 	* libtiff/tif_dirread.c: Added special function to handle
   1740 	SubjectDistance EXIF tag as per bug
   1741 
   1742 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
   1743 
   1744 	* tools/tiff2pdf.c: Do not assume inches when the resolution units
   1745 	do not specified. As per bug
   1746 
   1747 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
   1748 
   1749 	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
   1750 	it was set as infinite. As per bug
   1751 
   1752 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
   1753 
   1754 	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
   1755 	by Richard Nolde. As per bug
   1756 
   1757 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
   1758 
   1759 2007-02-22  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1760 
   1761 	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
   1762 	ExtraSamples == 999 produced by Corel Draw. As per bug
   1763 
   1764 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
   1765 
   1766 	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
   1767 	changed from tsize_t to uint32 to be able to work with data arrays
   1768 	larger than 2GB. Fixes bug
   1769 
   1770 	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
   1771 	
   1772 	Idea submitted by Matt Hancher.
   1773 
   1774 2007-01-31  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1775 
   1776 	* tools/tif2rgba.c: This utility does not work properly on big-endian
   1777 	architectures. It was fixed including the bug
   1778 	
   1779 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
   1780 
   1781 2007-01-15  Mateusz Loskot <mateusz (a] loskot.net>
   1782 
   1783 	* Submitted libtiff port for Windows CE platform
   1784 	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
   1785 	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
   1786 	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
   1787 	functons from tif_win32.c.
   1788 	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
   1789 	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
   1790 	standard header files for Windows CE build.
   1791 	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
   1792 
   1793 2006-11-19  Frank Warmerdam  <warmerdam (a] pobox.com>
   1794 
   1795 	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 
   1796 	we move a strip. 
   1797 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359	
   1798 
   1799 2006-10-13  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1800 
   1801 	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
   1802 	in Gentoo bug ():
   1803 	
   1804 	http://bugs.gentoo.org/show_bug.cgi?id=142383
   1805 
   1806 	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
   1807 	Though it is still far from the state of being working and useful.
   1808 
   1809 2006-10-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1810 
   1811 	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
   1812 	method.
   1813 
   1814 	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
   1815 	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
   1816 
   1817 	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
   1818 	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
   1819 
   1820 	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
   1821 	vulnerabilities, reported in Gentoo bug ():
   1822 
   1823 	http://bugs.gentoo.org/show_bug.cgi?id=142383
   1824 
   1825 2006-09-28  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1826 
   1827 	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
   1828 	vulnerabilities, as per	Gentoo bug ():
   1829 
   1830 	http://bugs.gentoo.org/show_bug.cgi?id=142383
   1831 
   1832 2006-09-27  Frank Warmerdam  <warmerdam (a] pobox.com>
   1833 
   1834 	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
   1835 	encoding and decoding on the same read-write TIFF handle.  The LZW
   1836 	code can now maintain encode and decode state at the same time. The
   1837 	ZIP code will switch back and forth as needed.  
   1838 	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
   1839 
   1840 2006-09-20  Frank Warmerdam  <warmerdam (a] pobox.com>
   1841 
   1842 	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 
   1843 	tif_config.vc.h for easier identification by folks using an IDE.
   1844 
   1845 2006-07-25  Frank Warmerdam  <warmerdam (a] pobox.com>
   1846 
   1847 	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
   1848 
   1849 2006-07-19  Frank Warmerdam  <warmerdam (a] pobox.com>
   1850 
   1851 	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
   1852 	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
   1853 	to bug report by Peng Gao with black strip at bottom of images.
   1854 
   1855 2006-07-12  Frank Warmerdam  <warmerdam (a] pobox.com>
   1856 
   1857 	* tif_dirwrite.c: make sure to use uint32 for wordcount in 
   1858 	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
   1859 	It already seems to have been done for other field types.  Needed
   1860 	for "tiffset" on files with geotiff ascii text.
   1861 
   1862 2006-07-04  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1863 
   1864 	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
   1865 	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
   1866 	its use does not appear to be required, so use it only when it is
   1867 	available.
   1868 
   1869 2006-06-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1870 
   1871 	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
   1872 
   1873 	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
   1874 	function TIFFFetchDirectory() avoiding code duplication in
   1875 	TIFFReadDirectory() and TIFFReadCustomDirectory().
   1876 
   1877 2006-06-19  Frank Warmerdam  <warmerdam (a] pobox.com>
   1878 
   1879 	* tools/tiff2pdf.c: Fix handling of -q values.
   1880 	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
   1881 
   1882 2006-06-17  Frank Warmerdam  <warmerdam (a] pobox.com>
   1883 
   1884 	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
   1885 	files.  Modified TIFFReadDirectory() to not invoke 
   1886 	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
   1887 	but one of them is zero. 
   1888 	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
   1889 
   1890 2006-06-08  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1891 
   1892 	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
   1893 	checking code in the separate function TIFFCheckDirOffset().
   1894 
   1895 	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
   1896 
   1897 	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
   1898 
   1899 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
   1900 
   1901 	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
   1902 
   1903 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
   1904 
   1905 	* tools/tiff2pdf.c: Fixed buffer overflow condition in
   1906 	t2p_write_pdf_string() as per bug
   1907 
   1908 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
   1909 
   1910 2006-06-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1911 
   1912 	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
   1913 	support for JBIG compression scheme (34661 code) contributed by Lee
   1914 	Howard. As per bug
   1915 	
   1916 	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
   1917 
   1918 	* configure, configure.ac: OJPEG support enabled by default.
   1919 
   1920 	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
   1921 
   1922 2006-06-03  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   1923 
   1924 	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
   1925 	TIFFPrintDirectory().  Joris Van Damme authored the fix.
   1926 
   1927 2006-04-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1928 
   1929 	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
   1930 	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
   1931 
   1932 	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
   1933 	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
   1934 	Added support for OpenVMS by Alexey Chupahin, elvis_75 (a] mail.ru.
   1935 
   1936 2006-04-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   1937 
   1938 	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
   1939 	Properly set the binary mode for stdin stream as per bug
   1940 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
   1941 
   1942 	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
   1943 	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
   1944 	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
   1945 	tiffset.1}: Improvements in page formatting as per bug
   1946 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
   1947 
   1948 	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
   1949 	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
   1950 
   1951 2006-04-18  Frank Warmerdam  <warmerdam (a] pobox.com>
   1952 
   1953 	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
   1954 	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 
   1955 
   1956 2006-04-12  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1957 
   1958 	* libtiff/tif_getimage.c: Added support for planarconfig separate
   1959 	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
   1960 
   1961 2006-04-11  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1962 	
   1963 	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
   1964 	- Conversion of unassociated alpha to associated alpha now done with
   1965 	  more performant LUT, and calculation more correct
   1966 	- Conversion of 16bit data to 8bit data now done with
   1967 	  more performant LUT, and calculation more correct
   1968 	- Bugfix of handling of 16bit RGB with unassociated alpha
   1969 
   1970 2006-04-11  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1971 	
   1972 	* libtiff/tif_getimage.c: 
   1973 	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated 
   1974 	  buffer for alpha strile and filled it, only to never read it back. 
   1975 	  Removed allocation and fill.
   1976 	- Minor rename of vars in gtTileSeparate and gtStripSeparate 
   1977 	  anticipating planned functionality extension
   1978 
   1979 2006-04-08  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1980 
   1981 	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 
   1982 	and pickTileSeparateCase to PickSeparateCase as both work on strips as 
   1983 	well
   1984 
   1985 	* libtiff/tif_getimage.c: moved img->get selection from 
   1986 	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
   1987 	logical hook for planned functionality extension
   1988 
   1989 2006-04-08  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1990 
   1991 	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
   1992 	of inappropriate use of jpeg_abort instead of jpeg_destroy
   1993 
   1994 2006-04-07  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   1995 
   1996 	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 
   1997 	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
   1998 	on subsampled images - this ought to get sorted when we feel brave 
   1999 	enough to replace TIFFScanlineSize alltogether
   2000 
   2001 	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
   2002 
   2003 2006-04-04  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2004 
   2005 	* libtiff/tiffio.h: added new type tstrile_t
   2006 
   2007 	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 
   2008 	to new tstrile_t, types of td_stripoffset and td_stripbytecount to 
   2009 	toff_t*
   2010 
   2011 	* libtiff/tif_ojpeg.c: totally new implementation
   2012 
   2013 	* libtiff/tif_dirread.c: added several hacks to suit new support of 
   2014 	OJPEG
   2015 
   2016 	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
   2017 	of OJPEG images in favor of tif_getimage.c native handling of
   2018 	YCbCr and desubsampling
   2019 
   2020 2006-03-29  Frank Warmerdam  <warmerdam (a] pobox.com>
   2021 
   2022 	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
   2023 	interpretation causes the "upsampled" flag to be recomputed.  Fixes
   2024 	peculiar bug where photometric flag had to be set before jpegcolormode
   2025 	flag.
   2026 
   2027 2006-03-25  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2028 
   2029 	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
   2030 
   2031 	* libtiff/tif_strip.c: temporarilly added two new versions of
   2032 	TIFFScanlineSize
   2033 	  - TIFFNewScanlineSize: proposed new version, after all related
   2034 	    issues and side-effects are sorted out
   2035 	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
   2036 	This needs further sorting out.
   2037 
   2038 2006-03-25  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2039 
   2040 	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
   2041 	of last truncated strip data to TIFFWriteEncodedStrip
   2042 
   2043 2006-03-25  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2044 
   2045 	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
   2046 
   2047 2006-03-25  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2048 
   2049 	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
   2050 
   2051 	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
   2052 
   2053 	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 
   2054 	prepare	the path for new tif_ojpeg.c
   2055 
   2056 2006-03-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2057 
   2058 	* libtiff 3.8.2 released.
   2059 
   2060 	* tools/Makefile.am: Use runtime paths linker flags when rpath
   2061 	option enabled.
   2062 
   2063 2006-03-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2064 
   2065 	* libtiff/libtiff.def: Added missed exports as per bug
   2066 	http://bugzilla.remotesensing.org/attachment.cgi?id=337
   2067 
   2068 	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
   2069 	tools/Makefile.vc: Makefiles improvements as per bug
   2070 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
   2071 
   2072 	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
   2073 	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
   2074 	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
   2075 
   2076 	* libtiff/tif_strip.c: Take subsampling in account when calculating
   2077 	TIFFScanlineSize().
   2078 
   2079 	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
   2080 
   2081 2006-03-17  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2082 
   2083 	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
   2084 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
   2085 
   2086 	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
   2087 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
   2088 
   2089 2006-03-16  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2090 
   2091 	* libtiff/tiffiop.h: Added decalration for
   2092 	_TIFFSetDefaultCompressionState().
   2093 
   2094 	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
   2095 	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
   2096 	codec cleanup methods. As per bug
   2097 
   2098 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
   2099 
   2100 2006-03-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2101 
   2102 	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
   2103 	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
   2104 
   2105 	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
   2106 	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
   2107 
   2108 	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
   2109 	removed; move here the STRIP_SIZE_DEFAULT macro definition.
   2110 
   2111 	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
   2112 	macro definition.
   2113 
   2114 	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
   2115 
   2116 2006-03-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2117 
   2118 	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
   2119 	in TIFFReadDirectory, because it is always set at the start of
   2120 	function and we allow TIFFs without that tag set.
   2121 
   2122 2005-03-13  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2123 
   2124 	* libtiff 3.8.1 released.
   2125 
   2126 2006-03-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2127 
   2128 	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
   2129 	function as per bug
   2130 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
   2131 
   2132 	* libtiff/tif_dirread.c: More wise check for integer overflow
   2133 	condition as per bug
   2134 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
   2135 
   2136 	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
   2137 	Properly restore setfield/getfield methods in cleanup functions. As
   2138 	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
   2139 
   2140 2006-03-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2141 
   2142 	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
   2143 	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
   2144 
   2145 	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
   2146 	TIFFPredictorCleanup() in codec cleanup methods. As per bug
   2147 
   2148 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
   2149 
   2150 	* libtiff/tif_dirread.c: Fixed integer overflow condition in
   2151 	TIFFFetchData() function. As per bug
   2152 
   2153 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
   2154 
   2155 2006-03-01  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2156 
   2157 	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
   2158 	TIFFSetField() method, not directly. As per bug
   2159 
   2160 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
   2161 
   2162 	* tools/ppm2tiff.c: Added support for PBM files as per bug
   2163 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
   2164 
   2165 2006-02-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2166 
   2167 	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
   2168 	to avoid crash as per bug
   2169 	
   2170 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
   2171 
   2172 2006-02-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2173 
   2174 	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
   2175 	t2p_sample_rgba_to_rgb() was used in place of each other, that was
   2176 	resulted in problems with RGBA images with associated alpha.
   2177 	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
   2178 
   2179 2006-02-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2180 
   2181 	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
   2182 	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
   2183 
   2184 	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
   2185 	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
   2186 	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
   2187 
   2188 	* tools/tiff2ps.c: Properly scale all the pages when converting
   2189 	multipage TIFF with /width/height/center options set. As per bug
   2190 
   2191 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
   2192 
   2193 2006-02-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2194 
   2195 	* tools/tiff2pdf.c: Do not create output file until all option checks
   2196 	will be done. As per bug
   2197 
   2198 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
   2199 
   2200 	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
   2201 	list of input files as per bug:
   2202 
   2203 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
   2204 
   2205 2006-02-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2206 
   2207 	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
   2208 	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
   2209 
   2210 	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
   2211 	TIFFRGBAImage interface.
   2212 
   2213 	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
   2214 	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
   2215 
   2216 2006-02-07  Frank Warmerdam  <warmerdam (a] pobox.com>
   2217 
   2218 	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
   2219 	compressed TIFF files, per submission from Dan Cobra. 
   2220 
   2221 2006-02-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2222 
   2223 	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
   2224 	cast values to avoid warnings. As per bug
   2225 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
   2226 
   2227 	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
   2228 	appropriate. As per bug
   2229 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
   2230 
   2231 	* libtiff/tif_aux.c: Fixed type of temporary variable in
   2232 	_TIFFCheckMalloc() as per bug
   2233 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
   2234 
   2235 2006-02-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2236 
   2237 	* libtiff/tif_aux.c: Return static array when fetching default
   2238 	YCbCrCoefficients (another problem, reported a the
   2239 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
   2240 
   2241 2006-02-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2242 
   2243 	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
   2244 	YCbCrSubsampling and DotRange tags as per bugs
   2245 
   2246 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
   2247 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
   2248 
   2249 	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
   2250 	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
   2251 	
   2252 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
   2253 
   2254 2006-01-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2255 
   2256 	* libtool related stuff updated from the 2.1a branch.
   2257 
   2258 2006-01-11  Frank Warmerdam  <warmerdam (a] pobox.com>
   2259 
   2260 	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
   2261 	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
   2262 	properly as per bug:
   2263 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
   2264 
   2265 2006-01-09  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2266 
   2267 	* configure.ac: Fix with_default_strip_size comparison as reported
   2268 	by Norihiko Murase.
   2269 
   2270 2006-01-08  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2271 
   2272 	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
   2273 	incorrectly, tests were not actually testing the uninstalled
   2274 	libtiff.  Now they are.
   2275 
   2276 2006-01-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2277 
   2278 	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
   2279 	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
   2280 	should be uint32 value.
   2281 
   2282 2006-01-02  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2283 
   2284 	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
   2285 	be used if build directory is not the same as source directory.
   2286 	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
   2287 	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
   2288 	and re-sorted tag names in alphabetical order.
   2289 
   2290 2005-12-29  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2291 
   2292 	* libtiff 3.8.0 released.
   2293 
   2294 2005-12-28  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2295 
   2296 	* tools/bmp2tiff.c (main): Fixed warning regarding returning
   2297 	inconsistent types from a condition.
   2298 	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
   2299 	format.
   2300 	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
   2301 
   2302 2005-12-28  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2303 
   2304 	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
   2305 
   2306 2005-12-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2307 
   2308 	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
   2309 	windows.h, to reduce the compile time.
   2310 
   2311 2005-12-26  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2312 
   2313 	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
   2314 
   2315 2005-12-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2316 
   2317 	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 
   2318 	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
   2319 	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
   2320 	private functions to retrieve FieldInfo arrays.
   2321 
   2322 2005-12-24  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2323 
   2324 	* html/build.html: Added some additional instructions for when
   2325 	building using MSVC under Windows.  Also fixed two HTML syntax
   2326 	errors and used HTML Tidy to tidy up the HTML syntax and
   2327 	formatting.
   2328 
   2329 2005-12-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2330 
   2331 	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
   2332 	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
   2333 	StoNits tags custom.
   2334 
   2335 2005-12-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2336 
   2337 	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
   2338 	WhitePoint tag custom.
   2339 
   2340 	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
   2341 
   2342 2005-12-23  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2343 
   2344 	* libtiff/tiffio.h: fixed typo that potentially resulted in 
   2345 	redefininition of USE_WIN32_FILEIO
   2346 
   2347 	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 
   2348 	calls in core LibTiff.
   2349 
   2350 2005-12-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2351 
   2352 	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
   2353 	Photoshop and ICCProfile tags custom.
   2354 
   2355 2005-12-21  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2356 
   2357 	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 
   2358 	newer code to get context indicator in error handler and still
   2359 	remain compatible with older code: Done TIFFError calls everywhere 
   2360 	except in tools   
   2361 
   2362 2005-12-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2363 
   2364 	* tools/tiffcp.c: Added many error reporting messages; fixed integer
   2365 	overflow as per bug
   2366 
   2367 	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
   2368 
   2369 2005-12-16  Frank Warmerdam  <warmerdam (a] pobox.com>
   2370 
   2371 	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
   2372 	YCbCr images in jpeg compressed TIFF files.
   2373 
   2374 2005-12-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2375 
   2376 	* tools/tiffcp.c: Return non-zero status when reading fails (again).
   2377 
   2378 2005-12-13  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2379 
   2380 	* tools/tiffcp.c: Return non-zero status when reading fails.
   2381 
   2382 2005-12-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2383 
   2384 	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
   2385 
   2386 2005-12-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2387 
   2388 	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
   2389 	custom.
   2390 
   2391 	* tools/tiffinfo.c: Print EXIF directory contents if exist.
   2392 
   2393 	* libtiff/tiff.h: Few EXIF tag numbers added.
   2394 
   2395 	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
   2396 	tiffio.h}: Preliminary support to read custom directories. New
   2397 	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
   2398 
   2399 2005-12-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2400 
   2401 	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
   2402 	More work to implement custom directory read support.
   2403 
   2404 	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
   2405 	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
   2406 	tags custom.
   2407 
   2408 2005-12-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2409 
   2410 	* libtiff/tif_dirread.c: One more workaround for broken
   2411 	StripByteCounts tag. Handle the case when StripByteCounts array filled
   2412 	with completely wrong values.
   2413 
   2414 2005-11-30  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2415 
   2416 	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
   2417 	in the TIFFOpenW() function as per bug
   2418 
   2419 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
   2420 
   2421 	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
   2422 	functions as per bug
   2423 
   2424 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
   2425 
   2426 2005-11-20  Frank Warmerdam  <warmerdam (a] pobox.com>
   2427 
   2428 	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
   2429 	for MS MDI format.
   2430 	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
   2431 
   2432 	* .cvsignore: many files added, and a few update according
   2433 	to suggestion of Brad HArds on tiff mailing list. 
   2434 
   2435 2005-11-03  Frank Warmerdam  <warmerdam (a] pobox.com>
   2436 
   2437 	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
   2438 	public.
   2439 
   2440 2005-10-31  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2441 
   2442 	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
   2443 	as per bug
   2444 
   2445 	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
   2446 
   2447 	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
   2448 	as per bug
   2449 
   2450 	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
   2451 
   2452 	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
   2453 	problem as per bug
   2454 
   2455 	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
   2456 
   2457 	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
   2458 	
   2459 	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
   2460 
   2461 	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
   2462 	ResolutionUnit tags modifiable during write process. As per bug
   2463 
   2464 	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
   2465 
   2466 	* tools/tiffsplit.c: Copy fax related fields over splitted parts
   2467 	as per bug
   2468 	
   2469 	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
   2470 
   2471 2005-10-21  Frank Warmerdam  <warmerdam (a] pobox.com>
   2472 
   2473 	* tif_dirread.c: Don't try and split single strips into "0" strips
   2474 	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
   2475 	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
   2476 
   2477 2005-10-20  Joris Van Damme  <joris.at.lebbeke (a] skynet.be>
   2478 
   2479 	* tif_fax3.c: changed 'at scanline ...' style warning/errors
   2480 	with incorrect use of tif_row, to 'at line ... of
   2481 	strip/tile ...' style
   2482 
   2483 2005-10-15  Frank Warmerdam  <warmerdam (a] pobox.com>
   2484 
   2485 	* tif_write.c: fixed setting of planarconfig as per bug report
   2486 	on the mailing list from Joris.
   2487 
   2488 2005-10-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2489 
   2490 	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
   2491 	tif_dirread.c}: Make the default strip size configurable via the
   2492 	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
   2493 
   2494 2005-09-30  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2495 
   2496 	* html/support.html: Fixed link to documentation on Greg Ward's
   2497 	LogLuv TIFF format.
   2498 
   2499 2005-09-28  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2500 
   2501 	* tools/tiffdump.c: Fixed crash when reading malformed tags.
   2502 
   2503 2005-09-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2504 
   2505 	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
   2506 	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
   2507 
   2508 2005-09-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2509 
   2510 	* libtiff 3.7.4 released.
   2511 
   2512 	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
   2513 	from Patrick Welche (all scripts moved in the 'config' and 'm4'
   2514 	directories).
   2515 
   2516 2005-09-12  Frank Warmerdam  <warmerdam (a] pobox.com>
   2517 
   2518 	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
   2519 
   2520 2005-09-05  Frank Warmerdam  <warmerdam (a] pobox.com>
   2521 
   2522 	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
   2523 	also set it to NULL to avoid double free when re-setting custom
   2524 	string fields as per: 
   2525 
   2526 	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
   2527 
   2528 2005-08-12  Frank Warmerdam  <warmerdam (a] pobox.com>
   2529 
   2530 	* libtiff/tif_print.c: avoid signed/unsigned warning.
   2531 
   2532 	* libtiff/tif_dirread.c: removed unused variable.
   2533 
   2534 2005-07-30  Frank Warmerdam  <warmerdam (a] pobox.com>
   2535 
   2536 	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
   2537 	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
   2538 	pass on bigendian (macosx) system.
   2539 
   2540 2005-07-28  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2541 
   2542 	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
   2543 	CheckMalloc() function to _TIFFCheckMalloc() and make it available
   2544 	globally as an internal helper routine.
   2545 
   2546 2005-07-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2547 
   2548 	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
   2549 	the custom tags handling code.
   2550 
   2551 2005-07-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2552 
   2553 	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
   2554 	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
   2555 	function, use TIFFFetchNormalTag() instead as per bug
   2556 
   2557 	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
   2558 
   2559 	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
   2560 	instead. 
   2561 
   2562 	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
   2563 
   2564 	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
   2565 
   2566 2005-07-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2567 
   2568 	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
   2569 
   2570 	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
   2571 
   2572 2005-07-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2573 
   2574 	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
   2575 	the TIFFWriteCheck() function in case of single band images (as per
   2576 	TIFF spec).
   2577 
   2578 2005-07-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2579 
   2580 	* SConstruct, libtiff/SConstruct: Added the first very preliminary
   2581 	support for SCons software building tool (http://www.scons.org/).
   2582 	This is experimental infrastructure and it will exist along with the
   2583 	autotools mechanics.
   2584 
   2585 2005-07-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2586 
   2587 	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
   2588 	the NetBSD source tree (the old	4-clause BSD license changed to
   2589 	the new 3-clause one).
   2590 
   2591 	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
   2592 	replacement module.
   2593 
   2594 	* port/dummy.c: Make the dummy function static.
   2595 
   2596 2005-07-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2597 
   2598 	* tools/tiffcp.c: Fixed WhitePoint tag copying.
   2599 
   2600 	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
   2601 	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
   2602 	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
   2603 
   2604 2005-07-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2605 
   2606 	* libtiff 3.7.3 released.
   2607 
   2608 	* configure, configure.ac: Do not use empty -R option when linking
   2609 	with --enable-rpath.
   2610 
   2611 2005-07-01  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2612 
   2613 	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
   2614 	reading the first IFD when needed. As per bug
   2615 
   2616 	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
   2617 
   2618 	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
   2619 	effects.
   2620 
   2621 2005-06-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2622 
   2623 	* tools/tiff2pdf.c: Print two characters per loop in the
   2624 	t2p_write_pdf_trailer(). As per bug
   2625 
   2626 	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
   2627 
   2628 	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
   2629 	per bug
   2630 
   2631 	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
   2632 
   2633 	* acinclude.m4: Updated to latest OpenGL test macros versions.
   2634 
   2635 	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
   2636 	platform. As per bug
   2637 
   2638 	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
   2639 
   2640 2005-06-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2641 
   2642 	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
   2643 	and YClipPathUnits tags.
   2644 
   2645 2005-06-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2646 
   2647 	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
   2648 	use pixel sized shift in contigous case.
   2649 
   2650 2005-06-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2651 
   2652 	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
   2653 	Make overviews working for contiguos images.
   2654 
   2655 2005-06-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2656 
   2657 	* libtiff/tif_open.c: Replace runtime endianess check with the compile
   2658 	time one.
   2659 
   2660 	* libtiff/tif_predict.c: Floating point predictor now works on
   2661 	big-endian hosts.
   2662 
   2663 2005-06-01  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2664 
   2665 	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
   2666 	ASCII values.
   2667 
   2668 	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
   2669 	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
   2670 	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
   2671 	TargetPrinter tags custom.
   2672 
   2673 	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
   2674 	TIFF_CODERSETUP flag (to fix memry leaks).
   2675 
   2676 	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
   2677 	allocating.
   2678 
   2679 2005-05-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2680 
   2681 	* configure.ac, libtiff/Makefile.am: Added workaround for
   2682 	OpenBSD/MirOS soname problem as per bug
   2683 
   2684 	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
   2685 
   2686 	* libtiff/tif_dirwrite.c: Use tdir_count when calling
   2687 	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
   2688 	per bug
   2689 
   2690 	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
   2691 
   2692 2005-05-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2693 
   2694 	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
   2695 	the fscanf() function. As per bug
   2696 
   2697 	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
   2698 
   2699 	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
   2700 	uint16 array when fetching the BYTE and SBYTE filds, so we should
   2701 	consider result as pointer to uint16 array and not as array of chars.
   2702 	As per bug
   2703 
   2704 	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
   2705 
   2706 	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
   2707 
   2708 	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
   2709 
   2710 	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
   2711 	mode in CreateFile() call as per bug
   2712 
   2713 	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
   2714 
   2715 	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
   2716 	libtiffxx libraries as per bug
   2717 
   2718 	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
   2719 
   2720 	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
   2721 	GDAL.
   2722 
   2723 2005-05-23  Frank Warmerdam  <warmerdam (a] pobox.com>
   2724 
   2725 	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
   2726 	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
   2727 	in directory.
   2728 
   2729 2005-05-22  Frank Warmerdam  <warmerdam (a] pobox.com>
   2730 
   2731 	* libtiff/tif_dirread.c: Changed the code that computes 
   2732 	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
   2733 	zero. This is a common case with GDAL indicating a "null" tile/strip.
   2734 
   2735 2005-05-17  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2736 
   2737 	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
   2738 
   2739 2005-05-06  Frank Warmerdam  <warmerdam (a] pobox.com>
   2740 
   2741 	* libtiff/tif_dirread.c: Applied similar change to 
   2742 	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 
   2743 
   2744 	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
   2745 
   2746 	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
   2747 
   2748 2005-05-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2749 	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
   2750 	added new option '-b' to use interpolation in output PDF files (Bruno
   2751 	Ledoux).
   2752 
   2753 2005-05-05  Frank Warmerdam  <warmerdam (a] pobox.com>
   2754 
   2755 	* libtiff/tif_dirread.c: Ensure that broken files with too many
   2756 	values in PerSampleShorts work ok instead of crashing.
   2757 
   2758 	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
   2759 
   2760 2005-04-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2761 
   2762 	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
   2763 	input file.
   2764 
   2765 2005-04-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2766 
   2767 	* libtiff/tif_predict.c: Added ability to encode floating point
   2768 	predictor, as per TIFF Technical Note 3.
   2769 
   2770 2005-04-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2771 
   2772 	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
   2773 	floating point predictor, as per TIFF Technical Note 3.
   2774 
   2775 2005-04-13  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2776 
   2777 	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
   2778 	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
   2779 	swap 24-bit floating point values.
   2780 
   2781 	* libtiff/tiff.h: Added predictor constants.
   2782 
   2783 2005-04-08  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2784 
   2785 	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
   2786 	values in _TIFFVSetField() function. Inspired by the bug
   2787 
   2788 	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
   2789 
   2790 	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
   2791 	as per bug
   2792 	
   2793 	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
   2794 
   2795 2005-03-30  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2796 
   2797 	* libtiff/tif_open.c: Do not read header in case the output file
   2798 	should be truncated (Ron).
   2799 
   2800 	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
   2801 	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
   2802 
   2803 	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
   2804 
   2805 2005-03-22  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2806 
   2807 	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
   2808 	rpath option.
   2809 
   2810 2005-03-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2811 
   2812 	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
   2813 	tags.
   2814 
   2815 2005-03-18  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2816 
   2817 	* libtiff/dirinfo.c: Added DNG tags.
   2818 
   2819 	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
   2820 	handling code.
   2821 
   2822 	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
   2823 	added DNG 1.1.0.0 tags.
   2824 
   2825 	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
   2826 	bug
   2827 
   2828 	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
   2829 
   2830 	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
   2831 
   2832 2005-03-17  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2833 
   2834 	* nmake.opt: Build with Win32 CRT library by default.
   2835 
   2836 	* tools/tiff2ps.c: Fixed typo in page size handling code.
   2837 
   2838 	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
   2839 	by value.
   2840 
   2841 	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
   2842 
   2843 2005-03-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2844 
   2845 	* libtiff 3.7.2 released.
   2846 
   2847 2005-03-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2848 
   2849 	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
   2850 	floating point data; complain on unsupported bit depths.
   2851 
   2852 2005-03-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2853 
   2854 	* tif_stream.cxx: Use ios namespace instead of ios_base to support
   2855 	GCC 2.95.
   2856 
   2857 	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
   2858 	Lee Howard for HylaFax DCS tag
   2859 	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
   2860 
   2861 2005-03-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2862 
   2863 	* configure, configure.ac: Use -rpath option instead of -R as per bug
   2864 
   2865 	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
   2866 
   2867 	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
   2868 	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
   2869 	software. As per bug
   2870 
   2871 	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
   2872 
   2873 	* nmake.opt, html/build.html: Add more comments, change the config
   2874 	file organization a bit as per bug
   2875 
   2876 	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
   2877 
   2878 	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
   2879 	as per bug
   2880 
   2881 	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
   2882 
   2883 2005-03-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2884 
   2885 	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
   2886 	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
   2887 
   2888 	* tools/fax2ps.c: Replace insecure mktemp() function with the
   2889 	tmpfile() as per bug
   2890 
   2891 	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
   2892 
   2893 2005-02-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2894 
   2895 	* libtiff/tiff.h: Changed the int8 definition to be always signed char
   2896 	as per bug
   2897 
   2898 	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
   2899 
   2900 	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
   2901 	block as per bug
   2902 	
   2903 	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
   2904 
   2905 2005-02-03  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2906 
   2907 	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
   2908 	display more correctly.  Images display brighter than they should
   2909 	on a Sun workstation.
   2910 
   2911 2005-02-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2912 
   2913 	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
   2914 	suspicious values in the tags. As per bugs
   2915 
   2916 	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
   2917 
   2918 	and
   2919 
   2920 	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
   2921 
   2922 	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
   2923 	
   2924 	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
   2925 
   2926 2005-01-31  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   2927 
   2928 	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
   2929 	(TIFFTAG_TILELENGTH): Corrected description.
   2930 
   2931 2005-01-30  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2932 
   2933 	* configure.ac: Fixes for --with-docdir option as per bug
   2934 
   2935 	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
   2936 
   2937 	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
   2938 	bug
   2939 
   2940 	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
   2941 
   2942 	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
   2943 	Michael Rinne and Edward Lam.
   2944 
   2945 2005-01-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2946 
   2947 	* configure.ac: Make the documentation directory location configurable
   2948 	via the --with-docdir option (as suggested by Jeremy C. Reed).
   2949 
   2950 	* libtiff/tif_color.c: Use double as the second argument of pow()
   2951 	function in TIFFCIELabToRGBInit(). As per bug
   2952 
   2953 	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
   2954 
   2955 	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
   2956 	integer as per bug
   2957 
   2958 	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
   2959 
   2960 	* libtiff/tif_getimage.c: Always fill the error message buffer in
   2961 	TIFFRGBAImageBegin() as per bug
   2962 
   2963 	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
   2964 	
   2965 2005-01-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2966 
   2967 	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
   2968 	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
   2969 	tags as per bug
   2970 
   2971 	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
   2972 
   2973 	* libtiff/tif_win32.c: Fixed message formatting in functions
   2974 	Win32WarningHandler() and Win32ErrorHandler() as per bug
   2975 
   2976 	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
   2977 
   2978 	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
   2979 	per bug
   2980 
   2981 	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
   2982 
   2983 2005-01-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   2984 
   2985 	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
   2986 	"C"' section as per bug
   2987 
   2988 	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
   2989 
   2990 	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
   2991 	compiler to avoid double definition of BSD types as per bug
   2992 
   2993 	http://bugzilla.remotesensing.org/show_bug.cgi?id=39	
   2994 
   2995 	* libtiff/Makefile.am: Place the C++ stream API in the separate
   2996 	library called libtiffxx to avoid unneeded dependencies. Probably
   2997 	there will be more C++ API in the future. As per bugs
   2998 
   2999 	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
   3000 
   3001 	and
   3002 
   3003 	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
   3004 
   3005 2005-01-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3006 
   3007 	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
   3008 	wrong tag counts (Dmitry V. Levin, Martin Pitt).
   3009 
   3010 	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
   3011 	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
   3012 
   3013 2004-12-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3014 
   3015 	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
   3016 	RGB-images as per bug
   3017 	
   3018 	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
   3019 
   3020 
   3021 	* tools/tiffset.c: Convert character option to integer value as per
   3022 	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
   3023 
   3024 2004-12-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3025 
   3026 	* libtiff 3.7.1 released.
   3027 
   3028 	* html/tiffset.1.html: Add missed manual page as per bug
   3029 
   3030 	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
   3031 
   3032 	* libtiff/tiff.h: Revert back libtiff data type definitions as per
   3033 	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
   3034 
   3035 2004-12-19  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3036 
   3037 	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
   3038 	checking for tag count in TIFFReadDirectory() function. As per bug
   3039 
   3040 	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
   3041 
   3042 	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
   3043 	CheckMallock() function.
   3044 
   3045 	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
   3046 	RGB-images as per bug
   3047 
   3048 	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
   3049 
   3050 2004-12-15  Frank Warmerdam  <warmerdam (a] pobox.com>
   3051 
   3052 	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
   3053 	SunPro compiler. 
   3054 
   3055 2004-12-11  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3056 
   3057 	* autogen.sh: aclocal and autoheader should be executed after
   3058 	libtoolize.  Also add '-I .' to aclocal invocation to check
   3059 	current directory for macros.
   3060 
   3061 2004-12-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3062 
   3063 	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
   3064 	as per bugs
   3065 	
   3066 	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
   3067 
   3068 	and
   3069 
   3070 	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
   3071 
   3072 2004-12-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3073 
   3074 	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
   3075 
   3076 	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
   3077 
   3078 	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
   3079 	mode as per bug
   3080 
   3081 	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
   3082 
   3083 	* libtiff/tif_config.in.vc: Removed unneded definitions for
   3084 	read/open/close/lseek functions to fix the
   3085 	
   3086 	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
   3087 	
   3088 2004-12-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3089 
   3090 	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
   3091 	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
   3092 	must be removed in the future, as it was never used properly. As per
   3093 	bug
   3094 
   3095 	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
   3096 
   3097 2004-11-30  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3098 
   3099 	* libtiff/tif_jpeg.c: Added a work-around in order to allow
   3100 	compilation with the heavily modified version of libjpeg delivered
   3101 	with Cygwin.
   3102 
   3103 2004-11-29  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3104 
   3105 	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
   3106 	counts. As per bug
   3107 
   3108 	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
   3109 
   3110 	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
   3111 
   3112 	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
   3113 
   3114 2004-11-28  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3115 
   3116 	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
   3117 	on Windows.
   3118 
   3119 	* nmake.opt: Add missed DLLNAME variable.
   3120 
   3121 2004-11-26  Frank Warmerdam  <warmerdam (a] pobox.com>
   3122 
   3123 	* libtiff/makefile.vc: make it easier to rename the libtiff DLL. 
   3124 
   3125 2004-11-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3126 
   3127 	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
   3128 	per bug
   3129 
   3130 	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
   3131 
   3132 	* man/tiffset.1: Added manual page for tiffset tool written by Jay
   3133 	Berkenbilt. As per bug
   3134 
   3135 	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
   3136 
   3137 2004-11-23  Frank Warmerdam  <warmerdam (a] pobox.com>
   3138 
   3139 	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
   3140 
   3141 2004-11-21  Frank Warmerdam  <warmerdam (a] pobox.com>
   3142 
   3143 	* html/document.html: Updated Adobe web links as per email from Joris.
   3144 
   3145 2004-11-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3146 
   3147 	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
   3148 	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
   3149 	use C++ streams should #include <tiffio.hxx>.
   3150 
   3151 2004-11-13  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3152 
   3153 	* libtiff/tiff.h: Added Adobe DNG tags.
   3154 
   3155 	* libtiff/tif_win32.c: Typo fixed.
   3156 
   3157 	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
   3158 	be compliant with the latest standard. Appropriate additions in
   3159 	makefiles now completed.
   3160 
   3161 2004-11-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3162 
   3163 	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
   3164 	different tag types. As per bug
   3165 
   3166 	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
   3167 
   3168 2004-11-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3169 
   3170 	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
   3171 	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
   3172 
   3173 2004-11-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3174 
   3175 	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
   3176 
   3177 2004-11-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3178 
   3179 	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
   3180 	contributed by Edward Lam (see
   3181 	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
   3182 	Though no changes in any makefiles yet.
   3183 
   3184 2004-11-05  Frank Warmerdam  <warmerdam (a] pobox.com>
   3185 
   3186 	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
   3187 	is bad. This is the callers responsibility.
   3188 	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
   3189 
   3190 2004-11-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3191 
   3192 	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
   3193 	function to work with the double byte strings (used to represent
   3194 	filenames in some locales). As per bug
   3195 
   3196 	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
   3197 
   3198 	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
   3199 	Compression tags of type LONG from broken TIFFS as per bug
   3200 
   3201 	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
   3202 
   3203 	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
   3204 	the writecount should have uint32 type. As per bug
   3205 
   3206 	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
   3207 
   3208 	* libtiff/tif_write.c: Fixed wrong if() statement in
   3209 	TIFFAppendToStrip() function as per bug
   3210 
   3211 	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
   3212 
   3213 2004-11-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3214 
   3215 	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
   3216 	field. The caller should supply a count when setting this field. As
   3217 	per bug
   3218 
   3219 	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
   3220 	
   3221 	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
   3222 	uint32 count. Use this type everywhere.
   3223 
   3224 2004-11-03  Frank Warmerdam  <warmerdam (a] pobox.com>
   3225 
   3226 	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
   3227 
   3228 2004-11-02  Frank Warmerdam  <warmerdam (a] pobox.com>
   3229 
   3230 	* tools/tiff2rgba.c: removed extra newlines in usage message.
   3231 
   3232 2004-10-30  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3233 	
   3234 	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
   3235 
   3236 	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
   3237 	tags (Tristan Hill).
   3238 
   3239 2004-10-30  Frank Warmerdam  <warmerdam (a] pobox.com>
   3240 
   3241 	* libtiff/tiffiop.h: added fallback definition of assert() if we
   3242 	don't have assert.h.
   3243 
   3244 2004-10-29  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3245 
   3246 	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
   3247 	choosing when the incorrect Group4Options tag set. As per bug
   3248 	
   3249 	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
   3250 
   3251 	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
   3252 	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
   3253 	TIFFWriteNormalTag().
   3254 
   3255 2004-10-28  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3256 
   3257 	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
   3258 	tags (Peter Fales).
   3259 
   3260 	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
   3261 
   3262 2004-10-28  Frank Warmerdam  <warmerdam (a] pobox.com>
   3263 
   3264 	* tools/tiff2pdf.c: added casts to avoid warnings.
   3265 
   3266 	* libtiff/libtiff.def: Added several more entry points required
   3267 	to link fax2tiff.c against the DLL on windows. 
   3268 
   3269 2004-10-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3270 
   3271 	* configure, configure.ac: Added --enable-rpath option to embed linker
   3272 	paths into library binary.
   3273 
   3274 2004-10-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3275 
   3276 	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
   3277 
   3278 	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
   3279 	(Vladimir Nadvornik, Dmitry V. Levin).
   3280 
   3281 2004-10-16  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3282 
   3283 	* libtiff 3.7.0 released.
   3284 
   3285 2004-10-15  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3286 
   3287 	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
   3288 	in this file so its inclusion is removed.  Including stdio.h
   3289 	sometimes incurs an INT32 typedef conflict between MinGW's
   3290 	basetsd.h and libjpeg's jmorecfg.h.
   3291 
   3292 2004-10-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3293 
   3294 	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
   3295 
   3296 2004-10-13  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3297 
   3298 	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
   3299 	conflict noticed under MinGW.
   3300 	* ltmain.sh: Fix for MinGW compilation.
   3301 
   3302 2004-10-13  Frank Warmerdam  <warmerdam (a] pobox.com>
   3303 
   3304 	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
   3305 	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
   3306 
   3307 2004-10-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3308 
   3309 	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
   3310 	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
   3311 	properly (Dmitry V. Levin, Marcus Meissner).
   3312 
   3313 2004-10-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3314 
   3315 	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
   3316 	to TIFF_IFD.
   3317 
   3318 2004-10-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3319 
   3320 	* tools/bmp2tif.c: Check the space allocation results.
   3321 
   3322 2004-10-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3323 
   3324 	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
   3325 	of the TIFFDirectory structure with the 0 instead of -1 to avoid
   3326 	confusing integer overflows in TIFFTileRowSize() for striped images.
   3327 
   3328 	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
   3329 	by Ross A. Finlayson.
   3330 
   3331 	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
   3332 
   3333 	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
   3334 
   3335 2004-10-08  Frank Warmerdam  <warmerdam (a] pobox.com>
   3336 
   3337 	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
   3338 	of tif_fieldinfo.  
   3339 
   3340 	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
   3341 
   3342 2004-10-04  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3343 
   3344 	* contrib/iptcutil/README: Added the missing README which goes
   3345 	along with iptcutil.
   3346 
   3347 2004-10-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3348 
   3349 	* libtiff/tif_compress.c: Improved error reporting in
   3350 	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
   3351 
   3352 2004-10-02  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3353 
   3354 	* libtiff 3.7.0beta2 released.
   3355 
   3356 	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
   3357 	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
   3358 	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
   3359 	allocations and	integer overflows (Dmitry V. Levin).
   3360 
   3361 	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
   3362 
   3363 2004-10-01  Frank Warmerdam  <warmerdam (a] pobox.com>
   3364 
   3365 	* libtiff/tif_open.c: added a more informative message if a BigTIFF
   3366 	file is opened.
   3367 
   3368 2004-09-30  Frank Warmerdam  <warmerdam (a] pobox.com>
   3369 
   3370 	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 
   3371 	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
   3372 	in the Adobe XMP Specification.
   3373 
   3374 2004-09-29  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3375 
   3376 	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
   3377 	memset().
   3378 
   3379 	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
   3380 	from Dmitry V. Levin to fix possible integer overflow problems.
   3381 
   3382 2004-09-28  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3383 
   3384 	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
   3385 	(Dmitry V. Levin).
   3386 
   3387 2004-09-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3388 
   3389 	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
   3390 	Optimize checking for the strip bounds. 
   3391 
   3392 	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
   3393 	TIFFRasterScanlineSize() functions report zero in the case of integer
   3394 	overflow now. Properly handle this case in TIFFReadDirectory()
   3395 	(patches from Dmitry V. Levin).
   3396 
   3397 2004-09-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3398 
   3399 	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
   3400 	macro where appropriate.
   3401 
   3402 	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
   3403 	noted by Gennady Khokhorin.
   3404 
   3405 	* libtiff/tif_dirread.c: Always check the return values, returned
   3406 	by the _TIFFmalloc() (Dmitry V. Levin).
   3407 
   3408 	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
   3409 	functions (Dmitry V. Levin).
   3410 
   3411 	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
   3412 	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
   3413 	TIFFGrowStrips() (found by Dmitry V. Levin).
   3414 
   3415 2004-09-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3416 
   3417 	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
   3418 	to get the list of configured codecs.
   3419 
   3420 	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
   3421 	Dmitry V. Levin.
   3422 
   3423 2004-09-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3424 
   3425 	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
   3426 	possible integer overflow in CheckMalloc() function.
   3427 
   3428 2004-09-22  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3429 
   3430 	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
   3431 	of plain TIFFhowmany() where appropriate.
   3432 
   3433 2004-09-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3434 
   3435 	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
   3436 
   3437 2004-09-19  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3438 
   3439 	* libtiff 3.7.0beta released.
   3440 
   3441 	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
   3442 	overruns fixed, as noted by Chris Evans.
   3443 
   3444 2004-09-14  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3445 
   3446 	* commit: Added a script to make it more convenient to commit
   3447 	updates.  The CVS commit message is extracted from this ChangeLog
   3448 	file.
   3449 
   3450 2004-09-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3451 
   3452 	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
   3453 	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
   3454 	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
   3455 	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
   3456 	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
   3457 	tif_config.h.in, tiffiop.h}:
   3458 	Get rid of BSD data types (u_char, u_short, u_int, u_long).
   3459 
   3460 2004-09-13  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3461 
   3462 	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
   3463 	specification. Reference libtiff bug tracking system to submit
   3464 	private tag additions.
   3465 
   3466 2004-09-12  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3467 
   3468 	* tools/tiffgt.c: Include "tif_config.h".
   3469 
   3470 	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
   3471 	tiffgt.  This results in the 'compile' script being added to the
   3472 	project.
   3473 
   3474 	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
   3475 	required to find OpenGL headers necessary to build tiffgt.  Also
   3476 	ensure that the libtiff that we built is used rather than some other
   3477 	libtiff installed on the system.
   3478 
   3479 2004-09-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3480 
   3481 	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
   3482 	libraries.
   3483 
   3484 2004-09-11  Bob Friesenhahn  <bfriesen (a] simple.dallas.tx.us>
   3485 
   3486 	* configure.ac: Pass library configuration defines via
   3487 	tif_config.h rather than extending CPPFLAGS. Configure a
   3488 	libtiff/tiffconf.h in order to satisfy application requirements
   3489 	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
   3490 	this causes failure to build on systems which properly respect
   3491 	this request.
   3492 
   3493 	* libtiff/tiffconf.h.in: New file to act as the template for the
   3494 	configured tiffconf.h
   3495 
   3496 	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
   3497 
   3498 2004-09-10  Frank Warmerdam  <warmerdam (a] pobox.com>
   3499 
   3500 	* html/internals.html: Split off a discussion of adding new tags
   3501 	into addingtags.html.
   3502 
   3503 2004-09-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3504 
   3505 	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
   3506 
   3507 	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
   3508 
   3509 	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
   3510 
   3511 	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
   3512 
   3513 	* libtiff/tif_dirread.c: Don't reject to read tags of the
   3514 	SamplesPerPixel size when the tag count is greater than number of
   3515 	samples as per bug
   3516 
   3517 	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
   3518 
   3519 	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
   3520 	defining int8/uint8/... etc. types. As per bug
   3521 
   3522 	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
   3523 
   3524 2004-09-09  Frank Warmerdam  <warmerdam (a] pobox.com>
   3525 
   3526 	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
   3527 	to avoid compile warnings about getopt() and a few other things.
   3528 
   3529 2004-09-02  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3530 
   3531 	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
   3532 	assigning magic in TIFFFetchFloat().
   3533 
   3534 2004-09-01  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3535 
   3536 	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
   3537 	to avoid requirement for tiffiop.h inclusion in some applications. See
   3538 	here
   3539 
   3540 	http://www.asmail.be/msg0054799560.html
   3541 	
   3542 	for details.
   3543 
   3544 	* tools/fax2tiff.c: Use the new functions in the code.
   3545 
   3546 2004-08-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3547 
   3548 	* tools/tiff2pdf.c: Initialize arrays properly.
   3549 
   3550 	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
   3551 	properly initialize array in PSDataBW().
   3552 
   3553 2004-08-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3554 
   3555 	* tools/tiff2pdf.c: More fixes for bug
   3556 
   3557 	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
   3558 
   3559 	from Ross Finlayson.
   3560 
   3561 2004-08-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3562 
   3563 	* tools/tiff2ps.c: Fixed problem with uninitialized values.
   3564 
   3565 	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
   3566 	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
   3567 
   3568 	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
   3569 
   3570 	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
   3571 
   3572 2004-08-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3573 
   3574 	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
   3575 	that the input file has compression, photometric interpretation,
   3576 	etcetra, tags or if not than a more descriptive error is returned.
   3577 
   3578 	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
   3579 	code, responsible for tag data type checking.
   3580 
   3581 2004-08-19  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3582 
   3583 	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
   3584 	variable as per bug
   3585 
   3586 	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
   3587 
   3588 2004-08-16  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3589 
   3590 	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
   3591 	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
   3592 
   3593 2004-08-01  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3594 
   3595 	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
   3596 	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
   3597 
   3598 2004-07-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3599 
   3600 	* libtiff/tif_lzw.c: LZW compression code is merged back from the
   3601 	separate package. All libtiff tools are updated to not advertise an
   3602 	abcence of LZW support.
   3603 
   3604 2004-07-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3605 
   3606 	* libtiff/tiffio.h: Revert thandle_t back to void* type.
   3607 
   3608 2004-07-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3609 
   3610 	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
   3611 	messages, as suggested by Bernd Herd.
   3612 
   3613 2004-07-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3614 
   3615 	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
   3616 	when setting custom tags by value. Reported by Eric Fieleke.
   3617 
   3618 2004-06-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3619 
   3620 	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
   3621 
   3622 2004-06-08  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3623 
   3624 	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
   3625 	into TIFFs.
   3626 
   3627 2004-06-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3628 
   3629 	* libtiff 3.7.0alpha released.
   3630 
   3631 2004-06-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3632 
   3633 	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
   3634 	of ugly 64-bit hacks, replace them with the clever (autoconf based )
   3635 	ones :-).
   3636 
   3637 	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
   3638 	problems in 64-bit environment).
   3639 
   3640 2004-06-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3641 
   3642 	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
   3643 	Tags can be supplied by the mnemonic name or number.
   3644 
   3645 	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
   3646 	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
   3647 
   3648 2004-05-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3649 
   3650 	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
   3651 	markers as per bug
   3652 
   3653 	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
   3654 
   3655 2004-05-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3656 
   3657 	* tools/tiffsplit.c: Don't forget to copy Photometric
   3658 	Interpretation tag.
   3659 
   3660 2004-05-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3661 
   3662 	* libtiff/{tif_open.c, tiffio.h}: New function added:
   3663 	TIFFIsBigEndian(). Function returns nonzero if given was file written
   3664 	in big-endian order.
   3665 
   3666 	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
   3667 	files. Now output files will be written using the same byte order
   3668 	flag as	in the input image. See
   3669 	
   3670 	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
   3671 	
   3672 	for details.
   3673 	
   3674 2004-05-19  Frank Warmerdam  <warmerdam (a] pobox.com>
   3675 
   3676 	* libtiff/tif_print.c: added (untested) support for printing
   3677 	SSHORT, SLONG and SRATIONAL fields.
   3678 
   3679 	* tools/tiffcp.c: close output file on normal exit.
   3680 
   3681 2004-05-17  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3682 
   3683 	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
   3684 	if compression type mismatches. See
   3685 	
   3686 	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
   3687 
   3688 2004-04-30  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3689 
   3690 	* libtiff/tif_strip.c: Never return 0 from the
   3691 	TIFFNumberOfStrips().
   3692 
   3693 2004-04-29  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3694 
   3695 	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
   3696 	store single SampleFormat value for multisampled images. See
   3697 
   3698 	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
   3699 
   3700 2004-04-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3701 
   3702 	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
   3703 	int16 and int32 types to avoid complains on some compilers. Details at
   3704 
   3705 	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
   3706 
   3707 2004-04-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3708 
   3709 	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
   3710 
   3711 	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
   3712 
   3713 2004-04-14  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3714 
   3715 	* libtiff/tif_write.c: Allow in-place updating of the compressed
   3716 	images (don't work properly with all codecs). For details see GDAL bug
   3717 
   3718 	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
   3719 
   3720 2004-04-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3721 
   3722 	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
   3723 	in the Intergarph JPEG compressed TIFF images as per bug:
   3724 
   3725 	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
   3726 
   3727 2004-04-04  Frank Warmerdam  <warmerdam (a] pobox.com>
   3728 
   3729 	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
   3730 	via bad2. 
   3731 
   3732 2004-03-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3733 
   3734 	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
   3735 	JPEG compression of grayscale images.
   3736 
   3737 	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
   3738 	present in the input image.
   3739 
   3740 2004-03-19  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3741 
   3742 	* {many}: The first attempt to switch to autotools.
   3743 
   3744 2004-03-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3745 
   3746 	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
   3747 	TIFFClientOpen() when the appropriate client functions was not
   3748 	supplied by user.
   3749 
   3750 2004-03-02  Frank Warmerdam  <warmerdam (a] pobox.com>
   3751 
   3752 	* tools/ycbcr.c: fixed main() declaration as per:
   3753 	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
   3754 
   3755 2004-02-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3756 
   3757 	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 
   3758 	images. Reported by Artem Mirolubov.
   3759 
   3760 	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 
   3761 	tag type in TIFFFetchNormalTag() as per bug
   3762 
   3763 	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
   3764 
   3765 2004-02-17  Frank Warmerdam  <warmerdam (a] pobox.com>
   3766 
   3767 	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
   3768 	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
   3769 
   3770 2004-02-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3771 
   3772 	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
   3773 	bug
   3774 
   3775 	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
   3776 
   3777 	But we need more work on fax codec to support update mode.
   3778 
   3779 2004-01-30  Frank Warmerdam  <warmerdam (a] pobox.com>
   3780 
   3781 	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
   3782 	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 
   3783 	Scott Reynolds. 
   3784 
   3785 2004-01-29  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3786 
   3787 	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
   3788 	and TIFFTAG_INDEXED as per bug
   3789 
   3790 	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
   3791 
   3792 	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
   3793 	NULL before proceeding further as per bug
   3794 
   3795 	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
   3796 
   3797 	Check results, returned by the TIFFFdOpen() before returning and close
   3798 	file if TIFFFdOpen() failed as per bug
   3799 
   3800 	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
   3801 	
   3802 	* libtiff/tif_open.c: More fixes for
   3803 
   3804 	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
   3805 
   3806 2004-01-28  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3807 
   3808 	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
   3809 	TIFFCleanup() from the TIFFClose() in order to fix the bug
   3810 
   3811 	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
   3812 
   3813 	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
   3814 	InkNames tag as per bug
   3815 
   3816 	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
   3817 
   3818 	Memory leak fixed.
   3819 
   3820 2004-01-21  Frank Warmerdam  <warmerdam (a] pobox.com>
   3821 
   3822 	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
   3823 	are field_passcount=TRUE properly.  Arguably anonymous custom tags
   3824 	should be declared as passcount=FALSE, but I don't want to change
   3825 	that without a careful review. 
   3826 
   3827 2004-01-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3828 
   3829 	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
   3830 	stripped image in TIFFWriteBufferSetup(). As per bug
   3831 
   3832 	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
   3833 
   3834 2004-01-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3835 
   3836 	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
   3837 	patch from Gerben Koopmans.
   3838 
   3839 	* libtiff/tif_dirread.c: Check field_passcount value before setting
   3840 	the value of undefined type, patch from Gerben Koopmans.
   3841 
   3842 2004-01-02  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3843 
   3844 	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
   3845 	non-RGB images.
   3846 
   3847 2003-12-31  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3848 
   3849 	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
   3850 	pointer passed. Patch supplied by Larry Grill.
   3851 
   3852 	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
   3853 	suggested by Jeremy C. Reed.
   3854 
   3855 2003-12-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3856 
   3857 	* libtiff 3.6.1 released.
   3858 
   3859 2003-12-24  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3860 
   3861 	* config.guess, config.sub: Updated from the recent upstream.
   3862 
   3863 2003-12-22  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3864 
   3865 	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
   3866 	More cleanups in color conversion interface, added appropriate manual
   3867 	page.
   3868 
   3869 2003-12-19  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3870 
   3871 	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
   3872 	per bug
   3873 
   3874 	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
   3875 
   3876 	* tools/tiff2ps.c: Added support for alpha channel. Fixes
   3877 
   3878 	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
   3879 
   3880 	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
   3881 	Interface for Lab->RGB color conversion is finally cleaned up.
   3882 	Added support for ReferenceBlackWhite tag handling when converted from
   3883 	YCbCr color space. The latter closes
   3884 
   3885 	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
   3886 
   3887 2003-12-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3888 
   3889 	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
   3890 
   3891 	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
   3892 	library.
   3893 
   3894 2003-12-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3895 
   3896 	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
   3897 	file and properly use it for CIE Lab->RGB transform.
   3898 
   3899 2003-12-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3900 
   3901 	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
   3902 	conversion routines now in the tif_color.c module. New function
   3903 	TIFFYCbCrtoRGB() available in TIFF API.
   3904 
   3905 	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
   3906 
   3907 2003-12-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3908 
   3909 	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
   3910 	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
   3911 	module.
   3912 
   3913 	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
   3914 	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
   3915 	Finally resolved problems with orientation handling. TIFFRGBAImage
   3916 	interface now properly supports all possible orientations, i.e. images
   3917 	will be flipped both in horizontal and vertical directions if
   3918 	required. 'Known bugs' section now removed from the appropriate manual
   3919 	pages. Closed bug entry:
   3920 
   3921 	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
   3922 
   3923 2003-12-02  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3924 
   3925 	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
   3926 	function calls as per bug
   3927 
   3928 	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
   3929 
   3930 2003-11-28 Ross Finlayson  <libtiff (a] apexinternetsoftware.com>
   3931 
   3932 	* tools/tiff2pdf.c:  Some bugs fixed.
   3933 
   3934 2003-11-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3935 
   3936 	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
   3937 	reported by Antonio Scuri.
   3938 
   3939 	* man/tiff2pdf.1: Few improvements in page layout.
   3940 
   3941 	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
   3942 	 Added support fpr tiff2pdf manual page.
   3943 
   3944 2003-11-26 Ross Finlayson  <libtiff (a] apexinternetsoftware.com>
   3945 
   3946 	* /man/tiff2pdf.1:  File added to repository.
   3947 
   3948 2003-11-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3949 
   3950 	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
   3951 	 Added support fpr tiff2pdf utility.
   3952 
   3953 2003-11-25  Ross Finlayson  <libtiff (a] apexinternetsoftware.com>
   3954 
   3955 	* /tools/tiff2pdf.c:  File added to repository.
   3956 
   3957 2003-11-22  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3958 
   3959 	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
   3960 
   3961 2003-11-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3962 
   3963 	* /tools/raw2tiff.c: #include <getopt.h> removed.
   3964 
   3965 	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
   3966 	sgigt utility removed and replaced with the completely rewritten
   3967 	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
   3968 	there is a lot of things to improve.
   3969 
   3970 	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
   3971 	extract the fields from the OJPEG files. Patch supplied by Ross
   3972 	Finlayson.
   3973 
   3974 	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
   3975 	Added new function TIFFIsCODECConfigured(), suggested by Ross
   3976 	Finlayson.
   3977 
   3978 2003-11-18  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3979 
   3980 	* libtiff/tif_dirinfo.c: Implemented binary search in
   3981 	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
   3982 
   3983 	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
   3984 	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
   3985 
   3986 2003-11-17  Frank Warmerdam  <warmerdam (a] pobox.com>
   3987 
   3988 	* tif_dirread.c: do not mark all anonymously defined tags to be 
   3989 	IGNOREd.  
   3990 
   3991 2003-11-17  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3992 
   3993 	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
   3994 	TIFFDataWidth() function insted of tiffDataWidth array.
   3995 
   3996 2003-11-16  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   3997 
   3998 	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
   3999 	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
   4000 
   4001 2003-11-15  Frank Warmerdam  <warmerdam (a] pobox.com>
   4002 
   4003 	* Makefile.in: fixed missing backslash for tif_color.c in list.
   4004 
   4005 2003-11-13  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4006 
   4007 	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
   4008 	New color space conversion code: CIE L*a*b* 1976 images now supported
   4009 	by the TIFFRGBAImage interface. All introduced routines go to new
   4010 	module tif_color.c. Eventually all color conversion functions should
   4011 	be moved there.
   4012 
   4013 2003-11-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4014 
   4015 	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
   4016 	with the reverse byte order (it is reported by the magic header
   4017 	field). Problem reported by Andreas Wiesmann.
   4018 
   4019 	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
   4020 	calculation function. Guessing mechanics now documented in manual page.
   4021 
   4022 2003-11-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4023 
   4024 	* tools/raw2tiff.c: Implemented image size guessing using
   4025 	correlation coefficient calculation between two neighbour lines.
   4026 
   4027 2003-11-09  Frank Warmerdam  <warmerdam (a] pobox.com>
   4028 
   4029 	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 
   4030 	planarconfig_contig case in TIFFComputeTile().
   4031 
   4032 	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
   4033 
   4034 2003-11-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4035 	
   4036 	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
   4037 	
   4038 2003-11-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4039 
   4040 	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
   4041 	Added TIFFRawStripSize() function as suggested by Chris Hanson.
   4042 
   4043 2003-11-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4044 
   4045 	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
   4046 	per bug
   4047 
   4048 	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
   4049 
   4050 2003-10-29  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4051 
   4052 	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
   4053 
   4054 	* html/build.html: Added note about GNU make requirement.
   4055 
   4056 2003-10-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4057 
   4058 	* Makefile.in: Fixes in using MAKEFLAGS as per bug
   4059 
   4060 	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
   4061 
   4062 	* port/install.sh.in: Option -p added to the mkdir command to create
   4063 	all directory tree structure before installing.
   4064 
   4065 2003-10-18  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4066 
   4067 	* /tools/tiff2ps.c: #include <strings.h> replaced with the
   4068 	#include <string.h>.
   4069 
   4070 2003-10-16  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4071 
   4072 	* Makefile.in: Add an absolute path to the test_pics.sh call.
   4073 
   4074 2003-10-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4075 
   4076 	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
   4077 	typedefs.
   4078 
   4079 2003-10-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4080 
   4081 	* configure, libtiff/{Makefile.in, mkversion.c}:
   4082 	Relative buildings fixed.
   4083 
   4084 	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
   4085 	rule.
   4086 
   4087 2003-10-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4088 
   4089 	* Makefile.in: Added missed v3.6.0.html.
   4090 
   4091 	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
   4092 	ORIENTATION_BOTLEFT.
   4093 
   4094 2003-10-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4095 
   4096 	* 3.6.0 final release.
   4097 
   4098 2003-10-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4099 
   4100 	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
   4101 	function TIFFReadRGBAImageOriented() implemented to retrieve raster
   4102 	array with user-specified origin position as suggested by Jason Frank.
   4103 	See
   4104 	
   4105 	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
   4106 
   4107 	for details.
   4108 	
   4109 	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
   4110 	instead of TIFFReadRGBAImage().
   4111 
   4112 	* tools/tiff2ps.c: Fixed possible endless loop as per bug
   4113 
   4114 	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
   4115 
   4116 2003-09-30  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4117 
   4118 	* libtiff/tif_dirread.c: Check field counter against number of fields
   4119 	in order to fix
   4120 
   4121 	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
   4122 
   4123 	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
   4124 
   4125 	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
   4126 
   4127 2003-09-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4128 
   4129 	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
   4130 	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
   4131 
   4132 	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
   4133 
   4134 2003-09-23  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4135 
   4136 	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
   4137 
   4138 	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
   4139 
   4140 2003-08-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4141 
   4142 	* tools/tiffmedian.c: int declaration replaced with the uint32 to
   4143 	support large images as per bug
   4144 
   4145 	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
   4146 
   4147 2003-08-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4148 
   4149  	* libtiff/Makefile.in: Fixed problem with building in different
   4150 	directory.
   4151 
   4152 	* tools/tiff2ps.c: Added missing #include <strings.h>.
   4153 
   4154 	* libtiff/tif_dirwrite.c: More fixes for custom tags code
   4155 	from Ashley Dreier.
   4156 
   4157 2003-08-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4158 
   4159 	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
   4160 	Patch submitted by Balatoni Denes (with corrections from Tom
   4161 	Kacvinsky).
   4162 
   4163 	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
   4164 	being used. Reported by Tom Kacvinsky.
   4165 
   4166 	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
   4167 	reported by Ashley Dreier.
   4168 
   4169 	* libtiff/tif_print.c: Fixed problem with float tags reading, support
   4170 	for printing RATIONAL and BYTE tags added.
   4171 
   4172 2003-08-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4173 
   4174 	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
   4175 	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
   4176 	problems with predictor initialization. Remove O_RDONLY check during
   4177 	state block allocation to be able open LZW compressed files in update
   4178 	mode.
   4179 
   4180 	Problem exist for libtiff version of the tif_lzw.c module. One from
   4181 	lzw-compression-kit hasn't such troubles.
   4182 
   4183 2003-08-04  Frank Warmerdam  <warmerdam (a] pobox.com>
   4184 
   4185 	* libtiff/tif_write.c: modified tif_write.c so that the various
   4186 	encoded write functions use tif_postdecode() to apply byte order
   4187 	swapping (swab) to the application passed data buffer if the same
   4188 	would be done when reading.  This allows us to write pixel data with
   4189 	more than 8 bits per sample to existing files of a non-native byte 
   4190 	order.  One side effect of this change is the applications buffer
   4191 	itself is altered in this case by the act of writing. 
   4192 
   4193 	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
   4194 
   4195 2003-07-25  Frank Warmerdam  <warmerdam (a] pobox.com>
   4196 
   4197 	* libtiff/tif_open.c: avoid signed/unsigned casting warning
   4198 	initializing typemask as per patch from J.A. Strother.
   4199 
   4200 	* tools/tiffcp.c: fixed signed/unsigned casting warning.
   4201 
   4202 	* libtiff/tif_print.c: dos2unix conversion.
   4203 
   4204 	* tools/tiffsplit.c: increased the maximum number of pages that
   4205 	can be split.  Patch provided by Andrew J. Montalenti.
   4206 
   4207 2003-07-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4208 
   4209 	* tools/raw2tiff.c: Added option `-p' to explicitly select color
   4210 	space of input image data. Closes
   4211 
   4212 	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
   4213 
   4214 2003-07-08  Frank Warmerdam  <warmerdam (a] pobox.com>
   4215 
   4216 	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
   4217 	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 
   4218 	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
   4219 	avoid casting warning at /W4. 
   4220 
   4221 2003-07-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4222 
   4223 	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
   4224 
   4225 2003-06-30  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4226 
   4227 	* libtiff/tif_pixarlog.c: Unused variables removed.
   4228 
   4229 	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
   4230 	EstimateStripByteCounts() as per bug
   4231 
   4232 	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
   4233 
   4234 	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
   4235 	64-bit architectures as per bug
   4236 
   4237 	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
   4238 
   4239 	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
   4240 	unknown data type.
   4241 	
   4242 2003-06-19  Frank Warmerdam  <warmerdam (a] pobox.com>
   4243 
   4244 	* libtiff/tif_print.c: fixed some serious bugs when printing
   4245 	custom tags ... almost certain to crash. 
   4246 
   4247 	* libtiff/tif_dirread.c: Don't ignore custom fields that are
   4248 	autodefined.  Not sure how this got to be like this.
   4249 
   4250 2003-06-18  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4251 
   4252 	* 3.6.0 Beta2 released.
   4253 
   4254 	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
   4255 	comparing as per bug
   4256 	
   4257 	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
   4258 
   4259 	`-z' option now can be used to set the number of reported different
   4260 	bytes.
   4261 	
   4262 2003-06-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4263 
   4264 	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
   4265 	to -r option to get the entire image as one strip. See
   4266 
   4267 	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
   4268 
   4269 	for details.
   4270 
   4271 2003-06-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4272 
   4273 	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
   4274 	values as per bug
   4275 
   4276 	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
   4277 
   4278 2003-05-27  Frank Warmerdam  <warmerdam (a] pobox.com>
   4279 
   4280 	* libtiff/tif_jpeg.c: modified segment_height calculation to always
   4281 	be a full height tile for tiled images.  Also changed error to just
   4282 	be a warning.
   4283 
   4284 2003-05-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4285 
   4286 	* tools/fax2tiff.c: Page numbering fixed, as per bug
   4287 	
   4288 	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
   4289 
   4290 2003-05-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4291 
   4292 	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
   4293 	configure, Makefile.in:	Switched back to the old behaviour. Likely
   4294 	better solution should be found for OJPEG support.
   4295 
   4296 2003-05-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4297 
   4298 	* libtiff/mkversion.c: Fixed problem with wrong string size when
   4299 	reading RELEASE-DATE file.
   4300 
   4301 2003-05-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4302 
   4303 	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
   4304 	index was out of range.
   4305 
   4306 2003-05-06  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4307 
   4308 	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
   4309 	configure, Makefile.in:	Improved libtiff compilation with OJPEG
   4310 	support. Now no need for patching IJG JPEG library, hack requred by
   4311 	libtiff will be compiled and used in-place. Implemented with
   4312 	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
   4313 
   4314 	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
   4315 	TIFFVGetFieldDefaulted() function.
   4316 
   4317 2003-05-05  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4318 
   4319 	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
   4320 	comments.
   4321 
   4322 	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
   4323 	was not copied from source image.
   4324 
   4325 	* libtiff/getimage.c: Workaround for some images without correct
   4326 	info about alpha channel as per bug
   4327 
   4328 	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
   4329 
   4330 2003-04-29  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4331 
   4332 	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
   4333 	It basically allows one to use the /flateDecode filter for ZIP
   4334 	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
   4335 
   4336 	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
   4337 
   4338 	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
   4339 	as per bug
   4340 
   4341 	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
   4342 
   4343 2003-04-17  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4344 
   4345 	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
   4346 	due to problems with multidirectory images. Quality of error messages
   4347 	improved.
   4348 
   4349 2003-04-16  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4350 
   4351 	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
   4352 	encoded images. See bug entries
   4353 	
   4354 	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
   4355 
   4356 	and
   4357 
   4358 	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
   4359 
   4360 	* libtiff/tif_dirread.c: Additional check for StripByteCounts
   4361 	correctness. Fixes
   4362 
   4363 	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
   4364 
   4365 2003-03-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4366 
   4367 	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
   4368 	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
   4369 	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
   4370 	tiffmedian.c}: Added library version reporting facility to all tools.
   4371 
   4372 2003-03-06  Frank Warmerdam  <warmerdam (a] pobox.com>
   4373 
   4374 	* port/install.sh.in: Fixed problems with install producing paths
   4375 	like ///usr/local/lib on cygwin.
   4376 
   4377 2003-02-27  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4378 
   4379 	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
   4380 	raw input page. Patch supplied by Julien Gaulmin. See
   4381 
   4382 	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
   4383 
   4384 	for details.
   4385 
   4386 2003-02-26  Frank Warmerdam  <warmerdam (a] pobox.com>
   4387 
   4388 	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
   4389 	responsible for byte swapping complex image data.
   4390 
   4391 	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
   4392 	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
   4393 
   4394 2003-02-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4395 
   4396 	* tools/ppm2tiff.c: Fixed problem with too many arguments.
   4397 
   4398 2003-02-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4399 
   4400 	* tools/raw2tiff.c: Memory leak fixed.
   4401 
   4402 2003-02-03  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4403 
   4404 	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
   4405 	(thanks, Julien!). More switches for fax2tiff tool for better control
   4406 	of input and output. Details at
   4407 
   4408 	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
   4409 
   4410 2003-02-03  Frank Warmerdam  <warmerdam (a] pobox.com>
   4411 
   4412 	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
   4413 	library so that we can check if there is already any tile/strip data
   4414 	before deciding between creating a compressor or a decompressor. 
   4415 
   4416 2003-01-31  Frank Warmerdam  <warmerdam (a] pobox.com>
   4417 
   4418 	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
   4419 	a pre-existing compressed image.  That is, image writing to 
   4420 	pre-existing compressed images is not allowed.
   4421 
   4422 	* libtiff/tif_open.c: Removed error if opening a compressed file
   4423 	in update mode. 
   4424 
   4425 	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
   4426 
   4427 2003-01-31  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4428 
   4429 	* config.guess, config.sub: Updated to recent upstream versions.
   4430 
   4431 2003-01-15  Frank Warmerdam  <warmerdam (a] pobox.com>
   4432 
   4433 	* cut 3.6.0 Beta release.
   4434 
   4435 2002-12-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4436 	
   4437 	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
   4438 	in wrong way as per bug
   4439 	
   4440 	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
   4441 
   4442 2002-12-17  Frank Warmerdam  <warmerdam (a] pobox.com>
   4443 
   4444 	* libtiff/tif_dirread.c: Allow wrong sized arrays in 
   4445 	TIFFFetchStripThing(). 
   4446 
   4447 	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
   4448 
   4449 2002-12-02  Frank Warmerdam  <warmerdam (a] pobox.com>
   4450 
   4451 	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
   4452 	Was using realloc even first time.  Fix by Igor Venevtsev.
   4453 
   4454 2002-11-30  Frank Warmerdam  <warmerdam (a] pobox.com>
   4455 
   4456 	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
   4457 	field value.
   4458 
   4459 	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 
   4460 	tags in TIFFVGetField() ... added missing break.
   4461 
   4462 2002-10-14  Frank Warmerdam  <warmerdam (a] pobox.com>
   4463 
   4464 	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
   4465 	the scanline buffer long enough when writing rgb triplets.
   4466 	The scanline needs to be 3 X the number of dots or else it will
   4467 	contain	an incomplete triplet and programs that try to separate
   4468 	the eps by redefining the colorimage operator will get messed up.
   4469 	Patch supplied by William Bader.
   4470 
   4471 	* Makefile.in: added tif_extension.c to file list as per 
   4472 	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
   4473 
   4474 2002-10-11  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4475 	
   4476 	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
   4477 	large files (>2GiB) supporting. New option in the config.site:
   4478 	LARGEFILE="yes". Should be enough for I/O of the large files.
   4479 
   4480 2002-10-10  Frank Warmerdam  <warmerdam (a] pobox.com>
   4481 
   4482 	* libtiff/html/v3.6.0.html: new release notes.
   4483 
   4484 	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
   4485 	link for Andrey.  Pointer to v3.6.0.html.
   4486 
   4487 	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
   4488 
   4489 2002-10-07  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4490 	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
   4491 	(thanks, Sebastian!). New switches:
   4492 	-b # for a bottom margin of # inches
   4493 	-c   center image
   4494 	-l # for a left margin of # inches
   4495 	-r   rotate the image by 180 degrees
   4496 	New features merged with code for shrinking/overlapping.
   4497 	Previously added -c and -n switches (for overriding PS units) renamed
   4498 	in -x and -y respectively.
   4499 
   4500 	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
   4501 
   4502 	* html/man/*.html: Updated from actual manual pages.
   4503 
   4504 2002-10-06  Frank Warmerdam  <warmerdam (a] pobox.com>
   4505 
   4506 	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
   4507 	size on windows.  Use #define boolean hack.  
   4508 
   4509 	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
   4510 
   4511 	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
   4512 	USING_VISUALAGE is defined.
   4513 	
   4514 	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
   4515 
   4516 2002-10-03  Frank Warmerdam  <warmerdam (a] pobox.com>
   4517 
   4518 	* libtiff/tiff.h: added COMPRESSION_JP2000.
   4519 
   4520 2002-10-02  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4521 
   4522 	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
   4523 	by the TIFFFetchByteArray() function. Should finally resolve
   4524 	
   4525 	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
   4526 	
   4527 	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
   4528 
   4529 	* html/Makefile.in: New targets added: html and groffhtml for
   4530 	producing HTML representations of the manual pages automatically.
   4531 	html target uses man2html tool, groffhtml uses groff tool.
   4532 	
   4533 2002-09-29  Frank Warmerdam  <warmerdam (a] pobox.com>
   4534 
   4535 	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
   4536 	from John H. DuBois III.  
   4537 
   4538 2002-09-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4539 
   4540 	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
   4541 	manual page for raw2tiff(1) tool.
   4542 	
   4543 2002-09-12  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4544 
   4545 	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
   4546 	the tiffio.h header file.
   4547 	
   4548 	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
   4549 	manual page for TIFFDataWidth() function
   4550 
   4551 2002-09-08  Frank Warmerdam  <warmerdam (a] pobox.com>
   4552 
   4553 	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
   4554 	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
   4555 
   4556 	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
   4557 	since we are unable to properly include the amount to skip. 
   4558 	
   4559 	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
   4560 
   4561 2002-09-02  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4562 
   4563 	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
   4564 	in TIFFFetchByteArray(). Problem described at
   4565 	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
   4566 
   4567 2002-08-22  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4568 	
   4569 	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
   4570 	in _TIFFSetupFieldInfo() function.
   4571 	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
   4572 
   4573 	* /libtiff/tif_lzw.c: Additional consistency checking added in
   4574 	LZWDecode() and LZWDecodeCompat().
   4575 	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
   4576 	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
   4577 	
   4578 	* /libtiff/tif_lzw.c:
   4579 	Added check for valid code lengths in LZWDecode() and
   4580 	LZWDecodeCompat(). Fixes
   4581 	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
   4582 
   4583 2002-08-16  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4584 	
   4585 	* /libtiff/{Makefile.vc, libtiff.def}:
   4586 	Missed declarations added.
   4587 
   4588 2002-08-15  Frank Warmerdam  <warmerdam (a] pobox.com>
   4589 
   4590 	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
   4591 	return code from the underlying pick function.
   4592 
   4593 	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
   4594 
   4595 	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 
   4596 	with FIELD_CUSTOM as mentioned in bug 169.
   4597 
   4598 	* tif_close.c: added logic to free dynamically created anonymous
   4599 	field definitions to correct a small memory leak.
   4600 
   4601 	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
   4602 
   4603 2002-08-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4604 	
   4605 	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
   4606 	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
   4607 
   4608 2002-07-31  Frank Warmerdam  <warmerdam (a] pobox.com>
   4609 
   4610 	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 
   4611 	JPEGDecode() as per bugzilla bug (issue 1):
   4612 
   4613 	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
   4614 
   4615 	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
   4616 	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
   4617 	present in the tiff tags. 
   4618 
   4619 	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
   4620 
   4621 	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
   4622 	TIFFWriteScanline() now set tif_row explicitly in case the codec has
   4623 	fooled with the value. 
   4624 
   4625 	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
   4626 
   4627 2002-06-22  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4628 	
   4629 	* /tools/tiff2ps.c: Added workaround for some software that may crash
   4630 	when last strip of image contains fewer number of scanlines than
   4631 	specified by the `/Height' variable. See
   4632 	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
   4633 	for explanation.
   4634 
   4635 2002-06-21  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4636 
   4637 	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
   4638 	splitting long images in several pages. See
   4639 	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
   4640 	Patch granted by John Williams <williams (a] morinda.com>.
   4641 
   4642 2002-06-11  Frank Warmerdam  <warmerdam (a] pobox.com>
   4643 
   4644 	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new 
   4645 	Tiffile.cpp example of converting TIFF files into a DIB on Win32.  
   4646 	This one is described in:
   4647 
   4648 	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
   4649 
   4650 	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
   4651 
   4652 	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
   4653 
   4654 2002-05-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4655 
   4656 	* tools/tiff2ps: New commandline switches to override resolution
   4657 	units obtained from the input file. Closes
   4658 	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
   4659 
   4660 2002-04-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4661 	
   4662 	* libtiff/libtiff.def: Added missed declaration.
   4663 	
   4664 2002-04-22  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4665 	
   4666 	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
   4667 	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
   4668 
   4669 2002-04-20  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4670 	
   4671 	* libtiff/tif_open.c: Pointers to custom procedures
   4672 	in TIFFClientOpen() are checked to be not NULL-pointers.
   4673 	
   4674 2002-04-18  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4675 	
   4676 	* libtiff/libtiff.def: Added missed declarations.
   4677 
   4678 	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
   4679 
   4680 2002-04-16  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4681 
   4682 	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
   4683 	Should finally close
   4684 	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
   4685 	
   4686 2002-04-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4687 
   4688 	* tools/tiff2ps: Division by zero fixed.
   4689 	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
   4690 
   4691 2002-04-09  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4692 	
   4693 	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
   4694 	TIFFCheckpointDirectory() routine added.
   4695 	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
   4696 
   4697 	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
   4698 	for the new function.
   4699 
   4700 2002-04-08  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4701 
   4702 	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
   4703 	additional members tif->tif_decodestatus and tif->tif_encodestatus
   4704 	for correct handling of unconfigured codecs (we should not try to read
   4705 	data or to define data size without correct codecs).
   4706 
   4707 	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
   4708 	changed. Now it has used tif->tif_decodestatus and
   4709 	tif->tif_encodestatus.
   4710 	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
   4711 	case of __cvs_8.tif test image).
   4712 
   4713 	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
   4714 	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
   4715 	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
   4716 	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
   4717 
   4718 2002-04-04  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4719 
   4720 	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
   4721 	replaced by warnings. Now libtiff should read corrupted LZW-compressed
   4722 	files by skipping bad strips.
   4723 	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
   4724 	
   4725 2002-04-03  Frank Warmerdam  <warmerdam (a] pobox.com>
   4726 
   4727 	* libtiff/tif_dirwrite.c: Removed some dead code.
   4728 
   4729 	* libtiff/*: Cleanup some warnings.
   4730 
   4731 	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
   4732 	for variable length FIELD_CUSTOM values.  Was int * but should be
   4733 	u_short *.
   4734 
   4735 2002-04-01  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4736 
   4737 	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
   4738 	utility (at cpStripToTile routine).
   4739 
   4740 2002-03-27  Frank Warmerdam  <warmerdam (a] pobox.com>
   4741 
   4742 	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
   4743 
   4744 	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
   4745 
   4746 	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 
   4747 	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
   4748 
   4749 	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 
   4750 	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
   4751 
   4752 2002-03-26  Dwight Kelly  <dbmalloc (a] remotesensing.org>
   4753 
   4754 	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
   4755 	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
   4756 	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 
   4757 	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 
   4758 	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
   4759 	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
   4760 
   4761 2002-03-26  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4762 
   4763 	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
   4764 	now also uses TIFFRGBAImageOK before reading. This is additional fix
   4765 	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
   4766 
   4767 2002-03-25  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4768 
   4769 	* libtiff/: tif_getimage.c: Additional check for supported
   4770 	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
   4771 	TIFFRGBAImageOK before reading.
   4772 	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
   4773 
   4774 2002-03-15  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4775 
   4776 	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
   4777 	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
   4778 	TIFFDataType sizes instead of working with tiffDataWidth array
   4779 	directly. Should prevent out-of-borders bugs in case of unknown or
   4780 	broken data types.  EstimateStripByteCounts routine modified, so it
   4781 	won't work when tags with uknown sizes founded.
   4782 	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
   4783 
   4784 2002-03-13  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4785 
   4786 	* libtiff/tif_getimage.c: Added support for correct handling
   4787 	`Orientation' tag in gtTileContig. Should be added in other gt*
   4788 	functions as well, but I have not images for testing yet. Partially
   4789 	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
   4790 
   4791 2002-03-10  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4792 
   4793 	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
   4794 	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
   4795 	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
   4796 	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
   4797 
   4798 2002-03-08  Andrey Kiselev  <dron (a] ak4719.spb.edu>
   4799 
   4800 	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
   4801 	be stripped when installing, utility binaries will do.	Closes
   4802 	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
   4803 
   4804 2002-02-28  Frank Warmerdam  <warmerdam (a] pobox.com>
   4805 
   4806 	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
   4807 
   4808 	* man/libtiff.3t: added copyright tag info.
   4809 
   4810 2002-02-11  Frank Warmerdam  <warmerdam (a] pobox.com>
   4811 
   4812 	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
   4813 
   4814 	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
   4815 
   4816 	* man/Makefile.in: Patch DESTDIR handling 
   4817 
   4818 	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
   4819 
   4820 	* configure: OpenBSD changes for Sparc64 and DSO version.
   4821 
   4822 	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
   4823 
   4824 2002-02-05  Frank Warmerdam  <warmerdam (a] pobox.com>
   4825 
   4826 	* config.site/configure: added support for OJPEG=yes option to enable
   4827 	OJPEG support from config.site.
   4828 
   4829 2002-01-27  Frank Warmerdam  <warmerdam (a] pobox.com>
   4830 
   4831 	* html/document.html: fixed links for TIFf 6 docs.
   4832 
   4833 2002-01-18  Frank Warmerdam  <warmerdam (a] pobox.com>
   4834 
   4835 	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
   4836 
   4837 	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
   4838 	decodestrip function returns anything not greater than zero as per
   4839 	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
   4840 
   4841 	* configure: Modify CheckForBigEndian so it can work in a cross
   4842 	compiled situation.
   4843 
   4844 2002-01-16  Frank Warmerdam  <warmerdam (a] pobox.com>
   4845 
   4846 	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
   4847 
   4848 	* tools/tiffset.c: fix bug in error reporting.
   4849 
   4850 	* tools/tiffcp.c: fix several warnings that show up with -Wall.
   4851 
   4852 2002-01-04  Frank Warmerdam  <warmerdam (a] pobox.com>
   4853 
   4854 	* libtiff/tif_jpeg.c: fixed computation of segment_width for 
   4855 	tiles files to avoid error about it not matching the 
   4856 	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 
   4857 	size.") for ITIFF files.  Apparently the problem was incorporated since
   4858 	3.5.5, presumably during the OJPEG/JPEG work recently.
   4859 
   4860 2001-12-15  Frank Warmerdam  <warmerdam (a] pobox.com>
   4861 
   4862 	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
   4863 
   4864 	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
   4865 
   4866 	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 
   4867 	(defined in tiffconf.h - 1 by default) then the RGBA interface
   4868 	will assume that a fourth extra sample is ASSOCALPHA if the
   4869 	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
   4870 	the library, but makes it work better with RGBA files produced by
   4871 	lots of applications that don't mark the alpha values properly.
   4872 
   4873 	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
   4874 	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
   4875 
   4876 2001-12-12  Frank Warmerdam  <warmerdam (a] pobox.com>
   4877 
   4878 	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 
   4879 	override those from tiff directory.  This makes this work with 
   4880 	ImageGear generated files. 
   4881 
   4882 2001-12-07  Frank Warmerdam  <warmerdam (a] pobox.com>
   4883 
   4884 	* html/Makefile.in: added missing images per bug 92.
   4885 
   4886 	* port/Makefile.in: fixed clean target per bug 92.
   4887 
   4888 2001-11-28  Frank Warmerdam  <warmerdam (a] pobox.com>
   4889 
   4890 	* Reissue 3.5.7 release.
   4891 
   4892 	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
   4893 	YYYYMMDD so that it is increasing over time. 
   4894 
   4895 	* Makefile.in: Ensure that tiffvers.h is regenerated in the
   4896 	make release target.
   4897 
   4898 	* Makefile.in: added libtiff/tiffvers.h to the release file list.
   4899 
   4900 2001-11-23  Frank Warmerdam  <warmerdam (a] pobox.com>
   4901 
   4902 	* added html/v3.5.7.html, updated html/index.html.
   4903 
   4904 	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
   4905 
   4906 2001-11-15  Frank Warmerdam  <warmerdam (a] pobox.com>
   4907 
   4908 	* configure: fixed test for -lm.
   4909 
   4910 2001-11-02  Frank Warmerdam  <warmerdam (a] pobox.com>
   4911 
   4912 	* Added PHOTOMETRIC_ITULAB as per bug 90.
   4913 
   4914 	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
   4915 
   4916 2001-10-10  Frank Warmerdam  <warmerdam (a] pobox.com>
   4917 
   4918 	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 
   4919 	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 
   4920 	in keeping with TIFF 6.0 standard in tiff.h
   4921 
   4922 	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
   4923 
   4924 2001-09-26  Frank Warmerdam  <warmerdam (a] pobox.com>
   4925 
   4926 	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
   4927 	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
   4928 
   4929 2001-09-24  Frank Warmerdam  <warmerdam (a] pobox.com>
   4930 
   4931 	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
   4932 
   4933 	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
   4934 
   4935 	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
   4936 	error about LZW not being available.
   4937 
   4938 	* libtiff/tif_dir.c: propagate failure to initialize compression
   4939 	back from TIFFSetField() as an error status, so applications can 
   4940 	detect failure.
   4941 
   4942 	* libtiff/tif_dir.c: removed the auto replacement of 
   4943 	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
   4944 
   4945 	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
   4946 	from CVS as they are all supposed to be auto-generated by configure.
   4947 
   4948 2001-09-22  Frank Warmerdam  <warmerdam (a] pobox.com>
   4949 
   4950 	* libtiff/tif_ojpeg.c: new update from Scott. 
   4951 
   4952 2001-09-09  Frank Warmerdam  <warmerdam (a] pobox.com>
   4953 
   4954 	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
   4955 	always use the "safe" version, even if there is a very slight
   4956 	cost in performance.
   4957 
   4958 	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
   4959 
   4960 	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
   4961 	in two places.
   4962 
   4963 	* libtiff/tif_getimage.c: Fixed problem with reading strips or
   4964 	tiles that don't start on a tile boundary.  Fix contributed by
   4965 	Josep Vallverdu (from HP), and further described in bug 47.
   4966 
   4967 	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
   4968 
   4969 	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 
   4970 
   4971 	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
   4972 
   4973 2001-09-06  Frank Warmerdam  <warmerdam (a] pobox.com>
   4974 
   4975 	* libtiff/tif_packbits.c: fixed memory overrun error.
   4976 
   4977 	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
   4978 	
   4979 2001-08-31  Frank Warmerdam  <warmerdam (a] pobox.com>
   4980 
   4981 	* libtiff/tif_getimage.c: relax handling of contig case where
   4982 	there are extra samples that are supposed to be ignored.  This
   4983 	should now work for 8bit greyscale or palletted images.  
   4984 
   4985 	http://bugzilla.remotesensing.org/show_bug.cgi?id=75	
   4986 
   4987 2001-08-28  Frank Warmerdam  <warmerdam (a] pobox.com>
   4988 
   4989 	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
   4990 	images with more than four samples per pixel.  See:
   4991 
   4992 	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
   4993 
   4994 2001-08-10  Frank Warmerdam  <warmerdam (a] pobox.com>
   4995 
   4996 	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
   4997 	in TIFFReadRGBATile() to avoid issues in cases of overlapping
   4998 	buffers.  See Bug 69 in Bugzilla. 
   4999 
   5000 	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
   5001 	
   5002 	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
   5003 
   5004 2001-08-09  Frank Warmerdam  <warmerdam (a] pobox.com>
   5005 
   5006 	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 
   5007 	when checking for 64 bit architectures as per bugzilla bug 67.
   5008 
   5009 2001-07-27  Frank Warmerdam  <warmerdam (a] pobox.com>
   5010 
   5011 	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
   5012 	bug 66.
   5013 
   5014 2001-07-20  Frank Warmerdam  <warmerdam (a] pobox.com>
   5015 
   5016 	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 
   5017 	has been included.
   5018 
   5019 2001-07-19  Frank Warmerdam  <warmerdam (a] pobox.com>
   5020 
   5021 	* libtiff/tif_open.c: Seek back to zero after failed read,
   5022 	before writing header.
   5023 
   5024 2001-07-18  Frank Warmerdam  <warmerdam (a] pobox.com>
   5025 
   5026 	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
   5027 	much better.  Now depends on having patched libjpeg as per
   5028 	patch in contrib/ojpeg/*. 
   5029 
   5030 2001-07-17  Frank Warmerdam  <warmerdam (a] pobox.com>
   5031 
   5032 	* */Makefile.in: added DESTDIR support. 
   5033 
   5034 	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
   5035 
   5036 2001-07-16  Frank Warmerdam  <warmerdam (a] pobox.com>
   5037 
   5038 	* configure, libtiff/Makefile.in: applied OpenBSD patches
   5039 	as per:
   5040 	
   5041 	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
   5042 
   5043 2001-06-28  Frank Warmerdam  <warmerdam (a] pobox.com>
   5044 
   5045 	* libtiff/tif_getimage.c: Fixed so that failure is properly
   5046 	reported by gtTileContig, gtStripContig, gtTileSeparate and 
   5047 	gtStripSeparate.
   5048 
   5049 	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
   5050 
   5051 	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.  
   5052 	Updated bug section of tiffcmp.1 to note tiled file issues.
   5053 	
   5054 	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
   5055 
   5056 2001-06-22  Frank Warmerdam  <warmerdam (a] pobox.com>
   5057 
   5058 	* configure: Changes for DSO generation on AIX provided by
   5059 	John Marquart <jomarqua (a] indiana.edu>.
   5060 
   5061 	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
   5062 	on Darwin thanks to Robert Krajewski (rpk (a] alum.mit.edu) and
   5063 	Keisuke Fujii (fujiik (a] jlcuxf.kek.jp).
   5064 
   5065 2001-06-13  Frank Warmerdam  <warmerdam (a] pobox.com>
   5066 
   5067 	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
   5068 
   5069 	* man/tiff2rgba.1: new
   5070 
   5071 2001-05-22  Frank Warmerdam  <warmerdam (a] pobox.com>
   5072 
   5073 	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
   5074 
   5075 2001-05-13  Frank Warmerdam  <warmerdam (a] pobox.com>
   5076 
   5077 	* libtiff/tools/thumbnail.c: changed default output compression
   5078 	to packbits from LZW since LZW isn't generally available.
   5079 
   5080 2001-05-12  Frank Warmerdam  <warmerdam (a] pobox.com>
   5081 
   5082 	* libtiff/tif_ojpeg.c: New.
   5083 	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
   5084 	to OJPEG support.
   5085 
   5086 	Scott Marovich <marovich (a] hpl.hp.com> supplied OJPEG support.
   5087 
   5088 2001-05-11  Frank Warmerdam  <warmerdam (a] pobox.com>
   5089 
   5090 	* tiff.h: removed, it duplicates libtiff/tiff.h.
   5091 
   5092 2001-05-08  Frank Warmerdam  <warmerdam (a] pobox.com>
   5093 
   5094 	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to 
   5095 	ensure everything is in order.
   5096 
   5097 	* libtiff/libtiff.def: added TIFFCreateDirectory and 
   5098 	TIFFDefaultStripSize as per:
   5099 
   5100 	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
   5101 
   5102 2001-05-02  Frank Warmerdam  <warmerdam (a] pobox.com>
   5103 
   5104 	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
   5105 	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
   5106 	force use of uint32 counts instead of short counts. 
   5107 
   5108 	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
   5109 	case of writing TIFF_BYTE/TIFF_SBYTE fields.  
   5110 
   5111 	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
   5112 
   5113 2001-05-01  Frank Warmerdam  <warmerdam (a] pobox.com>
   5114 
   5115 	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
   5116 	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
   5117 
   5118 2001-04-05  Frank Warmerdam  <warmerdam (a] pobox.com>
   5119 
   5120 	* tiffio.h: removed C++ style comment.
   5121 
   5122 	* configure: fixed up SCRIPT_SH/SHELL handling.
   5123 
   5124 	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
   5125 
   5126 	* config.guess: documented more variables as per bug 40.
   5127 
   5128 2001-04-03  Frank Warmerdam  <warmerdam (a] pobox.com>
   5129 
   5130 	* configure, *Makefile.in: Various changes to improve configuration
   5131 	for HP/UX specifically, and also in general.  They include:
   5132 	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
   5133 	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
   5134 	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
   5135 	 - Use -${MAKEFLAGS} in sub makes from makefiles.
   5136 
   5137 	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
   5138 
   5139 2001-04-02  Frank Warmerdam  <warmerdam (a] pobox.com>
   5140 
   5141 	* libtiff/tiff.h: Applied hac to try and resolve the problem
   5142 	with the inttypes.h include file on AIX.
   5143 
   5144 	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
   5145 	
   5146 	* VERSION: update to 3.5.7 beta in preparation for release.
   5147 
   5148 	* configure/config.site: modified to check if -lm is needed for
   5149 	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
   5150 
   5151 	* config.guess: updated wholesale to an FSF version apparently 
   5152 	from 1998 (as opposed to 1994).  This is mainly inspired by 
   5153 	providing for MacOS X support.
   5154 
   5155 2001-03-29  Frank Warmerdam  <warmerdam (a] pobox.com>
   5156 
   5157 	* configure, Makefile.in, etc: added support for OPTIMIZER being
   5158 	set from config.site. 
   5159 
   5160 2001-03-28  Frank Warmerdam  <warmerdam (a] pobox.com>
   5161 
   5162 	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
   5163 
   5164 	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
   5165 	sizes. It fixes two problems:
   5166 
   5167 	Without	scaling (-S) the fax is now centered on the page size specified
   5168 	with -H	and/or -W. Before, fax2ps was using an obscure and practially
   5169 	useless algorithm to allocate the image relative to Letter sized paper
   5170 	which sometime sled to useless whitespace on the paper, while at the
   5171 	same time cutting of the faxes printable area at the opposite border.
   5172 
   5173 	Second, scaling now preserves aspect ratio, which makes unusual faxes
   5174 	(in particular short ones) print properly.
   5175 
   5176 	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
   5177 	
   5178 	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
   5179 	Bruce A. Mallett.  See check message for detailed information
   5180 	on all the changes, including a faster encoder, fixes for level
   5181 	2 PostScript, and support for the imagemask operator.
   5182 
   5183 2001-03-27  Frank Warmerdam  <warmerdam (a] pobox.com>
   5184 
   5185 	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 
   5186 	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
   5187 
   5188 	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
   5189 
   5190 2001-03-16  Frank Warmerdam  <warmerdam (a] pobox.com>
   5191 
   5192 	* tif_dirinfo.c: moved definition of copyright tag in field list.
   5193 	Apparently they have to be in sorted order by tag id.
   5194 
   5195 2001-03-13  Frank Warmerdam  <warmerdam (a] pobox.com>
   5196 
   5197 	* tif_getimage.c: Added support for 16bit minisblack/miniswhite 
   5198 	images in RGBA interface.
   5199 
   5200 2001-03-02  Frank Warmerdam  <warmerdam (a] pobox.com>
   5201 
   5202 	* Added TIFFTAG_COPYRIGHT support.
   5203 
   5204 2001-02-19  Frank Warmerdam  <warmerdam (a] pobox.com>
   5205 
   5206 	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
   5207 	with support for extracting subimages with the ,n syntax, and also
   5208 	adding the -b bias removal flag. 
   5209 
   5210 2001-02-16  Frank Warmerdam  <warmerdam (a] pobox.com>
   5211 
   5212 	* libtiff/libtiff.def: Brent Roman submitted new version adding
   5213 	serveral missing entry points. 
   5214 
   5215 	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
   5216 	Some sort of weird VMS thing.  
   5217 
   5218 	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
   5219 
   5220 	* tif_luv.c/tiff.h/tiffio.h: 
   5221 	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 
   5222 	(greg (a] shutterfly.com).  He writes:
   5223 
   5224 	1) I improved the gamut-mapping function in tif_luv.c for imaginary
   5225 	colors, because some images were being super-saturated on the input 
   5226 	side and this resulted in some strange color shifts in the output.
   5227 
   5228 	2) I added a psuedotag in tiff.h to control random dithering during
   5229 	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and 
   5230 	on for 24-bit LogLuv output.  Dithering improves the average color 
   5231 	accuracy over the image.
   5232 
   5233 	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
   5234 	tiffio.h, to expose internal routines for converting between LogLuv and
   5235 	XYZ coordinates.  This is helpful for writing more efficient,
   5236 	specialized conversion routines, especially for reading LogLuv files.
   5237 
   5238 	Changes applied with minor edits.
   5239 
   5240 2001-01-23  Frank Warmerdam  <warmerdam (a] pobox.com>
   5241 
   5242 	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
   5243 	whether we are encoding or decoding.  This is to ensure graceful 
   5244 	recovery if TIFFClientOpen() discovers an attempt to open a compressed
   5245 	file for "r+" access, and subsequently close it, as it resets the 
   5246 	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
   5247 	compressor's concept of whether it is in encode or decode mode.
   5248 
   5249 2001-01-08  Mike Welles <mike (a] bangstate.com> 
   5250 
   5251 	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
   5252 	
   5253 2001-01-07  Frank Warmerdam  <warmerdam (a] pobox.com>
   5254 
   5255 	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
   5256 	as per bug report by Patrick Connor. 
   5257 
   5258 2000-12-28  Frank Warmerdam  <warmerdam (a] pobox.com>
   5259 
   5260 	* Added RELEASE-DATE file to release file list.
   5261 
   5262 	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
   5263 
   5264 2000-12-22  Mike Welles <mike (a] bangstate.com> 
   5265         * added link to CVS mirror from index.html
   5266 	
   5267 	* updated html/internals.html to note that LZW compression is 
   5268 	  not supported by default. 
   5269 	
   5270 2000-12-22  Frank Warmerdam  <warmerdam (a] pobox.com>
   5271 
   5272 	* updated html/libtiff.html to not point at Niles' old JPL web site
   5273 	for the man pages, point at www.libtiff.org.
   5274 
   5275 2000-12-21  Frank Warmerdam  <warmerdam (a] pobox.com>
   5276 
   5277 	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
   5278 	Leonard Rosenthol <leonardr (a] lazerware.com>.  May interfere
   5279 	with correct building on older systems.  If so, please let me know.
   5280 
   5281 2000-12-19 Mike Welles <mike (a] bangsate.com>   
   5282 
   5283 	* Took out LZW Encoding from tif_lzw.c 
   5284 
   5285 	* Created HOWTO-RELEASE
   5286 
   5287 	* Created html/v3.5.6.html
   5288 
   5289 	* updated index.html
   5290 	
   5291 2000-12-01  Frank Warmerdam  <warmerdam (a] pobox.com>
   5292 
   5293 	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 
   5294 	Patches supplied by Frank Cringle <fdc (a] cliwe.ping.de>
   5295 	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
   5296 
   5297 2000-11-24  Frank Warmerdam  <warmerdam (a] pobox.com>
   5298 
   5299 	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
   5300 	target so that the private headers required by libgeotiff can be
   5301 	installed with the others.  They are not installed by default.
   5302 
   5303 	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
   5304 	targets so libtiff.so will be built with an explicit dependency
   5305 	on libm.so.
   5306 
   5307 	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 
   5308 	libtiff.so.3.5.5.  
   5309 
   5310 	* libtiff/Makefile.in & configure: Remove all references to the ALPHA 
   5311 	file, or ALPHA version logic.  Added stuff about DIST_POINT in 
   5312 	place of DIST_TYPE and the alpha release number stuff.
   5313 
   5314 2000-11-22  Frank Warmerdam  <warmerdam (a] pobox.com>
   5315 
   5316 	* I have applied a patch from Steffen Moeller <moeller (a] ebi.ac.uk> to
   5317 	the configure script so that it now accepts the --prefix, and 
   5318 	--exec-prefix directives. 
   5319 
   5320 2000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
   5321 
   5322 	* I have made a variety of modifications in an effort to ensure the 
   5323 	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
   5324 	file which seems to be updated regularly.  
   5325 
   5326 	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 
   5327 	   version include file. 
   5328 	 o renamed version.h to tiffvers.h because we now have to install it 
   5329 	   with the public libtiff include files.  
   5330 	 o include tiffvers.h in tiffio.h. 
   5331 	 o updated tif_version.c to use tiffvers.h.
   5332 	 o Updated Makefile.in accordingly.
   5333 
   5334 	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
   5335 	I have updated the win32 detection rules in tiffcomp.h.
   5336 
   5337 2000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
   5338 
   5339 	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
   5340 	the strip/tile width and height aren't multiples of the sampling size.
   5341 	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
   5342 	Some patches from Rick LaMont of Dot C Software.
   5343 
   5344 	* Modified tif_packbits.c encoder to avoid compressing more 
   5345 	data than provided if rowsize doesn't factor into provided data
   5346 	(such as occurs for YCbCr).
   5347 
   5348 2000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
   5349 
   5350 	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical 
   5351 	roundup if rows_per_strip not a multiple of vertical sample size.
   5352 
   5353 2000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
   5354 
   5355 	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
   5356 	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
   5357 	from vandrove (a] vc.cvut.cz.
   5358 
   5359 	* Modified tif_packbits.c decoding to avoid overrunning the
   5360 	output buffer, and to issue a warning if data needs to be
   5361 	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
   5362 
   5363 2000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
   5364 
   5365 	* Modified tiff2bw to ensure portions add to 100%, and that
   5366 	white is properly recovered. 
   5367 	
   5368 	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
   5369 	Patch c/o Stanislav Brabec <utx (a] penguin.cz>
   5370 
   5371 2000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
   5372 
   5373 	* Modified TIFFClientOpen() to emit an error on an attempt to
   5374 	open a comperessed file for update (O_RDWR/r+) access.  This is
   5375 	because the compressor/decompressor code gets very confused when
   5376 	the mode is O_RDWR, assuming this means writing only.  See
   5377 	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
   5378 
   5379 2000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
   5380 
   5381 	* Added GNULDdso target an`d switched linux and freebsd to use it. 
   5382 
   5383 2000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
   5384 
   5385 	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
   5386 	of EXPAND1D() as per bug 11 (from Roman). 
   5387 
   5388 2000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
   5389 	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
   5390 	cygwin compatibility.
   5391 
   5392 	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
   5393 	be a proper fix to the buffer sizing problem.  See 
   5394 	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
   5395 
   5396 	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
   5397 	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
   5398 	Thanks to Nick Lamb <njl98r (a] ecs.soton.ac.uk> for reporting the
   5399 	bug and proving the patch.
   5400 	
   5401 2000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
   5402 
   5403 	* Fixed tif_jpeg.c so avoid destroying the decompressor before
   5404 	we are done access data thanks to bug report from:
   5405 	Michael Eckstein <eckstein (a] gepro.cz>.
   5406 
   5407 	* Reverted tif_flush change.
   5408 
   5409 2000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
   5410 
   5411 	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
   5412 	error when TIFF_BEENWRITING is not set.  This ensures that the
   5413 	directory contents can still be flushed by TIFFFlush().
   5414 
   5415 2000-08-14  Frank Warmerdam  <warmerda (a] rommel.atlsci.com>
   5416 
   5417 	* tif_open.c: Don't set MMAP for O_RDWR files.
   5418 
   5419 	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
   5420 	so that files opened for update can be strip chopped too.
   5421 
   5422 	* tif_read.c: fixed up bug with files missing rowsperstrip and
   5423 	the strips per separation fix done a few weeks ago.
   5424 
   5425 2000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
   5426 
   5427 	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
   5428 	SAMPLEFORMAT_COMPLEXINT.
   5429 
   5430 2000-07-13  Mike Welles <mike (a] onshore.com> 
   5431 
   5432 	* index.html, bugs.html: added bugzilla info. 
   5433 	
   5434 2000-07-12  Frank Warmerdam  <warmerda (a] rommel.atlsci.com>
   5435 
   5436 	* tif_read.c: fix subtle bug with determining the number of
   5437 	rows for strips that are the last strip in a separation but
   5438 	not the last strip of all in TIFFReadEncodedStrip().  
   5439 
   5440 	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
   5441 	Peter Skarpetis <peters (a] serendipity-software.com.au>
   5442 
   5443 2000-06-15  Frank Warmerdam  <warmerda (a] rommel.atlsci.com>
   5444 
   5445 	* Modified tiffio.h logic with regard to including windows.h.  It
   5446 	won't include it when building with __CYGWIN__.
   5447 
   5448 2000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
   5449 
   5450 	* README: update to mention www.libtiff.org, don't list Sam's old
   5451 	email address.
   5452 
   5453 	* configure: Fixed DSO test for Linux as per patch from
   5454 	  Jan Van Buggenhout <chipzz (a] Ace.ULYSSIS.Student.KULeuven.Ac.Be>.
   5455 
   5456 2000-04-21  Frank Warmerdam  <warmerda (a] rommel.atlsci.com>
   5457 
   5458 	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
   5459 	one tile/strip images with an offset, and byte count of zero. These
   5460 	could be "unpopulated" images. 
   5461 
   5462 2000-04-18  Frank Warmerdam  <warmerda (a] rommel.atlsci.com>
   5463 
   5464 	* contrib/addtiffo: Added "averaging" resampling option.
   5465 
   5466 	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
   5467 
   5468 Tue Apr 18 16:18:08 2000  Frank Warmerdam  <warmerda (a] esabot.atlsci.com>
   5469 
   5470 	* tools/Makefile.in: Modified to install properly on SGI.
   5471 
   5472 2000-04-12  Mike Welles	     <mike (a] onshore.com>
   5473 	* configure:  Fixed stupid mistake in libc6 test on Linux
   5474 
   5475 2000-04-04  Mike Welles	     <mike (a] onshore.com> 
   5476 	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
   5477 	  caught by BoundsChecker.  From Arvan Pritchard 
   5478 	  <arvan.pritchard (a] infomatix.co.uk>  (untested). 
   5479 	
   5480 	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From 
   5481 	  Arvan Pritchard <arvan.pritchard (a] informatix.co.uk>
   5482 	
   5483 	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From 
   5484 	  Arvan Pritchard <arvan.pritchard (a] informatix.co.uk>
   5485 	
   5486 2000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
   5487 
   5488 	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
   5489 
   5490 2000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
   5491 
   5492 	* fax2ps: Fixed mixup of width and height in bounding box statement
   5493 	as per submission by Nalin Dahyabhai <nalin (a] redhat.com>.
   5494 
   5495 2000-03-27  Mike Welles	     <mike (a] onshore.com> 
   5496 
   5497 	* fax2ps:  Modified printruns to take uint32 instead of uint16.  
   5498 	Patch courtesy of Bernt Herd <herd (a] herdsoft.com> 
   5499 	
   5500 2000-03-20  Mike Welles	     <mike (a] onshore.com> 
   5501 
   5502 	* configure: added test for libc6 for linux targets.  Bug reported by 
   5503         Stanislav Brabec <utx (a] k332.feld.cvut.cz>
   5504 
   5505 	* Added 3.5 docs to html/Makefile.in.  
   5506 	Thanks to  Stanislav Brabec <utx (a] k332.feld.cvut.cz>
   5507 
   5508 	* configure: fixed bugs in sed scripts 
   5509 	(applied sed script s:/@:s;@:;s:/s;;:;: to configure). 
   5510 	fix submitted to Stanislav Brabec <utx (a] k332.feld.cvut.cz>
   5511 
   5512 	* tools/iptcutil was not in files list, and wasn't being 
   5513 	added to tar archive.  Updated Makefile.in.
   5514 
   5515 2000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
   5516 
   5517 	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
   5518 	conversion for the run arrays.  
   5519 
   5520 2000-03-03  Frank Warmerdam  <warmerda (a] cs46980-c.mtnk1.on.wave.home.com>
   5521 
   5522 	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 
   5523 	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
   5524 
   5525 2000-03-02  Frank Warmerdam  <warmerda (a] cs46980-c.mtnk1.on.wave.home.com>
   5526 
   5527 	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
   5528 
   5529 	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
   5530 	to avoid overruns encountered with frle_bug.tif.
   5531 
   5532 Tue Feb 15 22:01:05 2000  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5533 
   5534 	* Fixed tools/tiffcmp so that stopondiff testing works.
   5535 	  Patch care of Joseph Orost <joe (a] sanskrit.lz.att.com>.
   5536 
   5537 2000-01-28    <warmerda@CS46980-B>
   5538 
   5539 	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
   5540 	  set to 1, and added default (off) setting in tiffconf.h.  This
   5541 	  should eventually be set by the configure script somehow.
   5542 
   5543 	  The original work on all these 2-4GB changes was done by 
   5544 	  Peter Smith (psmith (a] creo.com).
   5545 
   5546 	* Modified tif_win32.c to support 2-4GB seeks.
   5547 
   5548 	* tentatively changed toff_t to be unsigned instead of signed to
   5549 	  facilitate support for 2-4GB files. 
   5550 
   5551 	* Updated a variety of files to use toff_t.  Fixed some mixups
   5552 	  between toff_t and tsize_t.
   5553 
   5554 Fri Jan 28 10:13:49 2000  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5555 
   5556 	* Largely reimplemented contrib/addtiffo to avoid temp files, 
   5557 	updating the TIFF file in place.  Fixed a few other bugs to.
   5558 
   5559 	* Set tif_rawdatasize to zero when freeing raw data buffer in
   5560 	TIFFWriteDirectory().
   5561 
   5562 	* Enabled "REWRITE_HACK" in tif_write.c by default.
   5563 
   5564 	* Fix bug in tif_write.c when switching between reading one directory
   5565 	and writing to another. 
   5566 
   5567 	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
   5568 
   5569 Wed Jan  5 12:37:48 2000  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5570 
   5571 	* Added TIFFmemory(3t) functions to libtiff.def.
   5572 
   5573 Tue Jan  4 13:39:00 2000  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5574 
   5575 	* Added libtiff/libtiff.def to TIFFILES distribution list.
   5576 
   5577 Mon Dec 27 12:13:39 EST 1999  Mike Welles <mike (a] onshore.com> 
   5578 
   5579 	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 
   5580 
   5581 	* Altered descriptions in tools to reflect "by default" lzw not supported
   5582 
   5583 	* Updated index.html to note lzw compression kit. 
   5584 	
   5585 Tue Dec 21 14:01:51 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5586 
   5587 	* Added fax3sm_winnt.c to distribution list in Makefile.in. 
   5588 
   5589 Tue Dec 21 11:04:45 EST 1999  Mike Welles <mike (a] onshore.com> *** 3.5.4 release ***
   5590 	
   5591 	* Aadded Pixar tag support.  Contributed by Phil Beffery <phil (a] pixar.com> 
   5592 
   5593 	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice 
   5594 	  when LZW compression invoked. 
   5595 
   5596 	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
   5597 	  in tools to reflect removal of LZW compression
   5598 	  
   5599 Mon Dec 20 18:39:02 EST 1999  Mike Welles  <mike (a] onshore.com>
   5600 
   5601         * Fixed bug that caused LZW (non) compression to segfault. Added 
   5602 	  warning about LZW compression removed being removed, and why. 
   5603 
   5604 	* Added nostrip to install in tools/Makefile.in so that debugging 
   5605 	  symbols are kept. 
   5606 	
   5607 Tue Dec  7 12:04:47 EST 1999  Mike Welles  <mike (a] onshore.com>
   5608 
   5609 	* Added patch from Ivo Penzar <ivo.penzar (a] infolink-software.com>, 
   5610 	  supporting Adobe ZIP deflate.  Untested. 
   5611 	
   5612 Sat Dec  4 15:47:11 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5613 
   5614 	* Made Packbits the default compression in tools/tiff2rgba.c instead
   5615 	of LZW.
   5616 
   5617 Tue Nov 30 14:41:43 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>    *** 3.5.3. release ***
   5618 
   5619 	* Added tif_luv to contrib/djgpp/Makefile.lib.
   5620 
   5621 Tue Nov 30 14:15:32 EST 1999   Mike Welles <mike (a] onshore.com> 
   5622 
   5623         * Added zip creation to relase makefile target 
   5624 
   5625 	* Added html for TIFFWriteTile.3t man page. 
   5626 	
   5627 Tue Nov 30 09:20:16 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5628 
   5629 	* Added some changes to tif_write.c to support rewriting existing
   5630 	fixed sized tiles and strips.  Code mods disabled by default, only
   5631 	enabled if REWRITE_HACK is defined for now.
   5632 
   5633 Mon Nov 29 11:43:42 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5634 
   5635 	* Added TIFFWriteTile.3t man page.
   5636 
   5637 Sun Nov 28 20:36:18 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5638 
   5639 	* Added notes on use of makefile.vc in build.html, and fixed 
   5640 	email subscription address.
   5641 
   5642 199-11-28  Mike Welles <mike (a] onshore.com> 
   5643 
   5644 	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 
   5645 
   5646 	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
   5647 	   from Bruce Carmeron <cameron (a] petris.com> -- modifications of 
   5648 	   changes made by Frank (sun cc still complained on cast). 
   5649 
   5650 	*  Added tiffconf.h to install target per request from Bill
   5651 	   Radcliffe <billr (a] corbis.com>: "We need a way for ImageMagick to
   5652  	   know features have been compiled into the TIFF library in order to
   5653 	   handle things properly".  
   5654 	
   5655 Sat Nov 27 16:49:21 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5656 
   5657 	* fixed various VC++ warnings as suggested by Gilles Vollant
   5658 	<info (a] winimage.com>.  
   5659 
   5660 Wed Nov 24 12:08:16 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5661 
   5662 	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
   5663 	not imply applications are responsible for image data swapping.
   5664 
   5665 1999-11-22  Mike Welles <mike (a] onshore.com>
   5666 	*  HTML-ized the man pages, added to html/man
   5667 	
   5668 	*  Removed LZW Compression to comply with Unisys patent extortion. 
   5669 	
   5670 1999-09-29  Mike Welles		<mike (a] onshore.com> 
   5671 	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 
   5672 	   From Ivo Penzar <ivo.penzar (a] infolink-software.com. 
   5673 
   5674 	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
   5675 	   memory mapped files. <ivo.penzar (a] infolink-software.com>
   5676 	
   5677 1999-09-26  Mike Welles 	<mike (a] onshore.com>  *** 3.5.2 release ***
   5678 	* Corrected alpha versioning.  
   5679 
   5680 	* Removed distinction between  alpha and release targets in Makefile.in. 
   5681 
   5682 	* added release.stamp target, which tags cvs tree, and updates 
   5683 	  "RELEASE-DATE"
   5684 
   5685 	* added releasediff target, which diffs tree with source as of 
   5686 	  date in "RELEASE-DATE"
   5687 	  
   5688 	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 
   5689 	  away from alpha/non-alpha distinctions). 
   5690 
   5691 	* updated html to reflect release 
   5692 	
   5693 1999-09-23    <warmerda@CS46980-B>
   5694 
   5695 	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
   5696 
   5697 	* Added CYGWIN case in configure.
   5698 
   5699 Fri Sep 17 00:13:51 CEST 1999  Mike Welles <mike (a] onshore.com> 
   5700 
   5701 	* Applied Francois Dagand's patch to handle fax decompression bug. 
   5702 	  (sizes >= 65536 were failing) 
   5703 	
   5704 Tue Sep 14 21:31:43 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5705 
   5706 	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 
   5707 	  by Christopher Lawton <clawton (a] mathworks.com>
   5708 
   5709 Wed Sep  8 08:19:18 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5710 
   5711 	* Added IRIX/gcc, and OSF/1 4.x support on behalf of 
   5712 	  Albert Chin-A-Young <china (a] thewrittenword.com>
   5713 
   5714 	* Added TIFFReassignTagToIgnore() API on behalf of 
   5715 	  Bruce Cameron <cameron (a] petris.com>.  Man page still pending.
   5716 
   5717 Wed Aug 25 11:39:07 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5718 
   5719 	* Added test target in Makefile, test_pics.sh script and pics/*.rpt 
   5720 	files to provide for a rudimentary testsuite.
   5721 
   5722 	* Added contrib/tags back from old distribution ... fixed up a bit.
   5723 
   5724 1999-08-16    <warmerda@CS46980-B>
   5725 
   5726 	* Added simple makefile.vc makefiles for building with MS VC++
   5727 	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give 
   5728 	better solutions for some users.
   5729 
   5730 Mon Aug 16 21:52:11 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5731 
   5732 	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
   5733 	put it in tools since part of it is in C++.
   5734 
   5735 1999-08-16  Michael L. Welles  <mike (a] kurtz.fake>
   5736 
   5737 	* Updated html/index.html with anon CVS instructions. 
   5738 
   5739 Mon Aug 16 13:18:41 1999  Frank Warmerdam  <warmerda (a] gdal.velocet.ca>
   5740 
   5741 	* pre-remove so link before softlink in LINUXdso action in 
   5742 	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
   5743 	the first.
   5744 
   5745 	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
   5746 	colormaps owned by the TIFF handle itself when trying to fixup wrong
   5747 	(eight bit) colormaps.  Corrected by maintaining a private copy of
   5748 	the colormap. 
   5749 
   5750 	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 
   5751 	tif_getimage.c.
   5752 
   5753 	* CVS Repository placed at remotesensing.org.  ChangeLog added.
   5754