xref: /libtiff-4.0.7/ChangeLog (revision c38c973b)
12015-08-28  Bob Friesenhahn  <[email protected]>
2
3	* html/v4.0.5.html: Added HTML file describing the changes which
4	will appear in the 4.0.5 release.
5
62015-08-23  Bob Friesenhahn  <[email protected]>
7
8	* libtiff/tiffiop.h: For MinGW comiles, make sure that build
9	supports necessary __MSVCRT_VERSION__ (at least at least 0x800).
10	Otherwise large files can not be supported for POSIX-style I/O.
11
12	* tools/fax2tiff.c (main): Eliminate a compiler warning in 64-bit
13	builds about cast to thandle_t.
14
15	* test/rewrite_tag.c (main): Does not require any arguments.
16
172015-08-20  Bob Friesenhahn  <[email protected]>
18
19	* tools/CMakeLists.txt, port/snprintf.c: Patch by Roger Leigh to
20	fix build issues when using Cmake due to Windows large file
21	changes.
22
232015-08-18  Bob Friesenhahn  <[email protected]>
24
25	* libtiff/tiffiop.h: First cut at supporting large files under
26	Microsoft Windows using tif_unix.c and the libtiff tools.  This
27	only works if the Windows CDK is new enough to support the APIs
28	used (Visual C++ 2005 or later).  Support for large files is not
29	actually tested yet.
30
312015-08-15  Bob Friesenhahn  <[email protected]>
32
33	* libtiff/tif_jpeg.c: Applied patch by Räisä Olli to assure that
34	client_data is initialized to a known value, and to report an
35	error on two memory allocation failures.
36
372015-08-13  Bob Friesenhahn  <[email protected]>
38
39	* CMakeLists.txt: Applied patch by Roger Leigh to fix libtiffxx
40	symbol versioning.  Patch was mailed to libtiff list on Thu, 13
41	Aug 2015.
42
432015-07-04  Bob Friesenhahn  <[email protected]>
44
45	* cmake: Add d suffix to debug libraries with MSVC.  Patch #3 of 3
46	by Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20
47	+0100.
48
49	* cmake: Add extra warning flags.  Patch #2 of 3 by Roger Leigh
50	posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100.
51
52	* cmake: Correct snprintf fallback for VS2015.  Patch #1 of 3 by
53	Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100.
54
552015-06-24  Bob Friesenhahn  <[email protected]>
56
57	* CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to
58	libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several
59	corrections to ensure that the autotools build still works were
60	added by me.  I have not yet tested the build using 'cmake' or
61	MSVC with 'nmake'.
62
632015-06-21  Bob Friesenhahn  <[email protected]>
64
65	* test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG
66	library so only execute if JPEG is available.
67
68	* libtiff 4.0.4 released.
69
70	* configure.ac: Add a HAVE_FOO Automake conditional for each
71	add-on library.
72
73	* test/Makefile.am (JPEG_DEPENDENT_CHECK_PROG): raw_decode
74	requires JPEG support to compile.  Use Automake conditional to
75	only include it when JPEG support is available.
76
77	* html/build.html: Try to improve the nmake-based VC++ build
78	description.
79
80	* libtiff/tiffconf.vc.h: Build fixes based on testing.
81
82	* libtiff/tif_config.vc.h: Build fixes based on testing.
83
84	* libtiff/libtiff.def: TIFFRasterScanline does not exist so remove
85	export for it.
86
872015-06-20  Bob Friesenhahn  <[email protected]>
88
89	* libtiff/tif_config.vc.h: Make adjustments to match the new
90	definitions that configure produces, including for WIN64.  Still
91	needs to be tested.
92
93	* configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting
94	specifier.  64-bit MinGW supports 'long long' but support for
95	'lld' is not assured by the run-time DLLs and so GCC warns.
96	Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition
97	and printf format specifier to deal with printing values of
98	'size_t' type.  In particular, this was necessary for WIN64.
99	Added a configure test for if the system headers provide 'optarg'
100	(normal case) and block out the many explicit 'extern' statements
101	in the utilities.  This was found to be necessary under Windows
102	when getopt is in a DLL and the symbols are already imported with
103	dllimport via standard header files.
104
105	* test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32
106	and boolean in MinGW build due to including jpeglib.h.
107
108	* test/rewrite_tag.c (main): Fix problem with location of variable
109	declaration.
110
111	* libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs,
112	TIFFReadRGBAImageOriented, TIFFSetCompressionScheme,
113	TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc,
114	TIFFRasterScanline, TIFFSetErrorHandlerExt,
115	TIFFSetWarningHandlerExt, TIFFNumberOfDirectories,
116	TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory,
117	TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by
118	Roger Leigh and justified by use in libtiff tests, documentation,
119	and changelog notes.  Also sorted symbol list and removed
120	duplicate entries.
121
1222015-06-16  Bob Friesenhahn  <[email protected]>
123
124	* libtiff/tif_getimage.c: Fix four Coverity issues related to
125	unintended sign extension.
126
1272015-06-16  Even Rouault <even.rouault at spatialys.com>
128
129	* libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna)
130
1312015-06-14  Lee Howard  <[email protected]>
132
133	* libtiff/tif_unix.c: contribution from Vadim Zeitlin on
134	Bugzilla Bug #2510 fixes several harmless but still annoying
135	warnings
136
137	* configure: contribution from Ludolf Holzheid on Bugzilla
138	Bug #2498.  Adds an option to select the file I/O style on
139	Windows hosts.
140
141	* libtiff/tif_getimage.c: contribution from Gary Cramblitt
142	on Bugzilla Bug #2409.  Correct reading of certain tiled TIFFs.
143
144	* configure, configure.ac: contribution from Marcos H. Woehrmann
145	on Bugzilla Bug #2405.  Correct shell equality operator.
146
147	* tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt
148	on Bugzilla Bug #2401.  Appropriately call glFlush().
149
150	* tools/tiff2pdf.c: change ColorTransform from "0" to "1"
151	following Bugzilla Bug #2150.
152
1532015-06-13  Lee Howard  <[email protected]>
154
155	* libtiff/tif_lzw.c: contribution from Andy Cave - decode
156	files that contain consecutive CODE_CLEAR codes.
157
158	* tools/tiff2pdf.c: contribution from Antti S. Lankila on
159	Bugzilla Bug #2078. Suppress initial output of the header.
160
161	* tools/tiff2pdf.c: contribution from Yuriy M. Kaminskiy -
162	Take care in using the return value from snprintf().
163
164	* tools/tiffcrop.c: contribution from Eduardo Robles Elvira -
165	correctly copy the compression tag from the source TIFF.
166
167	* tools/tiff2ps.c: contribution from Eduardo Robles Elvira -
168	correct sizing and scaling problems with output document.
169
1702015-06-10  Bob Friesenhahn  <[email protected]>
171
172	* libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two
173	clean implementations in order to avoid pre-processor hell.  Only
174	one of the implementations is used in a given build.
175
1762015-06-08  Even Rouault <even.rouault at spatialys.com>
177
178	* libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12
179	case
180
1812015-06-07  Bob Friesenhahn  <[email protected]>
182
183	* libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975
184	"Division or modulo by zero".
185	(TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division
186	or modulo by zero".
187	(TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by
188	zero".
189	(TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by
190	zero".
191
192	* libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and
193	715974 "Division or modulo by zero".
194
1952015-05-31  Bob Friesenhahn  <[email protected]>
196
197	* libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity
198	1134470 "Logically dead code" by making the roll-over check
199	explicit.
200
201	* libtiff/tif_luv.c (LogLuvDecodeTile): Fix Coverity 991227
202	"Division or modulo by zero".
203	(LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by
204	zero".
205	(LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by
206	zero".
207	(LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by
208	zero".
209
210	* libtiff/tif_dirread.c (TIFFReadDirEntryDoubleArray): Fix
211	Coverity 298626 "Logically dead code".
212	(TIFFReadDirEntryFloatArray): Fix Coverity 298627 "Logically dead
213	code".
214	(TIFFReadDirEntryIfd8Array): Fix Coverity 298628 "Logically dead
215	code".
216	(TIFFReadDirEntrySlong8Array): Fix Coverity 298629 "Logically dead
217	code"
218
219	* libtiff/tif_dir.c (TIFFNumberOfDirectories): Don't depend on ++
220	operator precedenc in evaluation.  Might quench Coverity 1134470
221	"Logically dead code".
222
223	* libtiff/tif_jpeg.c (JPEGDecode): Fix Coverity 602597 "Operands
224	don't affect result".  This change uses ifdefs to include
225	applicable code based on properties of libjpeg.  Still needs to be
226	re-tested with 12-bit "6b" and "MK1".
227
2282015-05-30  Bob Friesenhahn  <[email protected]>
229
230	* libtiff/tif_dirwrite.c (_TIFFRewriteField): Fix Coverity 1024310
231	"Resource leak".
232
233	* libtiff/tif_ojpeg.c (OJPEGReadHeaderInfoSecStreamDht): Fix
234	Coverity 601720 "Resource leak".
235
236	* libtiff/tif_jpeg.c (JPEGCleanup): Fix Coverity 298624
237	"Dereference before null check".
238
239	* libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Fix Coverity 603400
240	"Missing break in switch".
241
242	* contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer
243	size calculation for overflow.
244
245	* contrib/addtiffo/addtiffo.c (main): Possibly address Coverity
246	1024226 "Untrusted value as argument".
247
248	* tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted
249	value as argument".
250	(checksignature): Fix Coverity 1024894 "Ignoring number of bytes
251	read".
252	(readextension): Fix Coverity 1024893 "Ignoring number of bytes
253	read".
254	(readgifimage): Fix Coverity 1024890 "Ignoring number of bytes
255	read".
256	(readraster): Fix Coverity 1024891 "Ignoring number of bytes
257	read".
258	(readgifimage): Fix Coverity 1024892 "Ignoring number of bytes
259	read".
260
261	* tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181
262	"Structurally dead code".
263
264	* tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return
265	value from library".
266	(guessSize): Fix Coverity 1024888 "Unchecked return value from
267	library".
268	(guessSize): Fix Coverity 1214162 "Ignoring number of bytes read".
269	(guessSize): Fix Coverity 1024889 "Unchecked return value from
270	library".
271
272	* tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621
273	"Resource leak".
274	(t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead
275	code".
276	(t2p_write_pdf): Fix Coverity 1227690 "Unused value".
277
2782015-05-29  Bob Friesenhahn  <[email protected]>
279
280	* contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468
281	"Infinite loop".
282	(formatIPTC): Fix Coverity 1024727 "Truncated stdio return value".
283	(formatIPTC): Fix Coverity 1214240 "Untrusted loop bound".
284
2852015-05-28  Bob Friesenhahn  <[email protected]>
286
287	* contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix
288	Coverity 298615 "Resource leak".
289	(TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign
290	extension".
291
292	* tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value
293	as argument".
294	(main): Fix Coverity 1024678 "Unchecked return value from
295	library".
296	(main): Fix Coverity 1024679 "Unchecked return value from
297	library".
298	(main): Fix Coverity 1214160 "Ignoring number of bytes read".
299
300	* contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix
301	Coverity 298615 "Resource leak".
302
303	* tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309
304	"Resource leak".
305
306	* tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource
307	leak".
308	(cpStrips): Fix Coverity 1024305 "Resource leak".
309
3102015-05-27  Bob Friesenhahn  <[email protected]>
311
312	* tools/ras2tiff.c: Fix Sun Raster header definition to be safe
313	for 64-bit systems.  Add some header validations.  Should fix many
314	Coverity issues.
315	(main): Fix Coverity 1301206: "Integer handling issues  (BAD_SHIFT)".
316	(main): Quiet Coverity 1024223 "Untrusted value as argument".
317
318	* tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting
319	level does not match indentation".
320	(get_histogram): Quiet Coverity 1024386 "Out-of-bounds read".
321	This was a benign mis-diagnosis but added code to enforce against
322	buffer overflow.
323
324	* tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical
325	vs. bitwise operator".
326	(readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or
327	modulo by zero".
328	(readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead
329	code".
330	(writeSingleSection): Fix Coverity 1024796 "Nesting level does not
331	match indentation".
332	(writeCroppedImage): Fix Coverity 1024797 "Nesting level does not
333	match indentation".
334	(loadImage): Fix Coverity 1299741 "Dereference before null check".
335	(loadImage): Fix Coverity 1299740 "Out-of-bounds write".
336
3372015-03-02  Even Rouault  <[email protected]>
338
339	* tools/tiffdither.c: check memory allocations to avoid writing to
340	NULL pointer. Also check multiplication overflow. Fixes #2501,
341	CVE-2014-8128. Derived from patch by Petr Gajdos.
342
3432015-01-26  Even Rouault  <[email protected]>
344
345	* add html/v4.0.4beta.html under version control
346	* HOWTO-RELEASE: write that cvs add html/vX.X.html must be used
347
3482015-01-26  Even Rouault  <[email protected]>
349
350	* libtiff 4.0.4beta released
351
3522015-01-26  Even Rouault  <[email protected]>
353
354	* automake: updated to 1.15
355	* libtool: updated to 2.4.5
356
3572015-01-22  Even Rouault  <[email protected]>
358
359	* tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013)
360
3612015-01-05  Frank Warmerdam  <[email protected]>
362
363	* html/bugs.html: remove note about needing to email the tiff mailing
364	list administrator about being approved for membership, this appears
365	not to be true.
366
3672015-01-05  Olivier Paquet  <[email protected]>
368
369	* tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection.
370
3712015-01-03  Even Rouault  <[email protected]>
372
373	* libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow
374	when reading more than 65535 directories, and effectively error out when
375	reaching that limit.
376
3772014-12-29  Even Rouault  <[email protected]>
378
379	* libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10
380	markers to avoid emitting a warning (even if, according to the TechNote,
381	there are admitedly unusual/not recommended or even forbidden variants, but
382	they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2,
383	SOF9 and SOF10).
384	Define in_color_space and input_components to the right values in
385	JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by
386	libjpeg API documentation, so as to be compatible with mozjpeg library.
387	Note: the default settings of mozjpeg will produce progressive scans, which
388	is forbidden by the TechNote.
389
3902014-12-29  Even Rouault  <[email protected]>
391
392	* libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling.
393	to avoid buffer leak (fix previous fix, found by Coverity scan)
394
3952014-12-29  Even Rouault  <[email protected]>
396
397	* libtiff/tif_next.c: add new tests to check that we don't read outside of
398	the compressed input stream buffer.
399
400	* libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height
401    in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and
402    putcontig8bitYCbCr21tile cases.
403
4042014-12-27  Even Rouault  <[email protected]>
405
406	* libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing
407	extented tags installed by user code through the extender mechaninm before
408	calling the extender callback (GDAL #5054)
409
4102014-12-26  Bob Friesenhahn  <[email protected]>
411
412	* tools/tiffcrop.c: Fix warnings about variables set but not used.
413
414	* contrib/iptcutil/iptcutil.c: Fix warnings about variables set
415	but not used.
416
417	* tools/tiffgt.c: Fix warnings about unused parameters.
418
419	* libtiff/tif_stream.cxx: Fix warnings about unused parameters.
420
4212014-12-25  Even Rouault  <[email protected]>
422
423	* libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix
424	various typos found by Debian lintian tool (GDAL #5756)
425
4262014-12-24  Even Rouault  <[email protected]>
427
428	* libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling.
429	http://bugzilla.maptools.org/show_bug.cgi?id=2235
430
4312014-12-24  Even Rouault  <[email protected]>
432
433	* tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images.
434	http://bugzilla.maptools.org/show_bug.cgi?id=2445
435
4362014-12-24  Even Rouault  <[email protected]>
437
438	* tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image.
439	Derived from patch by Petr Gajdos,
440	http://bugzilla.maptools.org/show_bug.cgi?id=2443
441
4422014-12-23  Even Rouault  <[email protected]>
443
444	* libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code
445	of _TIFFFillStriles(). This solves crashing bug on corrupted
446	images generated by afl.
447
4482014-12-23  Even Rouault  <[email protected]>
449
450	* libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with
451	<= 0 by casting it to int64 first. This solves crashing bug on corrupted
452	images generated by afl.
453
4542014-12-21  Bob Friesenhahn  <[email protected]>
455
456	* tools/tiffdump.c: Guard against arithmetic overflow when
457	calculating allocation buffer sizes.
458
4592014-12-21  Even Rouault  <[email protected]>
460
461	* tools/tiff2bw.c: when Photometric=RGB, the utility only works if
462	SamplesPerPixel = 3. Enforce that
463	http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127)
464
4652014-12-21  Even Rouault  <[email protected]>
466
467	* tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES
468	copying. The right fix would be to properly copy it, but not worth the burden
469	for those esoteric utilities.
470	http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127)
471
4722014-12-21  Even Rouault  <[email protected]>
473
474	* tools/thumbnail.c: fix out-of-buffer write
475	http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128)
476
4772014-12-21  Even Rouault  <[email protected]>
478
479	* tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS
480	or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or
481	COMPRESSION_CCITTFAX4
482	http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128)
483
4842014-12-21  Even Rouault  <[email protected]>
485
486	* libtiff/tif_next.c: check that BitsPerSample = 2. Fixes
487	http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129)
488
4892014-12-21  Even Rouault  <[email protected]>
490
491	* tools/tiff2pdf.c: check return code of TIFFGetField() when reading
492	TIFFTAG_SAMPLESPERPIXEL
493
4942014-12-21  Even Rouault  <[email protected]>
495
496	* tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none.
497	Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480)
498	Description: fix for Debian bug #741451
499	tiffcp crashes when converting JPEG-encoded TIFF to a different
500	encoding (like none or lzw). For example this will probably fail:
501	tiffcp -c none jpeg_encoded_file.tif output.tif
502	The reason is that when the input file contains JPEG data,
503	the tiffcp code forces conversion to RGB space. However,
504	the output normally inherits YCbCr subsampling parameters
505	from the input, which leads to a smaller working buffer
506	than necessary. The buffer is subsequently overrun inside
507	cpStripToTile() (called from writeBufferToContigTiles).
508	Note that the resulting TIFF file would be scrambled even
509	if tiffcp wouldn't crash, since the output file would contain
510	RGB data intepreted as subsampled YCbCr values.
511	This patch fixes the problem by forcing RGB space on the output
512	TIF if the input is JPEG-encoded and output is *not* JPEG-encoded.
513	Author: Tomasz Buchert <[email protected]>
514
5152014-12-21  Even Rouault  <[email protected]>
516
517	Fix various crasher bugs on fuzzed images.
518	* libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for
519	TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing
520	the directory
521	* libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or
522	TransferFunction if BitsPerSample has not yet been read, otherwise reading
523	it later will cause user code to crash if BitsPerSample > 1
524	* libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with
525	SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8
526	* libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images
527	instead of imagewidth to avoid crash
528	* tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions
529	* tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by
530	libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB
531	* tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight
532	* tools/tiffdump.c: fix crash due to overflow of entry count.
533
5342014-12-15  Even Rouault  <[email protected]>
535
536	* libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused
537	all tiles/strips to include quantization tables even when the jpegtablesmode
538	had the JPEGTABLESMODE_QUANT bit set.
539	Also add explicit removal of Huffman tables when jpegtablesmode has the
540	JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the
541	first tile/strip (only useful in update scenarios. create-only was
542	fine)
543
5442014-12-09  Bob Friesenhahn  <[email protected]>
545
546	* tools/tiff2pdf.c: Assure that memory size calculations for
547	_TIFFmalloc() do not overflow the range of tmsize_t.
548
5492014-12-07  Even Rouault  <[email protected]>
550
551	* tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with
552	Valgrind and Address Sanitizer on test suite
553
5542014-12-07  Bob Friesenhahn  <[email protected]>
555
556	* tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION
557	tag can return one channel, with the other two channels set to
558	NULL.  The tiff2pdf code was expecting that other two channels
559	were duplicate pointers in the case where there is only one
560	channel.  Detect this condition in order to avoid a crash, and
561	presumably perform correctly with just one channel.
562
5632014-12-06  Bob Friesenhahn  <[email protected]>
564
565	* tools/tiffdump.c: Fix double-free bug.
566
5672014-11-27  Even Rouault  <[email protected]>
568
569	* libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with
570	Visual Studio 2015 aka VC 14 aka MSVC 1900
571
5722014-11-20  Even Rouault  <[email protected]>
573
574	* libtiff/tif_lzw.c: prevent potential null dereference of
575	sp->dec_codetab in LZWPreDecode (bug #2459)
576
577	* libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size
578	to TIFFmalloc() if passed user buffer size is 0 (bug #2459)
579
580	* libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459)
581
582	* libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make
583	Coverity happier (not a bug, #2459)
584
585	* libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier
586	(not a bug, #2459)
587
588	* tools/tiff2pdf.c: close PDF file (bug #2479)
589
590	* tools/fax2ps.c: check malloc()/realloc() result (bug #2470)
591
592	* tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463)
593	and avoid passing a NULL pointer to read() if seek() failed before (bug #2459)
594
595	* tools/tiffcrop.c: fix segfault if bad value passed to -Z option
596	(bug #2459) and add missing va_end in dump_info (#2459)
597
598	* tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451)
599
6002014-11-20  Even Rouault  <[email protected]>
601	* libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on
602	corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471)
603
6042014-11-20  Even Rouault  <[email protected]>
605	* automake: updated to 1.14.1
606	* libtool: updated to 2.4.3
607	* HOWTO-RELEASE: small update about autotools building order
608
6092014-10-20  Olivier Paquet  <[email protected]>
610	* tools/tiff2pdf.c: Preserve input file directory order when pages
611	are tagged with the same page number.
612
6132014-08-31  Bob Friesenhahn  <[email protected]>
614
615	* libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect
616	count for tag should be a warning rather than an error since
617	errors terminate processing.
618
6192014-06-07  Bob Friesenhahn  <[email protected]>
620
621	* tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip
622	was wrongly described.  Fix suggested by Miguel Medalha.
623
6242014-05-06  Bob Friesenhahn  <[email protected]>
625
626	* libtiff/tif_dirinfo.c (TIFFField) : Fix data type for
627	TIFFTAG_GLOBALPARAMETERSIFD tag.  Patch by Steve Underwood.
628	Reviewed and forwarded by Lee Howard.
629
6302013-11-30  Frank Warmerdam  <[email protected]>
631
632	* libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories()
633
6342013-10-21  Frank Warmerdam  <[email protected]>
635
636	* libtiff/tif_dir.c: generate error in case of directory count
637	overflow.
638
6392013-10-01  Frank Warmerdam  <[email protected]>
640
641	* libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for
642	TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457)
643
6442013-09-12  Bob Friesenhahn  <[email protected]>
645
646	* libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to
647	be defective, then set it to zero before returning error in order
648	to terminate processing of truncated TIFF.  Issue found and fix
649	suggested by Richard Nolde.
650
6512013-08-14  Frank Warmerdam  <[email protected]>
652
653	* tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244)
654
6552013-08-13  Frank Warmerdam  <[email protected]>
656
657	* tools/gif2tiff.c: Be more careful about corrupt or
658	hostile input files (#2450, CVE-2013-4231)
659
660	* tools/tiff2pdf.c: terminate after failure of allocating
661	ycbcr buffer (bug #2449, CVE-2013-4232)
662
6632013-07-09  Frank Warmerdam  <[email protected]>
664
665	* tools/tiffinfo.c: Default various values fetched with
666	TIFFGetField() to avoid being uninitialized.
667
6682013-05-02  Tom Lane  <[email protected]>
669
670	* tools/tiff2pdf.c: Rewrite JPEG marker parsing in
671	t2p_process_jpeg_strip to be at least marginally competent.  The
672	approach is still fundamentally flawed, but at least now it won't
673	stomp all over memory when given bogus input.  Fixes CVE-2013-1960.
674
6752013-05-02  Tom Lane  <[email protected]>
676
677	* contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c,
678 	libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c,
679 	tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c,
680 	tools/tiffdither.c: Enlarge some fixed-size buffers that weren't
681 	large enough, and eliminate substantially all uses of sprintf(buf,
682 	...)  in favor of using snprintf(buf, sizeof(buf), ...), so as to
683 	protect against overflow of fixed-size buffers.  This responds in
684 	particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's
685 	t2p_write_pdf_page(), but in general it seems like a good idea to
686 	deprecate use of sprintf().
687
6882013-03-29  Bob Friesenhahn  <[email protected]>
689
690	* configure.ac: Applied patch by Brad Smith to improve pkg-config
691	static linking by adding -lm to Libs.private when needed.
692
6932013-03-05  Tom Lane  <[email protected]>
694
695	* html/man/tiff2ps.1.html, html/man/tiffcp.1.html,
696 	html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1,
697 	man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c,
698 	tools/tiffdither.c: Sync tool usage printouts and man pages with
699 	reality (quite a few options had escaped being documented in one
700 	or both places).  Per an old report from Miroslav Vadkerti.
701
7022013-01-25  Bob Friesenhahn  <[email protected]>
703
704	* tools/tiff2ps.c:Fix bug in auto rotate option code. Once a
705	rotation angle was set by the auto rotate check, it was retained
706	for all pages that followed instead ofa being retested for each
707	page.  Patch by Richard Nolde.
708
7092013-01-18  Frank Warmerdam  <[email protected]>
710
711	* libtiff/tif_write.c: tmsize_t related casting warning fixed for
712	64bit linux.
713
714	* libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings.
715	http://bugzilla.maptools.org/show_bug.cgi?id=2427
716
7172012-12-20  Tom Lane  <[email protected]>
718
719	* test/raw_decode.c: Relax raw_decode's pixel-value checks so that
720	it will pass with more versions of libjpeg.  (There are at least
721	three in active use now, and JPEG_LIB_VERSION doesn't tell us
722	enough to uniquely identify expected results.)
723
7242012-12-12  Tom Lane  <[email protected]>
725
726	* libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of
727	field_passcount fields: it had the TIFF_VARIABLE and
728	TIFF_VARIABLE2 cases backwards.
729
7302012-12-10  Tom Lane  <[email protected]>
731
732	* tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564:
733 	check the linebytes calculation too, get the max() calculation
734 	straight, avoid redundant error messages, check for malloc
735 	failure.
736
7372012-12-10  Tom Lane  <[email protected]>
738
739	* libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447
740 	(to enlarge tbuf for possible partial stride at end) so that
741 	overflow in the integer addition is detected.  Per gripe from
742 	Huzaifa Sidhpurwala.
743
7442012-12-03  Bob Friesenhahn  <[email protected]>
745
746	* tools/tiffset.c: tiffset now supports a -u option to unset a
747	tag.  Patch by Zach Baker. See
748	http://bugzilla.maptools.org/show_bug.cgi?id=2419
749
7502012-11-18  Bob Friesenhahn  <[email protected]>
751
752	* automake: Update Automake to 1.12.5 release.
753
754	* libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not
755	require malloc() to return NULL pointer if requested allocation
756	size is zero.  Assure that _TIFFmalloc does.
757
7582012-11-01  Frank Warmerdam  <[email protected]>
759
760	* tools/ppm2tiff.c: avoid zero size buffer vulnerability.
761	CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the
762	Red Hat Security Response team for the fix.
763
7642012-10-18  Frank Warmerdam  <[email protected]>
765
766	* tif_zip.c: Avoid crash on NULL error messages.
767
7682012-09-22  Bob Friesenhahn  <[email protected]>
769
770	* libtiff 4.0.3 released.
771
7722012-09-20  Bob Friesenhahn  <[email protected]>
773
774	* Makefile.am: Update to Automake 1.12.4
775
7762012-08-19  Bob Friesenhahn  <[email protected]>
777
778	* Makefile.in: Update to Automake 1.12.3
779
780	* libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add
781	some TIFF/FX support in libtiff.  Add the tag definitions to
782	tiff.h.  Add the related TIFF field definitions to tif_dirinfo.c,
783	and also fixes an error in a comment.  Adds the photometric values
784	to tif_print.c, and fixes a bug.  These changes are by Steve
785	Underwood.
786
7872012-08-13  Frank Warmerdam  <[email protected]>
788
789	* libtiff/tif_write.c: Fix bug rewriting image tiles in a
790	compressed file: http://trac.osgeo.org/gdal/ticket/4771
791
7922012-08-02  Frank Warmerdam  <[email protected]>
793
794	* libtiff/tif_dirread.c: report error in case of mismatch value
795	counts for tags (ie. DotRange).
796
7972012-07-26  Tom Lane  <[email protected]>
798
799	* libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new
800 	functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(),
801	TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount()
802	as external accessors for the opaque type TIFFField.
803
804	* tools/tiffset.c: Make tiffset use the above functions instead of
805	relying on library private headers.
806
8072012-07-19  Tom Lane  <[email protected]>
808
809	* tools/tiff2pdf.c: Fix two places where t2p_error didn't get set
810	after a malloc failure.  No crash risk AFAICS, but the program
811	might not report exit code 1 as desired.  h/t [email protected]
812
8132012-07-18  Tom Lane  <[email protected]>
814
815	* tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails.  This
816	prevents core dumps or perhaps even arbitrary code execution when
817	processing a corrupt input file (CVE-2012-3401).
818
8192012-07-06  Bob Friesenhahn  <[email protected]>
820
821	* test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+.
822	IJG JPEG 7+ uses a different upsampling algorithm which produces
823	different numeric results.
824
825	* libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to
826	work with IJG JPEG 7+.
827
8282012-07-04  Bob Friesenhahn  <[email protected]>
829
830	* test/raw_decode.c: Add changes so that test can run with build
831	directory outside of source directory.
832
8332012-07-02  Frank Warmerdam  <[email protected]>
834
835	* libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed
836	imagery (http://trac.osgeo.org/gdal/ticket/4732)
837
8382012-06-20  Frank Warmerdam  <[email protected]>
839
840	* libtiff/tif_fax3.c: fix memory initialization of runs, only
841	partly done.
842
843	* libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one
844	full "stride" past the end.
845
8462012-06-19  Frank Warmerdam  <[email protected]>
847
848	* libtiff/tif_packbits.c: fix read past end of data buffer.
849
8502012-06-15  Frank Warmerdam  <[email protected]>
851
852	*  libtiff 4.0.2 released.
853
854	* tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable
855	warnings with clang.
856
8572012-06-15  Tom Lane  <[email protected]>
858
859	* tools/tiff2pdf.c: Defend against integer overflows while
860	calculating required buffer sizes (CVE-2012-2113).
861
8622012-06-12  Frank Warmerdam  <[email protected]>
863
864	* libtiff/tif_print.c: Be careful about printing corrupt inknames.
865
866	* libtiff/tif_fax3.c: Ensure runs array is initialized to zeros.
867
8682012-06-07  Frank Warmerdam  <[email protected]>
869
870	* libtiff/tif_print.c: avoid pretty printing other fields when
871	we don't have the proper amount and type of data or if the field
872	is actually autodefined.
873
8742012-06-05  Frank Warmerdam  <[email protected]>
875
876	* libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal
877	ycbcrsubsampling values result in a runtime error, not just an
878	assertion.
879
880	* tests/custom_dir.c: Add testing of EXIF and custom directory
881	reading and writing.
882
883	* libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory()
884	and TIFFCreateEXIFDirectory() functions.
885
886	* libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for
887	PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING.  Implement DOTRANGE
888	differently.  This is to avoid using special TIFFGetField/TIFFSetField
889	rules for these fields in non-image directories (like EXIF).
890
8912012-06-04  Frank Warmerdam  <[email protected]>
892
893	* libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling
894	in JPEGPreDecode().  If a fixup will be done it needs to be done sooner
895	in JPEGFixupTagsSubsampling() or else buffer sized may be wrong.
896
8972012-06-01  Frank Warmerdam  <[email protected]>
898
899	* tools/tiffinfo.c: Do not try to read image data in EXIF directories.
900
901	* libtiff/tif_getimage.c: added support for _SEPARATED CMYK images.
902	http://bugzilla.maptools.org/show_bug.cgi?id=2379
903
904	* libtiff/tif_unix.c: use strerror() to return a more specific error message
905	on failed open.
906	http://bugzilla.maptools.org/show_bug.cgi?id=2341
907
908	* libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs.
909	http://bugzilla.maptools.org/show_bug.cgi?id=2386
910
911	* tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support
912	for testing jpeg in tiff image decoding including the "raw" decode interface.
913
9142012-05-31  Frank Warmerdam  <[email protected]>
915
916	* libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in
917	JPEGDecodeRaw() - mostly likely to occur when there is confusion about
918	sampling values.
919
920	* libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed.
921
922	* libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval.
923	http://bugzilla.maptools.org/show_bug.cgi?id=2398
924
9252012-05-29  Frank Warmerdam  <[email protected]>
926
927	* libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories,
928	like EXIF directories.  This fixes problems like a tag "320" existing in a custom directory getting
929	processed as if it were a colormap when it isn't really.  Damn the wide variety of argument formulations
930	to get/set functions for different tags!
931
932	* libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata
933	is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag.
934
9352012-05-24  Frank Warmerdam  <[email protected]>
936
937	* libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward
938	accumulate" and overwrite the end by one word in at least some cases.
939
9402012-05-23  Frank Warmerdam  <[email protected]>
941
942	* libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs.
943
944	* tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files.
945
946	* libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on
947	the same image.
948
949	* libtiff/tif_ojpeg.c: make things more resilient in the face of files without
950	stripbytecounts or stripoffsets or where loading these fails.
951
952	* libtiff/tif_print.c: be careful about whether min/max values are singular
953	or one per sample.
954
955	* libtiff/tif_print.c: Avoid confusion about count size when printing custom fields.
956	May affect things like ISOSpeedRatings.
957
958	* libtiff/tif_dir.c: avoid one byte past end of ink names reading
959	in some cases.
960
9612012-05-19  Bob Friesenhahn  <[email protected]>
962
963	* man/TIFFGetField.3tiff: Correct the 'count' field type in the
964	example for how to retreive the value of unsupported tags.
965
9662012-03-30  Frank Warmerdam  <[email protected]>
967
968	* tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173)
969	care of Tom Lane @ Red Hat.
970
9712012-02-18  Bob Friesenhahn  <[email protected]>
972
973	* libtiff 4.0.1 released.
974
975	* Update automake used to 1.11.3.
976
977	* libtiff/tiffio.h: Use double-underbar syntax in GCC printf
978	attribute specification to lessen the risk of accidental macro
979	substitution.  Patch from Vincent Torri.
980
9812012-01-31  Frank Warmerdam  <[email protected]>
982
983	* libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around
984	assumption tag fetching is always successful.
985
986	* libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.
987
9882012-01-22  Bob Friesenhahn  <[email protected]>
989
990	* configure.ac: Add support for using library symbol versioning on
991	ELF systems with the GNU linker.  Support is enabled via
992	--enable-ld-version-script.  Disabled by default for now until
993	there is a decision for how to deploy a libtiff with versioned
994	symbols after libtiff 4.0.0 was already released.
995
9962011-12-22  Bob Friesenhahn  <[email protected]>
997
998	* libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
999
1000	tif_win32.c.  Patch by Edward Lam.
1001
1002	* configure.ac: Add libtiff private dependency on -llzma for
1003	pkg-config.  Patch by Mark Brand.
1004	Updated Automake to 1.11.2.
1005
10062011-12-21  Bob Friesenhahn  <[email protected]>
1007
1008	* libtiff 4.0.0 released.
1009
10102011-12-08  Frank Warmerdam  <[email protected]>
1011
1012	* libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking
1013	of _TIFFFillStriles() results (#gdal 4372)
1014
10152011-12-07  Frank Warmerdam  <[email protected]>
1016
1017	* libtiff/tif_dirread.c: fixes to deal with invalid files where
1018	_TIFFFillStriles() fails, and we try to chop up strips (gdal #4372)
1019
1020	* libtiff/tif_dirread.c: fix error reporting when there is no
1021	tag information struct and name (gdal #4373)
1022
10232011-10-22  Bob Friesenhahn  <[email protected]>
1024
1025	* Update GNU libtool to 2.4.2.
1026
1027	* tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
1028	uint32 type for TIFFTAG_JPEGTABLES.  Patch by Christophe
1029	Deroulers.
1030
10312011-06-21  Frank Warmerdam  <[email protected]>
1032
1033	* libtiff/libtiff.def: Restore TIFFMergeFieldInfo.
1034
10352011-05-31  Jim Meyering  <[email protected]>
1036
1037	* libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also
1038	upon failure to allocate "resizeddata".
1039	* tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for
1040	allocation failure, not before.
1041	* libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path
1042	* tools/rgb2ycbcr.c (cvtRaster): unchecked malloc
1043	* libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark
1044	NULL-deref and possible overflow
1045	* tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written"
1046	* libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration
1047	and set of otherwise unused local, data_is_empty.
1048	* libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]:
1049	Diagnose out-of-memory failure and return 0 rather than
1050	dereferencing NULL.
1051
10522011-05-24  Frank Warmerdam  <[email protected]>
1053
1054	* libtiff/tif_dirread.c: produce special error message for zero tag
1055	directories instead of error out on the malloc(0) failure.
1056
10572011-05-16  Frank Warmerdam  <[email protected]>
1058
1059	* libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and
1060	related declarations as they are in active use by libraries
1061	such as libgeotiff, and work just fine.  (#2315)
1062
10632011-04-20  Frank Warmerdam  <[email protected]>
1064
1065	* libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete
1066	TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API.
1067	http://bugzilla.maptools.org/show_bug.cgi?id=2315
1068
1069	* libtiff/libtiff.def: add some missing (64bit) APIs.
1070	http://bugzilla.maptools.org/show_bug.cgi?id=2316
1071
10722011-04-09  Bob Friesenhahn  <[email protected]>
1073
1074	* libtiff 4.0.0beta7 released.
1075
10762011-04-09  Bob Friesenhahn  <[email protected]>
1077
1078	* configure.ac: Should use AC_CANONICAL_HOST since host specifies
1079	the run-time target whereas target is used to specify the final
1080	output target if the package is a build tool (like a compiler),
1081	which libtiff is not.  Resolves libtiff bug 2307 "Use
1082	AC_CANONICAL_HOST macro".
1083
10842011-04-02  Bob Friesenhahn  <[email protected]>
1085
1086	* configure.ac: Support configuring TIFF_INT64_FORMAT and
1087	TIFF_UINT64_FORMAT appropriately for MinGW32.
1088
1089	* tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32
1090	printf conventions for 64-bit types because it uses the WIN32 CRT.
1091
1092	* libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c,
1093	tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32
1094	printf conventions for 64-bit types because it uses the WIN32 CRT.
1095
1096	* tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not
1097	understood by WIN32 CRT.
1098
1099	* libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC.
1100
1101	* tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since
1102	it is much more portable.  Tmpfile is included in ISO/IEC
1103	9899:1990 and the WIN32 CRT.
1104
11052011-03-26  Frank Warmerdam  <[email protected]>
1106
1107	* tools/tiffset.c: add -d and -sd switches to allow operation on
1108	a particular directory, not just the first (jef).
1109
11102011-03-21  Frank Warmerdam  <[email protected]>
1111
1112	* libtiff/tif_thunder.c: Correct potential buffer overflow with
1113	thunder encoded files with wrong bitspersample set.  The libtiff
1114	development team would like to thank Marin Barbella and TippingPoint's
1115	Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004,
1116	CVE-2011-1167).
1117	http://bugzilla.maptools.org/show_bug.cgi?id=2300
1118
11192011-03-10  Frank Warmerdam  <[email protected]>
1120
1121	* libtiff/tif_fax3.h: Fix to last change allowing zero length
1122	runs at the start of a scanline - needed for legal cases.
1123
11242011-03-02  Frank Warmerdam  <[email protected]>
1125
1126	* libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding
1127	a move left.  Without this, a malicious input file can generate an
1128	indefinitely large series of runs without a0 ever reaching the right
1129	margin, thus overrunning our buffer of run lengths.  Per CVE-2011-0192.
1130	This is a modified version of a patch proposed by Drew Yao of Apple
1131	Product Security.  It adds an unexpected() report, and disallows the
1132	equality case, since emitting a run without increasing a0 still allows
1133	buffer overrun.
1134
11352011-02-23  Frank Warmerdam  <[email protected]>
1136
1137	* libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296)
1138
1139	* tools/tiff2rgba.c: close source file on error to make leak
1140	detection easier.
1141
1142	* libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails.
1143
1144	http://bugzilla.maptools.org/show_bug.cgi?id=2295
1145
11462011-02-22  Frank Warmerdam  <[email protected]>
1147
1148	* libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ
1149	_SUPPORT)
1150
11512011-02-18  Frank Warmerdam  <[email protected]>
1152
1153	* configure.ac, configure: Added support for --enable-chunky-strip-read
1154	configure option to enable the experimental feature from a couple
1155	months ago for reading big strips in chunks.
1156
1157	* configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h,
1158	tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c:
1159	Implement optional support for deferring the load of strip/tile
1160	offset and size tags for optimized scanning of directories.  Enabled
1161	with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD
1162	#define in tif_config.h).
1163
11642011-02-11  Frank Warmerdam  <[email protected]>
1165
1166	* libtiff/tif_print.c: remove unused variable.
1167
11682011-02-09  Frank Warmerdam  <[email protected]>
1169
1170	* libtiff/tif_win32.c: avoid error/warning buffer overrun problem
1171	with non-console (popup message) builds on win32.
1172
1173	http://bugzilla.maptools.org/show_bug.cgi?id=2293
1174
11752011-01-24  Olivier Paquet  <[email protected]>
1176
1177	* libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c,
1178	tif_print.c, tiff.h, tiffiop.h} : Added support for
1179	TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different
1180	values for each sample. Presents the min/max of all samples by default for
1181	compatibility. TIFFSetField/TIFFGetField can be made to handle those tags
1182	as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag.
1183	http://www.asmail.be/msg0055458208.html
1184
11852011-01-06  Frank Warmerdam  <[email protected]>
1186
1187	* libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not
1188	maintained.
1189
1190	* libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding
1191	for CHUNKY_STRIP_READ_SUPPORT.
1192
1193	* libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained
1194	during JPEGPreDecode and JPEGDecode calls.
1195	* libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT,
1196	as compression formats like JPEG keep 16 lines interleaved in a sense
1197	and might need to touch	quite a bit of data.
1198
1199	http://trac.osgeo.org/gdal/ticket/3894
1200
12012011-01-03  Lee Howard <[email protected]>
1202
1203	* libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images
1204	caused by commit on 2010-12-14.  Submitted by e-mail from
1205	Even Rouault <[email protected]>
1206
12072010-12-31  Olivier Paquet  <[email protected]>
1208
1209	* libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE.
1210	http://bugzilla.maptools.org/show_bug.cgi?id=2266
1211
12122010-12-23  Andrey Kiselev  <[email protected]>
1213
1214	* tools/tiffcp.c, man/tiffcp.1: Added support for specifying the
1215	compression level parameter (preset) for Deflate and LZMA encoders,
1216	e.g "-c lzma:p1" or "-c zip:p9".
1217
1218	* libtiff/tif_lzma.c: Properly set the LZMA2 compression level
1219	(preset) in LZMAVSetField().
1220
12212010-12-18  Bob Friesenhahn  <[email protected]>
1222
1223	* libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to
1224	Makefile.
1225
12262010-12-14  Andrey Kiselev  <[email protected]>
1227
1228	* configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h,
1229	tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new
1230	TIFF compression scheme LZMA reserving a new value 34925 for
1231	Compression tag. As per
1232	bug http://bugzilla.maptools.org/show_bug.cgi?id=2221
1233
12342010-12-14  Lee Howard <[email protected]>
1235
1236	* libtiff/tif_dirread.c: tolerate some cases where
1237	FIELD_COLORMAP is missing
1238	http://bugzilla.maptools.org/show_bug.cgi?id=2189
1239
12402010-12-14  Lee Howard <[email protected]>
1241
1242	* libtiff/tif_read.c: change read_ahead to tmsize_t
1243	http://bugzilla.maptools.org/show_bug.cgi?id=2222
1244
12452010-12-14  Lee Howard <[email protected]>
1246
1247	* configure.ac, libtiff/Makefile.am: Build tif_win32.c on
1248	Windows except on Cygwin
1249	http://bugzilla.maptools.org/show_bug.cgi?id=2224
1250
12512010-12-14  Lee Howard <[email protected]>
1252
1253	* tools/gif2tiff.c: fix buffer overrun
1254	http://bugzilla.maptools.org/show_bug.cgi?id=2270
1255
12562010-12-14  Lee Howard <[email protected]>
1257
1258	* libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order
1259	to improve compatibility with various viewers
1260	submitted by e-mail from Dwight Kelly <[email protected]>
1261
12622010-12-13  Lee Howard <[email protected]>
1263
1264	* tools/fax2ps.c: be consistent with page-numbering
1265	http://bugzilla.maptools.org/show_bug.cgi?id=2225
1266
12672010-12-13  Lee Howard <[email protected]>
1268
1269	* libtiff/tif_color.c: prevent crash in handling bad TIFFs
1270	resolves CVE-2010-2595
1271	http://bugzilla.maptools.org/show_bug.cgi?id=2208
1272
12732010-12-13  Lee Howard <[email protected]>
1274
1275	* tools/tiffcrop.c: new release by Richard Nolde
1276	http://bugzilla.maptools.org/show_bug.cgi?id=2004
1277
12782010-12-12  Lee Howard <[email protected]>
1279
1280	* tools/tiff2pdf.c: fix colors for images with RGBA
1281	interleaved data
1282	http://bugzilla.maptools.org/show_bug.cgi?id=2250
1283
12842010-12-12  Lee Howard <[email protected]>
1285
1286	* libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files
1287	http://bugzilla.maptools.org/show_bug.cgi?id=2164
1288
12892010-12-11  Lee Howard <[email protected]>
1290
1291	* tools/tiff2pdf.c: remove invalid duplication for Lab
1292	http://bugzilla.maptools.org/show_bug.cgi?id=2162
1293
12942010-12-11  Lee Howard <[email protected]>
1295
1296	* libtiff/tif_jpeg.c: fix use of clumplines calculation
1297	http://bugzilla.maptools.org/show_bug.cgi?id=2149
1298
12992010-12-11  Lee Howard <[email protected]>
1300
1301	* tools/fax2ps.c: replace unsafe tmpfile() with mkstemp()
1302	http://bugzilla.maptools.org/show_bug.cgi?id=2118
1303
13042010-12-11  Lee Howard <[email protected]>
1305
1306	* libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c,
1307	  libtiff/tif_zip.c: fix build errors for VC6
1308	http://bugzilla.maptools.org/show_bug.cgi?id=2105
1309
13102010-12-11  Lee Howard <[email protected]>
1311
1312	* libtiff/tif_stream.cxx: warnings cleanup
1313	http://bugzilla.maptools.org/show_bug.cgi?id=2091
1314	* libtiff/tif_dirread.c: warnings cleanup
1315	http://bugzilla.maptools.org/show_bug.cgi?id=2092
1316
13172010-12-11  Lee Howard <[email protected]>
1318
1319	* tools/tiff2pdf.c: add fill-page option
1320	http://bugzilla.maptools.org/show_bug.cgi?id=2051
1321
13222010-12-11  Lee Howard <[email protected]>
1323
1324	* libtiff/tif_dirread.c: modify warnings
1325	http://bugzilla.maptools.org/show_bug.cgi?id=2016
1326
13272010-12-11  Lee Howard <[email protected]>
1328
1329	* libtiff/tif_ojpeg.c: fix buffer overflow on problem data
1330        http://bugzilla.maptools.org/show_bug.cgi?id=1999
1331
13322010-12-11  Lee Howard <[email protected]>
1333
1334	* tools/tiffinfoce.c: strip byte counts are uint64* now
1335
13362010-12-11  Lee Howard <[email protected]>
1337
1338        * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
1339        or missing byte-count tag
1340        * tools/tiffsplit.c: abort when reading a TIFF without a byte-count
1341        per http://bugzilla.maptools.org/show_bug.cgi?id=1996
1342
13432010-12-08  Lee Howard <[email protected]>
1344
1345        * libtiff/tif_dirread.c: fix crash when reading a badly-constructed
1346        TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994
1347
13482010-12-06  Lee Howard <[email protected]>
1349
1350        * libtiff/tif_open.c: Fix mode check before opening a file.
1351        http://bugzilla.maptools.org/show_bug.cgi?id=1906
1352
13532010-11-27  Bob Friesenhahn  <[email protected]>
1354
1355	* libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
1356	Patch by Vincent Torri.
1357
13582010-10-21  Frank Warmerdam  <[email protected]>
1359
1360	* tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler.
1361
1362	* libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf.
1363
1364	* libtiff/libtiff.def: export _TIFFCheckMalloc for tools.
1365
13662010-09-25  Lee Howard <[email protected]>
1367
1368	* tools/tiff2ps.c: improvements and enhancements from Richard Nolde
1369	with additional command line options for Document Title,
1370	Document Creator, and Page Orientation
1371
13722010-07-13  Bob Friesenhahn  <[email protected]>
1373
1374	* tools/tiffcrop.c: Patch from Richard Nolde to avoid a
1375	potentially unterminated buffer due to using an exceptionally long
1376	file name.
1377
13782010-07-08  Andrey Kiselev  <[email protected]>
1379
1380	* tools/tiff2pdf.c: Fixed ID buffer filling in
1381	t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
1382
13832010-07-07  Andrey Kiselev  <[email protected]>
1384
1385	* libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount()
1386	to expected value as the warning message suggests. As per bug
1387	http://bugzilla.maptools.org/show_bug.cgi?id=1963
1388
13892010-07-06  Andrey Kiselev  <[email protected]>
1390
1391	* tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER,
1392	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE
1393	which should be set by value.
1394
1395	* libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag()
1396	and _TIFFFieldWithName() if the tag is not found in the tag table.
1397	This should be normal situation and returned NULL value should be
1398	properly handled by the caller.
1399
14002010-07-02  Andrey Kiselev  <[email protected]>
1401
1402	* libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned
1403	integer type conversions. As per bug
1404	http://bugzilla.maptools.org/show_bug.cgi?id=2207
1405
1406	* tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for
1407	WhitePoint tag as per bug
1408	http://bugzilla.maptools.org/show_bug.cgi?id=2042
1409
1410	* libtiff/tif_getimage.c: Check the number of samples per pixel when
1411	working with YCbCr image in PickContigCase(). As per bug
1412	http://bugzilla.maptools.org/show_bug.cgi?id=2216
1413
1414	* libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
1415	TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
1416	we don't need any post-processing. That helps to reset the hook if we
1417	previously set this field to some other value and the hook was
1418	initialized accordingly. As per bug
1419	http://bugzilla.maptools.org/show_bug.cgi?id=2035
1420
14212010-07-01  Andrey Kiselev  <[email protected]>
1422
1423	* tools/tiffgt.c: Properly check the raster buffer allocations for
1424	integer overflows. As per bug
1425	http://bugzilla.maptools.org/show_bug.cgi?id=2108
1426
1427	* m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the
1428	upstream.
1429
1430	* libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move
1431	multiply_32() and multiply_64() functions into tif_aux.c file and
1432	rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively.
1433
14342010-06-30  Andrey Kiselev  <[email protected]>
1435
1436	* tools/tiff2pdf.c: Better generation of ID field in
1437	t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings.
1438
1439	* tools/tiff2pdf.c: Fixed computation of the tile buffer size when
1440	converting JPEG encoded tiles.
1441
1442	* tools/tiff2pdf.c: Better handling of string fields, use static
1443	string buffers instead of dynamically allocated, use strncpy() instead
1444	of strcpy(), control the string lengths.
1445
14462010-06-25  Andrey Kiselev  <[email protected]>
1447
1448	* tools/tiffcp.c: Initialize buffer arrays with zero to avoid
1449	referencing to uninitialized memory in some cases (e.g. when tile size
1450	set bigger than the image size).
1451
14522010-06-15  Bob Friesenhahn  <[email protected]>
1453
1454	* tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
1455	subsampled data since tiffcrop currently doesn't support it.  Fix
1456	JPEG support.
1457
14582010-06-13  Frank Warmerdam  <[email protected]>
1459
1460	* libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201)
1461
1462	* tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return"
1463	in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely
1464	wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual
1465	size is larger.  Also, there are a bunch of places that try to
1466	memset() a malloc'd buffer before checking for malloc failure, which
1467	would result in core dump if there actually were a failure. (#2211)
1468
14692010-06-11  Bob Friesenhahn  <[email protected]>
1470
1471	* libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
1472	avoid compiler warnings if parameter types are not sign
1473	consistent.
1474
1475	* libtiff 4.0.0alpha6 released.
1476
1477	* tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
1478	European page size dimensions.  Added an option to allow the user
1479	to specify a custom page size on the command line.  Fix the case
1480	where a page size specified with a fractional part was being
1481	coerced to an integer by retyping the variables that define the
1482	paper size.
1483
1484	* html/index.html: Update for the 3.9.3 release.
1485
1486	* tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
1487	YCbCr subsampled data since tiffcp currently doesn't support it.
1488	http://bugzilla.maptools.org/show_bug.cgi?id=2097
1489
1490	* Update libtool to version 2.2.10.
1491
14922010-06-10  Bob Friesenhahn  <[email protected]>
1493
1494	* libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
1495	multiplier is zero.
1496
14972010-06-09  Bob Friesenhahn  <[email protected]>
1498
1499	* libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
1500	CVE-2010-1411 was not complete.
1501
1502	* libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
1503	multiply two integers.  Returns zero if there is an integer
1504	overflow.
1505
1506	* tools/tiffcp.c (main): tiffcp should not leak memory if an error
1507	is reported when reading the input file.
1508
15092010-06-08  Bob Friesenhahn  <[email protected]>
1510
1511	* Update libtool to version 2.2.8.
1512
1513	* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
1514	buffer due to integer overflow in TIFFroundup() and several other
1515	potential overflows.  In conjunction with the fix to TIFFhowmany(),
1516	fixes CVE-2010-1411.
1517
1518	* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
1519	result in an integer overflow. This causes TIFFroundup() to also
1520	return zero if there would be an integer overflow.
1521
1522	* contrib: Add an emacs formatting mode footer to all source files
1523	so that emacs can be effectively used.
1524
15252010-06-03  Oliver Chen Feng <[email protected]>
1526
1527	* libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
1528	file PAGENUMBER value in sequence for users who care the page
1529	sequence, this will also prevent tiff2pdf from creating pdf file from
1530	the merged tiff file with wrong page sequence.
1531
15322010-05-08  Olivier Paquet  <[email protected]>
1533
1534	* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
1535	to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
1536	* libtiff/tif_dirinfo.c: Use correct set_field_type for
1537	TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
1538	http://bugzilla.maptools.org/show_bug.cgi?id=2192
1539
15402010-05-07  Frank Warmerdam  <[email protected]>
1541
1542	* libtiff/tif_jpeg.c: Ensure that quality is always set in
1543	JPEGPreEncode(), not just when we want to output local tables.
1544	Otherwise the quality used during compression may not be right and
1545	might not match the tables in the tables tag.   This bug only occurs
1546	when seeking between directories in the midst of writing blocks.
1547	http://trac.osgeo.org/gdal/ticket/3539
1548
15492010-05-06  Andrey Kiselev  <[email protected]>
1550
1551	* html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
1552	Regenerated from the source.
1553
15542010-05-05  Olivier Paquet  <[email protected]>
1555
1556	* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
1557	had stopped working. Also made it always print 6 floats instead of
1558	2*SamplesPerPixel.
1559	http://bugzilla.maptools.org/show_bug.cgi?id=2191
1560	http://bugzilla.maptools.org/show_bug.cgi?id=2186
1561	* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
1562	fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
1563
15642010-05-05  Frank Warmerdam  <[email protected]>
1565
1566	* libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
1567	if the jpeg table was written.  This is a fix for the last fix on 04-21.
1568
15692010-04-21  Frank Warmerdam  <[email protected]>
1570
1571	* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
1572	JPEGSetupEncode() is called if the tables already seem to be
1573	established.  This prevents spurious updates and rewriting of
1574	directories with jpegtables when doing updates to existing images.
1575	http://trac.osgeo.org/gdal/ticket/3539
1576
15772010-04-20  Olivier Paquet  <[email protected]>
1578
1579	* libtiff/tif_dirinfo.c: Use correct set_field_type for
1580	TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
1581	TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
1582	They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
1583	http://bugzilla.maptools.org/show_bug.cgi?id=2139
1584
15852010-04-10  Bob Friesenhahn  <[email protected]>
1586
1587	* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
1588	when the tag count value is zero.  Error handling is still a
1589	regression since in 3.9.2, empty tags are skipped (with a warning)
1590	rather than returning a hard error and refusing to read the file.
1591
1592	* tools/ppm2tiff.c (main): While case for parsing comment line
1593	requires extra parenthesis to work as expected.  Reported by
1594	Thomas Sinclair.
1595
15962010-04-02  Frank Warmerdam  <[email protected]>
1597
1598	* libtiff/tif_read.c (primarily): Add support for
1599	CHUNKY_STRIP_READ_SUPPORT where large strips are
1600	read in chunks for applications using TIFFReadScanline().
1601	This is intended to make it more practical work with very
1602	large compressed one-strip files.   Feature is off by default.
1603	Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
1604	http://trac.osgeo.org/gdal/ticket/3514
1605
16062010-03-31  Frank Warmerdam  <[email protected]>
1607
1608	* libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
1609	directories so previously placed directories will be migrated to
1610	the end of file if needed.
1611
16122010-03-30  Frank Warmerdam  <[email protected]>
1613
1614	* libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
1615	to support operating on strips/tiles of more than 256MB.
1616	http://trac.osgeo.org/gdal/ticket/3512
1617
16182010-03-10  Bob Friesenhahn  <[email protected]>
1619
1620	* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
1621	that it is clearly a memory allocation error message, and also
1622	includes the size of the allocation request.
1623
16242010-02-22  Lee Howard  <[email protected]>
1625
1626	* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
1627	the JPEG TIFF as is is not required in order to prevent it from
1628	being unused and filled with invalid data.  (Leave it to be
1629	generated by later activity.)
1630	http://bugzilla.maptools.org/show_bug.cgi?id=2135
1631	* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
1632	data rather than skipping them.  This fixes the ability to view in
1633	Acrobat Reader, Evince, and Ghostscript.
1634	http://bugzilla.maptools.org/show_bug.cgi?id=2135
1635	* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
1636	strips.
1637	http://bugzilla.maptools.org/show_bug.cgi?id=2029
1638
16392009-12-03  Frank Warmerdam  <[email protected]>
1640
1641	* libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
1642	Made so that when working with downsampled images a stub function
1643	reporting an error is used for tif_decoderow.  We cannot meaningfully
1644	support reading scanlines in this situation.  (#1936)
1645
1646	* libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
1647	resetting of the upsampling values (gdal:#3259).
1648	http://bugzilla.maptools.org/show_bug.cgi?id=1936
1649
16502009-11-30  Frank Warmerdam  <[email protected]>
1651
1652	* contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c,
1653	tools/ras2tiff.c: Fix resource leaks on error.
1654	http://bugzilla.maptools.org/show_bug.cgi?id=2121
1655
1656	* libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling
1657	TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
1658	of as a custom(generic) field to avoid a potential reentrancy problem.
1659	http://bugzilla.maptools.org/show_bug.cgi?id=2125
1660
1661	* libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
1662	man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit
1663	const, and display_sRGB static and const.
1664	http://bugzilla.maptools.org/show_bug.cgi?id=2124
1665
16662009-11-04  Bob Friesenhahn  <[email protected]>
1667
1668	* libtiff 4.0.0alpha5 released.
1669
16702009-11-03  Bob Friesenhahn  <[email protected]>
1671
1672	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
1673	version has undergone substantial testing with arbitrary sample
1674	bit depths.  Also eliminates GCC compilation warnings.
1675
16762009-11-02  Bob Friesenhahn  <[email protected]>
1677
1678	* port/libport.h: Add extern declarations for getopt standard
1679	globals.
1680
16812009-10-31  Bob Friesenhahn  <[email protected]>
1682
1683	* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
1684	noticed in 64-bit build of libtiff with Visual Studio 2005.
1685	Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
1686	tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
1687
1688	* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
1689	warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
1690	Visual Studio 2005 64-bit warning in tif_pixarlog.c",
1691	http://bugzilla.maptools.org/show_bug.cgi?id=2068
1692
16932009-10-29  Bob Friesenhahn  <[email protected]>
1694
1695	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
1696	pointer" warnings.
1697
16982009-10-28  Bob Friesenhahn  <[email protected]>
1699
1700	* html/tools.html: Add manual page links, and a summary
1701	description of tiffcrop.
1702
17032009-10-07  Bob Friesenhahn  <[email protected]>
1704
1705	* configure.ac: x86_64 should use the same fill order as i386.
1706
17072009-09-24  Bob Friesenhahn  <[email protected]>
1708
1709	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
1710	Nolde.  Major updates to add significant functionality for reading
1711	and writing tile based images with bit depths not a multiple of 8
1712	which cannot be handled by tiffcp.
1713
17142009-09-03  Bob Friesenhahn  <[email protected]>
1715
1716	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
1717	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
1718	"Bug 2090 - OJPEG crash with libjpeg v7".
1719	http://bugzilla.maptools.org/show_bug.cgi?id=2090
1720
17212009-09-03  Frank Warmerdam  <[email protected]>
1722
1723	* libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
1724	interface when stoponerror is set.
1725	http://bugzilla.maptools.org/show_bug.cgi?id=2071
1726
17272009-08-30  Bob Friesenhahn  <[email protected]>
1728
1729	* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
1730	fix build with gcc when using the "-Wformat
1731	-Werror=format-security" flags.
1732
17332009-08-29  Bob Friesenhahn  <[email protected]>
1734
1735	* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
1736	ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
1737	utilities tests.
1738
17392009-08-28  Bob Friesenhahn  <[email protected]>
1740
1741	* tools/tiffinfo.c: tiffinfo should return error status to the
1742	caller.  Register a private error callback to accomplish that.
1743
1744	* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
1745	PNM formats so that we will be able to test more of the tools.
1746	While adding these test images I notice that bmp2tiff and gif2tiff
1747	only support ancient versions of their respective formats.
1748
17492009-08-27  Bob Friesenhahn  <[email protected]>
1750
1751	* libtiff 4.0.0alpha4 released.
1752
1753	* HOWTO-RELEASE: Improved release instructions.
1754
17552009-08-24  Bob Friesenhahn  <[email protected]>
1756
1757	* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
1758	fixes for "Bug 2023 - nroff errors in manual pages".
1759	http://bugzilla.maptools.org/show_bug.cgi?id=2023
1760
1761	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
1762	CVE-2009-2347 libtiff: integer overflows in various inter-color
1763	space conversion tools".
1764	http://bugzilla.maptools.org/show_bug.cgi?id=2079
1765
1766	* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
1767	Berkenbilt for "Bug 2024 - possible null pointer dereference with
1768	one-line fix".
1769	http://bugzilla.maptools.org/show_bug.cgi?id=2024
1770
1771	* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
1772	from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
1773	segfault after setting tdir_tag = IGNORE".
1774	http://bugzilla.maptools.org/show_bug.cgi?id=1895
1775
17762009-08-23  Bob Friesenhahn  <[email protected]>
1777
1778	* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
1779	tiffcrop.sh into a collection of many specific tests.  Re-wrote
1780	all of the existing tests to be based on some simple shell
1781	functions.  Make distcheck works again.
1782
1783	Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
1784	added 'memcheck' and 'ptrcheck' targets to make it easy to run the
1785	tests under valgrind.
1786
17872009-08-21  Bob Friesenhahn  <[email protected]>
1788
1789	* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
1790	build.
1791
1792	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
1793	actually activated since it needed to be enabled in this
1794	Makefile.am.  Also activated parallel-tests mode since it offers
1795	useful features such as per-test .log files and a summary test
1796	report .log file.
1797
17982009-08-20  Bob Friesenhahn  <[email protected]>
1799
1800	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
1801	libtool 2.2.6.  Enabled support for silent build rules
1802	(--enable-silent-rules or 'make V=0') and colorized tests.
1803
1804	* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
1805
18062009-06-30  Frank Warmerdam  <[email protected]>
1807
1808	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
1809
1810	* tools/tiffcp.c: add -c sgilog support.
1811
1812	* libtiff/tif_luv.c: correct return codes from encoderow to be
1813	1 on success instead of zero.
1814	http://bugzilla.maptools.org/show_bug.cgi?id=2069
1815
1816	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
1817	#1085 for a better underflow fix that errors properly.
1818	http://bugzilla.maptools.org/show_bug.cgi?id=2065
1819	http://bugzilla.maptools.org/show_bug.cgi?id=1985
1820
18212009-06-26  Frank Warmerdam  <[email protected]>
1822
1823	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
1824	fails on oddly sized 12bit jpeg compressed ycbcr images.
1825
18262009-06-22  Frank Warmerdam  <[email protected]>
1827
1828	* libtiff/tif_lzw.c: Fix buffer underflow bug.
1829	http://bugzilla.maptools.org/show_bug.cgi?id=2065
1830
18312009-06-21  Frank Warmerdam  <[email protected]>
1832
1833	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
1834	for dual mode 8/12 bit jpeg support.
1835
18362009-06-03  Frank Warmerdam  <[email protected]>
1837
1838	* libtiff/tif_write.c: do not override the planar configuration to be
1839	contig for one sample files if planar configuration is already set.
1840	http://bugzilla.maptools.org/show_bug.cgi?id=2057
1841
18422009-06-02  Frank Warmerdam  <[email protected]>
1843
1844	* libtiff/libtiff.def: Add TIFFUnsetField.
1845
18462009-05-03  Frank Warmerdam  <[email protected]>
1847
1848	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
1849	error reports to use "%s" as format string.
1850	http://trac.osgeo.org/gdal/ticket/2976
1851
18522009-03-12  Frank Warmerdam  <[email protected]>
1853
1854	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
1855	for some codecs (#2020).
1856
18572009-02-12  Frank Warmerdam  <[email protected]>
1858
1859	* libtiff/tif_luv.c: Fix handling of tiled logluv images.
1860	http://bugzilla.maptools.org/show_bug.cgi?id=2005
1861
18622009-02-09  Frank Warmerdam  <[email protected]>
1863
1864	* libtiff/tif_dirread.c: Improve allocation safety when allocated
1865	buffer for large tags.  (#1998)  Related to (#1993)
1866
18672009-02-06  Frank Warmerdam  <[email protected]>
1868
1869	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
1870	test suite should pass.
1871
18722009-02-05  Frank Warmerdam  <[email protected]>
1873
1874	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
1875	but at the 2GB boundary to avoid overflow on 32bit systems.
1876	http://bugzilla.maptools.org/show_bug.cgi?id=1993
1877
1878	* libtiff/tif_dirread.c: Remove some assertions that blow due to
1879	corrupt files rather than in response to library internal
1880	inconsistencies.
1881	http://bugzilla.maptools.org/show_bug.cgi?id=1995
1882	http://bugzilla.maptools.org/show_bug.cgi?id=1991
1883
1884	* libtiff/tif_dirread.c: Fixed testing for failed result from
1885	TIFFReadDirectoryFindFieldInfo().
1886	http://bugzilla.maptools.org/show_bug.cgi?id=1992
1887
18882009-01-23  Frank Warmerdam  <[email protected]>
1889
1890	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
1891	http://bugzilla.maptools.org/show_bug.cgi?id=1911
1892
1893	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
1894
1895	http://bugzilla.maptools.org/show_bug.cgi?id=1924
1896
1897	* tools/tiffcrop.c: initialize xres/yres values.
1898
1899	* test/*.sh - default ${srcdir} to local directory.
1900
1901	* test/common.sh - start verbose mode after common settings.
1902
1903	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
1904	avoid type mismatches on different platforms.
1905	http://bugzilla.maptools.org/show_bug.cgi?id=1889
1906
19072009-01-22  Frank Warmerdam  <[email protected]>
1908
1909	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
1910	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
1911
1912	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
1913	defined, primarily to reduce prototype warnings on windows.
1914
1915	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
1916	about unused parameters, and uninitialized variables.
1917
19182009-01-21  Bob Friesenhahn  <[email protected]>
1919
1920	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
1921	order to trace full execution detail while executing the test suite.
1922
19232009-01-20  Frank Warmerdam  <[email protected]>
1924
1925	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
1926
19272009-01-20  Bob Friesenhahn  <[email protected]>
1928
1929	* test/Makefile.am (CLEANFILES): Make sure that test output files
1930	are removed by 'make clean'
1931
1932	* Update autotools for 4.0.0 beta3
1933
1934	* 4.0.0 beta3 produced.
1935
19362009-01-12  Bob Friesenhahn  <[email protected]>
1937
1938	* test/tiffcrop.sh: New test script for tiffcrop from Richard
1939	Nolde.
1940
1941	* tools/tiff2ps.c: Remove spurious message to stderr.
1942
19432009-01-11  Bob Friesenhahn  <[email protected]>
1944
1945	* tools/tiff2ps.c: Incorporated significant functionality update
1946	from Richard Nolde.  In particular, support for rotating the image
1947	by 90, 180, 270, and 'auto' has been added.
1948
1949	* man/tiffcrop.1: Incorporated documentation updates from Richard
1950	Nolde.
1951
1952	* tools/tiffcrop.c: Incorporated significant functionality update
1953	from Richard Nolde.
1954
19552008-12-31  Bob Friesenhahn  <[email protected]>
1956
1957	* libtiff/tiffio.h: GCC will now validate format specifications
1958	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
1959	TIFFWarningExt() in order to reveal bugs.
1960
1961	* Many fixes throughout to work better as a 64-bit build.
1962
19632008-12-30  Bob Friesenhahn  <[email protected]>
1964
1965	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
1966	tags now require 64-bit parameter rather than 32-bit.
1967
1968	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
1969	64-bit values.
1970
1971	* tools/thumbnail.c: Eliminate crash noticed while running test
1972	suite.
1973
19742008-12-29  Bob Friesenhahn  <[email protected]>
1975
1976	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
1977	Initialize stack variables to avoid compiler warning.
1978
1979	* tools/tiffinfoce.c (main): Use toff_t for offset type when
1980	retrieving offset of EXIF IFD.
1981
1982	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
1983	TIFFClientOpen() callback and other external function definitions.
1984
1985	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
1986	type now.  Fixes crash when dumping files containing an EXIF IFD.
1987
1988	* m4/libtool.m4: Update to libtool 2.2.6.
1989
19902008-12-21  Frank Warmerdam  <[email protected]>
1991
1992	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
1993
1994	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
1995	strip for the last partial strip in a jpeg compressed file.
1996	http://bugzilla.maptools.org/show_bug.cgi?id=1981
1997
19982008-10-29  Frank Warmerdam  <[email protected]>
1999
2000	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
2001	we take the shortcut to only update the strip/tile offsets in place.
2002	http://trac.osgeo.org/gdal/ticket/2621
2003
20042008-10-21  Andrey Kiselev  <[email protected]>
2005
2006	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
2007	the older versions retained).
2008
20092008-10-09  Frank Warmerdam  <[email protected]>
2010
2011	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
2012	IPP enabled version of libjpeg from Intel.
2013	http://bugzilla.maptools.org/show_bug.cgi?id=1951
2014
20152008-09-05  Andrey Kiselev  <[email protected]>
2016
2017	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
2018	Required for libtiff 4.0.
2019
2020	* tools/tiffsplit.c: Use dynamically allocated array instead of static
2021	when constructing output file names.
2022
20232008-09-03  Andrey Kiselev  <[email protected]>
2024
2025	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
2026	doing the filename/path construction.
2027
2028	* tools/tiff2pdf.c: More appropriate format string in
2029	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
2030
2031	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
2032
2033	http://bugzilla.maptools.org/show_bug.cgi?id=1929
2034
2035	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
2036	CVE-2008-2327 security issue.
2037
20382008-09-01  Frank Warmerdam  <[email protected]>
2039
2040	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
2041
2042	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
2043	depending on whether the file is bigtiff or classic tiff.
2044	http://bugzilla.maptools.org/show_bug.cgi?id=1917
2045
20462008-08-12  Edward Lam  <[email protected]>
2047
2048	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
2049	consistent (__int64) casting when testing if _lseeki64 has
2050	successfully seeked as requested.  This is necessary for large
2051	file support to work since off_t is only 32-bit.
2052
20532008-07-29  Frank Warmerdam  <[email protected]>
2054
2055	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or
2056	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
2057	with control logic to return runtime errors (c/o Even Rouault) (#1927).
2058
20592008-06-17  Frank Warmerdam  <[email protected]>
2060
2061	* tools/tiffcrop.c: Fix some portability problems.
2062
2063	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
2064	used in tif_jpeg.c.
2065
2066	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
2067	as TIFFOpen().
2068
20692008-06-01  Frank Warmerdam  <[email protected]>
2070
2071	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
2072	like Sparc/Solaris.
2073	http://bugzilla.maptools.org/show_bug.cgi?id=1892
2074
20752008-05-27  Frank Warmerdam  <[email protected]>
2076
2077	* libtiff.def: Add TIFFFindField
2078	http://bugzilla.maptools.org/show_bug.cgi?id=1891
2079
20802008-05-26  Frank Warmerdam  <[email protected]>
2081
2082	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
2083
2084	* li2008-04-15  Andrey Kiselev  <[email protected]>
2085
2086btiff/tif_win32.c: Replace custom Win32 memory api with generic
2087	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
2088	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
2089
2090	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
2091	in windows version (care of Edward Lam).
2092
20932008-05-24  Frank Warmerdam  <[email protected]>
2094
2095	* tif_codec.c: Avoid NULL pointer dereferencing for exotic
2096	compression codec codes.
2097
2098	* tif_dirwrite.c: fix potential memory leak.
2099
2100	* tif_dirread.c: Fix unchecked malloc result.
2101
21022008-05-24  Bob Friesenhahn  <[email protected]>
2103
2104	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
2105	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
2106	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
2107	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
2108	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
2109	suggestions from Lee Howard posted to the tiff list on 13 Sep
2110	2007.
2111
21122008-05-23  Frank Warmerdam  <[email protected]>
2113
2114	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
2115	possible runtime problem reported by coverity.
2116
2117	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
2118
2119	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
2120	http://bugzilla.maptools.org/show_bug.cgi?id=1888
2121
2122	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
2123
2124	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
2125
2126	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
2127	Cleanup scanline allocation to avoid coverity warning.
2128
2129	* tools/thumbnail.c: Check for TIFFOpen() failure.
2130
21312008-05-18  Frank Warmerdam  <[email protected]>
2132
2133	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
2134	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
2135	why this is needed.
2136
21372008-05-09  Bob Friesenhahn  <[email protected]>
2138
2139	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
2140	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
2141
21422008-04-15  Andrey Kiselev  <[email protected]>
2143
2144	* test/: Test suite updated. Everything is passed now.
2145
2146	* libtiff/tif_dirinfo.c: Fixed description of the
2147	TIFFTAG_NUMBEROFINKS tag.
2148
21492008-04-14  Andrey Kiselev  <[email protected]>
2150
2151	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
2152	Get rid of some of "dereferencing type-punned" warnings by converting
2153	tdir_offset field of TIFFDirEntry structure into union.
2154
21552008-04-10  Andrey Kiselev  <[email protected]>
2156
2157	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
2158	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
2159	from the public interface. Type of its 'count' parameter changed
2160	from uint32 to tmsize_t.
2161
2162	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
2163	of the tiff structure have the size_t type instead of uint32.
2164
21652008-04-09  Andrey Kiselev  <[email protected]>
2166
2167	* tools/tiffdump.c: Added support for MSVS 6.0.
2168
2169	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
2170	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
2171	point values on MSVS 6.0 platform.
2172
21732008-03-14  Frank Warmerdam  <[email protected]>
2174
2175	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
2176	TIFFReadDirEntryArray() since they are interfering with seemingly
2177	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
2178
21792008-02-09  Joris Van Damme  <[email protected]>
2180
2181	* tif_dirread.c: Added handling for the case of number of values for
2182	PageNumber tag different from 2 (previously resulted in an assert
2183	indicating lack of handling and was forgotten about)
2184
21852008-02-01  Frank Warmerdam  <[email protected]>
2186
2187	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
2188	the actual jpeg data stream if the first strip/tile has zero size.
2189	This is the case when GDAL creates a new file with zero sizes, closes
2190	and reopens it.
2191
21922008-01-07  Frank Warmerdam  <[email protected]>
2193
2194	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
2195
21962008-01-01  Frank Warmerdam  <[email protected]>
2197
2198	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
2199
2200	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
2201	targets.
2202
2203	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
2204	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
2205	(x64).
2206
2207	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
2208	and TIFFFieldWithName() now return TIFFField pointers instead of
2209	TIFFFieldInfo pointers.
2210
2211	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
2212	exist. This makes it compile again on Windows
2213
2214	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
2215	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
2216
2217	* test/rewrite_tag.c: New test for TIFFRewriteField().
2218
22192007-12-31  Frank Warmerdam  <[email protected]>
2220
2221	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
2222	rewrites one field "on disk" updating an existing directory
2223	entry.  Lots of limitations still...
2224
2225	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
2226	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
2227	the strip offset/size values are dirty but nothing else about the
2228	directory is dirty.  In flush handle "just stripmaps dirty" as a
2229	special case that just rewrites these values without otherwise
2230	modifying the directory on disk using TIFFRewriteField().
2231
2232	We also modify logic so that in update mode the directory is not
2233	marked dirty on read, but only when something is changed.  This
2234	means we need to keep track of updates to the stripmap stuff in
2235	TIFFAppendToStrip().
2236
22372007-12-10  Frank Warmerdam  <[email protected]>
2238
2239	* tif_jpeg.c: Improve ability to switch between encoding and decoding
2240	in the jpeg code (gdal bug #2033).
2241
22422007-11-23  Frank Warmerdam  <[email protected]>
2243
2244	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
2245	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
2246	rawcp/rawcc buffer are for writing and thus may require flushing.
2247	Necessary to distinguish whether they need to be written to disk when
2248	in mixed read/write mode and doing a mixture of writing followed by
2249	reading.  http://trac.osgeo.org/gdal/ticket/1758
2250
22512007-11-23  Andrey Kiselev  <[email protected]>
2252
2253	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
2254	from Alexey Chupahin.
2255
22562007-11-02  Frank Warmerdam  <[email protected]>
2257
2258	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
2259	establishing if an existing tile can be rewritten to the same location
2260	by comparing the current size to all the other blocks in the same
2261	directory.  This is dangerous in many situations and can easily
2262	corrupt a file.  (observed in esoteric GDAL situation that's hard to
2263	document).  This change involves leaving the stripbytecount[] values
2264	unaltered till TIFFAppendToStrip().  Now we only write a block back
2265	to the same location it used to be at if the new data is the same
2266	size or smaller - otherwise we move it to the end of file.
2267
2268	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
2269	data when writing the directory just because we have BEENWRITING at
2270	some point in the past.  This was causing odd junk to be written out
2271	in a tile of data when a single tile had an interleaving of reading
2272	and writing with reading last.  (highlighted by gdal
2273	autotest/gcore/tif_write.py test 7.
2274
2275	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
2276	modifying callers buffer.
2277	http://trac.osgeo.org/gdal/ticket/1965
2278
2279	* tif_predict.c/h: more fixes related to last item, keeping a
2280	distinct pfunc for encode and decode cases as these were getting
2281	mixed up sometimes.
2282	http://trac.osgeo.org/gdal/ticket/1948
2283
22842007-11-01  Frank Warmerdam  <[email protected]>
2285
2286	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
2287	predictor based encoding and decoding works in read-write update
2288	mode properly.
2289	http://trac.osgeo.org/gdal/ticket/1948
2290
22912007-10-24  Joris Van Damme  <[email protected]>
2292
2293	* tif_dirread.c: Fixed problem with bogus file triggering
2294	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
2295	ChopUpSingleUncompressedStrip
2296
22972007-10-22  Joris Van Damme  <[email protected]>
2298
2299	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
2300	at best, access violation at worst, when subsampled JPEG compressed imagery
2301	is decoded without the JPEG_COLORMODE feature
2302
23032007-10-11  Frank Warmerdam  <[email protected]>
2304
2305	* html/index.html: Update "people responsible" section.
2306
23072007-10-05  Frank Warmerdam  <[email protected]>
2308
2309	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
2310	as reported on the mailing list.
2311
23122007-10-01  Joris Van Damme  <[email protected]>
2313
2314	* changed some more incorrect %lud printf flags to %lu
2315
23162007-09-29  Joris Van Damme  <[email protected]>
2317
2318	* tif_dirread.c: Strip chopping interfered badly with uncompressed
2319	subsampled images because it tried to divide subsampled rowblocks,
2320	leading to all sorts of errors throughout the library for these
2321	images. Fixed by making strip chopping divide in row counts that
2322	are a multiple of vertical subsampling value.
2323
23242007-09-28  Joris Van Damme  <[email protected]>
2325
2326	* tif_dirread.c: Logical cast working around compiler warning
2327
2328	* tif_read.c: Correction of some error flags and parameter lists
2329
23302007-09-27  Joris Van Damme  <[email protected]>
2331
2332	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
2333	when dealing with large bitspersample values, shutting up purification
2334	tools that warn about truncation, though it remains incorrect and
2335	indicates a conceptual problem there.
2336
2337	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
2338	of first IFD) to proper place because it badly interfered with memory
2339	mapping, resulting in mapping flag even with dummy mapping functions
2340	that returned 0 whilst at the same time the mapping tif_size wasn't
2341	set, thus resulting in continuous incorrect beyond-eof errors.
2342
23432007-09-24  Joris Van Damme  <[email protected]>
2344
2345	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
2346	inconsistent use of const in tiffFields and exifFields definition
2347
23482007-09-20  Frank Warmerdam  <[email protected]>
2349
2350	* tif_dirwrite.c: Always write tile/strip offsets and sizes
2351	using LONG8 type when output format is BigTIFF.  The
2352	TIFFWriteDirectoryTagLongLong8Array() function was restructured
2353	accordingly.
2354
2355	* tif_dirread.c: Improvements to error reporting text in
2356	TIFFFetchDirectory().
2357
23582007-09-19  Bob Friesenhahn  <[email protected]>
2359
2360	* test/images: Added a small collection of test images for use by
2361	test programs and scripts.
2362	* test/tiffinfo.sh: A trivial example test script.
2363	* test/common.sh: Added small script for setting the environment
2364	used by script-based tests.
2365
23662007-08-24  Frank Warmerdam  <[email protected]>
2367
2368	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
2369	zero when writing directory contents to preserve the ability to
2370	rewrite directories in place, even in the middle of a directory
2371	chain.
2372
2373	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
2374	definitions that are missing.  Existing definitions are silently
2375	ignored.
2376
2377	* tif_dirread.c: Add runtime error for fields for which no definition
2378	is found (in addition to an assert for developers) in
2379	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
2380	prudent.
2381
23822007-08-10  Joris Van Damme  <[email protected]>
2383
2384	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
2385	from _TIFFRGBAImage structure to revert unwanted ABI change.
2386
23872007-08-10  Joris Van Damme  <[email protected]>
2388
2389	* libtiff/tif_win32.c: use SetFilePointer instead of
2390	SetFilePointerEx, as per bug
2391
2392	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
2393
23942007-07-19  Andrey Kiselev  <[email protected]>
2395
2396	* libtiff/tif_stream.cxx: Put all callback functions declarations
2397	inside extern "C" block.
2398
2399	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
2400	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
2401	formatter instead of "%lld" with MSVC compiler.
2402
2403	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
2404	_TIFFUInt64ToDouble() functions.
2405
24062007-07-18  Andrey Kiselev  <[email protected]>
2407
2408	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
2409	integer constants.
2410
2411	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
2412	remove tif_config.h/tiffconf.h during cleaning. As per bug
2413
2414	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
2415
2416	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
2417
2418	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
2419
24202007-07-13  Andrey Kiselev  <[email protected]>
2421
2422	* libtiff 4.0.0alpha released.
2423
24242007-07-12  Andrey Kiselev  <[email protected]>
2425
2426	* tools/tiff2pdf.c: Added missed extern optind as per bug
2427
2428	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
2429
2430	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
2431	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
2432	extending scheme completed.
2433
24342007-07-11  Bob Friesenhahn  <[email protected]>
2435
2436	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
2437	use standard C++ library size types and attempt to detect overflow
2438	cases.
2439
24402007-07-08  Andrey Kiselev  <[email protected]>
2441
2442	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
2443	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
2444	tag extending scheme. Use the new scheme everywhere.
2445
2446	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
2447	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
2448	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
2449	TIFFFIeldInfo structure replaced with TIFFField structure.
2450	TIFFFieldInfo retained for the backward compatibility.
2451
24522007-07-05  Bob Friesenhahn  <[email protected]>
2453
2454	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
2455	defined.
2456
24572007-07-04  Andrey Kiselev  <[email protected]>
2458
2459	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
2460	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
2461	removed.
2462
2463	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
2464	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
2465	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
2466	These tags are not codec-specific and relate to image content, so
2467	process them as other normal tags.
2468
2469	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
2470	public tiffio.h to private tif_dir.h.
2471
2472	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
2473	outdated.
2474
24752007-07-03  Andrey Kiselev  <[email protected]>
2476
2477	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
2478	tif_win3.c}: Obsoleted portability stuff removed.
2479
2480	* tools/tiff2ps.c:  Added support 16-bit images as per bug
2481
2482	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
2483
2484	Patch from William Bader.
2485
2486	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
2487	significant upgrade of the whole utility as per bug
2488
2489	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
2490
2491	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
2492	PDF file using TIFFClientOpen() machinery as it is implemented
2493	by Leon Bottou.
2494
24952007-06-26  Bob Friesenhahn  <[email protected]>
2496
2497	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
2498	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
2499	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
2500	allow returning -1 for errors.
2501	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
2502
25032007-06-25  Bob Friesenhahn  <[email protected]>
2504
2505	* port/strtoull.c: New porting function in case strtoull() is not
2506	available on the target system.
2507	* configure.ac: Add configure support for determining sized types
2508	in a portable way and performing necessary substitutions in
2509	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
2510	definitions.
2511
25122007-04-27  Andrey Kiselev  <[email protected]>
2513
2514	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
2515
2516	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
2517
25182007-04-07  Andrey Kiselev  <[email protected]>
2519
2520	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
2521	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
2522	tif_predict.c, tif_zip.c}: Finally fix bug
2523
2524	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
2525
2526	by introducing _TIFFMergeFieldInfo() returning integer error status
2527	instead of void in case of problems with field merging (e.g., if the
2528	field with such a tag already registered). TIFFMergeFieldInfo() in
2529	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
2530	check returned value.
2531
25322007-04-07  Frank Warmerdam  <[email protected]>
2533
2534	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
2535	blocks in TIFF_DownSample_Subsampled() (bug 1542).
2536
25372007-04-06  Frank Warmerdam  <[email protected]>
2538
2539	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
2540	will convert from decompressor to compressor or compress to decompress
2541	if required by the force arguments.  This works around a problem in
2542	where the JPEGFixupTestSubsampling() may cause a decompressor to
2543	be setup on a directory when later a compressor is required with the
2544	force flag set.  Occurs with the addtiffo program for instance.
2545
25462007-04-06  Andrey Kiselev  <[email protected]>
2547
2548	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
2549	functionality from Richard Nolde. As per bug
2550
2551	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
2552
25532007-03-28  Frank Warmerdam  <[email protected]>
2554
2555	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
2556
25572007-03-17  Joris Van Damme  <[email protected]>
2558
2559	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
2560
25612007-03-07  Joris Van Damme  <[email protected]>
2562
2563	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
2564	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
2565	factor. This bug is mentioned in:
2566	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
2567	http://www.asmail.be/msg0054766825.html
2568
25692007-03-07  Joris Van Damme  <[email protected]>
2570
2571	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
2572
2573	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
2574	unused arguments by standard C indication for the same
2575
25762007-02-27  Andrey Kiselev  <[email protected]>
2577
2578	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
2579	counters in TIFFFetchData(). Should finally fix the issue
2580
2581	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
2582
25832007-02-24  Andrey Kiselev  <[email protected]>
2584
2585	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
2586	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
2587
2588	* libtiff/tif_dirread.c: Added special function to handle
2589	SubjectDistance EXIF tag as per bug
2590
2591	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
2592
2593	* tools/tiff2pdf.c: Do not assume inches when the resolution units
2594	do not specified. As per bug
2595
2596	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
2597
2598	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
2599	it was set as infinite. As per bug
2600
2601	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
2602
2603	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
2604	by Richard Nolde. As per bug
2605
2606	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
2607
26082007-02-22  Andrey Kiselev  <[email protected]>
2609
2610	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
2611	ExtraSamples == 999 produced by Corel Draw. As per bug
2612
2613	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
2614
2615	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
2616	changed from tsize_t to uint32 to be able to work with data arrays
2617	larger than 2GB. Fixes bug
2618
2619	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
2620
2621	Idea submitted by Matt Hancher.
2622
26232007-01-31  Andrey Kiselev  <[email protected]>
2624
2625	* tools/tif2rgba.c: This utility does not work properly on big-endian
2626	architectures. It was fixed including the bug
2627
2628	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
2629
26302007-01-15  Mateusz Loskot <[email protected]>
2631
2632	* Submitted libtiff port for Windows CE platform
2633	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
2634	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
2635	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
2636	functons from tif_win32.c.
2637	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
2638	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
2639	standard header files for Windows CE build.
2640	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
2641
26422006-11-19  Frank Warmerdam  <[email protected]>
2643
2644	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
2645	we move a strip.
2646	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
2647
26482006-10-13  Andrey Kiselev  <[email protected]>
2649
2650	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
2651	in Gentoo bug ():
2652
2653	http://bugs.gentoo.org/show_bug.cgi?id=142383
2654
2655	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
2656	Though it is still far from the state of being working and useful.
2657
26582006-10-12  Andrey Kiselev  <[email protected]>
2659
2660	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
2661	method.
2662
2663	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
2664	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
2665
2666	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
2667	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
2668
2669	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
2670	vulnerabilities, reported in Gentoo bug ():
2671
2672	http://bugs.gentoo.org/show_bug.cgi?id=142383
2673
26742006-09-28  Andrey Kiselev  <[email protected]>
2675
2676	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
2677	vulnerabilities, as per	Gentoo bug ():
2678
2679	http://bugs.gentoo.org/show_bug.cgi?id=142383
2680
26812006-09-27  Frank Warmerdam  <[email protected]>
2682
2683	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
2684	encoding and decoding on the same read-write TIFF handle.  The LZW
2685	code can now maintain encode and decode state at the same time. The
2686	ZIP code will switch back and forth as needed.
2687	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
2688
26892006-09-20  Frank Warmerdam  <[email protected]>
2690
2691	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
2692	tif_config.vc.h for easier identification by folks using an IDE.
2693
26942006-07-25  Frank Warmerdam  <[email protected]>
2695
2696	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
2697
26982006-07-19  Frank Warmerdam  <[email protected]>
2699
2700	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
2701	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
2702	to bug report by Peng Gao with black strip at bottom of images.
2703
27042006-07-12  Frank Warmerdam  <[email protected]>
2705
2706	* tif_dirwrite.c: make sure to use uint32 for wordcount in
2707	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
2708	It already seems to have been done for other field types.  Needed
2709	for "tiffset" on files with geotiff ascii text.
2710
27112006-07-04  Bob Friesenhahn  <[email protected]>
2712
2713	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
2714	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
2715	its use does not appear to be required, so use it only when it is
2716	available.
2717
27182006-06-24  Andrey Kiselev  <[email protected]>
2719
2720	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
2721
2722	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
2723	function TIFFFetchDirectory() avoiding code duplication in
2724	TIFFReadDirectory() and TIFFReadCustomDirectory().
2725
27262006-06-19  Frank Warmerdam  <[email protected]>
2727
2728	* tools/tiff2pdf.c: Fix handling of -q values.
2729	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
2730
27312006-06-17  Frank Warmerdam  <[email protected]>
2732
2733	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
2734	files.  Modified TIFFReadDirectory() to not invoke
2735	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
2736	but one of them is zero.
2737	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
2738
27392006-06-08  Andrey Kiselev  <[email protected]>
2740
2741	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
2742	checking code in the separate function TIFFCheckDirOffset().
2743
2744	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
2745
2746	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
2747
2748	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
2749
2750	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
2751
2752	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
2753
2754	* tools/tiff2pdf.c: Fixed buffer overflow condition in
2755	t2p_write_pdf_string() as per bug
2756
2757	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
2758
27592006-06-07  Andrey Kiselev  <[email protected]>
2760
2761	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
2762	support for JBIG compression scheme (34661 code) contributed by Lee
2763	Howard. As per bug
2764
2765	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
2766
2767	* configure, configure.ac: OJPEG support enabled by default.
2768
2769	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
2770
27712006-06-03  Bob Friesenhahn  <[email protected]>
2772
2773	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
2774	TIFFPrintDirectory().  Joris Van Damme authored the fix.
2775
27762006-04-21  Andrey Kiselev  <[email protected]>
2777
2778	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
2779	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
2780
2781	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
2782	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
2783	Added support for OpenVMS by Alexey Chupahin, [email protected].
2784
27852006-04-20  Andrey Kiselev  <[email protected]>
2786
2787	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
2788	Properly set the binary mode for stdin stream as per bug
2789	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
2790
2791	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
2792	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
2793	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
2794	tiffset.1}: Improvements in page formatting as per bug
2795	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
2796
2797	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
2798	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
2799
28002006-04-18  Frank Warmerdam  <[email protected]>
2801
2802	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
2803	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
2804
28052006-04-12  Joris Van Damme  <[email protected]>
2806
2807	* libtiff/tif_getimage.c: Added support for planarconfig separate
2808	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
2809
28102006-04-11  Joris Van Damme  <[email protected]>
2811
2812	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
2813	- Conversion of unassociated alpha to associated alpha now done with
2814	  more performant LUT, and calculation more correct
2815	- Conversion of 16bit data to 8bit data now done with
2816	  more performant LUT, and calculation more correct
2817	- Bugfix of handling of 16bit RGB with unassociated alpha
2818
28192006-04-11  Joris Van Damme  <[email protected]>
2820
2821	* libtiff/tif_getimage.c:
2822	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
2823	  buffer for alpha strile and filled it, only to never read it back.
2824	  Removed allocation and fill.
2825	- Minor rename of vars in gtTileSeparate and gtStripSeparate
2826	  anticipating planned functionality extension
2827
28282006-04-08  Joris Van Damme  <[email protected]>
2829
2830	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
2831	and pickTileSeparateCase to PickSeparateCase as both work on strips as
2832	well
2833
2834	* libtiff/tif_getimage.c: moved img->get selection from
2835	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
2836	logical hook for planned functionality extension
2837
28382006-04-08  Joris Van Damme  <[email protected]>
2839
2840	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
2841	of inappropriate use of jpeg_abort instead of jpeg_destroy
2842
28432006-04-07  Joris Van Damme  <[email protected]>
2844
2845	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
2846	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
2847	on subsampled images - this ought to get sorted when we feel brave
2848	enough to replace TIFFScanlineSize alltogether
2849
2850	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
2851
28522006-04-04  Joris Van Damme  <[email protected]>
2853
2854	* libtiff/tiffio.h: added new type tstrile_t
2855
2856	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
2857	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
2858	toff_t*
2859
2860	* libtiff/tif_ojpeg.c: totally new implementation
2861
2862	* libtiff/tif_dirread.c: added several hacks to suit new support of
2863	OJPEG
2864
2865	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
2866	of OJPEG images in favor of tif_getimage.c native handling of
2867	YCbCr and desubsampling
2868
28692006-03-29  Frank Warmerdam  <[email protected]>
2870
2871	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
2872	interpretation causes the "upsampled" flag to be recomputed.  Fixes
2873	peculiar bug where photometric flag had to be set before jpegcolormode
2874	flag.
2875
28762006-03-25  Joris Van Damme  <[email protected]>
2877
2878	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
2879
2880	* libtiff/tif_strip.c: temporarilly added two new versions of
2881	TIFFScanlineSize
2882	  - TIFFNewScanlineSize: proposed new version, after all related
2883	    issues and side-effects are sorted out
2884	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
2885	This needs further sorting out.
2886
28872006-03-25  Joris Van Damme  <[email protected]>
2888
2889	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
2890	of last truncated strip data to TIFFWriteEncodedStrip
2891
28922006-03-25  Joris Van Damme  <[email protected]>
2893
2894	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
2895
28962006-03-25  Joris Van Damme  <[email protected]>
2897
2898	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
2899
2900	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
2901
2902	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
2903	prepare	the path for new tif_ojpeg.c
2904
29052006-03-23  Andrey Kiselev  <[email protected]>
2906
2907	* libtiff 3.8.2 released.
2908
2909	* tools/Makefile.am: Use runtime paths linker flags when rpath
2910	option enabled.
2911
29122006-03-21  Andrey Kiselev  <[email protected]>
2913
2914	* libtiff/libtiff.def: Added missed exports as per bug
2915	http://bugzilla.remotesensing.org/attachment.cgi?id=337
2916
2917	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
2918	tools/Makefile.vc: Makefiles improvements as per bug
2919	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
2920
2921	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
2922	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
2923	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
2924
2925	* libtiff/tif_strip.c: Take subsampling in account when calculating
2926	TIFFScanlineSize().
2927
2928	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
2929
29302006-03-17  Andrey Kiselev  <[email protected]>
2931
2932	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
2933	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
2934
2935	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
2936	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
2937
29382006-03-16  Andrey Kiselev  <[email protected]>
2939
2940	* libtiff/tiffiop.h: Added decalration for
2941	_TIFFSetDefaultCompressionState().
2942
2943	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
2944	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
2945	codec cleanup methods. As per bug
2946
2947	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
2948
29492006-03-15  Andrey Kiselev  <[email protected]>
2950
2951	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
2952	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
2953
2954	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
2955	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
2956
2957	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
2958	removed; move here the STRIP_SIZE_DEFAULT macro definition.
2959
2960	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
2961	macro definition.
2962
2963	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
2964
29652006-03-14  Andrey Kiselev  <[email protected]>
2966
2967	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
2968	in TIFFReadDirectory, because it is always set at the start of
2969	function and we allow TIFFs without that tag set.
2970
29712005-03-13  Andrey Kiselev  <[email protected]>
2972
2973	* libtiff 3.8.1 released.
2974
29752006-03-07  Andrey Kiselev  <[email protected]>
2976
2977	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
2978	function as per bug
2979	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2980
2981	* libtiff/tif_dirread.c: More wise check for integer overflow
2982	condition as per bug
2983	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2984
2985	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
2986	Properly restore setfield/getfield methods in cleanup functions. As
2987	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2988
29892006-03-03  Andrey Kiselev  <[email protected]>
2990
2991	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
2992	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
2993
2994	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
2995	TIFFPredictorCleanup() in codec cleanup methods. As per bug
2996
2997	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2998
2999	* libtiff/tif_dirread.c: Fixed integer overflow condition in
3000	TIFFFetchData() function. As per bug
3001
3002	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
3003
30042006-03-01  Andrey Kiselev  <[email protected]>
3005
3006	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
3007	TIFFSetField() method, not directly. As per bug
3008
3009	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
3010
3011	* tools/ppm2tiff.c: Added support for PBM files as per bug
3012	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
3013
30142006-02-27  Andrey Kiselev  <[email protected]>
3015
3016	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
3017	to avoid crash as per bug
3018
3019	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
3020
30212006-02-26  Andrey Kiselev  <[email protected]>
3022
3023	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
3024	t2p_sample_rgba_to_rgb() was used in place of each other, that was
3025	resulted in problems with RGBA images with associated alpha.
3026	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
3027
30282006-02-23  Andrey Kiselev  <[email protected]>
3029
3030	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
3031	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
3032
3033	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
3034	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
3035	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
3036
3037	* tools/tiff2ps.c: Properly scale all the pages when converting
3038	multipage TIFF with /width/height/center options set. As per bug
3039
3040	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
3041
30422006-02-15  Andrey Kiselev  <[email protected]>
3043
3044	* tools/tiff2pdf.c: Do not create output file until all option checks
3045	will be done. As per bug
3046
3047	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
3048
3049	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
3050	list of input files as per bug:
3051
3052	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
3053
30542006-02-09  Andrey Kiselev  <[email protected]>
3055
3056	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
3057	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
3058
3059	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
3060	TIFFRGBAImage interface.
3061
3062	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
3063	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
3064
30652006-02-07  Frank Warmerdam  <[email protected]>
3066
3067	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
3068	compressed TIFF files, per submission from Dan Cobra.
3069
30702006-02-07  Andrey Kiselev  <[email protected]>
3071
3072	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
3073	cast values to avoid warnings. As per bug
3074	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
3075
3076	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
3077	appropriate. As per bug
3078	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
3079
3080	* libtiff/tif_aux.c: Fixed type of temporary variable in
3081	_TIFFCheckMalloc() as per bug
3082	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
3083
30842006-02-06  Andrey Kiselev  <[email protected]>
3085
3086	* libtiff/tif_aux.c: Return static array when fetching default
3087	YCbCrCoefficients (another problem, reported a the
3088	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
3089
30902006-02-03  Andrey Kiselev  <[email protected]>
3091
3092	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
3093	YCbCrSubsampling and DotRange tags as per bugs
3094
3095	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
3096	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
3097
3098	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
3099	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
3100
3101	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
3102
31032006-01-23  Andrey Kiselev  <[email protected]>
3104
3105	* libtool related stuff updated from the 2.1a branch.
3106
31072006-01-11  Frank Warmerdam  <[email protected]>
3108
3109	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
3110	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
3111	properly as per bug:
3112	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
3113
31142006-01-09  Bob Friesenhahn  <[email protected]>
3115
3116	* configure.ac: Fix with_default_strip_size comparison as reported
3117	by Norihiko Murase.
3118
31192006-01-08  Bob Friesenhahn  <[email protected]>
3120
3121	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
3122	incorrectly, tests were not actually testing the uninstalled
3123	libtiff.  Now they are.
3124
31252006-01-04  Andrey Kiselev  <[email protected]>
3126
3127	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
3128	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
3129	should be uint32 value.
3130
31312006-01-02  Bob Friesenhahn  <[email protected]>
3132
3133	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
3134	be used if build directory is not the same as source directory.
3135	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
3136	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
3137	and re-sorted tag names in alphabetical order.
3138
31392005-12-29  Andrey Kiselev  <[email protected]>
3140
3141	* libtiff 3.8.0 released.
3142
31432005-12-28  Bob Friesenhahn  <[email protected]>
3144
3145	* tools/bmp2tiff.c (main): Fixed warning regarding returning
3146	inconsistent types from a condition.
3147	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
3148	format.
3149	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
3150
31512005-12-28  Joris Van Damme  <[email protected]>
3152
3153	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
3154
31552005-12-27  Andrey Kiselev  <[email protected]>
3156
3157	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
3158	windows.h, to reduce the compile time.
3159
31602005-12-26  Bob Friesenhahn  <[email protected]>
3161
3162	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
3163
31642005-12-26  Andrey Kiselev  <[email protected]>
3165
3166	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
3167	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
3168	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
3169	private functions to retrieve FieldInfo arrays.
3170
31712005-12-24  Bob Friesenhahn  <[email protected]>
3172
3173	* html/build.html: Added some additional instructions for when
3174	building using MSVC under Windows.  Also fixed two HTML syntax
3175	errors and used HTML Tidy to tidy up the HTML syntax and
3176	formatting.
3177
31782005-12-24  Andrey Kiselev  <[email protected]>
3179
3180	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
3181	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
3182	StoNits tags custom.
3183
31842005-12-23  Andrey Kiselev  <[email protected]>
3185
3186	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
3187	WhitePoint tag custom.
3188
3189	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
3190
31912005-12-23  Joris Van Damme  <[email protected]>
3192
3193	* libtiff/tiffio.h: fixed typo that potentially resulted in
3194	redefininition of USE_WIN32_FILEIO
3195
3196	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
3197	calls in core LibTiff.
3198
31992005-12-21  Andrey Kiselev  <[email protected]>
3200
3201	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
3202	Photoshop and ICCProfile tags custom.
3203
32042005-12-21  Joris Van Damme  <[email protected]>
3205
3206	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
3207	newer code to get context indicator in error handler and still
3208	remain compatible with older code: Done TIFFError calls everywhere
3209	except in tools
3210
32112005-12-20  Andrey Kiselev  <[email protected]>
3212
3213	* tools/tiffcp.c: Added many error reporting messages; fixed integer
3214	overflow as per bug
3215
3216	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
3217
32182005-12-16  Frank Warmerdam  <[email protected]>
3219
3220	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
3221	YCbCr images in jpeg compressed TIFF files.
3222
32232005-12-14  Andrey Kiselev  <[email protected]>
3224
3225	* tools/tiffcp.c: Return non-zero status when reading fails (again).
3226
32272005-12-13  Andrey Kiselev  <[email protected]>
3228
3229	* tools/tiffcp.c: Return non-zero status when reading fails.
3230
32312005-12-12  Andrey Kiselev  <[email protected]>
3232
3233	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
3234
32352005-12-09  Andrey Kiselev  <[email protected]>
3236
3237	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
3238	custom.
3239
3240	* tools/tiffinfo.c: Print EXIF directory contents if exist.
3241
3242	* libtiff/tiff.h: Few EXIF tag numbers added.
3243
3244	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
3245	tiffio.h}: Preliminary support to read custom directories. New
3246	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
3247
32482005-12-07  Andrey Kiselev  <[email protected]>
3249
3250	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
3251	More work to implement custom directory read support.
3252
3253	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
3254	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
3255	tags custom.
3256
32572005-12-05  Andrey Kiselev  <[email protected]>
3258
3259	* libtiff/tif_dirread.c: One more workaround for broken
3260	StripByteCounts tag. Handle the case when StripByteCounts array filled
3261	with completely wrong values.
3262
32632005-11-30  Andrey Kiselev  <[email protected]>
3264
3265	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
3266	in the TIFFOpenW() function as per bug
3267
3268	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
3269
3270	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
3271	functions as per bug
3272
3273	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
3274
32752005-11-20  Frank Warmerdam  <[email protected]>
3276
3277	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
3278	for MS MDI format.
3279	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
3280
3281	* .cvsignore: many files added, and a few update according
3282	to suggestion of Brad HArds on tiff mailing list.
3283
32842005-11-03  Frank Warmerdam  <[email protected]>
3285
3286	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
3287	public.
3288
32892005-10-31  Andrey Kiselev  <[email protected]>
3290
3291	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
3292	as per bug
3293
3294	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
3295
3296	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
3297	as per bug
3298
3299	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
3300
3301	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
3302	problem as per bug
3303
3304	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
3305
3306	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
3307
3308	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
3309
3310	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
3311	ResolutionUnit tags modifiable during write process. As per bug
3312
3313	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
3314
3315	* tools/tiffsplit.c: Copy fax related fields over splitted parts
3316	as per bug
3317
3318	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
3319
33202005-10-21  Frank Warmerdam  <[email protected]>
3321
3322	* tif_dirread.c: Don't try and split single strips into "0" strips
3323	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
3324	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
3325
33262005-10-20  Joris Van Damme  <[email protected]>
3327
3328	* tif_fax3.c: changed 'at scanline ...' style warning/errors
3329	with incorrect use of tif_row, to 'at line ... of
3330	strip/tile ...' style
3331
33322005-10-15  Frank Warmerdam  <[email protected]>
3333
3334	* tif_write.c: fixed setting of planarconfig as per bug report
3335	on the mailing list from Joris.
3336
33372005-10-07  Andrey Kiselev  <[email protected]>
3338
3339	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
3340	tif_dirread.c}: Make the default strip size configurable via the
3341	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
3342
33432005-09-30  Bob Friesenhahn  <[email protected]>
3344
3345	* html/support.html: Fixed link to documentation on Greg Ward's
3346	LogLuv TIFF format.
3347
33482005-09-28  Andrey Kiselev  <[email protected]>
3349
3350	* tools/tiffdump.c: Fixed crash when reading malformed tags.
3351
33522005-09-20  Andrey Kiselev  <[email protected]>
3353
3354	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
3355	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
3356
33572005-09-12  Andrey Kiselev  <[email protected]>
3358
3359	* libtiff 3.7.4 released.
3360
3361	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
3362	from Patrick Welche (all scripts moved in the 'config' and 'm4'
3363	directories).
3364
33652005-09-12  Frank Warmerdam  <[email protected]>
3366
3367	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
3368
33692005-09-05  Frank Warmerdam  <[email protected]>
3370
3371	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
3372	also set it to NULL to avoid double free when re-setting custom
3373	string fields as per:
3374
3375	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
3376
33772005-08-12  Frank Warmerdam  <[email protected]>
3378
3379	* libtiff/tif_print.c: avoid signed/unsigned warning.
3380
3381	* libtiff/tif_dirread.c: removed unused variable.
3382
33832005-07-30  Frank Warmerdam  <[email protected]>
3384
3385	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
3386	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
3387	pass on bigendian (macosx) system.
3388
33892005-07-28  Andrey Kiselev  <[email protected]>
3390
3391	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
3392	CheckMalloc() function to _TIFFCheckMalloc() and make it available
3393	globally as an internal helper routine.
3394
33952005-07-27  Andrey Kiselev  <[email protected]>
3396
3397	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
3398	the custom tags handling code.
3399
34002005-07-26  Andrey Kiselev  <[email protected]>
3401
3402	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
3403	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
3404	function, use TIFFFetchNormalTag() instead as per bug
3405
3406	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
3407
3408	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
3409	instead.
3410
3411	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
3412
3413	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3414
34152005-07-25  Andrey Kiselev  <[email protected]>
3416
3417	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
3418
3419	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
3420
34212005-07-21  Andrey Kiselev  <[email protected]>
3422
3423	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
3424	the TIFFWriteCheck() function in case of single band images (as per
3425	TIFF spec).
3426
34272005-07-12  Andrey Kiselev  <[email protected]>
3428
3429	* SConstruct, libtiff/SConstruct: Added the first very preliminary
3430	support for SCons software building tool (http://www.scons.org/).
3431	This is experimental infrastructure and it will exist along with the
3432	autotools mechanics.
3433
34342005-07-07  Andrey Kiselev  <[email protected]>
3435
3436	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
3437	the NetBSD source tree (the old	4-clause BSD license changed to
3438	the new 3-clause one).
3439
3440	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
3441	replacement module.
3442
3443	* port/dummy.c: Make the dummy function static.
3444
34452005-07-06  Andrey Kiselev  <[email protected]>
3446
3447	* tools/tiffcp.c: Fixed WhitePoint tag copying.
3448
3449	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
3450	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
3451	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
3452
34532005-07-04  Andrey Kiselev  <[email protected]>
3454
3455	* libtiff 3.7.3 released.
3456
3457	* configure, configure.ac: Do not use empty -R option when linking
3458	with --enable-rpath.
3459
34602005-07-01  Andrey Kiselev  <[email protected]>
3461
3462	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
3463	reading the first IFD when needed. As per bug
3464
3465	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
3466
3467	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
3468	effects.
3469
34702005-06-23  Andrey Kiselev  <[email protected]>
3471
3472	* tools/tiff2pdf.c: Print two characters per loop in the
3473	t2p_write_pdf_trailer(). As per bug
3474
3475	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
3476
3477	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
3478	per bug
3479
3480	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
3481
3482	* acinclude.m4: Updated to latest OpenGL test macros versions.
3483
3484	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
3485	platform. As per bug
3486
3487	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
3488
34892005-06-14  Andrey Kiselev  <[email protected]>
3490
3491	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
3492	and YClipPathUnits tags.
3493
34942005-06-07  Andrey Kiselev  <[email protected]>
3495
3496	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
3497	use pixel sized shift in contigous case.
3498
34992005-06-06  Andrey Kiselev  <[email protected]>
3500
3501	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
3502	Make overviews working for contiguos images.
3503
35042005-06-03  Andrey Kiselev  <[email protected]>
3505
3506	* libtiff/tif_open.c: Replace runtime endianess check with the compile
3507	time one.
3508
3509	* libtiff/tif_predict.c: Floating point predictor now works on
3510	big-endian hosts.
3511
35122005-06-01  Andrey Kiselev  <[email protected]>
3513
3514	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
3515	ASCII values.
3516
3517	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
3518	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
3519	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
3520	TargetPrinter tags custom.
3521
3522	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
3523	TIFF_CODERSETUP flag (to fix memry leaks).
3524
3525	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
3526	allocating.
3527
35282005-05-26  Andrey Kiselev  <[email protected]>
3529
3530	* configure.ac, libtiff/Makefile.am: Added workaround for
3531	OpenBSD/MirOS soname problem as per bug
3532
3533	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
3534
3535	* libtiff/tif_dirwrite.c: Use tdir_count when calling
3536	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
3537	per bug
3538
3539	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
3540
35412005-05-25  Andrey Kiselev  <[email protected]>
3542
3543	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
3544	the fscanf() function. As per bug
3545
3546	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
3547
3548	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
3549	uint16 array when fetching the BYTE and SBYTE filds, so we should
3550	consider result as pointer to uint16 array and not as array of chars.
3551	As per bug
3552
3553	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
3554
3555	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
3556
3557	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
3558
3559	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
3560	mode in CreateFile() call as per bug
3561
3562	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
3563
3564	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
3565	libtiffxx libraries as per bug
3566
3567	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
3568
3569	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
3570	GDAL.
3571
35722005-05-23  Frank Warmerdam  <[email protected]>
3573
3574	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
3575	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
3576	in directory.
3577
35782005-05-22  Frank Warmerdam  <[email protected]>
3579
3580	* libtiff/tif_dirread.c: Changed the code that computes
3581	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
3582	zero. This is a common case with GDAL indicating a "null" tile/strip.
3583
35842005-05-17  Andrey Kiselev  <[email protected]>
3585
3586	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
3587
35882005-05-06  Frank Warmerdam  <[email protected]>
3589
3590	* libtiff/tif_dirread.c: Applied similar change to
3591	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
3592
3593	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
3594
3595	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
3596
35972005-05-06  Andrey Kiselev  <[email protected]>
3598	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
3599	added new option '-b' to use interpolation in output PDF files (Bruno
3600	Ledoux).
3601
36022005-05-05  Frank Warmerdam  <[email protected]>
3603
3604	* libtiff/tif_dirread.c: Ensure that broken files with too many
3605	values in PerSampleShorts work ok instead of crashing.
3606
3607	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
3608
36092005-04-27  Andrey Kiselev  <[email protected]>
3610
3611	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
3612	input file.
3613
36142005-04-15  Andrey Kiselev  <[email protected]>
3615
3616	* libtiff/tif_predict.c: Added ability to encode floating point
3617	predictor, as per TIFF Technical Note 3.
3618
36192005-04-14  Andrey Kiselev  <[email protected]>
3620
3621	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
3622	floating point predictor, as per TIFF Technical Note 3.
3623
36242005-04-13  Andrey Kiselev  <[email protected]>
3625
3626	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
3627	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
3628	swap 24-bit floating point values.
3629
3630	* libtiff/tiff.h: Added predictor constants.
3631
36322005-04-08  Andrey Kiselev  <[email protected]>
3633
3634	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
3635	values in _TIFFVSetField() function. Inspired by the bug
3636
3637	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
3638
3639	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
3640	as per bug
3641
3642	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
3643
36442005-03-30  Andrey Kiselev  <[email protected]>
3645
3646	* libtiff/tif_open.c: Do not read header in case the output file
3647	should be truncated (Ron).
3648
3649	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
3650	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
3651
3652	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
3653
36542005-03-22  Andrey Kiselev  <[email protected]>
3655
3656	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
3657	rpath option.
3658
36592005-03-21  Andrey Kiselev  <[email protected]>
3660
3661	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
3662	tags.
3663
36642005-03-18  Andrey Kiselev  <[email protected]>
3665
3666	* libtiff/dirinfo.c: Added DNG tags.
3667
3668	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
3669	handling code.
3670
3671	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
3672	added DNG 1.1.0.0 tags.
3673
3674	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
3675	bug
3676
3677	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
3678
3679	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
3680
36812005-03-17  Andrey Kiselev  <[email protected]>
3682
3683	* nmake.opt: Build with Win32 CRT library by default.
3684
3685	* tools/tiff2ps.c: Fixed typo in page size handling code.
3686
3687	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
3688	by value.
3689
3690	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
3691
36922005-03-15  Andrey Kiselev  <[email protected]>
3693
3694	* libtiff 3.7.2 released.
3695
36962005-03-09  Andrey Kiselev  <[email protected]>
3697
3698	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
3699	floating point data; complain on unsupported bit depths.
3700
37012005-03-05  Andrey Kiselev  <[email protected]>
3702
3703	* tif_stream.cxx: Use ios namespace instead of ios_base to support
3704	GCC 2.95.
3705
3706	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
3707	Lee Howard for HylaFax DCS tag
3708	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
3709
37102005-03-04  Andrey Kiselev  <[email protected]>
3711
3712	* configure, configure.ac: Use -rpath option instead of -R as per bug
3713
3714	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
3715
3716	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
3717	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
3718	software. As per bug
3719
3720	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
3721
3722	* nmake.opt, html/build.html: Add more comments, change the config
3723	file organization a bit as per bug
3724
3725	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
3726
3727	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
3728	as per bug
3729
3730	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
3731
37322005-03-03  Andrey Kiselev  <[email protected]>
3733
3734	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
3735	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
3736
3737	* tools/fax2ps.c: Replace insecure mktemp() function with the
3738	tmpfile() as per bug
3739
3740	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
3741
37422005-02-04  Andrey Kiselev  <[email protected]>
3743
3744	* libtiff/tiff.h: Changed the int8 definition to be always signed char
3745	as per bug
3746
3747	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
3748
3749	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
3750	block as per bug
3751
3752	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
3753
37542005-02-03  Bob Friesenhahn  <[email protected]>
3755
3756	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
3757	display more correctly.  Images display brighter than they should
3758	on a Sun workstation.
3759
37602005-02-03  Andrey Kiselev  <[email protected]>
3761
3762	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
3763	suspicious values in the tags. As per bugs
3764
3765	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
3766
3767	and
3768
3769	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3770
3771	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
3772
3773	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
3774
37752005-01-31  Bob Friesenhahn  <[email protected]>
3776
3777	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
3778	(TIFFTAG_TILELENGTH): Corrected description.
3779
37802005-01-30  Andrey Kiselev  <[email protected]>
3781
3782	* configure.ac: Fixes for --with-docdir option as per bug
3783
3784	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
3785
3786	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
3787	bug
3788
3789	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
3790
3791	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
3792	Michael Rinne and Edward Lam.
3793
37942005-01-15  Andrey Kiselev  <[email protected]>
3795
3796	* configure.ac: Make the documentation directory location configurable
3797	via the --with-docdir option (as suggested by Jeremy C. Reed).
3798
3799	* libtiff/tif_color.c: Use double as the second argument of pow()
3800	function in TIFFCIELabToRGBInit(). As per bug
3801
3802	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
3803
3804	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
3805	integer as per bug
3806
3807	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
3808
3809	* libtiff/tif_getimage.c: Always fill the error message buffer in
3810	TIFFRGBAImageBegin() as per bug
3811
3812	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
3813
38142005-01-12  Andrey Kiselev  <[email protected]>
3815
3816	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
3817	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
3818	tags as per bug
3819
3820	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
3821
3822	* libtiff/tif_win32.c: Fixed message formatting in functions
3823	Win32WarningHandler() and Win32ErrorHandler() as per bug
3824
3825	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
3826
3827	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
3828	per bug
3829
3830	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
3831
38322005-01-11  Andrey Kiselev  <[email protected]>
3833
3834	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
3835	"C"' section as per bug
3836
3837	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
3838
3839	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
3840	compiler to avoid double definition of BSD types as per bug
3841
3842	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3843
3844	* libtiff/Makefile.am: Place the C++ stream API in the separate
3845	library called libtiffxx to avoid unneeded dependencies. Probably
3846	there will be more C++ API in the future. As per bugs
3847
3848	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
3849
3850	and
3851
3852	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
3853
38542005-01-05  Andrey Kiselev  <[email protected]>
3855
3856	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
3857	wrong tag counts (Dmitry V. Levin, Martin Pitt).
3858
3859	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
3860	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
3861
38622004-12-25  Andrey Kiselev  <[email protected]>
3863
3864	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
3865	RGB-images as per bug
3866
3867	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
3868
3869
3870	* tools/tiffset.c: Convert character option to integer value as per
3871	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
3872
38732004-12-20  Andrey Kiselev  <[email protected]>
3874
3875	* libtiff 3.7.1 released.
3876
3877	* html/tiffset.1.html: Add missed manual page as per bug
3878
3879	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
3880
3881	* libtiff/tiff.h: Revert back libtiff data type definitions as per
3882	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
3883
38842004-12-19  Andrey Kiselev  <[email protected]>
3885
3886	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
3887	checking for tag count in TIFFReadDirectory() function. As per bug
3888
3889	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
3890
3891	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
3892	CheckMallock() function.
3893
3894	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
3895	RGB-images as per bug
3896
3897	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
3898
38992004-12-15  Frank Warmerdam  <[email protected]>
3900
3901	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
3902	SunPro compiler.
3903
39042004-12-11  Bob Friesenhahn  <[email protected]>
3905
3906	* autogen.sh: aclocal and autoheader should be executed after
3907	libtoolize.  Also add '-I .' to aclocal invocation to check
3908	current directory for macros.
3909
39102004-12-10  Andrey Kiselev  <[email protected]>
3911
3912	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
3913	as per bugs
3914
3915	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
3916
3917	and
3918
3919	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
3920
39212004-12-04  Andrey Kiselev  <[email protected]>
3922
3923	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
3924
3925	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
3926
3927	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
3928	mode as per bug
3929
3930	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
3931
3932	* libtiff/tif_config.in.vc: Removed unneded definitions for
3933	read/open/close/lseek functions to fix the
3934
3935	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
3936
39372004-12-03  Andrey Kiselev  <[email protected]>
3938
3939	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
3940	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
3941	must be removed in the future, as it was never used properly. As per
3942	bug
3943
3944	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
3945
39462004-11-30  Bob Friesenhahn  <[email protected]>
3947
3948	* libtiff/tif_jpeg.c: Added a work-around in order to allow
3949	compilation with the heavily modified version of libjpeg delivered
3950	with Cygwin.
3951
39522004-11-29  Andrey Kiselev  <[email protected]>
3953
3954	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
3955	counts. As per bug
3956
3957	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
3958
3959	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
3960
3961	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
3962
39632004-11-28  Andrey Kiselev  <[email protected]>
3964
3965	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
3966	on Windows.
3967
3968	* nmake.opt: Add missed DLLNAME variable.
3969
39702004-11-26  Frank Warmerdam  <[email protected]>
3971
3972	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
3973
39742004-11-24  Andrey Kiselev  <[email protected]>
3975
3976	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
3977	per bug
3978
3979	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
3980
3981	* man/tiffset.1: Added manual page for tiffset tool written by Jay
3982	Berkenbilt. As per bug
3983
3984	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
3985
39862004-11-23  Frank Warmerdam  <[email protected]>
3987
3988	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
3989
39902004-11-21  Frank Warmerdam  <[email protected]>
3991
3992	* html/document.html: Updated Adobe web links as per email from Joris.
3993
39942004-11-21  Andrey Kiselev  <[email protected]>
3995
3996	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
3997	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
3998	use C++ streams should #include <tiffio.hxx>.
3999
40002004-11-13  Andrey Kiselev  <[email protected]>
4001
4002	* libtiff/tiff.h: Added Adobe DNG tags.
4003
4004	* libtiff/tif_win32.c: Typo fixed.
4005
4006	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
4007	be compliant with the latest standard. Appropriate additions in
4008	makefiles now completed.
4009
40102004-11-11  Andrey Kiselev  <[email protected]>
4011
4012	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
4013	different tag types. As per bug
4014
4015	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
4016
40172004-11-10  Andrey Kiselev  <[email protected]>
4018
4019	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
4020	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
4021
40222004-11-09  Andrey Kiselev  <[email protected]>
4023
4024	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
4025
40262004-11-07  Andrey Kiselev  <[email protected]>
4027
4028	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
4029	contributed by Edward Lam (see
4030	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
4031	Though no changes in any makefiles yet.
4032
40332004-11-05  Frank Warmerdam  <[email protected]>
4034
4035	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
4036	is bad. This is the callers responsibility.
4037	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
4038
40392004-11-05  Andrey Kiselev  <[email protected]>
4040
4041	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
4042	function to work with the double byte strings (used to represent
4043	filenames in some locales). As per bug
4044
4045	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
4046
4047	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
4048	Compression tags of type LONG from broken TIFFS as per bug
4049
4050	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
4051
4052	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
4053	the writecount should have uint32 type. As per bug
4054
4055	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
4056
4057	* libtiff/tif_write.c: Fixed wrong if() statement in
4058	TIFFAppendToStrip() function as per bug
4059
4060	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
4061
40622004-11-04  Andrey Kiselev  <[email protected]>
4063
4064	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
4065	field. The caller should supply a count when setting this field. As
4066	per bug
4067
4068	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
4069
4070	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
4071	uint32 count. Use this type everywhere.
4072
40732004-11-03  Frank Warmerdam  <[email protected]>
4074
4075	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
4076
40772004-11-02  Frank Warmerdam  <[email protected]>
4078
4079	* tools/tiff2rgba.c: removed extra newlines in usage message.
4080
40812004-10-30  Andrey Kiselev  <[email protected]>
4082
4083	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
4084
4085	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
4086	tags (Tristan Hill).
4087
40882004-10-30  Frank Warmerdam  <[email protected]>
4089
4090	* libtiff/tiffiop.h: added fallback definition of assert() if we
4091	don't have assert.h.
4092
40932004-10-29  Andrey Kiselev  <[email protected]>
4094
4095	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
4096	choosing when the incorrect Group4Options tag set. As per bug
4097
4098	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
4099
4100	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
4101	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
4102	TIFFWriteNormalTag().
4103
41042004-10-28  Andrey Kiselev  <[email protected]>
4105
4106	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
4107	tags (Peter Fales).
4108
4109	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
4110
41112004-10-28  Frank Warmerdam  <[email protected]>
4112
4113	* tools/tiff2pdf.c: added casts to avoid warnings.
4114
4115	* libtiff/libtiff.def: Added several more entry points required
4116	to link fax2tiff.c against the DLL on windows.
4117
41182004-10-27  Andrey Kiselev  <[email protected]>
4119
4120	* configure, configure.ac: Added --enable-rpath option to embed linker
4121	paths into library binary.
4122
41232004-10-26  Andrey Kiselev  <[email protected]>
4124
4125	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
4126
4127	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
4128	(Vladimir Nadvornik, Dmitry V. Levin).
4129
41302004-10-16  Andrey Kiselev  <[email protected]>
4131
4132	* libtiff 3.7.0 released.
4133
41342004-10-15  Bob Friesenhahn  <[email protected]>
4135
4136	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
4137	in this file so its inclusion is removed.  Including stdio.h
4138	sometimes incurs an INT32 typedef conflict between MinGW's
4139	basetsd.h and libjpeg's jmorecfg.h.
4140
41412004-10-15  Andrey Kiselev  <[email protected]>
4142
4143	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
4144
41452004-10-13  Bob Friesenhahn  <[email protected]>
4146
4147	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
4148	conflict noticed under MinGW.
4149	* ltmain.sh: Fix for MinGW compilation.
4150
41512004-10-13  Frank Warmerdam  <[email protected]>
4152
4153	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
4154	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
4155
41562004-10-12  Andrey Kiselev  <[email protected]>
4157
4158	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
4159	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
4160	properly (Dmitry V. Levin, Marcus Meissner).
4161
41622004-10-11  Andrey Kiselev  <[email protected]>
4163
4164	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
4165	to TIFF_IFD.
4166
41672004-10-10  Andrey Kiselev  <[email protected]>
4168
4169	* tools/bmp2tif.c: Check the space allocation results.
4170
41712004-10-09  Andrey Kiselev  <[email protected]>
4172
4173	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
4174	of the TIFFDirectory structure with the 0 instead of -1 to avoid
4175	confusing integer overflows in TIFFTileRowSize() for striped images.
4176
4177	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
4178	by Ross A. Finlayson.
4179
4180	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
4181
4182	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
4183
41842004-10-08  Frank Warmerdam  <[email protected]>
4185
4186	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
4187	of tif_fieldinfo.
4188
4189	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
4190
41912004-10-04  Bob Friesenhahn  <[email protected]>
4192
4193	* contrib/iptcutil/README: Added the missing README which goes
4194	along with iptcutil.
4195
41962004-10-03  Andrey Kiselev  <[email protected]>
4197
4198	* libtiff/tif_compress.c: Improved error reporting in
4199	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
4200
42012004-10-02  Andrey Kiselev  <[email protected]>
4202
4203	* libtiff 3.7.0beta2 released.
4204
4205	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
4206	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
4207	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
4208	allocations and	integer overflows (Dmitry V. Levin).
4209
4210	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
4211
42122004-10-01  Frank Warmerdam  <[email protected]>
4213
4214	* libtiff/tif_open.c: added a more informative message if a BigTIFF
4215	file is opened.
4216
42172004-09-30  Frank Warmerdam  <[email protected]>
4218
4219	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
4220	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
4221	in the Adobe XMP Specification.
4222
42232004-09-29  Andrey Kiselev  <[email protected]>
4224
4225	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
4226	memset().
4227
4228	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
4229	from Dmitry V. Levin to fix possible integer overflow problems.
4230
42312004-09-28  Andrey Kiselev  <[email protected]>
4232
4233	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
4234	(Dmitry V. Levin).
4235
42362004-09-26  Andrey Kiselev  <[email protected]>
4237
4238	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
4239	Optimize checking for the strip bounds.
4240
4241	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
4242	TIFFRasterScanlineSize() functions report zero in the case of integer
4243	overflow now. Properly handle this case in TIFFReadDirectory()
4244	(patches from Dmitry V. Levin).
4245
42462004-09-25  Andrey Kiselev  <[email protected]>
4247
4248	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
4249	macro where appropriate.
4250
4251	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
4252	noted by Gennady Khokhorin.
4253
4254	* libtiff/tif_dirread.c: Always check the return values, returned
4255	by the _TIFFmalloc() (Dmitry V. Levin).
4256
4257	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
4258	functions (Dmitry V. Levin).
4259
4260	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
4261	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
4262	TIFFGrowStrips() (found by Dmitry V. Levin).
4263
42642004-09-24  Andrey Kiselev  <[email protected]>
4265
4266	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
4267	to get the list of configured codecs.
4268
4269	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
4270	Dmitry V. Levin.
4271
42722004-09-23  Andrey Kiselev  <[email protected]>
4273
4274	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
4275	possible integer overflow in CheckMalloc() function.
4276
42772004-09-22  Andrey Kiselev  <[email protected]>
4278
4279	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
4280	of plain TIFFhowmany() where appropriate.
4281
42822004-09-21  Andrey Kiselev  <[email protected]>
4283
4284	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
4285
42862004-09-19  Andrey Kiselev  <[email protected]>
4287
4288	* libtiff 3.7.0beta released.
4289
4290	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
4291	overruns fixed, as noted by Chris Evans.
4292
42932004-09-14  Bob Friesenhahn  <[email protected]>
4294
4295	* commit: Added a script to make it more convenient to commit
4296	updates.  The CVS commit message is extracted from this ChangeLog
4297	file.
4298
42992004-09-14  Andrey Kiselev  <[email protected]>
4300
4301	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
4302	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
4303	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
4304	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
4305	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
4306	tif_config.h.in, tiffiop.h}:
4307	Get rid of BSD data types (u_char, u_short, u_int, u_long).
4308
43092004-09-13  Bob Friesenhahn  <[email protected]>
4310
4311	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
4312	specification. Reference libtiff bug tracking system to submit
4313	private tag additions.
4314
43152004-09-12  Bob Friesenhahn  <[email protected]>
4316
4317	* tools/tiffgt.c: Include "tif_config.h".
4318
4319	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
4320	tiffgt.  This results in the 'compile' script being added to the
4321	project.
4322
4323	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
4324	required to find OpenGL headers necessary to build tiffgt.  Also
4325	ensure that the libtiff that we built is used rather than some other
4326	libtiff installed on the system.
4327
43282004-09-12  Andrey Kiselev  <[email protected]>
4329
4330	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
4331	libraries.
4332
43332004-09-11  Bob Friesenhahn  <[email protected]>
4334
4335	* configure.ac: Pass library configuration defines via
4336	tif_config.h rather than extending CPPFLAGS. Configure a
4337	libtiff/tiffconf.h in order to satisfy application requirements
4338	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
4339	this causes failure to build on systems which properly respect
4340	this request.
4341
4342	* libtiff/tiffconf.h.in: New file to act as the template for the
4343	configured tiffconf.h
4344
4345	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
4346
43472004-09-10  Frank Warmerdam  <[email protected]>
4348
4349	* html/internals.html: Split off a discussion of adding new tags
4350	into addingtags.html.
4351
43522004-09-10  Andrey Kiselev  <[email protected]>
4353
4354	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
4355
4356	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
4357
4358	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
4359
4360	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
4361
4362	* libtiff/tif_dirread.c: Don't reject to read tags of the
4363	SamplesPerPixel size when the tag count is greater than number of
4364	samples as per bug
4365
4366	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
4367
4368	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
4369	defining int8/uint8/... etc. types. As per bug
4370
4371	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
4372
43732004-09-09  Frank Warmerdam  <[email protected]>
4374
4375	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
4376	to avoid compile warnings about getopt() and a few other things.
4377
43782004-09-02  Andrey Kiselev  <[email protected]>
4379
4380	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
4381	assigning magic in TIFFFetchFloat().
4382
43832004-09-01  Andrey Kiselev  <[email protected]>
4384
4385	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
4386	to avoid requirement for tiffiop.h inclusion in some applications. See
4387	here
4388
4389	http://www.asmail.be/msg0054799560.html
4390
4391	for details.
4392
4393	* tools/fax2tiff.c: Use the new functions in the code.
4394
43952004-08-25  Andrey Kiselev  <[email protected]>
4396
4397	* tools/tiff2pdf.c: Initialize arrays properly.
4398
4399	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
4400	properly initialize array in PSDataBW().
4401
44022004-08-24  Andrey Kiselev  <[email protected]>
4403
4404	* tools/tiff2pdf.c: More fixes for bug
4405
4406	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
4407
4408	from Ross Finlayson.
4409
44102004-08-23  Andrey Kiselev  <[email protected]>
4411
4412	* tools/tiff2ps.c: Fixed problem with uninitialized values.
4413
4414	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
4415	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
4416
4417	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
4418
4419	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
4420
44212004-08-20  Andrey Kiselev  <[email protected]>
4422
4423	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
4424	that the input file has compression, photometric interpretation,
4425	etcetra, tags or if not than a more descriptive error is returned.
4426
4427	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
4428	code, responsible for tag data type checking.
4429
44302004-08-19  Andrey Kiselev  <[email protected]>
4431
4432	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
4433	variable as per bug
4434
4435	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
4436
44372004-08-16  Andrey Kiselev  <[email protected]>
4438
4439	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
4440	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
4441
44422004-08-01  Andrey Kiselev  <[email protected]>
4443
4444	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
4445	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
4446
44472004-07-24  Andrey Kiselev  <[email protected]>
4448
4449	* libtiff/tif_lzw.c: LZW compression code is merged back from the
4450	separate package. All libtiff tools are updated to not advertise an
4451	abcence of LZW support.
4452
44532004-07-12  Andrey Kiselev  <[email protected]>
4454
4455	* libtiff/tiffio.h: Revert thandle_t back to void* type.
4456
44572004-07-11  Andrey Kiselev  <[email protected]>
4458
4459	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
4460	messages, as suggested by Bernd Herd.
4461
44622004-07-03  Andrey Kiselev  <[email protected]>
4463
4464	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
4465	when setting custom tags by value. Reported by Eric Fieleke.
4466
44672004-06-14  Andrey Kiselev  <[email protected]>
4468
4469	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
4470
44712004-06-08  Andrey Kiselev  <[email protected]>
4472
4473	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
4474	into TIFFs.
4475
44762004-06-07  Andrey Kiselev  <[email protected]>
4477
4478	* libtiff 3.7.0alpha released.
4479
44802004-06-06  Andrey Kiselev  <[email protected]>
4481
4482	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
4483	of ugly 64-bit hacks, replace them with the clever (autoconf based )
4484	ones :-).
4485
4486	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
4487	problems in 64-bit environment).
4488
44892004-06-05  Andrey Kiselev  <[email protected]>
4490
4491	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
4492	Tags can be supplied by the mnemonic name or number.
4493
4494	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
4495	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
4496
44972004-05-27  Andrey Kiselev  <[email protected]>
4498
4499	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
4500	markers as per bug
4501
4502	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
4503
45042004-05-24  Andrey Kiselev  <[email protected]>
4505
4506	* tools/tiffsplit.c: Don't forget to copy Photometric
4507	Interpretation tag.
4508
45092004-05-20  Andrey Kiselev  <[email protected]>
4510
4511	* libtiff/{tif_open.c, tiffio.h}: New function added:
4512	TIFFIsBigEndian(). Function returns nonzero if given was file written
4513	in big-endian order.
4514
4515	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
4516	files. Now output files will be written using the same byte order
4517	flag as	in the input image. See
4518
4519	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
4520
4521	for details.
4522
45232004-05-19  Frank Warmerdam  <[email protected]>
4524
4525	* libtiff/tif_print.c: added (untested) support for printing
4526	SSHORT, SLONG and SRATIONAL fields.
4527
4528	* tools/tiffcp.c: close output file on normal exit.
4529
45302004-05-17  Andrey Kiselev  <[email protected]>
4531
4532	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
4533	if compression type mismatches. See
4534
4535	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
4536
45372004-04-30  Andrey Kiselev  <[email protected]>
4538
4539	* libtiff/tif_strip.c: Never return 0 from the
4540	TIFFNumberOfStrips().
4541
45422004-04-29  Andrey Kiselev  <[email protected]>
4543
4544	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
4545	store single SampleFormat value for multisampled images. See
4546
4547	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
4548
45492004-04-25  Andrey Kiselev  <[email protected]>
4550
4551	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
4552	int16 and int32 types to avoid complains on some compilers. Details at
4553
4554	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4555
45562004-04-20  Andrey Kiselev  <[email protected]>
4557
4558	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
4559
4560	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
4561
45622004-04-14  Andrey Kiselev  <[email protected]>
4563
4564	* libtiff/tif_write.c: Allow in-place updating of the compressed
4565	images (don't work properly with all codecs). For details see GDAL bug
4566
4567	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
4568
45692004-04-06  Andrey Kiselev  <[email protected]>
4570
4571	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
4572	in the Intergarph JPEG compressed TIFF images as per bug:
4573
4574	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
4575
45762004-04-04  Frank Warmerdam  <[email protected]>
4577
4578	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
4579	via bad2.
4580
45812004-03-26  Andrey Kiselev  <[email protected]>
4582
4583	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
4584	JPEG compression of grayscale images.
4585
4586	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
4587	present in the input image.
4588
45892004-03-19  Andrey Kiselev  <[email protected]>
4590
4591	* {many}: The first attempt to switch to autotools.
4592
45932004-03-03  Andrey Kiselev  <[email protected]>
4594
4595	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
4596	TIFFClientOpen() when the appropriate client functions was not
4597	supplied by user.
4598
45992004-03-02  Frank Warmerdam  <[email protected]>
4600
4601	* tools/ycbcr.c: fixed main() declaration as per:
4602	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
4603
46042004-02-26  Andrey Kiselev  <[email protected]>
4605
4606	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
4607	images. Reported by Artem Mirolubov.
4608
4609	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
4610	tag type in TIFFFetchNormalTag() as per bug
4611
4612	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
4613
46142004-02-17  Frank Warmerdam  <[email protected]>
4615
4616	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
4617	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
4618
46192004-02-05  Andrey Kiselev  <[email protected]>
4620
4621	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
4622	bug
4623
4624	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
4625
4626	But we need more work on fax codec to support update mode.
4627
46282004-01-30  Frank Warmerdam  <[email protected]>
4629
4630	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
4631	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
4632	Scott Reynolds.
4633
46342004-01-29  Andrey Kiselev  <[email protected]>
4635
4636	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
4637	and TIFFTAG_INDEXED as per bug
4638
4639	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
4640
4641	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
4642	NULL before proceeding further as per bug
4643
4644	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
4645
4646	Check results, returned by the TIFFFdOpen() before returning and close
4647	file if TIFFFdOpen() failed as per bug
4648
4649	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
4650
4651	* libtiff/tif_open.c: More fixes for
4652
4653	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
4654
46552004-01-28  Andrey Kiselev  <[email protected]>
4656
4657	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
4658	TIFFCleanup() from the TIFFClose() in order to fix the bug
4659
4660	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
4661
4662	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
4663	InkNames tag as per bug
4664
4665	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
4666
4667	Memory leak fixed.
4668
46692004-01-21  Frank Warmerdam  <[email protected]>
4670
4671	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
4672	are field_passcount=TRUE properly.  Arguably anonymous custom tags
4673	should be declared as passcount=FALSE, but I don't want to change
4674	that without a careful review.
4675
46762004-01-20  Andrey Kiselev  <[email protected]>
4677
4678	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
4679	stripped image in TIFFWriteBufferSetup(). As per bug
4680
4681	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
4682
46832004-01-11  Andrey Kiselev  <[email protected]>
4684
4685	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
4686	patch from Gerben Koopmans.
4687
4688	* libtiff/tif_dirread.c: Check field_passcount value before setting
4689	the value of undefined type, patch from Gerben Koopmans.
4690
46912004-01-02  Andrey Kiselev  <[email protected]>
4692
4693	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
4694	non-RGB images.
4695
46962003-12-31  Andrey Kiselev  <[email protected]>
4697
4698	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
4699	pointer passed. Patch supplied by Larry Grill.
4700
4701	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
4702	suggested by Jeremy C. Reed.
4703
47042003-12-26  Andrey Kiselev  <[email protected]>
4705
4706	* libtiff 3.6.1 released.
4707
47082003-12-24  Andrey Kiselev  <[email protected]>
4709
4710	* config.guess, config.sub: Updated from the recent upstream.
4711
47122003-12-22  Andrey Kiselev  <[email protected]>
4713
4714	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
4715	More cleanups in color conversion interface, added appropriate manual
4716	page.
4717
47182003-12-19  Andrey Kiselev  <[email protected]>
4719
4720	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
4721	per bug
4722
4723	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
4724
4725	* tools/tiff2ps.c: Added support for alpha channel. Fixes
4726
4727	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
4728
4729	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
4730	Interface for Lab->RGB color conversion is finally cleaned up.
4731	Added support for ReferenceBlackWhite tag handling when converted from
4732	YCbCr color space. The latter closes
4733
4734	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
4735
47362003-12-07  Andrey Kiselev  <[email protected]>
4737
4738	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
4739
4740	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
4741	library.
4742
47432003-12-06  Andrey Kiselev  <[email protected]>
4744
4745	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
4746	file and properly use it for CIE Lab->RGB transform.
4747
47482003-12-04  Andrey Kiselev  <[email protected]>
4749
4750	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
4751	conversion routines now in the tif_color.c module. New function
4752	TIFFYCbCrtoRGB() available in TIFF API.
4753
4754	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
4755
47562003-12-03  Andrey Kiselev  <[email protected]>
4757
4758	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
4759	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
4760	module.
4761
4762	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
4763	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
4764	Finally resolved problems with orientation handling. TIFFRGBAImage
4765	interface now properly supports all possible orientations, i.e. images
4766	will be flipped both in horizontal and vertical directions if
4767	required. 'Known bugs' section now removed from the appropriate manual
4768	pages. Closed bug entry:
4769
4770	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
4771
47722003-12-02  Andrey Kiselev  <[email protected]>
4773
4774	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
4775	function calls as per bug
4776
4777	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
4778
47792003-11-28 Ross Finlayson  <[email protected]>
4780
4781	* tools/tiff2pdf.c:  Some bugs fixed.
4782
47832003-11-27  Andrey Kiselev  <[email protected]>
4784
4785	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
4786	reported by Antonio Scuri.
4787
4788	* man/tiff2pdf.1: Few improvements in page layout.
4789
4790	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
4791	 Added support fpr tiff2pdf manual page.
4792
47932003-11-26 Ross Finlayson  <[email protected]>
4794
4795	* /man/tiff2pdf.1:  File added to repository.
4796
47972003-11-26  Andrey Kiselev  <[email protected]>
4798
4799	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
4800	 Added support fpr tiff2pdf utility.
4801
48022003-11-25  Ross Finlayson  <[email protected]>
4803
4804	* /tools/tiff2pdf.c:  File added to repository.
4805
48062003-11-22  Andrey Kiselev  <[email protected]>
4807
4808	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
4809
48102003-11-21  Andrey Kiselev  <[email protected]>
4811
4812	* /tools/raw2tiff.c: #include <getopt.h> removed.
4813
4814	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
4815	sgigt utility removed and replaced with the completely rewritten
4816	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
4817	there is a lot of things to improve.
4818
4819	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
4820	extract the fields from the OJPEG files. Patch supplied by Ross
4821	Finlayson.
4822
4823	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
4824	Added new function TIFFIsCODECConfigured(), suggested by Ross
4825	Finlayson.
4826
48272003-11-18  Andrey Kiselev  <[email protected]>
4828
4829	* libtiff/tif_dirinfo.c: Implemented binary search in
4830	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
4831
4832	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
4833	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
4834
48352003-11-17  Frank Warmerdam  <[email protected]>
4836
4837	* tif_dirread.c: do not mark all anonymously defined tags to be
4838	IGNOREd.
4839
48402003-11-17  Andrey Kiselev  <[email protected]>
4841
4842	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
4843	TIFFDataWidth() function insted of tiffDataWidth array.
4844
48452003-11-16  Andrey Kiselev  <[email protected]>
4846
4847	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
4848	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
4849
48502003-11-15  Frank Warmerdam  <[email protected]>
4851
4852	* Makefile.in: fixed missing backslash for tif_color.c in list.
4853
48542003-11-13  Andrey Kiselev  <[email protected]>
4855
4856	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
4857	New color space conversion code: CIE L*a*b* 1976 images now supported
4858	by the TIFFRGBAImage interface. All introduced routines go to new
4859	module tif_color.c. Eventually all color conversion functions should
4860	be moved there.
4861
48622003-11-12  Andrey Kiselev  <[email protected]>
4863
4864	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
4865	with the reverse byte order (it is reported by the magic header
4866	field). Problem reported by Andreas Wiesmann.
4867
4868	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
4869	calculation function. Guessing mechanics now documented in manual page.
4870
48712003-11-11  Andrey Kiselev  <[email protected]>
4872
4873	* tools/raw2tiff.c: Implemented image size guessing using
4874	correlation coefficient calculation between two neighbour lines.
4875
48762003-11-09  Frank Warmerdam  <[email protected]>
4877
4878	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
4879	planarconfig_contig case in TIFFComputeTile().
4880
4881	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
4882
48832003-11-09  Andrey Kiselev  <[email protected]>
4884
4885	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
4886
48872003-11-07  Andrey Kiselev  <[email protected]>
4888
4889	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
4890	Added TIFFRawStripSize() function as suggested by Chris Hanson.
4891
48922003-11-03  Andrey Kiselev  <[email protected]>
4893
4894	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
4895	per bug
4896
4897	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
4898
48992003-10-29  Andrey Kiselev  <[email protected]>
4900
4901	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
4902
4903	* html/build.html: Added note about GNU make requirement.
4904
49052003-10-25  Andrey Kiselev  <[email protected]>
4906
4907	* Makefile.in: Fixes in using MAKEFLAGS as per bug
4908
4909	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
4910
4911	* port/install.sh.in: Option -p added to the mkdir command to create
4912	all directory tree structure before installing.
4913
49142003-10-18  Andrey Kiselev  <[email protected]>
4915
4916	* /tools/tiff2ps.c: #include <strings.h> replaced with the
4917	#include <string.h>.
4918
49192003-10-16  Andrey Kiselev  <[email protected]>
4920
4921	* Makefile.in: Add an absolute path to the test_pics.sh call.
4922
49232003-10-12  Andrey Kiselev  <[email protected]>
4924
4925	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
4926	typedefs.
4927
49282003-10-09  Andrey Kiselev  <[email protected]>
4929
4930	* configure, libtiff/{Makefile.in, mkversion.c}:
4931	Relative buildings fixed.
4932
4933	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
4934	rule.
4935
49362003-10-07  Andrey Kiselev  <[email protected]>
4937
4938	* Makefile.in: Added missed v3.6.0.html.
4939
4940	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
4941	ORIENTATION_BOTLEFT.
4942
49432003-10-04  Andrey Kiselev  <[email protected]>
4944
4945	* 3.6.0 final release.
4946
49472003-10-03  Andrey Kiselev  <[email protected]>
4948
4949	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
4950	function TIFFReadRGBAImageOriented() implemented to retrieve raster
4951	array with user-specified origin position as suggested by Jason Frank.
4952	See
4953
4954	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
4955
4956	for details.
4957
4958	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
4959	instead of TIFFReadRGBAImage().
4960
4961	* tools/tiff2ps.c: Fixed possible endless loop as per bug
4962
4963	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
4964
49652003-09-30  Andrey Kiselev  <[email protected]>
4966
4967	* libtiff/tif_dirread.c: Check field counter against number of fields
4968	in order to fix
4969
4970	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
4971
4972	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
4973
4974	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
4975
49762003-09-25  Andrey Kiselev  <[email protected]>
4977
4978	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
4979	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
4980
4981	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
4982
49832003-09-23  Andrey Kiselev  <[email protected]>
4984
4985	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
4986
4987	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
4988
49892003-08-21  Andrey Kiselev  <[email protected]>
4990
4991	* tools/tiffmedian.c: int declaration replaced with the uint32 to
4992	support large images as per bug
4993
4994	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
4995
49962003-08-12  Andrey Kiselev  <[email protected]>
4997
4998 	* libtiff/Makefile.in: Fixed problem with building in different
4999	directory.
5000
5001	* tools/tiff2ps.c: Added missing #include <strings.h>.
5002
5003	* libtiff/tif_dirwrite.c: More fixes for custom tags code
5004	from Ashley Dreier.
5005
50062003-08-07  Andrey Kiselev  <[email protected]>
5007
5008	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
5009	Patch submitted by Balatoni Denes (with corrections from Tom
5010	Kacvinsky).
5011
5012	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
5013	being used. Reported by Tom Kacvinsky.
5014
5015	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
5016	reported by Ashley Dreier.
5017
5018	* libtiff/tif_print.c: Fixed problem with float tags reading, support
5019	for printing RATIONAL and BYTE tags added.
5020
50212003-08-05  Andrey Kiselev  <[email protected]>
5022
5023	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
5024	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
5025	problems with predictor initialization. Remove O_RDONLY check during
5026	state block allocation to be able open LZW compressed files in update
5027	mode.
5028
5029	Problem exist for libtiff version of the tif_lzw.c module. One from
5030	lzw-compression-kit hasn't such troubles.
5031
50322003-08-04  Frank Warmerdam  <[email protected]>
5033
5034	* libtiff/tif_write.c: modified tif_write.c so that the various
5035	encoded write functions use tif_postdecode() to apply byte order
5036	swapping (swab) to the application passed data buffer if the same
5037	would be done when reading.  This allows us to write pixel data with
5038	more than 8 bits per sample to existing files of a non-native byte
5039	order.  One side effect of this change is the applications buffer
5040	itself is altered in this case by the act of writing.
5041
5042	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
5043
50442003-07-25  Frank Warmerdam  <[email protected]>
5045
5046	* libtiff/tif_open.c: avoid signed/unsigned casting warning
5047	initializing typemask as per patch from J.A. Strother.
5048
5049	* tools/tiffcp.c: fixed signed/unsigned casting warning.
5050
5051	* libtiff/tif_print.c: dos2unix conversion.
5052
5053	* tools/tiffsplit.c: increased the maximum number of pages that
5054	can be split.  Patch provided by Andrew J. Montalenti.
5055
50562003-07-11  Andrey Kiselev  <[email protected]>
5057
5058	* tools/raw2tiff.c: Added option `-p' to explicitly select color
5059	space of input image data. Closes
5060
5061	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
5062
50632003-07-08  Frank Warmerdam  <[email protected]>
5064
5065	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
5066	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
5067	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
5068	avoid casting warning at /W4.
5069
50702003-07-03  Andrey Kiselev  <[email protected]>
5071
5072	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
5073
50742003-06-30  Andrey Kiselev  <[email protected]>
5075
5076	* libtiff/tif_pixarlog.c: Unused variables removed.
5077
5078	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
5079	EstimateStripByteCounts() as per bug
5080
5081	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
5082
5083	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
5084	64-bit architectures as per bug
5085
5086	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
5087
5088	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
5089	unknown data type.
5090
50912003-06-19  Frank Warmerdam  <[email protected]>
5092
5093	* libtiff/tif_print.c: fixed some serious bugs when printing
5094	custom tags ... almost certain to crash.
5095
5096	* libtiff/tif_dirread.c: Don't ignore custom fields that are
5097	autodefined.  Not sure how this got to be like this.
5098
50992003-06-18  Andrey Kiselev  <[email protected]>
5100
5101	* 3.6.0 Beta2 released.
5102
5103	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
5104	comparing as per bug
5105
5106	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
5107
5108	`-z' option now can be used to set the number of reported different
5109	bytes.
5110
51112003-06-09  Andrey Kiselev  <[email protected]>
5112
5113	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
5114	to -r option to get the entire image as one strip. See
5115
5116	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
5117
5118	for details.
5119
51202003-06-04  Andrey Kiselev  <[email protected]>
5121
5122	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
5123	values as per bug
5124
5125	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
5126
51272003-05-27  Frank Warmerdam  <[email protected]>
5128
5129	* libtiff/tif_jpeg.c: modified segment_height calculation to always
5130	be a full height tile for tiled images.  Also changed error to just
5131	be a warning.
5132
51332003-05-25  Andrey Kiselev  <[email protected]>
5134
5135	* tools/fax2tiff.c: Page numbering fixed, as per bug
5136
5137	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
5138
51392003-05-20  Andrey Kiselev  <[email protected]>
5140
5141	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
5142	configure, Makefile.in:	Switched back to the old behaviour. Likely
5143	better solution should be found for OJPEG support.
5144
51452003-05-11  Andrey Kiselev  <[email protected]>
5146
5147	* libtiff/mkversion.c: Fixed problem with wrong string size when
5148	reading RELEASE-DATE file.
5149
51502003-05-07  Andrey Kiselev  <[email protected]>
5151
5152	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
5153	index was out of range.
5154
51552003-05-06  Andrey Kiselev  <[email protected]>
5156
5157	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
5158	configure, Makefile.in:	Improved libtiff compilation with OJPEG
5159	support. Now no need for patching IJG JPEG library, hack requred by
5160	libtiff will be compiled and used in-place. Implemented with
5161	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
5162
5163	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
5164	TIFFVGetFieldDefaulted() function.
5165
51662003-05-05  Andrey Kiselev  <[email protected]>
5167
5168	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
5169	comments.
5170
5171	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
5172	was not copied from source image.
5173
5174	* libtiff/getimage.c: Workaround for some images without correct
5175	info about alpha channel as per bug
5176
5177	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
5178
51792003-04-29  Andrey Kiselev  <[email protected]>
5180
5181	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
5182	It basically allows one to use the /flateDecode filter for ZIP
5183	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
5184
5185	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
5186
5187	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
5188	as per bug
5189
5190	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
5191
51922003-04-17  Andrey Kiselev  <[email protected]>
5193
5194	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
5195	due to problems with multidirectory images. Quality of error messages
5196	improved.
5197
51982003-04-16  Andrey Kiselev  <[email protected]>
5199
5200	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
5201	encoded images. See bug entries
5202
5203	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
5204
5205	and
5206
5207	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
5208
5209	* libtiff/tif_dirread.c: Additional check for StripByteCounts
5210	correctness. Fixes
5211
5212	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
5213
52142003-03-12  Andrey Kiselev  <[email protected]>
5215
5216	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
5217	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
5218	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
5219	tiffmedian.c}: Added library version reporting facility to all tools.
5220
52212003-03-06  Frank Warmerdam  <[email protected]>
5222
5223	* port/install.sh.in: Fixed problems with install producing paths
5224	like ///usr/local/lib on cygwin.
5225
52262003-02-27  Andrey Kiselev  <[email protected]>
5227
5228	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
5229	raw input page. Patch supplied by Julien Gaulmin. See
5230
5231	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
5232
5233	for details.
5234
52352003-02-26  Frank Warmerdam  <[email protected]>
5236
5237	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
5238	responsible for byte swapping complex image data.
5239
5240	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
5241	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
5242
52432003-02-07  Andrey Kiselev  <[email protected]>
5244
5245	* tools/ppm2tiff.c: Fixed problem with too many arguments.
5246
52472003-02-04  Andrey Kiselev  <[email protected]>
5248
5249	* tools/raw2tiff.c: Memory leak fixed.
5250
52512003-02-03  Andrey Kiselev  <[email protected]>
5252
5253	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
5254	(thanks, Julien!). More switches for fax2tiff tool for better control
5255	of input and output. Details at
5256
5257	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
5258
52592003-02-03  Frank Warmerdam  <[email protected]>
5260
5261	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
5262	library so that we can check if there is already any tile/strip data
5263	before deciding between creating a compressor or a decompressor.
5264
52652003-01-31  Frank Warmerdam  <[email protected]>
5266
5267	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
5268	a pre-existing compressed image.  That is, image writing to
5269	pre-existing compressed images is not allowed.
5270
5271	* libtiff/tif_open.c: Removed error if opening a compressed file
5272	in update mode.
5273
5274	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
5275
52762003-01-31  Andrey Kiselev  <[email protected]>
5277
5278	* config.guess, config.sub: Updated to recent upstream versions.
5279
52802003-01-15  Frank Warmerdam  <[email protected]>
5281
5282	* cut 3.6.0 Beta release.
5283
52842002-12-20  Andrey Kiselev  <[email protected]>
5285
5286	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
5287	in wrong way as per bug
5288
5289	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
5290
52912002-12-17  Frank Warmerdam  <[email protected]>
5292
5293	* libtiff/tif_dirread.c: Allow wrong sized arrays in
5294	TIFFFetchStripThing().
5295
5296	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
5297
52982002-12-02  Frank Warmerdam  <[email protected]>
5299
5300	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
5301	Was using realloc even first time.  Fix by Igor Venevtsev.
5302
53032002-11-30  Frank Warmerdam  <[email protected]>
5304
5305	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
5306	field value.
5307
5308	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
5309	tags in TIFFVGetField() ... added missing break.
5310
53112002-10-14  Frank Warmerdam  <[email protected]>
5312
5313	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
5314	the scanline buffer long enough when writing rgb triplets.
5315	The scanline needs to be 3 X the number of dots or else it will
5316	contain	an incomplete triplet and programs that try to separate
5317	the eps by redefining the colorimage operator will get messed up.
5318	Patch supplied by William Bader.
5319
5320	* Makefile.in: added tif_extension.c to file list as per
5321	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
5322
53232002-10-11  Andrey Kiselev  <[email protected]>
5324
5325	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
5326	large files (>2GiB) supporting. New option in the config.site:
5327	LARGEFILE="yes". Should be enough for I/O of the large files.
5328
53292002-10-10  Frank Warmerdam  <[email protected]>
5330
5331	* libtiff/html/v3.6.0.html: new release notes.
5332
5333	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
5334	link for Andrey.  Pointer to v3.6.0.html.
5335
5336	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
5337
53382002-10-07  Andrey Kiselev  <[email protected]>
5339	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
5340	(thanks, Sebastian!). New switches:
5341	-b # for a bottom margin of # inches
5342	-c   center image
5343	-l # for a left margin of # inches
5344	-r   rotate the image by 180 degrees
5345	New features merged with code for shrinking/overlapping.
5346	Previously added -c and -n switches (for overriding PS units) renamed
5347	in -x and -y respectively.
5348
5349	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
5350
5351	* html/man/*.html: Updated from actual manual pages.
5352
53532002-10-06  Frank Warmerdam  <[email protected]>
5354
5355	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
5356	size on windows.  Use #define boolean hack.
5357
5358	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
5359
5360	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
5361	USING_VISUALAGE is defined.
5362
5363	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
5364
53652002-10-03  Frank Warmerdam  <[email protected]>
5366
5367	* libtiff/tiff.h: added COMPRESSION_JP2000.
5368
53692002-10-02  Andrey Kiselev  <[email protected]>
5370
5371	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
5372	by the TIFFFetchByteArray() function. Should finally resolve
5373
5374	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
5375
5376	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
5377
5378	* html/Makefile.in: New targets added: html and groffhtml for
5379	producing HTML representations of the manual pages automatically.
5380	html target uses man2html tool, groffhtml uses groff tool.
5381
53822002-09-29  Frank Warmerdam  <[email protected]>
5383
5384	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
5385	from John H. DuBois III.
5386
53872002-09-15  Andrey Kiselev  <[email protected]>
5388
5389	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
5390	manual page for raw2tiff(1) tool.
5391
53922002-09-12  Andrey Kiselev  <[email protected]>
5393
5394	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
5395	the tiffio.h header file.
5396
5397	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
5398	manual page for TIFFDataWidth() function
5399
54002002-09-08  Frank Warmerdam  <[email protected]>
5401
5402	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
5403	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
5404
5405	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
5406	since we are unable to properly include the amount to skip.
5407
5408	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
5409
54102002-09-02  Andrey Kiselev  <[email protected]>
5411
5412	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
5413	in TIFFFetchByteArray(). Problem described at
5414	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
5415
54162002-08-22  Andrey Kiselev  <[email protected]>
5417
5418	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
5419	in _TIFFSetupFieldInfo() function.
5420	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
5421
5422	* /libtiff/tif_lzw.c: Additional consistency checking added in
5423	LZWDecode() and LZWDecodeCompat().
5424	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
5425	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
5426
5427	* /libtiff/tif_lzw.c:
5428	Added check for valid code lengths in LZWDecode() and
5429	LZWDecodeCompat(). Fixes
5430	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
5431
54322002-08-16  Andrey Kiselev  <[email protected]>
5433
5434	* /libtiff/{Makefile.vc, libtiff.def}:
5435	Missed declarations added.
5436
54372002-08-15  Frank Warmerdam  <[email protected]>
5438
5439	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
5440	return code from the underlying pick function.
5441
5442	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
5443
5444	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
5445	with FIELD_CUSTOM as mentioned in bug 169.
5446
5447	* tif_close.c: added logic to free dynamically created anonymous
5448	field definitions to correct a small memory leak.
5449
5450	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
5451
54522002-08-10  Andrey Kiselev  <[email protected]>
5453
5454	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
5455	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
5456
54572002-07-31  Frank Warmerdam  <[email protected]>
5458
5459	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
5460	JPEGDecode() as per bugzilla bug (issue 1):
5461
5462	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
5463
5464	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
5465	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
5466	present in the tiff tags.
5467
5468	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
5469
5470	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
5471	TIFFWriteScanline() now set tif_row explicitly in case the codec has
5472	fooled with the value.
5473
5474	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
5475
54762002-06-22  Andrey Kiselev  <[email protected]>
5477
5478	* /tools/tiff2ps.c: Added workaround for some software that may crash
5479	when last strip of image contains fewer number of scanlines than
5480	specified by the `/Height' variable. See
5481	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
5482	for explanation.
5483
54842002-06-21  Andrey Kiselev  <[email protected]>
5485
5486	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
5487	splitting long images in several pages. See
5488	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
5489	Patch granted by John Williams <[email protected]>.
5490
54912002-06-11  Frank Warmerdam  <[email protected]>
5492
5493	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
5494	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
5495	This one is described in:
5496
5497	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
5498
5499	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
5500
5501	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
5502
55032002-05-10  Andrey Kiselev  <[email protected]>
5504
5505	* tools/tiff2ps: New commandline switches to override resolution
5506	units obtained from the input file. Closes
5507	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
5508
55092002-04-26  Andrey Kiselev  <[email protected]>
5510
5511	* libtiff/libtiff.def: Added missed declaration.
5512
55132002-04-22  Andrey Kiselev  <[email protected]>
5514
5515	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
5516	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
5517
55182002-04-20  Andrey Kiselev  <[email protected]>
5519
5520	* libtiff/tif_open.c: Pointers to custom procedures
5521	in TIFFClientOpen() are checked to be not NULL-pointers.
5522
55232002-04-18  Andrey Kiselev  <[email protected]>
5524
5525	* libtiff/libtiff.def: Added missed declarations.
5526
5527	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
5528
55292002-04-16  Andrey Kiselev  <[email protected]>
5530
5531	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
5532	Should finally close
5533	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
5534
55352002-04-10  Andrey Kiselev  <[email protected]>
5536
5537	* tools/tiff2ps: Division by zero fixed.
5538	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
5539
55402002-04-09  Andrey Kiselev  <[email protected]>
5541
5542	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
5543	TIFFCheckpointDirectory() routine added.
5544	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
5545
5546	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
5547	for the new function.
5548
55492002-04-08  Andrey Kiselev  <[email protected]>
5550
5551	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
5552	additional members tif->tif_decodestatus and tif->tif_encodestatus
5553	for correct handling of unconfigured codecs (we should not try to read
5554	data or to define data size without correct codecs).
5555
5556	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
5557	changed. Now it has used tif->tif_decodestatus and
5558	tif->tif_encodestatus.
5559	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
5560	case of __cvs_8.tif test image).
5561
5562	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
5563	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
5564	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
5565	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
5566
55672002-04-04  Andrey Kiselev  <[email protected]>
5568
5569	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
5570	replaced by warnings. Now libtiff should read corrupted LZW-compressed
5571	files by skipping bad strips.
5572	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
5573
55742002-04-03  Frank Warmerdam  <[email protected]>
5575
5576	* libtiff/tif_dirwrite.c: Removed some dead code.
5577
5578	* libtiff/*: Cleanup some warnings.
5579
5580	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
5581	for variable length FIELD_CUSTOM values.  Was int * but should be
5582	u_short *.
5583
55842002-04-01  Andrey Kiselev  <[email protected]>
5585
5586	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
5587	utility (at cpStripToTile routine).
5588
55892002-03-27  Frank Warmerdam  <[email protected]>
5590
5591	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
5592
5593	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
5594
5595	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
5596	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
5597
5598	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
5599	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
5600
56012002-03-26  Dwight Kelly  <[email protected]>
5602
5603	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
5604	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
5605	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
5606	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
5607	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
5608	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
5609
56102002-03-26  Andrey Kiselev  <[email protected]>
5611
5612	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
5613	now also uses TIFFRGBAImageOK before reading. This is additional fix
5614	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
5615
56162002-03-25  Andrey Kiselev  <[email protected]>
5617
5618	* libtiff/: tif_getimage.c: Additional check for supported
5619	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
5620	TIFFRGBAImageOK before reading.
5621	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
5622
56232002-03-15  Andrey Kiselev  <[email protected]>
5624
5625	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
5626	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
5627	TIFFDataType sizes instead of working with tiffDataWidth array
5628	directly. Should prevent out-of-borders bugs in case of unknown or
5629	broken data types.  EstimateStripByteCounts routine modified, so it
5630	won't work when tags with uknown sizes founded.
5631	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
5632
56332002-03-13  Andrey Kiselev  <[email protected]>
5634
5635	* libtiff/tif_getimage.c: Added support for correct handling
5636	`Orientation' tag in gtTileContig. Should be added in other gt*
5637	functions as well, but I have not images for testing yet. Partially
5638	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
5639
56402002-03-10  Andrey Kiselev  <[email protected]>
5641
5642	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
5643	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
5644	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
5645	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
5646
56472002-03-08  Andrey Kiselev  <[email protected]>
5648
5649	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
5650	be stripped when installing, utility binaries will do.	Closes
5651	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
5652
56532002-02-28  Frank Warmerdam  <[email protected]>
5654
5655	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
5656
5657	* man/libtiff.3t: added copyright tag info.
5658
56592002-02-11  Frank Warmerdam  <[email protected]>
5660
5661	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
5662
5663	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
5664
5665	* man/Makefile.in: Patch DESTDIR handling
5666
5667	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
5668
5669	* configure: OpenBSD changes for Sparc64 and DSO version.
5670
5671	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
5672
56732002-02-05  Frank Warmerdam  <[email protected]>
5674
5675	* config.site/configure: added support for OJPEG=yes option to enable
5676	OJPEG support from config.site.
5677
56782002-01-27  Frank Warmerdam  <[email protected]>
5679
5680	* html/document.html: fixed links for TIFf 6 docs.
5681
56822002-01-18  Frank Warmerdam  <[email protected]>
5683
5684	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
5685
5686	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
5687	decodestrip function returns anything not greater than zero as per
5688	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
5689
5690	* configure: Modify CheckForBigEndian so it can work in a cross
5691	compiled situation.
5692
56932002-01-16  Frank Warmerdam  <[email protected]>
5694
5695	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
5696
5697	* tools/tiffset.c: fix bug in error reporting.
5698
5699	* tools/tiffcp.c: fix several warnings that show up with -Wall.
5700
57012002-01-04  Frank Warmerdam  <[email protected]>
5702
5703	* libtiff/tif_jpeg.c: fixed computation of segment_width for
5704	tiles files to avoid error about it not matching the
5705	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
5706	size.") for ITIFF files.  Apparently the problem was incorporated since
5707	3.5.5, presumably during the OJPEG/JPEG work recently.
5708
57092001-12-15  Frank Warmerdam  <[email protected]>
5710
5711	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
5712
5713	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
5714
5715	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
5716	(defined in tiffconf.h - 1 by default) then the RGBA interface
5717	will assume that a fourth extra sample is ASSOCALPHA if the
5718	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
5719	the library, but makes it work better with RGBA files produced by
5720	lots of applications that don't mark the alpha values properly.
5721
5722	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
5723	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
5724
57252001-12-12  Frank Warmerdam  <[email protected]>
5726
5727	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
5728	override those from tiff directory.  This makes this work with
5729	ImageGear generated files.
5730
57312001-12-07  Frank Warmerdam  <[email protected]>
5732
5733	* html/Makefile.in: added missing images per bug 92.
5734
5735	* port/Makefile.in: fixed clean target per bug 92.
5736
57372001-11-28  Frank Warmerdam  <[email protected]>
5738
5739	* Reissue 3.5.7 release.
5740
5741	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
5742	YYYYMMDD so that it is increasing over time.
5743
5744	* Makefile.in: Ensure that tiffvers.h is regenerated in the
5745	make release target.
5746
5747	* Makefile.in: added libtiff/tiffvers.h to the release file list.
5748
57492001-11-23  Frank Warmerdam  <[email protected]>
5750
5751	* added html/v3.5.7.html, updated html/index.html.
5752
5753	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
5754
57552001-11-15  Frank Warmerdam  <[email protected]>
5756
5757	* configure: fixed test for -lm.
5758
57592001-11-02  Frank Warmerdam  <[email protected]>
5760
5761	* Added PHOTOMETRIC_ITULAB as per bug 90.
5762
5763	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
5764
57652001-10-10  Frank Warmerdam  <[email protected]>
5766
5767	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
5768	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
5769	in keeping with TIFF 6.0 standard in tiff.h
5770
5771	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
5772
57732001-09-26  Frank Warmerdam  <[email protected]>
5774
5775	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
5776	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
5777
57782001-09-24  Frank Warmerdam  <[email protected]>
5779
5780	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
5781
5782	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
5783
5784	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
5785	error about LZW not being available.
5786
5787	* libtiff/tif_dir.c: propagate failure to initialize compression
5788	back from TIFFSetField() as an error status, so applications can
5789	detect failure.
5790
5791	* libtiff/tif_dir.c: removed the auto replacement of
5792	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
5793
5794	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
5795	from CVS as they are all supposed to be auto-generated by configure.
5796
57972001-09-22  Frank Warmerdam  <[email protected]>
5798
5799	* libtiff/tif_ojpeg.c: new update from Scott.
5800
58012001-09-09  Frank Warmerdam  <[email protected]>
5802
5803	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
5804	always use the "safe" version, even if there is a very slight
5805	cost in performance.
5806
5807	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
5808
5809	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
5810	in two places.
5811
5812	* libtiff/tif_getimage.c: Fixed problem with reading strips or
5813	tiles that don't start on a tile boundary.  Fix contributed by
5814	Josep Vallverdu (from HP), and further described in bug 47.
5815
5816	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
5817
5818	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
5819
5820	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
5821
58222001-09-06  Frank Warmerdam  <[email protected]>
5823
5824	* libtiff/tif_packbits.c: fixed memory overrun error.
5825
5826	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
5827
58282001-08-31  Frank Warmerdam  <[email protected]>
5829
5830	* libtiff/tif_getimage.c: relax handling of contig case where
5831	there are extra samples that are supposed to be ignored.  This
5832	should now work for 8bit greyscale or palletted images.
5833
5834	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
5835
58362001-08-28  Frank Warmerdam  <[email protected]>
5837
5838	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
5839	images with more than four samples per pixel.  See:
5840
5841	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
5842
58432001-08-10  Frank Warmerdam  <[email protected]>
5844
5845	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
5846	in TIFFReadRGBATile() to avoid issues in cases of overlapping
5847	buffers.  See Bug 69 in Bugzilla.
5848
5849	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
5850
5851	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
5852
58532001-08-09  Frank Warmerdam  <[email protected]>
5854
5855	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
5856	when checking for 64 bit architectures as per bugzilla bug 67.
5857
58582001-07-27  Frank Warmerdam  <[email protected]>
5859
5860	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
5861	bug 66.
5862
58632001-07-20  Frank Warmerdam  <[email protected]>
5864
5865	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
5866	has been included.
5867
58682001-07-19  Frank Warmerdam  <[email protected]>
5869
5870	* libtiff/tif_open.c: Seek back to zero after failed read,
5871	before writing header.
5872
58732001-07-18  Frank Warmerdam  <[email protected]>
5874
5875	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
5876	much better.  Now depends on having patched libjpeg as per
5877	patch in contrib/ojpeg/*.
5878
58792001-07-17  Frank Warmerdam  <[email protected]>
5880
5881	* */Makefile.in: added DESTDIR support.
5882
5883	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
5884
58852001-07-16  Frank Warmerdam  <[email protected]>
5886
5887	* configure, libtiff/Makefile.in: applied OpenBSD patches
5888	as per:
5889
5890	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
5891
58922001-06-28  Frank Warmerdam  <[email protected]>
5893
5894	* libtiff/tif_getimage.c: Fixed so that failure is properly
5895	reported by gtTileContig, gtStripContig, gtTileSeparate and
5896	gtStripSeparate.
5897
5898	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
5899
5900	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
5901	Updated bug section of tiffcmp.1 to note tiled file issues.
5902
5903	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
5904
59052001-06-22  Frank Warmerdam  <[email protected]>
5906
5907	* configure: Changes for DSO generation on AIX provided by
5908	John Marquart <[email protected]>.
5909
5910	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
5911	on Darwin thanks to Robert Krajewski ([email protected]) and
5912	Keisuke Fujii ([email protected]).
5913
59142001-06-13  Frank Warmerdam  <[email protected]>
5915
5916	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
5917
5918	* man/tiff2rgba.1: new
5919
59202001-05-22  Frank Warmerdam  <[email protected]>
5921
5922	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
5923
59242001-05-13  Frank Warmerdam  <[email protected]>
5925
5926	* libtiff/tools/thumbnail.c: changed default output compression
5927	to packbits from LZW since LZW isn't generally available.
5928
59292001-05-12  Frank Warmerdam  <[email protected]>
5930
5931	* libtiff/tif_ojpeg.c: New.
5932	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
5933	to OJPEG support.
5934
5935	Scott Marovich <[email protected]> supplied OJPEG support.
5936
59372001-05-11  Frank Warmerdam  <[email protected]>
5938
5939	* tiff.h: removed, it duplicates libtiff/tiff.h.
5940
59412001-05-08  Frank Warmerdam  <[email protected]>
5942
5943	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
5944	ensure everything is in order.
5945
5946	* libtiff/libtiff.def: added TIFFCreateDirectory and
5947	TIFFDefaultStripSize as per:
5948
5949	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
5950
59512001-05-02  Frank Warmerdam  <[email protected]>
5952
5953	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
5954	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
5955	force use of uint32 counts instead of short counts.
5956
5957	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
5958	case of writing TIFF_BYTE/TIFF_SBYTE fields.
5959
5960	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
5961
59622001-05-01  Frank Warmerdam  <[email protected]>
5963
5964	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
5965	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
5966
59672001-04-05  Frank Warmerdam  <[email protected]>
5968
5969	* tiffio.h: removed C++ style comment.
5970
5971	* configure: fixed up SCRIPT_SH/SHELL handling.
5972
5973	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
5974
5975	* config.guess: documented more variables as per bug 40.
5976
59772001-04-03  Frank Warmerdam  <[email protected]>
5978
5979	* configure, *Makefile.in: Various changes to improve configuration
5980	for HP/UX specifically, and also in general.  They include:
5981	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
5982	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
5983	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
5984	 - Use -${MAKEFLAGS} in sub makes from makefiles.
5985
5986	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
5987
59882001-04-02  Frank Warmerdam  <[email protected]>
5989
5990	* libtiff/tiff.h: Applied hac to try and resolve the problem
5991	with the inttypes.h include file on AIX.
5992
5993	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
5994
5995	* VERSION: update to 3.5.7 beta in preparation for release.
5996
5997	* configure/config.site: modified to check if -lm is needed for
5998	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
5999
6000	* config.guess: updated wholesale to an FSF version apparently
6001	from 1998 (as opposed to 1994).  This is mainly inspired by
6002	providing for MacOS X support.
6003
60042001-03-29  Frank Warmerdam  <[email protected]>
6005
6006	* configure, Makefile.in, etc: added support for OPTIMIZER being
6007	set from config.site.
6008
60092001-03-28  Frank Warmerdam  <[email protected]>
6010
6011	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
6012
6013	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
6014	sizes. It fixes two problems:
6015
6016	Without	scaling (-S) the fax is now centered on the page size specified
6017	with -H	and/or -W. Before, fax2ps was using an obscure and practially
6018	useless algorithm to allocate the image relative to Letter sized paper
6019	which sometime sled to useless whitespace on the paper, while at the
6020	same time cutting of the faxes printable area at the opposite border.
6021
6022	Second, scaling now preserves aspect ratio, which makes unusual faxes
6023	(in particular short ones) print properly.
6024
6025	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
6026
6027	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
6028	Bruce A. Mallett.  See check message for detailed information
6029	on all the changes, including a faster encoder, fixes for level
6030	2 PostScript, and support for the imagemask operator.
6031
60322001-03-27  Frank Warmerdam  <[email protected]>
6033
6034	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
6035	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
6036
6037	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
6038
60392001-03-16  Frank Warmerdam  <[email protected]>
6040
6041	* tif_dirinfo.c: moved definition of copyright tag in field list.
6042	Apparently they have to be in sorted order by tag id.
6043
60442001-03-13  Frank Warmerdam  <[email protected]>
6045
6046	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
6047	images in RGBA interface.
6048
60492001-03-02  Frank Warmerdam  <[email protected]>
6050
6051	* Added TIFFTAG_COPYRIGHT support.
6052
60532001-02-19  Frank Warmerdam  <[email protected]>
6054
6055	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
6056	with support for extracting subimages with the ,n syntax, and also
6057	adding the -b bias removal flag.
6058
60592001-02-16  Frank Warmerdam  <[email protected]>
6060
6061	* libtiff/libtiff.def: Brent Roman submitted new version adding
6062	serveral missing entry points.
6063
6064	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
6065	Some sort of weird VMS thing.
6066
6067	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
6068
6069	* tif_luv.c/tiff.h/tiffio.h:
6070	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
6071	([email protected]).  He writes:
6072
6073	1) I improved the gamut-mapping function in tif_luv.c for imaginary
6074	colors, because some images were being super-saturated on the input
6075	side and this resulted in some strange color shifts in the output.
6076
6077	2) I added a psuedotag in tiff.h to control random dithering during
6078	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
6079	on for 24-bit LogLuv output.  Dithering improves the average color
6080	accuracy over the image.
6081
6082	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
6083	tiffio.h, to expose internal routines for converting between LogLuv and
6084	XYZ coordinates.  This is helpful for writing more efficient,
6085	specialized conversion routines, especially for reading LogLuv files.
6086
6087	Changes applied with minor edits.
6088
60892001-01-23  Frank Warmerdam  <[email protected]>
6090
6091	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
6092	whether we are encoding or decoding.  This is to ensure graceful
6093	recovery if TIFFClientOpen() discovers an attempt to open a compressed
6094	file for "r+" access, and subsequently close it, as it resets the
6095	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
6096	compressor's concept of whether it is in encode or decode mode.
6097
60982001-01-08  Mike Welles <[email protected]>
6099
6100	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
6101
61022001-01-07  Frank Warmerdam  <[email protected]>
6103
6104	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
6105	as per bug report by Patrick Connor.
6106
61072000-12-28  Frank Warmerdam  <[email protected]>
6108
6109	* Added RELEASE-DATE file to release file list.
6110
6111	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
6112
61132000-12-22  Mike Welles <[email protected]>
6114        * added link to CVS mirror from index.html
6115
6116	* updated html/internals.html to note that LZW compression is
6117	  not supported by default.
6118
61192000-12-22  Frank Warmerdam  <[email protected]>
6120
6121	* updated html/libtiff.html to not point at Niles' old JPL web site
6122	for the man pages, point at www.libtiff.org.
6123
61242000-12-21  Frank Warmerdam  <[email protected]>
6125
6126	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
6127	Leonard Rosenthol <[email protected]>.  May interfere
6128	with correct building on older systems.  If so, please let me know.
6129
61302000-12-19 Mike Welles <[email protected]>
6131
6132	* Took out LZW Encoding from tif_lzw.c
6133
6134	* Created HOWTO-RELEASE
6135
6136	* Created html/v3.5.6.html
6137
6138	* updated index.html
6139
61402000-12-01  Frank Warmerdam  <[email protected]>
6141
6142	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
6143	Patches supplied by Frank Cringle <[email protected]>
6144	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
6145
61462000-11-24  Frank Warmerdam  <[email protected]>
6147
6148	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
6149	target so that the private headers required by libgeotiff can be
6150	installed with the others.  They are not installed by default.
6151
6152	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
6153	targets so libtiff.so will be built with an explicit dependency
6154	on libm.so.
6155
6156	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
6157	libtiff.so.3.5.5.
6158
6159	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
6160	file, or ALPHA version logic.  Added stuff about DIST_POINT in
6161	place of DIST_TYPE and the alpha release number stuff.
6162
61632000-11-22  Frank Warmerdam  <[email protected]>
6164
6165	* I have applied a patch from Steffen Moeller <[email protected]> to
6166	the configure script so that it now accepts the --prefix, and
6167	--exec-prefix directives.
6168
61692000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
6170
6171	* I have made a variety of modifications in an effort to ensure the
6172	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
6173	file which seems to be updated regularly.
6174
6175	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
6176	   version include file.
6177	 o renamed version.h to tiffvers.h because we now have to install it
6178	   with the public libtiff include files.
6179	 o include tiffvers.h in tiffio.h.
6180	 o updated tif_version.c to use tiffvers.h.
6181	 o Updated Makefile.in accordingly.
6182
6183	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
6184	I have updated the win32 detection rules in tiffcomp.h.
6185
61862000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
6187
6188	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
6189	the strip/tile width and height aren't multiples of the sampling size.
6190	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
6191	Some patches from Rick LaMont of Dot C Software.
6192
6193	* Modified tif_packbits.c encoder to avoid compressing more
6194	data than provided if rowsize doesn't factor into provided data
6195	(such as occurs for YCbCr).
6196
61972000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
6198
6199	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
6200	roundup if rows_per_strip not a multiple of vertical sample size.
6201
62022000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
6203
6204	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
6205	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
6206	from [email protected].
6207
6208	* Modified tif_packbits.c decoding to avoid overrunning the
6209	output buffer, and to issue a warning if data needs to be
6210	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
6211
62122000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
6213
6214	* Modified tiff2bw to ensure portions add to 100%, and that
6215	white is properly recovered.
6216
6217	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
6218	Patch c/o Stanislav Brabec <[email protected]>
6219
62202000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
6221
6222	* Modified TIFFClientOpen() to emit an error on an attempt to
6223	open a comperessed file for update (O_RDWR/r+) access.  This is
6224	because the compressor/decompressor code gets very confused when
6225	the mode is O_RDWR, assuming this means writing only.  See
6226	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
6227
62282000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
6229
6230	* Added GNULDdso target an`d switched linux and freebsd to use it.
6231
62322000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
6233
6234	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
6235	of EXPAND1D() as per bug 11 (from Roman).
6236
62372000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
6238	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
6239	cygwin compatibility.
6240
6241	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
6242	be a proper fix to the buffer sizing problem.  See
6243	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
6244
6245	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
6246	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
6247	Thanks to Nick Lamb <[email protected]> for reporting the
6248	bug and proving the patch.
6249
62502000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
6251
6252	* Fixed tif_jpeg.c so avoid destroying the decompressor before
6253	we are done access data thanks to bug report from:
6254	Michael Eckstein <[email protected]>.
6255
6256	* Reverted tif_flush change.
6257
62582000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
6259
6260	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
6261	error when TIFF_BEENWRITING is not set.  This ensures that the
6262	directory contents can still be flushed by TIFFFlush().
6263
62642000-08-14  Frank Warmerdam  <[email protected]>
6265
6266	* tif_open.c: Don't set MMAP for O_RDWR files.
6267
6268	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
6269	so that files opened for update can be strip chopped too.
6270
6271	* tif_read.c: fixed up bug with files missing rowsperstrip and
6272	the strips per separation fix done a few weeks ago.
6273
62742000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
6275
6276	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
6277	SAMPLEFORMAT_COMPLEXINT.
6278
62792000-07-13  Mike Welles <[email protected]>
6280
6281	* index.html, bugs.html: added bugzilla info.
6282
62832000-07-12  Frank Warmerdam  <[email protected]>
6284
6285	* tif_read.c: fix subtle bug with determining the number of
6286	rows for strips that are the last strip in a separation but
6287	not the last strip of all in TIFFReadEncodedStrip().
6288
6289	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
6290	Peter Skarpetis <[email protected]>
6291
62922000-06-15  Frank Warmerdam  <[email protected]>
6293
6294	* Modified tiffio.h logic with regard to including windows.h.  It
6295	won't include it when building with __CYGWIN__.
6296
62972000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
6298
6299	* README: update to mention www.libtiff.org, don't list Sam's old
6300	email address.
6301
6302	* configure: Fixed DSO test for Linux as per patch from
6303	  Jan Van Buggenhout <[email protected]>.
6304
63052000-04-21  Frank Warmerdam  <[email protected]>
6306
6307	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
6308	one tile/strip images with an offset, and byte count of zero. These
6309	could be "unpopulated" images.
6310
63112000-04-18  Frank Warmerdam  <[email protected]>
6312
6313	* contrib/addtiffo: Added "averaging" resampling option.
6314
6315	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
6316
6317Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
6318
6319	* tools/Makefile.in: Modified to install properly on SGI.
6320
63212000-04-12  Mike Welles	     <[email protected]>
6322	* configure:  Fixed stupid mistake in libc6 test on Linux
6323
63242000-04-04  Mike Welles	     <[email protected]>
6325	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
6326	  caught by BoundsChecker.  From Arvan Pritchard
6327	  <[email protected]>  (untested).
6328
6329	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
6330	  Arvan Pritchard <[email protected]>
6331
6332	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
6333	  Arvan Pritchard <[email protected]>
6334
63352000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
6336
6337	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
6338
63392000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
6340
6341	* fax2ps: Fixed mixup of width and height in bounding box statement
6342	as per submission by Nalin Dahyabhai <[email protected]>.
6343
63442000-03-27  Mike Welles	     <[email protected]>
6345
6346	* fax2ps:  Modified printruns to take uint32 instead of uint16.
6347	Patch courtesy of Bernt Herd <[email protected]>
6348
63492000-03-20  Mike Welles	     <[email protected]>
6350
6351	* configure: added test for libc6 for linux targets.  Bug reported by
6352        Stanislav Brabec <[email protected]>
6353
6354	* Added 3.5 docs to html/Makefile.in.
6355	Thanks to  Stanislav Brabec <[email protected]>
6356
6357	* configure: fixed bugs in sed scripts
6358	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
6359	fix submitted to Stanislav Brabec <[email protected]>
6360
6361	* tools/iptcutil was not in files list, and wasn't being
6362	added to tar archive.  Updated Makefile.in.
6363
63642000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
6365
6366	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
6367	conversion for the run arrays.
6368
63692000-03-03  Frank Warmerdam  <[email protected]>
6370
6371	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
6372	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
6373
63742000-03-02  Frank Warmerdam  <[email protected]>
6375
6376	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
6377
6378	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
6379	to avoid overruns encountered with frle_bug.tif.
6380
6381Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
6382
6383	* Fixed tools/tiffcmp so that stopondiff testing works.
6384	  Patch care of Joseph Orost <[email protected]>.
6385
63862000-01-28    <warmerda@CS46980-B>
6387
6388	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
6389	  set to 1, and added default (off) setting in tiffconf.h.  This
6390	  should eventually be set by the configure script somehow.
6391
6392	  The original work on all these 2-4GB changes was done by
6393	  Peter Smith ([email protected]).
6394
6395	* Modified tif_win32.c to support 2-4GB seeks.
6396
6397	* tentatively changed toff_t to be unsigned instead of signed to
6398	  facilitate support for 2-4GB files.
6399
6400	* Updated a variety of files to use toff_t.  Fixed some mixups
6401	  between toff_t and tsize_t.
6402
6403Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
6404
6405	* Largely reimplemented contrib/addtiffo to avoid temp files,
6406	updating the TIFF file in place.  Fixed a few other bugs to.
6407
6408	* Set tif_rawdatasize to zero when freeing raw data buffer in
6409	TIFFWriteDirectory().
6410
6411	* Enabled "REWRITE_HACK" in tif_write.c by default.
6412
6413	* Fix bug in tif_write.c when switching between reading one directory
6414	and writing to another.
6415
6416	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
6417
6418Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
6419
6420	* Added TIFFmemory(3t) functions to libtiff.def.
6421
6422Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
6423
6424	* Added libtiff/libtiff.def to TIFFILES distribution list.
6425
6426Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
6427
6428	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
6429
6430	* Altered descriptions in tools to reflect "by default" lzw not supported
6431
6432	* Updated index.html to note lzw compression kit.
6433
6434Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
6435
6436	* Added fax3sm_winnt.c to distribution list in Makefile.in.
6437
6438Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
6439
6440	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
6441
6442	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
6443	  when LZW compression invoked.
6444
6445	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
6446	  in tools to reflect removal of LZW compression
6447
6448Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
6449
6450        * Fixed bug that caused LZW (non) compression to segfault. Added
6451	  warning about LZW compression removed being removed, and why.
6452
6453	* Added nostrip to install in tools/Makefile.in so that debugging
6454	  symbols are kept.
6455
6456Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
6457
6458	* Added patch from Ivo Penzar <[email protected]>,
6459	  supporting Adobe ZIP deflate.  Untested.
6460
6461Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
6462
6463	* Made Packbits the default compression in tools/tiff2rgba.c instead
6464	of LZW.
6465
6466Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
6467
6468	* Added tif_luv to contrib/djgpp/Makefile.lib.
6469
6470Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
6471
6472        * Added zip creation to relase makefile target
6473
6474	* Added html for TIFFWriteTile.3t man page.
6475
6476Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
6477
6478	* Added some changes to tif_write.c to support rewriting existing
6479	fixed sized tiles and strips.  Code mods disabled by default, only
6480	enabled if REWRITE_HACK is defined for now.
6481
6482Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
6483
6484	* Added TIFFWriteTile.3t man page.
6485
6486Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
6487
6488	* Added notes on use of makefile.vc in build.html, and fixed
6489	email subscription address.
6490
6491199-11-28  Mike Welles <[email protected]>
6492
6493	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
6494
6495	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
6496	   from Bruce Carmeron <[email protected]> -- modifications of
6497	   changes made by Frank (sun cc still complained on cast).
6498
6499	*  Added tiffconf.h to install target per request from Bill
6500	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
6501 	   know features have been compiled into the TIFF library in order to
6502	   handle things properly".
6503
6504Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
6505
6506	* fixed various VC++ warnings as suggested by Gilles Vollant
6507	<[email protected]>.
6508
6509Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
6510
6511	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
6512	not imply applications are responsible for image data swapping.
6513
65141999-11-22  Mike Welles <[email protected]>
6515	*  HTML-ized the man pages, added to html/man
6516
6517	*  Removed LZW Compression to comply with Unisys patent extortion.
6518
65191999-09-29  Mike Welles		<[email protected]>
6520	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
6521	   From Ivo Penzar <[email protected].
6522
6523	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
6524	   memory mapped files. <[email protected]>
6525
65261999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
6527	* Corrected alpha versioning.
6528
6529	* Removed distinction between  alpha and release targets in Makefile.in.
6530
6531	* added release.stamp target, which tags cvs tree, and updates
6532	  "RELEASE-DATE"
6533
6534	* added releasediff target, which diffs tree with source as of
6535	  date in "RELEASE-DATE"
6536
6537	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
6538	  away from alpha/non-alpha distinctions).
6539
6540	* updated html to reflect release
6541
65421999-09-23    <warmerda@CS46980-B>
6543
6544	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
6545
6546	* Added CYGWIN case in configure.
6547
6548Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
6549
6550	* Applied Francois Dagand's patch to handle fax decompression bug.
6551	  (sizes >= 65536 were failing)
6552
6553Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
6554
6555	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
6556	  by Christopher Lawton <[email protected]>
6557
6558Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
6559
6560	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
6561	  Albert Chin-A-Young <[email protected]>
6562
6563	* Added TIFFReassignTagToIgnore() API on behalf of
6564	  Bruce Cameron <[email protected]>.  Man page still pending.
6565
6566Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
6567
6568	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
6569	files to provide for a rudimentary testsuite.
6570
6571	* Added contrib/tags back from old distribution ... fixed up a bit.
6572
65731999-08-16    <warmerda@CS46980-B>
6574
6575	* Added simple makefile.vc makefiles for building with MS VC++
6576	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
6577	better solutions for some users.
6578
6579Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
6580
6581	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
6582	put it in tools since part of it is in C++.
6583
65841999-08-16  Michael L. Welles  <[email protected]>
6585
6586	* Updated html/index.html with anon CVS instructions.
6587
6588Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
6589
6590	* pre-remove so link before softlink in LINUXdso action in
6591	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
6592	the first.
6593
6594	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
6595	colormaps owned by the TIFF handle itself when trying to fixup wrong
6596	(eight bit) colormaps.  Corrected by maintaining a private copy of
6597	the colormap.
6598
6599	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
6600	tif_getimage.c.
6601
6602	* CVS Repository placed at remotesensing.org.  ChangeLog added.
6603