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