roentgen b75cab
2012-09-22  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff 4.0.3 released.
roentgen b75cab
roentgen b75cab
2012-09-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* Makefile.am: Update to Automake 1.12.4
roentgen b75cab
roentgen b75cab
2012-08-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* Makefile.in: Update to Automake 1.12.3
roentgen b75cab
roentgen b75cab
	* libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add
roentgen b75cab
	some TIFF/FX support in libtiff.  Add the tag definitions to
roentgen b75cab
	tiff.h.  Add the related TIFF field definitions to tif_dirinfo.c,
roentgen b75cab
	and also fixes an error in a comment.  Adds the photometric values
roentgen b75cab
	to tif_print.c, and fixes a bug.  These changes are by Steve
roentgen b75cab
	Underwood.
roentgen b75cab
roentgen b75cab
2012-08-13  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: Fix bug rewriting image tiles in a
roentgen b75cab
	compressed file: http://trac.osgeo.org/gdal/ticket/4771
roentgen b75cab
roentgen b75cab
2012-08-02  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: report error in case of mismatch value 
roentgen b75cab
	counts for tags (ie. DotRange).
roentgen b75cab
roentgen b75cab
2012-07-26  Tom Lane  <tgl@sss.pgh.pa.us>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new
roentgen b75cab
 	functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(),
roentgen b75cab
	TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount()
roentgen b75cab
	as external accessors for the opaque type TIFFField.
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: Make tiffset use the above functions instead of
roentgen b75cab
	relying on library private headers.
roentgen b75cab
roentgen b75cab
2012-07-19  Tom Lane  <tgl@sss.pgh.pa.us>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fix two places where t2p_error didn't get set
roentgen b75cab
	after a malloc failure.  No crash risk AFAICS, but the program
roentgen b75cab
	might not report exit code 1 as desired.  h/t mancha@mac.hush.com
roentgen b75cab
roentgen b75cab
2012-07-18  Tom Lane  <tgl@sss.pgh.pa.us>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails.  This
roentgen b75cab
	prevents core dumps or perhaps even arbitrary code execution when
roentgen b75cab
	processing a corrupt input file (CVE-2012-3401).
roentgen b75cab
roentgen b75cab
2012-07-06  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+.
roentgen b75cab
	IJG JPEG 7+ uses a different upsampling algorithm which produces
roentgen b75cab
	different numeric results.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to
roentgen b75cab
	work with IJG JPEG 7+.
roentgen b75cab
roentgen b75cab
2012-07-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/raw_decode.c: Add changes so that test can run with build
roentgen b75cab
	directory outside of source directory.
roentgen b75cab
roentgen b75cab
2012-07-02  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed
roentgen b75cab
	imagery (http://trac.osgeo.org/gdal/ticket/4732)
roentgen b75cab
roentgen b75cab
2012-06-20  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: fix memory initialization of runs, only
roentgen b75cab
	partly done.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one
roentgen b75cab
	full "stride" past the end.
roentgen b75cab
roentgen b75cab
2012-06-19  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_packbits.c: fix read past end of data buffer. 
roentgen b75cab
roentgen b75cab
2012-06-15  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	*  libtiff 4.0.2 released.
roentgen b75cab
roentgen b75cab
	* tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable
roentgen b75cab
	warnings with clang.
roentgen b75cab
roentgen b75cab
2012-06-15  Tom Lane  <tgl@sss.pgh.pa.us>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Defend against integer overflows while
roentgen b75cab
	calculating required buffer sizes (CVE-2012-2113).
roentgen b75cab
roentgen b75cab
2012-06-12  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: Be careful about printing corrupt inknames.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: Ensure runs array is initialized to zeros.
roentgen b75cab
roentgen b75cab
2012-06-07  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: avoid pretty printing other fields when
roentgen b75cab
	we don't have the proper amount and type of data or if the field
roentgen b75cab
	is actually autodefined.
roentgen b75cab
roentgen b75cab
2012-06-05  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal
roentgen b75cab
	ycbcrsubsampling values result in a runtime error, not just an
roentgen b75cab
	assertion.
roentgen b75cab
roentgen b75cab
	* tests/custom_dir.c: Add testing of EXIF and custom directory
roentgen b75cab
	reading and writing.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory()
roentgen b75cab
	and TIFFCreateEXIFDirectory() functions.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for
roentgen b75cab
	PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING.  Implement DOTRANGE
roentgen b75cab
	differently.  This is to avoid using special TIFFGetField/TIFFSetField 
roentgen b75cab
	rules for these fields in non-image directories (like EXIF).
roentgen b75cab
roentgen b75cab
2012-06-04  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling
roentgen b75cab
	in JPEGPreDecode().  If a fixup will be done it needs to be done sooner
roentgen b75cab
	in JPEGFixupTagsSubsampling() or else buffer sized may be wrong.
roentgen b75cab
roentgen b75cab
2012-06-01  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffinfo.c: Do not try to read image data in EXIF directories.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: added support for _SEPARATED CMYK images.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2379
roentgen b75cab
roentgen b75cab
	* libtiff/tif_unix.c: use strerror() to return a more specific error message
roentgen b75cab
	on failed open.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2341
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2386
roentgen b75cab
roentgen b75cab
	* tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support
roentgen b75cab
	for testing jpeg in tiff image decoding including the "raw" decode interface.
roentgen b75cab
roentgen b75cab
2012-05-31  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in
roentgen b75cab
	JPEGDecodeRaw() - mostly likely to occur when there is confusion about
roentgen b75cab
	sampling values.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2398
roentgen b75cab
roentgen b75cab
2012-05-29  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories,
roentgen b75cab
	like EXIF directories.  This fixes problems like a tag "320" existing in a custom directory getting
roentgen b75cab
	processed as if it were a colormap when it isn't really.  Damn the wide variety of argument formulations
roentgen b75cab
	to get/set functions for different tags!
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata
roentgen b75cab
	is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag.
roentgen b75cab
roentgen b75cab
2012-05-24  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward
roentgen b75cab
	accumulate" and overwrite the end by one word in at least some cases.
roentgen b75cab
roentgen b75cab
2012-05-23  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs.
roentgen b75cab
roentgen b75cab
	* tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on
roentgen b75cab
	the same image.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: make things more resilient in the face of files without
roentgen b75cab
	stripbytecounts or stripoffsets or where loading these fails.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: be careful about whether min/max values are singular
roentgen b75cab
	or one per sample.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: Avoid confusion about count size when printing custom fields.
roentgen b75cab
	May affect things like ISOSpeedRatings.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: avoid one byte past end of ink names reading
roentgen b75cab
	in some cases.
roentgen b75cab
roentgen b75cab
2012-05-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* man/TIFFGetField.3tiff: Correct the 'count' field type in the
roentgen b75cab
	example for how to retreive the value of unsupported tags.
roentgen b75cab
roentgen b75cab
2012-03-30  Frank Warmerdam  <warmerdam@google.com>
roentgen b75cab
roentgen b75cab
	* tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173)
roentgen b75cab
	care of Tom Lane @ Red Hat.
roentgen b75cab
roentgen b75cab
2012-02-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff 4.0.1 released.
roentgen b75cab
roentgen b75cab
	* Update automake used to 1.11.3.
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Use double-underbar syntax in GCC printf
roentgen b75cab
	attribute specification to lessen the risk of accidental macro
roentgen b75cab
	substitution.  Patch from Vincent Torri.
roentgen b75cab
roentgen b75cab
2012-01-31  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around
roentgen b75cab
	assumption tag fetching is always successful. 
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.
roentgen b75cab
roentgen b75cab
2012-01-22  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* configure.ac: Add support for using library symbol versioning on
roentgen b75cab
	ELF systems with the GNU linker.  Support is enabled via
roentgen b75cab
	--enable-ld-version-script.  Disabled by default for now until
roentgen b75cab
	there is a decision for how to deploy a libtiff with versioned
roentgen b75cab
	symbols after libtiff 4.0.0 was already released.
roentgen b75cab
roentgen b75cab
2011-12-22  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
roentgen b75cab
roentgen b75cab
	tif_win32.c.  Patch by Edward Lam.
roentgen b75cab
roentgen b75cab
	* configure.ac: Add libtiff private dependency on -llzma for
roentgen b75cab
	pkg-config.  Patch by Mark Brand.
roentgen b75cab
	Updated Automake to 1.11.2.
roentgen b75cab
roentgen b75cab
2011-12-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff 4.0.0 released.
roentgen b75cab
roentgen b75cab
2011-12-08  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking
roentgen b75cab
	of _TIFFFillStriles() results (#gdal 4372)
roentgen b75cab
roentgen b75cab
2011-12-07  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: fixes to deal with invalid files where
roentgen b75cab
	_TIFFFillStriles() fails, and we try to chop up strips (gdal #4372)
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: fix error reporting when there is no 
roentgen b75cab
	tag information struct and name (gdal #4373)
roentgen b75cab
roentgen b75cab
2011-10-22  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* Update GNU libtool to 2.4.2.
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
roentgen b75cab
	uint32 type for TIFFTAG_JPEGTABLES.  Patch by Christophe
roentgen b75cab
	Deroulers.
roentgen b75cab
roentgen b75cab
2011-06-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: Restore TIFFMergeFieldInfo.
roentgen b75cab
roentgen b75cab
2011-05-31  Jim Meyering  <meyering@redhat.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also
roentgen b75cab
	upon failure to allocate "resizeddata".
roentgen b75cab
	* tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for
roentgen b75cab
	allocation failure, not before.
roentgen b75cab
	* libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path
roentgen b75cab
	* tools/rgb2ycbcr.c (cvtRaster): unchecked malloc
roentgen b75cab
	* libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark
roentgen b75cab
	NULL-deref and possible overflow
roentgen b75cab
	* tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written"
roentgen b75cab
	* libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration
roentgen b75cab
	and set of otherwise unused local, data_is_empty.
roentgen b75cab
	* libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]:
roentgen b75cab
	Diagnose out-of-memory failure and return 0 rather than
roentgen b75cab
	dereferencing NULL.
roentgen b75cab
roentgen b75cab
2011-05-24  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: produce special error message for zero tag
roentgen b75cab
	directories instead of error out on the malloc(0) failure.
roentgen b75cab
roentgen b75cab
2011-05-16  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and
roentgen b75cab
	related declarations as they are in active use by libraries
roentgen b75cab
	such as libgeotiff, and work just fine.  (#2315)
roentgen b75cab
roentgen b75cab
2011-04-20  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete 
roentgen b75cab
	TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API. 
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2315
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: add some missing (64bit) APIs.  
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2316
roentgen b75cab
roentgen b75cab
2011-04-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff 4.0.0beta7 released.
roentgen b75cab
roentgen b75cab
2011-04-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* configure.ac: Should use AC_CANONICAL_HOST since host specifies
roentgen b75cab
	the run-time target whereas target is used to specify the final
roentgen b75cab
	output target if the package is a build tool (like a compiler),
roentgen b75cab
	which libtiff is not.  Resolves libtiff bug 2307 "Use
roentgen b75cab
	AC_CANONICAL_HOST macro".
roentgen b75cab
roentgen b75cab
2011-04-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* configure.ac: Support configuring TIFF_INT64_FORMAT and
roentgen b75cab
	TIFF_UINT64_FORMAT appropriately for MinGW32.
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32
roentgen b75cab
	printf conventions for 64-bit types because it uses the WIN32 CRT.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c,
roentgen b75cab
	tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32
roentgen b75cab
	printf conventions for 64-bit types because it uses the WIN32 CRT.
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not
roentgen b75cab
	understood by WIN32 CRT.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC.
roentgen b75cab
roentgen b75cab
	* tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since
roentgen b75cab
	it is much more portable.  Tmpfile is included in ISO/IEC
roentgen b75cab
	9899:1990 and the WIN32 CRT.
roentgen b75cab
roentgen b75cab
2011-03-26  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: add -d and -sd switches to allow operation on
roentgen b75cab
	a particular directory, not just the first (jef).
roentgen b75cab
roentgen b75cab
2011-03-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_thunder.c: Correct potential buffer overflow with 
roentgen b75cab
	thunder encoded files with wrong bitspersample set.  The libtiff 
roentgen b75cab
	development team would like to thank Marin Barbella and TippingPoint's
roentgen b75cab
	Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004,
roentgen b75cab
	CVE-2011-1167).
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2300
roentgen b75cab
roentgen b75cab
2011-03-10  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.h: Fix to last change allowing zero length 
roentgen b75cab
	runs at the start of a scanline - needed for legal cases.
roentgen b75cab
roentgen b75cab
2011-03-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding 
roentgen b75cab
	a move left.  Without this, a malicious input file can generate an 
roentgen b75cab
	indefinitely large series of runs without a0 ever reaching the right 
roentgen b75cab
	margin, thus overrunning our buffer of run lengths.  Per CVE-2011-0192.
roentgen b75cab
	This is a modified version of a patch proposed by Drew Yao of Apple 
roentgen b75cab
	Product Security.  It adds an unexpected() report, and disallows the 
roentgen b75cab
	equality case, since emitting a run without increasing a0 still allows 
roentgen b75cab
	buffer overrun.
roentgen b75cab
roentgen b75cab
2011-02-23  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296)
roentgen b75cab
roentgen b75cab
	* tools/tiff2rgba.c: close source file on error to make leak 
roentgen b75cab
	detection easier.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails.
roentgen b75cab
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2295
roentgen b75cab
roentgen b75cab
2011-02-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ
roentgen b75cab
	_SUPPORT)
roentgen b75cab
roentgen b75cab
2011-02-18  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure.ac, configure: Added support for --enable-chunky-strip-read
roentgen b75cab
	configure option to enable the experimental feature from a couple 
roentgen b75cab
	months ago for reading big strips in chunks. 
roentgen b75cab
roentgen b75cab
	* configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h, 
roentgen b75cab
	tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c:
roentgen b75cab
	Implement optional support for deferring the load of strip/tile 
roentgen b75cab
	offset and size tags for optimized scanning of directories.  Enabled
roentgen b75cab
	with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD
roentgen b75cab
	#define in tif_config.h). 
roentgen b75cab
roentgen b75cab
2011-02-11  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: remove unused variable.
roentgen b75cab
roentgen b75cab
2011-02-09  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: avoid error/warning buffer overrun problem
roentgen b75cab
	with non-console (popup message) builds on win32. 
roentgen b75cab
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2293
roentgen b75cab
roentgen b75cab
2011-01-24  Olivier Paquet  <olivier.paquet@gmail.com>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c,
roentgen b75cab
	tif_print.c, tiff.h, tiffiop.h} : Added support for
roentgen b75cab
	TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different
roentgen b75cab
	values for each sample. Presents the min/max of all samples by default for
roentgen b75cab
	compatibility. TIFFSetField/TIFFGetField can be made to handle those tags
roentgen b75cab
	as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag.
roentgen b75cab
	http://www.asmail.be/msg0055458208.html
roentgen b75cab
roentgen b75cab
2011-01-06  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not 
roentgen b75cab
	maintained.  
roentgen b75cab
roentgen b75cab
	* libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding 
roentgen b75cab
	for CHUNKY_STRIP_READ_SUPPORT.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained
roentgen b75cab
	during JPEGPreDecode and JPEGDecode calls.  
roentgen b75cab
	* libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT, 
roentgen b75cab
	as compression formats like JPEG keep 16 lines interleaved in a sense 
roentgen b75cab
	and might need to touch	quite a bit of data. 
roentgen b75cab
	
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/3894
roentgen b75cab
roentgen b75cab
2011-01-03  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images
roentgen b75cab
	caused by commit on 2010-12-14.  Submitted by e-mail from
roentgen b75cab
	Even Rouault <even.rouault@mines-paris.org>
roentgen b75cab
roentgen b75cab
2010-12-31  Olivier Paquet  <olivier.paquet@gmail.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2266
roentgen b75cab
roentgen b75cab
2010-12-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c, man/tiffcp.1: Added support for specifying the
roentgen b75cab
	compression level parameter (preset) for Deflate and LZMA encoders,
roentgen b75cab
	e.g "-c lzma:p1" or "-c zip:p9".
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzma.c: Properly set the LZMA2 compression level
roentgen b75cab
	(preset) in LZMAVSetField().
roentgen b75cab
roentgen b75cab
2010-12-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to
roentgen b75cab
	Makefile.
roentgen b75cab
roentgen b75cab
2010-12-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h,
roentgen b75cab
	tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new
roentgen b75cab
	TIFF compression scheme LZMA reserving a new value 34925 for
roentgen b75cab
	Compression tag. As per
roentgen b75cab
	bug http://bugzilla.maptools.org/show_bug.cgi?id=2221
roentgen b75cab
roentgen b75cab
2010-12-14  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: tolerate some cases where
roentgen b75cab
	FIELD_COLORMAP is missing
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2189
roentgen b75cab
roentgen b75cab
2010-12-14  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_read.c: change read_ahead to tmsize_t
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2222
roentgen b75cab
roentgen b75cab
2010-12-14  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* configure.ac, libtiff/Makefile.am: Build tif_win32.c on
roentgen b75cab
	Windows except on Cygwin
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2224
roentgen b75cab
roentgen b75cab
2010-12-14  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/gif2tiff.c: fix buffer overrun
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2270
roentgen b75cab
roentgen b75cab
2010-12-14  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order
roentgen b75cab
	to improve compatibility with various viewers
roentgen b75cab
	submitted by e-mail from Dwight Kelly <dkelly@apago.com>
roentgen b75cab
roentgen b75cab
2010-12-13  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/fax2ps.c: be consistent with page-numbering
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2225
roentgen b75cab
roentgen b75cab
2010-12-13  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_color.c: prevent crash in handling bad TIFFs
roentgen b75cab
	resolves CVE-2010-2595
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2208
roentgen b75cab
roentgen b75cab
2010-12-13  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: new release by Richard Nolde
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2004
roentgen b75cab
roentgen b75cab
2010-12-12  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: fix colors for images with RGBA 
roentgen b75cab
	interleaved data
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2250
roentgen b75cab
roentgen b75cab
2010-12-12  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2164
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: remove invalid duplication for Lab
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2162
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: fix use of clumplines calculation
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2149
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/fax2ps.c: replace unsafe tmpfile() with mkstemp()
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2118
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c,
roentgen b75cab
	  libtiff/tif_zip.c: fix build errors for VC6
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2105
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_stream.cxx: warnings cleanup
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2091
roentgen b75cab
	* libtiff/tif_dirread.c: warnings cleanup
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2092
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: add fill-page option
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2051
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: modify warnings
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2016
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: fix buffer overflow on problem data
roentgen b75cab
        http://bugzilla.maptools.org/show_bug.cgi?id=1999
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffinfoce.c: strip byte counts are uint64* now
roentgen b75cab
roentgen b75cab
2010-12-11  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
        * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
roentgen b75cab
        or missing byte-count tag
roentgen b75cab
        * tools/tiffsplit.c: abort when reading a TIFF without a byte-count
roentgen b75cab
        per http://bugzilla.maptools.org/show_bug.cgi?id=1996
roentgen b75cab
roentgen b75cab
2010-12-08  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
        * libtiff/tif_dirread.c: fix crash when reading a badly-constructed
roentgen b75cab
        TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994
roentgen b75cab
roentgen b75cab
2010-12-06  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
        * libtiff/tif_open.c: Fix mode check before opening a file.
roentgen b75cab
        http://bugzilla.maptools.org/show_bug.cgi?id=1906
roentgen b75cab
roentgen b75cab
2010-11-27  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
roentgen b75cab
	Patch by Vincent Torri.
roentgen b75cab
roentgen b75cab
2010-10-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler.
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf.
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: export _TIFFCheckMalloc for tools.
roentgen b75cab
roentgen b75cab
2010-09-25  Lee Howard <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: improvements and enhancements from Richard Nolde
roentgen b75cab
	with additional command line options for Document Title,
roentgen b75cab
	Document Creator, and Page Orientation
roentgen b75cab
roentgen b75cab
2010-07-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: Patch from Richard Nolde to avoid a
roentgen b75cab
	potentially unterminated buffer due to using an exceptionally long
roentgen b75cab
	file name.
roentgen b75cab
roentgen b75cab
2010-07-08  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fixed ID buffer filling in
roentgen b75cab
	t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
roentgen b75cab
roentgen b75cab
2010-07-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount()
roentgen b75cab
	to expected value as the warning message suggests. As per bug
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1963
roentgen b75cab
roentgen b75cab
2010-07-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER,
roentgen b75cab
	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE
roentgen b75cab
	which should be set by value.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag()
roentgen b75cab
	and _TIFFFieldWithName() if the tag is not found in the tag table.
roentgen b75cab
	This should be normal situation and returned NULL value should be
roentgen b75cab
	properly handled by the caller.
roentgen b75cab
roentgen b75cab
2010-07-02  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned
roentgen b75cab
	integer type conversions. As per bug
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2207
roentgen b75cab
roentgen b75cab
	* tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for
roentgen b75cab
	WhitePoint tag as per bug
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2042
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Check the number of samples per pixel when
roentgen b75cab
	working with YCbCr image in PickContigCase(). As per bug
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2216
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
roentgen b75cab
	TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
roentgen b75cab
	we don't need any post-processing. That helps to reset the hook if we
roentgen b75cab
	previously set this field to some other value and the hook was
roentgen b75cab
	initialized accordingly. As per bug
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2035
roentgen b75cab
roentgen b75cab
2010-07-01  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffgt.c: Properly check the raster buffer allocations for
roentgen b75cab
	integer overflows. As per bug
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2108
roentgen b75cab
roentgen b75cab
	* m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the
roentgen b75cab
	upstream.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move
roentgen b75cab
	multiply_32() and multiply_64() functions into tif_aux.c file and
roentgen b75cab
	rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively.
