xref: /libtiff-4.0.7/ChangeLog (revision faf5f3eb)
12010-11-27  Bob Friesenhahn  <[email protected]>
2
3	* libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
4	Patch by Vincent Torri.
5
62010-10-21  Frank Warmerdam  <[email protected]>
7
8	* tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler.
9
10	* libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf.
11
12	* libtiff/libtiff.def: export _TIFFCheckMalloc for tools.
13
142010-09-25  Lee Howard <[email protected]>
15
16	* tools/tiff2ps.c: improvements and enhancements from Richard Nolde
17	with additional command line options for Document Title,
18	Document Creator, and Page Orientation
19
202010-07-13  Bob Friesenhahn  <[email protected]>
21
22	* tools/tiffcrop.c: Patch from Richard Nolde to avoid a
23	potentially unterminated buffer due to using an exceptionally long
24	file name.
25
262010-07-08  Andrey Kiselev  <[email protected]>
27
28	* tools/tiff2pdf.c: Fixed ID buffer filling in
29	t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
30
312010-07-07  Andrey Kiselev  <[email protected]>
32
33	* lintiff/tif_dirread.c: Really reset the tag count in CheckDirCount()
34	to expected value as the warning message suggests. As per bug
35	http://bugzilla.maptools.org/show_bug.cgi?id=1963
36
372010-07-06  Andrey Kiselev  <[email protected]>
38
39	* tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER,
40	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE
41	which should be set by value.
42
43	* libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag()
44	and _TIFFFieldWithName() if the tag is not found in the tag table.
45	This should be normal situation and returned NULL value should be
46	properly handled by the caller.
47
482010-07-02  Andrey Kiselev  <[email protected]>
49
50	* libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned
51	integer type conversions. As per bug
52	http://bugzilla.maptools.org/show_bug.cgi?id=2207
53
54	* tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for
55	WhitePoint tag as per bug
56	http://bugzilla.maptools.org/show_bug.cgi?id=2042
57
58	* libtiff/tif_getimage.c: Check the number of samples per pixel when
59	working with YCbCr image in PickContigCase(). As per bug
60	http://bugzilla.maptools.org/show_bug.cgi?id=2216
61
62	* libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
63	TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
64	we don't need any post-processing. That helps to reset the hook if we
65	previously set this field to some other value and the hook was
66	initialized accordingly. As per bug
67	http://bugzilla.maptools.org/show_bug.cgi?id=2035
68
692010-07-01  Andrey Kiselev  <[email protected]>
70
71	* tools/tiffgt.c: Properly check the raster buffer allocations for
72	integer overflows. As per bug
73	http://bugzilla.maptools.org/show_bug.cgi?id=2108
74
75	* m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the
76	upstream.
77
78	* libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move
79	multiply_32() and multiply_64() functions into tif_aux.c file and
80	rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively.
81
822010-06-30  Andrey Kiselev  <[email protected]>
83
84	* tools/tiff2pdf.c: Better generation of ID field in
85	t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings.
86
87	* tools/tiff2pdf.c: Fixed computation of the tile buffer size when
88	converting JPEG encoded tiles.
89
90	* tools/tiff2pdf.c: Better handling of string fields, use static
91	string buffers instead of dynamically allocated, use strncpy() instead
92	of strcpy(), control the string lengths.
93
942010-06-25  Andrey Kiselev  <[email protected]>
95
96	* tools/tiffcp.c: Initialize buffer arrays with zero to avoid
97	referencing to uninitialized memory in some cases (e.g. when tile size
98	set bigger than the image size).
99
1002010-06-15  Bob Friesenhahn  <[email protected]>
101
102	* tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
103	subsampled data since tiffcrop currently doesn't support it.  Fix
104	JPEG support.
105
1062010-06-13  Frank Warmerdam  <[email protected]>
107
108	* libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201)
109
110	* tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return"
111	in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely
112	wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual
113	size is larger.  Also, there are a bunch of places that try to
114	memset() a malloc'd buffer before checking for malloc failure, which
115	would result in core dump if there actually were a failure. (#2211)
116
1172010-06-11  Bob Friesenhahn  <[email protected]>
118
119	* libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
120	avoid compiler warnings if parameter types are not sign
121	consistent.
122
123	* libtiff 4.0.0alpha6 released.
124
125	* tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
126	European page size dimensions.  Added an option to allow the user
127	to specify a custom page size on the command line.  Fix the case
128	where a page size specified with a fractional part was being
129	coerced to an integer by retyping the variables that define the
130	paper size.
131
132	* html/index.html: Update for the 3.9.3 release.
133
134	* tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
135	YCbCr subsampled data since tiffcp currently doesn't support it.
136	http://bugzilla.maptools.org/show_bug.cgi?id=2097
137
138	* Update libtool to version 2.2.10.
139
1402010-06-10  Bob Friesenhahn  <[email protected]>
141
142	* libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
143	multiplier is zero.
144
1452010-06-09  Bob Friesenhahn  <[email protected]>
146
147	* libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
148	CVE-2010-1411 was not complete.
149
150	* libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
151	multiply two integers.  Returns zero if there is an integer
152	overflow.
153
154	* tools/tiffcp.c (main): tiffcp should not leak memory if an error
155	is reported when reading the input file.
156
1572010-06-08  Bob Friesenhahn  <[email protected]>
158
159	* Update libtool to version 2.2.8.
160
161	* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
162	buffer due to integer overflow in TIFFroundup() and several other
163	potential overflows.  In conjunction with the fix to TIFFhowmany(),
164	fixes CVE-2010-1411.
165
166	* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
167	result in an integer overflow. This causes TIFFroundup() to also
168	return zero if there would be an integer overflow.
169
170	* contrib: Add an emacs formatting mode footer to all source files
171	so that emacs can be effectively used.
172
1732010-06-03  Oliver Chen Feng <[email protected]>
174
175	* libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
176	file PAGENUMBER value in sequence for users who care the page
177	sequence, this will also prevent tiff2pdf from creating pdf file from
178	the merged tiff file with wrong page sequence.
179
1802010-05-08  Olivier Paquet  <[email protected]>
181
182	* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
183	to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
184	* libtiff/tif_dirinfo.c: Use correct set_field_type for
185	TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
186	http://bugzilla.maptools.org/show_bug.cgi?id=2192
187
1882010-05-07  Frank Warmerdam  <[email protected]>
189
190	* libtiff/tif_jpeg.c: Ensure that quality is always set in
191	JPEGPreEncode(), not just when we want to output local tables.
192	Otherwise the quality used during compression may not be right and
193	might not match the tables in the tables tag.   This bug only occurs
194	when seeking between directories in the midst of writing blocks.
195	http://trac.osgeo.org/gdal/ticket/3539
196
1972010-05-06  Andrey Kiselev  <[email protected]>
198
199	* html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
200	Regenerated from the source.
201
2022010-05-05  Olivier Paquet  <[email protected]>
203
204	* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
205	had stopped working. Also made it always print 6 floats instead of
206	2*SamplesPerPixel.
207	http://bugzilla.maptools.org/show_bug.cgi?id=2191
208	http://bugzilla.maptools.org/show_bug.cgi?id=2186
209	* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
210	fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
211
2122010-05-05  Frank Warmerdam  <[email protected]>
213
214	* libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
215	if the jpeg table was written.  This is a fix for the last fix on 04-21.
216
2172010-04-21  Frank Warmerdam  <[email protected]>
218
219	* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
220	JPEGSetupEncode() is called if the tables already seem to be
221	established.  This prevents spurious updates and rewriting of
222	directories with jpegtables when doing updates to existing images.
223	http://trac.osgeo.org/gdal/ticket/3539
224
2252010-04-20  Olivier Paquet  <[email protected]>
226
227	* libtiff/tif_dirinfo.c: Use correct set_field_type for
228	TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
229	TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
230	They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
231	http://bugzilla.maptools.org/show_bug.cgi?id=2139
232
2332010-04-10  Bob Friesenhahn  <[email protected]>
234
235	* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
236	when the tag count value is zero.  Error handling is still a
237	regression since in 3.9.2, empty tags are skipped (with a warning)
238	rather than returning a hard error and refusing to read the file.
239
240	* tools/ppm2tiff.c (main): While case for parsing comment line
241	requires extra parenthesis to work as expected.  Reported by
242	Thomas Sinclair.
243
2442010-04-02  Frank Warmerdam  <[email protected]>
245
246	* libtiff/tif_read.c (primarily): Add support for
247	CHUNKY_STRIP_READ_SUPPORT where large strips are
248	read in chunks for applications using TIFFReadScanline().
249	This is intended to make it more practical work with very
250	large compressed one-strip files.   Feature is off by default.
251	Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
252	http://trac.osgeo.org/gdal/ticket/3514
253
2542010-03-31  Frank Warmerdam  <[email protected]>
255
256	* libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
257	directories so previously placed directories will be migrated to
258	the end of file if needed.
259
2602010-03-30  Frank Warmerdam  <[email protected]>
261
262	* libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
263	to support operating on strips/tiles of more than 256MB.
264	http://trac.osgeo.org/gdal/ticket/3512
265
2662010-03-10  Bob Friesenhahn  <[email protected]>
267
268	* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
269	that it is clearly a memory allocation error message, and also
270	includes the size of the allocation request.
271
2722010-02-22  Lee Howard  <[email protected]>
273
274	* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
275	the JPEG TIFF as is is not required in order to prevent it from
276	being unused and filled with invalid data.  (Leave it to be
277	generated by later activity.)
278	http://bugzilla.maptools.org/show_bug.cgi?id=2135
279	* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
280	data rather than skipping them.  This fixes the ability to view in
281	Acrobat Reader, Evince, and Ghostscript.
282	http://bugzilla.maptools.org/show_bug.cgi?id=2135
283	* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
284	strips.
285	http://bugzilla.maptools.org/show_bug.cgi?id=2029
286
2872009-12-03  Frank Warmerdam  <[email protected]>
288
289	* libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
290	Made so that when working with downsampled images a stub function
291	reporting an error is used for tif_decoderow.  We cannot meaningfully
292	support reading scanlines in this situation.  (#1936)
293
294	* libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
295	resetting of the upsampling values (gdal:#3259).
296	http://bugzilla.maptools.org/show_bug.cgi?id=1936
297
2982009-11-30  Frank Warmerdam  <[email protected]>
299
300	* contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c,
301	tools/ras2tiff.c: Fix resource leaks on error.
302	http://bugzilla.maptools.org/show_bug.cgi?id=2121
303
304	* libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling
305	TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
306	of as a custom(generic) field to avoid a potential reentrancy problem.
307	http://bugzilla.maptools.org/show_bug.cgi?id=2125
308
309	* libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
310	man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit
311	const, and display_sRGB static and const.
312	http://bugzilla.maptools.org/show_bug.cgi?id=2124
313
3142009-11-04  Bob Friesenhahn  <[email protected]>
315
316	* libtiff 4.0.0alpha5 released.
317
3182009-11-03  Bob Friesenhahn  <[email protected]>
319
320	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
321	version has undergone substantial testing with arbitrary sample
322	bit depths.  Also eliminates GCC compilation warnings.
323
3242009-11-02  Bob Friesenhahn  <[email protected]>
325
326	* port/libport.h: Add extern declarations for getopt standard
327	globals.
328
3292009-10-31  Bob Friesenhahn  <[email protected]>
330
331	* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
332	noticed in 64-bit build of libtiff with Visual Studio 2005.
333	Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
334	tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
335
336	* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
337	warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
338	Visual Studio 2005 64-bit warning in tif_pixarlog.c",
339	http://bugzilla.maptools.org/show_bug.cgi?id=2068
340
3412009-10-29  Bob Friesenhahn  <[email protected]>
342
343	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
344	pointer" warnings.
345
3462009-10-28  Bob Friesenhahn  <[email protected]>
347
348	* html/tools.html: Add manual page links, and a summary
349	description of tiffcrop.
350
3512009-10-07  Bob Friesenhahn  <[email protected]>
352
353	* configure.ac: x86_64 should use the same fill order as i386.
354
3552009-09-24  Bob Friesenhahn  <[email protected]>
356
357	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
358	Nolde.  Major updates to add significant functionality for reading
359	and writing tile based images with bit depths not a multiple of 8
360	which cannot be handled by tiffcp.
361
3622009-09-03  Bob Friesenhahn  <[email protected]>
363
364	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
365	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
366	"Bug 2090 - OJPEG crash with libjpeg v7".
367	http://bugzilla.maptools.org/show_bug.cgi?id=2090
368
3692009-09-03  Frank Warmerdam  <[email protected]>
370
371	* libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
372	interface when stoponerror is set.
373	http://bugzilla.maptools.org/show_bug.cgi?id=2071
374
3752009-08-30  Bob Friesenhahn  <[email protected]>
376
377	* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
378	fix build with gcc when using the "-Wformat
379	-Werror=format-security" flags.
380
3812009-08-29  Bob Friesenhahn  <[email protected]>
382
383	* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
384	ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
385	utilities tests.
386
3872009-08-28  Bob Friesenhahn  <[email protected]>
388
389	* tools/tiffinfo.c: tiffinfo should return error status to the
390	caller.  Register a private error callback to accomplish that.
391
392	* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
393	PNM formats so that we will be able to test more of the tools.
394	While adding these test images I notice that bmp2tiff and gif2tiff
395	only support ancient versions of their respective formats.
396
3972009-08-27  Bob Friesenhahn  <[email protected]>
398
399	* libtiff 4.0.0alpha4 released.
400
401	* HOWTO-RELEASE: Improved release instructions.
402
4032009-08-24  Bob Friesenhahn  <[email protected]>
404
405	* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
406	fixes for "Bug 2023 - nroff errors in manual pages".
407	http://bugzilla.maptools.org/show_bug.cgi?id=2023
408
409	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
410	CVE-2009-2347 libtiff: integer overflows in various inter-color
411	space conversion tools".
412	http://bugzilla.maptools.org/show_bug.cgi?id=2079
413
414	* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
415	Berkenbilt for "Bug 2024 - possible null pointer dereference with
416	one-line fix".
417	http://bugzilla.maptools.org/show_bug.cgi?id=2024
418
419	* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
420	from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
421	segfault after setting tdir_tag = IGNORE".
422	http://bugzilla.maptools.org/show_bug.cgi?id=1895
423
4242009-08-23  Bob Friesenhahn  <[email protected]>
425
426	* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
427	tiffcrop.sh into a collection of many specific tests.  Re-wrote
428	all of the existing tests to be based on some simple shell
429	functions.  Make distcheck works again.
430
431	Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
432	added 'memcheck' and 'ptrcheck' targets to make it easy to run the
433	tests under valgrind.
434
4352009-08-21  Bob Friesenhahn  <[email protected]>
436
437	* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
438	build.
439
440	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
441	actually activated since it needed to be enabled in this
442	Makefile.am.  Also activated parallel-tests mode since it offers
443	useful features such as per-test .log files and a summary test
444	report .log file.
445
4462009-08-20  Bob Friesenhahn  <[email protected]>
447
448	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
449	libtool 2.2.6.  Enabled support for silent build rules
450	(--enable-silent-rules or 'make V=0') and colorized tests.
451
452	* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
453
4542009-06-30  Frank Warmerdam  <[email protected]>
455
456	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
457
458	* tools/tiffcp.c: add -c sgilog support.
459
460	* libtiff/tif_luv.c: correct return codes from encoderow to be
461	1 on success instead of zero.
462	http://bugzilla.maptools.org/show_bug.cgi?id=2069
463
464	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
465	#1085 for a better underflow fix that errors properly.
466	http://bugzilla.maptools.org/show_bug.cgi?id=2065
467	http://bugzilla.maptools.org/show_bug.cgi?id=1985
468
4692009-06-26  Frank Warmerdam  <[email protected]>
470
471	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
472	fails on oddly sized 12bit jpeg compressed ycbcr images.
473
4742009-06-22  Frank Warmerdam  <[email protected]>
475
476	* libtiff/tif_lzw.c: Fix buffer underflow bug.
477	http://bugzilla.maptools.org/show_bug.cgi?id=2065
478
4792009-06-21  Frank Warmerdam  <[email protected]>
480
481	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
482	for dual mode 8/12 bit jpeg support.
483
4842009-06-03  Frank Warmerdam  <[email protected]>
485
486	* libtiff/tif_write.c: do not override the planar configuration to be
487	contig for one sample files if planar configuration is already set.
488	http://bugzilla.maptools.org/show_bug.cgi?id=2057
489
4902009-06-02  Frank Warmerdam  <[email protected]>
491
492	* libtiff/libtiff.def: Add TIFFUnsetField.
493
4942009-05-03  Frank Warmerdam  <[email protected]>
495
496	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
497	error reports to use "%s" as format string.
498	http://trac.osgeo.org/gdal/ticket/2976
499
5002009-03-12  Frank Warmerdam  <[email protected]>
501
502	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
503	for some codecs (#2020).
504
5052009-02-12  Frank Warmerdam  <[email protected]>
506
507	* libtiff/tif_luv.c: Fix handling of tiled logluv images.
508	http://bugzilla.maptools.org/show_bug.cgi?id=2005
509
5102009-02-09  Frank Warmerdam  <[email protected]>
511
512	* libtiff/tif_dirread.c: Improve allocation safety when allocated
513	buffer for large tags.  (#1998)  Related to (#1993)
514
5152009-02-06  Frank Warmerdam  <[email protected]>
516
517	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
518	test suite should pass.
519
5202009-02-05  Frank Warmerdam  <[email protected]>
521
522	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
523	but at the 2GB boundary to avoid overflow on 32bit systems.
524	http://bugzilla.maptools.org/show_bug.cgi?id=1993
525
526	* libtiff/tif_dirread.c: Remove some assertions that blow due to
527	corrupt files rather than in response to library internal
528	inconsistencies.
529	http://bugzilla.maptools.org/show_bug.cgi?id=1995
530	http://bugzilla.maptools.org/show_bug.cgi?id=1991
531
532	* libtiff/tif_dirread.c: Fixed testing for failed result from
533	TIFFReadDirectoryFindFieldInfo().
534	http://bugzilla.maptools.org/show_bug.cgi?id=1992
535
5362009-01-23  Frank Warmerdam  <[email protected]>
537
538	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
539	http://bugzilla.maptools.org/show_bug.cgi?id=1911
540
541	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
542
543	http://bugzilla.maptools.org/show_bug.cgi?id=1924
544
545	* tools/tiffcrop.c: initialize xres/yres values.
546
547	* test/*.sh - default ${srcdir} to local directory.
548
549	* test/common.sh - start verbose mode after common settings.
550
551	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
552	avoid type mismatches on different platforms.
553	http://bugzilla.maptools.org/show_bug.cgi?id=1889
554
5552009-01-22  Frank Warmerdam  <[email protected]>
556
557	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
558	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
559
560	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
561	defined, primarily to reduce prototype warnings on windows.
562
563	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
564	about unused parameters, and uninitialized variables.
565
5662009-01-21  Bob Friesenhahn  <[email protected]>
567
568	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
569	order to trace full execution detail while executing the test suite.
570
5712009-01-20  Frank Warmerdam  <[email protected]>
572
573	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
574
5752009-01-20  Bob Friesenhahn  <[email protected]>
576
577	* test/Makefile.am (CLEANFILES): Make sure that test output files
578	are removed by 'make clean'
579
580	* Update autotools for 4.0.0 beta3
581
582	* 4.0.0 beta3 produced.
583
5842009-01-12  Bob Friesenhahn  <[email protected]>
585
586	* test/tiffcrop.sh: New test script for tiffcrop from Richard
587	Nolde.
588
589	* tools/tiff2ps.c: Remove spurious message to stderr.
590
5912009-01-11  Bob Friesenhahn  <[email protected]>
592
593	* tools/tiff2ps.c: Incorporated significant functionality update
594	from Richard Nolde.  In particular, support for rotating the image
595	by 90, 180, 270, and 'auto' has been added.
596
597	* man/tiffcrop.1: Incorporated documentation updates from Richard
598	Nolde.
599
600	* tools/tiffcrop.c: Incorporated significant functionality update
601	from Richard Nolde.
602
6032008-12-31  Bob Friesenhahn  <[email protected]>
604
605	* libtiff/tiffio.h: GCC will now validate format specifications
606	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
607	TIFFWarningExt() in order to reveal bugs.
608
609	* Many fixes throughout to work better as a 64-bit build.
610
6112008-12-30  Bob Friesenhahn  <[email protected]>
612
613	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
614	tags now require 64-bit parameter rather than 32-bit.
615
616	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
617	64-bit values.
618
619	* tools/thumbnail.c: Eliminate crash noticed while running test
620	suite.
621
6222008-12-29  Bob Friesenhahn  <[email protected]>
623
624	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
625	Initialize stack variables to avoid compiler warning.
626
627	* tools/tiffinfoce.c (main): Use toff_t for offset type when
628	retrieving offset of EXIF IFD.
629
630	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
631	TIFFClientOpen() callback and other external function definitions.
632
633	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
634	type now.  Fixes crash when dumping files containing an EXIF IFD.
635
636	* m4/libtool.m4: Update to libtool 2.2.6.
637
6382008-12-21  Frank Warmerdam  <[email protected]>
639
640	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
641
642	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
643	strip for the last partial strip in a jpeg compressed file.
644	http://bugzilla.maptools.org/show_bug.cgi?id=1981
645
6462008-10-29  Frank Warmerdam  <[email protected]>
647
648	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
649	we take the shortcut to only update the strip/tile offsets in place.
650	http://trac.osgeo.org/gdal/ticket/2621
651
6522008-10-21  Andrey Kiselev  <[email protected]>
653
654	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
655	the older versions retained).
656
6572008-10-09  Frank Warmerdam  <[email protected]>
658
659	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
660	IPP enabled version of libjpeg from Intel.
661	http://bugzilla.maptools.org/show_bug.cgi?id=1951
662
6632008-09-05  Andrey Kiselev  <[email protected]>
664
665	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
666	Required for libtiff 4.0.
667
668	* tools/tiffsplit.c: Use dynamically allocated array instead of static
669	when constructing output file names.
670
6712008-09-03  Andrey Kiselev  <[email protected]>
672
673	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
674	doing the filename/path construction.
675
676	* tools/tiff2pdf.c: More appropriate format string in
677	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
678
679	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
680
681	http://bugzilla.maptools.org/show_bug.cgi?id=1929
682
683	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
684	CVE-2008-2327 security issue.
685
6862008-09-01  Frank Warmerdam  <[email protected]>
687
688	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
689
690	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
691	depending on whether the file is bigtiff or classic tiff.
692	http://bugzilla.maptools.org/show_bug.cgi?id=1917
693
6942008-08-12  Edward Lam  <[email protected]>
695
696	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
697	consistent (__int64) casting when testing if _lseeki64 has
698	successfully seeked as requested.  This is necessary for large
699	file support to work since off_t is only 32-bit.
700
7012008-07-29  Frank Warmerdam  <[email protected]>
702
703	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or
704	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
705	with control logic to return runtime errors (c/o Even Rouault) (#1927).
706
7072008-06-17  Frank Warmerdam  <[email protected]>
708
709	* tools/tiffcrop.c: Fix some portability problems.
710
711	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
712	used in tif_jpeg.c.
713
714	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
715	as TIFFOpen().
716
7172008-06-01  Frank Warmerdam  <[email protected]>
718
719	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
720	like Sparc/Solaris.
721	http://bugzilla.maptools.org/show_bug.cgi?id=1892
722
7232008-05-27  Frank Warmerdam  <[email protected]>
724
725	* libtiff.def: Add TIFFFindField
726	http://bugzilla.maptools.org/show_bug.cgi?id=1891
727
7282008-05-26  Frank Warmerdam  <[email protected]>
729
730	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
731
732	* li2008-04-15  Andrey Kiselev  <[email protected]>
733
734btiff/tif_win32.c: Replace custom Win32 memory api with generic
735	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
736	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
737
738	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
739	in windows version (care of Edward Lam).
740
7412008-05-24  Frank Warmerdam  <[email protected]>
742
743	* tif_codec.c: Avoid NULL pointer dereferencing for exotic
744	compression codec codes.
745
746	* tif_dirwrite.c: fix potential memory leak.
747
748	* tif_dirread.c: Fix unchecked malloc result.
749
7502008-05-24  Bob Friesenhahn  <[email protected]>
751
752	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
753	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
754	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
755	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
756	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
757	suggestions from Lee Howard posted to the tiff list on 13 Sep
758	2007.
759
7602008-05-23  Frank Warmerdam  <[email protected]>
761
762	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
763	possible runtime problem reported by coverity.
764
765	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
766
767	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
768	http://bugzilla.maptools.org/show_bug.cgi?id=1888
769
770	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
771
772	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
773
774	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
775	Cleanup scanline allocation to avoid coverity warning.
776
777	* tools/thumbnail.c: Check for TIFFOpen() failure.
778
7792008-05-18  Frank Warmerdam  <[email protected]>
780
781	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
782	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
783	why this is needed.
784
7852008-05-09  Bob Friesenhahn  <[email protected]>
786
787	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
788	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
789
7902008-04-15  Andrey Kiselev  <[email protected]>
791
792	* test/: Test suite updated. Everything is passed now.
793
794	* libtiff/tif_dirinfo.c: Fixed description of the
795	TIFFTAG_NUMBEROFINKS tag.
796
7972008-04-14  Andrey Kiselev  <[email protected]>
798
799	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
800	Get rid of some of "dereferencing type-punned" warnings by converting
801	tdir_offset field of TIFFDirEntry structure into union.
802
8032008-04-10  Andrey Kiselev  <[email protected]>
804
805	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
806	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
807	from the public interface. Type of its 'count' parameter changed
808	from uint32 to tmsize_t.
809
810	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
811	of the tiff structure have the size_t type instead of uint32.
812
8132008-04-09  Andrey Kiselev  <[email protected]>
814
815	* tools/tiffdump.c: Added support for MSVS 6.0.
816
817	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
818	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
819	point values on MSVS 6.0 platform.
820
8212008-03-14  Frank Warmerdam  <[email protected]>
822
823	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
824	TIFFReadDirEntryArray() since they are interfering with seemingly
825	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
826
8272008-02-09  Joris Van Damme  <[email protected]>
828
829	* tif_dirread.c: Added handling for the case of number of values for
830	PageNumber tag different from 2 (previously resulted in an assert
831	indicating lack of handling and was forgotten about)
832
8332008-02-01  Frank Warmerdam  <[email protected]>
834
835	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
836	the actual jpeg data stream if the first strip/tile has zero size.
837	This is the case when GDAL creates a new file with zero sizes, closes
838	and reopens it.
839
8402008-01-07  Frank Warmerdam  <[email protected]>
841
842	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
843
8442008-01-01  Frank Warmerdam  <[email protected]>
845
846	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
847
848	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
849	targets.
850
851	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
852	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
853	(x64).
854
855	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
856	and TIFFFieldWithName() now return TIFFField pointers instead of
857	TIFFFieldInfo pointers.
858
859	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
860	exist. This makes it compile again on Windows
861
862	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
863	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
864
865	* test/rewrite_tag.c: New test for TIFFRewriteField().
866
8672007-12-31  Frank Warmerdam  <[email protected]>
868
869	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
870	rewrites one field "on disk" updating an existing directory
871	entry.  Lots of limitations still...
872
873	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
874	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
875	the strip offset/size values are dirty but nothing else about the
876	directory is dirty.  In flush handle "just stripmaps dirty" as a
877	special case that just rewrites these values without otherwise
878	modifying the directory on disk using TIFFRewriteField().
879
880	We also modify logic so that in update mode the directory is not
881	marked dirty on read, but only when something is changed.  This
882	means we need to keep track of updates to the stripmap stuff in
883	TIFFAppendToStrip().
884
8852007-12-10  Frank Warmerdam  <[email protected]>
886
887	* tif_jpeg.c: Improve ability to switch between encoding and decoding
888	in the jpeg code (gdal bug #2033).
889
8902007-11-23  Frank Warmerdam  <[email protected]>
891
892	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
893	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
894	rawcp/rawcc buffer are for writing and thus may require flushing.
895	Necessary to distinguish whether they need to be written to disk when
896	in mixed read/write mode and doing a mixture of writing followed by
897	reading.  http://trac.osgeo.org/gdal/ticket/1758
898
8992007-11-23  Andrey Kiselev  <[email protected]>
900
901	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
902	from Alexey Chupahin.
903
9042007-11-02  Frank Warmerdam  <[email protected]>
905
906	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
907	establishing if an existing tile can be rewritten to the same location
908	by comparing the current size to all the other blocks in the same
909	directory.  This is dangerous in many situations and can easily
910	corrupt a file.  (observed in esoteric GDAL situation that's hard to
911	document).  This change involves leaving the stripbytecount[] values
912	unaltered till TIFFAppendToStrip().  Now we only write a block back
913	to the same location it used to be at if the new data is the same
914	size or smaller - otherwise we move it to the end of file.
915
916	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
917	data when writing the directory just because we have BEENWRITING at
918	some point in the past.  This was causing odd junk to be written out
919	in a tile of data when a single tile had an interleaving of reading
920	and writing with reading last.  (highlighted by gdal
921	autotest/gcore/tif_write.py test 7.
922
923	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
924	modifying callers buffer.
925	http://trac.osgeo.org/gdal/ticket/1965
926
927	* tif_predict.c/h: more fixes related to last item, keeping a
928	distinct pfunc for encode and decode cases as these were getting
929	mixed up sometimes.
930	http://trac.osgeo.org/gdal/ticket/1948
931
9322007-11-01  Frank Warmerdam  <[email protected]>
933
934	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
935	predictor based encoding and decoding works in read-write update
936	mode properly.
937	http://trac.osgeo.org/gdal/ticket/1948
938
9392007-10-24  Joris Van Damme  <[email protected]>
940
941	* tif_dirread.c: Fixed problem with bogus file triggering
942	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
943	ChopUpSingleUncompressedStrip
944
9452007-10-22  Joris Van Damme  <[email protected]>
946
947	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
948	at best, access violation at worst, when subsampled JPEG compressed imagery
949	is decoded without the JPEG_COLORMODE feature
950
9512007-10-11  Frank Warmerdam  <[email protected]>
952
953	* html/index.html: Update "people responsible" section.
954
9552007-10-05  Frank Warmerdam  <[email protected]>
956
957	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
958	as reported on the mailing list.
959
9602007-10-01  Joris Van Damme  <[email protected]>
961
962	* changed some more incorrect %lud printf flags to %lu
963
9642007-09-29  Joris Van Damme  <[email protected]>
965
966	* tif_dirread.c: Strip chopping interfered badly with uncompressed
967	subsampled images because it tried to divide subsampled rowblocks,
968	leading to all sorts of errors throughout the library for these
969	images. Fixed by making strip chopping divide in row counts that
970	are a multiple of vertical subsampling value.
971
9722007-09-28  Joris Van Damme  <[email protected]>
973
974	* tif_dirread.c: Logical cast working around compiler warning
975
976	* tif_read.c: Correction of some error flags and parameter lists
977
9782007-09-27  Joris Van Damme  <[email protected]>
979
980	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
981	when dealing with large bitspersample values, shutting up purification
982	tools that warn about truncation, though it remains incorrect and
983	indicates a conceptual problem there.
984
985	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
986	of first IFD) to proper place because it badly interfered with memory
987	mapping, resulting in mapping flag even with dummy mapping functions
988	that returned 0 whilst at the same time the mapping tif_size wasn't
989	set, thus resulting in continuous incorrect beyond-eof errors.
990
9912007-09-24  Joris Van Damme  <[email protected]>
992
993	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
994	inconsistent use of const in tiffFields and exifFields definition
995
9962007-09-20  Frank Warmerdam  <[email protected]>
997
998	* tif_dirwrite.c: Always write tile/strip offsets and sizes
999	using LONG8 type when output format is BigTIFF.  The
1000	TIFFWriteDirectoryTagLongLong8Array() function was restructured
1001	accordingly.
1002
1003	* tif_dirread.c: Improvements to error reporting text in
1004	TIFFFetchDirectory().
1005
10062007-09-19  Bob Friesenhahn  <[email protected]>
1007
1008	* test/images: Added a small collection of test images for use by
1009	test programs and scripts.
1010	* test/tiffinfo.sh: A trivial example test script.
1011	* test/common.sh: Added small script for setting the environment
1012	used by script-based tests.
1013
10142007-08-24  Frank Warmerdam  <[email protected]>
1015
1016	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
1017	zero when writing directory contents to preserve the ability to
1018	rewrite directories in place, even in the middle of a directory
1019	chain.
1020
1021	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
1022	definitions that are missing.  Existing definitions are silently
1023	ignored.
1024
1025	* tif_dirread.c: Add runtime error for fields for which no definition
1026	is found (in addition to an assert for developers) in
1027	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
1028	prudent.
1029
10302007-08-10  Joris Van Damme  <[email protected]>
1031
1032	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
1033	from _TIFFRGBAImage structure to revert unwanted ABI change.
1034
10352007-08-10  Joris Van Damme  <[email protected]>
1036
1037	* libtiff/tif_win32.c: use SetFilePointer instead of
1038	SetFilePointerEx, as per bug
1039
1040	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
1041
10422007-07-19  Andrey Kiselev  <[email protected]>
1043
1044	* libtiff/tif_stream.cxx: Put all callback functions declarations
1045	inside extern "C" block.
1046
1047	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
1048	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
1049	formatter instead of "%lld" with MSVC compiler.
1050
1051	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
1052	_TIFFUInt64ToDouble() functions.
1053
10542007-07-18  Andrey Kiselev  <[email protected]>
1055
1056	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
1057	integer constants.
1058
1059	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
1060	remove tif_config.h/tiffconf.h during cleaning. As per bug
1061
1062	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
1063
1064	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
1065
1066	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
1067
10682007-07-13  Andrey Kiselev  <[email protected]>
1069
1070	* libtiff 4.0.0alpha released.
1071
10722007-07-12  Andrey Kiselev  <[email protected]>
1073
1074	* tools/tiff2pdf.c: Added missed extern optind as per bug
1075
1076	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
1077
1078	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
1079	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
1080	extending scheme completed.
1081
10822007-07-11  Bob Friesenhahn  <[email protected]>
1083
1084	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
1085	use standard C++ library size types and attempt to detect overflow
1086	cases.
1087
10882007-07-08  Andrey Kiselev  <[email protected]>
1089
1090	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
1091	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
1092	tag extending scheme. Use the new scheme everywhere.
1093
1094	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
1095	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
1096	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
1097	TIFFFIeldInfo structure replaced with TIFFField structure.
1098	TIFFFieldInfo retained for the backward compatibility.
1099
11002007-07-05  Bob Friesenhahn  <[email protected]>
1101
1102	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
1103	defined.
1104
11052007-07-04  Andrey Kiselev  <[email protected]>
1106
1107	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
1108	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
1109	removed.
1110
1111	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
1112	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
1113	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
1114	These tags are not codec-specific and relate to image content, so
1115	process them as other normal tags.
1116
1117	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
1118	public tiffio.h to private tif_dir.h.
1119
1120	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
1121	outdated.
1122
11232007-07-03  Andrey Kiselev  <[email protected]>
1124
1125	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
1126	tif_win3.c}: Obsoleted portability stuff removed.
1127
1128	* tools/tiff2ps.c:  Added support 16-bit images as per bug
1129
1130	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
1131
1132	Patch from William Bader.
1133
1134	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
1135	significant upgrade of the whole utility as per bug
1136
1137	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
1138
1139	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
1140	PDF file using TIFFClientOpen() machinery as it is implemented
1141	by Leon Bottou.
1142
11432007-06-26  Bob Friesenhahn  <[email protected]>
1144
1145	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
1146	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
1147	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
1148	allow returning -1 for errors.
1149	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
1150
11512007-06-25  Bob Friesenhahn  <[email protected]>
1152
1153	* port/strtoull.c: New porting function in case strtoull() is not
1154	available on the target system.
1155	* configure.ac: Add configure support for determining sized types
1156	in a portable way and performing necessary substitutions in
1157	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
1158	definitions.
1159
11602007-04-27  Andrey Kiselev  <[email protected]>
1161
1162	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
1163
1164	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
1165
11662007-04-07  Andrey Kiselev  <[email protected]>
1167
1168	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
1169	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
1170	tif_predict.c, tif_zip.c}: Finally fix bug
1171
1172	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
1173
1174	by introducing _TIFFMergeFieldInfo() returning integer error status
1175	instead of void in case of problems with field merging (e.g., if the
1176	field with such a tag already registered). TIFFMergeFieldInfo() in
1177	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
1178	check returned value.
1179
11802007-04-07  Frank Warmerdam  <[email protected]>
1181
1182	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
1183	blocks in TIFF_DownSample_Subsampled() (bug 1542).
1184
11852007-04-06  Frank Warmerdam  <[email protected]>
1186
1187	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
1188	will convert from decompressor to compressor or compress to decompress
1189	if required by the force arguments.  This works around a problem in
1190	where the JPEGFixupTestSubsampling() may cause a decompressor to
1191	be setup on a directory when later a compressor is required with the
1192	force flag set.  Occurs with the addtiffo program for instance.
1193
11942007-04-06  Andrey Kiselev  <[email protected]>
1195
1196	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
1197	functionality from Richard Nolde. As per bug
1198
1199	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
1200
12012007-03-28  Frank Warmerdam  <[email protected]>
1202
1203	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
1204
12052007-03-17  Joris Van Damme  <[email protected]>
1206
1207	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
1208
12092007-03-07  Joris Van Damme  <[email protected]>
1210
1211	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
1212	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
1213	factor. This bug is mentioned in:
1214	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
1215	http://www.asmail.be/msg0054766825.html
1216
12172007-03-07  Joris Van Damme  <[email protected]>
1218
1219	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
1220
1221	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
1222	unused arguments by standard C indication for the same
1223
12242007-02-27  Andrey Kiselev  <[email protected]>
1225
1226	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
1227	counters in TIFFFetchData(). Should finally fix the issue
1228
1229	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1230
12312007-02-24  Andrey Kiselev  <[email protected]>
1232
1233	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
1234	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
1235
1236	* libtiff/tif_dirread.c: Added special function to handle
1237	SubjectDistance EXIF tag as per bug
1238
1239	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
1240
1241	* tools/tiff2pdf.c: Do not assume inches when the resolution units
1242	do not specified. As per bug
1243
1244	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
1245
1246	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
1247	it was set as infinite. As per bug
1248
1249	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
1250
1251	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
1252	by Richard Nolde. As per bug
1253
1254	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
1255
12562007-02-22  Andrey Kiselev  <[email protected]>
1257
1258	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
1259	ExtraSamples == 999 produced by Corel Draw. As per bug
1260
1261	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
1262
1263	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
1264	changed from tsize_t to uint32 to be able to work with data arrays
1265	larger than 2GB. Fixes bug
1266
1267	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1268
1269	Idea submitted by Matt Hancher.
1270
12712007-01-31  Andrey Kiselev  <[email protected]>
1272
1273	* tools/tif2rgba.c: This utility does not work properly on big-endian
1274	architectures. It was fixed including the bug
1275
1276	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
1277
12782007-01-15  Mateusz Loskot <[email protected]>
1279
1280	* Submitted libtiff port for Windows CE platform
1281	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
1282	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
1283	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
1284	functons from tif_win32.c.
1285	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
1286	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
1287	standard header files for Windows CE build.
1288	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
1289
12902006-11-19  Frank Warmerdam  <[email protected]>
1291
1292	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
1293	we move a strip.
1294	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
1295
12962006-10-13  Andrey Kiselev  <[email protected]>
1297
1298	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
1299	in Gentoo bug ():
1300
1301	http://bugs.gentoo.org/show_bug.cgi?id=142383
1302
1303	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
1304	Though it is still far from the state of being working and useful.
1305
13062006-10-12  Andrey Kiselev  <[email protected]>
1307
1308	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
1309	method.
1310
1311	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
1312	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
1313
1314	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
1315	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
1316
1317	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
1318	vulnerabilities, reported in Gentoo bug ():
1319
1320	http://bugs.gentoo.org/show_bug.cgi?id=142383
1321
13222006-09-28  Andrey Kiselev  <[email protected]>
1323
1324	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
1325	vulnerabilities, as per	Gentoo bug ():
1326
1327	http://bugs.gentoo.org/show_bug.cgi?id=142383
1328
13292006-09-27  Frank Warmerdam  <[email protected]>
1330
1331	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
1332	encoding and decoding on the same read-write TIFF handle.  The LZW
1333	code can now maintain encode and decode state at the same time. The
1334	ZIP code will switch back and forth as needed.
1335	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
1336
13372006-09-20  Frank Warmerdam  <[email protected]>
1338
1339	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
1340	tif_config.vc.h for easier identification by folks using an IDE.
1341
13422006-07-25  Frank Warmerdam  <[email protected]>
1343
1344	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
1345
13462006-07-19  Frank Warmerdam  <[email protected]>
1347
1348	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
1349	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
1350	to bug report by Peng Gao with black strip at bottom of images.
1351
13522006-07-12  Frank Warmerdam  <[email protected]>
1353
1354	* tif_dirwrite.c: make sure to use uint32 for wordcount in
1355	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
1356	It already seems to have been done for other field types.  Needed
1357	for "tiffset" on files with geotiff ascii text.
1358
13592006-07-04  Bob Friesenhahn  <[email protected]>
1360
1361	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
1362	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
1363	its use does not appear to be required, so use it only when it is
1364	available.
1365
13662006-06-24  Andrey Kiselev  <[email protected]>
1367
1368	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
1369
1370	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
1371	function TIFFFetchDirectory() avoiding code duplication in
1372	TIFFReadDirectory() and TIFFReadCustomDirectory().
1373
13742006-06-19  Frank Warmerdam  <[email protected]>
1375
1376	* tools/tiff2pdf.c: Fix handling of -q values.
1377	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
1378
13792006-06-17  Frank Warmerdam  <[email protected]>
1380
1381	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
1382	files.  Modified TIFFReadDirectory() to not invoke
1383	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
1384	but one of them is zero.
1385	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
1386
13872006-06-08  Andrey Kiselev  <[email protected]>
1388
1389	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
1390	checking code in the separate function TIFFCheckDirOffset().
1391
1392	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
1393
1394	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
1395
1396	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
1397
1398	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
1399
1400	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
1401
1402	* tools/tiff2pdf.c: Fixed buffer overflow condition in
1403	t2p_write_pdf_string() as per bug
1404
1405	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
1406
14072006-06-07  Andrey Kiselev  <[email protected]>
1408
1409	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
1410	support for JBIG compression scheme (34661 code) contributed by Lee
1411	Howard. As per bug
1412
1413	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
1414
1415	* configure, configure.ac: OJPEG support enabled by default.
1416
1417	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
1418
14192006-06-03  Bob Friesenhahn  <[email protected]>
1420
1421	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
1422	TIFFPrintDirectory().  Joris Van Damme authored the fix.
1423
14242006-04-21  Andrey Kiselev  <[email protected]>
1425
1426	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
1427	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
1428
1429	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
1430	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
1431	Added support for OpenVMS by Alexey Chupahin, [email protected].
1432
14332006-04-20  Andrey Kiselev  <[email protected]>
1434
1435	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
1436	Properly set the binary mode for stdin stream as per bug
1437	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
1438
1439	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
1440	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
1441	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
1442	tiffset.1}: Improvements in page formatting as per bug
1443	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
1444
1445	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
1446	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
1447
14482006-04-18  Frank Warmerdam  <[email protected]>
1449
1450	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
1451	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
1452
14532006-04-12  Joris Van Damme  <[email protected]>
1454
1455	* libtiff/tif_getimage.c: Added support for planarconfig separate
1456	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
1457
14582006-04-11  Joris Van Damme  <[email protected]>
1459
1460	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
1461	- Conversion of unassociated alpha to associated alpha now done with
1462	  more performant LUT, and calculation more correct
1463	- Conversion of 16bit data to 8bit data now done with
1464	  more performant LUT, and calculation more correct
1465	- Bugfix of handling of 16bit RGB with unassociated alpha
1466
14672006-04-11  Joris Van Damme  <[email protected]>
1468
1469	* libtiff/tif_getimage.c:
1470	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
1471	  buffer for alpha strile and filled it, only to never read it back.
1472	  Removed allocation and fill.
1473	- Minor rename of vars in gtTileSeparate and gtStripSeparate
1474	  anticipating planned functionality extension
1475
14762006-04-08  Joris Van Damme  <[email protected]>
1477
1478	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
1479	and pickTileSeparateCase to PickSeparateCase as both work on strips as
1480	well
1481
1482	* libtiff/tif_getimage.c: moved img->get selection from
1483	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
1484	logical hook for planned functionality extension
1485
14862006-04-08  Joris Van Damme  <[email protected]>
1487
1488	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
1489	of inappropriate use of jpeg_abort instead of jpeg_destroy
1490
14912006-04-07  Joris Van Damme  <[email protected]>
1492
1493	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
1494	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
1495	on subsampled images - this ought to get sorted when we feel brave
1496	enough to replace TIFFScanlineSize alltogether
1497
1498	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
1499
15002006-04-04  Joris Van Damme  <[email protected]>
1501
1502	* libtiff/tiffio.h: added new type tstrile_t
1503
1504	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
1505	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
1506	toff_t*
1507
1508	* libtiff/tif_ojpeg.c: totally new implementation
1509
1510	* libtiff/tif_dirread.c: added several hacks to suit new support of
1511	OJPEG
1512
1513	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
1514	of OJPEG images in favor of tif_getimage.c native handling of
1515	YCbCr and desubsampling
1516
15172006-03-29  Frank Warmerdam  <[email protected]>
1518
1519	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
1520	interpretation causes the "upsampled" flag to be recomputed.  Fixes
1521	peculiar bug where photometric flag had to be set before jpegcolormode
1522	flag.
1523
15242006-03-25  Joris Van Damme  <[email protected]>
1525
1526	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
1527
1528	* libtiff/tif_strip.c: temporarilly added two new versions of
1529	TIFFScanlineSize
1530	  - TIFFNewScanlineSize: proposed new version, after all related
1531	    issues and side-effects are sorted out
1532	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
1533	This needs further sorting out.
1534
15352006-03-25  Joris Van Damme  <[email protected]>
1536
1537	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
1538	of last truncated strip data to TIFFWriteEncodedStrip
1539
15402006-03-25  Joris Van Damme  <[email protected]>
1541
1542	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
1543
15442006-03-25  Joris Van Damme  <[email protected]>
1545
1546	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
1547
1548	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
1549
1550	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
1551	prepare	the path for new tif_ojpeg.c
1552
15532006-03-23  Andrey Kiselev  <[email protected]>
1554
1555	* libtiff 3.8.2 released.
1556
1557	* tools/Makefile.am: Use runtime paths linker flags when rpath
1558	option enabled.
1559
15602006-03-21  Andrey Kiselev  <[email protected]>
1561
1562	* libtiff/libtiff.def: Added missed exports as per bug
1563	http://bugzilla.remotesensing.org/attachment.cgi?id=337
1564
1565	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
1566	tools/Makefile.vc: Makefiles improvements as per bug
1567	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
1568
1569	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
1570	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
1571	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
1572
1573	* libtiff/tif_strip.c: Take subsampling in account when calculating
1574	TIFFScanlineSize().
1575
1576	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
1577
15782006-03-17  Andrey Kiselev  <[email protected]>
1579
1580	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
1581	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
1582
1583	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
1584	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
1585
15862006-03-16  Andrey Kiselev  <[email protected]>
1587
1588	* libtiff/tiffiop.h: Added decalration for
1589	_TIFFSetDefaultCompressionState().
1590
1591	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
1592	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
1593	codec cleanup methods. As per bug
1594
1595	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
1596
15972006-03-15  Andrey Kiselev  <[email protected]>
1598
1599	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
1600	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
1601
1602	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
1603	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
1604
1605	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
1606	removed; move here the STRIP_SIZE_DEFAULT macro definition.
1607
1608	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
1609	macro definition.
1610
1611	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
1612
16132006-03-14  Andrey Kiselev  <[email protected]>
1614
1615	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
1616	in TIFFReadDirectory, because it is always set at the start of
1617	function and we allow TIFFs without that tag set.
1618
16192005-03-13  Andrey Kiselev  <[email protected]>
1620
1621	* libtiff 3.8.1 released.
1622
16232006-03-07  Andrey Kiselev  <[email protected]>
1624
1625	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
1626	function as per bug
1627	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1628
1629	* libtiff/tif_dirread.c: More wise check for integer overflow
1630	condition as per bug
1631	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1632
1633	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
1634	Properly restore setfield/getfield methods in cleanup functions. As
1635	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1636
16372006-03-03  Andrey Kiselev  <[email protected]>
1638
1639	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
1640	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
1641
1642	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
1643	TIFFPredictorCleanup() in codec cleanup methods. As per bug
1644
1645	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1646
1647	* libtiff/tif_dirread.c: Fixed integer overflow condition in
1648	TIFFFetchData() function. As per bug
1649
1650	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1651
16522006-03-01  Andrey Kiselev  <[email protected]>
1653
1654	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
1655	TIFFSetField() method, not directly. As per bug
1656
1657	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
1658
1659	* tools/ppm2tiff.c: Added support for PBM files as per bug
1660	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
1661
16622006-02-27  Andrey Kiselev  <[email protected]>
1663
1664	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
1665	to avoid crash as per bug
1666
1667	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
1668
16692006-02-26  Andrey Kiselev  <[email protected]>
1670
1671	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
1672	t2p_sample_rgba_to_rgb() was used in place of each other, that was
1673	resulted in problems with RGBA images with associated alpha.
1674	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
1675
16762006-02-23  Andrey Kiselev  <[email protected]>
1677
1678	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
1679	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1680
1681	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
1682	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
1683	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1684
1685	* tools/tiff2ps.c: Properly scale all the pages when converting
1686	multipage TIFF with /width/height/center options set. As per bug
1687
1688	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
1689
16902006-02-15  Andrey Kiselev  <[email protected]>
1691
1692	* tools/tiff2pdf.c: Do not create output file until all option checks
1693	will be done. As per bug
1694
1695	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
1696
1697	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
1698	list of input files as per bug:
1699
1700	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
1701
17022006-02-09  Andrey Kiselev  <[email protected]>
1703
1704	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
1705	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
1706
1707	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
1708	TIFFRGBAImage interface.
1709
1710	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
1711	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
1712
17132006-02-07  Frank Warmerdam  <[email protected]>
1714
1715	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
1716	compressed TIFF files, per submission from Dan Cobra.
1717
17182006-02-07  Andrey Kiselev  <[email protected]>
1719
1720	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
1721	cast values to avoid warnings. As per bug
1722	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1723
1724	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
1725	appropriate. As per bug
1726	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1727
1728	* libtiff/tif_aux.c: Fixed type of temporary variable in
1729	_TIFFCheckMalloc() as per bug
1730	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1731
17322006-02-06  Andrey Kiselev  <[email protected]>
1733
1734	* libtiff/tif_aux.c: Return static array when fetching default
1735	YCbCrCoefficients (another problem, reported a the
1736	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
1737
17382006-02-03  Andrey Kiselev  <[email protected]>
1739
1740	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
1741	YCbCrSubsampling and DotRange tags as per bugs
1742
1743	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
1744	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
1745
1746	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
1747	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
1748
1749	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
1750
17512006-01-23  Andrey Kiselev  <[email protected]>
1752
1753	* libtool related stuff updated from the 2.1a branch.
1754
17552006-01-11  Frank Warmerdam  <[email protected]>
1756
1757	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
1758	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
1759	properly as per bug:
1760	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
1761
17622006-01-09  Bob Friesenhahn  <[email protected]>
1763
1764	* configure.ac: Fix with_default_strip_size comparison as reported
1765	by Norihiko Murase.
1766
17672006-01-08  Bob Friesenhahn  <[email protected]>
1768
1769	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
1770	incorrectly, tests were not actually testing the uninstalled
1771	libtiff.  Now they are.
1772
17732006-01-04  Andrey Kiselev  <[email protected]>
1774
1775	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
1776	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
1777	should be uint32 value.
1778
17792006-01-02  Bob Friesenhahn  <[email protected]>
1780
1781	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
1782	be used if build directory is not the same as source directory.
1783	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
1784	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
1785	and re-sorted tag names in alphabetical order.
1786
17872005-12-29  Andrey Kiselev  <[email protected]>
1788
1789	* libtiff 3.8.0 released.
1790
17912005-12-28  Bob Friesenhahn  <[email protected]>
1792
1793	* tools/bmp2tiff.c (main): Fixed warning regarding returning
1794	inconsistent types from a condition.
1795	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
1796	format.
1797	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
1798
17992005-12-28  Joris Van Damme  <[email protected]>
1800
1801	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
1802
18032005-12-27  Andrey Kiselev  <[email protected]>
1804
1805	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
1806	windows.h, to reduce the compile time.
1807
18082005-12-26  Bob Friesenhahn  <[email protected]>
1809
1810	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
1811
18122005-12-26  Andrey Kiselev  <[email protected]>
1813
1814	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
1815	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
1816	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
1817	private functions to retrieve FieldInfo arrays.
1818
18192005-12-24  Bob Friesenhahn  <[email protected]>
1820
1821	* html/build.html: Added some additional instructions for when
1822	building using MSVC under Windows.  Also fixed two HTML syntax
1823	errors and used HTML Tidy to tidy up the HTML syntax and
1824	formatting.
1825
18262005-12-24  Andrey Kiselev  <[email protected]>
1827
1828	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
1829	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
1830	StoNits tags custom.
1831
18322005-12-23  Andrey Kiselev  <[email protected]>
1833
1834	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
1835	WhitePoint tag custom.
1836
1837	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
1838
18392005-12-23  Joris Van Damme  <[email protected]>
1840
1841	* libtiff/tiffio.h: fixed typo that potentially resulted in
1842	redefininition of USE_WIN32_FILEIO
1843
1844	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
1845	calls in core LibTiff.
1846
18472005-12-21  Andrey Kiselev  <[email protected]>
1848
1849	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
1850	Photoshop and ICCProfile tags custom.
1851
18522005-12-21  Joris Van Damme  <[email protected]>
1853
1854	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
1855	newer code to get context indicator in error handler and still
1856	remain compatible with older code: Done TIFFError calls everywhere
1857	except in tools
1858
18592005-12-20  Andrey Kiselev  <[email protected]>
1860
1861	* tools/tiffcp.c: Added many error reporting messages; fixed integer
1862	overflow as per bug
1863
1864	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
1865
18662005-12-16  Frank Warmerdam  <[email protected]>
1867
1868	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
1869	YCbCr images in jpeg compressed TIFF files.
1870
18712005-12-14  Andrey Kiselev  <[email protected]>
1872
1873	* tools/tiffcp.c: Return non-zero status when reading fails (again).
1874
18752005-12-13  Andrey Kiselev  <[email protected]>
1876
1877	* tools/tiffcp.c: Return non-zero status when reading fails.
1878
18792005-12-12  Andrey Kiselev  <[email protected]>
1880
1881	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
1882
18832005-12-09  Andrey Kiselev  <[email protected]>
1884
1885	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
1886	custom.
1887
1888	* tools/tiffinfo.c: Print EXIF directory contents if exist.
1889
1890	* libtiff/tiff.h: Few EXIF tag numbers added.
1891
1892	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
1893	tiffio.h}: Preliminary support to read custom directories. New
1894	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
1895
18962005-12-07  Andrey Kiselev  <[email protected]>
1897
1898	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
1899	More work to implement custom directory read support.
1900
1901	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
1902	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
1903	tags custom.
1904
19052005-12-05  Andrey Kiselev  <[email protected]>
1906
1907	* libtiff/tif_dirread.c: One more workaround for broken
1908	StripByteCounts tag. Handle the case when StripByteCounts array filled
1909	with completely wrong values.
1910
19112005-11-30  Andrey Kiselev  <[email protected]>
1912
1913	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
1914	in the TIFFOpenW() function as per bug
1915
1916	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
1917
1918	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
1919	functions as per bug
1920
1921	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
1922
19232005-11-20  Frank Warmerdam  <[email protected]>
1924
1925	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
1926	for MS MDI format.
1927	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
1928
1929	* .cvsignore: many files added, and a few update according
1930	to suggestion of Brad HArds on tiff mailing list.
1931
19322005-11-03  Frank Warmerdam  <[email protected]>
1933
1934	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
1935	public.
1936
19372005-10-31  Andrey Kiselev  <[email protected]>
1938
1939	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
1940	as per bug
1941
1942	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
1943
1944	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
1945	as per bug
1946
1947	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
1948
1949	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
1950	problem as per bug
1951
1952	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
1953
1954	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
1955
1956	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
1957
1958	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
1959	ResolutionUnit tags modifiable during write process. As per bug
1960
1961	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
1962
1963	* tools/tiffsplit.c: Copy fax related fields over splitted parts
1964	as per bug
1965
1966	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
1967
19682005-10-21  Frank Warmerdam  <[email protected]>
1969
1970	* tif_dirread.c: Don't try and split single strips into "0" strips
1971	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
1972	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
1973
19742005-10-20  Joris Van Damme  <[email protected]>
1975
1976	* tif_fax3.c: changed 'at scanline ...' style warning/errors
1977	with incorrect use of tif_row, to 'at line ... of
1978	strip/tile ...' style
1979
19802005-10-15  Frank Warmerdam  <[email protected]>
1981
1982	* tif_write.c: fixed setting of planarconfig as per bug report
1983	on the mailing list from Joris.
1984
19852005-10-07  Andrey Kiselev  <[email protected]>
1986
1987	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
1988	tif_dirread.c}: Make the default strip size configurable via the
1989	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
1990
19912005-09-30  Bob Friesenhahn  <[email protected]>
1992
1993	* html/support.html: Fixed link to documentation on Greg Ward's
1994	LogLuv TIFF format.
1995
19962005-09-28  Andrey Kiselev  <[email protected]>
1997
1998	* tools/tiffdump.c: Fixed crash when reading malformed tags.
1999
20002005-09-20  Andrey Kiselev  <[email protected]>
2001
2002	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
2003	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
2004
20052005-09-12  Andrey Kiselev  <[email protected]>
2006
2007	* libtiff 3.7.4 released.
2008
2009	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
2010	from Patrick Welche (all scripts moved in the 'config' and 'm4'
2011	directories).
2012
20132005-09-12  Frank Warmerdam  <[email protected]>
2014
2015	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
2016
20172005-09-05  Frank Warmerdam  <[email protected]>
2018
2019	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
2020	also set it to NULL to avoid double free when re-setting custom
2021	string fields as per:
2022
2023	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
2024
20252005-08-12  Frank Warmerdam  <[email protected]>
2026
2027	* libtiff/tif_print.c: avoid signed/unsigned warning.
2028
2029	* libtiff/tif_dirread.c: removed unused variable.
2030
20312005-07-30  Frank Warmerdam  <[email protected]>
2032
2033	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
2034	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
2035	pass on bigendian (macosx) system.
2036
20372005-07-28  Andrey Kiselev  <[email protected]>
2038
2039	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
2040	CheckMalloc() function to _TIFFCheckMalloc() and make it available
2041	globally as an internal helper routine.
2042
20432005-07-27  Andrey Kiselev  <[email protected]>
2044
2045	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
2046	the custom tags handling code.
2047
20482005-07-26  Andrey Kiselev  <[email protected]>
2049
2050	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
2051	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
2052	function, use TIFFFetchNormalTag() instead as per bug
2053
2054	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
2055
2056	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
2057	instead.
2058
2059	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
2060
2061	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2062
20632005-07-25  Andrey Kiselev  <[email protected]>
2064
2065	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
2066
2067	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
2068
20692005-07-21  Andrey Kiselev  <[email protected]>
2070
2071	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
2072	the TIFFWriteCheck() function in case of single band images (as per
2073	TIFF spec).
2074
20752005-07-12  Andrey Kiselev  <[email protected]>
2076
2077	* SConstruct, libtiff/SConstruct: Added the first very preliminary
2078	support for SCons software building tool (http://www.scons.org/).
2079	This is experimental infrastructure and it will exist along with the
2080	autotools mechanics.
2081
20822005-07-07  Andrey Kiselev  <[email protected]>
2083
2084	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
2085	the NetBSD source tree (the old	4-clause BSD license changed to
2086	the new 3-clause one).
2087
2088	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
2089	replacement module.
2090
2091	* port/dummy.c: Make the dummy function static.
2092
20932005-07-06  Andrey Kiselev  <[email protected]>
2094
2095	* tools/tiffcp.c: Fixed WhitePoint tag copying.
2096
2097	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
2098	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
2099	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
2100
21012005-07-04  Andrey Kiselev  <[email protected]>
2102
2103	* libtiff 3.7.3 released.
2104
2105	* configure, configure.ac: Do not use empty -R option when linking
2106	with --enable-rpath.
2107
21082005-07-01  Andrey Kiselev  <[email protected]>
2109
2110	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
2111	reading the first IFD when needed. As per bug
2112
2113	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
2114
2115	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
2116	effects.
2117
21182005-06-23  Andrey Kiselev  <[email protected]>
2119
2120	* tools/tiff2pdf.c: Print two characters per loop in the
2121	t2p_write_pdf_trailer(). As per bug
2122
2123	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
2124
2125	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
2126	per bug
2127
2128	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
2129
2130	* acinclude.m4: Updated to latest OpenGL test macros versions.
2131
2132	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
2133	platform. As per bug
2134
2135	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
2136
21372005-06-14  Andrey Kiselev  <[email protected]>
2138
2139	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
2140	and YClipPathUnits tags.
2141
21422005-06-07  Andrey Kiselev  <[email protected]>
2143
2144	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
2145	use pixel sized shift in contigous case.
2146
21472005-06-06  Andrey Kiselev  <[email protected]>
2148
2149	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
2150	Make overviews working for contiguos images.
2151
21522005-06-03  Andrey Kiselev  <[email protected]>
2153
2154	* libtiff/tif_open.c: Replace runtime endianess check with the compile
2155	time one.
2156
2157	* libtiff/tif_predict.c: Floating point predictor now works on
2158	big-endian hosts.
2159
21602005-06-01  Andrey Kiselev  <[email protected]>
2161
2162	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
2163	ASCII values.
2164
2165	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
2166	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
2167	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
2168	TargetPrinter tags custom.
2169
2170	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
2171	TIFF_CODERSETUP flag (to fix memry leaks).
2172
2173	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
2174	allocating.
2175
21762005-05-26  Andrey Kiselev  <[email protected]>
2177
2178	* configure.ac, libtiff/Makefile.am: Added workaround for
2179	OpenBSD/MirOS soname problem as per bug
2180
2181	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
2182
2183	* libtiff/tif_dirwrite.c: Use tdir_count when calling
2184	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
2185	per bug
2186
2187	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
2188
21892005-05-25  Andrey Kiselev  <[email protected]>
2190
2191	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
2192	the fscanf() function. As per bug
2193
2194	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
2195
2196	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
2197	uint16 array when fetching the BYTE and SBYTE filds, so we should
2198	consider result as pointer to uint16 array and not as array of chars.
2199	As per bug
2200
2201	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
2202
2203	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
2204
2205	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
2206
2207	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
2208	mode in CreateFile() call as per bug
2209
2210	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
2211
2212	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
2213	libtiffxx libraries as per bug
2214
2215	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
2216
2217	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
2218	GDAL.
2219
22202005-05-23  Frank Warmerdam  <[email protected]>
2221
2222	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
2223	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
2224	in directory.
2225
22262005-05-22  Frank Warmerdam  <[email protected]>
2227
2228	* libtiff/tif_dirread.c: Changed the code that computes
2229	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
2230	zero. This is a common case with GDAL indicating a "null" tile/strip.
2231
22322005-05-17  Andrey Kiselev  <[email protected]>
2233
2234	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
2235
22362005-05-06  Frank Warmerdam  <[email protected]>
2237
2238	* libtiff/tif_dirread.c: Applied similar change to
2239	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
2240
2241	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2242
2243	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
2244
22452005-05-06  Andrey Kiselev  <[email protected]>
2246	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
2247	added new option '-b' to use interpolation in output PDF files (Bruno
2248	Ledoux).
2249
22502005-05-05  Frank Warmerdam  <[email protected]>
2251
2252	* libtiff/tif_dirread.c: Ensure that broken files with too many
2253	values in PerSampleShorts work ok instead of crashing.
2254
2255	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2256
22572005-04-27  Andrey Kiselev  <[email protected]>
2258
2259	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
2260	input file.
2261
22622005-04-15  Andrey Kiselev  <[email protected]>
2263
2264	* libtiff/tif_predict.c: Added ability to encode floating point
2265	predictor, as per TIFF Technical Note 3.
2266
22672005-04-14  Andrey Kiselev  <[email protected]>
2268
2269	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
2270	floating point predictor, as per TIFF Technical Note 3.
2271
22722005-04-13  Andrey Kiselev  <[email protected]>
2273
2274	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
2275	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
2276	swap 24-bit floating point values.
2277
2278	* libtiff/tiff.h: Added predictor constants.
2279
22802005-04-08  Andrey Kiselev  <[email protected]>
2281
2282	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
2283	values in _TIFFVSetField() function. Inspired by the bug
2284
2285	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2286
2287	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
2288	as per bug
2289
2290	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2291
22922005-03-30  Andrey Kiselev  <[email protected]>
2293
2294	* libtiff/tif_open.c: Do not read header in case the output file
2295	should be truncated (Ron).
2296
2297	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
2298	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
2299
2300	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
2301
23022005-03-22  Andrey Kiselev  <[email protected]>
2303
2304	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
2305	rpath option.
2306
23072005-03-21  Andrey Kiselev  <[email protected]>
2308
2309	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
2310	tags.
2311
23122005-03-18  Andrey Kiselev  <[email protected]>
2313
2314	* libtiff/dirinfo.c: Added DNG tags.
2315
2316	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
2317	handling code.
2318
2319	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
2320	added DNG 1.1.0.0 tags.
2321
2322	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
2323	bug
2324
2325	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
2326
2327	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
2328
23292005-03-17  Andrey Kiselev  <[email protected]>
2330
2331	* nmake.opt: Build with Win32 CRT library by default.
2332
2333	* tools/tiff2ps.c: Fixed typo in page size handling code.
2334
2335	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
2336	by value.
2337
2338	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
2339
23402005-03-15  Andrey Kiselev  <[email protected]>
2341
2342	* libtiff 3.7.2 released.
2343
23442005-03-09  Andrey Kiselev  <[email protected]>
2345
2346	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
2347	floating point data; complain on unsupported bit depths.
2348
23492005-03-05  Andrey Kiselev  <[email protected]>
2350
2351	* tif_stream.cxx: Use ios namespace instead of ios_base to support
2352	GCC 2.95.
2353
2354	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
2355	Lee Howard for HylaFax DCS tag
2356	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
2357
23582005-03-04  Andrey Kiselev  <[email protected]>
2359
2360	* configure, configure.ac: Use -rpath option instead of -R as per bug
2361
2362	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
2363
2364	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
2365	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
2366	software. As per bug
2367
2368	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
2369
2370	* nmake.opt, html/build.html: Add more comments, change the config
2371	file organization a bit as per bug
2372
2373	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
2374
2375	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
2376	as per bug
2377
2378	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
2379
23802005-03-03  Andrey Kiselev  <[email protected]>
2381
2382	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
2383	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
2384
2385	* tools/fax2ps.c: Replace insecure mktemp() function with the
2386	tmpfile() as per bug
2387
2388	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
2389
23902005-02-04  Andrey Kiselev  <[email protected]>
2391
2392	* libtiff/tiff.h: Changed the int8 definition to be always signed char
2393	as per bug
2394
2395	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
2396
2397	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
2398	block as per bug
2399
2400	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
2401
24022005-02-03  Bob Friesenhahn  <[email protected]>
2403
2404	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
2405	display more correctly.  Images display brighter than they should
2406	on a Sun workstation.
2407
24082005-02-03  Andrey Kiselev  <[email protected]>
2409
2410	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
2411	suspicious values in the tags. As per bugs
2412
2413	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
2414
2415	and
2416
2417	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
2418
2419	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
2420
2421	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
2422
24232005-01-31  Bob Friesenhahn  <[email protected]>
2424
2425	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
2426	(TIFFTAG_TILELENGTH): Corrected description.
2427
24282005-01-30  Andrey Kiselev  <[email protected]>
2429
2430	* configure.ac: Fixes for --with-docdir option as per bug
2431
2432	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
2433
2434	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
2435	bug
2436
2437	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
2438
2439	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
2440	Michael Rinne and Edward Lam.
2441
24422005-01-15  Andrey Kiselev  <[email protected]>
2443
2444	* configure.ac: Make the documentation directory location configurable
2445	via the --with-docdir option (as suggested by Jeremy C. Reed).
2446
2447	* libtiff/tif_color.c: Use double as the second argument of pow()
2448	function in TIFFCIELabToRGBInit(). As per bug
2449
2450	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
2451
2452	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
2453	integer as per bug
2454
2455	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
2456
2457	* libtiff/tif_getimage.c: Always fill the error message buffer in
2458	TIFFRGBAImageBegin() as per bug
2459
2460	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
2461
24622005-01-12  Andrey Kiselev  <[email protected]>
2463
2464	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
2465	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
2466	tags as per bug
2467
2468	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
2469
2470	* libtiff/tif_win32.c: Fixed message formatting in functions
2471	Win32WarningHandler() and Win32ErrorHandler() as per bug
2472
2473	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
2474
2475	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
2476	per bug
2477
2478	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
2479
24802005-01-11  Andrey Kiselev  <[email protected]>
2481
2482	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
2483	"C"' section as per bug
2484
2485	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
2486
2487	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
2488	compiler to avoid double definition of BSD types as per bug
2489
2490	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2491
2492	* libtiff/Makefile.am: Place the C++ stream API in the separate
2493	library called libtiffxx to avoid unneeded dependencies. Probably
2494	there will be more C++ API in the future. As per bugs
2495
2496	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
2497
2498	and
2499
2500	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2501
25022005-01-05  Andrey Kiselev  <[email protected]>
2503
2504	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
2505	wrong tag counts (Dmitry V. Levin, Martin Pitt).
2506
2507	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
2508	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2509
25102004-12-25  Andrey Kiselev  <[email protected]>
2511
2512	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
2513	RGB-images as per bug
2514
2515	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2516
2517
2518	* tools/tiffset.c: Convert character option to integer value as per
2519	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
2520
25212004-12-20  Andrey Kiselev  <[email protected]>
2522
2523	* libtiff 3.7.1 released.
2524
2525	* html/tiffset.1.html: Add missed manual page as per bug
2526
2527	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2528
2529	* libtiff/tiff.h: Revert back libtiff data type definitions as per
2530	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
2531
25322004-12-19  Andrey Kiselev  <[email protected]>
2533
2534	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
2535	checking for tag count in TIFFReadDirectory() function. As per bug
2536
2537	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2538
2539	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
2540	CheckMallock() function.
2541
2542	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
2543	RGB-images as per bug
2544
2545	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
2546
25472004-12-15  Frank Warmerdam  <[email protected]>
2548
2549	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
2550	SunPro compiler.
2551
25522004-12-11  Bob Friesenhahn  <[email protected]>
2553
2554	* autogen.sh: aclocal and autoheader should be executed after
2555	libtoolize.  Also add '-I .' to aclocal invocation to check
2556	current directory for macros.
2557
25582004-12-10  Andrey Kiselev  <[email protected]>
2559
2560	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
2561	as per bugs
2562
2563	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
2564
2565	and
2566
2567	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
2568
25692004-12-04  Andrey Kiselev  <[email protected]>
2570
2571	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
2572
2573	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2574
2575	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
2576	mode as per bug
2577
2578	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2579
2580	* libtiff/tif_config.in.vc: Removed unneded definitions for
2581	read/open/close/lseek functions to fix the
2582
2583	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
2584
25852004-12-03  Andrey Kiselev  <[email protected]>
2586
2587	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
2588	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
2589	must be removed in the future, as it was never used properly. As per
2590	bug
2591
2592	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
2593
25942004-11-30  Bob Friesenhahn  <[email protected]>
2595
2596	* libtiff/tif_jpeg.c: Added a work-around in order to allow
2597	compilation with the heavily modified version of libjpeg delivered
2598	with Cygwin.
2599
26002004-11-29  Andrey Kiselev  <[email protected]>
2601
2602	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
2603	counts. As per bug
2604
2605	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
2606
2607	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
2608
2609	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
2610
26112004-11-28  Andrey Kiselev  <[email protected]>
2612
2613	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
2614	on Windows.
2615
2616	* nmake.opt: Add missed DLLNAME variable.
2617
26182004-11-26  Frank Warmerdam  <[email protected]>
2619
2620	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
2621
26222004-11-24  Andrey Kiselev  <[email protected]>
2623
2624	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
2625	per bug
2626
2627	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
2628
2629	* man/tiffset.1: Added manual page for tiffset tool written by Jay
2630	Berkenbilt. As per bug
2631
2632	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2633
26342004-11-23  Frank Warmerdam  <[email protected]>
2635
2636	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
2637
26382004-11-21  Frank Warmerdam  <[email protected]>
2639
2640	* html/document.html: Updated Adobe web links as per email from Joris.
2641
26422004-11-21  Andrey Kiselev  <[email protected]>
2643
2644	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
2645	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
2646	use C++ streams should #include <tiffio.hxx>.
2647
26482004-11-13  Andrey Kiselev  <[email protected]>
2649
2650	* libtiff/tiff.h: Added Adobe DNG tags.
2651
2652	* libtiff/tif_win32.c: Typo fixed.
2653
2654	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
2655	be compliant with the latest standard. Appropriate additions in
2656	makefiles now completed.
2657
26582004-11-11  Andrey Kiselev  <[email protected]>
2659
2660	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
2661	different tag types. As per bug
2662
2663	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
2664
26652004-11-10  Andrey Kiselev  <[email protected]>
2666
2667	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
2668	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
2669
26702004-11-09  Andrey Kiselev  <[email protected]>
2671
2672	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
2673
26742004-11-07  Andrey Kiselev  <[email protected]>
2675
2676	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
2677	contributed by Edward Lam (see
2678	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
2679	Though no changes in any makefiles yet.
2680
26812004-11-05  Frank Warmerdam  <[email protected]>
2682
2683	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
2684	is bad. This is the callers responsibility.
2685	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
2686
26872004-11-05  Andrey Kiselev  <[email protected]>
2688
2689	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
2690	function to work with the double byte strings (used to represent
2691	filenames in some locales). As per bug
2692
2693	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
2694
2695	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
2696	Compression tags of type LONG from broken TIFFS as per bug
2697
2698	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2699
2700	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
2701	the writecount should have uint32 type. As per bug
2702
2703	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2704
2705	* libtiff/tif_write.c: Fixed wrong if() statement in
2706	TIFFAppendToStrip() function as per bug
2707
2708	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
2709
27102004-11-04  Andrey Kiselev  <[email protected]>
2711
2712	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
2713	field. The caller should supply a count when setting this field. As
2714	per bug
2715
2716	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
2717
2718	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
2719	uint32 count. Use this type everywhere.
2720
27212004-11-03  Frank Warmerdam  <[email protected]>
2722
2723	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
2724
27252004-11-02  Frank Warmerdam  <[email protected]>
2726
2727	* tools/tiff2rgba.c: removed extra newlines in usage message.
2728
27292004-10-30  Andrey Kiselev  <[email protected]>
2730
2731	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
2732
2733	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
2734	tags (Tristan Hill).
2735
27362004-10-30  Frank Warmerdam  <[email protected]>
2737
2738	* libtiff/tiffiop.h: added fallback definition of assert() if we
2739	don't have assert.h.
2740
27412004-10-29  Andrey Kiselev  <[email protected]>
2742
2743	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
2744	choosing when the incorrect Group4Options tag set. As per bug
2745
2746	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
2747
2748	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
2749	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
2750	TIFFWriteNormalTag().
2751
27522004-10-28  Andrey Kiselev  <[email protected]>
2753
2754	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
2755	tags (Peter Fales).
2756
2757	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
2758
27592004-10-28  Frank Warmerdam  <[email protected]>
2760
2761	* tools/tiff2pdf.c: added casts to avoid warnings.
2762
2763	* libtiff/libtiff.def: Added several more entry points required
2764	to link fax2tiff.c against the DLL on windows.
2765
27662004-10-27  Andrey Kiselev  <[email protected]>
2767
2768	* configure, configure.ac: Added --enable-rpath option to embed linker
2769	paths into library binary.
2770
27712004-10-26  Andrey Kiselev  <[email protected]>
2772
2773	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
2774
2775	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
2776	(Vladimir Nadvornik, Dmitry V. Levin).
2777
27782004-10-16  Andrey Kiselev  <[email protected]>
2779
2780	* libtiff 3.7.0 released.
2781
27822004-10-15  Bob Friesenhahn  <[email protected]>
2783
2784	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
2785	in this file so its inclusion is removed.  Including stdio.h
2786	sometimes incurs an INT32 typedef conflict between MinGW's
2787	basetsd.h and libjpeg's jmorecfg.h.
2788
27892004-10-15  Andrey Kiselev  <[email protected]>
2790
2791	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
2792
27932004-10-13  Bob Friesenhahn  <[email protected]>
2794
2795	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
2796	conflict noticed under MinGW.
2797	* ltmain.sh: Fix for MinGW compilation.
2798
27992004-10-13  Frank Warmerdam  <[email protected]>
2800
2801	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
2802	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
2803
28042004-10-12  Andrey Kiselev  <[email protected]>
2805
2806	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
2807	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
2808	properly (Dmitry V. Levin, Marcus Meissner).
2809
28102004-10-11  Andrey Kiselev  <[email protected]>
2811
2812	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
2813	to TIFF_IFD.
2814
28152004-10-10  Andrey Kiselev  <[email protected]>
2816
2817	* tools/bmp2tif.c: Check the space allocation results.
2818
28192004-10-09  Andrey Kiselev  <[email protected]>
2820
2821	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
2822	of the TIFFDirectory structure with the 0 instead of -1 to avoid
2823	confusing integer overflows in TIFFTileRowSize() for striped images.
2824
2825	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
2826	by Ross A. Finlayson.
2827
2828	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
2829
2830	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
2831
28322004-10-08  Frank Warmerdam  <[email protected]>
2833
2834	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
2835	of tif_fieldinfo.
2836
2837	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
2838
28392004-10-04  Bob Friesenhahn  <[email protected]>
2840
2841	* contrib/iptcutil/README: Added the missing README which goes
2842	along with iptcutil.
2843
28442004-10-03  Andrey Kiselev  <[email protected]>
2845
2846	* libtiff/tif_compress.c: Improved error reporting in
2847	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
2848
28492004-10-02  Andrey Kiselev  <[email protected]>
2850
2851	* libtiff 3.7.0beta2 released.
2852
2853	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
2854	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
2855	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
2856	allocations and	integer overflows (Dmitry V. Levin).
2857
2858	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
2859
28602004-10-01  Frank Warmerdam  <[email protected]>
2861
2862	* libtiff/tif_open.c: added a more informative message if a BigTIFF
2863	file is opened.
2864
28652004-09-30  Frank Warmerdam  <[email protected]>
2866
2867	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
2868	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
2869	in the Adobe XMP Specification.
2870
28712004-09-29  Andrey Kiselev  <[email protected]>
2872
2873	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
2874	memset().
2875
2876	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
2877	from Dmitry V. Levin to fix possible integer overflow problems.
2878
28792004-09-28  Andrey Kiselev  <[email protected]>
2880
2881	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
2882	(Dmitry V. Levin).
2883
28842004-09-26  Andrey Kiselev  <[email protected]>
2885
2886	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
2887	Optimize checking for the strip bounds.
2888
2889	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
2890	TIFFRasterScanlineSize() functions report zero in the case of integer
2891	overflow now. Properly handle this case in TIFFReadDirectory()
2892	(patches from Dmitry V. Levin).
2893
28942004-09-25  Andrey Kiselev  <[email protected]>
2895
2896	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
2897	macro where appropriate.
2898
2899	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
2900	noted by Gennady Khokhorin.
2901
2902	* libtiff/tif_dirread.c: Always check the return values, returned
2903	by the _TIFFmalloc() (Dmitry V. Levin).
2904
2905	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
2906	functions (Dmitry V. Levin).
2907
2908	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
2909	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
2910	TIFFGrowStrips() (found by Dmitry V. Levin).
2911
29122004-09-24  Andrey Kiselev  <[email protected]>
2913
2914	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
2915	to get the list of configured codecs.
2916
2917	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
2918	Dmitry V. Levin.
2919
29202004-09-23  Andrey Kiselev  <[email protected]>
2921
2922	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
2923	possible integer overflow in CheckMalloc() function.
2924
29252004-09-22  Andrey Kiselev  <[email protected]>
2926
2927	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
2928	of plain TIFFhowmany() where appropriate.
2929
29302004-09-21  Andrey Kiselev  <[email protected]>
2931
2932	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
2933
29342004-09-19  Andrey Kiselev  <[email protected]>
2935
2936	* libtiff 3.7.0beta released.
2937
2938	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
2939	overruns fixed, as noted by Chris Evans.
2940
29412004-09-14  Bob Friesenhahn  <[email protected]>
2942
2943	* commit: Added a script to make it more convenient to commit
2944	updates.  The CVS commit message is extracted from this ChangeLog
2945	file.
2946
29472004-09-14  Andrey Kiselev  <[email protected]>
2948
2949	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
2950	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
2951	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
2952	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
2953	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
2954	tif_config.h.in, tiffiop.h}:
2955	Get rid of BSD data types (u_char, u_short, u_int, u_long).
2956
29572004-09-13  Bob Friesenhahn  <[email protected]>
2958
2959	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
2960	specification. Reference libtiff bug tracking system to submit
2961	private tag additions.
2962
29632004-09-12  Bob Friesenhahn  <[email protected]>
2964
2965	* tools/tiffgt.c: Include "tif_config.h".
2966
2967	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
2968	tiffgt.  This results in the 'compile' script being added to the
2969	project.
2970
2971	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
2972	required to find OpenGL headers necessary to build tiffgt.  Also
2973	ensure that the libtiff that we built is used rather than some other
2974	libtiff installed on the system.
2975
29762004-09-12  Andrey Kiselev  <[email protected]>
2977
2978	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
2979	libraries.
2980
29812004-09-11  Bob Friesenhahn  <[email protected]>
2982
2983	* configure.ac: Pass library configuration defines via
2984	tif_config.h rather than extending CPPFLAGS. Configure a
2985	libtiff/tiffconf.h in order to satisfy application requirements
2986	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
2987	this causes failure to build on systems which properly respect
2988	this request.
2989
2990	* libtiff/tiffconf.h.in: New file to act as the template for the
2991	configured tiffconf.h
2992
2993	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
2994
29952004-09-10  Frank Warmerdam  <[email protected]>
2996
2997	* html/internals.html: Split off a discussion of adding new tags
2998	into addingtags.html.
2999
30002004-09-10  Andrey Kiselev  <[email protected]>
3001
3002	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
3003
3004	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
3005
3006	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3007
3008	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
3009
3010	* libtiff/tif_dirread.c: Don't reject to read tags of the
3011	SamplesPerPixel size when the tag count is greater than number of
3012	samples as per bug
3013
3014	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
3015
3016	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
3017	defining int8/uint8/... etc. types. As per bug
3018
3019	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
3020
30212004-09-09  Frank Warmerdam  <[email protected]>
3022
3023	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
3024	to avoid compile warnings about getopt() and a few other things.
3025
30262004-09-02  Andrey Kiselev  <[email protected]>
3027
3028	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
3029	assigning magic in TIFFFetchFloat().
3030
30312004-09-01  Andrey Kiselev  <[email protected]>
3032
3033	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
3034	to avoid requirement for tiffiop.h inclusion in some applications. See
3035	here
3036
3037	http://www.asmail.be/msg0054799560.html
3038
3039	for details.
3040
3041	* tools/fax2tiff.c: Use the new functions in the code.
3042
30432004-08-25  Andrey Kiselev  <[email protected]>
3044
3045	* tools/tiff2pdf.c: Initialize arrays properly.
3046
3047	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
3048	properly initialize array in PSDataBW().
3049
30502004-08-24  Andrey Kiselev  <[email protected]>
3051
3052	* tools/tiff2pdf.c: More fixes for bug
3053
3054	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3055
3056	from Ross Finlayson.
3057
30582004-08-23  Andrey Kiselev  <[email protected]>
3059
3060	* tools/tiff2ps.c: Fixed problem with uninitialized values.
3061
3062	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
3063	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
3064
3065	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
3066
3067	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3068
30692004-08-20  Andrey Kiselev  <[email protected]>
3070
3071	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
3072	that the input file has compression, photometric interpretation,
3073	etcetra, tags or if not than a more descriptive error is returned.
3074
3075	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
3076	code, responsible for tag data type checking.
3077
30782004-08-19  Andrey Kiselev  <[email protected]>
3079
3080	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
3081	variable as per bug
3082
3083	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
3084
30852004-08-16  Andrey Kiselev  <[email protected]>
3086
3087	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
3088	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
3089
30902004-08-01  Andrey Kiselev  <[email protected]>
3091
3092	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
3093	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
3094
30952004-07-24  Andrey Kiselev  <[email protected]>
3096
3097	* libtiff/tif_lzw.c: LZW compression code is merged back from the
3098	separate package. All libtiff tools are updated to not advertise an
3099	abcence of LZW support.
3100
31012004-07-12  Andrey Kiselev  <[email protected]>
3102
3103	* libtiff/tiffio.h: Revert thandle_t back to void* type.
3104
31052004-07-11  Andrey Kiselev  <[email protected]>
3106
3107	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
3108	messages, as suggested by Bernd Herd.
3109
31102004-07-03  Andrey Kiselev  <[email protected]>
3111
3112	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
3113	when setting custom tags by value. Reported by Eric Fieleke.
3114
31152004-06-14  Andrey Kiselev  <[email protected]>
3116
3117	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
3118
31192004-06-08  Andrey Kiselev  <[email protected]>
3120
3121	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
3122	into TIFFs.
3123
31242004-06-07  Andrey Kiselev  <[email protected]>
3125
3126	* libtiff 3.7.0alpha released.
3127
31282004-06-06  Andrey Kiselev  <[email protected]>
3129
3130	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
3131	of ugly 64-bit hacks, replace them with the clever (autoconf based )
3132	ones :-).
3133
3134	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
3135	problems in 64-bit environment).
3136
31372004-06-05  Andrey Kiselev  <[email protected]>
3138
3139	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
3140	Tags can be supplied by the mnemonic name or number.
3141
3142	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
3143	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
3144
31452004-05-27  Andrey Kiselev  <[email protected]>
3146
3147	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
3148	markers as per bug
3149
3150	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
3151
31522004-05-24  Andrey Kiselev  <[email protected]>
3153
3154	* tools/tiffsplit.c: Don't forget to copy Photometric
3155	Interpretation tag.
3156
31572004-05-20  Andrey Kiselev  <[email protected]>
3158
3159	* libtiff/{tif_open.c, tiffio.h}: New function added:
3160	TIFFIsBigEndian(). Function returns nonzero if given was file written
3161	in big-endian order.
3162
3163	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
3164	files. Now output files will be written using the same byte order
3165	flag as	in the input image. See
3166
3167	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
3168
3169	for details.
3170
31712004-05-19  Frank Warmerdam  <[email protected]>
3172
3173	* libtiff/tif_print.c: added (untested) support for printing
3174	SSHORT, SLONG and SRATIONAL fields.
3175
3176	* tools/tiffcp.c: close output file on normal exit.
3177
31782004-05-17  Andrey Kiselev  <[email protected]>
3179
3180	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
3181	if compression type mismatches. See
3182
3183	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
3184
31852004-04-30  Andrey Kiselev  <[email protected]>
3186
3187	* libtiff/tif_strip.c: Never return 0 from the
3188	TIFFNumberOfStrips().
3189
31902004-04-29  Andrey Kiselev  <[email protected]>
3191
3192	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
3193	store single SampleFormat value for multisampled images. See
3194
3195	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
3196
31972004-04-25  Andrey Kiselev  <[email protected]>
3198
3199	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
3200	int16 and int32 types to avoid complains on some compilers. Details at
3201
3202	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3203
32042004-04-20  Andrey Kiselev  <[email protected]>
3205
3206	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
3207
3208	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
3209
32102004-04-14  Andrey Kiselev  <[email protected]>
3211
3212	* libtiff/tif_write.c: Allow in-place updating of the compressed
3213	images (don't work properly with all codecs). For details see GDAL bug
3214
3215	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
3216
32172004-04-06  Andrey Kiselev  <[email protected]>
3218
3219	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
3220	in the Intergarph JPEG compressed TIFF images as per bug:
3221
3222	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
3223
32242004-04-04  Frank Warmerdam  <[email protected]>
3225
3226	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
3227	via bad2.
3228
32292004-03-26  Andrey Kiselev  <[email protected]>
3230
3231	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
3232	JPEG compression of grayscale images.
3233
3234	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
3235	present in the input image.
3236
32372004-03-19  Andrey Kiselev  <[email protected]>
3238
3239	* {many}: The first attempt to switch to autotools.
3240
32412004-03-03  Andrey Kiselev  <[email protected]>
3242
3243	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
3244	TIFFClientOpen() when the appropriate client functions was not
3245	supplied by user.
3246
32472004-03-02  Frank Warmerdam  <[email protected]>
3248
3249	* tools/ycbcr.c: fixed main() declaration as per:
3250	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
3251
32522004-02-26  Andrey Kiselev  <[email protected]>
3253
3254	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
3255	images. Reported by Artem Mirolubov.
3256
3257	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
3258	tag type in TIFFFetchNormalTag() as per bug
3259
3260	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
3261
32622004-02-17  Frank Warmerdam  <[email protected]>
3263
3264	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
3265	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
3266
32672004-02-05  Andrey Kiselev  <[email protected]>
3268
3269	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
3270	bug
3271
3272	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
3273
3274	But we need more work on fax codec to support update mode.
3275
32762004-01-30  Frank Warmerdam  <[email protected]>
3277
3278	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
3279	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
3280	Scott Reynolds.
3281
32822004-01-29  Andrey Kiselev  <[email protected]>
3283
3284	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
3285	and TIFFTAG_INDEXED as per bug
3286
3287	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
3288
3289	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
3290	NULL before proceeding further as per bug
3291
3292	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
3293
3294	Check results, returned by the TIFFFdOpen() before returning and close
3295	file if TIFFFdOpen() failed as per bug
3296
3297	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3298
3299	* libtiff/tif_open.c: More fixes for
3300
3301	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3302
33032004-01-28  Andrey Kiselev  <[email protected]>
3304
3305	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
3306	TIFFCleanup() from the TIFFClose() in order to fix the bug
3307
3308	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3309
3310	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
3311	InkNames tag as per bug
3312
3313	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
3314
3315	Memory leak fixed.
3316
33172004-01-21  Frank Warmerdam  <[email protected]>
3318
3319	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
3320	are field_passcount=TRUE properly.  Arguably anonymous custom tags
3321	should be declared as passcount=FALSE, but I don't want to change
3322	that without a careful review.
3323
33242004-01-20  Andrey Kiselev  <[email protected]>
3325
3326	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
3327	stripped image in TIFFWriteBufferSetup(). As per bug
3328
3329	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
3330
33312004-01-11  Andrey Kiselev  <[email protected]>
3332
3333	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
3334	patch from Gerben Koopmans.
3335
3336	* libtiff/tif_dirread.c: Check field_passcount value before setting
3337	the value of undefined type, patch from Gerben Koopmans.
3338
33392004-01-02  Andrey Kiselev  <[email protected]>
3340
3341	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
3342	non-RGB images.
3343
33442003-12-31  Andrey Kiselev  <[email protected]>
3345
3346	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
3347	pointer passed. Patch supplied by Larry Grill.
3348
3349	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
3350	suggested by Jeremy C. Reed.
3351
33522003-12-26  Andrey Kiselev  <[email protected]>
3353
3354	* libtiff 3.6.1 released.
3355
33562003-12-24  Andrey Kiselev  <[email protected]>
3357
3358	* config.guess, config.sub: Updated from the recent upstream.
3359
33602003-12-22  Andrey Kiselev  <[email protected]>
3361
3362	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
3363	More cleanups in color conversion interface, added appropriate manual
3364	page.
3365
33662003-12-19  Andrey Kiselev  <[email protected]>
3367
3368	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
3369	per bug
3370
3371	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
3372
3373	* tools/tiff2ps.c: Added support for alpha channel. Fixes
3374
3375	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
3376
3377	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
3378	Interface for Lab->RGB color conversion is finally cleaned up.
3379	Added support for ReferenceBlackWhite tag handling when converted from
3380	YCbCr color space. The latter closes
3381
3382	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
3383
33842003-12-07  Andrey Kiselev  <[email protected]>
3385
3386	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
3387
3388	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
3389	library.
3390
33912003-12-06  Andrey Kiselev  <[email protected]>
3392
3393	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
3394	file and properly use it for CIE Lab->RGB transform.
3395
33962003-12-04  Andrey Kiselev  <[email protected]>
3397
3398	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
3399	conversion routines now in the tif_color.c module. New function
3400	TIFFYCbCrtoRGB() available in TIFF API.
3401
3402	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
3403
34042003-12-03  Andrey Kiselev  <[email protected]>
3405
3406	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
3407	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
3408	module.
3409
3410	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
3411	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
3412	Finally resolved problems with orientation handling. TIFFRGBAImage
3413	interface now properly supports all possible orientations, i.e. images
3414	will be flipped both in horizontal and vertical directions if
3415	required. 'Known bugs' section now removed from the appropriate manual
3416	pages. Closed bug entry:
3417
3418	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
3419
34202003-12-02  Andrey Kiselev  <[email protected]>
3421
3422	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
3423	function calls as per bug
3424
3425	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
3426
34272003-11-28 Ross Finlayson  <[email protected]>
3428
3429	* tools/tiff2pdf.c:  Some bugs fixed.
3430
34312003-11-27  Andrey Kiselev  <[email protected]>
3432
3433	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
3434	reported by Antonio Scuri.
3435
3436	* man/tiff2pdf.1: Few improvements in page layout.
3437
3438	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
3439	 Added support fpr tiff2pdf manual page.
3440
34412003-11-26 Ross Finlayson  <[email protected]>
3442
3443	* /man/tiff2pdf.1:  File added to repository.
3444
34452003-11-26  Andrey Kiselev  <[email protected]>
3446
3447	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
3448	 Added support fpr tiff2pdf utility.
3449
34502003-11-25  Ross Finlayson  <[email protected]>
3451
3452	* /tools/tiff2pdf.c:  File added to repository.
3453
34542003-11-22  Andrey Kiselev  <[email protected]>
3455
3456	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
3457
34582003-11-21  Andrey Kiselev  <[email protected]>
3459
3460	* /tools/raw2tiff.c: #include <getopt.h> removed.
3461
3462	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
3463	sgigt utility removed and replaced with the completely rewritten
3464	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
3465	there is a lot of things to improve.
3466
3467	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
3468	extract the fields from the OJPEG files. Patch supplied by Ross
3469	Finlayson.
3470
3471	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
3472	Added new function TIFFIsCODECConfigured(), suggested by Ross
3473	Finlayson.
3474
34752003-11-18  Andrey Kiselev  <[email protected]>
3476
3477	* libtiff/tif_dirinfo.c: Implemented binary search in
3478	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
3479
3480	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
3481	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
3482
34832003-11-17  Frank Warmerdam  <[email protected]>
3484
3485	* tif_dirread.c: do not mark all anonymously defined tags to be
3486	IGNOREd.
3487
34882003-11-17  Andrey Kiselev  <[email protected]>
3489
3490	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
3491	TIFFDataWidth() function insted of tiffDataWidth array.
3492
34932003-11-16  Andrey Kiselev  <[email protected]>
3494
3495	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
3496	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
3497
34982003-11-15  Frank Warmerdam  <[email protected]>
3499
3500	* Makefile.in: fixed missing backslash for tif_color.c in list.
3501
35022003-11-13  Andrey Kiselev  <[email protected]>
3503
3504	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
3505	New color space conversion code: CIE L*a*b* 1976 images now supported
3506	by the TIFFRGBAImage interface. All introduced routines go to new
3507	module tif_color.c. Eventually all color conversion functions should
3508	be moved there.
3509
35102003-11-12  Andrey Kiselev  <[email protected]>
3511
3512	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
3513	with the reverse byte order (it is reported by the magic header
3514	field). Problem reported by Andreas Wiesmann.
3515
3516	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
3517	calculation function. Guessing mechanics now documented in manual page.
3518
35192003-11-11  Andrey Kiselev  <[email protected]>
3520
3521	* tools/raw2tiff.c: Implemented image size guessing using
3522	correlation coefficient calculation between two neighbour lines.
3523
35242003-11-09  Frank Warmerdam  <[email protected]>
3525
3526	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
3527	planarconfig_contig case in TIFFComputeTile().
3528
3529	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
3530
35312003-11-09  Andrey Kiselev  <[email protected]>
3532
3533	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
3534
35352003-11-07  Andrey Kiselev  <[email protected]>
3536
3537	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
3538	Added TIFFRawStripSize() function as suggested by Chris Hanson.
3539
35402003-11-03  Andrey Kiselev  <[email protected]>
3541
3542	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
3543	per bug
3544
3545	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
3546
35472003-10-29  Andrey Kiselev  <[email protected]>
3548
3549	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
3550
3551	* html/build.html: Added note about GNU make requirement.
3552
35532003-10-25  Andrey Kiselev  <[email protected]>
3554
3555	* Makefile.in: Fixes in using MAKEFLAGS as per bug
3556
3557	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
3558
3559	* port/install.sh.in: Option -p added to the mkdir command to create
3560	all directory tree structure before installing.
3561
35622003-10-18  Andrey Kiselev  <[email protected]>
3563
3564	* /tools/tiff2ps.c: #include <strings.h> replaced with the
3565	#include <string.h>.
3566
35672003-10-16  Andrey Kiselev  <[email protected]>
3568
3569	* Makefile.in: Add an absolute path to the test_pics.sh call.
3570
35712003-10-12  Andrey Kiselev  <[email protected]>
3572
3573	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
3574	typedefs.
3575
35762003-10-09  Andrey Kiselev  <[email protected]>
3577
3578	* configure, libtiff/{Makefile.in, mkversion.c}:
3579	Relative buildings fixed.
3580
3581	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
3582	rule.
3583
35842003-10-07  Andrey Kiselev  <[email protected]>
3585
3586	* Makefile.in: Added missed v3.6.0.html.
3587
3588	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
3589	ORIENTATION_BOTLEFT.
3590
35912003-10-04  Andrey Kiselev  <[email protected]>
3592
3593	* 3.6.0 final release.
3594
35952003-10-03  Andrey Kiselev  <[email protected]>
3596
3597	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
3598	function TIFFReadRGBAImageOriented() implemented to retrieve raster
3599	array with user-specified origin position as suggested by Jason Frank.
3600	See
3601
3602	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
3603
3604	for details.
3605
3606	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
3607	instead of TIFFReadRGBAImage().
3608
3609	* tools/tiff2ps.c: Fixed possible endless loop as per bug
3610
3611	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
3612
36132003-09-30  Andrey Kiselev  <[email protected]>
3614
3615	* libtiff/tif_dirread.c: Check field counter against number of fields
3616	in order to fix
3617
3618	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
3619
3620	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
3621
3622	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
3623
36242003-09-25  Andrey Kiselev  <[email protected]>
3625
3626	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
3627	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
3628
3629	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
3630
36312003-09-23  Andrey Kiselev  <[email protected]>
3632
3633	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
3634
3635	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3636
36372003-08-21  Andrey Kiselev  <[email protected]>
3638
3639	* tools/tiffmedian.c: int declaration replaced with the uint32 to
3640	support large images as per bug
3641
3642	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
3643
36442003-08-12  Andrey Kiselev  <[email protected]>
3645
3646 	* libtiff/Makefile.in: Fixed problem with building in different
3647	directory.
3648
3649	* tools/tiff2ps.c: Added missing #include <strings.h>.
3650
3651	* libtiff/tif_dirwrite.c: More fixes for custom tags code
3652	from Ashley Dreier.
3653
36542003-08-07  Andrey Kiselev  <[email protected]>
3655
3656	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
3657	Patch submitted by Balatoni Denes (with corrections from Tom
3658	Kacvinsky).
3659
3660	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
3661	being used. Reported by Tom Kacvinsky.
3662
3663	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
3664	reported by Ashley Dreier.
3665
3666	* libtiff/tif_print.c: Fixed problem with float tags reading, support
3667	for printing RATIONAL and BYTE tags added.
3668
36692003-08-05  Andrey Kiselev  <[email protected]>
3670
3671	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
3672	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
3673	problems with predictor initialization. Remove O_RDONLY check during
3674	state block allocation to be able open LZW compressed files in update
3675	mode.
3676
3677	Problem exist for libtiff version of the tif_lzw.c module. One from
3678	lzw-compression-kit hasn't such troubles.
3679
36802003-08-04  Frank Warmerdam  <[email protected]>
3681
3682	* libtiff/tif_write.c: modified tif_write.c so that the various
3683	encoded write functions use tif_postdecode() to apply byte order
3684	swapping (swab) to the application passed data buffer if the same
3685	would be done when reading.  This allows us to write pixel data with
3686	more than 8 bits per sample to existing files of a non-native byte
3687	order.  One side effect of this change is the applications buffer
3688	itself is altered in this case by the act of writing.
3689
3690	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
3691
36922003-07-25  Frank Warmerdam  <[email protected]>
3693
3694	* libtiff/tif_open.c: avoid signed/unsigned casting warning
3695	initializing typemask as per patch from J.A. Strother.
3696
3697	* tools/tiffcp.c: fixed signed/unsigned casting warning.
3698
3699	* libtiff/tif_print.c: dos2unix conversion.
3700
3701	* tools/tiffsplit.c: increased the maximum number of pages that
3702	can be split.  Patch provided by Andrew J. Montalenti.
3703
37042003-07-11  Andrey Kiselev  <[email protected]>
3705
3706	* tools/raw2tiff.c: Added option `-p' to explicitly select color
3707	space of input image data. Closes
3708
3709	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
3710
37112003-07-08  Frank Warmerdam  <[email protected]>
3712
3713	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
3714	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
3715	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
3716	avoid casting warning at /W4.
3717
37182003-07-03  Andrey Kiselev  <[email protected]>
3719
3720	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
3721
37222003-06-30  Andrey Kiselev  <[email protected]>
3723
3724	* libtiff/tif_pixarlog.c: Unused variables removed.
3725
3726	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
3727	EstimateStripByteCounts() as per bug
3728
3729	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3730
3731	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
3732	64-bit architectures as per bug
3733
3734	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
3735
3736	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
3737	unknown data type.
3738
37392003-06-19  Frank Warmerdam  <[email protected]>
3740
3741	* libtiff/tif_print.c: fixed some serious bugs when printing
3742	custom tags ... almost certain to crash.
3743
3744	* libtiff/tif_dirread.c: Don't ignore custom fields that are
3745	autodefined.  Not sure how this got to be like this.
3746
37472003-06-18  Andrey Kiselev  <[email protected]>
3748
3749	* 3.6.0 Beta2 released.
3750
3751	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
3752	comparing as per bug
3753
3754	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
3755
3756	`-z' option now can be used to set the number of reported different
3757	bytes.
3758
37592003-06-09  Andrey Kiselev  <[email protected]>
3760
3761	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
3762	to -r option to get the entire image as one strip. See
3763
3764	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3765
3766	for details.
3767
37682003-06-04  Andrey Kiselev  <[email protected]>
3769
3770	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
3771	values as per bug
3772
3773	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3774
37752003-05-27  Frank Warmerdam  <[email protected]>
3776
3777	* libtiff/tif_jpeg.c: modified segment_height calculation to always
3778	be a full height tile for tiled images.  Also changed error to just
3779	be a warning.
3780
37812003-05-25  Andrey Kiselev  <[email protected]>
3782
3783	* tools/fax2tiff.c: Page numbering fixed, as per bug
3784
3785	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
3786
37872003-05-20  Andrey Kiselev  <[email protected]>
3788
3789	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3790	configure, Makefile.in:	Switched back to the old behaviour. Likely
3791	better solution should be found for OJPEG support.
3792
37932003-05-11  Andrey Kiselev  <[email protected]>
3794
3795	* libtiff/mkversion.c: Fixed problem with wrong string size when
3796	reading RELEASE-DATE file.
3797
37982003-05-07  Andrey Kiselev  <[email protected]>
3799
3800	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
3801	index was out of range.
3802
38032003-05-06  Andrey Kiselev  <[email protected]>
3804
3805	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3806	configure, Makefile.in:	Improved libtiff compilation with OJPEG
3807	support. Now no need for patching IJG JPEG library, hack requred by
3808	libtiff will be compiled and used in-place. Implemented with
3809	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
3810
3811	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
3812	TIFFVGetFieldDefaulted() function.
3813
38142003-05-05  Andrey Kiselev  <[email protected]>
3815
3816	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
3817	comments.
3818
3819	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
3820	was not copied from source image.
3821
3822	* libtiff/getimage.c: Workaround for some images without correct
3823	info about alpha channel as per bug
3824
3825	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
3826
38272003-04-29  Andrey Kiselev  <[email protected]>
3828
3829	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
3830	It basically allows one to use the /flateDecode filter for ZIP
3831	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
3832
3833	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
3834
3835	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
3836	as per bug
3837
3838	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
3839
38402003-04-17  Andrey Kiselev  <[email protected]>
3841
3842	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
3843	due to problems with multidirectory images. Quality of error messages
3844	improved.
3845
38462003-04-16  Andrey Kiselev  <[email protected]>
3847
3848	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
3849	encoded images. See bug entries
3850
3851	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
3852
3853	and
3854
3855	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3856
3857	* libtiff/tif_dirread.c: Additional check for StripByteCounts
3858	correctness. Fixes
3859
3860	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3861
38622003-03-12  Andrey Kiselev  <[email protected]>
3863
3864	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
3865	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
3866	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
3867	tiffmedian.c}: Added library version reporting facility to all tools.
3868
38692003-03-06  Frank Warmerdam  <[email protected]>
3870
3871	* port/install.sh.in: Fixed problems with install producing paths
3872	like ///usr/local/lib on cygwin.
3873
38742003-02-27  Andrey Kiselev  <[email protected]>
3875
3876	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
3877	raw input page. Patch supplied by Julien Gaulmin. See
3878
3879	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
3880
3881	for details.
3882
38832003-02-26  Frank Warmerdam  <[email protected]>
3884
3885	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
3886	responsible for byte swapping complex image data.
3887
3888	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
3889	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
3890
38912003-02-07  Andrey Kiselev  <[email protected]>
3892
3893	* tools/ppm2tiff.c: Fixed problem with too many arguments.
3894
38952003-02-04  Andrey Kiselev  <[email protected]>
3896
3897	* tools/raw2tiff.c: Memory leak fixed.
3898
38992003-02-03  Andrey Kiselev  <[email protected]>
3900
3901	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
3902	(thanks, Julien!). More switches for fax2tiff tool for better control
3903	of input and output. Details at
3904
3905	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
3906
39072003-02-03  Frank Warmerdam  <[email protected]>
3908
3909	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
3910	library so that we can check if there is already any tile/strip data
3911	before deciding between creating a compressor or a decompressor.
3912
39132003-01-31  Frank Warmerdam  <[email protected]>
3914
3915	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
3916	a pre-existing compressed image.  That is, image writing to
3917	pre-existing compressed images is not allowed.
3918
3919	* libtiff/tif_open.c: Removed error if opening a compressed file
3920	in update mode.
3921
3922	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
3923
39242003-01-31  Andrey Kiselev  <[email protected]>
3925
3926	* config.guess, config.sub: Updated to recent upstream versions.
3927
39282003-01-15  Frank Warmerdam  <[email protected]>
3929
3930	* cut 3.6.0 Beta release.
3931
39322002-12-20  Andrey Kiselev  <[email protected]>
3933
3934	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
3935	in wrong way as per bug
3936
3937	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
3938
39392002-12-17  Frank Warmerdam  <[email protected]>
3940
3941	* libtiff/tif_dirread.c: Allow wrong sized arrays in
3942	TIFFFetchStripThing().
3943
3944	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
3945
39462002-12-02  Frank Warmerdam  <[email protected]>
3947
3948	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
3949	Was using realloc even first time.  Fix by Igor Venevtsev.
3950
39512002-11-30  Frank Warmerdam  <[email protected]>
3952
3953	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
3954	field value.
3955
3956	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
3957	tags in TIFFVGetField() ... added missing break.
3958
39592002-10-14  Frank Warmerdam  <[email protected]>
3960
3961	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
3962	the scanline buffer long enough when writing rgb triplets.
3963	The scanline needs to be 3 X the number of dots or else it will
3964	contain	an incomplete triplet and programs that try to separate
3965	the eps by redefining the colorimage operator will get messed up.
3966	Patch supplied by William Bader.
3967
3968	* Makefile.in: added tif_extension.c to file list as per
3969	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
3970
39712002-10-11  Andrey Kiselev  <[email protected]>
3972
3973	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
3974	large files (>2GiB) supporting. New option in the config.site:
3975	LARGEFILE="yes". Should be enough for I/O of the large files.
3976
39772002-10-10  Frank Warmerdam  <[email protected]>
3978
3979	* libtiff/html/v3.6.0.html: new release notes.
3980
3981	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
3982	link for Andrey.  Pointer to v3.6.0.html.
3983
3984	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
3985
39862002-10-07  Andrey Kiselev  <[email protected]>
3987	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
3988	(thanks, Sebastian!). New switches:
3989	-b # for a bottom margin of # inches
3990	-c   center image
3991	-l # for a left margin of # inches
3992	-r   rotate the image by 180 degrees
3993	New features merged with code for shrinking/overlapping.
3994	Previously added -c and -n switches (for overriding PS units) renamed
3995	in -x and -y respectively.
3996
3997	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
3998
3999	* html/man/*.html: Updated from actual manual pages.
4000
40012002-10-06  Frank Warmerdam  <[email protected]>
4002
4003	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
4004	size on windows.  Use #define boolean hack.
4005
4006	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
4007
4008	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
4009	USING_VISUALAGE is defined.
4010
4011	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4012
40132002-10-03  Frank Warmerdam  <[email protected]>
4014
4015	* libtiff/tiff.h: added COMPRESSION_JP2000.
4016
40172002-10-02  Andrey Kiselev  <[email protected]>
4018
4019	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
4020	by the TIFFFetchByteArray() function. Should finally resolve
4021
4022	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
4023
4024	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
4025
4026	* html/Makefile.in: New targets added: html and groffhtml for
4027	producing HTML representations of the manual pages automatically.
4028	html target uses man2html tool, groffhtml uses groff tool.
4029
40302002-09-29  Frank Warmerdam  <[email protected]>
4031
4032	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
4033	from John H. DuBois III.
4034
40352002-09-15  Andrey Kiselev  <[email protected]>
4036
4037	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
4038	manual page for raw2tiff(1) tool.
4039
40402002-09-12  Andrey Kiselev  <[email protected]>
4041
4042	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
4043	the tiffio.h header file.
4044
4045	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
4046	manual page for TIFFDataWidth() function
4047
40482002-09-08  Frank Warmerdam  <[email protected]>
4049
4050	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
4051	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
4052
4053	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
4054	since we are unable to properly include the amount to skip.
4055
4056	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
4057
40582002-09-02  Andrey Kiselev  <[email protected]>
4059
4060	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
4061	in TIFFFetchByteArray(). Problem described at
4062	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
4063
40642002-08-22  Andrey Kiselev  <[email protected]>
4065
4066	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
4067	in _TIFFSetupFieldInfo() function.
4068	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
4069
4070	* /libtiff/tif_lzw.c: Additional consistency checking added in
4071	LZWDecode() and LZWDecodeCompat().
4072	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
4073	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4074
4075	* /libtiff/tif_lzw.c:
4076	Added check for valid code lengths in LZWDecode() and
4077	LZWDecodeCompat(). Fixes
4078	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
4079
40802002-08-16  Andrey Kiselev  <[email protected]>
4081
4082	* /libtiff/{Makefile.vc, libtiff.def}:
4083	Missed declarations added.
4084
40852002-08-15  Frank Warmerdam  <[email protected]>
4086
4087	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
4088	return code from the underlying pick function.
4089
4090	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
4091
4092	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
4093	with FIELD_CUSTOM as mentioned in bug 169.
4094
4095	* tif_close.c: added logic to free dynamically created anonymous
4096	field definitions to correct a small memory leak.
4097
4098	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
4099
41002002-08-10  Andrey Kiselev  <[email protected]>
4101
4102	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
4103	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
4104
41052002-07-31  Frank Warmerdam  <[email protected]>
4106
4107	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
4108	JPEGDecode() as per bugzilla bug (issue 1):
4109
4110	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
4111
4112	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
4113	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
4114	present in the tiff tags.
4115
4116	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
4117
4118	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
4119	TIFFWriteScanline() now set tif_row explicitly in case the codec has
4120	fooled with the value.
4121
4122	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
4123
41242002-06-22  Andrey Kiselev  <[email protected]>
4125
4126	* /tools/tiff2ps.c: Added workaround for some software that may crash
4127	when last strip of image contains fewer number of scanlines than
4128	specified by the `/Height' variable. See
4129	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
4130	for explanation.
4131
41322002-06-21  Andrey Kiselev  <[email protected]>
4133
4134	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
4135	splitting long images in several pages. See
4136	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
4137	Patch granted by John Williams <[email protected]>.
4138
41392002-06-11  Frank Warmerdam  <[email protected]>
4140
4141	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
4142	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
4143	This one is described in:
4144
4145	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
4146
4147	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
4148
4149	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
4150
41512002-05-10  Andrey Kiselev  <[email protected]>
4152
4153	* tools/tiff2ps: New commandline switches to override resolution
4154	units obtained from the input file. Closes
4155	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
4156
41572002-04-26  Andrey Kiselev  <[email protected]>
4158
4159	* libtiff/libtiff.def: Added missed declaration.
4160
41612002-04-22  Andrey Kiselev  <[email protected]>
4162
4163	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
4164	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
4165
41662002-04-20  Andrey Kiselev  <[email protected]>
4167
4168	* libtiff/tif_open.c: Pointers to custom procedures
4169	in TIFFClientOpen() are checked to be not NULL-pointers.
4170
41712002-04-18  Andrey Kiselev  <[email protected]>
4172
4173	* libtiff/libtiff.def: Added missed declarations.
4174
4175	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
4176
41772002-04-16  Andrey Kiselev  <[email protected]>
4178
4179	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
4180	Should finally close
4181	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4182
41832002-04-10  Andrey Kiselev  <[email protected]>
4184
4185	* tools/tiff2ps: Division by zero fixed.
4186	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
4187
41882002-04-09  Andrey Kiselev  <[email protected]>
4189
4190	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
4191	TIFFCheckpointDirectory() routine added.
4192	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
4193
4194	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
4195	for the new function.
4196
41972002-04-08  Andrey Kiselev  <[email protected]>
4198
4199	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
4200	additional members tif->tif_decodestatus and tif->tif_encodestatus
4201	for correct handling of unconfigured codecs (we should not try to read
4202	data or to define data size without correct codecs).
4203
4204	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
4205	changed. Now it has used tif->tif_decodestatus and
4206	tif->tif_encodestatus.
4207	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
4208	case of __cvs_8.tif test image).
4209
4210	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
4211	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
4212	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
4213	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
4214
42152002-04-04  Andrey Kiselev  <[email protected]>
4216
4217	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
4218	replaced by warnings. Now libtiff should read corrupted LZW-compressed
4219	files by skipping bad strips.
4220	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4221
42222002-04-03  Frank Warmerdam  <[email protected]>
4223
4224	* libtiff/tif_dirwrite.c: Removed some dead code.
4225
4226	* libtiff/*: Cleanup some warnings.
4227
4228	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
4229	for variable length FIELD_CUSTOM values.  Was int * but should be
4230	u_short *.
4231
42322002-04-01  Andrey Kiselev  <[email protected]>
4233
4234	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
4235	utility (at cpStripToTile routine).
4236
42372002-03-27  Frank Warmerdam  <[email protected]>
4238
4239	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
4240
4241	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
4242
4243	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
4244	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
4245
4246	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
4247	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
4248
42492002-03-26  Dwight Kelly  <[email protected]>
4250
4251	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4252	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
4253	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
4254	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
4255	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
4256	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
4257
42582002-03-26  Andrey Kiselev  <[email protected]>
4259
4260	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
4261	now also uses TIFFRGBAImageOK before reading. This is additional fix
4262	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4263
42642002-03-25  Andrey Kiselev  <[email protected]>
4265
4266	* libtiff/: tif_getimage.c: Additional check for supported
4267	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
4268	TIFFRGBAImageOK before reading.
4269	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4270
42712002-03-15  Andrey Kiselev  <[email protected]>
4272
4273	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4274	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
4275	TIFFDataType sizes instead of working with tiffDataWidth array
4276	directly. Should prevent out-of-borders bugs in case of unknown or
4277	broken data types.  EstimateStripByteCounts routine modified, so it
4278	won't work when tags with uknown sizes founded.
4279	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
4280
42812002-03-13  Andrey Kiselev  <[email protected]>
4282
4283	* libtiff/tif_getimage.c: Added support for correct handling
4284	`Orientation' tag in gtTileContig. Should be added in other gt*
4285	functions as well, but I have not images for testing yet. Partially
4286	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
4287
42882002-03-10  Andrey Kiselev  <[email protected]>
4289
4290	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
4291	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
4292	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
4293	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
4294
42952002-03-08  Andrey Kiselev  <[email protected]>
4296
4297	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
4298	be stripped when installing, utility binaries will do.	Closes
4299	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
4300
43012002-02-28  Frank Warmerdam  <[email protected]>
4302
4303	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
4304
4305	* man/libtiff.3t: added copyright tag info.
4306
43072002-02-11  Frank Warmerdam  <[email protected]>
4308
4309	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
4310
4311	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
4312
4313	* man/Makefile.in: Patch DESTDIR handling
4314
4315	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
4316
4317	* configure: OpenBSD changes for Sparc64 and DSO version.
4318
4319	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
4320
43212002-02-05  Frank Warmerdam  <[email protected]>
4322
4323	* config.site/configure: added support for OJPEG=yes option to enable
4324	OJPEG support from config.site.
4325
43262002-01-27  Frank Warmerdam  <[email protected]>
4327
4328	* html/document.html: fixed links for TIFf 6 docs.
4329
43302002-01-18  Frank Warmerdam  <[email protected]>
4331
4332	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
4333
4334	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
4335	decodestrip function returns anything not greater than zero as per
4336	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
4337
4338	* configure: Modify CheckForBigEndian so it can work in a cross
4339	compiled situation.
4340
43412002-01-16  Frank Warmerdam  <[email protected]>
4342
4343	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
4344
4345	* tools/tiffset.c: fix bug in error reporting.
4346
4347	* tools/tiffcp.c: fix several warnings that show up with -Wall.
4348
43492002-01-04  Frank Warmerdam  <[email protected]>
4350
4351	* libtiff/tif_jpeg.c: fixed computation of segment_width for
4352	tiles files to avoid error about it not matching the
4353	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
4354	size.") for ITIFF files.  Apparently the problem was incorporated since
4355	3.5.5, presumably during the OJPEG/JPEG work recently.
4356
43572001-12-15  Frank Warmerdam  <[email protected]>
4358
4359	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
4360
4361	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
4362
4363	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
4364	(defined in tiffconf.h - 1 by default) then the RGBA interface
4365	will assume that a fourth extra sample is ASSOCALPHA if the
4366	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
4367	the library, but makes it work better with RGBA files produced by
4368	lots of applications that don't mark the alpha values properly.
4369
4370	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
4371	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
4372
43732001-12-12  Frank Warmerdam  <[email protected]>
4374
4375	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
4376	override those from tiff directory.  This makes this work with
4377	ImageGear generated files.
4378
43792001-12-07  Frank Warmerdam  <[email protected]>
4380
4381	* html/Makefile.in: added missing images per bug 92.
4382
4383	* port/Makefile.in: fixed clean target per bug 92.
4384
43852001-11-28  Frank Warmerdam  <[email protected]>
4386
4387	* Reissue 3.5.7 release.
4388
4389	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
4390	YYYYMMDD so that it is increasing over time.
4391
4392	* Makefile.in: Ensure that tiffvers.h is regenerated in the
4393	make release target.
4394
4395	* Makefile.in: added libtiff/tiffvers.h to the release file list.
4396
43972001-11-23  Frank Warmerdam  <[email protected]>
4398
4399	* added html/v3.5.7.html, updated html/index.html.
4400
4401	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
4402
44032001-11-15  Frank Warmerdam  <[email protected]>
4404
4405	* configure: fixed test for -lm.
4406
44072001-11-02  Frank Warmerdam  <[email protected]>
4408
4409	* Added PHOTOMETRIC_ITULAB as per bug 90.
4410
4411	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
4412
44132001-10-10  Frank Warmerdam  <[email protected]>
4414
4415	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
4416	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
4417	in keeping with TIFF 6.0 standard in tiff.h
4418
4419	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
4420
44212001-09-26  Frank Warmerdam  <[email protected]>
4422
4423	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
4424	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
4425
44262001-09-24  Frank Warmerdam  <[email protected]>
4427
4428	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
4429
4430	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
4431
4432	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
4433	error about LZW not being available.
4434
4435	* libtiff/tif_dir.c: propagate failure to initialize compression
4436	back from TIFFSetField() as an error status, so applications can
4437	detect failure.
4438
4439	* libtiff/tif_dir.c: removed the auto replacement of
4440	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
4441
4442	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
4443	from CVS as they are all supposed to be auto-generated by configure.
4444
44452001-09-22  Frank Warmerdam  <[email protected]>
4446
4447	* libtiff/tif_ojpeg.c: new update from Scott.
4448
44492001-09-09  Frank Warmerdam  <[email protected]>
4450
4451	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
4452	always use the "safe" version, even if there is a very slight
4453	cost in performance.
4454
4455	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
4456
4457	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
4458	in two places.
4459
4460	* libtiff/tif_getimage.c: Fixed problem with reading strips or
4461	tiles that don't start on a tile boundary.  Fix contributed by
4462	Josep Vallverdu (from HP), and further described in bug 47.
4463
4464	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
4465
4466	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
4467
4468	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
4469
44702001-09-06  Frank Warmerdam  <[email protected]>
4471
4472	* libtiff/tif_packbits.c: fixed memory overrun error.
4473
4474	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
4475
44762001-08-31  Frank Warmerdam  <[email protected]>
4477
4478	* libtiff/tif_getimage.c: relax handling of contig case where
4479	there are extra samples that are supposed to be ignored.  This
4480	should now work for 8bit greyscale or palletted images.
4481
4482	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
4483
44842001-08-28  Frank Warmerdam  <[email protected]>
4485
4486	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
4487	images with more than four samples per pixel.  See:
4488
4489	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
4490
44912001-08-10  Frank Warmerdam  <[email protected]>
4492
4493	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
4494	in TIFFReadRGBATile() to avoid issues in cases of overlapping
4495	buffers.  See Bug 69 in Bugzilla.
4496
4497	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
4498
4499	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
4500
45012001-08-09  Frank Warmerdam  <[email protected]>
4502
4503	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
4504	when checking for 64 bit architectures as per bugzilla bug 67.
4505
45062001-07-27  Frank Warmerdam  <[email protected]>
4507
4508	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
4509	bug 66.
4510
45112001-07-20  Frank Warmerdam  <[email protected]>
4512
4513	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
4514	has been included.
4515
45162001-07-19  Frank Warmerdam  <[email protected]>
4517
4518	* libtiff/tif_open.c: Seek back to zero after failed read,
4519	before writing header.
4520
45212001-07-18  Frank Warmerdam  <[email protected]>
4522
4523	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
4524	much better.  Now depends on having patched libjpeg as per
4525	patch in contrib/ojpeg/*.
4526
45272001-07-17  Frank Warmerdam  <[email protected]>
4528
4529	* */Makefile.in: added DESTDIR support.
4530
4531	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
4532
45332001-07-16  Frank Warmerdam  <[email protected]>
4534
4535	* configure, libtiff/Makefile.in: applied OpenBSD patches
4536	as per:
4537
4538	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
4539
45402001-06-28  Frank Warmerdam  <[email protected]>
4541
4542	* libtiff/tif_getimage.c: Fixed so that failure is properly
4543	reported by gtTileContig, gtStripContig, gtTileSeparate and
4544	gtStripSeparate.
4545
4546	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
4547
4548	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
4549	Updated bug section of tiffcmp.1 to note tiled file issues.
4550
4551	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
4552
45532001-06-22  Frank Warmerdam  <[email protected]>
4554
4555	* configure: Changes for DSO generation on AIX provided by
4556	John Marquart <[email protected]>.
4557
4558	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
4559	on Darwin thanks to Robert Krajewski ([email protected]) and
4560	Keisuke Fujii ([email protected]).
4561
45622001-06-13  Frank Warmerdam  <[email protected]>
4563
4564	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
4565
4566	* man/tiff2rgba.1: new
4567
45682001-05-22  Frank Warmerdam  <[email protected]>
4569
4570	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
4571
45722001-05-13  Frank Warmerdam  <[email protected]>
4573
4574	* libtiff/tools/thumbnail.c: changed default output compression
4575	to packbits from LZW since LZW isn't generally available.
4576
45772001-05-12  Frank Warmerdam  <[email protected]>
4578
4579	* libtiff/tif_ojpeg.c: New.
4580	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
4581	to OJPEG support.
4582
4583	Scott Marovich <[email protected]> supplied OJPEG support.
4584
45852001-05-11  Frank Warmerdam  <[email protected]>
4586
4587	* tiff.h: removed, it duplicates libtiff/tiff.h.
4588
45892001-05-08  Frank Warmerdam  <[email protected]>
4590
4591	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
4592	ensure everything is in order.
4593
4594	* libtiff/libtiff.def: added TIFFCreateDirectory and
4595	TIFFDefaultStripSize as per:
4596
4597	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
4598
45992001-05-02  Frank Warmerdam  <[email protected]>
4600
4601	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
4602	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
4603	force use of uint32 counts instead of short counts.
4604
4605	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
4606	case of writing TIFF_BYTE/TIFF_SBYTE fields.
4607
4608	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
4609
46102001-05-01  Frank Warmerdam  <[email protected]>
4611
4612	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
4613	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
4614
46152001-04-05  Frank Warmerdam  <[email protected]>
4616
4617	* tiffio.h: removed C++ style comment.
4618
4619	* configure: fixed up SCRIPT_SH/SHELL handling.
4620
4621	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
4622
4623	* config.guess: documented more variables as per bug 40.
4624
46252001-04-03  Frank Warmerdam  <[email protected]>
4626
4627	* configure, *Makefile.in: Various changes to improve configuration
4628	for HP/UX specifically, and also in general.  They include:
4629	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
4630	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
4631	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
4632	 - Use -${MAKEFLAGS} in sub makes from makefiles.
4633
4634	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
4635
46362001-04-02  Frank Warmerdam  <[email protected]>
4637
4638	* libtiff/tiff.h: Applied hac to try and resolve the problem
4639	with the inttypes.h include file on AIX.
4640
4641	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4642
4643	* VERSION: update to 3.5.7 beta in preparation for release.
4644
4645	* configure/config.site: modified to check if -lm is needed for
4646	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
4647
4648	* config.guess: updated wholesale to an FSF version apparently
4649	from 1998 (as opposed to 1994).  This is mainly inspired by
4650	providing for MacOS X support.
4651
46522001-03-29  Frank Warmerdam  <[email protected]>
4653
4654	* configure, Makefile.in, etc: added support for OPTIMIZER being
4655	set from config.site.
4656
46572001-03-28  Frank Warmerdam  <[email protected]>
4658
4659	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
4660
4661	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
4662	sizes. It fixes two problems:
4663
4664	Without	scaling (-S) the fax is now centered on the page size specified
4665	with -H	and/or -W. Before, fax2ps was using an obscure and practially
4666	useless algorithm to allocate the image relative to Letter sized paper
4667	which sometime sled to useless whitespace on the paper, while at the
4668	same time cutting of the faxes printable area at the opposite border.
4669
4670	Second, scaling now preserves aspect ratio, which makes unusual faxes
4671	(in particular short ones) print properly.
4672
4673	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
4674
4675	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
4676	Bruce A. Mallett.  See check message for detailed information
4677	on all the changes, including a faster encoder, fixes for level
4678	2 PostScript, and support for the imagemask operator.
4679
46802001-03-27  Frank Warmerdam  <[email protected]>
4681
4682	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
4683	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
4684
4685	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4686
46872001-03-16  Frank Warmerdam  <[email protected]>
4688
4689	* tif_dirinfo.c: moved definition of copyright tag in field list.
4690	Apparently they have to be in sorted order by tag id.
4691
46922001-03-13  Frank Warmerdam  <[email protected]>
4693
4694	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
4695	images in RGBA interface.
4696
46972001-03-02  Frank Warmerdam  <[email protected]>
4698
4699	* Added TIFFTAG_COPYRIGHT support.
4700
47012001-02-19  Frank Warmerdam  <[email protected]>
4702
4703	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
4704	with support for extracting subimages with the ,n syntax, and also
4705	adding the -b bias removal flag.
4706
47072001-02-16  Frank Warmerdam  <[email protected]>
4708
4709	* libtiff/libtiff.def: Brent Roman submitted new version adding
4710	serveral missing entry points.
4711
4712	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
4713	Some sort of weird VMS thing.
4714
4715	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
4716
4717	* tif_luv.c/tiff.h/tiffio.h:
4718	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
4719	([email protected]).  He writes:
4720
4721	1) I improved the gamut-mapping function in tif_luv.c for imaginary
4722	colors, because some images were being super-saturated on the input
4723	side and this resulted in some strange color shifts in the output.
4724
4725	2) I added a psuedotag in tiff.h to control random dithering during
4726	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
4727	on for 24-bit LogLuv output.  Dithering improves the average color
4728	accuracy over the image.
4729
4730	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
4731	tiffio.h, to expose internal routines for converting between LogLuv and
4732	XYZ coordinates.  This is helpful for writing more efficient,
4733	specialized conversion routines, especially for reading LogLuv files.
4734
4735	Changes applied with minor edits.
4736
47372001-01-23  Frank Warmerdam  <[email protected]>
4738
4739	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
4740	whether we are encoding or decoding.  This is to ensure graceful
4741	recovery if TIFFClientOpen() discovers an attempt to open a compressed
4742	file for "r+" access, and subsequently close it, as it resets the
4743	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
4744	compressor's concept of whether it is in encode or decode mode.
4745
47462001-01-08  Mike Welles <[email protected]>
4747
4748	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
4749
47502001-01-07  Frank Warmerdam  <[email protected]>
4751
4752	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
4753	as per bug report by Patrick Connor.
4754
47552000-12-28  Frank Warmerdam  <[email protected]>
4756
4757	* Added RELEASE-DATE file to release file list.
4758
4759	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
4760
47612000-12-22  Mike Welles <[email protected]>
4762        * added link to CVS mirror from index.html
4763
4764	* updated html/internals.html to note that LZW compression is
4765	  not supported by default.
4766
47672000-12-22  Frank Warmerdam  <[email protected]>
4768
4769	* updated html/libtiff.html to not point at Niles' old JPL web site
4770	for the man pages, point at www.libtiff.org.
4771
47722000-12-21  Frank Warmerdam  <[email protected]>
4773
4774	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
4775	Leonard Rosenthol <[email protected]>.  May interfere
4776	with correct building on older systems.  If so, please let me know.
4777
47782000-12-19 Mike Welles <[email protected]>
4779
4780	* Took out LZW Encoding from tif_lzw.c
4781
4782	* Created HOWTO-RELEASE
4783
4784	* Created html/v3.5.6.html
4785
4786	* updated index.html
4787
47882000-12-01  Frank Warmerdam  <[email protected]>
4789
4790	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
4791	Patches supplied by Frank Cringle <[email protected]>
4792	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
4793
47942000-11-24  Frank Warmerdam  <[email protected]>
4795
4796	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
4797	target so that the private headers required by libgeotiff can be
4798	installed with the others.  They are not installed by default.
4799
4800	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
4801	targets so libtiff.so will be built with an explicit dependency
4802	on libm.so.
4803
4804	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
4805	libtiff.so.3.5.5.
4806
4807	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
4808	file, or ALPHA version logic.  Added stuff about DIST_POINT in
4809	place of DIST_TYPE and the alpha release number stuff.
4810
48112000-11-22  Frank Warmerdam  <[email protected]>
4812
4813	* I have applied a patch from Steffen Moeller <[email protected]> to
4814	the configure script so that it now accepts the --prefix, and
4815	--exec-prefix directives.
4816
48172000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
4818
4819	* I have made a variety of modifications in an effort to ensure the
4820	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
4821	file which seems to be updated regularly.
4822
4823	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
4824	   version include file.
4825	 o renamed version.h to tiffvers.h because we now have to install it
4826	   with the public libtiff include files.
4827	 o include tiffvers.h in tiffio.h.
4828	 o updated tif_version.c to use tiffvers.h.
4829	 o Updated Makefile.in accordingly.
4830
4831	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
4832	I have updated the win32 detection rules in tiffcomp.h.
4833
48342000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
4835
4836	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
4837	the strip/tile width and height aren't multiples of the sampling size.
4838	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
4839	Some patches from Rick LaMont of Dot C Software.
4840
4841	* Modified tif_packbits.c encoder to avoid compressing more
4842	data than provided if rowsize doesn't factor into provided data
4843	(such as occurs for YCbCr).
4844
48452000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
4846
4847	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
4848	roundup if rows_per_strip not a multiple of vertical sample size.
4849
48502000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
4851
4852	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
4853	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4854	from [email protected].
4855
4856	* Modified tif_packbits.c decoding to avoid overrunning the
4857	output buffer, and to issue a warning if data needs to be
4858	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4859
48602000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
4861
4862	* Modified tiff2bw to ensure portions add to 100%, and that
4863	white is properly recovered.
4864
4865	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
4866	Patch c/o Stanislav Brabec <[email protected]>
4867
48682000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
4869
4870	* Modified TIFFClientOpen() to emit an error on an attempt to
4871	open a comperessed file for update (O_RDWR/r+) access.  This is
4872	because the compressor/decompressor code gets very confused when
4873	the mode is O_RDWR, assuming this means writing only.  See
4874	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
4875
48762000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
4877
4878	* Added GNULDdso target an`d switched linux and freebsd to use it.
4879
48802000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
4881
4882	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
4883	of EXPAND1D() as per bug 11 (from Roman).
4884
48852000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
4886	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
4887	cygwin compatibility.
4888
4889	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
4890	be a proper fix to the buffer sizing problem.  See
4891	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
4892
4893	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
4894	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
4895	Thanks to Nick Lamb <[email protected]> for reporting the
4896	bug and proving the patch.
4897
48982000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
4899
4900	* Fixed tif_jpeg.c so avoid destroying the decompressor before
4901	we are done access data thanks to bug report from:
4902	Michael Eckstein <[email protected]>.
4903
4904	* Reverted tif_flush change.
4905
49062000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
4907
4908	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
4909	error when TIFF_BEENWRITING is not set.  This ensures that the
4910	directory contents can still be flushed by TIFFFlush().
4911
49122000-08-14  Frank Warmerdam  <[email protected]>
4913
4914	* tif_open.c: Don't set MMAP for O_RDWR files.
4915
4916	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
4917	so that files opened for update can be strip chopped too.
4918
4919	* tif_read.c: fixed up bug with files missing rowsperstrip and
4920	the strips per separation fix done a few weeks ago.
4921
49222000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
4923
4924	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
4925	SAMPLEFORMAT_COMPLEXINT.
4926
49272000-07-13  Mike Welles <[email protected]>
4928
4929	* index.html, bugs.html: added bugzilla info.
4930
49312000-07-12  Frank Warmerdam  <[email protected]>
4932
4933	* tif_read.c: fix subtle bug with determining the number of
4934	rows for strips that are the last strip in a separation but
4935	not the last strip of all in TIFFReadEncodedStrip().
4936
4937	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
4938	Peter Skarpetis <[email protected]>
4939
49402000-06-15  Frank Warmerdam  <[email protected]>
4941
4942	* Modified tiffio.h logic with regard to including windows.h.  It
4943	won't include it when building with __CYGWIN__.
4944
49452000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
4946
4947	* README: update to mention www.libtiff.org, don't list Sam's old
4948	email address.
4949
4950	* configure: Fixed DSO test for Linux as per patch from
4951	  Jan Van Buggenhout <[email protected]>.
4952
49532000-04-21  Frank Warmerdam  <[email protected]>
4954
4955	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
4956	one tile/strip images with an offset, and byte count of zero. These
4957	could be "unpopulated" images.
4958
49592000-04-18  Frank Warmerdam  <[email protected]>
4960
4961	* contrib/addtiffo: Added "averaging" resampling option.
4962
4963	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
4964
4965Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
4966
4967	* tools/Makefile.in: Modified to install properly on SGI.
4968
49692000-04-12  Mike Welles	     <[email protected]>
4970	* configure:  Fixed stupid mistake in libc6 test on Linux
4971
49722000-04-04  Mike Welles	     <[email protected]>
4973	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
4974	  caught by BoundsChecker.  From Arvan Pritchard
4975	  <[email protected]>  (untested).
4976
4977	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
4978	  Arvan Pritchard <[email protected]>
4979
4980	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
4981	  Arvan Pritchard <[email protected]>
4982
49832000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
4984
4985	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
4986
49872000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
4988
4989	* fax2ps: Fixed mixup of width and height in bounding box statement
4990	as per submission by Nalin Dahyabhai <[email protected]>.
4991
49922000-03-27  Mike Welles	     <[email protected]>
4993
4994	* fax2ps:  Modified printruns to take uint32 instead of uint16.
4995	Patch courtesy of Bernt Herd <[email protected]>
4996
49972000-03-20  Mike Welles	     <[email protected]>
4998
4999	* configure: added test for libc6 for linux targets.  Bug reported by
5000        Stanislav Brabec <[email protected]>
5001
5002	* Added 3.5 docs to html/Makefile.in.
5003	Thanks to  Stanislav Brabec <[email protected]>
5004
5005	* configure: fixed bugs in sed scripts
5006	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
5007	fix submitted to Stanislav Brabec <[email protected]>
5008
5009	* tools/iptcutil was not in files list, and wasn't being
5010	added to tar archive.  Updated Makefile.in.
5011
50122000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
5013
5014	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
5015	conversion for the run arrays.
5016
50172000-03-03  Frank Warmerdam  <[email protected]>
5018
5019	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
5020	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
5021
50222000-03-02  Frank Warmerdam  <[email protected]>
5023
5024	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
5025
5026	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
5027	to avoid overruns encountered with frle_bug.tif.
5028
5029Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
5030
5031	* Fixed tools/tiffcmp so that stopondiff testing works.
5032	  Patch care of Joseph Orost <[email protected]>.
5033
50342000-01-28    <warmerda@CS46980-B>
5035
5036	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
5037	  set to 1, and added default (off) setting in tiffconf.h.  This
5038	  should eventually be set by the configure script somehow.
5039
5040	  The original work on all these 2-4GB changes was done by
5041	  Peter Smith ([email protected]).
5042
5043	* Modified tif_win32.c to support 2-4GB seeks.
5044
5045	* tentatively changed toff_t to be unsigned instead of signed to
5046	  facilitate support for 2-4GB files.
5047
5048	* Updated a variety of files to use toff_t.  Fixed some mixups
5049	  between toff_t and tsize_t.
5050
5051Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
5052
5053	* Largely reimplemented contrib/addtiffo to avoid temp files,
5054	updating the TIFF file in place.  Fixed a few other bugs to.
5055
5056	* Set tif_rawdatasize to zero when freeing raw data buffer in
5057	TIFFWriteDirectory().
5058
5059	* Enabled "REWRITE_HACK" in tif_write.c by default.
5060
5061	* Fix bug in tif_write.c when switching between reading one directory
5062	and writing to another.
5063
5064	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
5065
5066Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
5067
5068	* Added TIFFmemory(3t) functions to libtiff.def.
5069
5070Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
5071
5072	* Added libtiff/libtiff.def to TIFFILES distribution list.
5073
5074Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
5075
5076	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
5077
5078	* Altered descriptions in tools to reflect "by default" lzw not supported
5079
5080	* Updated index.html to note lzw compression kit.
5081
5082Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
5083
5084	* Added fax3sm_winnt.c to distribution list in Makefile.in.
5085
5086Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
5087
5088	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
5089
5090	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
5091	  when LZW compression invoked.
5092
5093	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
5094	  in tools to reflect removal of LZW compression
5095
5096Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
5097
5098        * Fixed bug that caused LZW (non) compression to segfault. Added
5099	  warning about LZW compression removed being removed, and why.
5100
5101	* Added nostrip to install in tools/Makefile.in so that debugging
5102	  symbols are kept.
5103
5104Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
5105
5106	* Added patch from Ivo Penzar <[email protected]>,
5107	  supporting Adobe ZIP deflate.  Untested.
5108
5109Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
5110
5111	* Made Packbits the default compression in tools/tiff2rgba.c instead
5112	of LZW.
5113
5114Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
5115
5116	* Added tif_luv to contrib/djgpp/Makefile.lib.
5117
5118Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
5119
5120        * Added zip creation to relase makefile target
5121
5122	* Added html for TIFFWriteTile.3t man page.
5123
5124Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
5125
5126	* Added some changes to tif_write.c to support rewriting existing
5127	fixed sized tiles and strips.  Code mods disabled by default, only
5128	enabled if REWRITE_HACK is defined for now.
5129
5130Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
5131
5132	* Added TIFFWriteTile.3t man page.
5133
5134Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
5135
5136	* Added notes on use of makefile.vc in build.html, and fixed
5137	email subscription address.
5138
5139199-11-28  Mike Welles <[email protected]>
5140
5141	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
5142
5143	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
5144	   from Bruce Carmeron <[email protected]> -- modifications of
5145	   changes made by Frank (sun cc still complained on cast).
5146
5147	*  Added tiffconf.h to install target per request from Bill
5148	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
5149 	   know features have been compiled into the TIFF library in order to
5150	   handle things properly".
5151
5152Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
5153
5154	* fixed various VC++ warnings as suggested by Gilles Vollant
5155	<[email protected]>.
5156
5157Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
5158
5159	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
5160	not imply applications are responsible for image data swapping.
5161
51621999-11-22  Mike Welles <[email protected]>
5163	*  HTML-ized the man pages, added to html/man
5164
5165	*  Removed LZW Compression to comply with Unisys patent extortion.
5166
51671999-09-29  Mike Welles		<[email protected]>
5168	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
5169	   From Ivo Penzar <[email protected].
5170
5171	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
5172	   memory mapped files. <[email protected]>
5173
51741999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
5175	* Corrected alpha versioning.
5176
5177	* Removed distinction between  alpha and release targets in Makefile.in.
5178
5179	* added release.stamp target, which tags cvs tree, and updates
5180	  "RELEASE-DATE"
5181
5182	* added releasediff target, which diffs tree with source as of
5183	  date in "RELEASE-DATE"
5184
5185	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
5186	  away from alpha/non-alpha distinctions).
5187
5188	* updated html to reflect release
5189
51901999-09-23    <warmerda@CS46980-B>
5191
5192	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
5193
5194	* Added CYGWIN case in configure.
5195
5196Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
5197
5198	* Applied Francois Dagand's patch to handle fax decompression bug.
5199	  (sizes >= 65536 were failing)
5200
5201Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
5202
5203	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
5204	  by Christopher Lawton <[email protected]>
5205
5206Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
5207
5208	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
5209	  Albert Chin-A-Young <[email protected]>
5210
5211	* Added TIFFReassignTagToIgnore() API on behalf of
5212	  Bruce Cameron <[email protected]>.  Man page still pending.
5213
5214Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
5215
5216	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
5217	files to provide for a rudimentary testsuite.
5218
5219	* Added contrib/tags back from old distribution ... fixed up a bit.
5220
52211999-08-16    <warmerda@CS46980-B>
5222
5223	* Added simple makefile.vc makefiles for building with MS VC++
5224	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
5225	better solutions for some users.
5226
5227Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
5228
5229	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
5230	put it in tools since part of it is in C++.
5231
52321999-08-16  Michael L. Welles  <[email protected]>
5233
5234	* Updated html/index.html with anon CVS instructions.
5235
5236Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
5237
5238	* pre-remove so link before softlink in LINUXdso action in
5239	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
5240	the first.
5241
5242	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
5243	colormaps owned by the TIFF handle itself when trying to fixup wrong
5244	(eight bit) colormaps.  Corrected by maintaining a private copy of
5245	the colormap.
5246
5247	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
5248	tif_getimage.c.
5249
5250	* CVS Repository placed at remotesensing.org.  ChangeLog added.
5251