xref: /libtiff-4.0.7/ChangeLog (revision 5ec011cf)
12010-06-11  Bob Friesenhahn  <[email protected]>
2
3	* Update libtool to version 2.2.10.
4
52010-06-10  Bob Friesenhahn  <[email protected]>
6
7	* libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
8	multiplier is zero.
9
102010-06-09  Bob Friesenhahn  <[email protected]>
11
12	* libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
13	CVE-2010-1411 was not complete.
14
15	* libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
16	multiply two integers.  Returns zero if there is an integer
17	overflow.
18
19	* tools/tiffcp.c (main): tiffcp should not leak memory if an error
20	is reported when reading the input file.
21
222010-06-08  Bob Friesenhahn  <[email protected]>
23
24	* Update libtool to version 2.2.8.
25
26	* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
27	buffer due to integer overflow in TIFFroundup() and several other
28	potential overflows.  In conjunction with the fix to TIFFhowmany(),
29	fixes CVE-2010-1411.
30
31	* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
32	result in an integer overflow. This causes TIFFroundup() to also
33	return zero if there would be an integer overflow.
34
35	* contrib: Add an emacs formatting mode footer to all source files
36	so that emacs can be effectively used.
37
382010-06-03  Oliver Chen Feng <[email protected]>
39
40	* libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
41	file PAGENUMBER value in sequence for users who care the page
42	sequence, this will also prevent tiff2pdf from creating pdf file from
43	the merged tiff file with wrong page sequence.
44
452010-05-08  Olivier Paquet  <[email protected]>
46
47	* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
48	to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
49	* libtiff/tif_dirinfo.c: Use correct set_field_type for
50	TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
51	http://bugzilla.maptools.org/show_bug.cgi?id=2192
52
532010-05-07  Frank Warmerdam  <[email protected]>
54
55	* libtiff/tif_jpeg.c: Ensure that quality is always set in
56	JPEGPreEncode(), not just when we want to output local tables.
57	Otherwise the quality used during compression may not be right and
58	might not match the tables in the tables tag.   This bug only occurs
59	when seeking between directories in the midst of writing blocks.
60	http://trac.osgeo.org/gdal/ticket/3539
61
622010-05-06  Andrey Kiselev  <[email protected]>
63
64	* html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
65	Regenerated from the source.
66
672010-05-05  Olivier Paquet  <[email protected]>
68
69	* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
70	had stopped working. Also made it always print 6 floats instead of
71	2*SamplesPerPixel.
72	http://bugzilla.maptools.org/show_bug.cgi?id=2191
73	http://bugzilla.maptools.org/show_bug.cgi?id=2186
74	* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
75	fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
76
772010-05-05  Frank Warmerdam  <[email protected]>
78
79	* libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
80	if the jpeg table was written.  This is a fix for the last fix on 04-21.
81
822010-04-21  Frank Warmerdam  <[email protected]>
83
84	* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
85	JPEGSetupEncode() is called if the tables already seem to be
86	established.  This prevents spurious updates and rewriting of
87	directories with jpegtables when doing updates to existing images.
88	http://trac.osgeo.org/gdal/ticket/3539
89
902010-04-20  Olivier Paquet  <[email protected]>
91
92	* libtiff/tif_dirinfo.c: Use correct set_field_type for
93	TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
94	TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
95	They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
96	http://bugzilla.maptools.org/show_bug.cgi?id=2139
97
982010-04-10  Bob Friesenhahn  <[email protected]>
99
100	* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
101	when the tag count value is zero.  Error handling is still a
102	regression since in 3.9.2, empty tags are skipped (with a warning)
103	rather than returning a hard error and refusing to read the file.
104
105	* tools/ppm2tiff.c (main): While case for parsing comment line
106	requires extra parenthesis to work as expected.  Reported by
107	Thomas Sinclair.
108
1092010-04-02  Frank Warmerdam  <[email protected]>
110
111	* libtiff/tif_read.c (primarily): Add support for
112	CHUNKY_STRIP_READ_SUPPORT where large strips are
113	read in chunks for applications using TIFFReadScanline().
114	This is intended to make it more practical work with very
115	large compressed one-strip files.   Feature is off by default.
116	Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
117	http://trac.osgeo.org/gdal/ticket/3514
118
1192010-03-31  Frank Warmerdam  <[email protected]>
120
121	* libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
122	directories so previously placed directories will be migrated to
123	the end of file if needed.
124
1252010-03-30  Frank Warmerdam  <[email protected]>
126
127	* libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
128	to support operating on strips/tiles of more than 256MB.
129	http://trac.osgeo.org/gdal/ticket/3512
130
1312010-03-10  Bob Friesenhahn  <[email protected]>
132
133	* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
134	that it is clearly a memory allocation error message, and also
135	includes the size of the allocation request.
136
1372010-02-22  Lee Howard  <[email protected]>
138
139	* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
140	the JPEG TIFF as is is not required in order to prevent it from
141	being unused and filled with invalid data.  (Leave it to be
142	generated by later activity.)
143	http://bugzilla.maptools.org/show_bug.cgi?id=2135
144	* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
145	data rather than skipping them.  This fixes the ability to view in
146	Acrobat Reader, Evince, and Ghostscript.
147	http://bugzilla.maptools.org/show_bug.cgi?id=2135
148	* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
149	strips.
150	http://bugzilla.maptools.org/show_bug.cgi?id=2029
151
1522009-12-03  Frank Warmerdam  <[email protected]>
153
154	* libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
155	Made so that when working with downsampled images a stub function
156	reporting an error is used for tif_decoderow.  We cannot meaningfully
157	support reading scanlines in this situation.  (#1936)
158
159	* libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
160	resetting of the upsampling values (gdal:#3259).
161	http://bugzilla.maptools.org/show_bug.cgi?id=1936
162
1632009-11-30  Frank Warmerdam  <[email protected]>
164
165	* contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c,
166	tools/ras2tiff.c: Fix resource leaks on error.
167	http://bugzilla.maptools.org/show_bug.cgi?id=2121
168
169	* libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling
170	TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
171	of as a custom(generic) field to avoid a potential reentrancy problem.
172	http://bugzilla.maptools.org/show_bug.cgi?id=2125
173
174	* libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
175	man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit
176	const, and display_sRGB static and const.
177	http://bugzilla.maptools.org/show_bug.cgi?id=2124
178
1792009-11-04  Bob Friesenhahn  <[email protected]>
180
181	* libtiff 4.0.0alpha5 released.
182
1832009-11-03  Bob Friesenhahn  <[email protected]>
184
185	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
186	version has undergone substantial testing with arbitrary sample
187	bit depths.  Also eliminates GCC compilation warnings.
188
1892009-11-02  Bob Friesenhahn  <[email protected]>
190
191	* port/libport.h: Add extern declarations for getopt standard
192	globals.
193
1942009-10-31  Bob Friesenhahn  <[email protected]>
195
196	* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
197	noticed in 64-bit build of libtiff with Visual Studio 2005.
198	Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
199	tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
200
201	* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
202	warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
203	Visual Studio 2005 64-bit warning in tif_pixarlog.c",
204	http://bugzilla.maptools.org/show_bug.cgi?id=2068
205
2062009-10-29  Bob Friesenhahn  <[email protected]>
207
208	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
209	pointer" warnings.
210
2112009-10-28  Bob Friesenhahn  <[email protected]>
212
213	* html/tools.html: Add manual page links, and a summary
214	description of tiffcrop.
215
2162009-10-07  Bob Friesenhahn  <[email protected]>
217
218	* configure.ac: x86_64 should use the same fill order as i386.
219
2202009-09-24  Bob Friesenhahn  <[email protected]>
221
222	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
223	Nolde.  Major updates to add significant functionality for reading
224	and writing tile based images with bit depths not a multiple of 8
225	which cannot be handled by tiffcp.
226
2272009-09-03  Bob Friesenhahn  <[email protected]>
228
229	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
230	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
231	"Bug 2090 - OJPEG crash with libjpeg v7".
232	http://bugzilla.maptools.org/show_bug.cgi?id=2090
233
2342009-09-03  Frank Warmerdam  <[email protected]>
235
236	* libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
237	interface when stoponerror is set.
238	http://bugzilla.maptools.org/show_bug.cgi?id=2071
239
2402009-08-30  Bob Friesenhahn  <[email protected]>
241
242	* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
243	fix build with gcc when using the "-Wformat
244	-Werror=format-security" flags.
245
2462009-08-29  Bob Friesenhahn  <[email protected]>
247
248	* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
249	ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
250	utilities tests.
251
2522009-08-28  Bob Friesenhahn  <[email protected]>
253
254	* tools/tiffinfo.c: tiffinfo should return error status to the
255	caller.  Register a private error callback to accomplish that.
256
257	* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
258	PNM formats so that we will be able to test more of the tools.
259	While adding these test images I notice that bmp2tiff and gif2tiff
260	only support ancient versions of their respective formats.
261
2622009-08-27  Bob Friesenhahn  <[email protected]>
263
264	* libtiff 4.0.0alpha4 released.
265
266	* HOWTO-RELEASE: Improved release instructions.
267
2682009-08-24  Bob Friesenhahn  <[email protected]>
269
270	* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
271	fixes for "Bug 2023 - nroff errors in manual pages".
272	http://bugzilla.maptools.org/show_bug.cgi?id=2023
273
274	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
275	CVE-2009-2347 libtiff: integer overflows in various inter-color
276	space conversion tools".
277	http://bugzilla.maptools.org/show_bug.cgi?id=2079
278
279	* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
280	Berkenbilt for "Bug 2024 - possible null pointer dereference with
281	one-line fix".
282	http://bugzilla.maptools.org/show_bug.cgi?id=2024
283
284	* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
285	from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
286	segfault after setting tdir_tag = IGNORE".
287	http://bugzilla.maptools.org/show_bug.cgi?id=1895
288
2892009-08-23  Bob Friesenhahn  <[email protected]>
290
291	* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
292	tiffcrop.sh into a collection of many specific tests.  Re-wrote
293	all of the existing tests to be based on some simple shell
294	functions.  Make distcheck works again.
295
296	Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
297	added 'memcheck' and 'ptrcheck' targets to make it easy to run the
298	tests under valgrind.
299
3002009-08-21  Bob Friesenhahn  <[email protected]>
301
302	* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
303	build.
304
305	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
306	actually activated since it needed to be enabled in this
307	Makefile.am.  Also activated parallel-tests mode since it offers
308	useful features such as per-test .log files and a summary test
309	report .log file.
310
3112009-08-20  Bob Friesenhahn  <[email protected]>
312
313	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
314	libtool 2.2.6.  Enabled support for silent build rules
315	(--enable-silent-rules or 'make V=0') and colorized tests.
316
317	* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
318
3192009-06-30  Frank Warmerdam  <[email protected]>
320
321	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
322
323	* tools/tiffcp.c: add -c sgilog support.
324
325	* libtiff/tif_luv.c: correct return codes from encoderow to be
326	1 on success instead of zero.
327	http://bugzilla.maptools.org/show_bug.cgi?id=2069
328
329	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
330	#1085 for a better underflow fix that errors properly.
331	http://bugzilla.maptools.org/show_bug.cgi?id=2065
332	http://bugzilla.maptools.org/show_bug.cgi?id=1985
333
3342009-06-26  Frank Warmerdam  <[email protected]>
335
336	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
337	fails on oddly sized 12bit jpeg compressed ycbcr images.
338
3392009-06-22  Frank Warmerdam  <[email protected]>
340
341	* libtiff/tif_lzw.c: Fix buffer underflow bug.
342	http://bugzilla.maptools.org/show_bug.cgi?id=2065
343
3442009-06-21  Frank Warmerdam  <[email protected]>
345
346	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
347	for dual mode 8/12 bit jpeg support.
348
3492009-06-03  Frank Warmerdam  <[email protected]>
350
351	* libtiff/tif_write.c: do not override the planar configuration to be
352	contig for one sample files if planar configuration is already set.
353	http://bugzilla.maptools.org/show_bug.cgi?id=2057
354
3552009-06-02  Frank Warmerdam  <[email protected]>
356
357	* libtiff/libtiff.def: Add TIFFUnsetField.
358
3592009-05-03  Frank Warmerdam  <[email protected]>
360
361	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
362	error reports to use "%s" as format string.
363	http://trac.osgeo.org/gdal/ticket/2976
364
3652009-03-12  Frank Warmerdam  <[email protected]>
366
367	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
368	for some codecs (#2020).
369
3702009-02-12  Frank Warmerdam  <[email protected]>
371
372	* libtiff/tif_luv.c: Fix handling of tiled logluv images.
373	http://bugzilla.maptools.org/show_bug.cgi?id=2005
374
3752009-02-09  Frank Warmerdam  <[email protected]>
376
377	* libtiff/tif_dirread.c: Improve allocation safety when allocated
378	buffer for large tags.  (#1998)  Related to (#1993)
379
3802009-02-06  Frank Warmerdam  <[email protected]>
381
382	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
383	test suite should pass.
384
3852009-02-05  Frank Warmerdam  <[email protected]>
386
387	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
388	but at the 2GB boundary to avoid overflow on 32bit systems.
389	http://bugzilla.maptools.org/show_bug.cgi?id=1993
390
391	* libtiff/tif_dirread.c: Remove some assertions that blow due to
392	corrupt files rather than in response to library internal
393	inconsistencies.
394	http://bugzilla.maptools.org/show_bug.cgi?id=1995
395	http://bugzilla.maptools.org/show_bug.cgi?id=1991
396
397	* libtiff/tif_dirread.c: Fixed testing for failed result from
398	TIFFReadDirectoryFindFieldInfo().
399	http://bugzilla.maptools.org/show_bug.cgi?id=1992
400
4012009-01-23  Frank Warmerdam  <[email protected]>
402
403	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
404	http://bugzilla.maptools.org/show_bug.cgi?id=1911
405
406	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
407
408	http://bugzilla.maptools.org/show_bug.cgi?id=1924
409
410	* tools/tiffcrop.c: initialize xres/yres values.
411
412	* test/*.sh - default ${srcdir} to local directory.
413
414	* test/common.sh - start verbose mode after common settings.
415
416	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
417	avoid type mismatches on different platforms.
418	http://bugzilla.maptools.org/show_bug.cgi?id=1889
419
4202009-01-22  Frank Warmerdam  <[email protected]>
421
422	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
423	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
424
425	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
426	defined, primarily to reduce prototype warnings on windows.
427
428	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
429	about unused parameters, and uninitialized variables.
430
4312009-01-21  Bob Friesenhahn  <[email protected]>
432
433	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
434	order to trace full execution detail while executing the test suite.
435
4362009-01-20  Frank Warmerdam  <[email protected]>
437
438	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
439
4402009-01-20  Bob Friesenhahn  <[email protected]>
441
442	* test/Makefile.am (CLEANFILES): Make sure that test output files
443	are removed by 'make clean'
444
445	* Update autotools for 4.0.0 beta3
446
447	* 4.0.0 beta3 produced.
448
4492009-01-12  Bob Friesenhahn  <[email protected]>
450
451	* test/tiffcrop.sh: New test script for tiffcrop from Richard
452	Nolde.
453
454	* tools/tiff2ps.c: Remove spurious message to stderr.
455
4562009-01-11  Bob Friesenhahn  <[email protected]>
457
458	* tools/tiff2ps.c: Incorporated significant functionality update
459	from Richard Nolde.  In particular, support for rotating the image
460	by 90, 180, 270, and 'auto' has been added.
461
462	* man/tiffcrop.1: Incorporated documentation updates from Richard
463	Nolde.
464
465	* tools/tiffcrop.c: Incorporated significant functionality update
466	from Richard Nolde.
467
4682008-12-31  Bob Friesenhahn  <[email protected]>
469
470	* libtiff/tiffio.h: GCC will now validate format specifications
471	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
472	TIFFWarningExt() in order to reveal bugs.
473
474	* Many fixes throughout to work better as a 64-bit build.
475
4762008-12-30  Bob Friesenhahn  <[email protected]>
477
478	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
479	tags now require 64-bit parameter rather than 32-bit.
480
481	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
482	64-bit values.
483
484	* tools/thumbnail.c: Eliminate crash noticed while running test
485	suite.
486
4872008-12-29  Bob Friesenhahn  <[email protected]>
488
489	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
490	Initialize stack variables to avoid compiler warning.
491
492	* tools/tiffinfoce.c (main): Use toff_t for offset type when
493	retrieving offset of EXIF IFD.
494
495	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
496	TIFFClientOpen() callback and other external function definitions.
497
498	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
499	type now.  Fixes crash when dumping files containing an EXIF IFD.
500
501	* m4/libtool.m4: Update to libtool 2.2.6.
502
5032008-12-21  Frank Warmerdam  <[email protected]>
504
505	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
506
507	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
508	strip for the last partial strip in a jpeg compressed file.
509	http://bugzilla.maptools.org/show_bug.cgi?id=1981
510
5112008-10-29  Frank Warmerdam  <[email protected]>
512
513	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
514	we take the shortcut to only update the strip/tile offsets in place.
515	http://trac.osgeo.org/gdal/ticket/2621
516
5172008-10-21  Andrey Kiselev  <[email protected]>
518
519	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
520	the older versions retained).
521
5222008-10-09  Frank Warmerdam  <[email protected]>
523
524	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
525	IPP enabled version of libjpeg from Intel.
526	http://bugzilla.maptools.org/show_bug.cgi?id=1951
527
5282008-09-05  Andrey Kiselev  <[email protected]>
529
530	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
531	Required for libtiff 4.0.
532
533	* tools/tiffsplit.c: Use dynamically allocated array instead of static
534	when constructing output file names.
535
5362008-09-03  Andrey Kiselev  <[email protected]>
537
538	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
539	doing the filename/path construction.
540
541	* tools/tiff2pdf.c: More appropriate format string in
542	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
543
544	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
545
546	http://bugzilla.maptools.org/show_bug.cgi?id=1929
547
548	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
549	CVE-2008-2327 security issue.
550
5512008-09-01  Frank Warmerdam  <[email protected]>
552
553	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
554
555	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
556	depending on whether the file is bigtiff or classic tiff.
557	http://bugzilla.maptools.org/show_bug.cgi?id=1917
558
5592008-08-12  Edward Lam  <[email protected]>
560
561	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
562	consistent (__int64) casting when testing if _lseeki64 has
563	successfully seeked as requested.  This is necessary for large
564	file support to work since off_t is only 32-bit.
565
5662008-07-29  Frank Warmerdam  <[email protected]>
567
568	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or
569	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
570	with control logic to return runtime errors (c/o Even Rouault) (#1927).
571
5722008-06-17  Frank Warmerdam  <[email protected]>
573
574	* tools/tiffcrop.c: Fix some portability problems.
575
576	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
577	used in tif_jpeg.c.
578
579	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
580	as TIFFOpen().
581
5822008-06-01  Frank Warmerdam  <[email protected]>
583
584	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
585	like Sparc/Solaris.
586	http://bugzilla.maptools.org/show_bug.cgi?id=1892
587
5882008-05-27  Frank Warmerdam  <[email protected]>
589
590	* libtiff.def: Add TIFFFindField
591	http://bugzilla.maptools.org/show_bug.cgi?id=1891
592
5932008-05-26  Frank Warmerdam  <[email protected]>
594
595	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
596
597	* li2008-04-15  Andrey Kiselev  <[email protected]>
598
599btiff/tif_win32.c: Replace custom Win32 memory api with generic
600	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
601	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
602
603	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
604	in windows version (care of Edward Lam).
605
6062008-05-24  Frank Warmerdam  <[email protected]>
607
608	* tif_codec.c: Avoid NULL pointer dereferencing for exotic
609	compression codec codes.
610
611	* tif_dirwrite.c: fix potential memory leak.
612
613	* tif_dirread.c: Fix unchecked malloc result.
614
6152008-05-24  Bob Friesenhahn  <[email protected]>
616
617	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
618	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
619	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
620	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
621	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
622	suggestions from Lee Howard posted to the tiff list on 13 Sep
623	2007.
624
6252008-05-23  Frank Warmerdam  <[email protected]>
626
627	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
628	possible runtime problem reported by coverity.
629
630	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
631
632	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
633	http://bugzilla.maptools.org/show_bug.cgi?id=1888
634
635	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
636
637	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
638
639	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
640	Cleanup scanline allocation to avoid coverity warning.
641
642	* tools/thumbnail.c: Check for TIFFOpen() failure.
643
6442008-05-18  Frank Warmerdam  <[email protected]>
645
646	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
647	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
648	why this is needed.
649
6502008-05-09  Bob Friesenhahn  <[email protected]>
651
652	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
653	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
654
6552008-04-15  Andrey Kiselev  <[email protected]>
656
657	* test/: Test suite updated. Everything is passed now.
658
659	* libtiff/tif_dirinfo.c: Fixed description of the
660	TIFFTAG_NUMBEROFINKS tag.
661
6622008-04-14  Andrey Kiselev  <[email protected]>
663
664	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
665	Get rid of some of "dereferencing type-punned" warnings by converting
666	tdir_offset field of TIFFDirEntry structure into union.
667
6682008-04-10  Andrey Kiselev  <[email protected]>
669
670	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
671	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
672	from the public interface. Type of its 'count' parameter changed
673	from uint32 to tmsize_t.
674
675	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
676	of the tiff structure have the size_t type instead of uint32.
677
6782008-04-09  Andrey Kiselev  <[email protected]>
679
680	* tools/tiffdump.c: Added support for MSVS 6.0.
681
682	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
683	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
684	point values on MSVS 6.0 platform.
685
6862008-03-14  Frank Warmerdam  <[email protected]>
687
688	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
689	TIFFReadDirEntryArray() since they are interfering with seemingly
690	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
691
6922008-02-09  Joris Van Damme  <[email protected]>
693
694	* tif_dirread.c: Added handling for the case of number of values for
695	PageNumber tag different from 2 (previously resulted in an assert
696	indicating lack of handling and was forgotten about)
697
6982008-02-01  Frank Warmerdam  <[email protected]>
699
700	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
701	the actual jpeg data stream if the first strip/tile has zero size.
702	This is the case when GDAL creates a new file with zero sizes, closes
703	and reopens it.
704
7052008-01-07  Frank Warmerdam  <[email protected]>
706
707	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
708
7092008-01-01  Frank Warmerdam  <[email protected]>
710
711	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
712
713	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
714	targets.
715
716	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
717	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
718	(x64).
719
720	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
721	and TIFFFieldWithName() now return TIFFField pointers instead of
722	TIFFFieldInfo pointers.
723
724	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
725	exist. This makes it compile again on Windows
726
727	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
728	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
729
730	* test/rewrite_tag.c: New test for TIFFRewriteField().
731
7322007-12-31  Frank Warmerdam  <[email protected]>
733
734	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
735	rewrites one field "on disk" updating an existing directory
736	entry.  Lots of limitations still...
737
738	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
739	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
740	the strip offset/size values are dirty but nothing else about the
741	directory is dirty.  In flush handle "just stripmaps dirty" as a
742	special case that just rewrites these values without otherwise
743	modifying the directory on disk using TIFFRewriteField().
744
745	We also modify logic so that in update mode the directory is not
746	marked dirty on read, but only when something is changed.  This
747	means we need to keep track of updates to the stripmap stuff in
748	TIFFAppendToStrip().
749
7502007-12-10  Frank Warmerdam  <[email protected]>
751
752	* tif_jpeg.c: Improve ability to switch between encoding and decoding
753	in the jpeg code (gdal bug #2033).
754
7552007-11-23  Frank Warmerdam  <[email protected]>
756
757	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
758	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
759	rawcp/rawcc buffer are for writing and thus may require flushing.
760	Necessary to distinguish whether they need to be written to disk when
761	in mixed read/write mode and doing a mixture of writing followed by
762	reading.  http://trac.osgeo.org/gdal/ticket/1758
763
7642007-11-23  Andrey Kiselev  <[email protected]>
765
766	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
767	from Alexey Chupahin.
768
7692007-11-02  Frank Warmerdam  <[email protected]>
770
771	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
772	establishing if an existing tile can be rewritten to the same location
773	by comparing the current size to all the other blocks in the same
774	directory.  This is dangerous in many situations and can easily
775	corrupt a file.  (observed in esoteric GDAL situation that's hard to
776	document).  This change involves leaving the stripbytecount[] values
777	unaltered till TIFFAppendToStrip().  Now we only write a block back
778	to the same location it used to be at if the new data is the same
779	size or smaller - otherwise we move it to the end of file.
780
781	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
782	data when writing the directory just because we have BEENWRITING at
783	some point in the past.  This was causing odd junk to be written out
784	in a tile of data when a single tile had an interleaving of reading
785	and writing with reading last.  (highlighted by gdal
786	autotest/gcore/tif_write.py test 7.
787
788	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
789	modifying callers buffer.
790	http://trac.osgeo.org/gdal/ticket/1965
791
792	* tif_predict.c/h: more fixes related to last item, keeping a
793	distinct pfunc for encode and decode cases as these were getting
794	mixed up sometimes.
795	http://trac.osgeo.org/gdal/ticket/1948
796
7972007-11-01  Frank Warmerdam  <[email protected]>
798
799	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
800	predictor based encoding and decoding works in read-write update
801	mode properly.
802	http://trac.osgeo.org/gdal/ticket/1948
803
8042007-10-24  Joris Van Damme  <[email protected]>
805
806	* tif_dirread.c: Fixed problem with bogus file triggering
807	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
808	ChopUpSingleUncompressedStrip
809
8102007-10-22  Joris Van Damme  <[email protected]>
811
812	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
813	at best, access violation at worst, when subsampled JPEG compressed imagery
814	is decoded without the JPEG_COLORMODE feature
815
8162007-10-11  Frank Warmerdam  <[email protected]>
817
818	* html/index.html: Update "people responsible" section.
819
8202007-10-05  Frank Warmerdam  <[email protected]>
821
822	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
823	as reported on the mailing list.
824
8252007-10-01  Joris Van Damme  <[email protected]>
826
827	* changed some more incorrect %lud printf flags to %lu
828
8292007-09-29  Joris Van Damme  <[email protected]>
830
831	* tif_dirread.c: Strip chopping interfered badly with uncompressed
832	subsampled images because it tried to divide subsampled rowblocks,
833	leading to all sorts of errors throughout the library for these
834	images. Fixed by making strip chopping divide in row counts that
835	are a multiple of vertical subsampling value.
836
8372007-09-28  Joris Van Damme  <[email protected]>
838
839	* tif_dirread.c: Logical cast working around compiler warning
840
841	* tif_read.c: Correction of some error flags and parameter lists
842
8432007-09-27  Joris Van Damme  <[email protected]>
844
845	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
846	when dealing with large bitspersample values, shutting up purification
847	tools that warn about truncation, though it remains incorrect and
848	indicates a conceptual problem there.
849
850	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
851	of first IFD) to proper place because it badly interfered with memory
852	mapping, resulting in mapping flag even with dummy mapping functions
853	that returned 0 whilst at the same time the mapping tif_size wasn't
854	set, thus resulting in continuous incorrect beyond-eof errors.
855
8562007-09-24  Joris Van Damme  <[email protected]>
857
858	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
859	inconsistent use of const in tiffFields and exifFields definition
860
8612007-09-20  Frank Warmerdam  <[email protected]>
862
863	* tif_dirwrite.c: Always write tile/strip offsets and sizes
864	using LONG8 type when output format is BigTIFF.  The
865	TIFFWriteDirectoryTagLongLong8Array() function was restructured
866	accordingly.
867
868	* tif_dirread.c: Improvements to error reporting text in
869	TIFFFetchDirectory().
870
8712007-09-19  Bob Friesenhahn  <[email protected]>
872
873	* test/images: Added a small collection of test images for use by
874	test programs and scripts.
875	* test/tiffinfo.sh: A trivial example test script.
876	* test/common.sh: Added small script for setting the environment
877	used by script-based tests.
878
8792007-08-24  Frank Warmerdam  <[email protected]>
880
881	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
882	zero when writing directory contents to preserve the ability to
883	rewrite directories in place, even in the middle of a directory
884	chain.
885
886	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
887	definitions that are missing.  Existing definitions are silently
888	ignored.
889
890	* tif_dirread.c: Add runtime error for fields for which no definition
891	is found (in addition to an assert for developers) in
892	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
893	prudent.
894
8952007-08-10  Joris Van Damme  <[email protected]>
896
897	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
898	from _TIFFRGBAImage structure to revert unwanted ABI change.
899
9002007-08-10  Joris Van Damme  <[email protected]>
901
902	* libtiff/tif_win32.c: use SetFilePointer instead of
903	SetFilePointerEx, as per bug
904
905	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
906
9072007-07-19  Andrey Kiselev  <[email protected]>
908
909	* libtiff/tif_stream.cxx: Put all callback functions declarations
910	inside extern "C" block.
911
912	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
913	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
914	formatter instead of "%lld" with MSVC compiler.
915
916	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
917	_TIFFUInt64ToDouble() functions.
918
9192007-07-18  Andrey Kiselev  <[email protected]>
920
921	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
922	integer constants.
923
924	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
925	remove tif_config.h/tiffconf.h during cleaning. As per bug
926
927	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
928
929	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
930
931	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
932
9332007-07-13  Andrey Kiselev  <[email protected]>
934
935	* libtiff 4.0.0alpha released.
936
9372007-07-12  Andrey Kiselev  <[email protected]>
938
939	* tools/tiff2pdf.c: Added missed extern optind as per bug
940
941	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
942
943	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
944	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
945	extending scheme completed.
946
9472007-07-11  Bob Friesenhahn  <[email protected]>
948
949	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
950	use standard C++ library size types and attempt to detect overflow
951	cases.
952
9532007-07-08  Andrey Kiselev  <[email protected]>
954
955	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
956	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
957	tag extending scheme. Use the new scheme everywhere.
958
959	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
960	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
961	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
962	TIFFFIeldInfo structure replaced with TIFFField structure.
963	TIFFFieldInfo retained for the backward compatibility.
964
9652007-07-05  Bob Friesenhahn  <[email protected]>
966
967	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
968	defined.
969
9702007-07-04  Andrey Kiselev  <[email protected]>
971
972	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
973	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
974	removed.
975
976	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
977	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
978	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
979	These tags are not codec-specific and relate to image content, so
980	process them as other normal tags.
981
982	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
983	public tiffio.h to private tif_dir.h.
984
985	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
986	outdated.
987
9882007-07-03  Andrey Kiselev  <[email protected]>
989
990	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
991	tif_win3.c}: Obsoleted portability stuff removed.
992
993	* tools/tiff2ps.c:  Added support 16-bit images as per bug
994
995	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
996
997	Patch from William Bader.
998
999	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
1000	significant upgrade of the whole utility as per bug
1001
1002	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
1003
1004	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
1005	PDF file using TIFFClientOpen() machinery as it is implemented
1006	by Leon Bottou.
1007
10082007-06-26  Bob Friesenhahn  <[email protected]>
1009
1010	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
1011	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
1012	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
1013	allow returning -1 for errors.
1014	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
1015
10162007-06-25  Bob Friesenhahn  <[email protected]>
1017
1018	* port/strtoull.c: New porting function in case strtoull() is not
1019	available on the target system.
1020	* configure.ac: Add configure support for determining sized types
1021	in a portable way and performing necessary substitutions in
1022	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
1023	definitions.
1024
10252007-04-27  Andrey Kiselev  <[email protected]>
1026
1027	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
1028
1029	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
1030
10312007-04-07  Andrey Kiselev  <[email protected]>
1032
1033	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
1034	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
1035	tif_predict.c, tif_zip.c}: Finally fix bug
1036
1037	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
1038
1039	by introducing _TIFFMergeFieldInfo() returning integer error status
1040	instead of void in case of problems with field merging (e.g., if the
1041	field with such a tag already registered). TIFFMergeFieldInfo() in
1042	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
1043	check returned value.
1044
10452007-04-07  Frank Warmerdam  <[email protected]>
1046
1047	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
1048	blocks in TIFF_DownSample_Subsampled() (bug 1542).
1049
10502007-04-06  Frank Warmerdam  <[email protected]>
1051
1052	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
1053	will convert from decompressor to compressor or compress to decompress
1054	if required by the force arguments.  This works around a problem in
1055	where the JPEGFixupTestSubsampling() may cause a decompressor to
1056	be setup on a directory when later a compressor is required with the
1057	force flag set.  Occurs with the addtiffo program for instance.
1058
10592007-04-06  Andrey Kiselev  <[email protected]>
1060
1061	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
1062	functionality from Richard Nolde. As per bug
1063
1064	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
1065
10662007-03-28  Frank Warmerdam  <[email protected]>
1067
1068	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
1069
10702007-03-17  Joris Van Damme  <[email protected]>
1071
1072	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
1073
10742007-03-07  Joris Van Damme  <[email protected]>
1075
1076	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
1077	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
1078	factor. This bug is mentioned in:
1079	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
1080	http://www.asmail.be/msg0054766825.html
1081
10822007-03-07  Joris Van Damme  <[email protected]>
1083
1084	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
1085
1086	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
1087	unused arguments by standard C indication for the same
1088
10892007-02-27  Andrey Kiselev  <[email protected]>
1090
1091	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
1092	counters in TIFFFetchData(). Should finally fix the issue
1093
1094	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1095
10962007-02-24  Andrey Kiselev  <[email protected]>
1097
1098	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
1099	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
1100
1101	* libtiff/tif_dirread.c: Added special function to handle
1102	SubjectDistance EXIF tag as per bug
1103
1104	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
1105
1106	* tools/tiff2pdf.c: Do not assume inches when the resolution units
1107	do not specified. As per bug
1108
1109	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
1110
1111	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
1112	it was set as infinite. As per bug
1113
1114	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
1115
1116	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
1117	by Richard Nolde. As per bug
1118
1119	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
1120
11212007-02-22  Andrey Kiselev  <[email protected]>
1122
1123	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
1124	ExtraSamples == 999 produced by Corel Draw. As per bug
1125
1126	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
1127
1128	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
1129	changed from tsize_t to uint32 to be able to work with data arrays
1130	larger than 2GB. Fixes bug
1131
1132	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1133
1134	Idea submitted by Matt Hancher.
1135
11362007-01-31  Andrey Kiselev  <[email protected]>
1137
1138	* tools/tif2rgba.c: This utility does not work properly on big-endian
1139	architectures. It was fixed including the bug
1140
1141	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
1142
11432007-01-15  Mateusz Loskot <[email protected]>
1144
1145	* Submitted libtiff port for Windows CE platform
1146	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
1147	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
1148	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
1149	functons from tif_win32.c.
1150	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
1151	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
1152	standard header files for Windows CE build.
1153	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
1154
11552006-11-19  Frank Warmerdam  <[email protected]>
1156
1157	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
1158	we move a strip.
1159	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
1160
11612006-10-13  Andrey Kiselev  <[email protected]>
1162
1163	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
1164	in Gentoo bug ():
1165
1166	http://bugs.gentoo.org/show_bug.cgi?id=142383
1167
1168	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
1169	Though it is still far from the state of being working and useful.
1170
11712006-10-12  Andrey Kiselev  <[email protected]>
1172
1173	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
1174	method.
1175
1176	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
1177	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
1178
1179	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
1180	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
1181
1182	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
1183	vulnerabilities, reported in Gentoo bug ():
1184
1185	http://bugs.gentoo.org/show_bug.cgi?id=142383
1186
11872006-09-28  Andrey Kiselev  <[email protected]>
1188
1189	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
1190	vulnerabilities, as per	Gentoo bug ():
1191
1192	http://bugs.gentoo.org/show_bug.cgi?id=142383
1193
11942006-09-27  Frank Warmerdam  <[email protected]>
1195
1196	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
1197	encoding and decoding on the same read-write TIFF handle.  The LZW
1198	code can now maintain encode and decode state at the same time. The
1199	ZIP code will switch back and forth as needed.
1200	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
1201
12022006-09-20  Frank Warmerdam  <[email protected]>
1203
1204	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
1205	tif_config.vc.h for easier identification by folks using an IDE.
1206
12072006-07-25  Frank Warmerdam  <[email protected]>
1208
1209	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
1210
12112006-07-19  Frank Warmerdam  <[email protected]>
1212
1213	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
1214	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
1215	to bug report by Peng Gao with black strip at bottom of images.
1216
12172006-07-12  Frank Warmerdam  <[email protected]>
1218
1219	* tif_dirwrite.c: make sure to use uint32 for wordcount in
1220	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
1221	It already seems to have been done for other field types.  Needed
1222	for "tiffset" on files with geotiff ascii text.
1223
12242006-07-04  Bob Friesenhahn  <[email protected]>
1225
1226	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
1227	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
1228	its use does not appear to be required, so use it only when it is
1229	available.
1230
12312006-06-24  Andrey Kiselev  <[email protected]>
1232
1233	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
1234
1235	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
1236	function TIFFFetchDirectory() avoiding code duplication in
1237	TIFFReadDirectory() and TIFFReadCustomDirectory().
1238
12392006-06-19  Frank Warmerdam  <[email protected]>
1240
1241	* tools/tiff2pdf.c: Fix handling of -q values.
1242	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
1243
12442006-06-17  Frank Warmerdam  <[email protected]>
1245
1246	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
1247	files.  Modified TIFFReadDirectory() to not invoke
1248	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
1249	but one of them is zero.
1250	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
1251
12522006-06-08  Andrey Kiselev  <[email protected]>
1253
1254	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
1255	checking code in the separate function TIFFCheckDirOffset().
1256
1257	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
1258
1259	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
1260
1261	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
1262
1263	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
1264
1265	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
1266
1267	* tools/tiff2pdf.c: Fixed buffer overflow condition in
1268	t2p_write_pdf_string() as per bug
1269
1270	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
1271
12722006-06-07  Andrey Kiselev  <[email protected]>
1273
1274	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
1275	support for JBIG compression scheme (34661 code) contributed by Lee
1276	Howard. As per bug
1277
1278	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
1279
1280	* configure, configure.ac: OJPEG support enabled by default.
1281
1282	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
1283
12842006-06-03  Bob Friesenhahn  <[email protected]>
1285
1286	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
1287	TIFFPrintDirectory().  Joris Van Damme authored the fix.
1288
12892006-04-21  Andrey Kiselev  <[email protected]>
1290
1291	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
1292	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
1293
1294	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
1295	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
1296	Added support for OpenVMS by Alexey Chupahin, [email protected].
1297
12982006-04-20  Andrey Kiselev  <[email protected]>
1299
1300	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
1301	Properly set the binary mode for stdin stream as per bug
1302	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
1303
1304	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
1305	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
1306	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
1307	tiffset.1}: Improvements in page formatting as per bug
1308	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
1309
1310	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
1311	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
1312
13132006-04-18  Frank Warmerdam  <[email protected]>
1314
1315	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
1316	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
1317
13182006-04-12  Joris Van Damme  <[email protected]>
1319
1320	* libtiff/tif_getimage.c: Added support for planarconfig separate
1321	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
1322
13232006-04-11  Joris Van Damme  <[email protected]>
1324
1325	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
1326	- Conversion of unassociated alpha to associated alpha now done with
1327	  more performant LUT, and calculation more correct
1328	- Conversion of 16bit data to 8bit data now done with
1329	  more performant LUT, and calculation more correct
1330	- Bugfix of handling of 16bit RGB with unassociated alpha
1331
13322006-04-11  Joris Van Damme  <[email protected]>
1333
1334	* libtiff/tif_getimage.c:
1335	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
1336	  buffer for alpha strile and filled it, only to never read it back.
1337	  Removed allocation and fill.
1338	- Minor rename of vars in gtTileSeparate and gtStripSeparate
1339	  anticipating planned functionality extension
1340
13412006-04-08  Joris Van Damme  <[email protected]>
1342
1343	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
1344	and pickTileSeparateCase to PickSeparateCase as both work on strips as
1345	well
1346
1347	* libtiff/tif_getimage.c: moved img->get selection from
1348	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
1349	logical hook for planned functionality extension
1350
13512006-04-08  Joris Van Damme  <[email protected]>
1352
1353	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
1354	of inappropriate use of jpeg_abort instead of jpeg_destroy
1355
13562006-04-07  Joris Van Damme  <[email protected]>
1357
1358	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
1359	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
1360	on subsampled images - this ought to get sorted when we feel brave
1361	enough to replace TIFFScanlineSize alltogether
1362
1363	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
1364
13652006-04-04  Joris Van Damme  <[email protected]>
1366
1367	* libtiff/tiffio.h: added new type tstrile_t
1368
1369	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
1370	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
1371	toff_t*
1372
1373	* libtiff/tif_ojpeg.c: totally new implementation
1374
1375	* libtiff/tif_dirread.c: added several hacks to suit new support of
1376	OJPEG
1377
1378	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
1379	of OJPEG images in favor of tif_getimage.c native handling of
1380	YCbCr and desubsampling
1381
13822006-03-29  Frank Warmerdam  <[email protected]>
1383
1384	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
1385	interpretation causes the "upsampled" flag to be recomputed.  Fixes
1386	peculiar bug where photometric flag had to be set before jpegcolormode
1387	flag.
1388
13892006-03-25  Joris Van Damme  <[email protected]>
1390
1391	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
1392
1393	* libtiff/tif_strip.c: temporarilly added two new versions of
1394	TIFFScanlineSize
1395	  - TIFFNewScanlineSize: proposed new version, after all related
1396	    issues and side-effects are sorted out
1397	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
1398	This needs further sorting out.
1399
14002006-03-25  Joris Van Damme  <[email protected]>
1401
1402	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
1403	of last truncated strip data to TIFFWriteEncodedStrip
1404
14052006-03-25  Joris Van Damme  <[email protected]>
1406
1407	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
1408
14092006-03-25  Joris Van Damme  <[email protected]>
1410
1411	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
1412
1413	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
1414
1415	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
1416	prepare	the path for new tif_ojpeg.c
1417
14182006-03-23  Andrey Kiselev  <[email protected]>
1419
1420	* libtiff 3.8.2 released.
1421
1422	* tools/Makefile.am: Use runtime paths linker flags when rpath
1423	option enabled.
1424
14252006-03-21  Andrey Kiselev  <[email protected]>
1426
1427	* libtiff/libtiff.def: Added missed exports as per bug
1428	http://bugzilla.remotesensing.org/attachment.cgi?id=337
1429
1430	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
1431	tools/Makefile.vc: Makefiles improvements as per bug
1432	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
1433
1434	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
1435	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
1436	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
1437
1438	* libtiff/tif_strip.c: Take subsampling in account when calculating
1439	TIFFScanlineSize().
1440
1441	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
1442
14432006-03-17  Andrey Kiselev  <[email protected]>
1444
1445	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
1446	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
1447
1448	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
1449	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
1450
14512006-03-16  Andrey Kiselev  <[email protected]>
1452
1453	* libtiff/tiffiop.h: Added decalration for
1454	_TIFFSetDefaultCompressionState().
1455
1456	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
1457	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
1458	codec cleanup methods. As per bug
1459
1460	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
1461
14622006-03-15  Andrey Kiselev  <[email protected]>
1463
1464	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
1465	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
1466
1467	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
1468	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
1469
1470	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
1471	removed; move here the STRIP_SIZE_DEFAULT macro definition.
1472
1473	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
1474	macro definition.
1475
1476	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
1477
14782006-03-14  Andrey Kiselev  <[email protected]>
1479
1480	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
1481	in TIFFReadDirectory, because it is always set at the start of
1482	function and we allow TIFFs without that tag set.
1483
14842005-03-13  Andrey Kiselev  <[email protected]>
1485
1486	* libtiff 3.8.1 released.
1487
14882006-03-07  Andrey Kiselev  <[email protected]>
1489
1490	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
1491	function as per bug
1492	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1493
1494	* libtiff/tif_dirread.c: More wise check for integer overflow
1495	condition as per bug
1496	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1497
1498	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
1499	Properly restore setfield/getfield methods in cleanup functions. As
1500	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1501
15022006-03-03  Andrey Kiselev  <[email protected]>
1503
1504	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
1505	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
1506
1507	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
1508	TIFFPredictorCleanup() in codec cleanup methods. As per bug
1509
1510	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1511
1512	* libtiff/tif_dirread.c: Fixed integer overflow condition in
1513	TIFFFetchData() function. As per bug
1514
1515	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1516
15172006-03-01  Andrey Kiselev  <[email protected]>
1518
1519	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
1520	TIFFSetField() method, not directly. As per bug
1521
1522	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
1523
1524	* tools/ppm2tiff.c: Added support for PBM files as per bug
1525	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
1526
15272006-02-27  Andrey Kiselev  <[email protected]>
1528
1529	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
1530	to avoid crash as per bug
1531
1532	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
1533
15342006-02-26  Andrey Kiselev  <[email protected]>
1535
1536	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
1537	t2p_sample_rgba_to_rgb() was used in place of each other, that was
1538	resulted in problems with RGBA images with associated alpha.
1539	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
1540
15412006-02-23  Andrey Kiselev  <[email protected]>
1542
1543	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
1544	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1545
1546	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
1547	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
1548	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1549
1550	* tools/tiff2ps.c: Properly scale all the pages when converting
1551	multipage TIFF with /width/height/center options set. As per bug
1552
1553	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
1554
15552006-02-15  Andrey Kiselev  <[email protected]>
1556
1557	* tools/tiff2pdf.c: Do not create output file until all option checks
1558	will be done. As per bug
1559
1560	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
1561
1562	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
1563	list of input files as per bug:
1564
1565	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
1566
15672006-02-09  Andrey Kiselev  <[email protected]>
1568
1569	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
1570	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
1571
1572	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
1573	TIFFRGBAImage interface.
1574
1575	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
1576	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
1577
15782006-02-07  Frank Warmerdam  <[email protected]>
1579
1580	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
1581	compressed TIFF files, per submission from Dan Cobra.
1582
15832006-02-07  Andrey Kiselev  <[email protected]>
1584
1585	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
1586	cast values to avoid warnings. As per bug
1587	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1588
1589	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
1590	appropriate. As per bug
1591	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1592
1593	* libtiff/tif_aux.c: Fixed type of temporary variable in
1594	_TIFFCheckMalloc() as per bug
1595	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1596
15972006-02-06  Andrey Kiselev  <[email protected]>
1598
1599	* libtiff/tif_aux.c: Return static array when fetching default
1600	YCbCrCoefficients (another problem, reported a the
1601	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
1602
16032006-02-03  Andrey Kiselev  <[email protected]>
1604
1605	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
1606	YCbCrSubsampling and DotRange tags as per bugs
1607
1608	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
1609	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
1610
1611	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
1612	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
1613
1614	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
1615
16162006-01-23  Andrey Kiselev  <[email protected]>
1617
1618	* libtool related stuff updated from the 2.1a branch.
1619
16202006-01-11  Frank Warmerdam  <[email protected]>
1621
1622	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
1623	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
1624	properly as per bug:
1625	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
1626
16272006-01-09  Bob Friesenhahn  <[email protected]>
1628
1629	* configure.ac: Fix with_default_strip_size comparison as reported
1630	by Norihiko Murase.
1631
16322006-01-08  Bob Friesenhahn  <[email protected]>
1633
1634	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
1635	incorrectly, tests were not actually testing the uninstalled
1636	libtiff.  Now they are.
1637
16382006-01-04  Andrey Kiselev  <[email protected]>
1639
1640	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
1641	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
1642	should be uint32 value.
1643
16442006-01-02  Bob Friesenhahn  <[email protected]>
1645
1646	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
1647	be used if build directory is not the same as source directory.
1648	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
1649	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
1650	and re-sorted tag names in alphabetical order.
1651
16522005-12-29  Andrey Kiselev  <[email protected]>
1653
1654	* libtiff 3.8.0 released.
1655
16562005-12-28  Bob Friesenhahn  <[email protected]>
1657
1658	* tools/bmp2tiff.c (main): Fixed warning regarding returning
1659	inconsistent types from a condition.
1660	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
1661	format.
1662	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
1663
16642005-12-28  Joris Van Damme  <[email protected]>
1665
1666	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
1667
16682005-12-27  Andrey Kiselev  <[email protected]>
1669
1670	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
1671	windows.h, to reduce the compile time.
1672
16732005-12-26  Bob Friesenhahn  <[email protected]>
1674
1675	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
1676
16772005-12-26  Andrey Kiselev  <[email protected]>
1678
1679	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
1680	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
1681	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
1682	private functions to retrieve FieldInfo arrays.
1683
16842005-12-24  Bob Friesenhahn  <[email protected]>
1685
1686	* html/build.html: Added some additional instructions for when
1687	building using MSVC under Windows.  Also fixed two HTML syntax
1688	errors and used HTML Tidy to tidy up the HTML syntax and
1689	formatting.
1690
16912005-12-24  Andrey Kiselev  <[email protected]>
1692
1693	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
1694	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
1695	StoNits tags custom.
1696
16972005-12-23  Andrey Kiselev  <[email protected]>
1698
1699	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
1700	WhitePoint tag custom.
1701
1702	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
1703
17042005-12-23  Joris Van Damme  <[email protected]>
1705
1706	* libtiff/tiffio.h: fixed typo that potentially resulted in
1707	redefininition of USE_WIN32_FILEIO
1708
1709	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
1710	calls in core LibTiff.
1711
17122005-12-21  Andrey Kiselev  <[email protected]>
1713
1714	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
1715	Photoshop and ICCProfile tags custom.
1716
17172005-12-21  Joris Van Damme  <[email protected]>
1718
1719	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
1720	newer code to get context indicator in error handler and still
1721	remain compatible with older code: Done TIFFError calls everywhere
1722	except in tools
1723
17242005-12-20  Andrey Kiselev  <[email protected]>
1725
1726	* tools/tiffcp.c: Added many error reporting messages; fixed integer
1727	overflow as per bug
1728
1729	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
1730
17312005-12-16  Frank Warmerdam  <[email protected]>
1732
1733	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
1734	YCbCr images in jpeg compressed TIFF files.
1735
17362005-12-14  Andrey Kiselev  <[email protected]>
1737
1738	* tools/tiffcp.c: Return non-zero status when reading fails (again).
1739
17402005-12-13  Andrey Kiselev  <[email protected]>
1741
1742	* tools/tiffcp.c: Return non-zero status when reading fails.
1743
17442005-12-12  Andrey Kiselev  <[email protected]>
1745
1746	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
1747
17482005-12-09  Andrey Kiselev  <[email protected]>
1749
1750	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
1751	custom.
1752
1753	* tools/tiffinfo.c: Print EXIF directory contents if exist.
1754
1755	* libtiff/tiff.h: Few EXIF tag numbers added.
1756
1757	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
1758	tiffio.h}: Preliminary support to read custom directories. New
1759	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
1760
17612005-12-07  Andrey Kiselev  <[email protected]>
1762
1763	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
1764	More work to implement custom directory read support.
1765
1766	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
1767	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
1768	tags custom.
1769
17702005-12-05  Andrey Kiselev  <[email protected]>
1771
1772	* libtiff/tif_dirread.c: One more workaround for broken
1773	StripByteCounts tag. Handle the case when StripByteCounts array filled
1774	with completely wrong values.
1775
17762005-11-30  Andrey Kiselev  <[email protected]>
1777
1778	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
1779	in the TIFFOpenW() function as per bug
1780
1781	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
1782
1783	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
1784	functions as per bug
1785
1786	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
1787
17882005-11-20  Frank Warmerdam  <[email protected]>
1789
1790	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
1791	for MS MDI format.
1792	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
1793
1794	* .cvsignore: many files added, and a few update according
1795	to suggestion of Brad HArds on tiff mailing list.
1796
17972005-11-03  Frank Warmerdam  <[email protected]>
1798
1799	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
1800	public.
1801
18022005-10-31  Andrey Kiselev  <[email protected]>
1803
1804	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
1805	as per bug
1806
1807	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
1808
1809	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
1810	as per bug
1811
1812	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
1813
1814	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
1815	problem as per bug
1816
1817	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
1818
1819	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
1820
1821	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
1822
1823	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
1824	ResolutionUnit tags modifiable during write process. As per bug
1825
1826	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
1827
1828	* tools/tiffsplit.c: Copy fax related fields over splitted parts
1829	as per bug
1830
1831	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
1832
18332005-10-21  Frank Warmerdam  <[email protected]>
1834
1835	* tif_dirread.c: Don't try and split single strips into "0" strips
1836	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
1837	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
1838
18392005-10-20  Joris Van Damme  <[email protected]>
1840
1841	* tif_fax3.c: changed 'at scanline ...' style warning/errors
1842	with incorrect use of tif_row, to 'at line ... of
1843	strip/tile ...' style
1844
18452005-10-15  Frank Warmerdam  <[email protected]>
1846
1847	* tif_write.c: fixed setting of planarconfig as per bug report
1848	on the mailing list from Joris.
1849
18502005-10-07  Andrey Kiselev  <[email protected]>
1851
1852	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
1853	tif_dirread.c}: Make the default strip size configurable via the
1854	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
1855
18562005-09-30  Bob Friesenhahn  <[email protected]>
1857
1858	* html/support.html: Fixed link to documentation on Greg Ward's
1859	LogLuv TIFF format.
1860
18612005-09-28  Andrey Kiselev  <[email protected]>
1862
1863	* tools/tiffdump.c: Fixed crash when reading malformed tags.
1864
18652005-09-20  Andrey Kiselev  <[email protected]>
1866
1867	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
1868	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
1869
18702005-09-12  Andrey Kiselev  <[email protected]>
1871
1872	* libtiff 3.7.4 released.
1873
1874	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
1875	from Patrick Welche (all scripts moved in the 'config' and 'm4'
1876	directories).
1877
18782005-09-12  Frank Warmerdam  <[email protected]>
1879
1880	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
1881
18822005-09-05  Frank Warmerdam  <[email protected]>
1883
1884	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
1885	also set it to NULL to avoid double free when re-setting custom
1886	string fields as per:
1887
1888	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
1889
18902005-08-12  Frank Warmerdam  <[email protected]>
1891
1892	* libtiff/tif_print.c: avoid signed/unsigned warning.
1893
1894	* libtiff/tif_dirread.c: removed unused variable.
1895
18962005-07-30  Frank Warmerdam  <[email protected]>
1897
1898	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
1899	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
1900	pass on bigendian (macosx) system.
1901
19022005-07-28  Andrey Kiselev  <[email protected]>
1903
1904	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
1905	CheckMalloc() function to _TIFFCheckMalloc() and make it available
1906	globally as an internal helper routine.
1907
19082005-07-27  Andrey Kiselev  <[email protected]>
1909
1910	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
1911	the custom tags handling code.
1912
19132005-07-26  Andrey Kiselev  <[email protected]>
1914
1915	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
1916	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
1917	function, use TIFFFetchNormalTag() instead as per bug
1918
1919	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
1920
1921	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
1922	instead.
1923
1924	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
1925
1926	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
1927
19282005-07-25  Andrey Kiselev  <[email protected]>
1929
1930	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
1931
1932	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
1933
19342005-07-21  Andrey Kiselev  <[email protected]>
1935
1936	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
1937	the TIFFWriteCheck() function in case of single band images (as per
1938	TIFF spec).
1939
19402005-07-12  Andrey Kiselev  <[email protected]>
1941
1942	* SConstruct, libtiff/SConstruct: Added the first very preliminary
1943	support for SCons software building tool (http://www.scons.org/).
1944	This is experimental infrastructure and it will exist along with the
1945	autotools mechanics.
1946
19472005-07-07  Andrey Kiselev  <[email protected]>
1948
1949	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
1950	the NetBSD source tree (the old	4-clause BSD license changed to
1951	the new 3-clause one).
1952
1953	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
1954	replacement module.
1955
1956	* port/dummy.c: Make the dummy function static.
1957
19582005-07-06  Andrey Kiselev  <[email protected]>
1959
1960	* tools/tiffcp.c: Fixed WhitePoint tag copying.
1961
1962	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
1963	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
1964	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
1965
19662005-07-04  Andrey Kiselev  <[email protected]>
1967
1968	* libtiff 3.7.3 released.
1969
1970	* configure, configure.ac: Do not use empty -R option when linking
1971	with --enable-rpath.
1972
19732005-07-01  Andrey Kiselev  <[email protected]>
1974
1975	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
1976	reading the first IFD when needed. As per bug
1977
1978	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
1979
1980	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
1981	effects.
1982
19832005-06-23  Andrey Kiselev  <[email protected]>
1984
1985	* tools/tiff2pdf.c: Print two characters per loop in the
1986	t2p_write_pdf_trailer(). As per bug
1987
1988	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
1989
1990	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
1991	per bug
1992
1993	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
1994
1995	* acinclude.m4: Updated to latest OpenGL test macros versions.
1996
1997	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
1998	platform. As per bug
1999
2000	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
2001
20022005-06-14  Andrey Kiselev  <[email protected]>
2003
2004	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
2005	and YClipPathUnits tags.
2006
20072005-06-07  Andrey Kiselev  <[email protected]>
2008
2009	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
2010	use pixel sized shift in contigous case.
2011
20122005-06-06  Andrey Kiselev  <[email protected]>
2013
2014	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
2015	Make overviews working for contiguos images.
2016
20172005-06-03  Andrey Kiselev  <[email protected]>
2018
2019	* libtiff/tif_open.c: Replace runtime endianess check with the compile
2020	time one.
2021
2022	* libtiff/tif_predict.c: Floating point predictor now works on
2023	big-endian hosts.
2024
20252005-06-01  Andrey Kiselev  <[email protected]>
2026
2027	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
2028	ASCII values.
2029
2030	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
2031	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
2032	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
2033	TargetPrinter tags custom.
2034
2035	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
2036	TIFF_CODERSETUP flag (to fix memry leaks).
2037
2038	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
2039	allocating.
2040
20412005-05-26  Andrey Kiselev  <[email protected]>
2042
2043	* configure.ac, libtiff/Makefile.am: Added workaround for
2044	OpenBSD/MirOS soname problem as per bug
2045
2046	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
2047
2048	* libtiff/tif_dirwrite.c: Use tdir_count when calling
2049	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
2050	per bug
2051
2052	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
2053
20542005-05-25  Andrey Kiselev  <[email protected]>
2055
2056	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
2057	the fscanf() function. As per bug
2058
2059	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
2060
2061	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
2062	uint16 array when fetching the BYTE and SBYTE filds, so we should
2063	consider result as pointer to uint16 array and not as array of chars.
2064	As per bug
2065
2066	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
2067
2068	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
2069
2070	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
2071
2072	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
2073	mode in CreateFile() call as per bug
2074
2075	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
2076
2077	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
2078	libtiffxx libraries as per bug
2079
2080	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
2081
2082	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
2083	GDAL.
2084
20852005-05-23  Frank Warmerdam  <[email protected]>
2086
2087	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
2088	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
2089	in directory.
2090
20912005-05-22  Frank Warmerdam  <[email protected]>
2092
2093	* libtiff/tif_dirread.c: Changed the code that computes
2094	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
2095	zero. This is a common case with GDAL indicating a "null" tile/strip.
2096
20972005-05-17  Andrey Kiselev  <[email protected]>
2098
2099	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
2100
21012005-05-06  Frank Warmerdam  <[email protected]>
2102
2103	* libtiff/tif_dirread.c: Applied similar change to
2104	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
2105
2106	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2107
2108	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
2109
21102005-05-06  Andrey Kiselev  <[email protected]>
2111	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
2112	added new option '-b' to use interpolation in output PDF files (Bruno
2113	Ledoux).
2114
21152005-05-05  Frank Warmerdam  <[email protected]>
2116
2117	* libtiff/tif_dirread.c: Ensure that broken files with too many
2118	values in PerSampleShorts work ok instead of crashing.
2119
2120	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2121
21222005-04-27  Andrey Kiselev  <[email protected]>
2123
2124	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
2125	input file.
2126
21272005-04-15  Andrey Kiselev  <[email protected]>
2128
2129	* libtiff/tif_predict.c: Added ability to encode floating point
2130	predictor, as per TIFF Technical Note 3.
2131
21322005-04-14  Andrey Kiselev  <[email protected]>
2133
2134	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
2135	floating point predictor, as per TIFF Technical Note 3.
2136
21372005-04-13  Andrey Kiselev  <[email protected]>
2138
2139	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
2140	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
2141	swap 24-bit floating point values.
2142
2143	* libtiff/tiff.h: Added predictor constants.
2144
21452005-04-08  Andrey Kiselev  <[email protected]>
2146
2147	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
2148	values in _TIFFVSetField() function. Inspired by the bug
2149
2150	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2151
2152	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
2153	as per bug
2154
2155	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2156
21572005-03-30  Andrey Kiselev  <[email protected]>
2158
2159	* libtiff/tif_open.c: Do not read header in case the output file
2160	should be truncated (Ron).
2161
2162	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
2163	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
2164
2165	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
2166
21672005-03-22  Andrey Kiselev  <[email protected]>
2168
2169	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
2170	rpath option.
2171
21722005-03-21  Andrey Kiselev  <[email protected]>
2173
2174	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
2175	tags.
2176
21772005-03-18  Andrey Kiselev  <[email protected]>
2178
2179	* libtiff/dirinfo.c: Added DNG tags.
2180
2181	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
2182	handling code.
2183
2184	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
2185	added DNG 1.1.0.0 tags.
2186
2187	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
2188	bug
2189
2190	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
2191
2192	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
2193
21942005-03-17  Andrey Kiselev  <[email protected]>
2195
2196	* nmake.opt: Build with Win32 CRT library by default.
2197
2198	* tools/tiff2ps.c: Fixed typo in page size handling code.
2199
2200	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
2201	by value.
2202
2203	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
2204
22052005-03-15  Andrey Kiselev  <[email protected]>
2206
2207	* libtiff 3.7.2 released.
2208
22092005-03-09  Andrey Kiselev  <[email protected]>
2210
2211	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
2212	floating point data; complain on unsupported bit depths.
2213
22142005-03-05  Andrey Kiselev  <[email protected]>
2215
2216	* tif_stream.cxx: Use ios namespace instead of ios_base to support
2217	GCC 2.95.
2218
2219	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
2220	Lee Howard for HylaFax DCS tag
2221	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
2222
22232005-03-04  Andrey Kiselev  <[email protected]>
2224
2225	* configure, configure.ac: Use -rpath option instead of -R as per bug
2226
2227	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
2228
2229	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
2230	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
2231	software. As per bug
2232
2233	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
2234
2235	* nmake.opt, html/build.html: Add more comments, change the config
2236	file organization a bit as per bug
2237
2238	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
2239
2240	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
2241	as per bug
2242
2243	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
2244
22452005-03-03  Andrey Kiselev  <[email protected]>
2246
2247	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
2248	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
2249
2250	* tools/fax2ps.c: Replace insecure mktemp() function with the
2251	tmpfile() as per bug
2252
2253	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
2254
22552005-02-04  Andrey Kiselev  <[email protected]>
2256
2257	* libtiff/tiff.h: Changed the int8 definition to be always signed char
2258	as per bug
2259
2260	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
2261
2262	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
2263	block as per bug
2264
2265	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
2266
22672005-02-03  Bob Friesenhahn  <[email protected]>
2268
2269	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
2270	display more correctly.  Images display brighter than they should
2271	on a Sun workstation.
2272
22732005-02-03  Andrey Kiselev  <[email protected]>
2274
2275	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
2276	suspicious values in the tags. As per bugs
2277
2278	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
2279
2280	and
2281
2282	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
2283
2284	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
2285
2286	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
2287
22882005-01-31  Bob Friesenhahn  <[email protected]>
2289
2290	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
2291	(TIFFTAG_TILELENGTH): Corrected description.
2292
22932005-01-30  Andrey Kiselev  <[email protected]>
2294
2295	* configure.ac: Fixes for --with-docdir option as per bug
2296
2297	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
2298
2299	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
2300	bug
2301
2302	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
2303
2304	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
2305	Michael Rinne and Edward Lam.
2306
23072005-01-15  Andrey Kiselev  <[email protected]>
2308
2309	* configure.ac: Make the documentation directory location configurable
2310	via the --with-docdir option (as suggested by Jeremy C. Reed).
2311
2312	* libtiff/tif_color.c: Use double as the second argument of pow()
2313	function in TIFFCIELabToRGBInit(). As per bug
2314
2315	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
2316
2317	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
2318	integer as per bug
2319
2320	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
2321
2322	* libtiff/tif_getimage.c: Always fill the error message buffer in
2323	TIFFRGBAImageBegin() as per bug
2324
2325	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
2326
23272005-01-12  Andrey Kiselev  <[email protected]>
2328
2329	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
2330	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
2331	tags as per bug
2332
2333	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
2334
2335	* libtiff/tif_win32.c: Fixed message formatting in functions
2336	Win32WarningHandler() and Win32ErrorHandler() as per bug
2337
2338	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
2339
2340	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
2341	per bug
2342
2343	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
2344
23452005-01-11  Andrey Kiselev  <[email protected]>
2346
2347	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
2348	"C"' section as per bug
2349
2350	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
2351
2352	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
2353	compiler to avoid double definition of BSD types as per bug
2354
2355	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2356
2357	* libtiff/Makefile.am: Place the C++ stream API in the separate
2358	library called libtiffxx to avoid unneeded dependencies. Probably
2359	there will be more C++ API in the future. As per bugs
2360
2361	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
2362
2363	and
2364
2365	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2366
23672005-01-05  Andrey Kiselev  <[email protected]>
2368
2369	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
2370	wrong tag counts (Dmitry V. Levin, Martin Pitt).
2371
2372	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
2373	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2374
23752004-12-25  Andrey Kiselev  <[email protected]>
2376
2377	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
2378	RGB-images as per bug
2379
2380	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2381
2382
2383	* tools/tiffset.c: Convert character option to integer value as per
2384	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
2385
23862004-12-20  Andrey Kiselev  <[email protected]>
2387
2388	* libtiff 3.7.1 released.
2389
2390	* html/tiffset.1.html: Add missed manual page as per bug
2391
2392	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2393
2394	* libtiff/tiff.h: Revert back libtiff data type definitions as per
2395	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
2396
23972004-12-19  Andrey Kiselev  <[email protected]>
2398
2399	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
2400	checking for tag count in TIFFReadDirectory() function. As per bug
2401
2402	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2403
2404	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
2405	CheckMallock() function.
2406
2407	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
2408	RGB-images as per bug
2409
2410	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
2411
24122004-12-15  Frank Warmerdam  <[email protected]>
2413
2414	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
2415	SunPro compiler.
2416
24172004-12-11  Bob Friesenhahn  <[email protected]>
2418
2419	* autogen.sh: aclocal and autoheader should be executed after
2420	libtoolize.  Also add '-I .' to aclocal invocation to check
2421	current directory for macros.
2422
24232004-12-10  Andrey Kiselev  <[email protected]>
2424
2425	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
2426	as per bugs
2427
2428	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
2429
2430	and
2431
2432	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
2433
24342004-12-04  Andrey Kiselev  <[email protected]>
2435
2436	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
2437
2438	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2439
2440	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
2441	mode as per bug
2442
2443	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2444
2445	* libtiff/tif_config.in.vc: Removed unneded definitions for
2446	read/open/close/lseek functions to fix the
2447
2448	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
2449
24502004-12-03  Andrey Kiselev  <[email protected]>
2451
2452	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
2453	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
2454	must be removed in the future, as it was never used properly. As per
2455	bug
2456
2457	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
2458
24592004-11-30  Bob Friesenhahn  <[email protected]>
2460
2461	* libtiff/tif_jpeg.c: Added a work-around in order to allow
2462	compilation with the heavily modified version of libjpeg delivered
2463	with Cygwin.
2464
24652004-11-29  Andrey Kiselev  <[email protected]>
2466
2467	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
2468	counts. As per bug
2469
2470	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
2471
2472	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
2473
2474	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
2475
24762004-11-28  Andrey Kiselev  <[email protected]>
2477
2478	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
2479	on Windows.
2480
2481	* nmake.opt: Add missed DLLNAME variable.
2482
24832004-11-26  Frank Warmerdam  <[email protected]>
2484
2485	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
2486
24872004-11-24  Andrey Kiselev  <[email protected]>
2488
2489	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
2490	per bug
2491
2492	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
2493
2494	* man/tiffset.1: Added manual page for tiffset tool written by Jay
2495	Berkenbilt. As per bug
2496
2497	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2498
24992004-11-23  Frank Warmerdam  <[email protected]>
2500
2501	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
2502
25032004-11-21  Frank Warmerdam  <[email protected]>
2504
2505	* html/document.html: Updated Adobe web links as per email from Joris.
2506
25072004-11-21  Andrey Kiselev  <[email protected]>
2508
2509	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
2510	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
2511	use C++ streams should #include <tiffio.hxx>.
2512
25132004-11-13  Andrey Kiselev  <[email protected]>
2514
2515	* libtiff/tiff.h: Added Adobe DNG tags.
2516
2517	* libtiff/tif_win32.c: Typo fixed.
2518
2519	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
2520	be compliant with the latest standard. Appropriate additions in
2521	makefiles now completed.
2522
25232004-11-11  Andrey Kiselev  <[email protected]>
2524
2525	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
2526	different tag types. As per bug
2527
2528	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
2529
25302004-11-10  Andrey Kiselev  <[email protected]>
2531
2532	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
2533	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
2534
25352004-11-09  Andrey Kiselev  <[email protected]>
2536
2537	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
2538
25392004-11-07  Andrey Kiselev  <[email protected]>
2540
2541	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
2542	contributed by Edward Lam (see
2543	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
2544	Though no changes in any makefiles yet.
2545
25462004-11-05  Frank Warmerdam  <[email protected]>
2547
2548	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
2549	is bad. This is the callers responsibility.
2550	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
2551
25522004-11-05  Andrey Kiselev  <[email protected]>
2553
2554	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
2555	function to work with the double byte strings (used to represent
2556	filenames in some locales). As per bug
2557
2558	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
2559
2560	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
2561	Compression tags of type LONG from broken TIFFS as per bug
2562
2563	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2564
2565	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
2566	the writecount should have uint32 type. As per bug
2567
2568	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2569
2570	* libtiff/tif_write.c: Fixed wrong if() statement in
2571	TIFFAppendToStrip() function as per bug
2572
2573	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
2574
25752004-11-04  Andrey Kiselev  <[email protected]>
2576
2577	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
2578	field. The caller should supply a count when setting this field. As
2579	per bug
2580
2581	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
2582
2583	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
2584	uint32 count. Use this type everywhere.
2585
25862004-11-03  Frank Warmerdam  <[email protected]>
2587
2588	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
2589
25902004-11-02  Frank Warmerdam  <[email protected]>
2591
2592	* tools/tiff2rgba.c: removed extra newlines in usage message.
2593
25942004-10-30  Andrey Kiselev  <[email protected]>
2595
2596	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
2597
2598	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
2599	tags (Tristan Hill).
2600
26012004-10-30  Frank Warmerdam  <[email protected]>
2602
2603	* libtiff/tiffiop.h: added fallback definition of assert() if we
2604	don't have assert.h.
2605
26062004-10-29  Andrey Kiselev  <[email protected]>
2607
2608	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
2609	choosing when the incorrect Group4Options tag set. As per bug
2610
2611	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
2612
2613	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
2614	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
2615	TIFFWriteNormalTag().
2616
26172004-10-28  Andrey Kiselev  <[email protected]>
2618
2619	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
2620	tags (Peter Fales).
2621
2622	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
2623
26242004-10-28  Frank Warmerdam  <[email protected]>
2625
2626	* tools/tiff2pdf.c: added casts to avoid warnings.
2627
2628	* libtiff/libtiff.def: Added several more entry points required
2629	to link fax2tiff.c against the DLL on windows.
2630
26312004-10-27  Andrey Kiselev  <[email protected]>
2632
2633	* configure, configure.ac: Added --enable-rpath option to embed linker
2634	paths into library binary.
2635
26362004-10-26  Andrey Kiselev  <[email protected]>
2637
2638	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
2639
2640	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
2641	(Vladimir Nadvornik, Dmitry V. Levin).
2642
26432004-10-16  Andrey Kiselev  <[email protected]>
2644
2645	* libtiff 3.7.0 released.
2646
26472004-10-15  Bob Friesenhahn  <[email protected]>
2648
2649	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
2650	in this file so its inclusion is removed.  Including stdio.h
2651	sometimes incurs an INT32 typedef conflict between MinGW's
2652	basetsd.h and libjpeg's jmorecfg.h.
2653
26542004-10-15  Andrey Kiselev  <[email protected]>
2655
2656	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
2657
26582004-10-13  Bob Friesenhahn  <[email protected]>
2659
2660	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
2661	conflict noticed under MinGW.
2662	* ltmain.sh: Fix for MinGW compilation.
2663
26642004-10-13  Frank Warmerdam  <[email protected]>
2665
2666	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
2667	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
2668
26692004-10-12  Andrey Kiselev  <[email protected]>
2670
2671	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
2672	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
2673	properly (Dmitry V. Levin, Marcus Meissner).
2674
26752004-10-11  Andrey Kiselev  <[email protected]>
2676
2677	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
2678	to TIFF_IFD.
2679
26802004-10-10  Andrey Kiselev  <[email protected]>
2681
2682	* tools/bmp2tif.c: Check the space allocation results.
2683
26842004-10-09  Andrey Kiselev  <[email protected]>
2685
2686	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
2687	of the TIFFDirectory structure with the 0 instead of -1 to avoid
2688	confusing integer overflows in TIFFTileRowSize() for striped images.
2689
2690	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
2691	by Ross A. Finlayson.
2692
2693	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
2694
2695	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
2696
26972004-10-08  Frank Warmerdam  <[email protected]>
2698
2699	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
2700	of tif_fieldinfo.
2701
2702	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
2703
27042004-10-04  Bob Friesenhahn  <[email protected]>
2705
2706	* contrib/iptcutil/README: Added the missing README which goes
2707	along with iptcutil.
2708
27092004-10-03  Andrey Kiselev  <[email protected]>
2710
2711	* libtiff/tif_compress.c: Improved error reporting in
2712	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
2713
27142004-10-02  Andrey Kiselev  <[email protected]>
2715
2716	* libtiff 3.7.0beta2 released.
2717
2718	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
2719	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
2720	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
2721	allocations and	integer overflows (Dmitry V. Levin).
2722
2723	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
2724
27252004-10-01  Frank Warmerdam  <[email protected]>
2726
2727	* libtiff/tif_open.c: added a more informative message if a BigTIFF
2728	file is opened.
2729
27302004-09-30  Frank Warmerdam  <[email protected]>
2731
2732	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
2733	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
2734	in the Adobe XMP Specification.
2735
27362004-09-29  Andrey Kiselev  <[email protected]>
2737
2738	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
2739	memset().
2740
2741	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
2742	from Dmitry V. Levin to fix possible integer overflow problems.
2743
27442004-09-28  Andrey Kiselev  <[email protected]>
2745
2746	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
2747	(Dmitry V. Levin).
2748
27492004-09-26  Andrey Kiselev  <[email protected]>
2750
2751	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
2752	Optimize checking for the strip bounds.
2753
2754	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
2755	TIFFRasterScanlineSize() functions report zero in the case of integer
2756	overflow now. Properly handle this case in TIFFReadDirectory()
2757	(patches from Dmitry V. Levin).
2758
27592004-09-25  Andrey Kiselev  <[email protected]>
2760
2761	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
2762	macro where appropriate.
2763
2764	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
2765	noted by Gennady Khokhorin.
2766
2767	* libtiff/tif_dirread.c: Always check the return values, returned
2768	by the _TIFFmalloc() (Dmitry V. Levin).
2769
2770	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
2771	functions (Dmitry V. Levin).
2772
2773	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
2774	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
2775	TIFFGrowStrips() (found by Dmitry V. Levin).
2776
27772004-09-24  Andrey Kiselev  <[email protected]>
2778
2779	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
2780	to get the list of configured codecs.
2781
2782	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
2783	Dmitry V. Levin.
2784
27852004-09-23  Andrey Kiselev  <[email protected]>
2786
2787	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
2788	possible integer overflow in CheckMalloc() function.
2789
27902004-09-22  Andrey Kiselev  <[email protected]>
2791
2792	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
2793	of plain TIFFhowmany() where appropriate.
2794
27952004-09-21  Andrey Kiselev  <[email protected]>
2796
2797	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
2798
27992004-09-19  Andrey Kiselev  <[email protected]>
2800
2801	* libtiff 3.7.0beta released.
2802
2803	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
2804	overruns fixed, as noted by Chris Evans.
2805
28062004-09-14  Bob Friesenhahn  <[email protected]>
2807
2808	* commit: Added a script to make it more convenient to commit
2809	updates.  The CVS commit message is extracted from this ChangeLog
2810	file.
2811
28122004-09-14  Andrey Kiselev  <[email protected]>
2813
2814	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
2815	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
2816	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
2817	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
2818	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
2819	tif_config.h.in, tiffiop.h}:
2820	Get rid of BSD data types (u_char, u_short, u_int, u_long).
2821
28222004-09-13  Bob Friesenhahn  <[email protected]>
2823
2824	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
2825	specification. Reference libtiff bug tracking system to submit
2826	private tag additions.
2827
28282004-09-12  Bob Friesenhahn  <[email protected]>
2829
2830	* tools/tiffgt.c: Include "tif_config.h".
2831
2832	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
2833	tiffgt.  This results in the 'compile' script being added to the
2834	project.
2835
2836	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
2837	required to find OpenGL headers necessary to build tiffgt.  Also
2838	ensure that the libtiff that we built is used rather than some other
2839	libtiff installed on the system.
2840
28412004-09-12  Andrey Kiselev  <[email protected]>
2842
2843	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
2844	libraries.
2845
28462004-09-11  Bob Friesenhahn  <[email protected]>
2847
2848	* configure.ac: Pass library configuration defines via
2849	tif_config.h rather than extending CPPFLAGS. Configure a
2850	libtiff/tiffconf.h in order to satisfy application requirements
2851	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
2852	this causes failure to build on systems which properly respect
2853	this request.
2854
2855	* libtiff/tiffconf.h.in: New file to act as the template for the
2856	configured tiffconf.h
2857
2858	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
2859
28602004-09-10  Frank Warmerdam  <[email protected]>
2861
2862	* html/internals.html: Split off a discussion of adding new tags
2863	into addingtags.html.
2864
28652004-09-10  Andrey Kiselev  <[email protected]>
2866
2867	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
2868
2869	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
2870
2871	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2872
2873	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
2874
2875	* libtiff/tif_dirread.c: Don't reject to read tags of the
2876	SamplesPerPixel size when the tag count is greater than number of
2877	samples as per bug
2878
2879	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
2880
2881	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
2882	defining int8/uint8/... etc. types. As per bug
2883
2884	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
2885
28862004-09-09  Frank Warmerdam  <[email protected]>
2887
2888	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
2889	to avoid compile warnings about getopt() and a few other things.
2890
28912004-09-02  Andrey Kiselev  <[email protected]>
2892
2893	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
2894	assigning magic in TIFFFetchFloat().
2895
28962004-09-01  Andrey Kiselev  <[email protected]>
2897
2898	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
2899	to avoid requirement for tiffiop.h inclusion in some applications. See
2900	here
2901
2902	http://www.asmail.be/msg0054799560.html
2903
2904	for details.
2905
2906	* tools/fax2tiff.c: Use the new functions in the code.
2907
29082004-08-25  Andrey Kiselev  <[email protected]>
2909
2910	* tools/tiff2pdf.c: Initialize arrays properly.
2911
2912	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
2913	properly initialize array in PSDataBW().
2914
29152004-08-24  Andrey Kiselev  <[email protected]>
2916
2917	* tools/tiff2pdf.c: More fixes for bug
2918
2919	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2920
2921	from Ross Finlayson.
2922
29232004-08-23  Andrey Kiselev  <[email protected]>
2924
2925	* tools/tiff2ps.c: Fixed problem with uninitialized values.
2926
2927	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
2928	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
2929
2930	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
2931
2932	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2933
29342004-08-20  Andrey Kiselev  <[email protected]>
2935
2936	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
2937	that the input file has compression, photometric interpretation,
2938	etcetra, tags or if not than a more descriptive error is returned.
2939
2940	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
2941	code, responsible for tag data type checking.
2942
29432004-08-19  Andrey Kiselev  <[email protected]>
2944
2945	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
2946	variable as per bug
2947
2948	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
2949
29502004-08-16  Andrey Kiselev  <[email protected]>
2951
2952	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
2953	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
2954
29552004-08-01  Andrey Kiselev  <[email protected]>
2956
2957	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
2958	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
2959
29602004-07-24  Andrey Kiselev  <[email protected]>
2961
2962	* libtiff/tif_lzw.c: LZW compression code is merged back from the
2963	separate package. All libtiff tools are updated to not advertise an
2964	abcence of LZW support.
2965
29662004-07-12  Andrey Kiselev  <[email protected]>
2967
2968	* libtiff/tiffio.h: Revert thandle_t back to void* type.
2969
29702004-07-11  Andrey Kiselev  <[email protected]>
2971
2972	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
2973	messages, as suggested by Bernd Herd.
2974
29752004-07-03  Andrey Kiselev  <[email protected]>
2976
2977	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
2978	when setting custom tags by value. Reported by Eric Fieleke.
2979
29802004-06-14  Andrey Kiselev  <[email protected]>
2981
2982	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
2983
29842004-06-08  Andrey Kiselev  <[email protected]>
2985
2986	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
2987	into TIFFs.
2988
29892004-06-07  Andrey Kiselev  <[email protected]>
2990
2991	* libtiff 3.7.0alpha released.
2992
29932004-06-06  Andrey Kiselev  <[email protected]>
2994
2995	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
2996	of ugly 64-bit hacks, replace them with the clever (autoconf based )
2997	ones :-).
2998
2999	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
3000	problems in 64-bit environment).
3001
30022004-06-05  Andrey Kiselev  <[email protected]>
3003
3004	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
3005	Tags can be supplied by the mnemonic name or number.
3006
3007	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
3008	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
3009
30102004-05-27  Andrey Kiselev  <[email protected]>
3011
3012	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
3013	markers as per bug
3014
3015	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
3016
30172004-05-24  Andrey Kiselev  <[email protected]>
3018
3019	* tools/tiffsplit.c: Don't forget to copy Photometric
3020	Interpretation tag.
3021
30222004-05-20  Andrey Kiselev  <[email protected]>
3023
3024	* libtiff/{tif_open.c, tiffio.h}: New function added:
3025	TIFFIsBigEndian(). Function returns nonzero if given was file written
3026	in big-endian order.
3027
3028	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
3029	files. Now output files will be written using the same byte order
3030	flag as	in the input image. See
3031
3032	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
3033
3034	for details.
3035
30362004-05-19  Frank Warmerdam  <[email protected]>
3037
3038	* libtiff/tif_print.c: added (untested) support for printing
3039	SSHORT, SLONG and SRATIONAL fields.
3040
3041	* tools/tiffcp.c: close output file on normal exit.
3042
30432004-05-17  Andrey Kiselev  <[email protected]>
3044
3045	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
3046	if compression type mismatches. See
3047
3048	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
3049
30502004-04-30  Andrey Kiselev  <[email protected]>
3051
3052	* libtiff/tif_strip.c: Never return 0 from the
3053	TIFFNumberOfStrips().
3054
30552004-04-29  Andrey Kiselev  <[email protected]>
3056
3057	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
3058	store single SampleFormat value for multisampled images. See
3059
3060	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
3061
30622004-04-25  Andrey Kiselev  <[email protected]>
3063
3064	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
3065	int16 and int32 types to avoid complains on some compilers. Details at
3066
3067	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3068
30692004-04-20  Andrey Kiselev  <[email protected]>
3070
3071	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
3072
3073	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
3074
30752004-04-14  Andrey Kiselev  <[email protected]>
3076
3077	* libtiff/tif_write.c: Allow in-place updating of the compressed
3078	images (don't work properly with all codecs). For details see GDAL bug
3079
3080	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
3081
30822004-04-06  Andrey Kiselev  <[email protected]>
3083
3084	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
3085	in the Intergarph JPEG compressed TIFF images as per bug:
3086
3087	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
3088
30892004-04-04  Frank Warmerdam  <[email protected]>
3090
3091	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
3092	via bad2.
3093
30942004-03-26  Andrey Kiselev  <[email protected]>
3095
3096	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
3097	JPEG compression of grayscale images.
3098
3099	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
3100	present in the input image.
3101
31022004-03-19  Andrey Kiselev  <[email protected]>
3103
3104	* {many}: The first attempt to switch to autotools.
3105
31062004-03-03  Andrey Kiselev  <[email protected]>
3107
3108	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
3109	TIFFClientOpen() when the appropriate client functions was not
3110	supplied by user.
3111
31122004-03-02  Frank Warmerdam  <[email protected]>
3113
3114	* tools/ycbcr.c: fixed main() declaration as per:
3115	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
3116
31172004-02-26  Andrey Kiselev  <[email protected]>
3118
3119	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
3120	images. Reported by Artem Mirolubov.
3121
3122	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
3123	tag type in TIFFFetchNormalTag() as per bug
3124
3125	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
3126
31272004-02-17  Frank Warmerdam  <[email protected]>
3128
3129	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
3130	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
3131
31322004-02-05  Andrey Kiselev  <[email protected]>
3133
3134	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
3135	bug
3136
3137	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
3138
3139	But we need more work on fax codec to support update mode.
3140
31412004-01-30  Frank Warmerdam  <[email protected]>
3142
3143	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
3144	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
3145	Scott Reynolds.
3146
31472004-01-29  Andrey Kiselev  <[email protected]>
3148
3149	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
3150	and TIFFTAG_INDEXED as per bug
3151
3152	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
3153
3154	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
3155	NULL before proceeding further as per bug
3156
3157	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
3158
3159	Check results, returned by the TIFFFdOpen() before returning and close
3160	file if TIFFFdOpen() failed as per bug
3161
3162	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3163
3164	* libtiff/tif_open.c: More fixes for
3165
3166	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3167
31682004-01-28  Andrey Kiselev  <[email protected]>
3169
3170	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
3171	TIFFCleanup() from the TIFFClose() in order to fix the bug
3172
3173	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3174
3175	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
3176	InkNames tag as per bug
3177
3178	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
3179
3180	Memory leak fixed.
3181
31822004-01-21  Frank Warmerdam  <[email protected]>
3183
3184	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
3185	are field_passcount=TRUE properly.  Arguably anonymous custom tags
3186	should be declared as passcount=FALSE, but I don't want to change
3187	that without a careful review.
3188
31892004-01-20  Andrey Kiselev  <[email protected]>
3190
3191	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
3192	stripped image in TIFFWriteBufferSetup(). As per bug
3193
3194	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
3195
31962004-01-11  Andrey Kiselev  <[email protected]>
3197
3198	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
3199	patch from Gerben Koopmans.
3200
3201	* libtiff/tif_dirread.c: Check field_passcount value before setting
3202	the value of undefined type, patch from Gerben Koopmans.
3203
32042004-01-02  Andrey Kiselev  <[email protected]>
3205
3206	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
3207	non-RGB images.
3208
32092003-12-31  Andrey Kiselev  <[email protected]>
3210
3211	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
3212	pointer passed. Patch supplied by Larry Grill.
3213
3214	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
3215	suggested by Jeremy C. Reed.
3216
32172003-12-26  Andrey Kiselev  <[email protected]>
3218
3219	* libtiff 3.6.1 released.
3220
32212003-12-24  Andrey Kiselev  <[email protected]>
3222
3223	* config.guess, config.sub: Updated from the recent upstream.
3224
32252003-12-22  Andrey Kiselev  <[email protected]>
3226
3227	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
3228	More cleanups in color conversion interface, added appropriate manual
3229	page.
3230
32312003-12-19  Andrey Kiselev  <[email protected]>
3232
3233	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
3234	per bug
3235
3236	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
3237
3238	* tools/tiff2ps.c: Added support for alpha channel. Fixes
3239
3240	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
3241
3242	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
3243	Interface for Lab->RGB color conversion is finally cleaned up.
3244	Added support for ReferenceBlackWhite tag handling when converted from
3245	YCbCr color space. The latter closes
3246
3247	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
3248
32492003-12-07  Andrey Kiselev  <[email protected]>
3250
3251	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
3252
3253	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
3254	library.
3255
32562003-12-06  Andrey Kiselev  <[email protected]>
3257
3258	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
3259	file and properly use it for CIE Lab->RGB transform.
3260
32612003-12-04  Andrey Kiselev  <[email protected]>
3262
3263	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
3264	conversion routines now in the tif_color.c module. New function
3265	TIFFYCbCrtoRGB() available in TIFF API.
3266
3267	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
3268
32692003-12-03  Andrey Kiselev  <[email protected]>
3270
3271	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
3272	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
3273	module.
3274
3275	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
3276	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
3277	Finally resolved problems with orientation handling. TIFFRGBAImage
3278	interface now properly supports all possible orientations, i.e. images
3279	will be flipped both in horizontal and vertical directions if
3280	required. 'Known bugs' section now removed from the appropriate manual
3281	pages. Closed bug entry:
3282
3283	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
3284
32852003-12-02  Andrey Kiselev  <[email protected]>
3286
3287	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
3288	function calls as per bug
3289
3290	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
3291
32922003-11-28 Ross Finlayson  <[email protected]>
3293
3294	* tools/tiff2pdf.c:  Some bugs fixed.
3295
32962003-11-27  Andrey Kiselev  <[email protected]>
3297
3298	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
3299	reported by Antonio Scuri.
3300
3301	* man/tiff2pdf.1: Few improvements in page layout.
3302
3303	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
3304	 Added support fpr tiff2pdf manual page.
3305
33062003-11-26 Ross Finlayson  <[email protected]>
3307
3308	* /man/tiff2pdf.1:  File added to repository.
3309
33102003-11-26  Andrey Kiselev  <[email protected]>
3311
3312	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
3313	 Added support fpr tiff2pdf utility.
3314
33152003-11-25  Ross Finlayson  <[email protected]>
3316
3317	* /tools/tiff2pdf.c:  File added to repository.
3318
33192003-11-22  Andrey Kiselev  <[email protected]>
3320
3321	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
3322
33232003-11-21  Andrey Kiselev  <[email protected]>
3324
3325	* /tools/raw2tiff.c: #include <getopt.h> removed.
3326
3327	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
3328	sgigt utility removed and replaced with the completely rewritten
3329	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
3330	there is a lot of things to improve.
3331
3332	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
3333	extract the fields from the OJPEG files. Patch supplied by Ross
3334	Finlayson.
3335
3336	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
3337	Added new function TIFFIsCODECConfigured(), suggested by Ross
3338	Finlayson.
3339
33402003-11-18  Andrey Kiselev  <[email protected]>
3341
3342	* libtiff/tif_dirinfo.c: Implemented binary search in
3343	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
3344
3345	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
3346	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
3347
33482003-11-17  Frank Warmerdam  <[email protected]>
3349
3350	* tif_dirread.c: do not mark all anonymously defined tags to be
3351	IGNOREd.
3352
33532003-11-17  Andrey Kiselev  <[email protected]>
3354
3355	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
3356	TIFFDataWidth() function insted of tiffDataWidth array.
3357
33582003-11-16  Andrey Kiselev  <[email protected]>
3359
3360	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
3361	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
3362
33632003-11-15  Frank Warmerdam  <[email protected]>
3364
3365	* Makefile.in: fixed missing backslash for tif_color.c in list.
3366
33672003-11-13  Andrey Kiselev  <[email protected]>
3368
3369	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
3370	New color space conversion code: CIE L*a*b* 1976 images now supported
3371	by the TIFFRGBAImage interface. All introduced routines go to new
3372	module tif_color.c. Eventually all color conversion functions should
3373	be moved there.
3374
33752003-11-12  Andrey Kiselev  <[email protected]>
3376
3377	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
3378	with the reverse byte order (it is reported by the magic header
3379	field). Problem reported by Andreas Wiesmann.
3380
3381	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
3382	calculation function. Guessing mechanics now documented in manual page.
3383
33842003-11-11  Andrey Kiselev  <[email protected]>
3385
3386	* tools/raw2tiff.c: Implemented image size guessing using
3387	correlation coefficient calculation between two neighbour lines.
3388
33892003-11-09  Frank Warmerdam  <[email protected]>
3390
3391	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
3392	planarconfig_contig case in TIFFComputeTile().
3393
3394	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
3395
33962003-11-09  Andrey Kiselev  <[email protected]>
3397
3398	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
3399
34002003-11-07  Andrey Kiselev  <[email protected]>
3401
3402	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
3403	Added TIFFRawStripSize() function as suggested by Chris Hanson.
3404
34052003-11-03  Andrey Kiselev  <[email protected]>
3406
3407	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
3408	per bug
3409
3410	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
3411
34122003-10-29  Andrey Kiselev  <[email protected]>
3413
3414	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
3415
3416	* html/build.html: Added note about GNU make requirement.
3417
34182003-10-25  Andrey Kiselev  <[email protected]>
3419
3420	* Makefile.in: Fixes in using MAKEFLAGS as per bug
3421
3422	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
3423
3424	* port/install.sh.in: Option -p added to the mkdir command to create
3425	all directory tree structure before installing.
3426
34272003-10-18  Andrey Kiselev  <[email protected]>
3428
3429	* /tools/tiff2ps.c: #include <strings.h> replaced with the
3430	#include <string.h>.
3431
34322003-10-16  Andrey Kiselev  <[email protected]>
3433
3434	* Makefile.in: Add an absolute path to the test_pics.sh call.
3435
34362003-10-12  Andrey Kiselev  <[email protected]>
3437
3438	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
3439	typedefs.
3440
34412003-10-09  Andrey Kiselev  <[email protected]>
3442
3443	* configure, libtiff/{Makefile.in, mkversion.c}:
3444	Relative buildings fixed.
3445
3446	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
3447	rule.
3448
34492003-10-07  Andrey Kiselev  <[email protected]>
3450
3451	* Makefile.in: Added missed v3.6.0.html.
3452
3453	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
3454	ORIENTATION_BOTLEFT.
3455
34562003-10-04  Andrey Kiselev  <[email protected]>
3457
3458	* 3.6.0 final release.
3459
34602003-10-03  Andrey Kiselev  <[email protected]>
3461
3462	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
3463	function TIFFReadRGBAImageOriented() implemented to retrieve raster
3464	array with user-specified origin position as suggested by Jason Frank.
3465	See
3466
3467	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
3468
3469	for details.
3470
3471	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
3472	instead of TIFFReadRGBAImage().
3473
3474	* tools/tiff2ps.c: Fixed possible endless loop as per bug
3475
3476	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
3477
34782003-09-30  Andrey Kiselev  <[email protected]>
3479
3480	* libtiff/tif_dirread.c: Check field counter against number of fields
3481	in order to fix
3482
3483	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
3484
3485	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
3486
3487	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
3488
34892003-09-25  Andrey Kiselev  <[email protected]>
3490
3491	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
3492	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
3493
3494	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
3495
34962003-09-23  Andrey Kiselev  <[email protected]>
3497
3498	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
3499
3500	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3501
35022003-08-21  Andrey Kiselev  <[email protected]>
3503
3504	* tools/tiffmedian.c: int declaration replaced with the uint32 to
3505	support large images as per bug
3506
3507	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
3508
35092003-08-12  Andrey Kiselev  <[email protected]>
3510
3511 	* libtiff/Makefile.in: Fixed problem with building in different
3512	directory.
3513
3514	* tools/tiff2ps.c: Added missing #include <strings.h>.
3515
3516	* libtiff/tif_dirwrite.c: More fixes for custom tags code
3517	from Ashley Dreier.
3518
35192003-08-07  Andrey Kiselev  <[email protected]>
3520
3521	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
3522	Patch submitted by Balatoni Denes (with corrections from Tom
3523	Kacvinsky).
3524
3525	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
3526	being used. Reported by Tom Kacvinsky.
3527
3528	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
3529	reported by Ashley Dreier.
3530
3531	* libtiff/tif_print.c: Fixed problem with float tags reading, support
3532	for printing RATIONAL and BYTE tags added.
3533
35342003-08-05  Andrey Kiselev  <[email protected]>
3535
3536	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
3537	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
3538	problems with predictor initialization. Remove O_RDONLY check during
3539	state block allocation to be able open LZW compressed files in update
3540	mode.
3541
3542	Problem exist for libtiff version of the tif_lzw.c module. One from
3543	lzw-compression-kit hasn't such troubles.
3544
35452003-08-04  Frank Warmerdam  <[email protected]>
3546
3547	* libtiff/tif_write.c: modified tif_write.c so that the various
3548	encoded write functions use tif_postdecode() to apply byte order
3549	swapping (swab) to the application passed data buffer if the same
3550	would be done when reading.  This allows us to write pixel data with
3551	more than 8 bits per sample to existing files of a non-native byte
3552	order.  One side effect of this change is the applications buffer
3553	itself is altered in this case by the act of writing.
3554
3555	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
3556
35572003-07-25  Frank Warmerdam  <[email protected]>
3558
3559	* libtiff/tif_open.c: avoid signed/unsigned casting warning
3560	initializing typemask as per patch from J.A. Strother.
3561
3562	* tools/tiffcp.c: fixed signed/unsigned casting warning.
3563
3564	* libtiff/tif_print.c: dos2unix conversion.
3565
3566	* tools/tiffsplit.c: increased the maximum number of pages that
3567	can be split.  Patch provided by Andrew J. Montalenti.
3568
35692003-07-11  Andrey Kiselev  <[email protected]>
3570
3571	* tools/raw2tiff.c: Added option `-p' to explicitly select color
3572	space of input image data. Closes
3573
3574	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
3575
35762003-07-08  Frank Warmerdam  <[email protected]>
3577
3578	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
3579	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
3580	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
3581	avoid casting warning at /W4.
3582
35832003-07-03  Andrey Kiselev  <[email protected]>
3584
3585	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
3586
35872003-06-30  Andrey Kiselev  <[email protected]>
3588
3589	* libtiff/tif_pixarlog.c: Unused variables removed.
3590
3591	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
3592	EstimateStripByteCounts() as per bug
3593
3594	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3595
3596	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
3597	64-bit architectures as per bug
3598
3599	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
3600
3601	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
3602	unknown data type.
3603
36042003-06-19  Frank Warmerdam  <[email protected]>
3605
3606	* libtiff/tif_print.c: fixed some serious bugs when printing
3607	custom tags ... almost certain to crash.
3608
3609	* libtiff/tif_dirread.c: Don't ignore custom fields that are
3610	autodefined.  Not sure how this got to be like this.
3611
36122003-06-18  Andrey Kiselev  <[email protected]>
3613
3614	* 3.6.0 Beta2 released.
3615
3616	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
3617	comparing as per bug
3618
3619	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
3620
3621	`-z' option now can be used to set the number of reported different
3622	bytes.
3623
36242003-06-09  Andrey Kiselev  <[email protected]>
3625
3626	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
3627	to -r option to get the entire image as one strip. See
3628
3629	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3630
3631	for details.
3632
36332003-06-04  Andrey Kiselev  <[email protected]>
3634
3635	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
3636	values as per bug
3637
3638	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3639
36402003-05-27  Frank Warmerdam  <[email protected]>
3641
3642	* libtiff/tif_jpeg.c: modified segment_height calculation to always
3643	be a full height tile for tiled images.  Also changed error to just
3644	be a warning.
3645
36462003-05-25  Andrey Kiselev  <[email protected]>
3647
3648	* tools/fax2tiff.c: Page numbering fixed, as per bug
3649
3650	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
3651
36522003-05-20  Andrey Kiselev  <[email protected]>
3653
3654	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3655	configure, Makefile.in:	Switched back to the old behaviour. Likely
3656	better solution should be found for OJPEG support.
3657
36582003-05-11  Andrey Kiselev  <[email protected]>
3659
3660	* libtiff/mkversion.c: Fixed problem with wrong string size when
3661	reading RELEASE-DATE file.
3662
36632003-05-07  Andrey Kiselev  <[email protected]>
3664
3665	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
3666	index was out of range.
3667
36682003-05-06  Andrey Kiselev  <[email protected]>
3669
3670	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3671	configure, Makefile.in:	Improved libtiff compilation with OJPEG
3672	support. Now no need for patching IJG JPEG library, hack requred by
3673	libtiff will be compiled and used in-place. Implemented with
3674	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
3675
3676	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
3677	TIFFVGetFieldDefaulted() function.
3678
36792003-05-05  Andrey Kiselev  <[email protected]>
3680
3681	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
3682	comments.
3683
3684	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
3685	was not copied from source image.
3686
3687	* libtiff/getimage.c: Workaround for some images without correct
3688	info about alpha channel as per bug
3689
3690	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
3691
36922003-04-29  Andrey Kiselev  <[email protected]>
3693
3694	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
3695	It basically allows one to use the /flateDecode filter for ZIP
3696	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
3697
3698	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
3699
3700	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
3701	as per bug
3702
3703	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
3704
37052003-04-17  Andrey Kiselev  <[email protected]>
3706
3707	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
3708	due to problems with multidirectory images. Quality of error messages
3709	improved.
3710
37112003-04-16  Andrey Kiselev  <[email protected]>
3712
3713	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
3714	encoded images. See bug entries
3715
3716	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
3717
3718	and
3719
3720	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3721
3722	* libtiff/tif_dirread.c: Additional check for StripByteCounts
3723	correctness. Fixes
3724
3725	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3726
37272003-03-12  Andrey Kiselev  <[email protected]>
3728
3729	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
3730	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
3731	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
3732	tiffmedian.c}: Added library version reporting facility to all tools.
3733
37342003-03-06  Frank Warmerdam  <[email protected]>
3735
3736	* port/install.sh.in: Fixed problems with install producing paths
3737	like ///usr/local/lib on cygwin.
3738
37392003-02-27  Andrey Kiselev  <[email protected]>
3740
3741	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
3742	raw input page. Patch supplied by Julien Gaulmin. See
3743
3744	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
3745
3746	for details.
3747
37482003-02-26  Frank Warmerdam  <[email protected]>
3749
3750	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
3751	responsible for byte swapping complex image data.
3752
3753	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
3754	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
3755
37562003-02-07  Andrey Kiselev  <[email protected]>
3757
3758	* tools/ppm2tiff.c: Fixed problem with too many arguments.
3759
37602003-02-04  Andrey Kiselev  <[email protected]>
3761
3762	* tools/raw2tiff.c: Memory leak fixed.
3763
37642003-02-03  Andrey Kiselev  <[email protected]>
3765
3766	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
3767	(thanks, Julien!). More switches for fax2tiff tool for better control
3768	of input and output. Details at
3769
3770	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
3771
37722003-02-03  Frank Warmerdam  <[email protected]>
3773
3774	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
3775	library so that we can check if there is already any tile/strip data
3776	before deciding between creating a compressor or a decompressor.
3777
37782003-01-31  Frank Warmerdam  <[email protected]>
3779
3780	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
3781	a pre-existing compressed image.  That is, image writing to
3782	pre-existing compressed images is not allowed.
3783
3784	* libtiff/tif_open.c: Removed error if opening a compressed file
3785	in update mode.
3786
3787	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
3788
37892003-01-31  Andrey Kiselev  <[email protected]>
3790
3791	* config.guess, config.sub: Updated to recent upstream versions.
3792
37932003-01-15  Frank Warmerdam  <[email protected]>
3794
3795	* cut 3.6.0 Beta release.
3796
37972002-12-20  Andrey Kiselev  <[email protected]>
3798
3799	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
3800	in wrong way as per bug
3801
3802	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
3803
38042002-12-17  Frank Warmerdam  <[email protected]>
3805
3806	* libtiff/tif_dirread.c: Allow wrong sized arrays in
3807	TIFFFetchStripThing().
3808
3809	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
3810
38112002-12-02  Frank Warmerdam  <[email protected]>
3812
3813	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
3814	Was using realloc even first time.  Fix by Igor Venevtsev.
3815
38162002-11-30  Frank Warmerdam  <[email protected]>
3817
3818	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
3819	field value.
3820
3821	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
3822	tags in TIFFVGetField() ... added missing break.
3823
38242002-10-14  Frank Warmerdam  <[email protected]>
3825
3826	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
3827	the scanline buffer long enough when writing rgb triplets.
3828	The scanline needs to be 3 X the number of dots or else it will
3829	contain	an incomplete triplet and programs that try to separate
3830	the eps by redefining the colorimage operator will get messed up.
3831	Patch supplied by William Bader.
3832
3833	* Makefile.in: added tif_extension.c to file list as per
3834	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
3835
38362002-10-11  Andrey Kiselev  <[email protected]>
3837
3838	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
3839	large files (>2GiB) supporting. New option in the config.site:
3840	LARGEFILE="yes". Should be enough for I/O of the large files.
3841
38422002-10-10  Frank Warmerdam  <[email protected]>
3843
3844	* libtiff/html/v3.6.0.html: new release notes.
3845
3846	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
3847	link for Andrey.  Pointer to v3.6.0.html.
3848
3849	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
3850
38512002-10-07  Andrey Kiselev  <[email protected]>
3852	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
3853	(thanks, Sebastian!). New switches:
3854	-b # for a bottom margin of # inches
3855	-c   center image
3856	-l # for a left margin of # inches
3857	-r   rotate the image by 180 degrees
3858	New features merged with code for shrinking/overlapping.
3859	Previously added -c and -n switches (for overriding PS units) renamed
3860	in -x and -y respectively.
3861
3862	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
3863
3864	* html/man/*.html: Updated from actual manual pages.
3865
38662002-10-06  Frank Warmerdam  <[email protected]>
3867
3868	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
3869	size on windows.  Use #define boolean hack.
3870
3871	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
3872
3873	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
3874	USING_VISUALAGE is defined.
3875
3876	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3877
38782002-10-03  Frank Warmerdam  <[email protected]>
3879
3880	* libtiff/tiff.h: added COMPRESSION_JP2000.
3881
38822002-10-02  Andrey Kiselev  <[email protected]>
3883
3884	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
3885	by the TIFFFetchByteArray() function. Should finally resolve
3886
3887	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3888
3889	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
3890
3891	* html/Makefile.in: New targets added: html and groffhtml for
3892	producing HTML representations of the manual pages automatically.
3893	html target uses man2html tool, groffhtml uses groff tool.
3894
38952002-09-29  Frank Warmerdam  <[email protected]>
3896
3897	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
3898	from John H. DuBois III.
3899
39002002-09-15  Andrey Kiselev  <[email protected]>
3901
3902	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
3903	manual page for raw2tiff(1) tool.
3904
39052002-09-12  Andrey Kiselev  <[email protected]>
3906
3907	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
3908	the tiffio.h header file.
3909
3910	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
3911	manual page for TIFFDataWidth() function
3912
39132002-09-08  Frank Warmerdam  <[email protected]>
3914
3915	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
3916	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
3917
3918	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
3919	since we are unable to properly include the amount to skip.
3920
3921	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
3922
39232002-09-02  Andrey Kiselev  <[email protected]>
3924
3925	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
3926	in TIFFFetchByteArray(). Problem described at
3927	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3928
39292002-08-22  Andrey Kiselev  <[email protected]>
3930
3931	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
3932	in _TIFFSetupFieldInfo() function.
3933	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
3934
3935	* /libtiff/tif_lzw.c: Additional consistency checking added in
3936	LZWDecode() and LZWDecodeCompat().
3937	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
3938	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3939
3940	* /libtiff/tif_lzw.c:
3941	Added check for valid code lengths in LZWDecode() and
3942	LZWDecodeCompat(). Fixes
3943	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
3944
39452002-08-16  Andrey Kiselev  <[email protected]>
3946
3947	* /libtiff/{Makefile.vc, libtiff.def}:
3948	Missed declarations added.
3949
39502002-08-15  Frank Warmerdam  <[email protected]>
3951
3952	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
3953	return code from the underlying pick function.
3954
3955	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
3956
3957	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
3958	with FIELD_CUSTOM as mentioned in bug 169.
3959
3960	* tif_close.c: added logic to free dynamically created anonymous
3961	field definitions to correct a small memory leak.
3962
3963	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
3964
39652002-08-10  Andrey Kiselev  <[email protected]>
3966
3967	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
3968	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
3969
39702002-07-31  Frank Warmerdam  <[email protected]>
3971
3972	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
3973	JPEGDecode() as per bugzilla bug (issue 1):
3974
3975	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3976
3977	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
3978	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
3979	present in the tiff tags.
3980
3981	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
3982
3983	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
3984	TIFFWriteScanline() now set tif_row explicitly in case the codec has
3985	fooled with the value.
3986
3987	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3988
39892002-06-22  Andrey Kiselev  <[email protected]>
3990
3991	* /tools/tiff2ps.c: Added workaround for some software that may crash
3992	when last strip of image contains fewer number of scanlines than
3993	specified by the `/Height' variable. See
3994	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
3995	for explanation.
3996
39972002-06-21  Andrey Kiselev  <[email protected]>
3998
3999	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
4000	splitting long images in several pages. See
4001	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
4002	Patch granted by John Williams <[email protected]>.
4003
40042002-06-11  Frank Warmerdam  <[email protected]>
4005
4006	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
4007	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
4008	This one is described in:
4009
4010	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
4011
4012	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
4013
4014	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
4015
40162002-05-10  Andrey Kiselev  <[email protected]>
4017
4018	* tools/tiff2ps: New commandline switches to override resolution
4019	units obtained from the input file. Closes
4020	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
4021
40222002-04-26  Andrey Kiselev  <[email protected]>
4023
4024	* libtiff/libtiff.def: Added missed declaration.
4025
40262002-04-22  Andrey Kiselev  <[email protected]>
4027
4028	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
4029	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
4030
40312002-04-20  Andrey Kiselev  <[email protected]>
4032
4033	* libtiff/tif_open.c: Pointers to custom procedures
4034	in TIFFClientOpen() are checked to be not NULL-pointers.
4035
40362002-04-18  Andrey Kiselev  <[email protected]>
4037
4038	* libtiff/libtiff.def: Added missed declarations.
4039
4040	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
4041
40422002-04-16  Andrey Kiselev  <[email protected]>
4043
4044	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
4045	Should finally close
4046	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4047
40482002-04-10  Andrey Kiselev  <[email protected]>
4049
4050	* tools/tiff2ps: Division by zero fixed.
4051	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
4052
40532002-04-09  Andrey Kiselev  <[email protected]>
4054
4055	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
4056	TIFFCheckpointDirectory() routine added.
4057	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
4058
4059	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
4060	for the new function.
4061
40622002-04-08  Andrey Kiselev  <[email protected]>
4063
4064	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
4065	additional members tif->tif_decodestatus and tif->tif_encodestatus
4066	for correct handling of unconfigured codecs (we should not try to read
4067	data or to define data size without correct codecs).
4068
4069	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
4070	changed. Now it has used tif->tif_decodestatus and
4071	tif->tif_encodestatus.
4072	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
4073	case of __cvs_8.tif test image).
4074
4075	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
4076	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
4077	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
4078	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
4079
40802002-04-04  Andrey Kiselev  <[email protected]>
4081
4082	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
4083	replaced by warnings. Now libtiff should read corrupted LZW-compressed
4084	files by skipping bad strips.
4085	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4086
40872002-04-03  Frank Warmerdam  <[email protected]>
4088
4089	* libtiff/tif_dirwrite.c: Removed some dead code.
4090
4091	* libtiff/*: Cleanup some warnings.
4092
4093	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
4094	for variable length FIELD_CUSTOM values.  Was int * but should be
4095	u_short *.
4096
40972002-04-01  Andrey Kiselev  <[email protected]>
4098
4099	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
4100	utility (at cpStripToTile routine).
4101
41022002-03-27  Frank Warmerdam  <[email protected]>
4103
4104	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
4105
4106	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
4107
4108	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
4109	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
4110
4111	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
4112	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
4113
41142002-03-26  Dwight Kelly  <[email protected]>
4115
4116	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4117	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
4118	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
4119	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
4120	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
4121	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
4122
41232002-03-26  Andrey Kiselev  <[email protected]>
4124
4125	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
4126	now also uses TIFFRGBAImageOK before reading. This is additional fix
4127	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4128
41292002-03-25  Andrey Kiselev  <[email protected]>
4130
4131	* libtiff/: tif_getimage.c: Additional check for supported
4132	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
4133	TIFFRGBAImageOK before reading.
4134	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4135
41362002-03-15  Andrey Kiselev  <[email protected]>
4137
4138	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4139	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
4140	TIFFDataType sizes instead of working with tiffDataWidth array
4141	directly. Should prevent out-of-borders bugs in case of unknown or
4142	broken data types.  EstimateStripByteCounts routine modified, so it
4143	won't work when tags with uknown sizes founded.
4144	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
4145
41462002-03-13  Andrey Kiselev  <[email protected]>
4147
4148	* libtiff/tif_getimage.c: Added support for correct handling
4149	`Orientation' tag in gtTileContig. Should be added in other gt*
4150	functions as well, but I have not images for testing yet. Partially
4151	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
4152
41532002-03-10  Andrey Kiselev  <[email protected]>
4154
4155	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
4156	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
4157	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
4158	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
4159
41602002-03-08  Andrey Kiselev  <[email protected]>
4161
4162	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
4163	be stripped when installing, utility binaries will do.	Closes
4164	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
4165
41662002-02-28  Frank Warmerdam  <[email protected]>
4167
4168	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
4169
4170	* man/libtiff.3t: added copyright tag info.
4171
41722002-02-11  Frank Warmerdam  <[email protected]>
4173
4174	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
4175
4176	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
4177
4178	* man/Makefile.in: Patch DESTDIR handling
4179
4180	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
4181
4182	* configure: OpenBSD changes for Sparc64 and DSO version.
4183
4184	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
4185
41862002-02-05  Frank Warmerdam  <[email protected]>
4187
4188	* config.site/configure: added support for OJPEG=yes option to enable
4189	OJPEG support from config.site.
4190
41912002-01-27  Frank Warmerdam  <[email protected]>
4192
4193	* html/document.html: fixed links for TIFf 6 docs.
4194
41952002-01-18  Frank Warmerdam  <[email protected]>
4196
4197	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
4198
4199	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
4200	decodestrip function returns anything not greater than zero as per
4201	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
4202
4203	* configure: Modify CheckForBigEndian so it can work in a cross
4204	compiled situation.
4205
42062002-01-16  Frank Warmerdam  <[email protected]>
4207
4208	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
4209
4210	* tools/tiffset.c: fix bug in error reporting.
4211
4212	* tools/tiffcp.c: fix several warnings that show up with -Wall.
4213
42142002-01-04  Frank Warmerdam  <[email protected]>
4215
4216	* libtiff/tif_jpeg.c: fixed computation of segment_width for
4217	tiles files to avoid error about it not matching the
4218	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
4219	size.") for ITIFF files.  Apparently the problem was incorporated since
4220	3.5.5, presumably during the OJPEG/JPEG work recently.
4221
42222001-12-15  Frank Warmerdam  <[email protected]>
4223
4224	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
4225
4226	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
4227
4228	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
4229	(defined in tiffconf.h - 1 by default) then the RGBA interface
4230	will assume that a fourth extra sample is ASSOCALPHA if the
4231	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
4232	the library, but makes it work better with RGBA files produced by
4233	lots of applications that don't mark the alpha values properly.
4234
4235	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
4236	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
4237
42382001-12-12  Frank Warmerdam  <[email protected]>
4239
4240	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
4241	override those from tiff directory.  This makes this work with
4242	ImageGear generated files.
4243
42442001-12-07  Frank Warmerdam  <[email protected]>
4245
4246	* html/Makefile.in: added missing images per bug 92.
4247
4248	* port/Makefile.in: fixed clean target per bug 92.
4249
42502001-11-28  Frank Warmerdam  <[email protected]>
4251
4252	* Reissue 3.5.7 release.
4253
4254	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
4255	YYYYMMDD so that it is increasing over time.
4256
4257	* Makefile.in: Ensure that tiffvers.h is regenerated in the
4258	make release target.
4259
4260	* Makefile.in: added libtiff/tiffvers.h to the release file list.
4261
42622001-11-23  Frank Warmerdam  <[email protected]>
4263
4264	* added html/v3.5.7.html, updated html/index.html.
4265
4266	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
4267
42682001-11-15  Frank Warmerdam  <[email protected]>
4269
4270	* configure: fixed test for -lm.
4271
42722001-11-02  Frank Warmerdam  <[email protected]>
4273
4274	* Added PHOTOMETRIC_ITULAB as per bug 90.
4275
4276	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
4277
42782001-10-10  Frank Warmerdam  <[email protected]>
4279
4280	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
4281	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
4282	in keeping with TIFF 6.0 standard in tiff.h
4283
4284	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
4285
42862001-09-26  Frank Warmerdam  <[email protected]>
4287
4288	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
4289	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
4290
42912001-09-24  Frank Warmerdam  <[email protected]>
4292
4293	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
4294
4295	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
4296
4297	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
4298	error about LZW not being available.
4299
4300	* libtiff/tif_dir.c: propagate failure to initialize compression
4301	back from TIFFSetField() as an error status, so applications can
4302	detect failure.
4303
4304	* libtiff/tif_dir.c: removed the auto replacement of
4305	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
4306
4307	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
4308	from CVS as they are all supposed to be auto-generated by configure.
4309
43102001-09-22  Frank Warmerdam  <[email protected]>
4311
4312	* libtiff/tif_ojpeg.c: new update from Scott.
4313
43142001-09-09  Frank Warmerdam  <[email protected]>
4315
4316	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
4317	always use the "safe" version, even if there is a very slight
4318	cost in performance.
4319
4320	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
4321
4322	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
4323	in two places.
4324
4325	* libtiff/tif_getimage.c: Fixed problem with reading strips or
4326	tiles that don't start on a tile boundary.  Fix contributed by
4327	Josep Vallverdu (from HP), and further described in bug 47.
4328
4329	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
4330
4331	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
4332
4333	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
4334
43352001-09-06  Frank Warmerdam  <[email protected]>
4336
4337	* libtiff/tif_packbits.c: fixed memory overrun error.
4338
4339	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
4340
43412001-08-31  Frank Warmerdam  <[email protected]>
4342
4343	* libtiff/tif_getimage.c: relax handling of contig case where
4344	there are extra samples that are supposed to be ignored.  This
4345	should now work for 8bit greyscale or palletted images.
4346
4347	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
4348
43492001-08-28  Frank Warmerdam  <[email protected]>
4350
4351	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
4352	images with more than four samples per pixel.  See:
4353
4354	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
4355
43562001-08-10  Frank Warmerdam  <[email protected]>
4357
4358	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
4359	in TIFFReadRGBATile() to avoid issues in cases of overlapping
4360	buffers.  See Bug 69 in Bugzilla.
4361
4362	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
4363
4364	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
4365
43662001-08-09  Frank Warmerdam  <[email protected]>
4367
4368	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
4369	when checking for 64 bit architectures as per bugzilla bug 67.
4370
43712001-07-27  Frank Warmerdam  <[email protected]>
4372
4373	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
4374	bug 66.
4375
43762001-07-20  Frank Warmerdam  <[email protected]>
4377
4378	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
4379	has been included.
4380
43812001-07-19  Frank Warmerdam  <[email protected]>
4382
4383	* libtiff/tif_open.c: Seek back to zero after failed read,
4384	before writing header.
4385
43862001-07-18  Frank Warmerdam  <[email protected]>
4387
4388	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
4389	much better.  Now depends on having patched libjpeg as per
4390	patch in contrib/ojpeg/*.
4391
43922001-07-17  Frank Warmerdam  <[email protected]>
4393
4394	* */Makefile.in: added DESTDIR support.
4395
4396	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
4397
43982001-07-16  Frank Warmerdam  <[email protected]>
4399
4400	* configure, libtiff/Makefile.in: applied OpenBSD patches
4401	as per:
4402
4403	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
4404
44052001-06-28  Frank Warmerdam  <[email protected]>
4406
4407	* libtiff/tif_getimage.c: Fixed so that failure is properly
4408	reported by gtTileContig, gtStripContig, gtTileSeparate and
4409	gtStripSeparate.
4410
4411	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
4412
4413	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
4414	Updated bug section of tiffcmp.1 to note tiled file issues.
4415
4416	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
4417
44182001-06-22  Frank Warmerdam  <[email protected]>
4419
4420	* configure: Changes for DSO generation on AIX provided by
4421	John Marquart <[email protected]>.
4422
4423	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
4424	on Darwin thanks to Robert Krajewski ([email protected]) and
4425	Keisuke Fujii ([email protected]).
4426
44272001-06-13  Frank Warmerdam  <[email protected]>
4428
4429	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
4430
4431	* man/tiff2rgba.1: new
4432
44332001-05-22  Frank Warmerdam  <[email protected]>
4434
4435	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
4436
44372001-05-13  Frank Warmerdam  <[email protected]>
4438
4439	* libtiff/tools/thumbnail.c: changed default output compression
4440	to packbits from LZW since LZW isn't generally available.
4441
44422001-05-12  Frank Warmerdam  <[email protected]>
4443
4444	* libtiff/tif_ojpeg.c: New.
4445	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
4446	to OJPEG support.
4447
4448	Scott Marovich <[email protected]> supplied OJPEG support.
4449
44502001-05-11  Frank Warmerdam  <[email protected]>
4451
4452	* tiff.h: removed, it duplicates libtiff/tiff.h.
4453
44542001-05-08  Frank Warmerdam  <[email protected]>
4455
4456	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
4457	ensure everything is in order.
4458
4459	* libtiff/libtiff.def: added TIFFCreateDirectory and
4460	TIFFDefaultStripSize as per:
4461
4462	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
4463
44642001-05-02  Frank Warmerdam  <[email protected]>
4465
4466	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
4467	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
4468	force use of uint32 counts instead of short counts.
4469
4470	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
4471	case of writing TIFF_BYTE/TIFF_SBYTE fields.
4472
4473	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
4474
44752001-05-01  Frank Warmerdam  <[email protected]>
4476
4477	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
4478	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
4479
44802001-04-05  Frank Warmerdam  <[email protected]>
4481
4482	* tiffio.h: removed C++ style comment.
4483
4484	* configure: fixed up SCRIPT_SH/SHELL handling.
4485
4486	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
4487
4488	* config.guess: documented more variables as per bug 40.
4489
44902001-04-03  Frank Warmerdam  <[email protected]>
4491
4492	* configure, *Makefile.in: Various changes to improve configuration
4493	for HP/UX specifically, and also in general.  They include:
4494	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
4495	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
4496	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
4497	 - Use -${MAKEFLAGS} in sub makes from makefiles.
4498
4499	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
4500
45012001-04-02  Frank Warmerdam  <[email protected]>
4502
4503	* libtiff/tiff.h: Applied hac to try and resolve the problem
4504	with the inttypes.h include file on AIX.
4505
4506	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4507
4508	* VERSION: update to 3.5.7 beta in preparation for release.
4509
4510	* configure/config.site: modified to check if -lm is needed for
4511	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
4512
4513	* config.guess: updated wholesale to an FSF version apparently
4514	from 1998 (as opposed to 1994).  This is mainly inspired by
4515	providing for MacOS X support.
4516
45172001-03-29  Frank Warmerdam  <[email protected]>
4518
4519	* configure, Makefile.in, etc: added support for OPTIMIZER being
4520	set from config.site.
4521
45222001-03-28  Frank Warmerdam  <[email protected]>
4523
4524	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
4525
4526	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
4527	sizes. It fixes two problems:
4528
4529	Without	scaling (-S) the fax is now centered on the page size specified
4530	with -H	and/or -W. Before, fax2ps was using an obscure and practially
4531	useless algorithm to allocate the image relative to Letter sized paper
4532	which sometime sled to useless whitespace on the paper, while at the
4533	same time cutting of the faxes printable area at the opposite border.
4534
4535	Second, scaling now preserves aspect ratio, which makes unusual faxes
4536	(in particular short ones) print properly.
4537
4538	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
4539
4540	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
4541	Bruce A. Mallett.  See check message for detailed information
4542	on all the changes, including a faster encoder, fixes for level
4543	2 PostScript, and support for the imagemask operator.
4544
45452001-03-27  Frank Warmerdam  <[email protected]>
4546
4547	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
4548	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
4549
4550	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4551
45522001-03-16  Frank Warmerdam  <[email protected]>
4553
4554	* tif_dirinfo.c: moved definition of copyright tag in field list.
4555	Apparently they have to be in sorted order by tag id.
4556
45572001-03-13  Frank Warmerdam  <[email protected]>
4558
4559	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
4560	images in RGBA interface.
4561
45622001-03-02  Frank Warmerdam  <[email protected]>
4563
4564	* Added TIFFTAG_COPYRIGHT support.
4565
45662001-02-19  Frank Warmerdam  <[email protected]>
4567
4568	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
4569	with support for extracting subimages with the ,n syntax, and also
4570	adding the -b bias removal flag.
4571
45722001-02-16  Frank Warmerdam  <[email protected]>
4573
4574	* libtiff/libtiff.def: Brent Roman submitted new version adding
4575	serveral missing entry points.
4576
4577	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
4578	Some sort of weird VMS thing.
4579
4580	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
4581
4582	* tif_luv.c/tiff.h/tiffio.h:
4583	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
4584	([email protected]).  He writes:
4585
4586	1) I improved the gamut-mapping function in tif_luv.c for imaginary
4587	colors, because some images were being super-saturated on the input
4588	side and this resulted in some strange color shifts in the output.
4589
4590	2) I added a psuedotag in tiff.h to control random dithering during
4591	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
4592	on for 24-bit LogLuv output.  Dithering improves the average color
4593	accuracy over the image.
4594
4595	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
4596	tiffio.h, to expose internal routines for converting between LogLuv and
4597	XYZ coordinates.  This is helpful for writing more efficient,
4598	specialized conversion routines, especially for reading LogLuv files.
4599
4600	Changes applied with minor edits.
4601
46022001-01-23  Frank Warmerdam  <[email protected]>
4603
4604	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
4605	whether we are encoding or decoding.  This is to ensure graceful
4606	recovery if TIFFClientOpen() discovers an attempt to open a compressed
4607	file for "r+" access, and subsequently close it, as it resets the
4608	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
4609	compressor's concept of whether it is in encode or decode mode.
4610
46112001-01-08  Mike Welles <[email protected]>
4612
4613	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
4614
46152001-01-07  Frank Warmerdam  <[email protected]>
4616
4617	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
4618	as per bug report by Patrick Connor.
4619
46202000-12-28  Frank Warmerdam  <[email protected]>
4621
4622	* Added RELEASE-DATE file to release file list.
4623
4624	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
4625
46262000-12-22  Mike Welles <[email protected]>
4627        * added link to CVS mirror from index.html
4628
4629	* updated html/internals.html to note that LZW compression is
4630	  not supported by default.
4631
46322000-12-22  Frank Warmerdam  <[email protected]>
4633
4634	* updated html/libtiff.html to not point at Niles' old JPL web site
4635	for the man pages, point at www.libtiff.org.
4636
46372000-12-21  Frank Warmerdam  <[email protected]>
4638
4639	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
4640	Leonard Rosenthol <[email protected]>.  May interfere
4641	with correct building on older systems.  If so, please let me know.
4642
46432000-12-19 Mike Welles <[email protected]>
4644
4645	* Took out LZW Encoding from tif_lzw.c
4646
4647	* Created HOWTO-RELEASE
4648
4649	* Created html/v3.5.6.html
4650
4651	* updated index.html
4652
46532000-12-01  Frank Warmerdam  <[email protected]>
4654
4655	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
4656	Patches supplied by Frank Cringle <[email protected]>
4657	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
4658
46592000-11-24  Frank Warmerdam  <[email protected]>
4660
4661	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
4662	target so that the private headers required by libgeotiff can be
4663	installed with the others.  They are not installed by default.
4664
4665	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
4666	targets so libtiff.so will be built with an explicit dependency
4667	on libm.so.
4668
4669	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
4670	libtiff.so.3.5.5.
4671
4672	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
4673	file, or ALPHA version logic.  Added stuff about DIST_POINT in
4674	place of DIST_TYPE and the alpha release number stuff.
4675
46762000-11-22  Frank Warmerdam  <[email protected]>
4677
4678	* I have applied a patch from Steffen Moeller <[email protected]> to
4679	the configure script so that it now accepts the --prefix, and
4680	--exec-prefix directives.
4681
46822000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
4683
4684	* I have made a variety of modifications in an effort to ensure the
4685	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
4686	file which seems to be updated regularly.
4687
4688	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
4689	   version include file.
4690	 o renamed version.h to tiffvers.h because we now have to install it
4691	   with the public libtiff include files.
4692	 o include tiffvers.h in tiffio.h.
4693	 o updated tif_version.c to use tiffvers.h.
4694	 o Updated Makefile.in accordingly.
4695
4696	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
4697	I have updated the win32 detection rules in tiffcomp.h.
4698
46992000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
4700
4701	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
4702	the strip/tile width and height aren't multiples of the sampling size.
4703	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
4704	Some patches from Rick LaMont of Dot C Software.
4705
4706	* Modified tif_packbits.c encoder to avoid compressing more
4707	data than provided if rowsize doesn't factor into provided data
4708	(such as occurs for YCbCr).
4709
47102000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
4711
4712	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
4713	roundup if rows_per_strip not a multiple of vertical sample size.
4714
47152000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
4716
4717	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
4718	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4719	from [email protected].
4720
4721	* Modified tif_packbits.c decoding to avoid overrunning the
4722	output buffer, and to issue a warning if data needs to be
4723	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4724
47252000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
4726
4727	* Modified tiff2bw to ensure portions add to 100%, and that
4728	white is properly recovered.
4729
4730	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
4731	Patch c/o Stanislav Brabec <[email protected]>
4732
47332000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
4734
4735	* Modified TIFFClientOpen() to emit an error on an attempt to
4736	open a comperessed file for update (O_RDWR/r+) access.  This is
4737	because the compressor/decompressor code gets very confused when
4738	the mode is O_RDWR, assuming this means writing only.  See
4739	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
4740
47412000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
4742
4743	* Added GNULDdso target an`d switched linux and freebsd to use it.
4744
47452000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
4746
4747	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
4748	of EXPAND1D() as per bug 11 (from Roman).
4749
47502000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
4751	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
4752	cygwin compatibility.
4753
4754	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
4755	be a proper fix to the buffer sizing problem.  See
4756	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
4757
4758	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
4759	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
4760	Thanks to Nick Lamb <[email protected]> for reporting the
4761	bug and proving the patch.
4762
47632000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
4764
4765	* Fixed tif_jpeg.c so avoid destroying the decompressor before
4766	we are done access data thanks to bug report from:
4767	Michael Eckstein <[email protected]>.
4768
4769	* Reverted tif_flush change.
4770
47712000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
4772
4773	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
4774	error when TIFF_BEENWRITING is not set.  This ensures that the
4775	directory contents can still be flushed by TIFFFlush().
4776
47772000-08-14  Frank Warmerdam  <[email protected]>
4778
4779	* tif_open.c: Don't set MMAP for O_RDWR files.
4780
4781	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
4782	so that files opened for update can be strip chopped too.
4783
4784	* tif_read.c: fixed up bug with files missing rowsperstrip and
4785	the strips per separation fix done a few weeks ago.
4786
47872000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
4788
4789	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
4790	SAMPLEFORMAT_COMPLEXINT.
4791
47922000-07-13  Mike Welles <[email protected]>
4793
4794	* index.html, bugs.html: added bugzilla info.
4795
47962000-07-12  Frank Warmerdam  <[email protected]>
4797
4798	* tif_read.c: fix subtle bug with determining the number of
4799	rows for strips that are the last strip in a separation but
4800	not the last strip of all in TIFFReadEncodedStrip().
4801
4802	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
4803	Peter Skarpetis <[email protected]>
4804
48052000-06-15  Frank Warmerdam  <[email protected]>
4806
4807	* Modified tiffio.h logic with regard to including windows.h.  It
4808	won't include it when building with __CYGWIN__.
4809
48102000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
4811
4812	* README: update to mention www.libtiff.org, don't list Sam's old
4813	email address.
4814
4815	* configure: Fixed DSO test for Linux as per patch from
4816	  Jan Van Buggenhout <[email protected]>.
4817
48182000-04-21  Frank Warmerdam  <[email protected]>
4819
4820	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
4821	one tile/strip images with an offset, and byte count of zero. These
4822	could be "unpopulated" images.
4823
48242000-04-18  Frank Warmerdam  <[email protected]>
4825
4826	* contrib/addtiffo: Added "averaging" resampling option.
4827
4828	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
4829
4830Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
4831
4832	* tools/Makefile.in: Modified to install properly on SGI.
4833
48342000-04-12  Mike Welles	     <[email protected]>
4835	* configure:  Fixed stupid mistake in libc6 test on Linux
4836
48372000-04-04  Mike Welles	     <[email protected]>
4838	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
4839	  caught by BoundsChecker.  From Arvan Pritchard
4840	  <[email protected]>  (untested).
4841
4842	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
4843	  Arvan Pritchard <[email protected]>
4844
4845	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
4846	  Arvan Pritchard <[email protected]>
4847
48482000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
4849
4850	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
4851
48522000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
4853
4854	* fax2ps: Fixed mixup of width and height in bounding box statement
4855	as per submission by Nalin Dahyabhai <[email protected]>.
4856
48572000-03-27  Mike Welles	     <[email protected]>
4858
4859	* fax2ps:  Modified printruns to take uint32 instead of uint16.
4860	Patch courtesy of Bernt Herd <[email protected]>
4861
48622000-03-20  Mike Welles	     <[email protected]>
4863
4864	* configure: added test for libc6 for linux targets.  Bug reported by
4865        Stanislav Brabec <[email protected]>
4866
4867	* Added 3.5 docs to html/Makefile.in.
4868	Thanks to  Stanislav Brabec <[email protected]>
4869
4870	* configure: fixed bugs in sed scripts
4871	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
4872	fix submitted to Stanislav Brabec <[email protected]>
4873
4874	* tools/iptcutil was not in files list, and wasn't being
4875	added to tar archive.  Updated Makefile.in.
4876
48772000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
4878
4879	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
4880	conversion for the run arrays.
4881
48822000-03-03  Frank Warmerdam  <[email protected]>
4883
4884	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
4885	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
4886
48872000-03-02  Frank Warmerdam  <[email protected]>
4888
4889	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
4890
4891	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
4892	to avoid overruns encountered with frle_bug.tif.
4893
4894Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
4895
4896	* Fixed tools/tiffcmp so that stopondiff testing works.
4897	  Patch care of Joseph Orost <[email protected]>.
4898
48992000-01-28    <warmerda@CS46980-B>
4900
4901	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
4902	  set to 1, and added default (off) setting in tiffconf.h.  This
4903	  should eventually be set by the configure script somehow.
4904
4905	  The original work on all these 2-4GB changes was done by
4906	  Peter Smith ([email protected]).
4907
4908	* Modified tif_win32.c to support 2-4GB seeks.
4909
4910	* tentatively changed toff_t to be unsigned instead of signed to
4911	  facilitate support for 2-4GB files.
4912
4913	* Updated a variety of files to use toff_t.  Fixed some mixups
4914	  between toff_t and tsize_t.
4915
4916Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
4917
4918	* Largely reimplemented contrib/addtiffo to avoid temp files,
4919	updating the TIFF file in place.  Fixed a few other bugs to.
4920
4921	* Set tif_rawdatasize to zero when freeing raw data buffer in
4922	TIFFWriteDirectory().
4923
4924	* Enabled "REWRITE_HACK" in tif_write.c by default.
4925
4926	* Fix bug in tif_write.c when switching between reading one directory
4927	and writing to another.
4928
4929	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
4930
4931Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
4932
4933	* Added TIFFmemory(3t) functions to libtiff.def.
4934
4935Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
4936
4937	* Added libtiff/libtiff.def to TIFFILES distribution list.
4938
4939Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
4940
4941	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
4942
4943	* Altered descriptions in tools to reflect "by default" lzw not supported
4944
4945	* Updated index.html to note lzw compression kit.
4946
4947Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
4948
4949	* Added fax3sm_winnt.c to distribution list in Makefile.in.
4950
4951Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
4952
4953	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
4954
4955	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
4956	  when LZW compression invoked.
4957
4958	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
4959	  in tools to reflect removal of LZW compression
4960
4961Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
4962
4963        * Fixed bug that caused LZW (non) compression to segfault. Added
4964	  warning about LZW compression removed being removed, and why.
4965
4966	* Added nostrip to install in tools/Makefile.in so that debugging
4967	  symbols are kept.
4968
4969Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
4970
4971	* Added patch from Ivo Penzar <[email protected]>,
4972	  supporting Adobe ZIP deflate.  Untested.
4973
4974Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
4975
4976	* Made Packbits the default compression in tools/tiff2rgba.c instead
4977	of LZW.
4978
4979Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
4980
4981	* Added tif_luv to contrib/djgpp/Makefile.lib.
4982
4983Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
4984
4985        * Added zip creation to relase makefile target
4986
4987	* Added html for TIFFWriteTile.3t man page.
4988
4989Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
4990
4991	* Added some changes to tif_write.c to support rewriting existing
4992	fixed sized tiles and strips.  Code mods disabled by default, only
4993	enabled if REWRITE_HACK is defined for now.
4994
4995Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
4996
4997	* Added TIFFWriteTile.3t man page.
4998
4999Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
5000
5001	* Added notes on use of makefile.vc in build.html, and fixed
5002	email subscription address.
5003
5004199-11-28  Mike Welles <[email protected]>
5005
5006	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
5007
5008	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
5009	   from Bruce Carmeron <[email protected]> -- modifications of
5010	   changes made by Frank (sun cc still complained on cast).
5011
5012	*  Added tiffconf.h to install target per request from Bill
5013	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
5014 	   know features have been compiled into the TIFF library in order to
5015	   handle things properly".
5016
5017Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
5018
5019	* fixed various VC++ warnings as suggested by Gilles Vollant
5020	<[email protected]>.
5021
5022Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
5023
5024	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
5025	not imply applications are responsible for image data swapping.
5026
50271999-11-22  Mike Welles <[email protected]>
5028	*  HTML-ized the man pages, added to html/man
5029
5030	*  Removed LZW Compression to comply with Unisys patent extortion.
5031
50321999-09-29  Mike Welles		<[email protected]>
5033	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
5034	   From Ivo Penzar <[email protected].
5035
5036	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
5037	   memory mapped files. <[email protected]>
5038
50391999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
5040	* Corrected alpha versioning.
5041
5042	* Removed distinction between  alpha and release targets in Makefile.in.
5043
5044	* added release.stamp target, which tags cvs tree, and updates
5045	  "RELEASE-DATE"
5046
5047	* added releasediff target, which diffs tree with source as of
5048	  date in "RELEASE-DATE"
5049
5050	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
5051	  away from alpha/non-alpha distinctions).
5052
5053	* updated html to reflect release
5054
50551999-09-23    <warmerda@CS46980-B>
5056
5057	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
5058
5059	* Added CYGWIN case in configure.
5060
5061Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
5062
5063	* Applied Francois Dagand's patch to handle fax decompression bug.
5064	  (sizes >= 65536 were failing)
5065
5066Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
5067
5068	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
5069	  by Christopher Lawton <[email protected]>
5070
5071Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
5072
5073	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
5074	  Albert Chin-A-Young <[email protected]>
5075
5076	* Added TIFFReassignTagToIgnore() API on behalf of
5077	  Bruce Cameron <[email protected]>.  Man page still pending.
5078
5079Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
5080
5081	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
5082	files to provide for a rudimentary testsuite.
5083
5084	* Added contrib/tags back from old distribution ... fixed up a bit.
5085
50861999-08-16    <warmerda@CS46980-B>
5087
5088	* Added simple makefile.vc makefiles for building with MS VC++
5089	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
5090	better solutions for some users.
5091
5092Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
5093
5094	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
5095	put it in tools since part of it is in C++.
5096
50971999-08-16  Michael L. Welles  <[email protected]>
5098
5099	* Updated html/index.html with anon CVS instructions.
5100
5101Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
5102
5103	* pre-remove so link before softlink in LINUXdso action in
5104	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
5105	the first.
5106
5107	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
5108	colormaps owned by the TIFF handle itself when trying to fixup wrong
5109	(eight bit) colormaps.  Corrected by maintaining a private copy of
5110	the colormap.
5111
5112	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
5113	tif_getimage.c.
5114
5115	* CVS Repository placed at remotesensing.org.  ChangeLog added.
5116