roentgen b75cab
roentgen b75cab
2010-06-30  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Better generation of ID field in
roentgen b75cab
	t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings.
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fixed computation of the tile buffer size when
roentgen b75cab
	converting JPEG encoded tiles.
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Better handling of string fields, use static
roentgen b75cab
	string buffers instead of dynamically allocated, use strncpy() instead
roentgen b75cab
	of strcpy(), control the string lengths.
roentgen b75cab
roentgen b75cab
2010-06-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Initialize buffer arrays with zero to avoid
roentgen b75cab
	referencing to uninitialized memory in some cases (e.g. when tile size
roentgen b75cab
	set bigger than the image size).
roentgen b75cab
roentgen b75cab
2010-06-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
roentgen b75cab
	subsampled data since tiffcrop currently doesn't support it.  Fix
roentgen b75cab
	JPEG support.
roentgen b75cab
roentgen b75cab
2010-06-13  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201)
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return" 
roentgen b75cab
	in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely 
roentgen b75cab
	wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual 
roentgen b75cab
	size is larger.  Also, there are a bunch of places that try to 
roentgen b75cab
	memset() a malloc'd buffer before checking for malloc failure, which 
roentgen b75cab
	would result in core dump if there actually were a failure. (#2211)
roentgen b75cab
roentgen b75cab
2010-06-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
roentgen b75cab
	avoid compiler warnings if parameter types are not sign
roentgen b75cab
	consistent.
roentgen b75cab
roentgen b75cab
	* libtiff 4.0.0alpha6 released.
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
roentgen b75cab
	European page size dimensions.  Added an option to allow the user
roentgen b75cab
	to specify a custom page size on the command line.  Fix the case
roentgen b75cab
	where a page size specified with a fractional part was being
roentgen b75cab
	coerced to an integer by retyping the variables that define the
roentgen b75cab
	paper size.
roentgen b75cab
roentgen b75cab
	* html/index.html: Update for the 3.9.3 release.
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
roentgen b75cab
	YCbCr subsampled data since tiffcp currently doesn't support it.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2097
roentgen b75cab
roentgen b75cab
	* Update libtool to version 2.2.10.
roentgen b75cab
roentgen b75cab
2010-06-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
roentgen b75cab
	multiplier is zero.
roentgen b75cab
roentgen b75cab
2010-06-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
roentgen b75cab
	CVE-2010-1411 was not complete.
roentgen b75cab
roentgen b75cab
	* libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
roentgen b75cab
	multiply two integers.  Returns zero if there is an integer
roentgen b75cab
	overflow.
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c (main): tiffcp should not leak memory if an error
roentgen b75cab
	is reported when reading the input file.
roentgen b75cab
roentgen b75cab
2010-06-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* Update libtool to version 2.2.8.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
roentgen b75cab
	buffer due to integer overflow in TIFFroundup() and several other
roentgen b75cab
	potential overflows.  In conjunction with the fix to TIFFhowmany(),
roentgen b75cab
	fixes CVE-2010-1411.
roentgen b75cab
roentgen b75cab
	* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
roentgen b75cab
	result in an integer overflow. This causes TIFFroundup() to also
roentgen b75cab
	return zero if there would be an integer overflow.
roentgen b75cab
roentgen b75cab
	* contrib: Add an emacs formatting mode footer to all source files
roentgen b75cab
	so that emacs can be effectively used.
roentgen b75cab
roentgen b75cab
2010-06-03  Oliver Chen Feng <scip8183@gmail.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
roentgen b75cab
	file PAGENUMBER value in sequence for users who care the page
roentgen b75cab
	sequence, this will also prevent tiff2pdf from creating pdf file from
roentgen b75cab
	the merged tiff file with wrong page sequence.
roentgen b75cab
roentgen b75cab
2010-05-08  Olivier Paquet  <olivier.paquet@gmail.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
roentgen b75cab
	to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
roentgen b75cab
	* libtiff/tif_dirinfo.c: Use correct set_field_type for
roentgen b75cab
	TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2192
roentgen b75cab
roentgen b75cab
2010-05-07  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Ensure that quality is always set in 
roentgen b75cab
	JPEGPreEncode(), not just when we want to output local tables.  
roentgen b75cab
	Otherwise the quality used during compression may not be right and
roentgen b75cab
	might not match the tables in the tables tag.   This bug only occurs
roentgen b75cab
	when seeking between directories in the midst of writing blocks.
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/3539
roentgen b75cab
	
roentgen b75cab
2010-05-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
roentgen b75cab
	Regenerated from the source.
roentgen b75cab
roentgen b75cab
2010-05-05  Olivier Paquet  <olivier.paquet@gmail.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
roentgen b75cab
	had stopped working. Also made it always print 6 floats instead of
roentgen b75cab
	2*SamplesPerPixel.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2191
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2186
roentgen b75cab
	* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
roentgen b75cab
	fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
roentgen b75cab
roentgen b75cab
2010-05-05  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
roentgen b75cab
	if the jpeg table was written.  This is a fix for the last fix on 04-21.
roentgen b75cab
roentgen b75cab
2010-04-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime 
roentgen b75cab
	JPEGSetupEncode() is called if the tables already seem to be 
roentgen b75cab
	established.  This prevents spurious updates and rewriting of 
roentgen b75cab
	directories with jpegtables when doing updates to existing images.
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/3539
roentgen b75cab
roentgen b75cab
2010-04-20  Olivier Paquet  <olivier.paquet@gmail.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Use correct set_field_type for
roentgen b75cab
	TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
roentgen b75cab
	TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
roentgen b75cab
	They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2139
roentgen b75cab
roentgen b75cab
2010-04-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
roentgen b75cab
	when the tag count value is zero.  Error handling is still a
roentgen b75cab
	regression since in 3.9.2, empty tags are skipped (with a warning)
roentgen b75cab
	rather than returning a hard error and refusing to read the file.
roentgen b75cab
roentgen b75cab
	* tools/ppm2tiff.c (main): While case for parsing comment line
roentgen b75cab
	requires extra parenthesis to work as expected.  Reported by
roentgen b75cab
	Thomas Sinclair.
roentgen b75cab
roentgen b75cab
2010-04-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_read.c (primarily): Add support for 
roentgen b75cab
	CHUNKY_STRIP_READ_SUPPORT where large strips are
roentgen b75cab
	read in chunks for applications using TIFFReadScanline().
roentgen b75cab
	This is intended to make it more practical work with very
roentgen b75cab
	large compressed one-strip files.   Feature is off by default.
roentgen b75cab
	Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/3514
roentgen b75cab
roentgen b75cab
2010-03-31  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
roentgen b75cab
	directories so previously placed directories will be migrated to
roentgen b75cab
	the end of file if needed.
roentgen b75cab
roentgen b75cab
2010-03-30  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
roentgen b75cab
	to support operating on strips/tiles of more than 256MB.
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/3512
roentgen b75cab
roentgen b75cab
2010-03-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
roentgen b75cab
	that it is clearly a memory allocation error message, and also
roentgen b75cab
	includes the size of the allocation request.
roentgen b75cab
roentgen b75cab
2010-02-22  Lee Howard  <faxguy@howardsilvan.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
roentgen b75cab
	the JPEG TIFF as is is not required in order to prevent it from 
roentgen b75cab
	being unused and filled with invalid data.  (Leave it to be 
roentgen b75cab
	generated by later activity.)
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2135
roentgen b75cab
	* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip 
roentgen b75cab
	data rather than skipping them.  This fixes the ability to view in
roentgen b75cab
	Acrobat Reader, Evince, and Ghostscript.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2135
roentgen b75cab
	* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
roentgen b75cab
	strips.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2029
roentgen b75cab
roentgen b75cab
2009-12-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
roentgen b75cab
	Made so that when working with downsampled images a stub function 
roentgen b75cab
	reporting an error is used for tif_decoderow.  We cannot meaningfully
roentgen b75cab
	support reading scanlines in this situation.  (#1936)
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
roentgen b75cab
	resetting of the upsampling values (gdal:#3259).
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1936
roentgen b75cab
roentgen b75cab
2009-11-30  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c, 
roentgen b75cab
	tools/ras2tiff.c: Fix resource leaks on error.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2121
roentgen b75cab
roentgen b75cab
	* libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling 
roentgen b75cab
	TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
roentgen b75cab
	of as a custom(generic) field to avoid a potential reentrancy problem.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2125
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
roentgen b75cab
	man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit 
roentgen b75cab
	const, and display_sRGB static and const.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2124
roentgen b75cab
roentgen b75cab
2009-11-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff 4.0.0alpha5 released.
roentgen b75cab
roentgen b75cab
2009-11-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
roentgen b75cab
	version has undergone substantial testing with arbitrary sample
roentgen b75cab
	bit depths.  Also eliminates GCC compilation warnings.
roentgen b75cab
roentgen b75cab
2009-11-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* port/libport.h: Add extern declarations for getopt standard
roentgen b75cab
	globals.
roentgen b75cab
roentgen b75cab
2009-10-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
roentgen b75cab
	noticed in 64-bit build of libtiff with Visual Studio 2005.
roentgen b75cab
	Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
roentgen b75cab
	tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
roentgen b75cab
roentgen b75cab
	* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
roentgen b75cab
	warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
roentgen b75cab
	Visual Studio 2005 64-bit warning in tif_pixarlog.c",
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2068
roentgen b75cab
roentgen b75cab
2009-10-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
roentgen b75cab
	pointer" warnings.
roentgen b75cab
roentgen b75cab
2009-10-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* html/tools.html: Add manual page links, and a summary
roentgen b75cab
	description of tiffcrop.
roentgen b75cab
roentgen b75cab
2009-10-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* configure.ac: x86_64 should use the same fill order as i386.
roentgen b75cab
roentgen b75cab
2009-09-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
roentgen b75cab
	Nolde.  Major updates to add significant functionality for reading
roentgen b75cab
	and writing tile based images with bit depths not a multiple of 8
roentgen b75cab
	which cannot be handled by tiffcp.
roentgen b75cab
roentgen b75cab
2009-09-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
roentgen b75cab
	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
roentgen b75cab
	"Bug 2090 - OJPEG crash with libjpeg v7".
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2090
roentgen b75cab
roentgen b75cab
2009-09-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
roentgen b75cab
	interface when stoponerror is set. 
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2071
roentgen b75cab
roentgen b75cab
2009-08-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
roentgen b75cab
	fix build with gcc when using the "-Wformat
roentgen b75cab
	-Werror=format-security" flags.
roentgen b75cab
roentgen b75cab
2009-08-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
roentgen b75cab
	ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
roentgen b75cab
	utilities tests.
roentgen b75cab
roentgen b75cab
2009-08-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiffinfo.c: tiffinfo should return error status to the
roentgen b75cab
	caller.  Register a private error callback to accomplish that.
roentgen b75cab
roentgen b75cab
	* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
roentgen b75cab
	PNM formats so that we will be able to test more of the tools.
roentgen b75cab
	While adding these test images I notice that bmp2tiff and gif2tiff
roentgen b75cab
	only support ancient versions of their respective formats.
roentgen b75cab
roentgen b75cab
2009-08-27  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff 4.0.0alpha4 released.
roentgen b75cab
roentgen b75cab
	* HOWTO-RELEASE: Improved release instructions.
roentgen b75cab
roentgen b75cab
2009-08-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
roentgen b75cab
	fixes for "Bug 2023 - nroff errors in manual pages".
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2023
roentgen b75cab
roentgen b75cab
	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
roentgen b75cab
	CVE-2009-2347 libtiff: integer overflows in various inter-color
roentgen b75cab
	space conversion tools".
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2079
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
roentgen b75cab
	Berkenbilt for "Bug 2024 - possible null pointer dereference with
roentgen b75cab
	one-line fix".
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2024
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
roentgen b75cab
	from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
roentgen b75cab
	segfault after setting tdir_tag = IGNORE".	
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1895
roentgen b75cab
roentgen b75cab
2009-08-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
roentgen b75cab
	tiffcrop.sh into a collection of many specific tests.  Re-wrote
roentgen b75cab
	all of the existing tests to be based on some simple shell
roentgen b75cab
	functions.  Make distcheck works again.
roentgen b75cab
	
roentgen b75cab
	Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
roentgen b75cab
	added 'memcheck' and 'ptrcheck' targets to make it easy to run the
roentgen b75cab
	tests under valgrind.
roentgen b75cab
roentgen b75cab
2009-08-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
roentgen b75cab
	build.
roentgen b75cab
roentgen b75cab
	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
roentgen b75cab
	actually activated since it needed to be enabled in this
roentgen b75cab
	Makefile.am.  Also activated parallel-tests mode since it offers
roentgen b75cab
	useful features such as per-test .log files and a summary test
roentgen b75cab
	report .log file.
roentgen b75cab
roentgen b75cab
2009-08-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
roentgen b75cab
	libtool 2.2.6.  Enabled support for silent build rules
roentgen b75cab
	(--enable-silent-rules or 'make V=0') and colorized tests.
roentgen b75cab
roentgen b75cab
	* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
roentgen b75cab
roentgen b75cab
2009-06-30  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: add -c sgilog support.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_luv.c: correct return codes from encoderow to be
roentgen b75cab
	1 on success instead of zero.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2069
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from 
roentgen b75cab
	#1085 for a better underflow fix that errors properly.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2065
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1985
roentgen b75cab
roentgen b75cab
2009-06-26  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
roentgen b75cab
	fails on oddly sized 12bit jpeg compressed ycbcr images.
roentgen b75cab
roentgen b75cab
2009-06-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: Fix buffer underflow bug. 
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2065
roentgen b75cab
roentgen b75cab
2009-06-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
roentgen b75cab
	for dual mode 8/12 bit jpeg support. 
roentgen b75cab
roentgen b75cab
2009-06-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: do not override the planar configuration to be
roentgen b75cab
	contig for one sample files if planar configuration is already set.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2057
roentgen b75cab
roentgen b75cab
2009-06-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: Add TIFFUnsetField.
roentgen b75cab
roentgen b75cab
2009-05-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
roentgen b75cab
	error reports to use "%s" as format string.
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/2976
roentgen b75cab
	
roentgen b75cab
2009-03-12  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
roentgen b75cab
	for some codecs (#2020).
roentgen b75cab
roentgen b75cab
2009-02-12  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_luv.c: Fix handling of tiled logluv images. 
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=2005
roentgen b75cab
roentgen b75cab
2009-02-09  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Improve allocation safety when allocated
roentgen b75cab
	buffer for large tags.  (#1998)  Related to (#1993)
roentgen b75cab
roentgen b75cab
2009-02-06  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
roentgen b75cab
	test suite should pass.
roentgen b75cab
roentgen b75cab
2009-02-05  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
roentgen b75cab
	but at the 2GB boundary to avoid overflow on 32bit systems. 
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1993
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Remove some assertions that blow due to
roentgen b75cab
	corrupt files rather than in response to library internal 
roentgen b75cab
	inconsistencies.  
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1995
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1991
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Fixed testing for failed result from
roentgen b75cab
	TIFFReadDirectoryFindFieldInfo().  
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1992
roentgen b75cab
roentgen b75cab
2009-01-23  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1911
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1924
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: initialize xres/yres values. 
roentgen b75cab
roentgen b75cab
	* test/*.sh - default ${srcdir} to local directory.
roentgen b75cab
roentgen b75cab
	* test/common.sh - start verbose mode after common settings. 
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to 
roentgen b75cab
	avoid type mismatches on different platforms. 
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1889
roentgen b75cab
roentgen b75cab
2009-01-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
roentgen b75cab
	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
roentgen b75cab
roentgen b75cab
	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
roentgen b75cab
	defined, primarily to reduce prototype warnings on windows. 
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
roentgen b75cab
	about unused parameters, and uninitialized variables.
roentgen b75cab
roentgen b75cab
2009-01-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
roentgen b75cab
	order to trace full execution detail while executing the test suite.
roentgen b75cab
roentgen b75cab
2009-01-20  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
roentgen b75cab
roentgen b75cab
2009-01-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/Makefile.am (CLEANFILES): Make sure that test output files
roentgen b75cab
	are removed by 'make clean'
roentgen b75cab
roentgen b75cab
	* Update autotools for 4.0.0 beta3
roentgen b75cab
roentgen b75cab
	* 4.0.0 beta3 produced.
roentgen b75cab
roentgen b75cab
2009-01-12  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/tiffcrop.sh: New test script for tiffcrop from Richard
roentgen b75cab
	Nolde.
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Remove spurious message to stderr.
roentgen b75cab
roentgen b75cab
2009-01-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Incorporated significant functionality update
roentgen b75cab
	from Richard Nolde.  In particular, support for rotating the image
roentgen b75cab
	by 90, 180, 270, and 'auto' has been added.
roentgen b75cab
roentgen b75cab
	* man/tiffcrop.1: Incorporated documentation updates from Richard
roentgen b75cab
	Nolde.
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: Incorporated significant functionality update
roentgen b75cab
	from Richard Nolde.
roentgen b75cab
roentgen b75cab
2008-12-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: GCC will now validate format specifications
roentgen b75cab
	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
roentgen b75cab
	TIFFWarningExt() in order to reveal bugs.
roentgen b75cab
roentgen b75cab
	* Many fixes throughout to work better as a 64-bit build. 
roentgen b75cab
roentgen b75cab
2008-12-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
roentgen b75cab
	tags now require 64-bit parameter rather than 32-bit.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
roentgen b75cab
	64-bit values.
roentgen b75cab
roentgen b75cab
	* tools/thumbnail.c: Eliminate crash noticed while running test
roentgen b75cab
	suite.
roentgen b75cab
roentgen b75cab
2008-12-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
roentgen b75cab
	Initialize stack variables to avoid compiler warning.
roentgen b75cab
roentgen b75cab
	* tools/tiffinfoce.c (main): Use toff_t for offset type when
roentgen b75cab
	retrieving offset of EXIF IFD.
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
roentgen b75cab
	TIFFClientOpen() callback and other external function definitions.
roentgen b75cab
roentgen b75cab
	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
roentgen b75cab
	type now.  Fixes crash when dumping files containing an EXIF IFD.
roentgen b75cab
roentgen b75cab
	* m4/libtool.m4: Update to libtool 2.2.6.
roentgen b75cab
roentgen b75cab
2008-12-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
roentgen b75cab
	strip for the last partial strip in a jpeg compressed file.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1981
roentgen b75cab
roentgen b75cab
2008-10-29  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
roentgen b75cab
	we take the shortcut to only update the strip/tile offsets in place.
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/2621
roentgen b75cab
roentgen b75cab
2008-10-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
roentgen b75cab
	the older versions retained).
roentgen b75cab
roentgen b75cab
2008-10-09  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
roentgen b75cab
	IPP enabled version of libjpeg from Intel. 
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1951
roentgen b75cab
roentgen b75cab
2008-09-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
roentgen b75cab
	Required for libtiff 4.0.
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Use dynamically allocated array instead of static
roentgen b75cab
	when constructing output file names.
roentgen b75cab
roentgen b75cab
2008-09-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
roentgen b75cab
	doing the filename/path construction.
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: More appropriate format string in
roentgen b75cab
	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1929
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
roentgen b75cab
	CVE-2008-2327 security issue.
roentgen b75cab
roentgen b75cab
2008-09-01  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
roentgen b75cab
	depending on whether the file is bigtiff or classic tiff.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1917
roentgen b75cab
roentgen b75cab
2008-08-12  Edward Lam  <edward@sidefx.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
roentgen b75cab
	consistent (__int64) casting when testing if _lseeki64 has
roentgen b75cab
	successfully seeked as requested.  This is necessary for large
roentgen b75cab
	file support to work since off_t is only 32-bit.
roentgen b75cab
roentgen b75cab
2008-07-29  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or 
roentgen b75cab
	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
roentgen b75cab
	with control logic to return runtime errors (c/o Even Rouault) (#1927).
roentgen b75cab
roentgen b75cab
2008-06-17  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c: Fix some portability problems.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
roentgen b75cab
	used in tif_jpeg.c.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
roentgen b75cab
	as TIFFOpen().
roentgen b75cab
roentgen b75cab
2008-06-01  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
roentgen b75cab
	like Sparc/Solaris.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1892
roentgen b75cab
roentgen b75cab
2008-05-27  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff.def: Add TIFFFindField
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1891
roentgen b75cab
roentgen b75cab
2008-05-26  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
roentgen b75cab
roentgen b75cab
	* li2008-04-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
btiff/tif_win32.c: Replace custom Win32 memory api with generic
roentgen b75cab
	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
roentgen b75cab
	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
roentgen b75cab
roentgen b75cab
	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
roentgen b75cab
	in windows version (care of Edward Lam).
roentgen b75cab
roentgen b75cab
2008-05-24  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_codec.c: Avoid NULL pointer dereferencing for exotic 
roentgen b75cab
	compression codec codes.
roentgen b75cab
roentgen b75cab
	* tif_dirwrite.c: fix potential memory leak.
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Fix unchecked malloc result.
roentgen b75cab
 
roentgen b75cab
2008-05-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
roentgen b75cab
	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
roentgen b75cab
	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
roentgen b75cab
	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
roentgen b75cab
	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
roentgen b75cab
	suggestions from Lee Howard posted to the tiff list on 13 Sep
roentgen b75cab
	2007.
roentgen b75cab
roentgen b75cab
2008-05-23  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
roentgen b75cab
	possible runtime problem reported by coverity.
roentgen b75cab
roentgen b75cab
	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
roentgen b75cab
	http://bugzilla.maptools.org/show_bug.cgi?id=1888
roentgen b75cab
roentgen b75cab
	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
roentgen b75cab
roentgen b75cab
	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
roentgen b75cab
	Cleanup scanline allocation to avoid coverity warning.
roentgen b75cab
roentgen b75cab
	* tools/thumbnail.c: Check for TIFFOpen() failure.
roentgen b75cab
roentgen b75cab
2008-05-18  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
roentgen b75cab
	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
roentgen b75cab
	why this is needed. 
roentgen b75cab
roentgen b75cab
2008-05-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
roentgen b75cab
	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
roentgen b75cab
roentgen b75cab
2008-04-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* test/: Test suite updated. Everything is passed now.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Fixed description of the
roentgen b75cab
	TIFFTAG_NUMBEROFINKS tag.
roentgen b75cab
roentgen b75cab
2008-04-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
roentgen b75cab
	Get rid of some of "dereferencing type-punned" warnings by converting
roentgen b75cab
	tdir_offset field of TIFFDirEntry structure into union.
roentgen b75cab
roentgen b75cab
2008-04-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
roentgen b75cab
	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
roentgen b75cab
	from the public interface. Type of its 'count' parameter changed
roentgen b75cab
	from uint32 to tmsize_t.
roentgen b75cab
roentgen b75cab
	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
roentgen b75cab
	of the tiff structure have the size_t type instead of uint32.
roentgen b75cab
roentgen b75cab
2008-04-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c: Added support for MSVS 6.0.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
roentgen b75cab
	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
roentgen b75cab
	point values on MSVS 6.0 platform.
roentgen b75cab
roentgen b75cab
2008-03-14  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
roentgen b75cab
	TIFFReadDirEntryArray() since they are interfering with seemingly 
roentgen b75cab
	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
roentgen b75cab
roentgen b75cab
2008-02-09  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Added handling for the case of number of values for 
roentgen b75cab
	PageNumber tag different from 2 (previously resulted in an assert 
roentgen b75cab
	indicating lack of handling and was forgotten about)
roentgen b75cab
roentgen b75cab
2008-02-01  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on 
roentgen b75cab
	the actual jpeg data stream if the first strip/tile has zero size.
roentgen b75cab
	This is the case when GDAL creates a new file with zero sizes, closes
roentgen b75cab
	and reopens it.
roentgen b75cab
roentgen b75cab
2008-01-07  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam). 
roentgen b75cab
roentgen b75cab
2008-01-01  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
roentgen b75cab
roentgen b75cab
	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
roentgen b75cab
	targets.
roentgen b75cab
roentgen b75cab
	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
roentgen b75cab
	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 
roentgen b75cab
	(x64). 
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag() 
roentgen b75cab
	and TIFFFieldWithName() now return TIFFField pointers instead of
roentgen b75cab
	TIFFFieldInfo pointers.
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't 
roentgen b75cab
	exist. This makes it compile again on Windows
roentgen b75cab
roentgen b75cab
	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
roentgen b75cab
	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
roentgen b75cab
roentgen b75cab
	* test/rewrite_tag.c: New test for TIFFRewriteField().
roentgen b75cab
roentgen b75cab
2007-12-31  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
roentgen b75cab
	rewrites one field "on disk" updating an existing directory 
roentgen b75cab
	entry.  Lots of limitations still...
roentgen b75cab
roentgen b75cab
	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of 
roentgen b75cab
	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that 
roentgen b75cab
	the strip offset/size values are dirty but nothing else about the 
roentgen b75cab
	directory is dirty.  In flush handle "just stripmaps dirty" as a
roentgen b75cab
	special case that just rewrites these values without otherwise 
roentgen b75cab
	modifying the directory on disk using TIFFRewriteField().  
roentgen b75cab
roentgen b75cab
	We also modify logic so that in update mode the directory is not
roentgen b75cab
	marked dirty on read, but only when something is changed.  This
roentgen b75cab
	means we need to keep track of updates to the stripmap stuff in 
roentgen b75cab
	TIFFAppendToStrip().
roentgen b75cab
roentgen b75cab
2007-12-10  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_jpeg.c: Improve ability to switch between encoding and decoding
roentgen b75cab
	in the jpeg code (gdal bug #2033).
roentgen b75cab
roentgen b75cab
2007-11-23  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
roentgen b75cab
	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the 
roentgen b75cab
	rawcp/rawcc buffer are for writing and thus may require flushing.
roentgen b75cab
	Necessary to distinguish whether they need to be written to disk when
roentgen b75cab
	in mixed read/write mode and doing a mixture of writing followed by
roentgen b75cab
	reading.  http://trac.osgeo.org/gdal/ticket/1758
roentgen b75cab
roentgen b75cab
2007-11-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
roentgen b75cab
	from Alexey Chupahin.
roentgen b75cab
roentgen b75cab
2007-11-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for 
roentgen b75cab
	establishing if an existing tile can be rewritten to the same location 
roentgen b75cab
	by comparing the current size to all the other blocks in the same 
roentgen b75cab
	directory.  This is dangerous in many situations and can easily 
roentgen b75cab
	corrupt a file.  (observed in esoteric GDAL situation that's hard to
roentgen b75cab
	document).  This change involves leaving the stripbytecount[] values 
roentgen b75cab
	unaltered till TIFFAppendToStrip().  Now we only write a block back
roentgen b75cab
	to the same location it used to be at if the new data is the same
roentgen b75cab
	size or smaller - otherwise we move it to the end of file.
roentgen b75cab
roentgen b75cab
	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
roentgen b75cab
	data when writing the directory just because we have BEENWRITING at
roentgen b75cab
	some point in the past.  This was causing odd junk to be written out
roentgen b75cab
	in a tile of data when a single tile had an interleaving of reading 
roentgen b75cab
	and writing with reading last.  (highlighted by gdal 
roentgen b75cab
	autotest/gcore/tif_write.py test 7. 
roentgen b75cab
roentgen b75cab
	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
roentgen b75cab
	modifying callers buffer. 
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/1965
roentgen b75cab
roentgen b75cab
	* tif_predict.c/h: more fixes related to last item, keeping a 
roentgen b75cab
	distinct pfunc for encode and decode cases as these were getting
roentgen b75cab
	mixed up sometimes.
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/1948
roentgen b75cab
roentgen b75cab
2007-11-01  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that 
roentgen b75cab
	predictor based encoding and decoding works in read-write update
roentgen b75cab
	mode properly. 
roentgen b75cab
	http://trac.osgeo.org/gdal/ticket/1948
roentgen b75cab
roentgen b75cab
2007-10-24  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Fixed problem with bogus file triggering 
roentgen b75cab
	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in 
roentgen b75cab
	ChopUpSingleUncompressedStrip
roentgen b75cab
roentgen b75cab
2007-10-22  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
roentgen b75cab
	at best, access violation at worst, when subsampled JPEG compressed imagery
roentgen b75cab
	is decoded without the JPEG_COLORMODE feature
roentgen b75cab
roentgen b75cab
2007-10-11  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* html/index.html: Update "people responsible" section.
roentgen b75cab
roentgen b75cab
2007-10-05  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
roentgen b75cab
	as reported on the mailing list.
roentgen b75cab
roentgen b75cab
2007-10-01  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* changed some more incorrect %lud printf flags to %lu
roentgen b75cab
roentgen b75cab
2007-09-29  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Strip chopping interfered badly with uncompressed 
roentgen b75cab
	subsampled images because it tried to divide subsampled rowblocks, 
roentgen b75cab
	leading to all sorts of errors throughout the library for these 
roentgen b75cab
	images. Fixed by making strip chopping divide in row counts that 
roentgen b75cab
	are a multiple of vertical subsampling value.
roentgen b75cab
roentgen b75cab
2007-09-28  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Logical cast working around compiler warning
roentgen b75cab
roentgen b75cab
	* tif_read.c: Correction of some error flags and parameter lists
roentgen b75cab
roentgen b75cab
2007-09-27  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
roentgen b75cab
	when dealing with large bitspersample values, shutting up purification
roentgen b75cab
	tools that warn about truncation, though it remains incorrect and 
roentgen b75cab
	indicates a conceptual problem there.
roentgen b75cab
roentgen b75cab
	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading 
roentgen b75cab
	of first IFD) to proper place because it badly interfered with memory 
roentgen b75cab
	mapping, resulting in mapping flag even with dummy mapping functions 
roentgen b75cab
	that returned 0 whilst at the same time the mapping tif_size wasn't 
roentgen b75cab
	set, thus resulting in continuous incorrect beyond-eof errors.
roentgen b75cab
roentgen b75cab
2007-09-24  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* tif_dirinfo.c: Fixed (MSVC) compiler reports about 
roentgen b75cab
	inconsistent use of const in tiffFields and exifFields definition
roentgen b75cab
roentgen b75cab
2007-09-20  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirwrite.c: Always write tile/strip offsets and sizes
roentgen b75cab
	using LONG8 type when output format is BigTIFF.  The
roentgen b75cab
	TIFFWriteDirectoryTagLongLong8Array() function was restructured
roentgen b75cab
	accordingly.
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Improvements to error reporting text in 
roentgen b75cab
	TIFFFetchDirectory().
roentgen b75cab
roentgen b75cab
2007-09-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/images: Added a small collection of test images for use by
roentgen b75cab
	test programs and scripts.
roentgen b75cab
	* test/tiffinfo.sh: A trivial example test script.
roentgen b75cab
	* test/common.sh: Added small script for setting the environment
roentgen b75cab
	used by script-based tests.
roentgen b75cab
roentgen b75cab
2007-08-24  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
roentgen b75cab
	zero when writing directory contents to preserve the ability to 
roentgen b75cab
	rewrite directories in place, even in the middle of a directory
roentgen b75cab
	chain.
roentgen b75cab
roentgen b75cab
	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
roentgen b75cab
	definitions that are missing.  Existing definitions are silently
roentgen b75cab
	ignored. 
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Add runtime error for fields for which no definition
roentgen b75cab
	is found (in addition to an assert for developers) in 
roentgen b75cab
	TIFFFetchNormalTag().  Not sure if this is needed, but it seems 
roentgen b75cab
	prudent.
roentgen b75cab
roentgen b75cab
2007-08-10  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer 
roentgen b75cab
	from _TIFFRGBAImage structure to revert unwanted ABI change.
roentgen b75cab
roentgen b75cab
2007-08-10  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: use SetFilePointer instead of 
roentgen b75cab
	SetFilePointerEx, as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
roentgen b75cab
roentgen b75cab
2007-07-19  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_stream.cxx: Put all callback functions declarations
roentgen b75cab
	inside extern "C" block.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
roentgen b75cab
	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
roentgen b75cab
	formatter instead of "%lld" with MSVC compiler.
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
roentgen b75cab
	_TIFFUInt64ToDouble() functions.
roentgen b75cab
roentgen b75cab
2007-07-18  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
roentgen b75cab
	integer constants.
roentgen b75cab
roentgen b75cab
	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h, 
roentgen b75cab
	remove tif_config.h/tiffconf.h during cleaning. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
roentgen b75cab
roentgen b75cab
	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
roentgen b75cab
roentgen b75cab
2007-07-13  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 4.0.0alpha released.
roentgen b75cab
roentgen b75cab
2007-07-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Added missed extern optind as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
roentgen b75cab
	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
roentgen b75cab
	extending scheme completed.
roentgen b75cab
roentgen b75cab
2007-07-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
roentgen b75cab
	use standard C++ library size types and attempt to detect overflow
roentgen b75cab
	cases.
roentgen b75cab
roentgen b75cab
2007-07-08  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
roentgen b75cab
	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
roentgen b75cab
	tag extending scheme. Use the new scheme everywhere.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
roentgen b75cab
	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
roentgen b75cab
	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
roentgen b75cab
	TIFFFIeldInfo structure replaced with TIFFField structure.
roentgen b75cab
	TIFFFieldInfo retained for the backward compatibility.
roentgen b75cab
roentgen b75cab
2007-07-05  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
roentgen b75cab
	defined.
roentgen b75cab
roentgen b75cab
2007-07-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
roentgen b75cab
	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
roentgen b75cab
	removed.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
roentgen b75cab
	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
roentgen b75cab
	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
roentgen b75cab
	These tags are not codec-specific and relate to image content, so
roentgen b75cab
	process them as other normal tags.
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
roentgen b75cab
	public tiffio.h to private tif_dir.h.
roentgen b75cab
roentgen b75cab
	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
roentgen b75cab
	outdated.
roentgen b75cab
roentgen b75cab
2007-07-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
roentgen b75cab
	tif_win3.c}: Obsoleted portability stuff removed.
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c:  Added support 16-bit images as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
roentgen b75cab
roentgen b75cab
	Patch from William Bader.
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
roentgen b75cab
	significant upgrade of the whole utility as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
roentgen b75cab
roentgen b75cab
	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
roentgen b75cab
	PDF file using TIFFClientOpen() machinery as it is implemented
roentgen b75cab
	by Leon Bottou.
roentgen b75cab
roentgen b75cab
2007-06-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
roentgen b75cab
	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
roentgen b75cab
	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
roentgen b75cab
	allow returning -1 for errors.
roentgen b75cab
	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
roentgen b75cab
roentgen b75cab
2007-06-25  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* port/strtoull.c: New porting function in case strtoull() is not
roentgen b75cab
	available on the target system.	
roentgen b75cab
	* configure.ac: Add configure support for determining sized types
roentgen b75cab
	in a portable way and performing necessary substitutions in
roentgen b75cab
	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
roentgen b75cab
	definitions.
roentgen b75cab
roentgen b75cab
2007-04-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
roentgen b75cab
roentgen b75cab
2007-04-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
roentgen b75cab
	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
roentgen b75cab
	tif_predict.c, tif_zip.c}: Finally fix bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
roentgen b75cab
roentgen b75cab
	by introducing _TIFFMergeFieldInfo() returning integer error status
roentgen b75cab
	instead of void in case of problems with field merging (e.g., if the
roentgen b75cab
	field with such a tag already registered). TIFFMergeFieldInfo() in
roentgen b75cab
	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
roentgen b75cab
	check returned value.
roentgen b75cab
roentgen b75cab
2007-04-07  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output 
roentgen b75cab
	blocks in TIFF_DownSample_Subsampled() (bug 1542).
roentgen b75cab
roentgen b75cab
2007-04-06  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
roentgen b75cab
	will convert from decompressor to compressor or compress to decompress
roentgen b75cab
	if required by the force arguments.  This works around a problem in
roentgen b75cab
	where the JPEGFixupTestSubsampling() may cause a decompressor to 
roentgen b75cab
	be setup on a directory when later a compressor is required with the
roentgen b75cab
	force flag set.  Occurs with the addtiffo program for instance. 
roentgen b75cab
roentgen b75cab
2007-04-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
roentgen b75cab
	functionality from Richard Nolde. As per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
roentgen b75cab
roentgen b75cab
2007-03-28  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
roentgen b75cab
roentgen b75cab
2007-03-17  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
roentgen b75cab
roentgen b75cab
2007-03-07  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
roentgen b75cab
	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
roentgen b75cab
	factor. This bug is mentioned in:
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
roentgen b75cab
	http://www.asmail.be/msg0054766825.html 
roentgen b75cab
roentgen b75cab
2007-03-07  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
roentgen b75cab
	unused arguments by standard C indication for the same
roentgen b75cab
roentgen b75cab
2007-02-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
roentgen b75cab
	counters in TIFFFetchData(). Should finally fix the issue
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
roentgen b75cab
roentgen b75cab
2007-02-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
roentgen b75cab
	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Added special function to handle
roentgen b75cab
	SubjectDistance EXIF tag as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Do not assume inches when the resolution units
roentgen b75cab
	do not specified. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
roentgen b75cab
roentgen b75cab
	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
roentgen b75cab
	it was set as infinite. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
roentgen b75cab
roentgen b75cab
	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
roentgen b75cab
	by Richard Nolde. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
roentgen b75cab
roentgen b75cab
2007-02-22  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
roentgen b75cab
	ExtraSamples == 999 produced by Corel Draw. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
roentgen b75cab
	changed from tsize_t to uint32 to be able to work with data arrays
roentgen b75cab
	larger than 2GB. Fixes bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
roentgen b75cab
	
roentgen b75cab
	Idea submitted by Matt Hancher.
roentgen b75cab
roentgen b75cab
2007-01-31  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tif2rgba.c: This utility does not work properly on big-endian
roentgen b75cab
	architectures. It was fixed including the bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
roentgen b75cab
roentgen b75cab
2007-01-15  Mateusz Loskot <mateusz@loskot.net>
roentgen b75cab
roentgen b75cab
	* Submitted libtiff port for Windows CE platform
roentgen b75cab
	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
roentgen b75cab
	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
roentgen b75cab
	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
roentgen b75cab
	functons from tif_win32.c.
roentgen b75cab
	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
roentgen b75cab
	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
roentgen b75cab
	standard header files for Windows CE build.
roentgen b75cab
	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
roentgen b75cab
roentgen b75cab
2006-11-19  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if 
roentgen b75cab
	we move a strip. 
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359	
roentgen b75cab
roentgen b75cab
2006-10-13  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
roentgen b75cab
	in Gentoo bug ():
roentgen b75cab
	
roentgen b75cab
	http://bugs.gentoo.org/show_bug.cgi?id=142383
roentgen b75cab
roentgen b75cab
	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
roentgen b75cab
	Though it is still far from the state of being working and useful.
roentgen b75cab
roentgen b75cab
2006-10-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
roentgen b75cab
	method.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
roentgen b75cab
	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
roentgen b75cab
	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
roentgen b75cab
	vulnerabilities, reported in Gentoo bug ():
roentgen b75cab
roentgen b75cab
	http://bugs.gentoo.org/show_bug.cgi?id=142383
roentgen b75cab
roentgen b75cab
2006-09-28  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
roentgen b75cab
	vulnerabilities, as per	Gentoo bug ():
roentgen b75cab
roentgen b75cab
	http://bugs.gentoo.org/show_bug.cgi?id=142383
roentgen b75cab
roentgen b75cab
2006-09-27  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
roentgen b75cab
	encoding and decoding on the same read-write TIFF handle.  The LZW
roentgen b75cab
	code can now maintain encode and decode state at the same time. The
roentgen b75cab
	ZIP code will switch back and forth as needed.  
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
roentgen b75cab
roentgen b75cab
2006-09-20  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and 
roentgen b75cab
	tif_config.vc.h for easier identification by folks using an IDE.
roentgen b75cab
roentgen b75cab
2006-07-25  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
roentgen b75cab
roentgen b75cab
2006-07-19  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
roentgen b75cab
	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
roentgen b75cab
	to bug report by Peng Gao with black strip at bottom of images.
roentgen b75cab
roentgen b75cab
2006-07-12  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirwrite.c: make sure to use uint32 for wordcount in 
roentgen b75cab
	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
roentgen b75cab
	It already seems to have been done for other field types.  Needed
roentgen b75cab
	for "tiffset" on files with geotiff ascii text.
roentgen b75cab
roentgen b75cab
2006-07-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
roentgen b75cab
	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
roentgen b75cab
	its use does not appear to be required, so use it only when it is
roentgen b75cab
	available.
roentgen b75cab
roentgen b75cab
2006-06-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
roentgen b75cab
	function TIFFFetchDirectory() avoiding code duplication in
roentgen b75cab
	TIFFReadDirectory() and TIFFReadCustomDirectory().
roentgen b75cab
roentgen b75cab
2006-06-19  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fix handling of -q values.
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
roentgen b75cab
roentgen b75cab
2006-06-17  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
roentgen b75cab
	files.  Modified TIFFReadDirectory() to not invoke 
roentgen b75cab
	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
roentgen b75cab
	but one of them is zero. 
roentgen b75cab
	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
roentgen b75cab
roentgen b75cab
2006-06-08  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
roentgen b75cab
	checking code in the separate function TIFFCheckDirOffset().
roentgen b75cab
roentgen b75cab
	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
roentgen b75cab
roentgen b75cab
	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fixed buffer overflow condition in
roentgen b75cab
	t2p_write_pdf_string() as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
roentgen b75cab
roentgen b75cab
2006-06-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
roentgen b75cab
	support for JBIG compression scheme (34661 code) contributed by Lee
roentgen b75cab
	Howard. As per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
roentgen b75cab
roentgen b75cab
	* configure, configure.ac: OJPEG support enabled by default.
roentgen b75cab
roentgen b75cab
	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
roentgen b75cab
roentgen b75cab
2006-06-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
roentgen b75cab
	TIFFPrintDirectory().  Joris Van Damme authored the fix.
roentgen b75cab
roentgen b75cab
2006-04-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
roentgen b75cab
	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
roentgen b75cab
roentgen b75cab
	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
roentgen b75cab
	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
roentgen b75cab
	Added support for OpenVMS by Alexey Chupahin, elvis_75@mail.ru.
roentgen b75cab
roentgen b75cab
2006-04-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
roentgen b75cab
	Properly set the binary mode for stdin stream as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
roentgen b75cab
roentgen b75cab
	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
roentgen b75cab
	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
roentgen b75cab
	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
roentgen b75cab
	tiffset.1}: Improvements in page formatting as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
roentgen b75cab
roentgen b75cab
	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
roentgen b75cab
	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
roentgen b75cab
roentgen b75cab
2006-04-18  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
roentgen b75cab
	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005. 
roentgen b75cab
roentgen b75cab
2006-04-12  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Added support for planarconfig separate
roentgen b75cab
	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
roentgen b75cab
roentgen b75cab
2006-04-11  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
roentgen b75cab
	- Conversion of unassociated alpha to associated alpha now done with
roentgen b75cab
	  more performant LUT, and calculation more correct
roentgen b75cab
	- Conversion of 16bit data to 8bit data now done with
roentgen b75cab
	  more performant LUT, and calculation more correct
roentgen b75cab
	- Bugfix of handling of 16bit RGB with unassociated alpha
roentgen b75cab
roentgen b75cab
2006-04-11  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_getimage.c: 
roentgen b75cab
	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated 
roentgen b75cab
	  buffer for alpha strile and filled it, only to never read it back. 
roentgen b75cab
	  Removed allocation and fill.
roentgen b75cab
	- Minor rename of vars in gtTileSeparate and gtStripSeparate 
roentgen b75cab
	  anticipating planned functionality extension
roentgen b75cab
roentgen b75cab
2006-04-08  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase 
roentgen b75cab
	and pickTileSeparateCase to PickSeparateCase as both work on strips as 
roentgen b75cab
	well
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: moved img->get selection from 
roentgen b75cab
	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
roentgen b75cab
	logical hook for planned functionality extension
roentgen b75cab
roentgen b75cab
2006-04-08  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
roentgen b75cab
	of inappropriate use of jpeg_abort instead of jpeg_destroy
roentgen b75cab
roentgen b75cab
2006-04-07  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in 
roentgen b75cab
	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
roentgen b75cab
	on subsampled images - this ought to get sorted when we feel brave 
roentgen b75cab
	enough to replace TIFFScanlineSize alltogether
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
roentgen b75cab
roentgen b75cab
2006-04-04  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: added new type tstrile_t
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips 
roentgen b75cab
	to new tstrile_t, types of td_stripoffset and td_stripbytecount to 
roentgen b75cab
	toff_t*
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: totally new implementation
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: added several hacks to suit new support of 
roentgen b75cab
	OJPEG
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
roentgen b75cab
	of OJPEG images in favor of tif_getimage.c native handling of
roentgen b75cab
	YCbCr and desubsampling
roentgen b75cab
roentgen b75cab
2006-03-29  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
roentgen b75cab
	interpretation causes the "upsampled" flag to be recomputed.  Fixes
roentgen b75cab
	peculiar bug where photometric flag had to be set before jpegcolormode
roentgen b75cab
	flag.
roentgen b75cab
roentgen b75cab
2006-03-25  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
roentgen b75cab
roentgen b75cab
	* libtiff/tif_strip.c: temporarilly added two new versions of
roentgen b75cab
	TIFFScanlineSize
roentgen b75cab
	  - TIFFNewScanlineSize: proposed new version, after all related
roentgen b75cab
	    issues and side-effects are sorted out
roentgen b75cab
	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
roentgen b75cab
	This needs further sorting out.
roentgen b75cab
roentgen b75cab
2006-03-25  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
roentgen b75cab
	of last truncated strip data to TIFFWriteEncodedStrip
roentgen b75cab
roentgen b75cab
2006-03-25  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
roentgen b75cab
roentgen b75cab
2006-03-25  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
roentgen b75cab
roentgen b75cab
	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to 
roentgen b75cab
	prepare	the path for new tif_ojpeg.c
roentgen b75cab
roentgen b75cab
2006-03-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.8.2 released.
roentgen b75cab
roentgen b75cab
	* tools/Makefile.am: Use runtime paths linker flags when rpath
roentgen b75cab
	option enabled.
roentgen b75cab
roentgen b75cab
2006-03-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: Added missed exports as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/attachment.cgi?id=337
roentgen b75cab
roentgen b75cab
	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
roentgen b75cab
	tools/Makefile.vc: Makefiles improvements as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
roentgen b75cab
roentgen b75cab
	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
roentgen b75cab
	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
roentgen b75cab
	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
roentgen b75cab
roentgen b75cab
	* libtiff/tif_strip.c: Take subsampling in account when calculating
roentgen b75cab
	TIFFScanlineSize().
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
roentgen b75cab
roentgen b75cab
2006-03-17  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
roentgen b75cab
roentgen b75cab
	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
roentgen b75cab
roentgen b75cab
2006-03-16  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffiop.h: Added decalration for
roentgen b75cab
	_TIFFSetDefaultCompressionState().
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
roentgen b75cab
	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
roentgen b75cab
	codec cleanup methods. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
roentgen b75cab
roentgen b75cab
2006-03-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
roentgen b75cab
	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
roentgen b75cab
roentgen b75cab
	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
roentgen b75cab
	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
roentgen b75cab
roentgen b75cab
	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
roentgen b75cab
	removed; move here the STRIP_SIZE_DEFAULT macro definition.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
roentgen b75cab
	macro definition.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
roentgen b75cab
roentgen b75cab
2006-03-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
roentgen b75cab
	in TIFFReadDirectory, because it is always set at the start of
roentgen b75cab
	function and we allow TIFFs without that tag set.
roentgen b75cab
roentgen b75cab
2005-03-13  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.8.1 released.
roentgen b75cab
roentgen b75cab
2006-03-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
roentgen b75cab
	function as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: More wise check for integer overflow
roentgen b75cab
	condition as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
roentgen b75cab
	Properly restore setfield/getfield methods in cleanup functions. As
roentgen b75cab
	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
roentgen b75cab
roentgen b75cab
2006-03-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
roentgen b75cab
	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
roentgen b75cab
	TIFFPredictorCleanup() in codec cleanup methods. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Fixed integer overflow condition in
roentgen b75cab
	TIFFFetchData() function. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
roentgen b75cab
roentgen b75cab
2006-03-01  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
roentgen b75cab
	TIFFSetField() method, not directly. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
roentgen b75cab
roentgen b75cab
	* tools/ppm2tiff.c: Added support for PBM files as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
roentgen b75cab
roentgen b75cab
2006-02-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
roentgen b75cab
	to avoid crash as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
roentgen b75cab
roentgen b75cab
2006-02-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
roentgen b75cab
	t2p_sample_rgba_to_rgb() was used in place of each other, that was
roentgen b75cab
	resulted in problems with RGBA images with associated alpha.
roentgen b75cab
	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
roentgen b75cab
roentgen b75cab
2006-02-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
roentgen b75cab
	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
roentgen b75cab
	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
roentgen b75cab
	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Properly scale all the pages when converting
roentgen b75cab
	multipage TIFF with /width/height/center options set. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
roentgen b75cab
roentgen b75cab
2006-02-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Do not create output file until all option checks
roentgen b75cab
	will be done. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
roentgen b75cab
roentgen b75cab
	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
roentgen b75cab
	list of input files as per bug:
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
roentgen b75cab
roentgen b75cab
2006-02-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
roentgen b75cab
	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
roentgen b75cab
roentgen b75cab
	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
roentgen b75cab
	TIFFRGBAImage interface.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
roentgen b75cab
	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
roentgen b75cab
roentgen b75cab
2006-02-07  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
roentgen b75cab
	compressed TIFF files, per submission from Dan Cobra. 
roentgen b75cab
roentgen b75cab
2006-02-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
roentgen b75cab
	cast values to avoid warnings. As per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
roentgen b75cab
	appropriate. As per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_aux.c: Fixed type of temporary variable in
roentgen b75cab
	_TIFFCheckMalloc() as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
roentgen b75cab
roentgen b75cab
2006-02-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_aux.c: Return static array when fetching default
roentgen b75cab
	YCbCrCoefficients (another problem, reported a the
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
roentgen b75cab
roentgen b75cab
2006-02-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
roentgen b75cab
	YCbCrSubsampling and DotRange tags as per bugs
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
roentgen b75cab
	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
roentgen b75cab
roentgen b75cab
2006-01-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtool related stuff updated from the 2.1a branch.
roentgen b75cab
roentgen b75cab
2006-01-11  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
roentgen b75cab
	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
roentgen b75cab
	properly as per bug:
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
roentgen b75cab
roentgen b75cab
2006-01-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* configure.ac: Fix with_default_strip_size comparison as reported
roentgen b75cab
	by Norihiko Murase.
roentgen b75cab
roentgen b75cab
2006-01-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
roentgen b75cab
	incorrectly, tests were not actually testing the uninstalled
roentgen b75cab
	libtiff.  Now they are.
roentgen b75cab
roentgen b75cab
2006-01-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
roentgen b75cab
	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
roentgen b75cab
	should be uint32 value.
roentgen b75cab
roentgen b75cab
2006-01-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
roentgen b75cab
	be used if build directory is not the same as source directory.
roentgen b75cab
	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
roentgen b75cab
	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
roentgen b75cab
	and re-sorted tag names in alphabetical order.
roentgen b75cab
roentgen b75cab
2005-12-29  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.8.0 released.
roentgen b75cab
roentgen b75cab
2005-12-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/bmp2tiff.c (main): Fixed warning regarding returning
roentgen b75cab
	inconsistent types from a condition.
roentgen b75cab
	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
roentgen b75cab
	format.
roentgen b75cab
	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
roentgen b75cab
roentgen b75cab
2005-12-28  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
roentgen b75cab
roentgen b75cab
2005-12-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
roentgen b75cab
	windows.h, to reduce the compile time.
roentgen b75cab
roentgen b75cab
2005-12-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
roentgen b75cab
roentgen b75cab
2005-12-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}: 
roentgen b75cab
	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
roentgen b75cab
	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
roentgen b75cab
	private functions to retrieve FieldInfo arrays.
roentgen b75cab
roentgen b75cab
2005-12-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* html/build.html: Added some additional instructions for when
roentgen b75cab
	building using MSVC under Windows.  Also fixed two HTML syntax
roentgen b75cab
	errors and used HTML Tidy to tidy up the HTML syntax and
roentgen b75cab
	formatting.
roentgen b75cab
roentgen b75cab
2005-12-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
roentgen b75cab
	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
roentgen b75cab
	StoNits tags custom.
roentgen b75cab
roentgen b75cab
2005-12-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
roentgen b75cab
	WhitePoint tag custom.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
roentgen b75cab
roentgen b75cab
2005-12-23  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: fixed typo that potentially resulted in 
roentgen b75cab
	redefininition of USE_WIN32_FILEIO
roentgen b75cab
roentgen b75cab
	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning 
roentgen b75cab
	calls in core LibTiff.
roentgen b75cab
roentgen b75cab
2005-12-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
roentgen b75cab
	Photoshop and ICCProfile tags custom.
roentgen b75cab
roentgen b75cab
2005-12-21  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 
roentgen b75cab
	newer code to get context indicator in error handler and still
roentgen b75cab
	remain compatible with older code: Done TIFFError calls everywhere 
roentgen b75cab
	except in tools   
roentgen b75cab
roentgen b75cab
2005-12-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Added many error reporting messages; fixed integer
roentgen b75cab
	overflow as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
roentgen b75cab
roentgen b75cab
2005-12-16  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
roentgen b75cab
	YCbCr images in jpeg compressed TIFF files.
roentgen b75cab
roentgen b75cab
2005-12-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Return non-zero status when reading fails (again).
roentgen b75cab
roentgen b75cab
2005-12-13  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Return non-zero status when reading fails.
roentgen b75cab
roentgen b75cab
2005-12-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
roentgen b75cab
roentgen b75cab
2005-12-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
roentgen b75cab
	custom.
roentgen b75cab
roentgen b75cab
	* tools/tiffinfo.c: Print EXIF directory contents if exist.
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Few EXIF tag numbers added.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
roentgen b75cab
	tiffio.h}: Preliminary support to read custom directories. New
roentgen b75cab
	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
roentgen b75cab
roentgen b75cab
2005-12-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
roentgen b75cab
	More work to implement custom directory read support.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
roentgen b75cab
	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
roentgen b75cab
	tags custom.
roentgen b75cab
roentgen b75cab
2005-12-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: One more workaround for broken
roentgen b75cab
	StripByteCounts tag. Handle the case when StripByteCounts array filled
roentgen b75cab
	with completely wrong values.
roentgen b75cab
roentgen b75cab
2005-11-30  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
roentgen b75cab
	in the TIFFOpenW() function as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
roentgen b75cab
	functions as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
roentgen b75cab
roentgen b75cab
2005-11-20  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
roentgen b75cab
	for MS MDI format.
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
roentgen b75cab
roentgen b75cab
	* .cvsignore: many files added, and a few update according
roentgen b75cab
	to suggestion of Brad HArds on tiff mailing list. 
roentgen b75cab
roentgen b75cab
2005-11-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
roentgen b75cab
	public.
roentgen b75cab
roentgen b75cab
2005-10-31  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
roentgen b75cab
	as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
roentgen b75cab
roentgen b75cab
	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
roentgen b75cab
	as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
roentgen b75cab
	problem as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
roentgen b75cab
roentgen b75cab
	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
roentgen b75cab
	ResolutionUnit tags modifiable during write process. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Copy fax related fields over splitted parts
roentgen b75cab
	as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
roentgen b75cab
roentgen b75cab
2005-10-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: Don't try and split single strips into "0" strips
roentgen b75cab
	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
roentgen b75cab
	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
roentgen b75cab
roentgen b75cab
2005-10-20  Joris Van Damme  <joris.at.lebbeke@skynet.be>
roentgen b75cab
roentgen b75cab
	* tif_fax3.c: changed 'at scanline ...' style warning/errors
roentgen b75cab
	with incorrect use of tif_row, to 'at line ... of
roentgen b75cab
	strip/tile ...' style
roentgen b75cab
roentgen b75cab
2005-10-15  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_write.c: fixed setting of planarconfig as per bug report
roentgen b75cab
	on the mailing list from Joris.
roentgen b75cab
roentgen b75cab
2005-10-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
roentgen b75cab
	tif_dirread.c}: Make the default strip size configurable via the
roentgen b75cab
	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
roentgen b75cab
roentgen b75cab
2005-09-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* html/support.html: Fixed link to documentation on Greg Ward's
roentgen b75cab
	LogLuv TIFF format.
roentgen b75cab
roentgen b75cab
2005-09-28  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c: Fixed crash when reading malformed tags.
roentgen b75cab
roentgen b75cab
2005-09-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
roentgen b75cab
roentgen b75cab
2005-09-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.7.4 released.
roentgen b75cab
roentgen b75cab
	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
roentgen b75cab
	from Patrick Welche (all scripts moved in the 'config' and 'm4'
roentgen b75cab
	directories).
roentgen b75cab
roentgen b75cab
2005-09-12  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
roentgen b75cab
roentgen b75cab
2005-09-05  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
roentgen b75cab
	also set it to NULL to avoid double free when re-setting custom
roentgen b75cab
	string fields as per: 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
roentgen b75cab
roentgen b75cab
2005-08-12  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: avoid signed/unsigned warning.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: removed unused variable.
roentgen b75cab
roentgen b75cab
2005-07-30  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
roentgen b75cab
	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
roentgen b75cab
	pass on bigendian (macosx) system.
roentgen b75cab
roentgen b75cab
2005-07-28  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
roentgen b75cab
	CheckMalloc() function to _TIFFCheckMalloc() and make it available
roentgen b75cab
	globally as an internal helper routine.
roentgen b75cab
roentgen b75cab
2005-07-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
roentgen b75cab
	the custom tags handling code.
roentgen b75cab
roentgen b75cab
2005-07-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
roentgen b75cab
	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
roentgen b75cab
	function, use TIFFFetchNormalTag() instead as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
roentgen b75cab
roentgen b75cab
	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
roentgen b75cab
	instead. 
roentgen b75cab
roentgen b75cab
	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
roentgen b75cab
roentgen b75cab
2005-07-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
roentgen b75cab
roentgen b75cab
2005-07-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
roentgen b75cab
	the TIFFWriteCheck() function in case of single band images (as per
roentgen b75cab
	TIFF spec).
roentgen b75cab
roentgen b75cab
2005-07-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* SConstruct, libtiff/SConstruct: Added the first very preliminary
roentgen b75cab
	support for SCons software building tool (http://www.scons.org/).
roentgen b75cab
	This is experimental infrastructure and it will exist along with the
roentgen b75cab
	autotools mechanics.
roentgen b75cab
roentgen b75cab
2005-07-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
roentgen b75cab
	the NetBSD source tree (the old	4-clause BSD license changed to
roentgen b75cab
	the new 3-clause one).
roentgen b75cab
roentgen b75cab
	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
roentgen b75cab
	replacement module.
roentgen b75cab
roentgen b75cab
	* port/dummy.c: Make the dummy function static.
roentgen b75cab
roentgen b75cab
2005-07-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Fixed WhitePoint tag copying.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
roentgen b75cab
	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
roentgen b75cab
	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
roentgen b75cab
roentgen b75cab
2005-07-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.7.3 released.
roentgen b75cab
roentgen b75cab
	* configure, configure.ac: Do not use empty -R option when linking
roentgen b75cab
	with --enable-rpath.
roentgen b75cab
roentgen b75cab
2005-07-01  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
roentgen b75cab
	reading the first IFD when needed. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
roentgen b75cab
roentgen b75cab
	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
roentgen b75cab
	effects.
roentgen b75cab
roentgen b75cab
2005-06-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Print two characters per loop in the
roentgen b75cab
	t2p_write_pdf_trailer(). As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
roentgen b75cab
roentgen b75cab
	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
roentgen b75cab
	per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
roentgen b75cab
roentgen b75cab
	* acinclude.m4: Updated to latest OpenGL test macros versions.
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
roentgen b75cab
	platform. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
roentgen b75cab
roentgen b75cab
2005-06-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
roentgen b75cab
	and YClipPathUnits tags.
roentgen b75cab
roentgen b75cab
2005-06-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
roentgen b75cab
	use pixel sized shift in contigous case.
roentgen b75cab
roentgen b75cab
2005-06-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
roentgen b75cab
	Make overviews working for contiguos images.
roentgen b75cab
roentgen b75cab
2005-06-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: Replace runtime endianess check with the compile
roentgen b75cab
	time one.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_predict.c: Floating point predictor now works on
roentgen b75cab
	big-endian hosts.
roentgen b75cab
roentgen b75cab
2005-06-01  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
roentgen b75cab
	ASCII values.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
roentgen b75cab
	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
roentgen b75cab
	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
roentgen b75cab
	TargetPrinter tags custom.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
roentgen b75cab
	TIFF_CODERSETUP flag (to fix memry leaks).
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
roentgen b75cab
	allocating.
roentgen b75cab
roentgen b75cab
2005-05-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac, libtiff/Makefile.am: Added workaround for
roentgen b75cab
	OpenBSD/MirOS soname problem as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Use tdir_count when calling
roentgen b75cab
	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
roentgen b75cab
	per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
roentgen b75cab
roentgen b75cab
2005-05-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
roentgen b75cab
	the fscanf() function. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
roentgen b75cab
	uint16 array when fetching the BYTE and SBYTE filds, so we should
roentgen b75cab
	consider result as pointer to uint16 array and not as array of chars.
roentgen b75cab
	As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
roentgen b75cab
	mode in CreateFile() call as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
roentgen b75cab
	libtiffxx libraries as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
roentgen b75cab
roentgen b75cab
	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
roentgen b75cab
	GDAL.
roentgen b75cab
roentgen b75cab
2005-05-23  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
roentgen b75cab
	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
roentgen b75cab
	in directory.
roentgen b75cab
roentgen b75cab
2005-05-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Changed the code that computes 
roentgen b75cab
	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
roentgen b75cab
	zero. This is a common case with GDAL indicating a "null" tile/strip.
roentgen b75cab
roentgen b75cab
2005-05-17  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
roentgen b75cab
roentgen b75cab
2005-05-06  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Applied similar change to 
roentgen b75cab
	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys. 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
roentgen b75cab
roentgen b75cab
2005-05-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
roentgen b75cab
	added new option '-b' to use interpolation in output PDF files (Bruno
roentgen b75cab
	Ledoux).
roentgen b75cab
roentgen b75cab
2005-05-05  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Ensure that broken files with too many
roentgen b75cab
	values in PerSampleShorts work ok instead of crashing.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
roentgen b75cab
roentgen b75cab
2005-04-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
roentgen b75cab
	input file.
roentgen b75cab
roentgen b75cab
2005-04-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_predict.c: Added ability to encode floating point
roentgen b75cab
	predictor, as per TIFF Technical Note 3.
roentgen b75cab
roentgen b75cab
2005-04-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
roentgen b75cab
	floating point predictor, as per TIFF Technical Note 3.
roentgen b75cab
roentgen b75cab
2005-04-13  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
roentgen b75cab
	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
roentgen b75cab
	swap 24-bit floating point values.
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Added predictor constants.
roentgen b75cab
roentgen b75cab
2005-04-08  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
roentgen b75cab
	values in _TIFFVSetField() function. Inspired by the bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
roentgen b75cab
roentgen b75cab
	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
roentgen b75cab
	as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
roentgen b75cab
roentgen b75cab
2005-03-30  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: Do not read header in case the output file
roentgen b75cab
	should be truncated (Ron).
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
roentgen b75cab
	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
roentgen b75cab
roentgen b75cab
	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
roentgen b75cab
roentgen b75cab
2005-03-22  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
roentgen b75cab
	rpath option.
roentgen b75cab
roentgen b75cab
2005-03-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
roentgen b75cab
	tags.
roentgen b75cab
roentgen b75cab
2005-03-18  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/dirinfo.c: Added DNG tags.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
roentgen b75cab
	handling code.
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
roentgen b75cab
	added DNG 1.1.0.0 tags.
roentgen b75cab
roentgen b75cab
	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
roentgen b75cab
	bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
roentgen b75cab
roentgen b75cab
	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
roentgen b75cab
roentgen b75cab
2005-03-17  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* nmake.opt: Build with Win32 CRT library by default.
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Fixed typo in page size handling code.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
roentgen b75cab
	by value.
roentgen b75cab
roentgen b75cab
	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
roentgen b75cab
roentgen b75cab
2005-03-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.7.2 released.
roentgen b75cab
roentgen b75cab
2005-03-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
roentgen b75cab
	floating point data; complain on unsupported bit depths.
roentgen b75cab
roentgen b75cab
2005-03-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tif_stream.cxx: Use ios namespace instead of ios_base to support
roentgen b75cab
	GCC 2.95.
roentgen b75cab
roentgen b75cab
	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
roentgen b75cab
	Lee Howard for HylaFax DCS tag
roentgen b75cab
	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
roentgen b75cab
roentgen b75cab
2005-03-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure, configure.ac: Use -rpath option instead of -R as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
roentgen b75cab
roentgen b75cab
	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
roentgen b75cab
	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
roentgen b75cab
	software. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
roentgen b75cab
roentgen b75cab
	* nmake.opt, html/build.html: Add more comments, change the config
roentgen b75cab
	file organization a bit as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
roentgen b75cab
roentgen b75cab
	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
roentgen b75cab
	as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
roentgen b75cab
roentgen b75cab
2005-03-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
roentgen b75cab
	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
roentgen b75cab
roentgen b75cab
	* tools/fax2ps.c: Replace insecure mktemp() function with the
roentgen b75cab
	tmpfile() as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
roentgen b75cab
roentgen b75cab
2005-02-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Changed the int8 definition to be always signed char
roentgen b75cab
	as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
roentgen b75cab
	block as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
roentgen b75cab
roentgen b75cab
2005-02-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
roentgen b75cab
	display more correctly.  Images display brighter than they should
roentgen b75cab
	on a Sun workstation.
roentgen b75cab
roentgen b75cab
2005-02-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
roentgen b75cab
	suspicious values in the tags. As per bugs
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
roentgen b75cab
roentgen b75cab
	and
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
roentgen b75cab
roentgen b75cab
2005-01-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
roentgen b75cab
	(TIFFTAG_TILELENGTH): Corrected description.
roentgen b75cab
roentgen b75cab
2005-01-30  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac: Fixes for --with-docdir option as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
roentgen b75cab
	bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
roentgen b75cab
roentgen b75cab
	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
roentgen b75cab
	Michael Rinne and Edward Lam.
roentgen b75cab
roentgen b75cab
2005-01-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac: Make the documentation directory location configurable
roentgen b75cab
	via the --with-docdir option (as suggested by Jeremy C. Reed).
roentgen b75cab
roentgen b75cab
	* libtiff/tif_color.c: Use double as the second argument of pow()
roentgen b75cab
	function in TIFFCIELabToRGBInit(). As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
roentgen b75cab
roentgen b75cab
	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
roentgen b75cab
	integer as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Always fill the error message buffer in
roentgen b75cab
	TIFFRGBAImageBegin() as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
roentgen b75cab
	
roentgen b75cab
2005-01-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
roentgen b75cab
	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
roentgen b75cab
	tags as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: Fixed message formatting in functions
roentgen b75cab
	Win32WarningHandler() and Win32ErrorHandler() as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
roentgen b75cab
	per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
roentgen b75cab
roentgen b75cab
2005-01-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
roentgen b75cab
	"C"' section as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
roentgen b75cab
	compiler to avoid double definition of BSD types as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=39	
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.am: Place the C++ stream API in the separate
roentgen b75cab
	library called libtiffxx to avoid unneeded dependencies. Probably
roentgen b75cab
	there will be more C++ API in the future. As per bugs
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
roentgen b75cab
roentgen b75cab
	and
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
roentgen b75cab
roentgen b75cab
2005-01-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
roentgen b75cab
	wrong tag counts (Dmitry V. Levin, Martin Pitt).
roentgen b75cab
roentgen b75cab
	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
roentgen b75cab
	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
roentgen b75cab
roentgen b75cab
2004-12-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
roentgen b75cab
	RGB-images as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
roentgen b75cab
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: Convert character option to integer value as per
roentgen b75cab
	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
roentgen b75cab
roentgen b75cab
2004-12-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.7.1 released.
roentgen b75cab
roentgen b75cab
	* html/tiffset.1.html: Add missed manual page as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Revert back libtiff data type definitions as per
roentgen b75cab
	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
roentgen b75cab
roentgen b75cab
2004-12-19  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
roentgen b75cab
	checking for tag count in TIFFReadDirectory() function. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
roentgen b75cab
	CheckMallock() function.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
roentgen b75cab
	RGB-images as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
roentgen b75cab
roentgen b75cab
2004-12-15  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
roentgen b75cab
	SunPro compiler. 
roentgen b75cab
roentgen b75cab
2004-12-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* autogen.sh: aclocal and autoheader should be executed after
roentgen b75cab
	libtoolize.  Also add '-I .' to aclocal invocation to check
roentgen b75cab
	current directory for macros.
roentgen b75cab
roentgen b75cab
2004-12-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
roentgen b75cab
	as per bugs
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
roentgen b75cab
roentgen b75cab
	and
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
roentgen b75cab
roentgen b75cab
2004-12-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
roentgen b75cab
	mode as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
roentgen b75cab
roentgen b75cab
	* libtiff/tif_config.in.vc: Removed unneded definitions for
roentgen b75cab
	read/open/close/lseek functions to fix the
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
roentgen b75cab
	
roentgen b75cab
2004-12-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
roentgen b75cab
	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
roentgen b75cab
	must be removed in the future, as it was never used properly. As per
roentgen b75cab
	bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
roentgen b75cab
roentgen b75cab
2004-11-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Added a work-around in order to allow
roentgen b75cab
	compilation with the heavily modified version of libjpeg delivered
roentgen b75cab
	with Cygwin.
roentgen b75cab
roentgen b75cab
2004-11-29  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
roentgen b75cab
	counts. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
roentgen b75cab
roentgen b75cab
	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
roentgen b75cab
roentgen b75cab
2004-11-28  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
roentgen b75cab
	on Windows.
roentgen b75cab
roentgen b75cab
	* nmake.opt: Add missed DLLNAME variable.
roentgen b75cab
roentgen b75cab
2004-11-26  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/makefile.vc: make it easier to rename the libtiff DLL. 
roentgen b75cab
roentgen b75cab
2004-11-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
roentgen b75cab
	per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
roentgen b75cab
roentgen b75cab
	* man/tiffset.1: Added manual page for tiffset tool written by Jay
roentgen b75cab
	Berkenbilt. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
roentgen b75cab
roentgen b75cab
2004-11-23  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
roentgen b75cab
roentgen b75cab
2004-11-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* html/document.html: Updated Adobe web links as per email from Joris.
roentgen b75cab
roentgen b75cab
2004-11-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
roentgen b75cab
	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
roentgen b75cab
	use C++ streams should #include <tiffio.hxx>.
roentgen b75cab
roentgen b75cab
2004-11-13  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Added Adobe DNG tags.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: Typo fixed.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
roentgen b75cab
	be compliant with the latest standard. Appropriate additions in
roentgen b75cab
	makefiles now completed.
roentgen b75cab
roentgen b75cab
2004-11-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
roentgen b75cab
	different tag types. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
roentgen b75cab
roentgen b75cab
2004-11-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
roentgen b75cab
	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
roentgen b75cab
roentgen b75cab
2004-11-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
roentgen b75cab
roentgen b75cab
2004-11-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
roentgen b75cab
	contributed by Edward Lam (see
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
roentgen b75cab
	Though no changes in any makefiles yet.
roentgen b75cab
roentgen b75cab
2004-11-05  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
roentgen b75cab
	is bad. This is the callers responsibility.
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
roentgen b75cab
roentgen b75cab
2004-11-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
roentgen b75cab
	function to work with the double byte strings (used to represent
roentgen b75cab
	filenames in some locales). As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
roentgen b75cab
	Compression tags of type LONG from broken TIFFS as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
roentgen b75cab
	the writecount should have uint32 type. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: Fixed wrong if() statement in
roentgen b75cab
	TIFFAppendToStrip() function as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
roentgen b75cab
roentgen b75cab
2004-11-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
roentgen b75cab
	field. The caller should supply a count when setting this field. As
roentgen b75cab
	per bug
roentgen b75cab
roentgen b75cab
	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
roentgen b75cab
	
roentgen b75cab
	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
roentgen b75cab
	uint32 count. Use this type everywhere.
roentgen b75cab
roentgen b75cab
2004-11-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
roentgen b75cab
roentgen b75cab
2004-11-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2rgba.c: removed extra newlines in usage message.
roentgen b75cab
roentgen b75cab
2004-10-30  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
roentgen b75cab
	tags (Tristan Hill).
roentgen b75cab
roentgen b75cab
2004-10-30  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffiop.h: added fallback definition of assert() if we
roentgen b75cab
	don't have assert.h.
roentgen b75cab
roentgen b75cab
2004-10-29  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
roentgen b75cab
	choosing when the incorrect Group4Options tag set. As per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
roentgen b75cab
	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
roentgen b75cab
	TIFFWriteNormalTag().
roentgen b75cab
roentgen b75cab
2004-10-28  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
roentgen b75cab
	tags (Peter Fales).
roentgen b75cab
roentgen b75cab
	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
roentgen b75cab
roentgen b75cab
2004-10-28  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: added casts to avoid warnings.
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: Added several more entry points required
roentgen b75cab
	to link fax2tiff.c against the DLL on windows. 
roentgen b75cab
roentgen b75cab
2004-10-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure, configure.ac: Added --enable-rpath option to embed linker
roentgen b75cab
	paths into library binary.
roentgen b75cab
roentgen b75cab
2004-10-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
roentgen b75cab
	(Vladimir Nadvornik, Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
2004-10-16  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.7.0 released.
roentgen b75cab
roentgen b75cab
2004-10-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
roentgen b75cab
	in this file so its inclusion is removed.  Including stdio.h
roentgen b75cab
	sometimes incurs an INT32 typedef conflict between MinGW's
roentgen b75cab
	basetsd.h and libjpeg's jmorecfg.h.
roentgen b75cab
roentgen b75cab
2004-10-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
roentgen b75cab
roentgen b75cab
2004-10-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
roentgen b75cab
	conflict noticed under MinGW.
roentgen b75cab
	* ltmain.sh: Fix for MinGW compilation.
roentgen b75cab
roentgen b75cab
2004-10-13  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
roentgen b75cab
roentgen b75cab
2004-10-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
roentgen b75cab
	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
roentgen b75cab
	properly (Dmitry V. Levin, Marcus Meissner).
roentgen b75cab
roentgen b75cab
2004-10-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
roentgen b75cab
	to TIFF_IFD.
roentgen b75cab
roentgen b75cab
2004-10-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/bmp2tif.c: Check the space allocation results.
roentgen b75cab
roentgen b75cab
2004-10-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
roentgen b75cab
	of the TIFFDirectory structure with the 0 instead of -1 to avoid
roentgen b75cab
	confusing integer overflows in TIFFTileRowSize() for striped images.
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
roentgen b75cab
	by Ross A. Finlayson.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
roentgen b75cab
roentgen b75cab
2004-10-08  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
roentgen b75cab
	of tif_fieldinfo.  
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
roentgen b75cab
roentgen b75cab
2004-10-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* contrib/iptcutil/README: Added the missing README which goes
roentgen b75cab
	along with iptcutil.
roentgen b75cab
roentgen b75cab
2004-10-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_compress.c: Improved error reporting in
roentgen b75cab
	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
2004-10-02  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.7.0beta2 released.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
roentgen b75cab
	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
roentgen b75cab
	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
roentgen b75cab
	allocations and	integer overflows (Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
roentgen b75cab
roentgen b75cab
2004-10-01  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: added a more informative message if a BigTIFF
roentgen b75cab
	file is opened.
roentgen b75cab
roentgen b75cab
2004-09-30  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to 
roentgen b75cab
	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
roentgen b75cab
	in the Adobe XMP Specification.
roentgen b75cab
roentgen b75cab
2004-09-29  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
roentgen b75cab
	memset().
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
roentgen b75cab
	from Dmitry V. Levin to fix possible integer overflow problems.
roentgen b75cab
roentgen b75cab
2004-09-28  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
roentgen b75cab
	(Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
2004-09-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
roentgen b75cab
	Optimize checking for the strip bounds. 
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
roentgen b75cab
	TIFFRasterScanlineSize() functions report zero in the case of integer
roentgen b75cab
	overflow now. Properly handle this case in TIFFReadDirectory()
roentgen b75cab
	(patches from Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
2004-09-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
roentgen b75cab
	macro where appropriate.
roentgen b75cab
roentgen b75cab
	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
roentgen b75cab
	noted by Gennady Khokhorin.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Always check the return values, returned
roentgen b75cab
	by the _TIFFmalloc() (Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
roentgen b75cab
	functions (Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
roentgen b75cab
	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
roentgen b75cab
	TIFFGrowStrips() (found by Dmitry V. Levin).
roentgen b75cab
roentgen b75cab
2004-09-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
roentgen b75cab
	to get the list of configured codecs.
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
roentgen b75cab
	Dmitry V. Levin.
roentgen b75cab
roentgen b75cab
2004-09-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
roentgen b75cab
	possible integer overflow in CheckMalloc() function.
roentgen b75cab
roentgen b75cab
2004-09-22  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
roentgen b75cab
	of plain TIFFhowmany() where appropriate.
roentgen b75cab
roentgen b75cab
2004-09-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
roentgen b75cab
roentgen b75cab
2004-09-19  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.7.0beta released.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
roentgen b75cab
	overruns fixed, as noted by Chris Evans.
roentgen b75cab
roentgen b75cab
2004-09-14  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* commit: Added a script to make it more convenient to commit
roentgen b75cab
	updates.  The CVS commit message is extracted from this ChangeLog
roentgen b75cab
	file.
roentgen b75cab
roentgen b75cab
2004-09-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
roentgen b75cab
	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
roentgen b75cab
	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
roentgen b75cab
	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
roentgen b75cab
	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
roentgen b75cab
	tif_config.h.in, tiffiop.h}:
roentgen b75cab
	Get rid of BSD data types (u_char, u_short, u_int, u_long).
roentgen b75cab
roentgen b75cab
2004-09-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
roentgen b75cab
	specification. Reference libtiff bug tracking system to submit
roentgen b75cab
	private tag additions.
roentgen b75cab
roentgen b75cab
2004-09-12  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* tools/tiffgt.c: Include "tif_config.h".
roentgen b75cab
roentgen b75cab
	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
roentgen b75cab
	tiffgt.  This results in the 'compile' script being added to the
roentgen b75cab
	project.
roentgen b75cab
roentgen b75cab
	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
roentgen b75cab
	required to find OpenGL headers necessary to build tiffgt.  Also
roentgen b75cab
	ensure that the libtiff that we built is used rather than some other
roentgen b75cab
	libtiff installed on the system.
roentgen b75cab
roentgen b75cab
2004-09-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
roentgen b75cab
	libraries.
roentgen b75cab
roentgen b75cab
2004-09-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
roentgen b75cab
roentgen b75cab
	* configure.ac: Pass library configuration defines via
roentgen b75cab
	tif_config.h rather than extending CPPFLAGS. Configure a
roentgen b75cab
	libtiff/tiffconf.h in order to satisfy application requirements
roentgen b75cab
	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
roentgen b75cab
	this causes failure to build on systems which properly respect
roentgen b75cab
	this request.
roentgen b75cab
roentgen b75cab
	* libtiff/tiffconf.h.in: New file to act as the template for the
roentgen b75cab
	configured tiffconf.h
roentgen b75cab
roentgen b75cab
	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
roentgen b75cab
roentgen b75cab
2004-09-10  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* html/internals.html: Split off a discussion of adding new tags
roentgen b75cab
	into addingtags.html.
roentgen b75cab
roentgen b75cab
2004-09-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Don't reject to read tags of the
roentgen b75cab
	SamplesPerPixel size when the tag count is greater than number of
roentgen b75cab
	samples as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
roentgen b75cab
	defining int8/uint8/... etc. types. As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
roentgen b75cab
roentgen b75cab
2004-09-09  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
roentgen b75cab
	to avoid compile warnings about getopt() and a few other things.
roentgen b75cab
roentgen b75cab
2004-09-02  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
roentgen b75cab
	assigning magic in TIFFFetchFloat().
roentgen b75cab
roentgen b75cab
2004-09-01  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
roentgen b75cab
	to avoid requirement for tiffiop.h inclusion in some applications. See
roentgen b75cab
	here
roentgen b75cab
roentgen b75cab
	http://www.asmail.be/msg0054799560.html
roentgen b75cab
	
roentgen b75cab
	for details.
roentgen b75cab
roentgen b75cab
	* tools/fax2tiff.c: Use the new functions in the code.
roentgen b75cab
roentgen b75cab
2004-08-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Initialize arrays properly.
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
roentgen b75cab
	properly initialize array in PSDataBW().
roentgen b75cab
roentgen b75cab
2004-08-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: More fixes for bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
roentgen b75cab
roentgen b75cab
	from Ross Finlayson.
roentgen b75cab
roentgen b75cab
2004-08-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Fixed problem with uninitialized values.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
roentgen b75cab
	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
roentgen b75cab
roentgen b75cab
2004-08-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
roentgen b75cab
	that the input file has compression, photometric interpretation,
roentgen b75cab
	etcetra, tags or if not than a more descriptive error is returned.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
roentgen b75cab
	code, responsible for tag data type checking.
roentgen b75cab
roentgen b75cab
2004-08-19  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
roentgen b75cab
	variable as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
roentgen b75cab
roentgen b75cab
2004-08-16  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
roentgen b75cab
	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
roentgen b75cab
roentgen b75cab
2004-08-01  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
roentgen b75cab
	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
roentgen b75cab
roentgen b75cab
2004-07-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: LZW compression code is merged back from the
roentgen b75cab
	separate package. All libtiff tools are updated to not advertise an
roentgen b75cab
	abcence of LZW support.
roentgen b75cab
roentgen b75cab
2004-07-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Revert thandle_t back to void* type.
roentgen b75cab
roentgen b75cab
2004-07-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
roentgen b75cab
	messages, as suggested by Bernd Herd.
roentgen b75cab
roentgen b75cab
2004-07-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
roentgen b75cab
	when setting custom tags by value. Reported by Eric Fieleke.
roentgen b75cab
roentgen b75cab
2004-06-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
roentgen b75cab
roentgen b75cab
2004-06-08  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
roentgen b75cab
	into TIFFs.
roentgen b75cab
roentgen b75cab
2004-06-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.7.0alpha released.
roentgen b75cab
roentgen b75cab
2004-06-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
roentgen b75cab
	of ugly 64-bit hacks, replace them with the clever (autoconf based )
roentgen b75cab
	ones :-).
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
roentgen b75cab
	problems in 64-bit environment).
roentgen b75cab
roentgen b75cab
2004-06-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
roentgen b75cab
	Tags can be supplied by the mnemonic name or number.
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
roentgen b75cab
	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
roentgen b75cab
roentgen b75cab
2004-05-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
roentgen b75cab
	markers as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
roentgen b75cab
roentgen b75cab
2004-05-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Don't forget to copy Photometric
roentgen b75cab
	Interpretation tag.
roentgen b75cab
roentgen b75cab
2004-05-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_open.c, tiffio.h}: New function added:
roentgen b75cab
	TIFFIsBigEndian(). Function returns nonzero if given was file written
roentgen b75cab
	in big-endian order.
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
roentgen b75cab
	files. Now output files will be written using the same byte order
roentgen b75cab
	flag as	in the input image. See
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
roentgen b75cab
	
roentgen b75cab
	for details.
roentgen b75cab
	
roentgen b75cab
2004-05-19  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: added (untested) support for printing
roentgen b75cab
	SSHORT, SLONG and SRATIONAL fields.
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: close output file on normal exit.
roentgen b75cab
roentgen b75cab
2004-05-17  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
roentgen b75cab
	if compression type mismatches. See
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
roentgen b75cab
roentgen b75cab
2004-04-30  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_strip.c: Never return 0 from the
roentgen b75cab
	TIFFNumberOfStrips().
roentgen b75cab
roentgen b75cab
2004-04-29  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
roentgen b75cab
	store single SampleFormat value for multisampled images. See
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
roentgen b75cab
roentgen b75cab
2004-04-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
roentgen b75cab
	int16 and int32 types to avoid complains on some compilers. Details at
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
roentgen b75cab
roentgen b75cab
2004-04-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
roentgen b75cab
roentgen b75cab
2004-04-14  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: Allow in-place updating of the compressed
roentgen b75cab
	images (don't work properly with all codecs). For details see GDAL bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
roentgen b75cab
roentgen b75cab
2004-04-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
roentgen b75cab
	in the Intergarph JPEG compressed TIFF images as per bug:
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
roentgen b75cab
roentgen b75cab
2004-04-04  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
roentgen b75cab
	via bad2. 
roentgen b75cab
roentgen b75cab
2004-03-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
roentgen b75cab
	JPEG compression of grayscale images.
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
roentgen b75cab
	present in the input image.
roentgen b75cab
roentgen b75cab
2004-03-19  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* {many}: The first attempt to switch to autotools.
roentgen b75cab
roentgen b75cab
2004-03-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
roentgen b75cab
	TIFFClientOpen() when the appropriate client functions was not
roentgen b75cab
	supplied by user.
roentgen b75cab
roentgen b75cab
2004-03-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/ycbcr.c: fixed main() declaration as per:
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
roentgen b75cab
roentgen b75cab
2004-02-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed 
roentgen b75cab
	images. Reported by Artem Mirolubov.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 
roentgen b75cab
	tag type in TIFFFetchNormalTag() as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
roentgen b75cab
roentgen b75cab
2004-02-17  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
roentgen b75cab
roentgen b75cab
2004-02-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
roentgen b75cab
	bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
roentgen b75cab
roentgen b75cab
	But we need more work on fax codec to support update mode.
roentgen b75cab
roentgen b75cab
2004-01-30  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
roentgen b75cab
	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by 
roentgen b75cab
	Scott Reynolds. 
roentgen b75cab
roentgen b75cab
2004-01-29  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
roentgen b75cab
	and TIFFTAG_INDEXED as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
roentgen b75cab
	NULL before proceeding further as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
roentgen b75cab
roentgen b75cab
	Check results, returned by the TIFFFdOpen() before returning and close
roentgen b75cab
	file if TIFFFdOpen() failed as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_open.c: More fixes for
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
roentgen b75cab
roentgen b75cab
2004-01-28  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
roentgen b75cab
	TIFFCleanup() from the TIFFClose() in order to fix the bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
roentgen b75cab
	InkNames tag as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
roentgen b75cab
roentgen b75cab
	Memory leak fixed.
roentgen b75cab
roentgen b75cab
2004-01-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
roentgen b75cab
	are field_passcount=TRUE properly.  Arguably anonymous custom tags
roentgen b75cab
	should be declared as passcount=FALSE, but I don't want to change
roentgen b75cab
	that without a careful review. 
roentgen b75cab
roentgen b75cab
2004-01-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
roentgen b75cab
	stripped image in TIFFWriteBufferSetup(). As per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
roentgen b75cab
roentgen b75cab
2004-01-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
roentgen b75cab
	patch from Gerben Koopmans.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Check field_passcount value before setting
roentgen b75cab
	the value of undefined type, patch from Gerben Koopmans.
roentgen b75cab
roentgen b75cab
2004-01-02  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
roentgen b75cab
	non-RGB images.
roentgen b75cab
roentgen b75cab
2003-12-31  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
roentgen b75cab
	pointer passed. Patch supplied by Larry Grill.
roentgen b75cab
roentgen b75cab
	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
roentgen b75cab
	suggested by Jeremy C. Reed.
roentgen b75cab
roentgen b75cab
2003-12-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff 3.6.1 released.
roentgen b75cab
roentgen b75cab
2003-12-24  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* config.guess, config.sub: Updated from the recent upstream.
roentgen b75cab
roentgen b75cab
2003-12-22  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
roentgen b75cab
	More cleanups in color conversion interface, added appropriate manual
roentgen b75cab
	page.
roentgen b75cab
roentgen b75cab
2003-12-19  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
roentgen b75cab
	per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Added support for alpha channel. Fixes
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
roentgen b75cab
roentgen b75cab
	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
roentgen b75cab
	Interface for Lab->RGB color conversion is finally cleaned up.
roentgen b75cab
	Added support for ReferenceBlackWhite tag handling when converted from
roentgen b75cab
	YCbCr color space. The latter closes
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
roentgen b75cab
roentgen b75cab
2003-12-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
roentgen b75cab
roentgen b75cab
	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
roentgen b75cab
	library.
roentgen b75cab
roentgen b75cab
2003-12-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
roentgen b75cab
	file and properly use it for CIE Lab->RGB transform.
roentgen b75cab
roentgen b75cab
2003-12-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
roentgen b75cab
	conversion routines now in the tif_color.c module. New function
roentgen b75cab
	TIFFYCbCrtoRGB() available in TIFF API.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
roentgen b75cab
roentgen b75cab
2003-12-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
roentgen b75cab
	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
roentgen b75cab
	module.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
roentgen b75cab
	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
roentgen b75cab
	Finally resolved problems with orientation handling. TIFFRGBAImage
roentgen b75cab
	interface now properly supports all possible orientations, i.e. images
roentgen b75cab
	will be flipped both in horizontal and vertical directions if
roentgen b75cab
	required. 'Known bugs' section now removed from the appropriate manual
roentgen b75cab
	pages. Closed bug entry:
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
roentgen b75cab
roentgen b75cab
2003-12-02  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
roentgen b75cab
	function calls as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
roentgen b75cab
roentgen b75cab
2003-11-28 Ross Finlayson  <libtiff@apexinternetsoftware.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2pdf.c:  Some bugs fixed.
roentgen b75cab
roentgen b75cab
2003-11-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
roentgen b75cab
	reported by Antonio Scuri.
roentgen b75cab
roentgen b75cab
	* man/tiff2pdf.1: Few improvements in page layout.
roentgen b75cab
roentgen b75cab
	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
roentgen b75cab
	 Added support fpr tiff2pdf manual page.
roentgen b75cab
roentgen b75cab
2003-11-26 Ross Finlayson  <libtiff@apexinternetsoftware.com>
roentgen b75cab
roentgen b75cab
	* /man/tiff2pdf.1:  File added to repository.
roentgen b75cab
roentgen b75cab
2003-11-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
roentgen b75cab
	 Added support fpr tiff2pdf utility.
roentgen b75cab
roentgen b75cab
2003-11-25  Ross Finlayson  <libtiff@apexinternetsoftware.com>
roentgen b75cab
roentgen b75cab
	* /tools/tiff2pdf.c:  File added to repository.
roentgen b75cab
roentgen b75cab
2003-11-22  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
roentgen b75cab
roentgen b75cab
2003-11-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* /tools/raw2tiff.c: #include <getopt.h> removed.
roentgen b75cab
roentgen b75cab
	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
roentgen b75cab
	sgigt utility removed and replaced with the completely rewritten
roentgen b75cab
	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
roentgen b75cab
	there is a lot of things to improve.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
roentgen b75cab
	extract the fields from the OJPEG files. Patch supplied by Ross
roentgen b75cab
	Finlayson.
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
roentgen b75cab
	Added new function TIFFIsCODECConfigured(), suggested by Ross
roentgen b75cab
	Finlayson.
roentgen b75cab
roentgen b75cab
2003-11-18  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Implemented binary search in
roentgen b75cab
	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
roentgen b75cab
	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
roentgen b75cab
roentgen b75cab
2003-11-17  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: do not mark all anonymously defined tags to be 
roentgen b75cab
	IGNOREd.  
roentgen b75cab
roentgen b75cab
2003-11-17  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
roentgen b75cab
	TIFFDataWidth() function insted of tiffDataWidth array.
roentgen b75cab
roentgen b75cab
2003-11-16  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
roentgen b75cab
	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
roentgen b75cab
roentgen b75cab
2003-11-15  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* Makefile.in: fixed missing backslash for tif_color.c in list.
roentgen b75cab
roentgen b75cab
2003-11-13  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
roentgen b75cab
	New color space conversion code: CIE L*a*b* 1976 images now supported
roentgen b75cab
	by the TIFFRGBAImage interface. All introduced routines go to new
roentgen b75cab
	module tif_color.c. Eventually all color conversion functions should
roentgen b75cab
	be moved there.
roentgen b75cab
roentgen b75cab
2003-11-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
roentgen b75cab
	with the reverse byte order (it is reported by the magic header
roentgen b75cab
	field). Problem reported by Andreas Wiesmann.
roentgen b75cab
roentgen b75cab
	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
roentgen b75cab
	calculation function. Guessing mechanics now documented in manual page.
roentgen b75cab
roentgen b75cab
2003-11-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/raw2tiff.c: Implemented image size guessing using
roentgen b75cab
	correlation coefficient calculation between two neighbour lines.
roentgen b75cab
roentgen b75cab
2003-11-09  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the 
roentgen b75cab
	planarconfig_contig case in TIFFComputeTile().
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
roentgen b75cab
roentgen b75cab
2003-11-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
roentgen b75cab
	
roentgen b75cab
2003-11-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
roentgen b75cab
	Added TIFFRawStripSize() function as suggested by Chris Hanson.
roentgen b75cab
roentgen b75cab
2003-11-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
roentgen b75cab
	per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
roentgen b75cab
roentgen b75cab
2003-10-29  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
roentgen b75cab
roentgen b75cab
	* html/build.html: Added note about GNU make requirement.
roentgen b75cab
roentgen b75cab
2003-10-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* Makefile.in: Fixes in using MAKEFLAGS as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
roentgen b75cab
roentgen b75cab
	* port/install.sh.in: Option -p added to the mkdir command to create
roentgen b75cab
	all directory tree structure before installing.
roentgen b75cab
roentgen b75cab
2003-10-18  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* /tools/tiff2ps.c: #include <strings.h> replaced with the
roentgen b75cab
	#include <string.h>.
roentgen b75cab
roentgen b75cab
2003-10-16  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* Makefile.in: Add an absolute path to the test_pics.sh call.
roentgen b75cab
roentgen b75cab
2003-10-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
roentgen b75cab
	typedefs.
roentgen b75cab
roentgen b75cab
2003-10-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* configure, libtiff/{Makefile.in, mkversion.c}:
roentgen b75cab
	Relative buildings fixed.
roentgen b75cab
roentgen b75cab
	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
roentgen b75cab
	rule.
roentgen b75cab
roentgen b75cab
2003-10-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* Makefile.in: Added missed v3.6.0.html.
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
roentgen b75cab
	ORIENTATION_BOTLEFT.
roentgen b75cab
roentgen b75cab
2003-10-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* 3.6.0 final release.
roentgen b75cab
roentgen b75cab
2003-10-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
roentgen b75cab
	function TIFFReadRGBAImageOriented() implemented to retrieve raster
roentgen b75cab
	array with user-specified origin position as suggested by Jason Frank.
roentgen b75cab
	See
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
roentgen b75cab
roentgen b75cab
	for details.
roentgen b75cab
	
roentgen b75cab
	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
roentgen b75cab
	instead of TIFFReadRGBAImage().
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Fixed possible endless loop as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
roentgen b75cab
roentgen b75cab
2003-09-30  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Check field counter against number of fields
roentgen b75cab
	in order to fix
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
roentgen b75cab
roentgen b75cab
	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
roentgen b75cab
roentgen b75cab
2003-09-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
roentgen b75cab
	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
roentgen b75cab
roentgen b75cab
2003-09-23  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
roentgen b75cab
roentgen b75cab
2003-08-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffmedian.c: int declaration replaced with the uint32 to
roentgen b75cab
	support large images as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
roentgen b75cab
roentgen b75cab
2003-08-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
 	* libtiff/Makefile.in: Fixed problem with building in different
roentgen b75cab
	directory.
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Added missing #include <strings.h>.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: More fixes for custom tags code
roentgen b75cab
	from Ashley Dreier.
roentgen b75cab
roentgen b75cab
2003-08-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
roentgen b75cab
	Patch submitted by Balatoni Denes (with corrections from Tom
roentgen b75cab
	Kacvinsky).
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
roentgen b75cab
	being used. Reported by Tom Kacvinsky.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
roentgen b75cab
	reported by Ashley Dreier.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: Fixed problem with float tags reading, support
roentgen b75cab
	for printing RATIONAL and BYTE tags added.
roentgen b75cab
roentgen b75cab
2003-08-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
roentgen b75cab
	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
roentgen b75cab
	problems with predictor initialization. Remove O_RDONLY check during
roentgen b75cab
	state block allocation to be able open LZW compressed files in update
roentgen b75cab
	mode.
roentgen b75cab
roentgen b75cab
	Problem exist for libtiff version of the tif_lzw.c module. One from
roentgen b75cab
	lzw-compression-kit hasn't such troubles.
roentgen b75cab
roentgen b75cab
2003-08-04  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: modified tif_write.c so that the various
roentgen b75cab
	encoded write functions use tif_postdecode() to apply byte order
roentgen b75cab
	swapping (swab) to the application passed data buffer if the same
roentgen b75cab
	would be done when reading.  This allows us to write pixel data with
roentgen b75cab
	more than 8 bits per sample to existing files of a non-native byte 
roentgen b75cab
	order.  One side effect of this change is the applications buffer
roentgen b75cab
	itself is altered in this case by the act of writing. 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
roentgen b75cab
roentgen b75cab
2003-07-25  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: avoid signed/unsigned casting warning
roentgen b75cab
	initializing typemask as per patch from J.A. Strother.
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: fixed signed/unsigned casting warning.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: dos2unix conversion.
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: increased the maximum number of pages that
roentgen b75cab
	can be split.  Patch provided by Andrew J. Montalenti.
roentgen b75cab
roentgen b75cab
2003-07-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/raw2tiff.c: Added option `-p' to explicitly select color
roentgen b75cab
	space of input image data. Closes
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
roentgen b75cab
roentgen b75cab
2003-07-08  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
roentgen b75cab
	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c, 
roentgen b75cab
	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
roentgen b75cab
	avoid casting warning at /W4. 
roentgen b75cab
roentgen b75cab
2003-07-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
roentgen b75cab
roentgen b75cab
2003-06-30  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_pixarlog.c: Unused variables removed.
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
roentgen b75cab
	EstimateStripByteCounts() as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
roentgen b75cab
	64-bit architectures as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
roentgen b75cab
	unknown data type.
roentgen b75cab
	
roentgen b75cab
2003-06-19  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_print.c: fixed some serious bugs when printing
roentgen b75cab
	custom tags ... almost certain to crash. 
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Don't ignore custom fields that are
roentgen b75cab
	autodefined.  Not sure how this got to be like this.
roentgen b75cab
roentgen b75cab
2003-06-18  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* 3.6.0 Beta2 released.
roentgen b75cab
roentgen b75cab
	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
roentgen b75cab
	comparing as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
roentgen b75cab
roentgen b75cab
	`-z' option now can be used to set the number of reported different
roentgen b75cab
	bytes.
roentgen b75cab
	
roentgen b75cab
2003-06-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
roentgen b75cab
	to -r option to get the entire image as one strip. See
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
roentgen b75cab
roentgen b75cab
	for details.
roentgen b75cab
roentgen b75cab
2003-06-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
roentgen b75cab
	values as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
roentgen b75cab
roentgen b75cab
2003-05-27  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: modified segment_height calculation to always
roentgen b75cab
	be a full height tile for tiled images.  Also changed error to just
roentgen b75cab
	be a warning.
roentgen b75cab
roentgen b75cab
2003-05-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/fax2tiff.c: Page numbering fixed, as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
roentgen b75cab
roentgen b75cab
2003-05-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
roentgen b75cab
	configure, Makefile.in:	Switched back to the old behaviour. Likely
roentgen b75cab
	better solution should be found for OJPEG support.
roentgen b75cab
roentgen b75cab
2003-05-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/mkversion.c: Fixed problem with wrong string size when
roentgen b75cab
	reading RELEASE-DATE file.
roentgen b75cab
roentgen b75cab
2003-05-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
roentgen b75cab
	index was out of range.
roentgen b75cab
roentgen b75cab
2003-05-06  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
roentgen b75cab
	configure, Makefile.in:	Improved libtiff compilation with OJPEG
roentgen b75cab
	support. Now no need for patching IJG JPEG library, hack requred by
roentgen b75cab
	libtiff will be compiled and used in-place. Implemented with
roentgen b75cab
	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
roentgen b75cab
	TIFFVGetFieldDefaulted() function.
roentgen b75cab
roentgen b75cab
2003-05-05  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
roentgen b75cab
	comments.
roentgen b75cab
roentgen b75cab
	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
roentgen b75cab
	was not copied from source image.
roentgen b75cab
roentgen b75cab
	* libtiff/getimage.c: Workaround for some images without correct
roentgen b75cab
	info about alpha channel as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
roentgen b75cab
roentgen b75cab
2003-04-29  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
roentgen b75cab
	It basically allows one to use the /flateDecode filter for ZIP
roentgen b75cab
	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
roentgen b75cab
	as per bug
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
roentgen b75cab
roentgen b75cab
2003-04-17  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
roentgen b75cab
	due to problems with multidirectory images. Quality of error messages
roentgen b75cab
	improved.
roentgen b75cab
roentgen b75cab
2003-04-16  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
roentgen b75cab
	encoded images. See bug entries
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
roentgen b75cab
roentgen b75cab
	and
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Additional check for StripByteCounts
roentgen b75cab
	correctness. Fixes
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
roentgen b75cab
roentgen b75cab
2003-03-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
roentgen b75cab
	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
roentgen b75cab
	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
roentgen b75cab
	tiffmedian.c}: Added library version reporting facility to all tools.
roentgen b75cab
roentgen b75cab
2003-03-06  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* port/install.sh.in: Fixed problems with install producing paths
roentgen b75cab
	like ///usr/local/lib on cygwin.
roentgen b75cab
roentgen b75cab
2003-02-27  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
roentgen b75cab
	raw input page. Patch supplied by Julien Gaulmin. See
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
roentgen b75cab
roentgen b75cab
	for details.
roentgen b75cab
roentgen b75cab
2003-02-26  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
roentgen b75cab
	responsible for byte swapping complex image data.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
roentgen b75cab
	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
roentgen b75cab
roentgen b75cab
2003-02-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/ppm2tiff.c: Fixed problem with too many arguments.
roentgen b75cab
roentgen b75cab
2003-02-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/raw2tiff.c: Memory leak fixed.
roentgen b75cab
roentgen b75cab
2003-02-03  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
roentgen b75cab
	(thanks, Julien!). More switches for fax2tiff tool for better control
roentgen b75cab
	of input and output. Details at
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
roentgen b75cab
roentgen b75cab
2003-02-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
roentgen b75cab
	library so that we can check if there is already any tile/strip data
roentgen b75cab
	before deciding between creating a compressor or a decompressor. 
roentgen b75cab
roentgen b75cab
2003-01-31  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
roentgen b75cab
	a pre-existing compressed image.  That is, image writing to 
roentgen b75cab
	pre-existing compressed images is not allowed.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: Removed error if opening a compressed file
roentgen b75cab
	in update mode. 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
roentgen b75cab
roentgen b75cab
2003-01-31  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* config.guess, config.sub: Updated to recent upstream versions.
roentgen b75cab
roentgen b75cab
2003-01-15  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* cut 3.6.0 Beta release.
roentgen b75cab
roentgen b75cab
2002-12-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
roentgen b75cab
	in wrong way as per bug
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
roentgen b75cab
roentgen b75cab
2002-12-17  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Allow wrong sized arrays in 
roentgen b75cab
	TIFFFetchStripThing(). 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
roentgen b75cab
roentgen b75cab
2002-12-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
roentgen b75cab
	Was using realloc even first time.  Fix by Igor Venevtsev.
roentgen b75cab
roentgen b75cab
2002-11-30  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
roentgen b75cab
	field value.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom" 
roentgen b75cab
	tags in TIFFVGetField() ... added missing break.
roentgen b75cab
roentgen b75cab
2002-10-14  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
roentgen b75cab
	the scanline buffer long enough when writing rgb triplets.
roentgen b75cab
	The scanline needs to be 3 X the number of dots or else it will
roentgen b75cab
	contain	an incomplete triplet and programs that try to separate
roentgen b75cab
	the eps by redefining the colorimage operator will get messed up.
roentgen b75cab
	Patch supplied by William Bader.
roentgen b75cab
roentgen b75cab
	* Makefile.in: added tif_extension.c to file list as per 
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
roentgen b75cab
roentgen b75cab
2002-10-11  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
roentgen b75cab
	large files (>2GiB) supporting. New option in the config.site:
roentgen b75cab
	LARGEFILE="yes". Should be enough for I/O of the large files.
roentgen b75cab
roentgen b75cab
2002-10-10  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/html/v3.6.0.html: new release notes.
roentgen b75cab
roentgen b75cab
	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
roentgen b75cab
	link for Andrey.  Pointer to v3.6.0.html.
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
roentgen b75cab
roentgen b75cab
2002-10-07  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
roentgen b75cab
	(thanks, Sebastian!). New switches:
roentgen b75cab
	-b # for a bottom margin of # inches
roentgen b75cab
	-c   center image
roentgen b75cab
	-l # for a left margin of # inches
roentgen b75cab
	-r   rotate the image by 180 degrees
roentgen b75cab
	New features merged with code for shrinking/overlapping.
roentgen b75cab
	Previously added -c and -n switches (for overriding PS units) renamed
roentgen b75cab
	in -x and -y respectively.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
roentgen b75cab
roentgen b75cab
	* html/man/*.html: Updated from actual manual pages.
roentgen b75cab
roentgen b75cab
2002-10-06  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
roentgen b75cab
	size on windows.  Use #define boolean hack.  
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
roentgen b75cab
	USING_VISUALAGE is defined.
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
roentgen b75cab
roentgen b75cab
2002-10-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: added COMPRESSION_JP2000.
roentgen b75cab
roentgen b75cab
2002-10-02  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
roentgen b75cab
	by the TIFFFetchByteArray() function. Should finally resolve
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
roentgen b75cab
	
roentgen b75cab
	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
roentgen b75cab
roentgen b75cab
	* html/Makefile.in: New targets added: html and groffhtml for
roentgen b75cab
	producing HTML representations of the manual pages automatically.
roentgen b75cab
	html target uses man2html tool, groffhtml uses groff tool.
roentgen b75cab
	
roentgen b75cab
2002-09-29  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
roentgen b75cab
	from John H. DuBois III.  
roentgen b75cab
roentgen b75cab
2002-09-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
roentgen b75cab
	manual page for raw2tiff(1) tool.
roentgen b75cab
	
roentgen b75cab
2002-09-12  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
roentgen b75cab
	the tiffio.h header file.
roentgen b75cab
	
roentgen b75cab
	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
roentgen b75cab
	manual page for TIFFDataWidth() function
roentgen b75cab
roentgen b75cab
2002-09-08  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
roentgen b75cab
	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
roentgen b75cab
	since we are unable to properly include the amount to skip. 
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
roentgen b75cab
roentgen b75cab
2002-09-02  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
roentgen b75cab
	in TIFFFetchByteArray(). Problem described at
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
roentgen b75cab
roentgen b75cab
2002-08-22  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
roentgen b75cab
	in _TIFFSetupFieldInfo() function.
roentgen b75cab
	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
roentgen b75cab
roentgen b75cab
	* /libtiff/tif_lzw.c: Additional consistency checking added in
roentgen b75cab
	LZWDecode() and LZWDecodeCompat().
roentgen b75cab
	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
roentgen b75cab
	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
roentgen b75cab
	
roentgen b75cab
	* /libtiff/tif_lzw.c:
roentgen b75cab
	Added check for valid code lengths in LZWDecode() and
roentgen b75cab
	LZWDecodeCompat(). Fixes
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
roentgen b75cab
roentgen b75cab
2002-08-16  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* /libtiff/{Makefile.vc, libtiff.def}:
roentgen b75cab
	Missed declarations added.
roentgen b75cab
roentgen b75cab
2002-08-15  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
roentgen b75cab
	return code from the underlying pick function.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
roentgen b75cab
roentgen b75cab
	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap 
roentgen b75cab
	with FIELD_CUSTOM as mentioned in bug 169.
roentgen b75cab
roentgen b75cab
	* tif_close.c: added logic to free dynamically created anonymous
roentgen b75cab
	field definitions to correct a small memory leak.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
roentgen b75cab
roentgen b75cab
2002-08-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
roentgen b75cab
	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
roentgen b75cab
roentgen b75cab
2002-07-31  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in 
roentgen b75cab
	JPEGDecode() as per bugzilla bug (issue 1):
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
roentgen b75cab
roentgen b75cab
	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
roentgen b75cab
	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
roentgen b75cab
	present in the tiff tags. 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
roentgen b75cab
roentgen b75cab
	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
roentgen b75cab
	TIFFWriteScanline() now set tif_row explicitly in case the codec has
roentgen b75cab
	fooled with the value. 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
roentgen b75cab
roentgen b75cab
2002-06-22  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* /tools/tiff2ps.c: Added workaround for some software that may crash
roentgen b75cab
	when last strip of image contains fewer number of scanlines than
roentgen b75cab
	specified by the `/Height' variable. See
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
roentgen b75cab
	for explanation.
roentgen b75cab
roentgen b75cab
2002-06-21  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
roentgen b75cab
	splitting long images in several pages. See
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
roentgen b75cab
	Patch granted by John Williams <williams@morinda.com>.
roentgen b75cab
roentgen b75cab
2002-06-11  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new 
roentgen b75cab
	Tiffile.cpp example of converting TIFF files into a DIB on Win32.  
roentgen b75cab
	This one is described in:
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
roentgen b75cab
roentgen b75cab
2002-05-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps: New commandline switches to override resolution
roentgen b75cab
	units obtained from the input file. Closes
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
roentgen b75cab
roentgen b75cab
2002-04-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* libtiff/libtiff.def: Added missed declaration.
roentgen b75cab
	
roentgen b75cab
2002-04-22  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
roentgen b75cab
	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
roentgen b75cab
roentgen b75cab
2002-04-20  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* libtiff/tif_open.c: Pointers to custom procedures
roentgen b75cab
	in TIFFClientOpen() are checked to be not NULL-pointers.
roentgen b75cab
	
roentgen b75cab
2002-04-18  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* libtiff/libtiff.def: Added missed declarations.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
roentgen b75cab
roentgen b75cab
2002-04-16  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
roentgen b75cab
	Should finally close
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
roentgen b75cab
	
roentgen b75cab
2002-04-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps: Division by zero fixed.
roentgen b75cab
	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
roentgen b75cab
roentgen b75cab
2002-04-09  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
	
roentgen b75cab
	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
roentgen b75cab
	TIFFCheckpointDirectory() routine added.
roentgen b75cab
	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
roentgen b75cab
roentgen b75cab
	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
roentgen b75cab
	for the new function.
roentgen b75cab
roentgen b75cab
2002-04-08  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
roentgen b75cab
	additional members tif->tif_decodestatus and tif->tif_encodestatus
roentgen b75cab
	for correct handling of unconfigured codecs (we should not try to read
roentgen b75cab
	data or to define data size without correct codecs).
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
roentgen b75cab
	changed. Now it has used tif->tif_decodestatus and
roentgen b75cab
	tif->tif_encodestatus.
roentgen b75cab
	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
roentgen b75cab
	case of __cvs_8.tif test image).
roentgen b75cab
roentgen b75cab
	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
roentgen b75cab
	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
roentgen b75cab
	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
roentgen b75cab
	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
roentgen b75cab
roentgen b75cab
2002-04-04  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
roentgen b75cab
	replaced by warnings. Now libtiff should read corrupted LZW-compressed
roentgen b75cab
	files by skipping bad strips.
roentgen b75cab
	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
roentgen b75cab
	
roentgen b75cab
2002-04-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Removed some dead code.
roentgen b75cab
roentgen b75cab
	* libtiff/*: Cleanup some warnings.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
roentgen b75cab
	for variable length FIELD_CUSTOM values.  Was int * but should be
roentgen b75cab
	u_short *.
roentgen b75cab
roentgen b75cab
2002-04-01  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
roentgen b75cab
	utility (at cpStripToTile routine).
roentgen b75cab
roentgen b75cab
2002-03-27  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
roentgen b75cab
roentgen b75cab
	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with 
roentgen b75cab
	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so 
roentgen b75cab
	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
roentgen b75cab
roentgen b75cab
2002-03-26  Dwight Kelly  <dbmalloc@remotesensing.org>
roentgen b75cab
roentgen b75cab
	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
roentgen b75cab
	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
roentgen b75cab
	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec 
roentgen b75cab
	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes: 
roentgen b75cab
	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
roentgen b75cab
	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
roentgen b75cab
roentgen b75cab
2002-03-26  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
roentgen b75cab
	now also uses TIFFRGBAImageOK before reading. This is additional fix
roentgen b75cab
	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
roentgen b75cab
roentgen b75cab
2002-03-25  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/: tif_getimage.c: Additional check for supported
roentgen b75cab
	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
roentgen b75cab
	TIFFRGBAImageOK before reading.
roentgen b75cab
	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
roentgen b75cab
roentgen b75cab
2002-03-15  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
roentgen b75cab
	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
roentgen b75cab
	TIFFDataType sizes instead of working with tiffDataWidth array
roentgen b75cab
	directly. Should prevent out-of-borders bugs in case of unknown or
roentgen b75cab
	broken data types.  EstimateStripByteCounts routine modified, so it
roentgen b75cab
	won't work when tags with uknown sizes founded.
roentgen b75cab
	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
roentgen b75cab
roentgen b75cab
2002-03-13  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Added support for correct handling
roentgen b75cab
	`Orientation' tag in gtTileContig. Should be added in other gt*
roentgen b75cab
	functions as well, but I have not images for testing yet. Partially
roentgen b75cab
	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
roentgen b75cab
roentgen b75cab
2002-03-10  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
roentgen b75cab
	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
roentgen b75cab
	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
roentgen b75cab
roentgen b75cab
2002-03-08  Andrey Kiselev  <dron@ak4719.spb.edu>
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
roentgen b75cab
	be stripped when installing, utility binaries will do.	Closes
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
roentgen b75cab
roentgen b75cab
2002-02-28  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
roentgen b75cab
roentgen b75cab
	* man/libtiff.3t: added copyright tag info.
roentgen b75cab
roentgen b75cab
2002-02-11  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
roentgen b75cab
roentgen b75cab
	* man/Makefile.in: Patch DESTDIR handling 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
roentgen b75cab
roentgen b75cab
	* configure: OpenBSD changes for Sparc64 and DSO version.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
roentgen b75cab
roentgen b75cab
2002-02-05  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* config.site/configure: added support for OJPEG=yes option to enable
roentgen b75cab
	OJPEG support from config.site.
roentgen b75cab
roentgen b75cab
2002-01-27  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* html/document.html: fixed links for TIFf 6 docs.
roentgen b75cab
roentgen b75cab
2002-01-18  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
roentgen b75cab
	decodestrip function returns anything not greater than zero as per
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
roentgen b75cab
roentgen b75cab
	* configure: Modify CheckForBigEndian so it can work in a cross
roentgen b75cab
	compiled situation.
roentgen b75cab
roentgen b75cab
2002-01-16  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
roentgen b75cab
roentgen b75cab
	* tools/tiffset.c: fix bug in error reporting.
roentgen b75cab
roentgen b75cab
	* tools/tiffcp.c: fix several warnings that show up with -Wall.
roentgen b75cab
roentgen b75cab
2002-01-04  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: fixed computation of segment_width for 
roentgen b75cab
	tiles files to avoid error about it not matching the 
roentgen b75cab
	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile 
roentgen b75cab
	size.") for ITIFF files.  Apparently the problem was incorporated since
roentgen b75cab
	3.5.5, presumably during the OJPEG/JPEG work recently.
roentgen b75cab
roentgen b75cab
2001-12-15  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1 
roentgen b75cab
	(defined in tiffconf.h - 1 by default) then the RGBA interface
roentgen b75cab
	will assume that a fourth extra sample is ASSOCALPHA if the
roentgen b75cab
	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
roentgen b75cab
	the library, but makes it work better with RGBA files produced by
roentgen b75cab
	lots of applications that don't mark the alpha values properly.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
roentgen b75cab
roentgen b75cab
2001-12-12  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to 
roentgen b75cab
	override those from tiff directory.  This makes this work with 
roentgen b75cab
	ImageGear generated files. 
roentgen b75cab
roentgen b75cab
2001-12-07  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* html/Makefile.in: added missing images per bug 92.
roentgen b75cab
roentgen b75cab
	* port/Makefile.in: fixed clean target per bug 92.
roentgen b75cab
roentgen b75cab
2001-11-28  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* Reissue 3.5.7 release.
roentgen b75cab
roentgen b75cab
	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
roentgen b75cab
	YYYYMMDD so that it is increasing over time. 
roentgen b75cab
roentgen b75cab
	* Makefile.in: Ensure that tiffvers.h is regenerated in the
roentgen b75cab
	make release target.
roentgen b75cab
roentgen b75cab
	* Makefile.in: added libtiff/tiffvers.h to the release file list.
roentgen b75cab
roentgen b75cab
2001-11-23  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* added html/v3.5.7.html, updated html/index.html.
roentgen b75cab
roentgen b75cab
	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
roentgen b75cab
roentgen b75cab
2001-11-15  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure: fixed test for -lm.
roentgen b75cab
roentgen b75cab
2001-11-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* Added PHOTOMETRIC_ITULAB as per bug 90.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
roentgen b75cab
roentgen b75cab
2001-10-10  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4, 
roentgen b75cab
	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 
roentgen b75cab
	in keeping with TIFF 6.0 standard in tiff.h
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
roentgen b75cab
roentgen b75cab
2001-09-26  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
roentgen b75cab
	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
roentgen b75cab
roentgen b75cab
2001-09-24  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
roentgen b75cab
roentgen b75cab
	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
roentgen b75cab
	error about LZW not being available.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: propagate failure to initialize compression
roentgen b75cab
	back from TIFFSetField() as an error status, so applications can 
roentgen b75cab
	detect failure.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dir.c: removed the auto replacement of 
roentgen b75cab
	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
roentgen b75cab
roentgen b75cab
	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
roentgen b75cab
	from CVS as they are all supposed to be auto-generated by configure.
roentgen b75cab
roentgen b75cab
2001-09-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: new update from Scott. 
roentgen b75cab
roentgen b75cab
2001-09-09  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
roentgen b75cab
	always use the "safe" version, even if there is a very slight
roentgen b75cab
	cost in performance.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
roentgen b75cab
	in two places.
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Fixed problem with reading strips or
roentgen b75cab
	tiles that don't start on a tile boundary.  Fix contributed by
roentgen b75cab
	Josep Vallverdu (from HP), and further described in bug 47.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
roentgen b75cab
roentgen b75cab
	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support. 
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
roentgen b75cab
roentgen b75cab
2001-09-06  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_packbits.c: fixed memory overrun error.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
roentgen b75cab
	
roentgen b75cab
2001-08-31  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: relax handling of contig case where
roentgen b75cab
	there are extra samples that are supposed to be ignored.  This
roentgen b75cab
	should now work for 8bit greyscale or palletted images.  
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=75	
roentgen b75cab
roentgen b75cab
2001-08-28  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
roentgen b75cab
	images with more than four samples per pixel.  See:
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
roentgen b75cab
roentgen b75cab
2001-08-10  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
roentgen b75cab
	in TIFFReadRGBATile() to avoid issues in cases of overlapping
roentgen b75cab
	buffers.  See Bug 69 in Bugzilla. 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
roentgen b75cab
	
roentgen b75cab
	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
roentgen b75cab
roentgen b75cab
2001-08-09  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ 
roentgen b75cab
	when checking for 64 bit architectures as per bugzilla bug 67.
roentgen b75cab
roentgen b75cab
2001-07-27  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
roentgen b75cab
	bug 66.
roentgen b75cab
roentgen b75cab
2001-07-20  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H 
roentgen b75cab
	has been included.
roentgen b75cab
roentgen b75cab
2001-07-19  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_open.c: Seek back to zero after failed read,
roentgen b75cab
	before writing header.
roentgen b75cab
roentgen b75cab
2001-07-18  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
roentgen b75cab
	much better.  Now depends on having patched libjpeg as per
roentgen b75cab
	patch in contrib/ojpeg/*. 
roentgen b75cab
roentgen b75cab
2001-07-17  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* */Makefile.in: added DESTDIR support. 
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
roentgen b75cab
roentgen b75cab
2001-07-16  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure, libtiff/Makefile.in: applied OpenBSD patches
roentgen b75cab
	as per:
roentgen b75cab
	
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
roentgen b75cab
roentgen b75cab
2001-06-28  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_getimage.c: Fixed so that failure is properly
roentgen b75cab
	reported by gtTileContig, gtStripContig, gtTileSeparate and 
roentgen b75cab
	gtStripSeparate.
roentgen b75cab
roentgen b75cab
	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
roentgen b75cab
roentgen b75cab
	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.  
roentgen b75cab
	Updated bug section of tiffcmp.1 to note tiled file issues.
roentgen b75cab
	
roentgen b75cab
	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
roentgen b75cab
roentgen b75cab
2001-06-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure: Changes for DSO generation on AIX provided by
roentgen b75cab
	John Marquart <jomarqua@indiana.edu>.
roentgen b75cab
roentgen b75cab
	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
roentgen b75cab
	on Darwin thanks to Robert Krajewski (rpk@alum.mit.edu) and
roentgen b75cab
	Keisuke Fujii (fujiik@jlcuxf.kek.jp).
roentgen b75cab
roentgen b75cab
2001-06-13  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
roentgen b75cab
roentgen b75cab
	* man/tiff2rgba.1: new
roentgen b75cab
roentgen b75cab
2001-05-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
roentgen b75cab
roentgen b75cab
2001-05-13  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tools/thumbnail.c: changed default output compression
roentgen b75cab
	to packbits from LZW since LZW isn't generally available.
roentgen b75cab
roentgen b75cab
2001-05-12  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_ojpeg.c: New.
roentgen b75cab
	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
roentgen b75cab
	to OJPEG support.
roentgen b75cab
roentgen b75cab
	Scott Marovich <marovich@hpl.hp.com> supplied OJPEG support.
roentgen b75cab
roentgen b75cab
2001-05-11  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tiff.h: removed, it duplicates libtiff/tiff.h.
roentgen b75cab
roentgen b75cab
2001-05-08  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to 
roentgen b75cab
	ensure everything is in order.
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: added TIFFCreateDirectory and 
roentgen b75cab
	TIFFDefaultStripSize as per:
roentgen b75cab
roentgen b75cab
	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
roentgen b75cab
roentgen b75cab
2001-05-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
roentgen b75cab
	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
roentgen b75cab
	force use of uint32 counts instead of short counts. 
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
roentgen b75cab
	case of writing TIFF_BYTE/TIFF_SBYTE fields.  
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
roentgen b75cab
roentgen b75cab
2001-05-01  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
roentgen b75cab
	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
roentgen b75cab
roentgen b75cab
2001-04-05  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tiffio.h: removed C++ style comment.
roentgen b75cab
roentgen b75cab
	* configure: fixed up SCRIPT_SH/SHELL handling.
roentgen b75cab
roentgen b75cab
	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
roentgen b75cab
roentgen b75cab
	* config.guess: documented more variables as per bug 40.
roentgen b75cab
roentgen b75cab
2001-04-03  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure, *Makefile.in: Various changes to improve configuration
roentgen b75cab
	for HP/UX specifically, and also in general.  They include:
roentgen b75cab
	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
roentgen b75cab
	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
roentgen b75cab
	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
roentgen b75cab
	 - Use -${MAKEFLAGS} in sub makes from makefiles.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
roentgen b75cab
roentgen b75cab
2001-04-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tiff.h: Applied hac to try and resolve the problem
roentgen b75cab
	with the inttypes.h include file on AIX.
roentgen b75cab
roentgen b75cab
	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
roentgen b75cab
	
roentgen b75cab
	* VERSION: update to 3.5.7 beta in preparation for release.
roentgen b75cab
roentgen b75cab
	* configure/config.site: modified to check if -lm is needed for
roentgen b75cab
	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
roentgen b75cab
roentgen b75cab
	* config.guess: updated wholesale to an FSF version apparently 
roentgen b75cab
	from 1998 (as opposed to 1994).  This is mainly inspired by 
roentgen b75cab
	providing for MacOS X support.
roentgen b75cab
roentgen b75cab
2001-03-29  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* configure, Makefile.in, etc: added support for OPTIMIZER being
roentgen b75cab
	set from config.site. 
roentgen b75cab
roentgen b75cab
2001-03-28  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
roentgen b75cab
roentgen b75cab
	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
roentgen b75cab
	sizes. It fixes two problems:
roentgen b75cab
roentgen b75cab
	Without	scaling (-S) the fax is now centered on the page size specified
roentgen b75cab
	with -H	and/or -W. Before, fax2ps was using an obscure and practially
roentgen b75cab
	useless algorithm to allocate the image relative to Letter sized paper
roentgen b75cab
	which sometime sled to useless whitespace on the paper, while at the
roentgen b75cab
	same time cutting of the faxes printable area at the opposite border.
roentgen b75cab
roentgen b75cab
	Second, scaling now preserves aspect ratio, which makes unusual faxes
roentgen b75cab
	(in particular short ones) print properly.
roentgen b75cab
roentgen b75cab
	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
roentgen b75cab
	
roentgen b75cab
	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
roentgen b75cab
	Bruce A. Mallett.  See check message for detailed information
roentgen b75cab
	on all the changes, including a faster encoder, fixes for level
roentgen b75cab
	2 PostScript, and support for the imagemask operator.
roentgen b75cab
roentgen b75cab
2001-03-27  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to 
roentgen b75cab
	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
roentgen b75cab
roentgen b75cab
2001-03-16  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_dirinfo.c: moved definition of copyright tag in field list.
roentgen b75cab
	Apparently they have to be in sorted order by tag id.
roentgen b75cab
roentgen b75cab
2001-03-13  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_getimage.c: Added support for 16bit minisblack/miniswhite 
roentgen b75cab
	images in RGBA interface.
roentgen b75cab
roentgen b75cab
2001-03-02  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* Added TIFFTAG_COPYRIGHT support.
roentgen b75cab
roentgen b75cab
2001-02-19  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
roentgen b75cab
	with support for extracting subimages with the ,n syntax, and also
roentgen b75cab
	adding the -b bias removal flag. 
roentgen b75cab
roentgen b75cab
2001-02-16  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/libtiff.def: Brent Roman submitted new version adding
roentgen b75cab
	serveral missing entry points. 
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
roentgen b75cab
	Some sort of weird VMS thing.  
roentgen b75cab
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
roentgen b75cab
roentgen b75cab
	* tif_luv.c/tiff.h/tiffio.h: 
roentgen b75cab
	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 
roentgen b75cab
	(greg@shutterfly.com).  He writes:
roentgen b75cab
roentgen b75cab
	1) I improved the gamut-mapping function in tif_luv.c for imaginary
roentgen b75cab
	colors, because some images were being super-saturated on the input 
roentgen b75cab
	side and this resulted in some strange color shifts in the output.
roentgen b75cab
roentgen b75cab
	2) I added a psuedotag in tiff.h to control random dithering during
roentgen b75cab
	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and 
roentgen b75cab
	on for 24-bit LogLuv output.  Dithering improves the average color 
roentgen b75cab
	accuracy over the image.
roentgen b75cab
roentgen b75cab
	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
roentgen b75cab
	tiffio.h, to expose internal routines for converting between LogLuv and
roentgen b75cab
	XYZ coordinates.  This is helpful for writing more efficient,
roentgen b75cab
	specialized conversion routines, especially for reading LogLuv files.
roentgen b75cab
roentgen b75cab
	Changes applied with minor edits.
roentgen b75cab
roentgen b75cab
2001-01-23  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
roentgen b75cab
	whether we are encoding or decoding.  This is to ensure graceful 
roentgen b75cab
	recovery if TIFFClientOpen() discovers an attempt to open a compressed
roentgen b75cab
	file for "r+" access, and subsequently close it, as it resets the 
roentgen b75cab
	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
roentgen b75cab
	compressor's concept of whether it is in encode or decode mode.
roentgen b75cab
roentgen b75cab
2001-01-08  Mike Welles <mike@bangstate.com> 
roentgen b75cab
roentgen b75cab
	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
roentgen b75cab
	
roentgen b75cab
2001-01-07  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
roentgen b75cab
	as per bug report by Patrick Connor. 
roentgen b75cab
roentgen b75cab
2000-12-28  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* Added RELEASE-DATE file to release file list.
roentgen b75cab
roentgen b75cab
	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
roentgen b75cab
roentgen b75cab
2000-12-22  Mike Welles <mike@bangstate.com> 
roentgen b75cab
        * added link to CVS mirror from index.html
roentgen b75cab
	
roentgen b75cab
	* updated html/internals.html to note that LZW compression is 
roentgen b75cab
	  not supported by default. 
roentgen b75cab
	
roentgen b75cab
2000-12-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* updated html/libtiff.html to not point at Niles' old JPL web site
roentgen b75cab
	for the man pages, point at www.libtiff.org.
roentgen b75cab
roentgen b75cab
2000-12-21  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
roentgen b75cab
	Leonard Rosenthol <leonardr@lazerware.com>.  May interfere
roentgen b75cab
	with correct building on older systems.  If so, please let me know.
roentgen b75cab
roentgen b75cab
2000-12-19 Mike Welles <mike@bangsate.com>   
roentgen b75cab
roentgen b75cab
	* Took out LZW Encoding from tif_lzw.c 
roentgen b75cab
roentgen b75cab
	* Created HOWTO-RELEASE
roentgen b75cab
roentgen b75cab
	* Created html/v3.5.6.html
roentgen b75cab
roentgen b75cab
	* updated index.html
roentgen b75cab
	
roentgen b75cab
2000-12-01  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h. 
roentgen b75cab
	Patches supplied by Frank Cringle <fdc@cliwe.ping.de>
roentgen b75cab
	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
roentgen b75cab
roentgen b75cab
2000-11-24  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
roentgen b75cab
	target so that the private headers required by libgeotiff can be
roentgen b75cab
	installed with the others.  They are not installed by default.
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
roentgen b75cab
	targets so libtiff.so will be built with an explicit dependency
roentgen b75cab
	on libm.so.
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to 
roentgen b75cab
	libtiff.so.3.5.5.  
roentgen b75cab
roentgen b75cab
	* libtiff/Makefile.in & configure: Remove all references to the ALPHA 
roentgen b75cab
	file, or ALPHA version logic.  Added stuff about DIST_POINT in 
roentgen b75cab
	place of DIST_TYPE and the alpha release number stuff.
roentgen b75cab
roentgen b75cab
2000-11-22  Frank Warmerdam  <warmerdam@pobox.com>
roentgen b75cab
roentgen b75cab
	* I have applied a patch from Steffen Moeller <moeller@ebi.ac.uk> to
roentgen b75cab
	the configure script so that it now accepts the --prefix, and 
roentgen b75cab
	--exec-prefix directives. 
roentgen b75cab
roentgen b75cab
2000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* I have made a variety of modifications in an effort to ensure the 
roentgen b75cab
	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
roentgen b75cab
	file which seems to be updated regularly.  
roentgen b75cab
roentgen b75cab
	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in 
roentgen b75cab
	   version include file. 
roentgen b75cab
	 o renamed version.h to tiffvers.h because we now have to install it 
roentgen b75cab
	   with the public libtiff include files.  
roentgen b75cab
	 o include tiffvers.h in tiffio.h. 
roentgen b75cab
	 o updated tif_version.c to use tiffvers.h.
roentgen b75cab
	 o Updated Makefile.in accordingly.
roentgen b75cab
roentgen b75cab
	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
roentgen b75cab
	I have updated the win32 detection rules in tiffcomp.h.
roentgen b75cab
roentgen b75cab
2000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
roentgen b75cab
	the strip/tile width and height aren't multiples of the sampling size.
roentgen b75cab
	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
roentgen b75cab
	Some patches from Rick LaMont of Dot C Software.
roentgen b75cab
roentgen b75cab
	* Modified tif_packbits.c encoder to avoid compressing more 
roentgen b75cab
	data than provided if rowsize doesn't factor into provided data
roentgen b75cab
	(such as occurs for YCbCr).
roentgen b75cab
roentgen b75cab
2000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical 
roentgen b75cab
	roundup if rows_per_strip not a multiple of vertical sample size.
roentgen b75cab
roentgen b75cab
2000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
roentgen b75cab
	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
roentgen b75cab
	from vandrove@vc.cvut.cz.
roentgen b75cab
roentgen b75cab
	* Modified tif_packbits.c decoding to avoid overrunning the
roentgen b75cab
	output buffer, and to issue a warning if data needs to be
roentgen b75cab
	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
roentgen b75cab
roentgen b75cab
2000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* Modified tiff2bw to ensure portions add to 100%, and that
roentgen b75cab
	white is properly recovered. 
roentgen b75cab
	
roentgen b75cab
	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
roentgen b75cab
	Patch c/o Stanislav Brabec <utx@penguin.cz>
roentgen b75cab
roentgen b75cab
2000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* Modified TIFFClientOpen() to emit an error on an attempt to
roentgen b75cab
	open a comperessed file for update (O_RDWR/r+) access.  This is
roentgen b75cab
	because the compressor/decompressor code gets very confused when
roentgen b75cab
	the mode is O_RDWR, assuming this means writing only.  See
roentgen b75cab
	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
roentgen b75cab
roentgen b75cab
2000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* Added GNULDdso target an`d switched linux and freebsd to use it. 
roentgen b75cab
roentgen b75cab
2000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
roentgen b75cab
	of EXPAND1D() as per bug 11 (from Roman). 
roentgen b75cab
roentgen b75cab
2000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
roentgen b75cab
	cygwin compatibility.
roentgen b75cab
roentgen b75cab
	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
roentgen b75cab
	be a proper fix to the buffer sizing problem.  See 
roentgen b75cab
	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
roentgen b75cab
roentgen b75cab
	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
roentgen b75cab
	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
roentgen b75cab
	Thanks to Nick Lamb <njl98r@ecs.soton.ac.uk> for reporting the
roentgen b75cab
	bug and proving the patch.
roentgen b75cab
	
roentgen b75cab
2000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* Fixed tif_jpeg.c so avoid destroying the decompressor before
roentgen b75cab
	we are done access data thanks to bug report from:
roentgen b75cab
	Michael Eckstein <eckstein@gepro.cz>.
roentgen b75cab
roentgen b75cab
	* Reverted tif_flush change.
roentgen b75cab
roentgen b75cab
2000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
roentgen b75cab
	error when TIFF_BEENWRITING is not set.  This ensures that the
roentgen b75cab
	directory contents can still be flushed by TIFFFlush().
roentgen b75cab
roentgen b75cab
2000-08-14  Frank Warmerdam  <warmerda@rommel.atlsci.com>
roentgen b75cab
roentgen b75cab
	* tif_open.c: Don't set MMAP for O_RDWR files.
roentgen b75cab
roentgen b75cab
	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
roentgen b75cab
	so that files opened for update can be strip chopped too.
roentgen b75cab
roentgen b75cab
	* tif_read.c: fixed up bug with files missing rowsperstrip and
roentgen b75cab
	the strips per separation fix done a few weeks ago.
roentgen b75cab
roentgen b75cab
2000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
roentgen b75cab
	SAMPLEFORMAT_COMPLEXINT.
roentgen b75cab
roentgen b75cab
2000-07-13  Mike Welles <mike@onshore.com> 
roentgen b75cab
roentgen b75cab
	* index.html, bugs.html: added bugzilla info. 
roentgen b75cab
	
roentgen b75cab
2000-07-12  Frank Warmerdam  <warmerda@rommel.atlsci.com>
roentgen b75cab
roentgen b75cab
	* tif_read.c: fix subtle bug with determining the number of
roentgen b75cab
	rows for strips that are the last strip in a separation but
roentgen b75cab
	not the last strip of all in TIFFReadEncodedStrip().  
roentgen b75cab
roentgen b75cab
	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
roentgen b75cab
	Peter Skarpetis <peters@serendipity-software.com.au>
roentgen b75cab
roentgen b75cab
2000-06-15  Frank Warmerdam  <warmerda@rommel.atlsci.com>
roentgen b75cab
roentgen b75cab
	* Modified tiffio.h logic with regard to including windows.h.  It
roentgen b75cab
	won't include it when building with __CYGWIN__.
roentgen b75cab
roentgen b75cab
2000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* README: update to mention www.libtiff.org, don't list Sam's old
roentgen b75cab
	email address.
roentgen b75cab
roentgen b75cab
	* configure: Fixed DSO test for Linux as per patch from
roentgen b75cab
	  Jan Van Buggenhout <chipzz@Ace.ULYSSIS.Student.KULeuven.Ac.Be>.
roentgen b75cab
roentgen b75cab
2000-04-21  Frank Warmerdam  <warmerda@rommel.atlsci.com>
roentgen b75cab
roentgen b75cab
	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
roentgen b75cab
	one tile/strip images with an offset, and byte count of zero. These
roentgen b75cab
	could be "unpopulated" images. 
roentgen b75cab
roentgen b75cab
2000-04-18  Frank Warmerdam  <warmerda@rommel.atlsci.com>
roentgen b75cab
roentgen b75cab
	* contrib/addtiffo: Added "averaging" resampling option.
roentgen b75cab
roentgen b75cab
	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
roentgen b75cab
roentgen b75cab
Tue Apr 18 16:18:08 2000  Frank Warmerdam  <warmerda@esabot.atlsci.com>
roentgen b75cab
roentgen b75cab
	* tools/Makefile.in: Modified to install properly on SGI.
roentgen b75cab
roentgen b75cab
2000-04-12  Mike Welles	     <mike@onshore.com>
roentgen b75cab
	* configure:  Fixed stupid mistake in libc6 test on Linux
roentgen b75cab
roentgen b75cab
2000-04-04  Mike Welles	     <mike@onshore.com> 
roentgen b75cab
	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
roentgen b75cab
	  caught by BoundsChecker.  From Arvan Pritchard 
roentgen b75cab
	  <arvan.pritchard@infomatix.co.uk>  (untested). 
roentgen b75cab
	
roentgen b75cab
	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From 
roentgen b75cab
	  Arvan Pritchard <arvan.pritchard@informatix.co.uk>
roentgen b75cab
	
roentgen b75cab
	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From 
roentgen b75cab
	  Arvan Pritchard <arvan.pritchard@informatix.co.uk>
roentgen b75cab
	
roentgen b75cab
2000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
roentgen b75cab
roentgen b75cab
2000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
roentgen b75cab
roentgen b75cab
	* fax2ps: Fixed mixup of width and height in bounding box statement
roentgen b75cab
	as per submission by Nalin Dahyabhai <nalin@redhat.com>.
roentgen b75cab
roentgen b75cab
2000-03-27  Mike Welles	     <mike@onshore.com> 
roentgen b75cab
roentgen b75cab
	* fax2ps:  Modified printruns to take uint32 instead of uint16.  
roentgen b75cab
	Patch courtesy of Bernt Herd <herd@herdsoft.com> 
roentgen b75cab
	
roentgen b75cab
2000-03-20  Mike Welles	     <mike@onshore.com> 
roentgen b75cab
roentgen b75cab
	* configure: added test for libc6 for linux targets.  Bug reported by 
roentgen b75cab
        Stanislav Brabec <utx@k332.feld.cvut.cz>
roentgen b75cab
roentgen b75cab
	* Added 3.5 docs to html/Makefile.in.  
roentgen b75cab
	Thanks to  Stanislav Brabec <utx@k332.feld.cvut.cz>
roentgen b75cab
roentgen b75cab
	* configure: fixed bugs in sed scripts 
roentgen b75cab
	(applied sed script s:/@:s;@:;s:/s;;:;: to configure). 
roentgen b75cab
	fix submitted to Stanislav Brabec <utx@k332.feld.cvut.cz>
roentgen b75cab
roentgen b75cab
	* tools/iptcutil was not in files list, and wasn't being 
roentgen b75cab
	added to tar archive.  Updated Makefile.in.
roentgen b75cab
roentgen b75cab
2000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
roentgen b75cab
roentgen b75cab
	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
roentgen b75cab
	conversion for the run arrays.  
roentgen b75cab
roentgen b75cab
2000-03-03  Frank Warmerdam  <warmerda@cs46980-c.mtnk1.on.wave.home.com>
roentgen b75cab
roentgen b75cab
	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of 
roentgen b75cab
	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
roentgen b75cab
roentgen b75cab
2000-03-02  Frank Warmerdam  <warmerda@cs46980-c.mtnk1.on.wave.home.com>
roentgen b75cab
roentgen b75cab
	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
roentgen b75cab
roentgen b75cab
	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
roentgen b75cab
	to avoid overruns encountered with frle_bug.tif.
roentgen b75cab
roentgen b75cab
Tue Feb 15 22:01:05 2000  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Fixed tools/tiffcmp so that stopondiff testing works.
roentgen b75cab
	  Patch care of Joseph Orost <joe@sanskrit.lz.att.com>.
roentgen b75cab
roentgen b75cab
2000-01-28    <warmerda@CS46980-B>
roentgen b75cab
roentgen b75cab
	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
roentgen b75cab
	  set to 1, and added default (off) setting in tiffconf.h.  This
roentgen b75cab
	  should eventually be set by the configure script somehow.
roentgen b75cab
roentgen b75cab
	  The original work on all these 2-4GB changes was done by 
roentgen b75cab
	  Peter Smith (psmith@creo.com).
roentgen b75cab
roentgen b75cab
	* Modified tif_win32.c to support 2-4GB seeks.
roentgen b75cab
roentgen b75cab
	* tentatively changed toff_t to be unsigned instead of signed to
roentgen b75cab
	  facilitate support for 2-4GB files. 
roentgen b75cab
roentgen b75cab
	* Updated a variety of files to use toff_t.  Fixed some mixups
roentgen b75cab
	  between toff_t and tsize_t.
roentgen b75cab
roentgen b75cab
Fri Jan 28 10:13:49 2000  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Largely reimplemented contrib/addtiffo to avoid temp files, 
roentgen b75cab
	updating the TIFF file in place.  Fixed a few other bugs to.
roentgen b75cab
roentgen b75cab
	* Set tif_rawdatasize to zero when freeing raw data buffer in
roentgen b75cab
	TIFFWriteDirectory().
roentgen b75cab
roentgen b75cab
	* Enabled "REWRITE_HACK" in tif_write.c by default.
roentgen b75cab
roentgen b75cab
	* Fix bug in tif_write.c when switching between reading one directory
roentgen b75cab
	and writing to another. 
roentgen b75cab
roentgen b75cab
	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
roentgen b75cab
roentgen b75cab
Wed Jan  5 12:37:48 2000  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added TIFFmemory(3t) functions to libtiff.def.
roentgen b75cab
roentgen b75cab
Tue Jan  4 13:39:00 2000  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added libtiff/libtiff.def to TIFFILES distribution list.
roentgen b75cab
roentgen b75cab
Mon Dec 27 12:13:39 EST 1999  Mike Welles <mike@onshore.com> 
roentgen b75cab
roentgen b75cab
	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit). 
roentgen b75cab
roentgen b75cab
	* Altered descriptions in tools to reflect "by default" lzw not supported
roentgen b75cab
roentgen b75cab
	* Updated index.html to note lzw compression kit. 
roentgen b75cab
	
roentgen b75cab
Tue Dec 21 14:01:51 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added fax3sm_winnt.c to distribution list in Makefile.in. 
roentgen b75cab
roentgen b75cab
Tue Dec 21 11:04:45 EST 1999  Mike Welles <mike@onshore.com> *** 3.5.4 release ***
roentgen b75cab
	
roentgen b75cab
	* Aadded Pixar tag support.  Contributed by Phil Beffery <phil@pixar.com> 
roentgen b75cab
roentgen b75cab
	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice 
roentgen b75cab
	  when LZW compression invoked. 
roentgen b75cab
roentgen b75cab
	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
roentgen b75cab
	  in tools to reflect removal of LZW compression
roentgen b75cab
	  
roentgen b75cab
Mon Dec 20 18:39:02 EST 1999  Mike Welles  <mike@onshore.com>
roentgen b75cab
roentgen b75cab
        * Fixed bug that caused LZW (non) compression to segfault. Added 
roentgen b75cab
	  warning about LZW compression removed being removed, and why. 
roentgen b75cab
roentgen b75cab
	* Added nostrip to install in tools/Makefile.in so that debugging 
roentgen b75cab
	  symbols are kept. 
roentgen b75cab
	
roentgen b75cab
Tue Dec  7 12:04:47 EST 1999  Mike Welles  <mike@onshore.com>
roentgen b75cab
roentgen b75cab
	* Added patch from Ivo Penzar <ivo.penzar@infolink-software.com>, 
roentgen b75cab
	  supporting Adobe ZIP deflate.  Untested. 
roentgen b75cab
	
roentgen b75cab
Sat Dec  4 15:47:11 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Made Packbits the default compression in tools/tiff2rgba.c instead
roentgen b75cab
	of LZW.
roentgen b75cab
roentgen b75cab
Tue Nov 30 14:41:43 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>    *** 3.5.3. release ***
roentgen b75cab
roentgen b75cab
	* Added tif_luv to contrib/djgpp/Makefile.lib.
roentgen b75cab
roentgen b75cab
Tue Nov 30 14:15:32 EST 1999   Mike Welles <mike@onshore.com> 
roentgen b75cab
roentgen b75cab
        * Added zip creation to relase makefile target 
roentgen b75cab
roentgen b75cab
	* Added html for TIFFWriteTile.3t man page. 
roentgen b75cab
	
roentgen b75cab
Tue Nov 30 09:20:16 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added some changes to tif_write.c to support rewriting existing
roentgen b75cab
	fixed sized tiles and strips.  Code mods disabled by default, only
roentgen b75cab
	enabled if REWRITE_HACK is defined for now.
roentgen b75cab
roentgen b75cab
Mon Nov 29 11:43:42 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added TIFFWriteTile.3t man page.
roentgen b75cab
roentgen b75cab
Sun Nov 28 20:36:18 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added notes on use of makefile.vc in build.html, and fixed 
roentgen b75cab
	email subscription address.
roentgen b75cab
roentgen b75cab
199-11-28  Mike Welles <mike@onshore.com> 
roentgen b75cab
roentgen b75cab
	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c 
roentgen b75cab
roentgen b75cab
	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
roentgen b75cab
	   from Bruce Carmeron <cameron@petris.com> -- modifications of 
roentgen b75cab
	   changes made by Frank (sun cc still complained on cast). 
roentgen b75cab
roentgen b75cab
	*  Added tiffconf.h to install target per request from Bill
roentgen b75cab
	   Radcliffe <billr@corbis.com>: "We need a way for ImageMagick to
roentgen b75cab
 	   know features have been compiled into the TIFF library in order to
roentgen b75cab
	   handle things properly".  
roentgen b75cab
	
roentgen b75cab
Sat Nov 27 16:49:21 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* fixed various VC++ warnings as suggested by Gilles Vollant
roentgen b75cab
	<info@winimage.com>.  
roentgen b75cab
roentgen b75cab
Wed Nov 24 12:08:16 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
roentgen b75cab
	not imply applications are responsible for image data swapping.
roentgen b75cab
roentgen b75cab
1999-11-22  Mike Welles <mike@onshore.com>
roentgen b75cab
	*  HTML-ized the man pages, added to html/man
roentgen b75cab
	
roentgen b75cab
	*  Removed LZW Compression to comply with Unisys patent extortion. 
roentgen b75cab
	
roentgen b75cab
1999-09-29  Mike Welles		<mike@onshore.com> 
roentgen b75cab
	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c, 
roentgen b75cab
	   From Ivo Penzar 
roentgen b75cab
roentgen b75cab
	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
roentgen b75cab
	   memory mapped files. <ivo.penzar@infolink-software.com>
roentgen b75cab
	
roentgen b75cab
1999-09-26  Mike Welles 	<mike@onshore.com>  *** 3.5.2 release ***
roentgen b75cab
	* Corrected alpha versioning.  
roentgen b75cab
roentgen b75cab
	* Removed distinction between  alpha and release targets in Makefile.in. 
roentgen b75cab
roentgen b75cab
	* added release.stamp target, which tags cvs tree, and updates 
roentgen b75cab
	  "RELEASE-DATE"
roentgen b75cab
roentgen b75cab
	* added releasediff target, which diffs tree with source as of 
roentgen b75cab
	  date in "RELEASE-DATE"
roentgen b75cab
	  
roentgen b75cab
	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving 
roentgen b75cab
	  away from alpha/non-alpha distinctions). 
roentgen b75cab
roentgen b75cab
	* updated html to reflect release 
roentgen b75cab
	
roentgen b75cab
1999-09-23    <warmerda@CS46980-B>
roentgen b75cab
roentgen b75cab
	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
roentgen b75cab
roentgen b75cab
	* Added CYGWIN case in configure.
roentgen b75cab
roentgen b75cab
Fri Sep 17 00:13:51 CEST 1999  Mike Welles <mike@onshore.com> 
roentgen b75cab
roentgen b75cab
	* Applied Francois Dagand's patch to handle fax decompression bug. 
roentgen b75cab
	  (sizes >= 65536 were failing) 
roentgen b75cab
	
roentgen b75cab
Tue Sep 14 21:31:43 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested 
roentgen b75cab
	  by Christopher Lawton <clawton@mathworks.com>
roentgen b75cab
roentgen b75cab
Wed Sep  8 08:19:18 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added IRIX/gcc, and OSF/1 4.x support on behalf of 
roentgen b75cab
	  Albert Chin-A-Young <china@thewrittenword.com>
roentgen b75cab
roentgen b75cab
	* Added TIFFReassignTagToIgnore() API on behalf of 
roentgen b75cab
	  Bruce Cameron <cameron@petris.com>.  Man page still pending.
roentgen b75cab
roentgen b75cab
Wed Aug 25 11:39:07 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added test target in Makefile, test_pics.sh script and pics/*.rpt 
roentgen b75cab
	files to provide for a rudimentary testsuite.
roentgen b75cab
roentgen b75cab
	* Added contrib/tags back from old distribution ... fixed up a bit.
roentgen b75cab
roentgen b75cab
1999-08-16    <warmerda@CS46980-B>
roentgen b75cab
roentgen b75cab
	* Added simple makefile.vc makefiles for building with MS VC++
roentgen b75cab
	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give 
roentgen b75cab
	better solutions for some users.
roentgen b75cab
roentgen b75cab
Mon Aug 16 21:52:11 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
roentgen b75cab
	put it in tools since part of it is in C++.
roentgen b75cab
roentgen b75cab
1999-08-16  Michael L. Welles  <mike@kurtz.fake>
roentgen b75cab
roentgen b75cab
	* Updated html/index.html with anon CVS instructions. 
roentgen b75cab
roentgen b75cab
Mon Aug 16 13:18:41 1999  Frank Warmerdam  <warmerda@gdal.velocet.ca>
roentgen b75cab
roentgen b75cab
	* pre-remove so link before softlink in LINUXdso action in 
roentgen b75cab
	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
roentgen b75cab
	the first.
roentgen b75cab
roentgen b75cab
	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
roentgen b75cab
	colormaps owned by the TIFF handle itself when trying to fixup wrong
roentgen b75cab
	(eight bit) colormaps.  Corrected by maintaining a private copy of
roentgen b75cab
	the colormap. 
roentgen b75cab
roentgen b75cab
	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in 
roentgen b75cab
	tif_getimage.c.
roentgen b75cab
roentgen b75cab
	* CVS Repository placed at remotesensing.org.  ChangeLog added.