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