xref: /libtiff-4.0.7/ChangeLog (revision feb6bd9f)
12013-03-05  Tom Lane  <[email protected]>
2
3	* html/man/tiff2ps.1.html, html/man/tiffcp.1.html,
4 	html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1,
5 	man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c,
6 	tools/tiffdither.c: Sync tool usage printouts and man pages with
7 	reality (quite a few options had escaped being documented in one
8 	or both places).  Per an old report from Miroslav Vadkerti.
9
102013-01-25  Bob Friesenhahn  <[email protected]>
11
12	* tools/tiff2ps.c:Fix bug in auto rotate option code. Once a
13	rotation angle was set by the auto rotate check, it was retained
14	for all pages that followed instead of being retested for each
15	page.  Patch by Richard Nolde.
16
172013-01-18  Frank Warmerdam  <[email protected]>
18
19	* libtiff/tif_write.c: tmsize_t related casting warning fixed for
20	64bit linux.
21
22	* libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings.
23	http://bugzilla.maptools.org/show_bug.cgi?id=2427
24
252012-12-20  Tom Lane  <[email protected]>
26
27	* test/raw_decode.c: Relax raw_decode's pixel-value checks so that
28	it will pass with more versions of libjpeg.  (There are at least
29	three in active use now, and JPEG_LIB_VERSION doesn't tell us
30	enough to uniquely identify expected results.)
31
322012-12-12  Tom Lane  <[email protected]>
33
34	* libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of
35	field_passcount fields: it had the TIFF_VARIABLE and
36	TIFF_VARIABLE2 cases backwards.
37
382012-12-10  Tom Lane  <[email protected]>
39
40	* tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564:
41 	check the linebytes calculation too, get the max() calculation
42 	straight, avoid redundant error messages, check for malloc
43 	failure.
44
452012-12-10  Tom Lane  <[email protected]>
46
47	* libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447
48 	(to enlarge tbuf for possible partial stride at end) so that
49 	overflow in the integer addition is detected.  Per gripe from
50 	Huzaifa Sidhpurwala.
51
522012-12-03  Bob Friesenhahn  <[email protected]>
53
54	* tools/tiffset.c: tiffset now supports a -u option to unset a
55	tag.  Patch by Zach Baker. See
56	http://bugzilla.maptools.org/show_bug.cgi?id=2419
57
582012-11-18  Bob Friesenhahn  <[email protected]>
59
60	* automake: Update Automake to 1.12.5 release.
61
62	* libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not
63	require malloc() to return NULL pointer if requested allocation
64	size is zero.  Assure that _TIFFmalloc does.
65
662012-11-01  Frank Warmerdam  <[email protected]>
67
68	* tools/ppm2tiff.c: avoid zero size buffer vulnerability.
69	CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the
70	Red Hat Security Response team for the fix.
71
722012-10-18  Frank Warmerdam  <[email protected]>
73
74	* tif_zip.c: Avoid crash on NULL error messages.
75
762012-09-22  Bob Friesenhahn  <[email protected]>
77
78	* libtiff 4.0.3 released.
79
802012-09-20  Bob Friesenhahn  <[email protected]>
81
82	* Makefile.am: Update to Automake 1.12.4
83
842012-08-19  Bob Friesenhahn  <[email protected]>
85
86	* Makefile.in: Update to Automake 1.12.3
87
88	* libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add
89	some TIFF/FX support in libtiff.  Add the tag definitions to
90	tiff.h.  Add the related TIFF field definitions to tif_dirinfo.c,
91	and also fixes an error in a comment.  Adds the photometric values
92	to tif_print.c, and fixes a bug.  These changes are by Steve
93	Underwood.
94
952012-08-13  Frank Warmerdam  <[email protected]>
96
97	* libtiff/tif_write.c: Fix bug rewriting image tiles in a
98	compressed file: http://trac.osgeo.org/gdal/ticket/4771
99
1002012-08-02  Frank Warmerdam  <[email protected]>
101
102	* libtiff/tif_dirread.c: report error in case of mismatch value
103	counts for tags (ie. DotRange).
104
1052012-07-26  Tom Lane  <[email protected]>
106
107	* libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new
108 	functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(),
109	TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount()
110	as external accessors for the opaque type TIFFField.
111
112	* tools/tiffset.c: Make tiffset use the above functions instead of
113	relying on library private headers.
114
1152012-07-19  Tom Lane  <[email protected]>
116
117	* tools/tiff2pdf.c: Fix two places where t2p_error didn't get set
118	after a malloc failure.  No crash risk AFAICS, but the program
119	might not report exit code 1 as desired.  h/t [email protected]
120
1212012-07-18  Tom Lane  <[email protected]>
122
123	* tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails.  This
124	prevents core dumps or perhaps even arbitrary code execution when
125	processing a corrupt input file (CVE-2012-3401).
126
1272012-07-06  Bob Friesenhahn  <[email protected]>
128
129	* test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+.
130	IJG JPEG 7+ uses a different upsampling algorithm which produces
131	different numeric results.
132
133	* libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to
134	work with IJG JPEG 7+.
135
1362012-07-04  Bob Friesenhahn  <[email protected]>
137
138	* test/raw_decode.c: Add changes so that test can run with build
139	directory outside of source directory.
140
1412012-07-02  Frank Warmerdam  <[email protected]>
142
143	* libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed
144	imagery (http://trac.osgeo.org/gdal/ticket/4732)
145
1462012-06-20  Frank Warmerdam  <[email protected]>
147
148	* libtiff/tif_fax3.c: fix memory initialization of runs, only
149	partly done.
150
151	* libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one
152	full "stride" past the end.
153
1542012-06-19  Frank Warmerdam  <[email protected]>
155
156	* libtiff/tif_packbits.c: fix read past end of data buffer.
157
1582012-06-15  Frank Warmerdam  <[email protected]>
159
160	*  libtiff 4.0.2 released.
161
162	* tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable
163	warnings with clang.
164
1652012-06-15  Tom Lane  <[email protected]>
166
167	* tools/tiff2pdf.c: Defend against integer overflows while
168	calculating required buffer sizes (CVE-2012-2113).
169
1702012-06-12  Frank Warmerdam  <[email protected]>
171
172	* libtiff/tif_print.c: Be careful about printing corrupt inknames.
173
174	* libtiff/tif_fax3.c: Ensure runs array is initialized to zeros.
175
1762012-06-07  Frank Warmerdam  <[email protected]>
177
178	* libtiff/tif_print.c: avoid pretty printing other fields when
179	we don't have the proper amount and type of data or if the field
180	is actually autodefined.
181
1822012-06-05  Frank Warmerdam  <[email protected]>
183
184	* libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal
185	ycbcrsubsampling values result in a runtime error, not just an
186	assertion.
187
188	* tests/custom_dir.c: Add testing of EXIF and custom directory
189	reading and writing.
190
191	* libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory()
192	and TIFFCreateEXIFDirectory() functions.
193
194	* libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for
195	PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING.  Implement DOTRANGE
196	differently.  This is to avoid using special TIFFGetField/TIFFSetField
197	rules for these fields in non-image directories (like EXIF).
198
1992012-06-04  Frank Warmerdam  <[email protected]>
200
201	* libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling
202	in JPEGPreDecode().  If a fixup will be done it needs to be done sooner
203	in JPEGFixupTagsSubsampling() or else buffer sized may be wrong.
204
2052012-06-01  Frank Warmerdam  <[email protected]>
206
207	* tools/tiffinfo.c: Do not try to read image data in EXIF directories.
208
209	* libtiff/tif_getimage.c: added support for _SEPARATED CMYK images.
210	http://bugzilla.maptools.org/show_bug.cgi?id=2379
211
212	* libtiff/tif_unix.c: use strerror() to return a more specific error message
213	on failed open.
214	http://bugzilla.maptools.org/show_bug.cgi?id=2341
215
216	* libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs.
217	http://bugzilla.maptools.org/show_bug.cgi?id=2386
218
219	* tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support
220	for testing jpeg in tiff image decoding including the "raw" decode interface.
221
2222012-05-31  Frank Warmerdam  <[email protected]>
223
224	* libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in
225	JPEGDecodeRaw() - mostly likely to occur when there is confusion about
226	sampling values.
227
228	* libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed.
229
230	* libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval.
231	http://bugzilla.maptools.org/show_bug.cgi?id=2398
232
2332012-05-29  Frank Warmerdam  <[email protected]>
234
235	* libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories,
236	like EXIF directories.  This fixes problems like a tag "320" existing in a custom directory getting
237	processed as if it were a colormap when it isn't really.  Damn the wide variety of argument formulations
238	to get/set functions for different tags!
239
240	* libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata
241	is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag.
242
2432012-05-24  Frank Warmerdam  <[email protected]>
244
245	* libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward
246	accumulate" and overwrite the end by one word in at least some cases.
247
2482012-05-23  Frank Warmerdam  <[email protected]>
249
250	* libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs.
251
252	* tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files.
253
254	* libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on
255	the same image.
256
257	* libtiff/tif_ojpeg.c: make things more resilient in the face of files without
258	stripbytecounts or stripoffsets or where loading these fails.
259
260	* libtiff/tif_print.c: be careful about whether min/max values are singular
261	or one per sample.
262
263	* libtiff/tif_print.c: Avoid confusion about count size when printing custom fields.
264	May affect things like ISOSpeedRatings.
265
266	* libtiff/tif_dir.c: avoid one byte past end of ink names reading
267	in some cases.
268
2692012-05-19  Bob Friesenhahn  <[email protected]>
270
271	* man/TIFFGetField.3tiff: Correct the 'count' field type in the
272	example for how to retreive the value of unsupported tags.
273
2742012-03-30  Frank Warmerdam  <[email protected]>
275
276	* tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173)
277	care of Tom Lane @ Red Hat.
278
2792012-02-18  Bob Friesenhahn  <[email protected]>
280
281	* libtiff 4.0.1 released.
282
283	* Update automake used to 1.11.3.
284
285	* libtiff/tiffio.h: Use double-underbar syntax in GCC printf
286	attribute specification to lessen the risk of accidental macro
287	substitution.  Patch from Vincent Torri.
288
2892012-01-31  Frank Warmerdam  <[email protected]>
290
291	* libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around
292	assumption tag fetching is always successful.
293
294	* libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.
295
2962012-01-22  Bob Friesenhahn  <[email protected]>
297
298	* configure.ac: Add support for using library symbol versioning on
299	ELF systems with the GNU linker.  Support is enabled via
300	--enable-ld-version-script.  Disabled by default for now until
301	there is a decision for how to deploy a libtiff with versioned
302	symbols after libtiff 4.0.0 was already released.
303
3042011-12-22  Bob Friesenhahn  <[email protected]>
305
306	* libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
307
308	tif_win32.c.  Patch by Edward Lam.
309
310	* configure.ac: Add libtiff private dependency on -llzma for
311	pkg-config.  Patch by Mark Brand.
312	Updated Automake to 1.11.2.
313
3142011-12-21  Bob Friesenhahn  <[email protected]>
315
316	* libtiff 4.0.0 released.
317
3182011-12-08  Frank Warmerdam  <[email protected]>
319
320	* libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking
321	of _TIFFFillStriles() results (#gdal 4372)
322
3232011-12-07  Frank Warmerdam  <[email protected]>
324
325	* libtiff/tif_dirread.c: fixes to deal with invalid files where
326	_TIFFFillStriles() fails, and we try to chop up strips (gdal #4372)
327
328	* libtiff/tif_dirread.c: fix error reporting when there is no
329	tag information struct and name (gdal #4373)
330
3312011-10-22  Bob Friesenhahn  <[email protected]>
332
333	* Update GNU libtool to 2.4.2.
334
335	* tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
336	uint32 type for TIFFTAG_JPEGTABLES.  Patch by Christophe
337	Deroulers.
338
3392011-06-21  Frank Warmerdam  <[email protected]>
340
341	* libtiff/libtiff.def: Restore TIFFMergeFieldInfo.
342
3432011-05-31  Jim Meyering  <[email protected]>
344
345	* libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also
346	upon failure to allocate "resizeddata".
347	* tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for
348	allocation failure, not before.
349	* libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path
350	* tools/rgb2ycbcr.c (cvtRaster): unchecked malloc
351	* libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark
352	NULL-deref and possible overflow
353	* tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written"
354	* libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration
355	and set of otherwise unused local, data_is_empty.
356	* libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]:
357	Diagnose out-of-memory failure and return 0 rather than
358	dereferencing NULL.
359
3602011-05-24  Frank Warmerdam  <[email protected]>
361
362	* libtiff/tif_dirread.c: produce special error message for zero tag
363	directories instead of error out on the malloc(0) failure.
364
3652011-05-16  Frank Warmerdam  <[email protected]>
366
367	* libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and
368	related declarations as they are in active use by libraries
369	such as libgeotiff, and work just fine.  (#2315)
370
3712011-04-20  Frank Warmerdam  <[email protected]>
372
373	* libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete
374	TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API.
375	http://bugzilla.maptools.org/show_bug.cgi?id=2315
376
377	* libtiff/libtiff.def: add some missing (64bit) APIs.
378	http://bugzilla.maptools.org/show_bug.cgi?id=2316
379
3802011-04-09  Bob Friesenhahn  <[email protected]>
381
382	* libtiff 4.0.0beta7 released.
383
3842011-04-09  Bob Friesenhahn  <[email protected]>
385
386	* configure.ac: Should use AC_CANONICAL_HOST since host specifies
387	the run-time target whereas target is used to specify the final
388	output target if the package is a build tool (like a compiler),
389	which libtiff is not.  Resolves libtiff bug 2307 "Use
390	AC_CANONICAL_HOST macro".
391
3922011-04-02  Bob Friesenhahn  <[email protected]>
393
394	* configure.ac: Support configuring TIFF_INT64_FORMAT and
395	TIFF_UINT64_FORMAT appropriately for MinGW32.
396
397	* tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32
398	printf conventions for 64-bit types because it uses the WIN32 CRT.
399
400	* libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c,
401	tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32
402	printf conventions for 64-bit types because it uses the WIN32 CRT.
403
404	* tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not
405	understood by WIN32 CRT.
406
407	* libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC.
408
409	* tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since
410	it is much more portable.  Tmpfile is included in ISO/IEC
411	9899:1990 and the WIN32 CRT.
412
4132011-03-26  Frank Warmerdam  <[email protected]>
414
415	* tools/tiffset.c: add -d and -sd switches to allow operation on
416	a particular directory, not just the first (jef).
417
4182011-03-21  Frank Warmerdam  <[email protected]>
419
420	* libtiff/tif_thunder.c: Correct potential buffer overflow with
421	thunder encoded files with wrong bitspersample set.  The libtiff
422	development team would like to thank Marin Barbella and TippingPoint's
423	Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004,
424	CVE-2011-1167).
425	http://bugzilla.maptools.org/show_bug.cgi?id=2300
426
4272011-03-10  Frank Warmerdam  <[email protected]>
428
429	* libtiff/tif_fax3.h: Fix to last change allowing zero length
430	runs at the start of a scanline - needed for legal cases.
431
4322011-03-02  Frank Warmerdam  <[email protected]>
433
434	* libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding
435	a move left.  Without this, a malicious input file can generate an
436	indefinitely large series of runs without a0 ever reaching the right
437	margin, thus overrunning our buffer of run lengths.  Per CVE-2011-0192.
438	This is a modified version of a patch proposed by Drew Yao of Apple
439	Product Security.  It adds an unexpected() report, and disallows the
440	equality case, since emitting a run without increasing a0 still allows
441	buffer overrun.
442
4432011-02-23  Frank Warmerdam  <[email protected]>
444
445	* libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296)
446
447	* tools/tiff2rgba.c: close source file on error to make leak
448	detection easier.
449
450	* libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails.
451
452	http://bugzilla.maptools.org/show_bug.cgi?id=2295
453
4542011-02-22  Frank Warmerdam  <[email protected]>
455
456	* libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ
457	_SUPPORT)
458
4592011-02-18  Frank Warmerdam  <[email protected]>
460
461	* configure.ac, configure: Added support for --enable-chunky-strip-read
462	configure option to enable the experimental feature from a couple
463	months ago for reading big strips in chunks.
464
465	* configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h,
466	tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c:
467	Implement optional support for deferring the load of strip/tile
468	offset and size tags for optimized scanning of directories.  Enabled
469	with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD
470	#define in tif_config.h).
471
4722011-02-11  Frank Warmerdam  <[email protected]>
473
474	* libtiff/tif_print.c: remove unused variable.
475
4762011-02-09  Frank Warmerdam  <[email protected]>
477
478	* libtiff/tif_win32.c: avoid error/warning buffer overrun problem
479	with non-console (popup message) builds on win32.
480
481	http://bugzilla.maptools.org/show_bug.cgi?id=2293
482
4832011-01-24  Olivier Paquet  <[email protected]>
484
485	* libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c,
486	tif_print.c, tiff.h, tiffiop.h} : Added support for
487	TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different
488	values for each sample. Presents the min/max of all samples by default for
489	compatibility. TIFFSetField/TIFFGetField can be made to handle those tags
490	as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag.
491	http://www.asmail.be/msg0055458208.html
492
4932011-01-06  Frank Warmerdam  <[email protected]>
494
495	* libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not
496	maintained.
497
498	* libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding
499	for CHUNKY_STRIP_READ_SUPPORT.
500
501	* libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained
502	during JPEGPreDecode and JPEGDecode calls.
503	* libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT,
504	as compression formats like JPEG keep 16 lines interleaved in a sense
505	and might need to touch	quite a bit of data.
506
507	http://trac.osgeo.org/gdal/ticket/3894
508
5092011-01-03  Lee Howard <[email protected]>
510
511	* libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images
512	caused by commit on 2010-12-14.  Submitted by e-mail from
513	Even Rouault <[email protected]>
514
5152010-12-31  Olivier Paquet  <[email protected]>
516
517	* libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE.
518	http://bugzilla.maptools.org/show_bug.cgi?id=2266
519
5202010-12-23  Andrey Kiselev  <[email protected]>
521
522	* tools/tiffcp.c, man/tiffcp.1: Added support for specifying the
523	compression level parameter (preset) for Deflate and LZMA encoders,
524	e.g "-c lzma:p1" or "-c zip:p9".
525
526	* libtiff/tif_lzma.c: Properly set the LZMA2 compression level
527	(preset) in LZMAVSetField().
528
5292010-12-18  Bob Friesenhahn  <[email protected]>
530
531	* libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to
532	Makefile.
533
5342010-12-14  Andrey Kiselev  <[email protected]>
535
536	* configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h,
537	tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new
538	TIFF compression scheme LZMA reserving a new value 34925 for
539	Compression tag. As per
540	bug http://bugzilla.maptools.org/show_bug.cgi?id=2221
541
5422010-12-14  Lee Howard <[email protected]>
543
544	* libtiff/tif_dirread.c: tolerate some cases where
545	FIELD_COLORMAP is missing
546	http://bugzilla.maptools.org/show_bug.cgi?id=2189
547
5482010-12-14  Lee Howard <[email protected]>
549
550	* libtiff/tif_read.c: change read_ahead to tmsize_t
551	http://bugzilla.maptools.org/show_bug.cgi?id=2222
552
5532010-12-14  Lee Howard <[email protected]>
554
555	* configure.ac, libtiff/Makefile.am: Build tif_win32.c on
556	Windows except on Cygwin
557	http://bugzilla.maptools.org/show_bug.cgi?id=2224
558
5592010-12-14  Lee Howard <[email protected]>
560
561	* tools/gif2tiff.c: fix buffer overrun
562	http://bugzilla.maptools.org/show_bug.cgi?id=2270
563
5642010-12-14  Lee Howard <[email protected]>
565
566	* libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order
567	to improve compatibility with various viewers
568	submitted by e-mail from Dwight Kelly <[email protected]>
569
5702010-12-13  Lee Howard <[email protected]>
571
572	* tools/fax2ps.c: be consistent with page-numbering
573	http://bugzilla.maptools.org/show_bug.cgi?id=2225
574
5752010-12-13  Lee Howard <[email protected]>
576
577	* libtiff/tif_color.c: prevent crash in handling bad TIFFs
578	resolves CVE-2010-2595
579	http://bugzilla.maptools.org/show_bug.cgi?id=2208
580
5812010-12-13  Lee Howard <[email protected]>
582
583	* tools/tiffcrop.c: new release by Richard Nolde
584	http://bugzilla.maptools.org/show_bug.cgi?id=2004
585
5862010-12-12  Lee Howard <[email protected]>
587
588	* tools/tiff2pdf.c: fix colors for images with RGBA
589	interleaved data
590	http://bugzilla.maptools.org/show_bug.cgi?id=2250
591
5922010-12-12  Lee Howard <[email protected]>
593
594	* libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files
595	http://bugzilla.maptools.org/show_bug.cgi?id=2164
596
5972010-12-11  Lee Howard <[email protected]>
598
599	* tools/tiff2pdf.c: remove invalid duplication for Lab
600	http://bugzilla.maptools.org/show_bug.cgi?id=2162
601
6022010-12-11  Lee Howard <[email protected]>
603
604	* libtiff/tif_jpeg.c: fix use of clumplines calculation
605	http://bugzilla.maptools.org/show_bug.cgi?id=2149
606
6072010-12-11  Lee Howard <[email protected]>
608
609	* tools/fax2ps.c: replace unsafe tmpfile() with mkstemp()
610	http://bugzilla.maptools.org/show_bug.cgi?id=2118
611
6122010-12-11  Lee Howard <[email protected]>
613
614	* libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c,
615	  libtiff/tif_zip.c: fix build errors for VC6
616	http://bugzilla.maptools.org/show_bug.cgi?id=2105
617
6182010-12-11  Lee Howard <[email protected]>
619
620	* libtiff/tif_stream.cxx: warnings cleanup
621	http://bugzilla.maptools.org/show_bug.cgi?id=2091
622	* libtiff/tif_dirread.c: warnings cleanup
623	http://bugzilla.maptools.org/show_bug.cgi?id=2092
624
6252010-12-11  Lee Howard <[email protected]>
626
627	* tools/tiff2pdf.c: add fill-page option
628	http://bugzilla.maptools.org/show_bug.cgi?id=2051
629
6302010-12-11  Lee Howard <[email protected]>
631
632	* libtiff/tif_dirread.c: modify warnings
633	http://bugzilla.maptools.org/show_bug.cgi?id=2016
634
6352010-12-11  Lee Howard <[email protected]>
636
637	* libtiff/tif_ojpeg.c: fix buffer overflow on problem data
638        http://bugzilla.maptools.org/show_bug.cgi?id=1999
639
6402010-12-11  Lee Howard <[email protected]>
641
642	* tools/tiffinfoce.c: strip byte counts are uint64* now
643
6442010-12-11  Lee Howard <[email protected]>
645
646        * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
647        or missing byte-count tag
648        * tools/tiffsplit.c: abort when reading a TIFF without a byte-count
649        per http://bugzilla.maptools.org/show_bug.cgi?id=1996
650
6512010-12-08  Lee Howard <[email protected]>
652
653        * libtiff/tif_dirread.c: fix crash when reading a badly-constructed
654        TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994
655
6562010-12-06  Lee Howard <[email protected]>
657
658        * libtiff/tif_open.c: Fix mode check before opening a file.
659        http://bugzilla.maptools.org/show_bug.cgi?id=1906
660
6612010-11-27  Bob Friesenhahn  <[email protected]>
662
663	* libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
664	Patch by Vincent Torri.
665
6662010-10-21  Frank Warmerdam  <[email protected]>
667
668	* tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler.
669
670	* libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf.
671
672	* libtiff/libtiff.def: export _TIFFCheckMalloc for tools.
673
6742010-09-25  Lee Howard <[email protected]>
675
676	* tools/tiff2ps.c: improvements and enhancements from Richard Nolde
677	with additional command line options for Document Title,
678	Document Creator, and Page Orientation
679
6802010-07-13  Bob Friesenhahn  <[email protected]>
681
682	* tools/tiffcrop.c: Patch from Richard Nolde to avoid a
683	potentially unterminated buffer due to using an exceptionally long
684	file name.
685
6862010-07-08  Andrey Kiselev  <[email protected]>
687
688	* tools/tiff2pdf.c: Fixed ID buffer filling in
689	t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
690
6912010-07-07  Andrey Kiselev  <[email protected]>
692
693	* libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount()
694	to expected value as the warning message suggests. As per bug
695	http://bugzilla.maptools.org/show_bug.cgi?id=1963
696
6972010-07-06  Andrey Kiselev  <[email protected]>
698
699	* tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER,
700	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE
701	which should be set by value.
702
703	* libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag()
704	and _TIFFFieldWithName() if the tag is not found in the tag table.
705	This should be normal situation and returned NULL value should be
706	properly handled by the caller.
707
7082010-07-02  Andrey Kiselev  <[email protected]>
709
710	* libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned
711	integer type conversions. As per bug
712	http://bugzilla.maptools.org/show_bug.cgi?id=2207
713
714	* tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for
715	WhitePoint tag as per bug
716	http://bugzilla.maptools.org/show_bug.cgi?id=2042
717
718	* libtiff/tif_getimage.c: Check the number of samples per pixel when
719	working with YCbCr image in PickContigCase(). As per bug
720	http://bugzilla.maptools.org/show_bug.cgi?id=2216
721
722	* libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
723	TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
724	we don't need any post-processing. That helps to reset the hook if we
725	previously set this field to some other value and the hook was
726	initialized accordingly. As per bug
727	http://bugzilla.maptools.org/show_bug.cgi?id=2035
728
7292010-07-01  Andrey Kiselev  <[email protected]>
730
731	* tools/tiffgt.c: Properly check the raster buffer allocations for
732	integer overflows. As per bug
733	http://bugzilla.maptools.org/show_bug.cgi?id=2108
734
735	* m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the
736	upstream.
737
738	* libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move
739	multiply_32() and multiply_64() functions into tif_aux.c file and
740	rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively.
741
7422010-06-30  Andrey Kiselev  <[email protected]>
743
744	* tools/tiff2pdf.c: Better generation of ID field in
745	t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings.
746
747	* tools/tiff2pdf.c: Fixed computation of the tile buffer size when
748	converting JPEG encoded tiles.
749
750	* tools/tiff2pdf.c: Better handling of string fields, use static
751	string buffers instead of dynamically allocated, use strncpy() instead
752	of strcpy(), control the string lengths.
753
7542010-06-25  Andrey Kiselev  <[email protected]>
755
756	* tools/tiffcp.c: Initialize buffer arrays with zero to avoid
757	referencing to uninitialized memory in some cases (e.g. when tile size
758	set bigger than the image size).
759
7602010-06-15  Bob Friesenhahn  <[email protected]>
761
762	* tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
763	subsampled data since tiffcrop currently doesn't support it.  Fix
764	JPEG support.
765
7662010-06-13  Frank Warmerdam  <[email protected]>
767
768	* libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201)
769
770	* tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return"
771	in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely
772	wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual
773	size is larger.  Also, there are a bunch of places that try to
774	memset() a malloc'd buffer before checking for malloc failure, which
775	would result in core dump if there actually were a failure. (#2211)
776
7772010-06-11  Bob Friesenhahn  <[email protected]>
778
779	* libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
780	avoid compiler warnings if parameter types are not sign
781	consistent.
782
783	* libtiff 4.0.0alpha6 released.
784
785	* tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
786	European page size dimensions.  Added an option to allow the user
787	to specify a custom page size on the command line.  Fix the case
788	where a page size specified with a fractional part was being
789	coerced to an integer by retyping the variables that define the
790	paper size.
791
792	* html/index.html: Update for the 3.9.3 release.
793
794	* tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
795	YCbCr subsampled data since tiffcp currently doesn't support it.
796	http://bugzilla.maptools.org/show_bug.cgi?id=2097
797
798	* Update libtool to version 2.2.10.
799
8002010-06-10  Bob Friesenhahn  <[email protected]>
801
802	* libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
803	multiplier is zero.
804
8052010-06-09  Bob Friesenhahn  <[email protected]>
806
807	* libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
808	CVE-2010-1411 was not complete.
809
810	* libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
811	multiply two integers.  Returns zero if there is an integer
812	overflow.
813
814	* tools/tiffcp.c (main): tiffcp should not leak memory if an error
815	is reported when reading the input file.
816
8172010-06-08  Bob Friesenhahn  <[email protected]>
818
819	* Update libtool to version 2.2.8.
820
821	* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
822	buffer due to integer overflow in TIFFroundup() and several other
823	potential overflows.  In conjunction with the fix to TIFFhowmany(),
824	fixes CVE-2010-1411.
825
826	* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
827	result in an integer overflow. This causes TIFFroundup() to also
828	return zero if there would be an integer overflow.
829
830	* contrib: Add an emacs formatting mode footer to all source files
831	so that emacs can be effectively used.
832
8332010-06-03  Oliver Chen Feng <[email protected]>
834
835	* libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
836	file PAGENUMBER value in sequence for users who care the page
837	sequence, this will also prevent tiff2pdf from creating pdf file from
838	the merged tiff file with wrong page sequence.
839
8402010-05-08  Olivier Paquet  <[email protected]>
841
842	* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
843	to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
844	* libtiff/tif_dirinfo.c: Use correct set_field_type for
845	TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
846	http://bugzilla.maptools.org/show_bug.cgi?id=2192
847
8482010-05-07  Frank Warmerdam  <[email protected]>
849
850	* libtiff/tif_jpeg.c: Ensure that quality is always set in
851	JPEGPreEncode(), not just when we want to output local tables.
852	Otherwise the quality used during compression may not be right and
853	might not match the tables in the tables tag.   This bug only occurs
854	when seeking between directories in the midst of writing blocks.
855	http://trac.osgeo.org/gdal/ticket/3539
856
8572010-05-06  Andrey Kiselev  <[email protected]>
858
859	* html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
860	Regenerated from the source.
861
8622010-05-05  Olivier Paquet  <[email protected]>
863
864	* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
865	had stopped working. Also made it always print 6 floats instead of
866	2*SamplesPerPixel.
867	http://bugzilla.maptools.org/show_bug.cgi?id=2191
868	http://bugzilla.maptools.org/show_bug.cgi?id=2186
869	* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
870	fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
871
8722010-05-05  Frank Warmerdam  <[email protected]>
873
874	* libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
875	if the jpeg table was written.  This is a fix for the last fix on 04-21.
876
8772010-04-21  Frank Warmerdam  <[email protected]>
878
879	* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
880	JPEGSetupEncode() is called if the tables already seem to be
881	established.  This prevents spurious updates and rewriting of
882	directories with jpegtables when doing updates to existing images.
883	http://trac.osgeo.org/gdal/ticket/3539
884
8852010-04-20  Olivier Paquet  <[email protected]>
886
887	* libtiff/tif_dirinfo.c: Use correct set_field_type for
888	TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
889	TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
890	They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
891	http://bugzilla.maptools.org/show_bug.cgi?id=2139
892
8932010-04-10  Bob Friesenhahn  <[email protected]>
894
895	* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
896	when the tag count value is zero.  Error handling is still a
897	regression since in 3.9.2, empty tags are skipped (with a warning)
898	rather than returning a hard error and refusing to read the file.
899
900	* tools/ppm2tiff.c (main): While case for parsing comment line
901	requires extra parenthesis to work as expected.  Reported by
902	Thomas Sinclair.
903
9042010-04-02  Frank Warmerdam  <[email protected]>
905
906	* libtiff/tif_read.c (primarily): Add support for
907	CHUNKY_STRIP_READ_SUPPORT where large strips are
908	read in chunks for applications using TIFFReadScanline().
909	This is intended to make it more practical work with very
910	large compressed one-strip files.   Feature is off by default.
911	Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
912	http://trac.osgeo.org/gdal/ticket/3514
913
9142010-03-31  Frank Warmerdam  <[email protected]>
915
916	* libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
917	directories so previously placed directories will be migrated to
918	the end of file if needed.
919
9202010-03-30  Frank Warmerdam  <[email protected]>
921
922	* libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
923	to support operating on strips/tiles of more than 256MB.
924	http://trac.osgeo.org/gdal/ticket/3512
925
9262010-03-10  Bob Friesenhahn  <[email protected]>
927
928	* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
929	that it is clearly a memory allocation error message, and also
930	includes the size of the allocation request.
931
9322010-02-22  Lee Howard  <[email protected]>
933
934	* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
935	the JPEG TIFF as is is not required in order to prevent it from
936	being unused and filled with invalid data.  (Leave it to be
937	generated by later activity.)
938	http://bugzilla.maptools.org/show_bug.cgi?id=2135
939	* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
940	data rather than skipping them.  This fixes the ability to view in
941	Acrobat Reader, Evince, and Ghostscript.
942	http://bugzilla.maptools.org/show_bug.cgi?id=2135
943	* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
944	strips.
945	http://bugzilla.maptools.org/show_bug.cgi?id=2029
946
9472009-12-03  Frank Warmerdam  <[email protected]>
948
949	* libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
950	Made so that when working with downsampled images a stub function
951	reporting an error is used for tif_decoderow.  We cannot meaningfully
952	support reading scanlines in this situation.  (#1936)
953
954	* libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
955	resetting of the upsampling values (gdal:#3259).
956	http://bugzilla.maptools.org/show_bug.cgi?id=1936
957
9582009-11-30  Frank Warmerdam  <[email protected]>
959
960	* contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c,
961	tools/ras2tiff.c: Fix resource leaks on error.
962	http://bugzilla.maptools.org/show_bug.cgi?id=2121
963
964	* libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling
965	TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
966	of as a custom(generic) field to avoid a potential reentrancy problem.
967	http://bugzilla.maptools.org/show_bug.cgi?id=2125
968
969	* libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
970	man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit
971	const, and display_sRGB static and const.
972	http://bugzilla.maptools.org/show_bug.cgi?id=2124
973
9742009-11-04  Bob Friesenhahn  <[email protected]>
975
976	* libtiff 4.0.0alpha5 released.
977
9782009-11-03  Bob Friesenhahn  <[email protected]>
979
980	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
981	version has undergone substantial testing with arbitrary sample
982	bit depths.  Also eliminates GCC compilation warnings.
983
9842009-11-02  Bob Friesenhahn  <[email protected]>
985
986	* port/libport.h: Add extern declarations for getopt standard
987	globals.
988
9892009-10-31  Bob Friesenhahn  <[email protected]>
990
991	* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
992	noticed in 64-bit build of libtiff with Visual Studio 2005.
993	Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
994	tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
995
996	* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
997	warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
998	Visual Studio 2005 64-bit warning in tif_pixarlog.c",
999	http://bugzilla.maptools.org/show_bug.cgi?id=2068
1000
10012009-10-29  Bob Friesenhahn  <[email protected]>
1002
1003	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
1004	pointer" warnings.
1005
10062009-10-28  Bob Friesenhahn  <[email protected]>
1007
1008	* html/tools.html: Add manual page links, and a summary
1009	description of tiffcrop.
1010
10112009-10-07  Bob Friesenhahn  <[email protected]>
1012
1013	* configure.ac: x86_64 should use the same fill order as i386.
1014
10152009-09-24  Bob Friesenhahn  <[email protected]>
1016
1017	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
1018	Nolde.  Major updates to add significant functionality for reading
1019	and writing tile based images with bit depths not a multiple of 8
1020	which cannot be handled by tiffcp.
1021
10222009-09-03  Bob Friesenhahn  <[email protected]>
1023
1024	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
1025	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
1026	"Bug 2090 - OJPEG crash with libjpeg v7".
1027	http://bugzilla.maptools.org/show_bug.cgi?id=2090
1028
10292009-09-03  Frank Warmerdam  <[email protected]>
1030
1031	* libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
1032	interface when stoponerror is set.
1033	http://bugzilla.maptools.org/show_bug.cgi?id=2071
1034
10352009-08-30  Bob Friesenhahn  <[email protected]>
1036
1037	* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
1038	fix build with gcc when using the "-Wformat
1039	-Werror=format-security" flags.
1040
10412009-08-29  Bob Friesenhahn  <[email protected]>
1042
1043	* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
1044	ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
1045	utilities tests.
1046
10472009-08-28  Bob Friesenhahn  <[email protected]>
1048
1049	* tools/tiffinfo.c: tiffinfo should return error status to the
1050	caller.  Register a private error callback to accomplish that.
1051
1052	* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
1053	PNM formats so that we will be able to test more of the tools.
1054	While adding these test images I notice that bmp2tiff and gif2tiff
1055	only support ancient versions of their respective formats.
1056
10572009-08-27  Bob Friesenhahn  <[email protected]>
1058
1059	* libtiff 4.0.0alpha4 released.
1060
1061	* HOWTO-RELEASE: Improved release instructions.
1062
10632009-08-24  Bob Friesenhahn  <[email protected]>
1064
1065	* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
1066	fixes for "Bug 2023 - nroff errors in manual pages".
1067	http://bugzilla.maptools.org/show_bug.cgi?id=2023
1068
1069	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
1070	CVE-2009-2347 libtiff: integer overflows in various inter-color
1071	space conversion tools".
1072	http://bugzilla.maptools.org/show_bug.cgi?id=2079
1073
1074	* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
1075	Berkenbilt for "Bug 2024 - possible null pointer dereference with
1076	one-line fix".
1077	http://bugzilla.maptools.org/show_bug.cgi?id=2024
1078
1079	* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
1080	from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
1081	segfault after setting tdir_tag = IGNORE".
1082	http://bugzilla.maptools.org/show_bug.cgi?id=1895
1083
10842009-08-23  Bob Friesenhahn  <[email protected]>
1085
1086	* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
1087	tiffcrop.sh into a collection of many specific tests.  Re-wrote
1088	all of the existing tests to be based on some simple shell
1089	functions.  Make distcheck works again.
1090
1091	Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
1092	added 'memcheck' and 'ptrcheck' targets to make it easy to run the
1093	tests under valgrind.
1094
10952009-08-21  Bob Friesenhahn  <[email protected]>
1096
1097	* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
1098	build.
1099
1100	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
1101	actually activated since it needed to be enabled in this
1102	Makefile.am.  Also activated parallel-tests mode since it offers
1103	useful features such as per-test .log files and a summary test
1104	report .log file.
1105
11062009-08-20  Bob Friesenhahn  <[email protected]>
1107
1108	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
1109	libtool 2.2.6.  Enabled support for silent build rules
1110	(--enable-silent-rules or 'make V=0') and colorized tests.
1111
1112	* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
1113
11142009-06-30  Frank Warmerdam  <[email protected]>
1115
1116	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
1117
1118	* tools/tiffcp.c: add -c sgilog support.
1119
1120	* libtiff/tif_luv.c: correct return codes from encoderow to be
1121	1 on success instead of zero.
1122	http://bugzilla.maptools.org/show_bug.cgi?id=2069
1123
1124	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
1125	#1085 for a better underflow fix that errors properly.
1126	http://bugzilla.maptools.org/show_bug.cgi?id=2065
1127	http://bugzilla.maptools.org/show_bug.cgi?id=1985
1128
11292009-06-26  Frank Warmerdam  <[email protected]>
1130
1131	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
1132	fails on oddly sized 12bit jpeg compressed ycbcr images.
1133
11342009-06-22  Frank Warmerdam  <[email protected]>
1135
1136	* libtiff/tif_lzw.c: Fix buffer underflow bug.
1137	http://bugzilla.maptools.org/show_bug.cgi?id=2065
1138
11392009-06-21  Frank Warmerdam  <[email protected]>
1140
1141	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
1142	for dual mode 8/12 bit jpeg support.
1143
11442009-06-03  Frank Warmerdam  <[email protected]>
1145
1146	* libtiff/tif_write.c: do not override the planar configuration to be
1147	contig for one sample files if planar configuration is already set.
1148	http://bugzilla.maptools.org/show_bug.cgi?id=2057
1149
11502009-06-02  Frank Warmerdam  <[email protected]>
1151
1152	* libtiff/libtiff.def: Add TIFFUnsetField.
1153
11542009-05-03  Frank Warmerdam  <[email protected]>
1155
1156	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
1157	error reports to use "%s" as format string.
1158	http://trac.osgeo.org/gdal/ticket/2976
1159
11602009-03-12  Frank Warmerdam  <[email protected]>
1161
1162	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
1163	for some codecs (#2020).
1164
11652009-02-12  Frank Warmerdam  <[email protected]>
1166
1167	* libtiff/tif_luv.c: Fix handling of tiled logluv images.
1168	http://bugzilla.maptools.org/show_bug.cgi?id=2005
1169
11702009-02-09  Frank Warmerdam  <[email protected]>
1171
1172	* libtiff/tif_dirread.c: Improve allocation safety when allocated
1173	buffer for large tags.  (#1998)  Related to (#1993)
1174
11752009-02-06  Frank Warmerdam  <[email protected]>
1176
1177	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
1178	test suite should pass.
1179
11802009-02-05  Frank Warmerdam  <[email protected]>
1181
1182	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
1183	but at the 2GB boundary to avoid overflow on 32bit systems.
1184	http://bugzilla.maptools.org/show_bug.cgi?id=1993
1185
1186	* libtiff/tif_dirread.c: Remove some assertions that blow due to
1187	corrupt files rather than in response to library internal
1188	inconsistencies.
1189	http://bugzilla.maptools.org/show_bug.cgi?id=1995
1190	http://bugzilla.maptools.org/show_bug.cgi?id=1991
1191
1192	* libtiff/tif_dirread.c: Fixed testing for failed result from
1193	TIFFReadDirectoryFindFieldInfo().
1194	http://bugzilla.maptools.org/show_bug.cgi?id=1992
1195
11962009-01-23  Frank Warmerdam  <[email protected]>
1197
1198	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
1199	http://bugzilla.maptools.org/show_bug.cgi?id=1911
1200
1201	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
1202
1203	http://bugzilla.maptools.org/show_bug.cgi?id=1924
1204
1205	* tools/tiffcrop.c: initialize xres/yres values.
1206
1207	* test/*.sh - default ${srcdir} to local directory.
1208
1209	* test/common.sh - start verbose mode after common settings.
1210
1211	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
1212	avoid type mismatches on different platforms.
1213	http://bugzilla.maptools.org/show_bug.cgi?id=1889
1214
12152009-01-22  Frank Warmerdam  <[email protected]>
1216
1217	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
1218	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
1219
1220	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
1221	defined, primarily to reduce prototype warnings on windows.
1222
1223	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
1224	about unused parameters, and uninitialized variables.
1225
12262009-01-21  Bob Friesenhahn  <[email protected]>
1227
1228	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
1229	order to trace full execution detail while executing the test suite.
1230
12312009-01-20  Frank Warmerdam  <[email protected]>
1232
1233	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
1234
12352009-01-20  Bob Friesenhahn  <[email protected]>
1236
1237	* test/Makefile.am (CLEANFILES): Make sure that test output files
1238	are removed by 'make clean'
1239
1240	* Update autotools for 4.0.0 beta3
1241
1242	* 4.0.0 beta3 produced.
1243
12442009-01-12  Bob Friesenhahn  <[email protected]>
1245
1246	* test/tiffcrop.sh: New test script for tiffcrop from Richard
1247	Nolde.
1248
1249	* tools/tiff2ps.c: Remove spurious message to stderr.
1250
12512009-01-11  Bob Friesenhahn  <[email protected]>
1252
1253	* tools/tiff2ps.c: Incorporated significant functionality update
1254	from Richard Nolde.  In particular, support for rotating the image
1255	by 90, 180, 270, and 'auto' has been added.
1256
1257	* man/tiffcrop.1: Incorporated documentation updates from Richard
1258	Nolde.
1259
1260	* tools/tiffcrop.c: Incorporated significant functionality update
1261	from Richard Nolde.
1262
12632008-12-31  Bob Friesenhahn  <[email protected]>
1264
1265	* libtiff/tiffio.h: GCC will now validate format specifications
1266	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
1267	TIFFWarningExt() in order to reveal bugs.
1268
1269	* Many fixes throughout to work better as a 64-bit build.
1270
12712008-12-30  Bob Friesenhahn  <[email protected]>
1272
1273	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
1274	tags now require 64-bit parameter rather than 32-bit.
1275
1276	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
1277	64-bit values.
1278
1279	* tools/thumbnail.c: Eliminate crash noticed while running test
1280	suite.
1281
12822008-12-29  Bob Friesenhahn  <[email protected]>
1283
1284	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
1285	Initialize stack variables to avoid compiler warning.
1286
1287	* tools/tiffinfoce.c (main): Use toff_t for offset type when
1288	retrieving offset of EXIF IFD.
1289
1290	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
1291	TIFFClientOpen() callback and other external function definitions.
1292
1293	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
1294	type now.  Fixes crash when dumping files containing an EXIF IFD.
1295
1296	* m4/libtool.m4: Update to libtool 2.2.6.
1297
12982008-12-21  Frank Warmerdam  <[email protected]>
1299
1300	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
1301
1302	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
1303	strip for the last partial strip in a jpeg compressed file.
1304	http://bugzilla.maptools.org/show_bug.cgi?id=1981
1305
13062008-10-29  Frank Warmerdam  <[email protected]>
1307
1308	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
1309	we take the shortcut to only update the strip/tile offsets in place.
1310	http://trac.osgeo.org/gdal/ticket/2621
1311
13122008-10-21  Andrey Kiselev  <[email protected]>
1313
1314	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
1315	the older versions retained).
1316
13172008-10-09  Frank Warmerdam  <[email protected]>
1318
1319	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
1320	IPP enabled version of libjpeg from Intel.
1321	http://bugzilla.maptools.org/show_bug.cgi?id=1951
1322
13232008-09-05  Andrey Kiselev  <[email protected]>
1324
1325	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
1326	Required for libtiff 4.0.
1327
1328	* tools/tiffsplit.c: Use dynamically allocated array instead of static
1329	when constructing output file names.
1330
13312008-09-03  Andrey Kiselev  <[email protected]>
1332
1333	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
1334	doing the filename/path construction.
1335
1336	* tools/tiff2pdf.c: More appropriate format string in
1337	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
1338
1339	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
1340
1341	http://bugzilla.maptools.org/show_bug.cgi?id=1929
1342
1343	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
1344	CVE-2008-2327 security issue.
1345
13462008-09-01  Frank Warmerdam  <[email protected]>
1347
1348	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
1349
1350	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
1351	depending on whether the file is bigtiff or classic tiff.
1352	http://bugzilla.maptools.org/show_bug.cgi?id=1917
1353
13542008-08-12  Edward Lam  <[email protected]>
1355
1356	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
1357	consistent (__int64) casting when testing if _lseeki64 has
1358	successfully seeked as requested.  This is necessary for large
1359	file support to work since off_t is only 32-bit.
1360
13612008-07-29  Frank Warmerdam  <[email protected]>
1362
1363	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or
1364	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
1365	with control logic to return runtime errors (c/o Even Rouault) (#1927).
1366
13672008-06-17  Frank Warmerdam  <[email protected]>
1368
1369	* tools/tiffcrop.c: Fix some portability problems.
1370
1371	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
1372	used in tif_jpeg.c.
1373
1374	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
1375	as TIFFOpen().
1376
13772008-06-01  Frank Warmerdam  <[email protected]>
1378
1379	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
1380	like Sparc/Solaris.
1381	http://bugzilla.maptools.org/show_bug.cgi?id=1892
1382
13832008-05-27  Frank Warmerdam  <[email protected]>
1384
1385	* libtiff.def: Add TIFFFindField
1386	http://bugzilla.maptools.org/show_bug.cgi?id=1891
1387
13882008-05-26  Frank Warmerdam  <[email protected]>
1389
1390	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
1391
1392	* li2008-04-15  Andrey Kiselev  <[email protected]>
1393
1394btiff/tif_win32.c: Replace custom Win32 memory api with generic
1395	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
1396	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
1397
1398	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
1399	in windows version (care of Edward Lam).
1400
14012008-05-24  Frank Warmerdam  <[email protected]>
1402
1403	* tif_codec.c: Avoid NULL pointer dereferencing for exotic
1404	compression codec codes.
1405
1406	* tif_dirwrite.c: fix potential memory leak.
1407
1408	* tif_dirread.c: Fix unchecked malloc result.
1409
14102008-05-24  Bob Friesenhahn  <[email protected]>
1411
1412	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
1413	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
1414	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
1415	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
1416	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
1417	suggestions from Lee Howard posted to the tiff list on 13 Sep
1418	2007.
1419
14202008-05-23  Frank Warmerdam  <[email protected]>
1421
1422	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
1423	possible runtime problem reported by coverity.
1424
1425	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
1426
1427	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
1428	http://bugzilla.maptools.org/show_bug.cgi?id=1888
1429
1430	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
1431
1432	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
1433
1434	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
1435	Cleanup scanline allocation to avoid coverity warning.
1436
1437	* tools/thumbnail.c: Check for TIFFOpen() failure.
1438
14392008-05-18  Frank Warmerdam  <[email protected]>
1440
1441	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
1442	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
1443	why this is needed.
1444
14452008-05-09  Bob Friesenhahn  <[email protected]>
1446
1447	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
1448	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
1449
14502008-04-15  Andrey Kiselev  <[email protected]>
1451
1452	* test/: Test suite updated. Everything is passed now.
1453
1454	* libtiff/tif_dirinfo.c: Fixed description of the
1455	TIFFTAG_NUMBEROFINKS tag.
1456
14572008-04-14  Andrey Kiselev  <[email protected]>
1458
1459	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
1460	Get rid of some of "dereferencing type-punned" warnings by converting
1461	tdir_offset field of TIFFDirEntry structure into union.
1462
14632008-04-10  Andrey Kiselev  <[email protected]>
1464
1465	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
1466	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
1467	from the public interface. Type of its 'count' parameter changed
1468	from uint32 to tmsize_t.
1469
1470	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
1471	of the tiff structure have the size_t type instead of uint32.
1472
14732008-04-09  Andrey Kiselev  <[email protected]>
1474
1475	* tools/tiffdump.c: Added support for MSVS 6.0.
1476
1477	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
1478	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
1479	point values on MSVS 6.0 platform.
1480
14812008-03-14  Frank Warmerdam  <[email protected]>
1482
1483	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
1484	TIFFReadDirEntryArray() since they are interfering with seemingly
1485	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
1486
14872008-02-09  Joris Van Damme  <[email protected]>
1488
1489	* tif_dirread.c: Added handling for the case of number of values for
1490	PageNumber tag different from 2 (previously resulted in an assert
1491	indicating lack of handling and was forgotten about)
1492
14932008-02-01  Frank Warmerdam  <[email protected]>
1494
1495	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
1496	the actual jpeg data stream if the first strip/tile has zero size.
1497	This is the case when GDAL creates a new file with zero sizes, closes
1498	and reopens it.
1499
15002008-01-07  Frank Warmerdam  <[email protected]>
1501
1502	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
1503
15042008-01-01  Frank Warmerdam  <[email protected]>
1505
1506	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
1507
1508	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
1509	targets.
1510
1511	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
1512	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
1513	(x64).
1514
1515	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
1516	and TIFFFieldWithName() now return TIFFField pointers instead of
1517	TIFFFieldInfo pointers.
1518
1519	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
1520	exist. This makes it compile again on Windows
1521
1522	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
1523	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
1524
1525	* test/rewrite_tag.c: New test for TIFFRewriteField().
1526
15272007-12-31  Frank Warmerdam  <[email protected]>
1528
1529	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
1530	rewrites one field "on disk" updating an existing directory
1531	entry.  Lots of limitations still...
1532
1533	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
1534	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
1535	the strip offset/size values are dirty but nothing else about the
1536	directory is dirty.  In flush handle "just stripmaps dirty" as a
1537	special case that just rewrites these values without otherwise
1538	modifying the directory on disk using TIFFRewriteField().
1539
1540	We also modify logic so that in update mode the directory is not
1541	marked dirty on read, but only when something is changed.  This
1542	means we need to keep track of updates to the stripmap stuff in
1543	TIFFAppendToStrip().
1544
15452007-12-10  Frank Warmerdam  <[email protected]>
1546
1547	* tif_jpeg.c: Improve ability to switch between encoding and decoding
1548	in the jpeg code (gdal bug #2033).
1549
15502007-11-23  Frank Warmerdam  <[email protected]>
1551
1552	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
1553	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
1554	rawcp/rawcc buffer are for writing and thus may require flushing.
1555	Necessary to distinguish whether they need to be written to disk when
1556	in mixed read/write mode and doing a mixture of writing followed by
1557	reading.  http://trac.osgeo.org/gdal/ticket/1758
1558
15592007-11-23  Andrey Kiselev  <[email protected]>
1560
1561	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
1562	from Alexey Chupahin.
1563
15642007-11-02  Frank Warmerdam  <[email protected]>
1565
1566	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
1567	establishing if an existing tile can be rewritten to the same location
1568	by comparing the current size to all the other blocks in the same
1569	directory.  This is dangerous in many situations and can easily
1570	corrupt a file.  (observed in esoteric GDAL situation that's hard to
1571	document).  This change involves leaving the stripbytecount[] values
1572	unaltered till TIFFAppendToStrip().  Now we only write a block back
1573	to the same location it used to be at if the new data is the same
1574	size or smaller - otherwise we move it to the end of file.
1575
1576	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
1577	data when writing the directory just because we have BEENWRITING at
1578	some point in the past.  This was causing odd junk to be written out
1579	in a tile of data when a single tile had an interleaving of reading
1580	and writing with reading last.  (highlighted by gdal
1581	autotest/gcore/tif_write.py test 7.
1582
1583	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
1584	modifying callers buffer.
1585	http://trac.osgeo.org/gdal/ticket/1965
1586
1587	* tif_predict.c/h: more fixes related to last item, keeping a
1588	distinct pfunc for encode and decode cases as these were getting
1589	mixed up sometimes.
1590	http://trac.osgeo.org/gdal/ticket/1948
1591
15922007-11-01  Frank Warmerdam  <[email protected]>
1593
1594	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
1595	predictor based encoding and decoding works in read-write update
1596	mode properly.
1597	http://trac.osgeo.org/gdal/ticket/1948
1598
15992007-10-24  Joris Van Damme  <[email protected]>
1600
1601	* tif_dirread.c: Fixed problem with bogus file triggering
1602	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
1603	ChopUpSingleUncompressedStrip
1604
16052007-10-22  Joris Van Damme  <[email protected]>
1606
1607	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
1608	at best, access violation at worst, when subsampled JPEG compressed imagery
1609	is decoded without the JPEG_COLORMODE feature
1610
16112007-10-11  Frank Warmerdam  <[email protected]>
1612
1613	* html/index.html: Update "people responsible" section.
1614
16152007-10-05  Frank Warmerdam  <[email protected]>
1616
1617	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
1618	as reported on the mailing list.
1619
16202007-10-01  Joris Van Damme  <[email protected]>
1621
1622	* changed some more incorrect %lud printf flags to %lu
1623
16242007-09-29  Joris Van Damme  <[email protected]>
1625
1626	* tif_dirread.c: Strip chopping interfered badly with uncompressed
1627	subsampled images because it tried to divide subsampled rowblocks,
1628	leading to all sorts of errors throughout the library for these
1629	images. Fixed by making strip chopping divide in row counts that
1630	are a multiple of vertical subsampling value.
1631
16322007-09-28  Joris Van Damme  <[email protected]>
1633
1634	* tif_dirread.c: Logical cast working around compiler warning
1635
1636	* tif_read.c: Correction of some error flags and parameter lists
1637
16382007-09-27  Joris Van Damme  <[email protected]>
1639
1640	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
1641	when dealing with large bitspersample values, shutting up purification
1642	tools that warn about truncation, though it remains incorrect and
1643	indicates a conceptual problem there.
1644
1645	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
1646	of first IFD) to proper place because it badly interfered with memory
1647	mapping, resulting in mapping flag even with dummy mapping functions
1648	that returned 0 whilst at the same time the mapping tif_size wasn't
1649	set, thus resulting in continuous incorrect beyond-eof errors.
1650
16512007-09-24  Joris Van Damme  <[email protected]>
1652
1653	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
1654	inconsistent use of const in tiffFields and exifFields definition
1655
16562007-09-20  Frank Warmerdam  <[email protected]>
1657
1658	* tif_dirwrite.c: Always write tile/strip offsets and sizes
1659	using LONG8 type when output format is BigTIFF.  The
1660	TIFFWriteDirectoryTagLongLong8Array() function was restructured
1661	accordingly.
1662
1663	* tif_dirread.c: Improvements to error reporting text in
1664	TIFFFetchDirectory().
1665
16662007-09-19  Bob Friesenhahn  <[email protected]>
1667
1668	* test/images: Added a small collection of test images for use by
1669	test programs and scripts.
1670	* test/tiffinfo.sh: A trivial example test script.
1671	* test/common.sh: Added small script for setting the environment
1672	used by script-based tests.
1673
16742007-08-24  Frank Warmerdam  <[email protected]>
1675
1676	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
1677	zero when writing directory contents to preserve the ability to
1678	rewrite directories in place, even in the middle of a directory
1679	chain.
1680
1681	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
1682	definitions that are missing.  Existing definitions are silently
1683	ignored.
1684
1685	* tif_dirread.c: Add runtime error for fields for which no definition
1686	is found (in addition to an assert for developers) in
1687	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
1688	prudent.
1689
16902007-08-10  Joris Van Damme  <[email protected]>
1691
1692	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
1693	from _TIFFRGBAImage structure to revert unwanted ABI change.
1694
16952007-08-10  Joris Van Damme  <[email protected]>
1696
1697	* libtiff/tif_win32.c: use SetFilePointer instead of
1698	SetFilePointerEx, as per bug
1699
1700	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
1701
17022007-07-19  Andrey Kiselev  <[email protected]>
1703
1704	* libtiff/tif_stream.cxx: Put all callback functions declarations
1705	inside extern "C" block.
1706
1707	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
1708	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
1709	formatter instead of "%lld" with MSVC compiler.
1710
1711	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
1712	_TIFFUInt64ToDouble() functions.
1713
17142007-07-18  Andrey Kiselev  <[email protected]>
1715
1716	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
1717	integer constants.
1718
1719	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
1720	remove tif_config.h/tiffconf.h during cleaning. As per bug
1721
1722	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
1723
1724	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
1725
1726	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
1727
17282007-07-13  Andrey Kiselev  <[email protected]>
1729
1730	* libtiff 4.0.0alpha released.
1731
17322007-07-12  Andrey Kiselev  <[email protected]>
1733
1734	* tools/tiff2pdf.c: Added missed extern optind as per bug
1735
1736	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
1737
1738	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
1739	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
1740	extending scheme completed.
1741
17422007-07-11  Bob Friesenhahn  <[email protected]>
1743
1744	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
1745	use standard C++ library size types and attempt to detect overflow
1746	cases.
1747
17482007-07-08  Andrey Kiselev  <[email protected]>
1749
1750	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
1751	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
1752	tag extending scheme. Use the new scheme everywhere.
1753
1754	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
1755	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
1756	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
1757	TIFFFIeldInfo structure replaced with TIFFField structure.
1758	TIFFFieldInfo retained for the backward compatibility.
1759
17602007-07-05  Bob Friesenhahn  <[email protected]>
1761
1762	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
1763	defined.
1764
17652007-07-04  Andrey Kiselev  <[email protected]>
1766
1767	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
1768	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
1769	removed.
1770
1771	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
1772	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
1773	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
1774	These tags are not codec-specific and relate to image content, so
1775	process them as other normal tags.
1776
1777	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
1778	public tiffio.h to private tif_dir.h.
1779
1780	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
1781	outdated.
1782
17832007-07-03  Andrey Kiselev  <[email protected]>
1784
1785	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
1786	tif_win3.c}: Obsoleted portability stuff removed.
1787
1788	* tools/tiff2ps.c:  Added support 16-bit images as per bug
1789
1790	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
1791
1792	Patch from William Bader.
1793
1794	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
1795	significant upgrade of the whole utility as per bug
1796
1797	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
1798
1799	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
1800	PDF file using TIFFClientOpen() machinery as it is implemented
1801	by Leon Bottou.
1802
18032007-06-26  Bob Friesenhahn  <[email protected]>
1804
1805	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
1806	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
1807	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
1808	allow returning -1 for errors.
1809	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
1810
18112007-06-25  Bob Friesenhahn  <[email protected]>
1812
1813	* port/strtoull.c: New porting function in case strtoull() is not
1814	available on the target system.
1815	* configure.ac: Add configure support for determining sized types
1816	in a portable way and performing necessary substitutions in
1817	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
1818	definitions.
1819
18202007-04-27  Andrey Kiselev  <[email protected]>
1821
1822	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
1823
1824	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
1825
18262007-04-07  Andrey Kiselev  <[email protected]>
1827
1828	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
1829	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
1830	tif_predict.c, tif_zip.c}: Finally fix bug
1831
1832	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
1833
1834	by introducing _TIFFMergeFieldInfo() returning integer error status
1835	instead of void in case of problems with field merging (e.g., if the
1836	field with such a tag already registered). TIFFMergeFieldInfo() in
1837	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
1838	check returned value.
1839
18402007-04-07  Frank Warmerdam  <[email protected]>
1841
1842	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
1843	blocks in TIFF_DownSample_Subsampled() (bug 1542).
1844
18452007-04-06  Frank Warmerdam  <[email protected]>
1846
1847	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
1848	will convert from decompressor to compressor or compress to decompress
1849	if required by the force arguments.  This works around a problem in
1850	where the JPEGFixupTestSubsampling() may cause a decompressor to
1851	be setup on a directory when later a compressor is required with the
1852	force flag set.  Occurs with the addtiffo program for instance.
1853
18542007-04-06  Andrey Kiselev  <[email protected]>
1855
1856	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
1857	functionality from Richard Nolde. As per bug
1858
1859	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
1860
18612007-03-28  Frank Warmerdam  <[email protected]>
1862
1863	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
1864
18652007-03-17  Joris Van Damme  <[email protected]>
1866
1867	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
1868
18692007-03-07  Joris Van Damme  <[email protected]>
1870
1871	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
1872	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
1873	factor. This bug is mentioned in:
1874	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
1875	http://www.asmail.be/msg0054766825.html
1876
18772007-03-07  Joris Van Damme  <[email protected]>
1878
1879	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
1880
1881	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
1882	unused arguments by standard C indication for the same
1883
18842007-02-27  Andrey Kiselev  <[email protected]>
1885
1886	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
1887	counters in TIFFFetchData(). Should finally fix the issue
1888
1889	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1890
18912007-02-24  Andrey Kiselev  <[email protected]>
1892
1893	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
1894	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
1895
1896	* libtiff/tif_dirread.c: Added special function to handle
1897	SubjectDistance EXIF tag as per bug
1898
1899	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
1900
1901	* tools/tiff2pdf.c: Do not assume inches when the resolution units
1902	do not specified. As per bug
1903
1904	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
1905
1906	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
1907	it was set as infinite. As per bug
1908
1909	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
1910
1911	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
1912	by Richard Nolde. As per bug
1913
1914	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
1915
19162007-02-22  Andrey Kiselev  <[email protected]>
1917
1918	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
1919	ExtraSamples == 999 produced by Corel Draw. As per bug
1920
1921	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
1922
1923	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
1924	changed from tsize_t to uint32 to be able to work with data arrays
1925	larger than 2GB. Fixes bug
1926
1927	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1928
1929	Idea submitted by Matt Hancher.
1930
19312007-01-31  Andrey Kiselev  <[email protected]>
1932
1933	* tools/tif2rgba.c: This utility does not work properly on big-endian
1934	architectures. It was fixed including the bug
1935
1936	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
1937
19382007-01-15  Mateusz Loskot <[email protected]>
1939
1940	* Submitted libtiff port for Windows CE platform
1941	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
1942	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
1943	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
1944	functons from tif_win32.c.
1945	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
1946	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
1947	standard header files for Windows CE build.
1948	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
1949
19502006-11-19  Frank Warmerdam  <[email protected]>
1951
1952	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
1953	we move a strip.
1954	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
1955
19562006-10-13  Andrey Kiselev  <[email protected]>
1957
1958	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
1959	in Gentoo bug ():
1960
1961	http://bugs.gentoo.org/show_bug.cgi?id=142383
1962
1963	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
1964	Though it is still far from the state of being working and useful.
1965
19662006-10-12  Andrey Kiselev  <[email protected]>
1967
1968	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
1969	method.
1970
1971	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
1972	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
1973
1974	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
1975	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
1976
1977	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
1978	vulnerabilities, reported in Gentoo bug ():
1979
1980	http://bugs.gentoo.org/show_bug.cgi?id=142383
1981
19822006-09-28  Andrey Kiselev  <[email protected]>
1983
1984	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
1985	vulnerabilities, as per	Gentoo bug ():
1986
1987	http://bugs.gentoo.org/show_bug.cgi?id=142383
1988
19892006-09-27  Frank Warmerdam  <[email protected]>
1990
1991	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
1992	encoding and decoding on the same read-write TIFF handle.  The LZW
1993	code can now maintain encode and decode state at the same time. The
1994	ZIP code will switch back and forth as needed.
1995	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
1996
19972006-09-20  Frank Warmerdam  <[email protected]>
1998
1999	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
2000	tif_config.vc.h for easier identification by folks using an IDE.
2001
20022006-07-25  Frank Warmerdam  <[email protected]>
2003
2004	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
2005
20062006-07-19  Frank Warmerdam  <[email protected]>
2007
2008	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
2009	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
2010	to bug report by Peng Gao with black strip at bottom of images.
2011
20122006-07-12  Frank Warmerdam  <[email protected]>
2013
2014	* tif_dirwrite.c: make sure to use uint32 for wordcount in
2015	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
2016	It already seems to have been done for other field types.  Needed
2017	for "tiffset" on files with geotiff ascii text.
2018
20192006-07-04  Bob Friesenhahn  <[email protected]>
2020
2021	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
2022	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
2023	its use does not appear to be required, so use it only when it is
2024	available.
2025
20262006-06-24  Andrey Kiselev  <[email protected]>
2027
2028	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
2029
2030	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
2031	function TIFFFetchDirectory() avoiding code duplication in
2032	TIFFReadDirectory() and TIFFReadCustomDirectory().
2033
20342006-06-19  Frank Warmerdam  <[email protected]>
2035
2036	* tools/tiff2pdf.c: Fix handling of -q values.
2037	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
2038
20392006-06-17  Frank Warmerdam  <[email protected]>
2040
2041	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
2042	files.  Modified TIFFReadDirectory() to not invoke
2043	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
2044	but one of them is zero.
2045	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
2046
20472006-06-08  Andrey Kiselev  <[email protected]>
2048
2049	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
2050	checking code in the separate function TIFFCheckDirOffset().
2051
2052	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
2053
2054	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
2055
2056	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
2057
2058	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
2059
2060	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
2061
2062	* tools/tiff2pdf.c: Fixed buffer overflow condition in
2063	t2p_write_pdf_string() as per bug
2064
2065	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
2066
20672006-06-07  Andrey Kiselev  <[email protected]>
2068
2069	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
2070	support for JBIG compression scheme (34661 code) contributed by Lee
2071	Howard. As per bug
2072
2073	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
2074
2075	* configure, configure.ac: OJPEG support enabled by default.
2076
2077	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
2078
20792006-06-03  Bob Friesenhahn  <[email protected]>
2080
2081	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
2082	TIFFPrintDirectory().  Joris Van Damme authored the fix.
2083
20842006-04-21  Andrey Kiselev  <[email protected]>
2085
2086	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
2087	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
2088
2089	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
2090	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
2091	Added support for OpenVMS by Alexey Chupahin, [email protected].
2092
20932006-04-20  Andrey Kiselev  <[email protected]>
2094
2095	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
2096	Properly set the binary mode for stdin stream as per bug
2097	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
2098
2099	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
2100	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
2101	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
2102	tiffset.1}: Improvements in page formatting as per bug
2103	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
2104
2105	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
2106	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
2107
21082006-04-18  Frank Warmerdam  <[email protected]>
2109
2110	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
2111	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
2112
21132006-04-12  Joris Van Damme  <[email protected]>
2114
2115	* libtiff/tif_getimage.c: Added support for planarconfig separate
2116	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
2117
21182006-04-11  Joris Van Damme  <[email protected]>
2119
2120	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
2121	- Conversion of unassociated alpha to associated alpha now done with
2122	  more performant LUT, and calculation more correct
2123	- Conversion of 16bit data to 8bit data now done with
2124	  more performant LUT, and calculation more correct
2125	- Bugfix of handling of 16bit RGB with unassociated alpha
2126
21272006-04-11  Joris Van Damme  <[email protected]>
2128
2129	* libtiff/tif_getimage.c:
2130	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
2131	  buffer for alpha strile and filled it, only to never read it back.
2132	  Removed allocation and fill.
2133	- Minor rename of vars in gtTileSeparate and gtStripSeparate
2134	  anticipating planned functionality extension
2135
21362006-04-08  Joris Van Damme  <[email protected]>
2137
2138	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
2139	and pickTileSeparateCase to PickSeparateCase as both work on strips as
2140	well
2141
2142	* libtiff/tif_getimage.c: moved img->get selection from
2143	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
2144	logical hook for planned functionality extension
2145
21462006-04-08  Joris Van Damme  <[email protected]>
2147
2148	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
2149	of inappropriate use of jpeg_abort instead of jpeg_destroy
2150
21512006-04-07  Joris Van Damme  <[email protected]>
2152
2153	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
2154	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
2155	on subsampled images - this ought to get sorted when we feel brave
2156	enough to replace TIFFScanlineSize alltogether
2157
2158	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
2159
21602006-04-04  Joris Van Damme  <[email protected]>
2161
2162	* libtiff/tiffio.h: added new type tstrile_t
2163
2164	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
2165	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
2166	toff_t*
2167
2168	* libtiff/tif_ojpeg.c: totally new implementation
2169
2170	* libtiff/tif_dirread.c: added several hacks to suit new support of
2171	OJPEG
2172
2173	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
2174	of OJPEG images in favor of tif_getimage.c native handling of
2175	YCbCr and desubsampling
2176
21772006-03-29  Frank Warmerdam  <[email protected]>
2178
2179	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
2180	interpretation causes the "upsampled" flag to be recomputed.  Fixes
2181	peculiar bug where photometric flag had to be set before jpegcolormode
2182	flag.
2183
21842006-03-25  Joris Van Damme  <[email protected]>
2185
2186	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
2187
2188	* libtiff/tif_strip.c: temporarilly added two new versions of
2189	TIFFScanlineSize
2190	  - TIFFNewScanlineSize: proposed new version, after all related
2191	    issues and side-effects are sorted out
2192	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
2193	This needs further sorting out.
2194
21952006-03-25  Joris Van Damme  <[email protected]>
2196
2197	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
2198	of last truncated strip data to TIFFWriteEncodedStrip
2199
22002006-03-25  Joris Van Damme  <[email protected]>
2201
2202	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
2203
22042006-03-25  Joris Van Damme  <[email protected]>
2205
2206	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
2207
2208	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
2209
2210	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
2211	prepare	the path for new tif_ojpeg.c
2212
22132006-03-23  Andrey Kiselev  <[email protected]>
2214
2215	* libtiff 3.8.2 released.
2216
2217	* tools/Makefile.am: Use runtime paths linker flags when rpath
2218	option enabled.
2219
22202006-03-21  Andrey Kiselev  <[email protected]>
2221
2222	* libtiff/libtiff.def: Added missed exports as per bug
2223	http://bugzilla.remotesensing.org/attachment.cgi?id=337
2224
2225	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
2226	tools/Makefile.vc: Makefiles improvements as per bug
2227	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
2228
2229	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
2230	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
2231	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
2232
2233	* libtiff/tif_strip.c: Take subsampling in account when calculating
2234	TIFFScanlineSize().
2235
2236	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
2237
22382006-03-17  Andrey Kiselev  <[email protected]>
2239
2240	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
2241	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
2242
2243	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
2244	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
2245
22462006-03-16  Andrey Kiselev  <[email protected]>
2247
2248	* libtiff/tiffiop.h: Added decalration for
2249	_TIFFSetDefaultCompressionState().
2250
2251	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
2252	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
2253	codec cleanup methods. As per bug
2254
2255	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
2256
22572006-03-15  Andrey Kiselev  <[email protected]>
2258
2259	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
2260	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
2261
2262	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
2263	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
2264
2265	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
2266	removed; move here the STRIP_SIZE_DEFAULT macro definition.
2267
2268	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
2269	macro definition.
2270
2271	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
2272
22732006-03-14  Andrey Kiselev  <[email protected]>
2274
2275	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
2276	in TIFFReadDirectory, because it is always set at the start of
2277	function and we allow TIFFs without that tag set.
2278
22792005-03-13  Andrey Kiselev  <[email protected]>
2280
2281	* libtiff 3.8.1 released.
2282
22832006-03-07  Andrey Kiselev  <[email protected]>
2284
2285	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
2286	function as per bug
2287	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2288
2289	* libtiff/tif_dirread.c: More wise check for integer overflow
2290	condition as per bug
2291	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2292
2293	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
2294	Properly restore setfield/getfield methods in cleanup functions. As
2295	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2296
22972006-03-03  Andrey Kiselev  <[email protected]>
2298
2299	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
2300	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
2301
2302	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
2303	TIFFPredictorCleanup() in codec cleanup methods. As per bug
2304
2305	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2306
2307	* libtiff/tif_dirread.c: Fixed integer overflow condition in
2308	TIFFFetchData() function. As per bug
2309
2310	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2311
23122006-03-01  Andrey Kiselev  <[email protected]>
2313
2314	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
2315	TIFFSetField() method, not directly. As per bug
2316
2317	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
2318
2319	* tools/ppm2tiff.c: Added support for PBM files as per bug
2320	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
2321
23222006-02-27  Andrey Kiselev  <[email protected]>
2323
2324	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
2325	to avoid crash as per bug
2326
2327	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
2328
23292006-02-26  Andrey Kiselev  <[email protected]>
2330
2331	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
2332	t2p_sample_rgba_to_rgb() was used in place of each other, that was
2333	resulted in problems with RGBA images with associated alpha.
2334	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
2335
23362006-02-23  Andrey Kiselev  <[email protected]>
2337
2338	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
2339	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
2340
2341	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
2342	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
2343	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
2344
2345	* tools/tiff2ps.c: Properly scale all the pages when converting
2346	multipage TIFF with /width/height/center options set. As per bug
2347
2348	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
2349
23502006-02-15  Andrey Kiselev  <[email protected]>
2351
2352	* tools/tiff2pdf.c: Do not create output file until all option checks
2353	will be done. As per bug
2354
2355	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
2356
2357	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
2358	list of input files as per bug:
2359
2360	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
2361
23622006-02-09  Andrey Kiselev  <[email protected]>
2363
2364	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
2365	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
2366
2367	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
2368	TIFFRGBAImage interface.
2369
2370	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
2371	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
2372
23732006-02-07  Frank Warmerdam  <[email protected]>
2374
2375	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
2376	compressed TIFF files, per submission from Dan Cobra.
2377
23782006-02-07  Andrey Kiselev  <[email protected]>
2379
2380	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
2381	cast values to avoid warnings. As per bug
2382	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
2383
2384	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
2385	appropriate. As per bug
2386	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
2387
2388	* libtiff/tif_aux.c: Fixed type of temporary variable in
2389	_TIFFCheckMalloc() as per bug
2390	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
2391
23922006-02-06  Andrey Kiselev  <[email protected]>
2393
2394	* libtiff/tif_aux.c: Return static array when fetching default
2395	YCbCrCoefficients (another problem, reported a the
2396	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
2397
23982006-02-03  Andrey Kiselev  <[email protected]>
2399
2400	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
2401	YCbCrSubsampling and DotRange tags as per bugs
2402
2403	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
2404	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
2405
2406	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
2407	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
2408
2409	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
2410
24112006-01-23  Andrey Kiselev  <[email protected]>
2412
2413	* libtool related stuff updated from the 2.1a branch.
2414
24152006-01-11  Frank Warmerdam  <[email protected]>
2416
2417	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
2418	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
2419	properly as per bug:
2420	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
2421
24222006-01-09  Bob Friesenhahn  <[email protected]>
2423
2424	* configure.ac: Fix with_default_strip_size comparison as reported
2425	by Norihiko Murase.
2426
24272006-01-08  Bob Friesenhahn  <[email protected]>
2428
2429	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
2430	incorrectly, tests were not actually testing the uninstalled
2431	libtiff.  Now they are.
2432
24332006-01-04  Andrey Kiselev  <[email protected]>
2434
2435	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
2436	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
2437	should be uint32 value.
2438
24392006-01-02  Bob Friesenhahn  <[email protected]>
2440
2441	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
2442	be used if build directory is not the same as source directory.
2443	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
2444	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
2445	and re-sorted tag names in alphabetical order.
2446
24472005-12-29  Andrey Kiselev  <[email protected]>
2448
2449	* libtiff 3.8.0 released.
2450
24512005-12-28  Bob Friesenhahn  <[email protected]>
2452
2453	* tools/bmp2tiff.c (main): Fixed warning regarding returning
2454	inconsistent types from a condition.
2455	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
2456	format.
2457	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
2458
24592005-12-28  Joris Van Damme  <[email protected]>
2460
2461	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
2462
24632005-12-27  Andrey Kiselev  <[email protected]>
2464
2465	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
2466	windows.h, to reduce the compile time.
2467
24682005-12-26  Bob Friesenhahn  <[email protected]>
2469
2470	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
2471
24722005-12-26  Andrey Kiselev  <[email protected]>
2473
2474	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
2475	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
2476	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
2477	private functions to retrieve FieldInfo arrays.
2478
24792005-12-24  Bob Friesenhahn  <[email protected]>
2480
2481	* html/build.html: Added some additional instructions for when
2482	building using MSVC under Windows.  Also fixed two HTML syntax
2483	errors and used HTML Tidy to tidy up the HTML syntax and
2484	formatting.
2485
24862005-12-24  Andrey Kiselev  <[email protected]>
2487
2488	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
2489	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
2490	StoNits tags custom.
2491
24922005-12-23  Andrey Kiselev  <[email protected]>
2493
2494	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
2495	WhitePoint tag custom.
2496
2497	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
2498
24992005-12-23  Joris Van Damme  <[email protected]>
2500
2501	* libtiff/tiffio.h: fixed typo that potentially resulted in
2502	redefininition of USE_WIN32_FILEIO
2503
2504	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
2505	calls in core LibTiff.
2506
25072005-12-21  Andrey Kiselev  <[email protected]>
2508
2509	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
2510	Photoshop and ICCProfile tags custom.
2511
25122005-12-21  Joris Van Damme  <[email protected]>
2513
2514	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
2515	newer code to get context indicator in error handler and still
2516	remain compatible with older code: Done TIFFError calls everywhere
2517	except in tools
2518
25192005-12-20  Andrey Kiselev  <[email protected]>
2520
2521	* tools/tiffcp.c: Added many error reporting messages; fixed integer
2522	overflow as per bug
2523
2524	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
2525
25262005-12-16  Frank Warmerdam  <[email protected]>
2527
2528	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
2529	YCbCr images in jpeg compressed TIFF files.
2530
25312005-12-14  Andrey Kiselev  <[email protected]>
2532
2533	* tools/tiffcp.c: Return non-zero status when reading fails (again).
2534
25352005-12-13  Andrey Kiselev  <[email protected]>
2536
2537	* tools/tiffcp.c: Return non-zero status when reading fails.
2538
25392005-12-12  Andrey Kiselev  <[email protected]>
2540
2541	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
2542
25432005-12-09  Andrey Kiselev  <[email protected]>
2544
2545	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
2546	custom.
2547
2548	* tools/tiffinfo.c: Print EXIF directory contents if exist.
2549
2550	* libtiff/tiff.h: Few EXIF tag numbers added.
2551
2552	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
2553	tiffio.h}: Preliminary support to read custom directories. New
2554	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
2555
25562005-12-07  Andrey Kiselev  <[email protected]>
2557
2558	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
2559	More work to implement custom directory read support.
2560
2561	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
2562	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
2563	tags custom.
2564
25652005-12-05  Andrey Kiselev  <[email protected]>
2566
2567	* libtiff/tif_dirread.c: One more workaround for broken
2568	StripByteCounts tag. Handle the case when StripByteCounts array filled
2569	with completely wrong values.
2570
25712005-11-30  Andrey Kiselev  <[email protected]>
2572
2573	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
2574	in the TIFFOpenW() function as per bug
2575
2576	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
2577
2578	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
2579	functions as per bug
2580
2581	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
2582
25832005-11-20  Frank Warmerdam  <[email protected]>
2584
2585	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
2586	for MS MDI format.
2587	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
2588
2589	* .cvsignore: many files added, and a few update according
2590	to suggestion of Brad HArds on tiff mailing list.
2591
25922005-11-03  Frank Warmerdam  <[email protected]>
2593
2594	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
2595	public.
2596
25972005-10-31  Andrey Kiselev  <[email protected]>
2598
2599	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
2600	as per bug
2601
2602	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
2603
2604	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
2605	as per bug
2606
2607	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
2608
2609	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
2610	problem as per bug
2611
2612	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
2613
2614	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
2615
2616	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
2617
2618	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
2619	ResolutionUnit tags modifiable during write process. As per bug
2620
2621	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
2622
2623	* tools/tiffsplit.c: Copy fax related fields over splitted parts
2624	as per bug
2625
2626	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
2627
26282005-10-21  Frank Warmerdam  <[email protected]>
2629
2630	* tif_dirread.c: Don't try and split single strips into "0" strips
2631	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
2632	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
2633
26342005-10-20  Joris Van Damme  <[email protected]>
2635
2636	* tif_fax3.c: changed 'at scanline ...' style warning/errors
2637	with incorrect use of tif_row, to 'at line ... of
2638	strip/tile ...' style
2639
26402005-10-15  Frank Warmerdam  <[email protected]>
2641
2642	* tif_write.c: fixed setting of planarconfig as per bug report
2643	on the mailing list from Joris.
2644
26452005-10-07  Andrey Kiselev  <[email protected]>
2646
2647	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
2648	tif_dirread.c}: Make the default strip size configurable via the
2649	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
2650
26512005-09-30  Bob Friesenhahn  <[email protected]>
2652
2653	* html/support.html: Fixed link to documentation on Greg Ward's
2654	LogLuv TIFF format.
2655
26562005-09-28  Andrey Kiselev  <[email protected]>
2657
2658	* tools/tiffdump.c: Fixed crash when reading malformed tags.
2659
26602005-09-20  Andrey Kiselev  <[email protected]>
2661
2662	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
2663	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
2664
26652005-09-12  Andrey Kiselev  <[email protected]>
2666
2667	* libtiff 3.7.4 released.
2668
2669	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
2670	from Patrick Welche (all scripts moved in the 'config' and 'm4'
2671	directories).
2672
26732005-09-12  Frank Warmerdam  <[email protected]>
2674
2675	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
2676
26772005-09-05  Frank Warmerdam  <[email protected]>
2678
2679	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
2680	also set it to NULL to avoid double free when re-setting custom
2681	string fields as per:
2682
2683	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
2684
26852005-08-12  Frank Warmerdam  <[email protected]>
2686
2687	* libtiff/tif_print.c: avoid signed/unsigned warning.
2688
2689	* libtiff/tif_dirread.c: removed unused variable.
2690
26912005-07-30  Frank Warmerdam  <[email protected]>
2692
2693	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
2694	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
2695	pass on bigendian (macosx) system.
2696
26972005-07-28  Andrey Kiselev  <[email protected]>
2698
2699	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
2700	CheckMalloc() function to _TIFFCheckMalloc() and make it available
2701	globally as an internal helper routine.
2702
27032005-07-27  Andrey Kiselev  <[email protected]>
2704
2705	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
2706	the custom tags handling code.
2707
27082005-07-26  Andrey Kiselev  <[email protected]>
2709
2710	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
2711	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
2712	function, use TIFFFetchNormalTag() instead as per bug
2713
2714	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
2715
2716	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
2717	instead.
2718
2719	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
2720
2721	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2722
27232005-07-25  Andrey Kiselev  <[email protected]>
2724
2725	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
2726
2727	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
2728
27292005-07-21  Andrey Kiselev  <[email protected]>
2730
2731	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
2732	the TIFFWriteCheck() function in case of single band images (as per
2733	TIFF spec).
2734
27352005-07-12  Andrey Kiselev  <[email protected]>
2736
2737	* SConstruct, libtiff/SConstruct: Added the first very preliminary
2738	support for SCons software building tool (http://www.scons.org/).
2739	This is experimental infrastructure and it will exist along with the
2740	autotools mechanics.
2741
27422005-07-07  Andrey Kiselev  <[email protected]>
2743
2744	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
2745	the NetBSD source tree (the old	4-clause BSD license changed to
2746	the new 3-clause one).
2747
2748	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
2749	replacement module.
2750
2751	* port/dummy.c: Make the dummy function static.
2752
27532005-07-06  Andrey Kiselev  <[email protected]>
2754
2755	* tools/tiffcp.c: Fixed WhitePoint tag copying.
2756
2757	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
2758	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
2759	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
2760
27612005-07-04  Andrey Kiselev  <[email protected]>
2762
2763	* libtiff 3.7.3 released.
2764
2765	* configure, configure.ac: Do not use empty -R option when linking
2766	with --enable-rpath.
2767
27682005-07-01  Andrey Kiselev  <[email protected]>
2769
2770	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
2771	reading the first IFD when needed. As per bug
2772
2773	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
2774
2775	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
2776	effects.
2777
27782005-06-23  Andrey Kiselev  <[email protected]>
2779
2780	* tools/tiff2pdf.c: Print two characters per loop in the
2781	t2p_write_pdf_trailer(). As per bug
2782
2783	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
2784
2785	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
2786	per bug
2787
2788	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
2789
2790	* acinclude.m4: Updated to latest OpenGL test macros versions.
2791
2792	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
2793	platform. As per bug
2794
2795	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
2796
27972005-06-14  Andrey Kiselev  <[email protected]>
2798
2799	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
2800	and YClipPathUnits tags.
2801
28022005-06-07  Andrey Kiselev  <[email protected]>
2803
2804	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
2805	use pixel sized shift in contigous case.
2806
28072005-06-06  Andrey Kiselev  <[email protected]>
2808
2809	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
2810	Make overviews working for contiguos images.
2811
28122005-06-03  Andrey Kiselev  <[email protected]>
2813
2814	* libtiff/tif_open.c: Replace runtime endianess check with the compile
2815	time one.
2816
2817	* libtiff/tif_predict.c: Floating point predictor now works on
2818	big-endian hosts.
2819
28202005-06-01  Andrey Kiselev  <[email protected]>
2821
2822	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
2823	ASCII values.
2824
2825	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
2826	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
2827	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
2828	TargetPrinter tags custom.
2829
2830	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
2831	TIFF_CODERSETUP flag (to fix memry leaks).
2832
2833	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
2834	allocating.
2835
28362005-05-26  Andrey Kiselev  <[email protected]>
2837
2838	* configure.ac, libtiff/Makefile.am: Added workaround for
2839	OpenBSD/MirOS soname problem as per bug
2840
2841	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
2842
2843	* libtiff/tif_dirwrite.c: Use tdir_count when calling
2844	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
2845	per bug
2846
2847	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
2848
28492005-05-25  Andrey Kiselev  <[email protected]>
2850
2851	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
2852	the fscanf() function. As per bug
2853
2854	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
2855
2856	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
2857	uint16 array when fetching the BYTE and SBYTE filds, so we should
2858	consider result as pointer to uint16 array and not as array of chars.
2859	As per bug
2860
2861	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
2862
2863	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
2864
2865	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
2866
2867	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
2868	mode in CreateFile() call as per bug
2869
2870	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
2871
2872	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
2873	libtiffxx libraries as per bug
2874
2875	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
2876
2877	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
2878	GDAL.
2879
28802005-05-23  Frank Warmerdam  <[email protected]>
2881
2882	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
2883	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
2884	in directory.
2885
28862005-05-22  Frank Warmerdam  <[email protected]>
2887
2888	* libtiff/tif_dirread.c: Changed the code that computes
2889	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
2890	zero. This is a common case with GDAL indicating a "null" tile/strip.
2891
28922005-05-17  Andrey Kiselev  <[email protected]>
2893
2894	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
2895
28962005-05-06  Frank Warmerdam  <[email protected]>
2897
2898	* libtiff/tif_dirread.c: Applied similar change to
2899	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
2900
2901	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2902
2903	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
2904
29052005-05-06  Andrey Kiselev  <[email protected]>
2906	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
2907	added new option '-b' to use interpolation in output PDF files (Bruno
2908	Ledoux).
2909
29102005-05-05  Frank Warmerdam  <[email protected]>
2911
2912	* libtiff/tif_dirread.c: Ensure that broken files with too many
2913	values in PerSampleShorts work ok instead of crashing.
2914
2915	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2916
29172005-04-27  Andrey Kiselev  <[email protected]>
2918
2919	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
2920	input file.
2921
29222005-04-15  Andrey Kiselev  <[email protected]>
2923
2924	* libtiff/tif_predict.c: Added ability to encode floating point
2925	predictor, as per TIFF Technical Note 3.
2926
29272005-04-14  Andrey Kiselev  <[email protected]>
2928
2929	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
2930	floating point predictor, as per TIFF Technical Note 3.
2931
29322005-04-13  Andrey Kiselev  <[email protected]>
2933
2934	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
2935	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
2936	swap 24-bit floating point values.
2937
2938	* libtiff/tiff.h: Added predictor constants.
2939
29402005-04-08  Andrey Kiselev  <[email protected]>
2941
2942	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
2943	values in _TIFFVSetField() function. Inspired by the bug
2944
2945	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2946
2947	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
2948	as per bug
2949
2950	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2951
29522005-03-30  Andrey Kiselev  <[email protected]>
2953
2954	* libtiff/tif_open.c: Do not read header in case the output file
2955	should be truncated (Ron).
2956
2957	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
2958	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
2959
2960	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
2961
29622005-03-22  Andrey Kiselev  <[email protected]>
2963
2964	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
2965	rpath option.
2966
29672005-03-21  Andrey Kiselev  <[email protected]>
2968
2969	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
2970	tags.
2971
29722005-03-18  Andrey Kiselev  <[email protected]>
2973
2974	* libtiff/dirinfo.c: Added DNG tags.
2975
2976	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
2977	handling code.
2978
2979	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
2980	added DNG 1.1.0.0 tags.
2981
2982	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
2983	bug
2984
2985	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
2986
2987	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
2988
29892005-03-17  Andrey Kiselev  <[email protected]>
2990
2991	* nmake.opt: Build with Win32 CRT library by default.
2992
2993	* tools/tiff2ps.c: Fixed typo in page size handling code.
2994
2995	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
2996	by value.
2997
2998	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
2999
30002005-03-15  Andrey Kiselev  <[email protected]>
3001
3002	* libtiff 3.7.2 released.
3003
30042005-03-09  Andrey Kiselev  <[email protected]>
3005
3006	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
3007	floating point data; complain on unsupported bit depths.
3008
30092005-03-05  Andrey Kiselev  <[email protected]>
3010
3011	* tif_stream.cxx: Use ios namespace instead of ios_base to support
3012	GCC 2.95.
3013
3014	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
3015	Lee Howard for HylaFax DCS tag
3016	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
3017
30182005-03-04  Andrey Kiselev  <[email protected]>
3019
3020	* configure, configure.ac: Use -rpath option instead of -R as per bug
3021
3022	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
3023
3024	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
3025	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
3026	software. As per bug
3027
3028	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
3029
3030	* nmake.opt, html/build.html: Add more comments, change the config
3031	file organization a bit as per bug
3032
3033	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
3034
3035	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
3036	as per bug
3037
3038	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
3039
30402005-03-03  Andrey Kiselev  <[email protected]>
3041
3042	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
3043	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
3044
3045	* tools/fax2ps.c: Replace insecure mktemp() function with the
3046	tmpfile() as per bug
3047
3048	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
3049
30502005-02-04  Andrey Kiselev  <[email protected]>
3051
3052	* libtiff/tiff.h: Changed the int8 definition to be always signed char
3053	as per bug
3054
3055	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
3056
3057	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
3058	block as per bug
3059
3060	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
3061
30622005-02-03  Bob Friesenhahn  <[email protected]>
3063
3064	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
3065	display more correctly.  Images display brighter than they should
3066	on a Sun workstation.
3067
30682005-02-03  Andrey Kiselev  <[email protected]>
3069
3070	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
3071	suspicious values in the tags. As per bugs
3072
3073	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
3074
3075	and
3076
3077	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3078
3079	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
3080
3081	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
3082
30832005-01-31  Bob Friesenhahn  <[email protected]>
3084
3085	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
3086	(TIFFTAG_TILELENGTH): Corrected description.
3087
30882005-01-30  Andrey Kiselev  <[email protected]>
3089
3090	* configure.ac: Fixes for --with-docdir option as per bug
3091
3092	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
3093
3094	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
3095	bug
3096
3097	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
3098
3099	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
3100	Michael Rinne and Edward Lam.
3101
31022005-01-15  Andrey Kiselev  <[email protected]>
3103
3104	* configure.ac: Make the documentation directory location configurable
3105	via the --with-docdir option (as suggested by Jeremy C. Reed).
3106
3107	* libtiff/tif_color.c: Use double as the second argument of pow()
3108	function in TIFFCIELabToRGBInit(). As per bug
3109
3110	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
3111
3112	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
3113	integer as per bug
3114
3115	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
3116
3117	* libtiff/tif_getimage.c: Always fill the error message buffer in
3118	TIFFRGBAImageBegin() as per bug
3119
3120	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
3121
31222005-01-12  Andrey Kiselev  <[email protected]>
3123
3124	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
3125	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
3126	tags as per bug
3127
3128	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
3129
3130	* libtiff/tif_win32.c: Fixed message formatting in functions
3131	Win32WarningHandler() and Win32ErrorHandler() as per bug
3132
3133	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
3134
3135	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
3136	per bug
3137
3138	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
3139
31402005-01-11  Andrey Kiselev  <[email protected]>
3141
3142	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
3143	"C"' section as per bug
3144
3145	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
3146
3147	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
3148	compiler to avoid double definition of BSD types as per bug
3149
3150	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3151
3152	* libtiff/Makefile.am: Place the C++ stream API in the separate
3153	library called libtiffxx to avoid unneeded dependencies. Probably
3154	there will be more C++ API in the future. As per bugs
3155
3156	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
3157
3158	and
3159
3160	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
3161
31622005-01-05  Andrey Kiselev  <[email protected]>
3163
3164	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
3165	wrong tag counts (Dmitry V. Levin, Martin Pitt).
3166
3167	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
3168	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
3169
31702004-12-25  Andrey Kiselev  <[email protected]>
3171
3172	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
3173	RGB-images as per bug
3174
3175	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
3176
3177
3178	* tools/tiffset.c: Convert character option to integer value as per
3179	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
3180
31812004-12-20  Andrey Kiselev  <[email protected]>
3182
3183	* libtiff 3.7.1 released.
3184
3185	* html/tiffset.1.html: Add missed manual page as per bug
3186
3187	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
3188
3189	* libtiff/tiff.h: Revert back libtiff data type definitions as per
3190	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
3191
31922004-12-19  Andrey Kiselev  <[email protected]>
3193
3194	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
3195	checking for tag count in TIFFReadDirectory() function. As per bug
3196
3197	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
3198
3199	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
3200	CheckMallock() function.
3201
3202	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
3203	RGB-images as per bug
3204
3205	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
3206
32072004-12-15  Frank Warmerdam  <[email protected]>
3208
3209	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
3210	SunPro compiler.
3211
32122004-12-11  Bob Friesenhahn  <[email protected]>
3213
3214	* autogen.sh: aclocal and autoheader should be executed after
3215	libtoolize.  Also add '-I .' to aclocal invocation to check
3216	current directory for macros.
3217
32182004-12-10  Andrey Kiselev  <[email protected]>
3219
3220	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
3221	as per bugs
3222
3223	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
3224
3225	and
3226
3227	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
3228
32292004-12-04  Andrey Kiselev  <[email protected]>
3230
3231	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
3232
3233	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
3234
3235	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
3236	mode as per bug
3237
3238	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
3239
3240	* libtiff/tif_config.in.vc: Removed unneded definitions for
3241	read/open/close/lseek functions to fix the
3242
3243	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
3244
32452004-12-03  Andrey Kiselev  <[email protected]>
3246
3247	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
3248	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
3249	must be removed in the future, as it was never used properly. As per
3250	bug
3251
3252	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
3253
32542004-11-30  Bob Friesenhahn  <[email protected]>
3255
3256	* libtiff/tif_jpeg.c: Added a work-around in order to allow
3257	compilation with the heavily modified version of libjpeg delivered
3258	with Cygwin.
3259
32602004-11-29  Andrey Kiselev  <[email protected]>
3261
3262	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
3263	counts. As per bug
3264
3265	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
3266
3267	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
3268
3269	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
3270
32712004-11-28  Andrey Kiselev  <[email protected]>
3272
3273	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
3274	on Windows.
3275
3276	* nmake.opt: Add missed DLLNAME variable.
3277
32782004-11-26  Frank Warmerdam  <[email protected]>
3279
3280	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
3281
32822004-11-24  Andrey Kiselev  <[email protected]>
3283
3284	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
3285	per bug
3286
3287	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
3288
3289	* man/tiffset.1: Added manual page for tiffset tool written by Jay
3290	Berkenbilt. As per bug
3291
3292	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
3293
32942004-11-23  Frank Warmerdam  <[email protected]>
3295
3296	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
3297
32982004-11-21  Frank Warmerdam  <[email protected]>
3299
3300	* html/document.html: Updated Adobe web links as per email from Joris.
3301
33022004-11-21  Andrey Kiselev  <[email protected]>
3303
3304	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
3305	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
3306	use C++ streams should #include <tiffio.hxx>.
3307
33082004-11-13  Andrey Kiselev  <[email protected]>
3309
3310	* libtiff/tiff.h: Added Adobe DNG tags.
3311
3312	* libtiff/tif_win32.c: Typo fixed.
3313
3314	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
3315	be compliant with the latest standard. Appropriate additions in
3316	makefiles now completed.
3317
33182004-11-11  Andrey Kiselev  <[email protected]>
3319
3320	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
3321	different tag types. As per bug
3322
3323	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
3324
33252004-11-10  Andrey Kiselev  <[email protected]>
3326
3327	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
3328	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
3329
33302004-11-09  Andrey Kiselev  <[email protected]>
3331
3332	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
3333
33342004-11-07  Andrey Kiselev  <[email protected]>
3335
3336	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
3337	contributed by Edward Lam (see
3338	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
3339	Though no changes in any makefiles yet.
3340
33412004-11-05  Frank Warmerdam  <[email protected]>
3342
3343	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
3344	is bad. This is the callers responsibility.
3345	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
3346
33472004-11-05  Andrey Kiselev  <[email protected]>
3348
3349	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
3350	function to work with the double byte strings (used to represent
3351	filenames in some locales). As per bug
3352
3353	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
3354
3355	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
3356	Compression tags of type LONG from broken TIFFS as per bug
3357
3358	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
3359
3360	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
3361	the writecount should have uint32 type. As per bug
3362
3363	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
3364
3365	* libtiff/tif_write.c: Fixed wrong if() statement in
3366	TIFFAppendToStrip() function as per bug
3367
3368	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
3369
33702004-11-04  Andrey Kiselev  <[email protected]>
3371
3372	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
3373	field. The caller should supply a count when setting this field. As
3374	per bug
3375
3376	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
3377
3378	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
3379	uint32 count. Use this type everywhere.
3380
33812004-11-03  Frank Warmerdam  <[email protected]>
3382
3383	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
3384
33852004-11-02  Frank Warmerdam  <[email protected]>
3386
3387	* tools/tiff2rgba.c: removed extra newlines in usage message.
3388
33892004-10-30  Andrey Kiselev  <[email protected]>
3390
3391	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
3392
3393	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
3394	tags (Tristan Hill).
3395
33962004-10-30  Frank Warmerdam  <[email protected]>
3397
3398	* libtiff/tiffiop.h: added fallback definition of assert() if we
3399	don't have assert.h.
3400
34012004-10-29  Andrey Kiselev  <[email protected]>
3402
3403	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
3404	choosing when the incorrect Group4Options tag set. As per bug
3405
3406	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
3407
3408	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
3409	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
3410	TIFFWriteNormalTag().
3411
34122004-10-28  Andrey Kiselev  <[email protected]>
3413
3414	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
3415	tags (Peter Fales).
3416
3417	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
3418
34192004-10-28  Frank Warmerdam  <[email protected]>
3420
3421	* tools/tiff2pdf.c: added casts to avoid warnings.
3422
3423	* libtiff/libtiff.def: Added several more entry points required
3424	to link fax2tiff.c against the DLL on windows.
3425
34262004-10-27  Andrey Kiselev  <[email protected]>
3427
3428	* configure, configure.ac: Added --enable-rpath option to embed linker
3429	paths into library binary.
3430
34312004-10-26  Andrey Kiselev  <[email protected]>
3432
3433	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
3434
3435	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
3436	(Vladimir Nadvornik, Dmitry V. Levin).
3437
34382004-10-16  Andrey Kiselev  <[email protected]>
3439
3440	* libtiff 3.7.0 released.
3441
34422004-10-15  Bob Friesenhahn  <[email protected]>
3443
3444	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
3445	in this file so its inclusion is removed.  Including stdio.h
3446	sometimes incurs an INT32 typedef conflict between MinGW's
3447	basetsd.h and libjpeg's jmorecfg.h.
3448
34492004-10-15  Andrey Kiselev  <[email protected]>
3450
3451	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
3452
34532004-10-13  Bob Friesenhahn  <[email protected]>
3454
3455	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
3456	conflict noticed under MinGW.
3457	* ltmain.sh: Fix for MinGW compilation.
3458
34592004-10-13  Frank Warmerdam  <[email protected]>
3460
3461	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
3462	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
3463
34642004-10-12  Andrey Kiselev  <[email protected]>
3465
3466	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
3467	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
3468	properly (Dmitry V. Levin, Marcus Meissner).
3469
34702004-10-11  Andrey Kiselev  <[email protected]>
3471
3472	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
3473	to TIFF_IFD.
3474
34752004-10-10  Andrey Kiselev  <[email protected]>
3476
3477	* tools/bmp2tif.c: Check the space allocation results.
3478
34792004-10-09  Andrey Kiselev  <[email protected]>
3480
3481	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
3482	of the TIFFDirectory structure with the 0 instead of -1 to avoid
3483	confusing integer overflows in TIFFTileRowSize() for striped images.
3484
3485	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
3486	by Ross A. Finlayson.
3487
3488	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
3489
3490	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
3491
34922004-10-08  Frank Warmerdam  <[email protected]>
3493
3494	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
3495	of tif_fieldinfo.
3496
3497	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
3498
34992004-10-04  Bob Friesenhahn  <[email protected]>
3500
3501	* contrib/iptcutil/README: Added the missing README which goes
3502	along with iptcutil.
3503
35042004-10-03  Andrey Kiselev  <[email protected]>
3505
3506	* libtiff/tif_compress.c: Improved error reporting in
3507	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
3508
35092004-10-02  Andrey Kiselev  <[email protected]>
3510
3511	* libtiff 3.7.0beta2 released.
3512
3513	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
3514	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
3515	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
3516	allocations and	integer overflows (Dmitry V. Levin).
3517
3518	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
3519
35202004-10-01  Frank Warmerdam  <[email protected]>
3521
3522	* libtiff/tif_open.c: added a more informative message if a BigTIFF
3523	file is opened.
3524
35252004-09-30  Frank Warmerdam  <[email protected]>
3526
3527	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
3528	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
3529	in the Adobe XMP Specification.
3530
35312004-09-29  Andrey Kiselev  <[email protected]>
3532
3533	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
3534	memset().
3535
3536	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
3537	from Dmitry V. Levin to fix possible integer overflow problems.
3538
35392004-09-28  Andrey Kiselev  <[email protected]>
3540
3541	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
3542	(Dmitry V. Levin).
3543
35442004-09-26  Andrey Kiselev  <[email protected]>
3545
3546	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
3547	Optimize checking for the strip bounds.
3548
3549	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
3550	TIFFRasterScanlineSize() functions report zero in the case of integer
3551	overflow now. Properly handle this case in TIFFReadDirectory()
3552	(patches from Dmitry V. Levin).
3553
35542004-09-25  Andrey Kiselev  <[email protected]>
3555
3556	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
3557	macro where appropriate.
3558
3559	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
3560	noted by Gennady Khokhorin.
3561
3562	* libtiff/tif_dirread.c: Always check the return values, returned
3563	by the _TIFFmalloc() (Dmitry V. Levin).
3564
3565	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
3566	functions (Dmitry V. Levin).
3567
3568	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
3569	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
3570	TIFFGrowStrips() (found by Dmitry V. Levin).
3571
35722004-09-24  Andrey Kiselev  <[email protected]>
3573
3574	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
3575	to get the list of configured codecs.
3576
3577	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
3578	Dmitry V. Levin.
3579
35802004-09-23  Andrey Kiselev  <[email protected]>
3581
3582	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
3583	possible integer overflow in CheckMalloc() function.
3584
35852004-09-22  Andrey Kiselev  <[email protected]>
3586
3587	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
3588	of plain TIFFhowmany() where appropriate.
3589
35902004-09-21  Andrey Kiselev  <[email protected]>
3591
3592	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
3593
35942004-09-19  Andrey Kiselev  <[email protected]>
3595
3596	* libtiff 3.7.0beta released.
3597
3598	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
3599	overruns fixed, as noted by Chris Evans.
3600
36012004-09-14  Bob Friesenhahn  <[email protected]>
3602
3603	* commit: Added a script to make it more convenient to commit
3604	updates.  The CVS commit message is extracted from this ChangeLog
3605	file.
3606
36072004-09-14  Andrey Kiselev  <[email protected]>
3608
3609	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
3610	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
3611	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
3612	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
3613	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
3614	tif_config.h.in, tiffiop.h}:
3615	Get rid of BSD data types (u_char, u_short, u_int, u_long).
3616
36172004-09-13  Bob Friesenhahn  <[email protected]>
3618
3619	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
3620	specification. Reference libtiff bug tracking system to submit
3621	private tag additions.
3622
36232004-09-12  Bob Friesenhahn  <[email protected]>
3624
3625	* tools/tiffgt.c: Include "tif_config.h".
3626
3627	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
3628	tiffgt.  This results in the 'compile' script being added to the
3629	project.
3630
3631	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
3632	required to find OpenGL headers necessary to build tiffgt.  Also
3633	ensure that the libtiff that we built is used rather than some other
3634	libtiff installed on the system.
3635
36362004-09-12  Andrey Kiselev  <[email protected]>
3637
3638	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
3639	libraries.
3640
36412004-09-11  Bob Friesenhahn  <[email protected]>
3642
3643	* configure.ac: Pass library configuration defines via
3644	tif_config.h rather than extending CPPFLAGS. Configure a
3645	libtiff/tiffconf.h in order to satisfy application requirements
3646	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
3647	this causes failure to build on systems which properly respect
3648	this request.
3649
3650	* libtiff/tiffconf.h.in: New file to act as the template for the
3651	configured tiffconf.h
3652
3653	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
3654
36552004-09-10  Frank Warmerdam  <[email protected]>
3656
3657	* html/internals.html: Split off a discussion of adding new tags
3658	into addingtags.html.
3659
36602004-09-10  Andrey Kiselev  <[email protected]>
3661
3662	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
3663
3664	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
3665
3666	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3667
3668	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
3669
3670	* libtiff/tif_dirread.c: Don't reject to read tags of the
3671	SamplesPerPixel size when the tag count is greater than number of
3672	samples as per bug
3673
3674	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
3675
3676	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
3677	defining int8/uint8/... etc. types. As per bug
3678
3679	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
3680
36812004-09-09  Frank Warmerdam  <[email protected]>
3682
3683	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
3684	to avoid compile warnings about getopt() and a few other things.
3685
36862004-09-02  Andrey Kiselev  <[email protected]>
3687
3688	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
3689	assigning magic in TIFFFetchFloat().
3690
36912004-09-01  Andrey Kiselev  <[email protected]>
3692
3693	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
3694	to avoid requirement for tiffiop.h inclusion in some applications. See
3695	here
3696
3697	http://www.asmail.be/msg0054799560.html
3698
3699	for details.
3700
3701	* tools/fax2tiff.c: Use the new functions in the code.
3702
37032004-08-25  Andrey Kiselev  <[email protected]>
3704
3705	* tools/tiff2pdf.c: Initialize arrays properly.
3706
3707	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
3708	properly initialize array in PSDataBW().
3709
37102004-08-24  Andrey Kiselev  <[email protected]>
3711
3712	* tools/tiff2pdf.c: More fixes for bug
3713
3714	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3715
3716	from Ross Finlayson.
3717
37182004-08-23  Andrey Kiselev  <[email protected]>
3719
3720	* tools/tiff2ps.c: Fixed problem with uninitialized values.
3721
3722	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
3723	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
3724
3725	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
3726
3727	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3728
37292004-08-20  Andrey Kiselev  <[email protected]>
3730
3731	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
3732	that the input file has compression, photometric interpretation,
3733	etcetra, tags or if not than a more descriptive error is returned.
3734
3735	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
3736	code, responsible for tag data type checking.
3737
37382004-08-19  Andrey Kiselev  <[email protected]>
3739
3740	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
3741	variable as per bug
3742
3743	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
3744
37452004-08-16  Andrey Kiselev  <[email protected]>
3746
3747	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
3748	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
3749
37502004-08-01  Andrey Kiselev  <[email protected]>
3751
3752	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
3753	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
3754
37552004-07-24  Andrey Kiselev  <[email protected]>
3756
3757	* libtiff/tif_lzw.c: LZW compression code is merged back from the
3758	separate package. All libtiff tools are updated to not advertise an
3759	abcence of LZW support.
3760
37612004-07-12  Andrey Kiselev  <[email protected]>
3762
3763	* libtiff/tiffio.h: Revert thandle_t back to void* type.
3764
37652004-07-11  Andrey Kiselev  <[email protected]>
3766
3767	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
3768	messages, as suggested by Bernd Herd.
3769
37702004-07-03  Andrey Kiselev  <[email protected]>
3771
3772	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
3773	when setting custom tags by value. Reported by Eric Fieleke.
3774
37752004-06-14  Andrey Kiselev  <[email protected]>
3776
3777	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
3778
37792004-06-08  Andrey Kiselev  <[email protected]>
3780
3781	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
3782	into TIFFs.
3783
37842004-06-07  Andrey Kiselev  <[email protected]>
3785
3786	* libtiff 3.7.0alpha released.
3787
37882004-06-06  Andrey Kiselev  <[email protected]>
3789
3790	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
3791	of ugly 64-bit hacks, replace them with the clever (autoconf based )
3792	ones :-).
3793
3794	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
3795	problems in 64-bit environment).
3796
37972004-06-05  Andrey Kiselev  <[email protected]>
3798
3799	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
3800	Tags can be supplied by the mnemonic name or number.
3801
3802	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
3803	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
3804
38052004-05-27  Andrey Kiselev  <[email protected]>
3806
3807	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
3808	markers as per bug
3809
3810	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
3811
38122004-05-24  Andrey Kiselev  <[email protected]>
3813
3814	* tools/tiffsplit.c: Don't forget to copy Photometric
3815	Interpretation tag.
3816
38172004-05-20  Andrey Kiselev  <[email protected]>
3818
3819	* libtiff/{tif_open.c, tiffio.h}: New function added:
3820	TIFFIsBigEndian(). Function returns nonzero if given was file written
3821	in big-endian order.
3822
3823	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
3824	files. Now output files will be written using the same byte order
3825	flag as	in the input image. See
3826
3827	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
3828
3829	for details.
3830
38312004-05-19  Frank Warmerdam  <[email protected]>
3832
3833	* libtiff/tif_print.c: added (untested) support for printing
3834	SSHORT, SLONG and SRATIONAL fields.
3835
3836	* tools/tiffcp.c: close output file on normal exit.
3837
38382004-05-17  Andrey Kiselev  <[email protected]>
3839
3840	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
3841	if compression type mismatches. See
3842
3843	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
3844
38452004-04-30  Andrey Kiselev  <[email protected]>
3846
3847	* libtiff/tif_strip.c: Never return 0 from the
3848	TIFFNumberOfStrips().
3849
38502004-04-29  Andrey Kiselev  <[email protected]>
3851
3852	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
3853	store single SampleFormat value for multisampled images. See
3854
3855	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
3856
38572004-04-25  Andrey Kiselev  <[email protected]>
3858
3859	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
3860	int16 and int32 types to avoid complains on some compilers. Details at
3861
3862	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3863
38642004-04-20  Andrey Kiselev  <[email protected]>
3865
3866	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
3867
3868	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
3869
38702004-04-14  Andrey Kiselev  <[email protected]>
3871
3872	* libtiff/tif_write.c: Allow in-place updating of the compressed
3873	images (don't work properly with all codecs). For details see GDAL bug
3874
3875	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
3876
38772004-04-06  Andrey Kiselev  <[email protected]>
3878
3879	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
3880	in the Intergarph JPEG compressed TIFF images as per bug:
3881
3882	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
3883
38842004-04-04  Frank Warmerdam  <[email protected]>
3885
3886	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
3887	via bad2.
3888
38892004-03-26  Andrey Kiselev  <[email protected]>
3890
3891	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
3892	JPEG compression of grayscale images.
3893
3894	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
3895	present in the input image.
3896
38972004-03-19  Andrey Kiselev  <[email protected]>
3898
3899	* {many}: The first attempt to switch to autotools.
3900
39012004-03-03  Andrey Kiselev  <[email protected]>
3902
3903	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
3904	TIFFClientOpen() when the appropriate client functions was not
3905	supplied by user.
3906
39072004-03-02  Frank Warmerdam  <[email protected]>
3908
3909	* tools/ycbcr.c: fixed main() declaration as per:
3910	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
3911
39122004-02-26  Andrey Kiselev  <[email protected]>
3913
3914	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
3915	images. Reported by Artem Mirolubov.
3916
3917	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
3918	tag type in TIFFFetchNormalTag() as per bug
3919
3920	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
3921
39222004-02-17  Frank Warmerdam  <[email protected]>
3923
3924	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
3925	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
3926
39272004-02-05  Andrey Kiselev  <[email protected]>
3928
3929	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
3930	bug
3931
3932	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
3933
3934	But we need more work on fax codec to support update mode.
3935
39362004-01-30  Frank Warmerdam  <[email protected]>
3937
3938	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
3939	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
3940	Scott Reynolds.
3941
39422004-01-29  Andrey Kiselev  <[email protected]>
3943
3944	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
3945	and TIFFTAG_INDEXED as per bug
3946
3947	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
3948
3949	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
3950	NULL before proceeding further as per bug
3951
3952	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
3953
3954	Check results, returned by the TIFFFdOpen() before returning and close
3955	file if TIFFFdOpen() failed as per bug
3956
3957	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3958
3959	* libtiff/tif_open.c: More fixes for
3960
3961	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3962
39632004-01-28  Andrey Kiselev  <[email protected]>
3964
3965	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
3966	TIFFCleanup() from the TIFFClose() in order to fix the bug
3967
3968	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3969
3970	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
3971	InkNames tag as per bug
3972
3973	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
3974
3975	Memory leak fixed.
3976
39772004-01-21  Frank Warmerdam  <[email protected]>
3978
3979	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
3980	are field_passcount=TRUE properly.  Arguably anonymous custom tags
3981	should be declared as passcount=FALSE, but I don't want to change
3982	that without a careful review.
3983
39842004-01-20  Andrey Kiselev  <[email protected]>
3985
3986	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
3987	stripped image in TIFFWriteBufferSetup(). As per bug
3988
3989	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
3990
39912004-01-11  Andrey Kiselev  <[email protected]>
3992
3993	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
3994	patch from Gerben Koopmans.
3995
3996	* libtiff/tif_dirread.c: Check field_passcount value before setting
3997	the value of undefined type, patch from Gerben Koopmans.
3998
39992004-01-02  Andrey Kiselev  <[email protected]>
4000
4001	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
4002	non-RGB images.
4003
40042003-12-31  Andrey Kiselev  <[email protected]>
4005
4006	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
4007	pointer passed. Patch supplied by Larry Grill.
4008
4009	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
4010	suggested by Jeremy C. Reed.
4011
40122003-12-26  Andrey Kiselev  <[email protected]>
4013
4014	* libtiff 3.6.1 released.
4015
40162003-12-24  Andrey Kiselev  <[email protected]>
4017
4018	* config.guess, config.sub: Updated from the recent upstream.
4019
40202003-12-22  Andrey Kiselev  <[email protected]>
4021
4022	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
4023	More cleanups in color conversion interface, added appropriate manual
4024	page.
4025
40262003-12-19  Andrey Kiselev  <[email protected]>
4027
4028	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
4029	per bug
4030
4031	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
4032
4033	* tools/tiff2ps.c: Added support for alpha channel. Fixes
4034
4035	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
4036
4037	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
4038	Interface for Lab->RGB color conversion is finally cleaned up.
4039	Added support for ReferenceBlackWhite tag handling when converted from
4040	YCbCr color space. The latter closes
4041
4042	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
4043
40442003-12-07  Andrey Kiselev  <[email protected]>
4045
4046	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
4047
4048	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
4049	library.
4050
40512003-12-06  Andrey Kiselev  <[email protected]>
4052
4053	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
4054	file and properly use it for CIE Lab->RGB transform.
4055
40562003-12-04  Andrey Kiselev  <[email protected]>
4057
4058	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
4059	conversion routines now in the tif_color.c module. New function
4060	TIFFYCbCrtoRGB() available in TIFF API.
4061
4062	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
4063
40642003-12-03  Andrey Kiselev  <[email protected]>
4065
4066	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
4067	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
4068	module.
4069
4070	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
4071	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
4072	Finally resolved problems with orientation handling. TIFFRGBAImage
4073	interface now properly supports all possible orientations, i.e. images
4074	will be flipped both in horizontal and vertical directions if
4075	required. 'Known bugs' section now removed from the appropriate manual
4076	pages. Closed bug entry:
4077
4078	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
4079
40802003-12-02  Andrey Kiselev  <[email protected]>
4081
4082	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
4083	function calls as per bug
4084
4085	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
4086
40872003-11-28 Ross Finlayson  <[email protected]>
4088
4089	* tools/tiff2pdf.c:  Some bugs fixed.
4090
40912003-11-27  Andrey Kiselev  <[email protected]>
4092
4093	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
4094	reported by Antonio Scuri.
4095
4096	* man/tiff2pdf.1: Few improvements in page layout.
4097
4098	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
4099	 Added support fpr tiff2pdf manual page.
4100
41012003-11-26 Ross Finlayson  <[email protected]>
4102
4103	* /man/tiff2pdf.1:  File added to repository.
4104
41052003-11-26  Andrey Kiselev  <[email protected]>
4106
4107	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
4108	 Added support fpr tiff2pdf utility.
4109
41102003-11-25  Ross Finlayson  <[email protected]>
4111
4112	* /tools/tiff2pdf.c:  File added to repository.
4113
41142003-11-22  Andrey Kiselev  <[email protected]>
4115
4116	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
4117
41182003-11-21  Andrey Kiselev  <[email protected]>
4119
4120	* /tools/raw2tiff.c: #include <getopt.h> removed.
4121
4122	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
4123	sgigt utility removed and replaced with the completely rewritten
4124	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
4125	there is a lot of things to improve.
4126
4127	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
4128	extract the fields from the OJPEG files. Patch supplied by Ross
4129	Finlayson.
4130
4131	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
4132	Added new function TIFFIsCODECConfigured(), suggested by Ross
4133	Finlayson.
4134
41352003-11-18  Andrey Kiselev  <[email protected]>
4136
4137	* libtiff/tif_dirinfo.c: Implemented binary search in
4138	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
4139
4140	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
4141	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
4142
41432003-11-17  Frank Warmerdam  <[email protected]>
4144
4145	* tif_dirread.c: do not mark all anonymously defined tags to be
4146	IGNOREd.
4147
41482003-11-17  Andrey Kiselev  <[email protected]>
4149
4150	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
4151	TIFFDataWidth() function insted of tiffDataWidth array.
4152
41532003-11-16  Andrey Kiselev  <[email protected]>
4154
4155	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
4156	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
4157
41582003-11-15  Frank Warmerdam  <[email protected]>
4159
4160	* Makefile.in: fixed missing backslash for tif_color.c in list.
4161
41622003-11-13  Andrey Kiselev  <[email protected]>
4163
4164	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
4165	New color space conversion code: CIE L*a*b* 1976 images now supported
4166	by the TIFFRGBAImage interface. All introduced routines go to new
4167	module tif_color.c. Eventually all color conversion functions should
4168	be moved there.
4169
41702003-11-12  Andrey Kiselev  <[email protected]>
4171
4172	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
4173	with the reverse byte order (it is reported by the magic header
4174	field). Problem reported by Andreas Wiesmann.
4175
4176	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
4177	calculation function. Guessing mechanics now documented in manual page.
4178
41792003-11-11  Andrey Kiselev  <[email protected]>
4180
4181	* tools/raw2tiff.c: Implemented image size guessing using
4182	correlation coefficient calculation between two neighbour lines.
4183
41842003-11-09  Frank Warmerdam  <[email protected]>
4185
4186	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
4187	planarconfig_contig case in TIFFComputeTile().
4188
4189	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
4190
41912003-11-09  Andrey Kiselev  <[email protected]>
4192
4193	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
4194
41952003-11-07  Andrey Kiselev  <[email protected]>
4196
4197	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
4198	Added TIFFRawStripSize() function as suggested by Chris Hanson.
4199
42002003-11-03  Andrey Kiselev  <[email protected]>
4201
4202	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
4203	per bug
4204
4205	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
4206
42072003-10-29  Andrey Kiselev  <[email protected]>
4208
4209	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
4210
4211	* html/build.html: Added note about GNU make requirement.
4212
42132003-10-25  Andrey Kiselev  <[email protected]>
4214
4215	* Makefile.in: Fixes in using MAKEFLAGS as per bug
4216
4217	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
4218
4219	* port/install.sh.in: Option -p added to the mkdir command to create
4220	all directory tree structure before installing.
4221
42222003-10-18  Andrey Kiselev  <[email protected]>
4223
4224	* /tools/tiff2ps.c: #include <strings.h> replaced with the
4225	#include <string.h>.
4226
42272003-10-16  Andrey Kiselev  <[email protected]>
4228
4229	* Makefile.in: Add an absolute path to the test_pics.sh call.
4230
42312003-10-12  Andrey Kiselev  <[email protected]>
4232
4233	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
4234	typedefs.
4235
42362003-10-09  Andrey Kiselev  <[email protected]>
4237
4238	* configure, libtiff/{Makefile.in, mkversion.c}:
4239	Relative buildings fixed.
4240
4241	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
4242	rule.
4243
42442003-10-07  Andrey Kiselev  <[email protected]>
4245
4246	* Makefile.in: Added missed v3.6.0.html.
4247
4248	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
4249	ORIENTATION_BOTLEFT.
4250
42512003-10-04  Andrey Kiselev  <[email protected]>
4252
4253	* 3.6.0 final release.
4254
42552003-10-03  Andrey Kiselev  <[email protected]>
4256
4257	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
4258	function TIFFReadRGBAImageOriented() implemented to retrieve raster
4259	array with user-specified origin position as suggested by Jason Frank.
4260	See
4261
4262	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
4263
4264	for details.
4265
4266	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
4267	instead of TIFFReadRGBAImage().
4268
4269	* tools/tiff2ps.c: Fixed possible endless loop as per bug
4270
4271	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
4272
42732003-09-30  Andrey Kiselev  <[email protected]>
4274
4275	* libtiff/tif_dirread.c: Check field counter against number of fields
4276	in order to fix
4277
4278	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
4279
4280	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
4281
4282	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
4283
42842003-09-25  Andrey Kiselev  <[email protected]>
4285
4286	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
4287	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
4288
4289	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
4290
42912003-09-23  Andrey Kiselev  <[email protected]>
4292
4293	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
4294
4295	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
4296
42972003-08-21  Andrey Kiselev  <[email protected]>
4298
4299	* tools/tiffmedian.c: int declaration replaced with the uint32 to
4300	support large images as per bug
4301
4302	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
4303
43042003-08-12  Andrey Kiselev  <[email protected]>
4305
4306 	* libtiff/Makefile.in: Fixed problem with building in different
4307	directory.
4308
4309	* tools/tiff2ps.c: Added missing #include <strings.h>.
4310
4311	* libtiff/tif_dirwrite.c: More fixes for custom tags code
4312	from Ashley Dreier.
4313
43142003-08-07  Andrey Kiselev  <[email protected]>
4315
4316	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
4317	Patch submitted by Balatoni Denes (with corrections from Tom
4318	Kacvinsky).
4319
4320	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
4321	being used. Reported by Tom Kacvinsky.
4322
4323	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
4324	reported by Ashley Dreier.
4325
4326	* libtiff/tif_print.c: Fixed problem with float tags reading, support
4327	for printing RATIONAL and BYTE tags added.
4328
43292003-08-05  Andrey Kiselev  <[email protected]>
4330
4331	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
4332	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
4333	problems with predictor initialization. Remove O_RDONLY check during
4334	state block allocation to be able open LZW compressed files in update
4335	mode.
4336
4337	Problem exist for libtiff version of the tif_lzw.c module. One from
4338	lzw-compression-kit hasn't such troubles.
4339
43402003-08-04  Frank Warmerdam  <[email protected]>
4341
4342	* libtiff/tif_write.c: modified tif_write.c so that the various
4343	encoded write functions use tif_postdecode() to apply byte order
4344	swapping (swab) to the application passed data buffer if the same
4345	would be done when reading.  This allows us to write pixel data with
4346	more than 8 bits per sample to existing files of a non-native byte
4347	order.  One side effect of this change is the applications buffer
4348	itself is altered in this case by the act of writing.
4349
4350	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
4351
43522003-07-25  Frank Warmerdam  <[email protected]>
4353
4354	* libtiff/tif_open.c: avoid signed/unsigned casting warning
4355	initializing typemask as per patch from J.A. Strother.
4356
4357	* tools/tiffcp.c: fixed signed/unsigned casting warning.
4358
4359	* libtiff/tif_print.c: dos2unix conversion.
4360
4361	* tools/tiffsplit.c: increased the maximum number of pages that
4362	can be split.  Patch provided by Andrew J. Montalenti.
4363
43642003-07-11  Andrey Kiselev  <[email protected]>
4365
4366	* tools/raw2tiff.c: Added option `-p' to explicitly select color
4367	space of input image data. Closes
4368
4369	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
4370
43712003-07-08  Frank Warmerdam  <[email protected]>
4372
4373	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
4374	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
4375	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
4376	avoid casting warning at /W4.
4377
43782003-07-03  Andrey Kiselev  <[email protected]>
4379
4380	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
4381
43822003-06-30  Andrey Kiselev  <[email protected]>
4383
4384	* libtiff/tif_pixarlog.c: Unused variables removed.
4385
4386	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
4387	EstimateStripByteCounts() as per bug
4388
4389	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
4390
4391	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
4392	64-bit architectures as per bug
4393
4394	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
4395
4396	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
4397	unknown data type.
4398
43992003-06-19  Frank Warmerdam  <[email protected]>
4400
4401	* libtiff/tif_print.c: fixed some serious bugs when printing
4402	custom tags ... almost certain to crash.
4403
4404	* libtiff/tif_dirread.c: Don't ignore custom fields that are
4405	autodefined.  Not sure how this got to be like this.
4406
44072003-06-18  Andrey Kiselev  <[email protected]>
4408
4409	* 3.6.0 Beta2 released.
4410
4411	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
4412	comparing as per bug
4413
4414	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
4415
4416	`-z' option now can be used to set the number of reported different
4417	bytes.
4418
44192003-06-09  Andrey Kiselev  <[email protected]>
4420
4421	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
4422	to -r option to get the entire image as one strip. See
4423
4424	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
4425
4426	for details.
4427
44282003-06-04  Andrey Kiselev  <[email protected]>
4429
4430	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
4431	values as per bug
4432
4433	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
4434
44352003-05-27  Frank Warmerdam  <[email protected]>
4436
4437	* libtiff/tif_jpeg.c: modified segment_height calculation to always
4438	be a full height tile for tiled images.  Also changed error to just
4439	be a warning.
4440
44412003-05-25  Andrey Kiselev  <[email protected]>
4442
4443	* tools/fax2tiff.c: Page numbering fixed, as per bug
4444
4445	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
4446
44472003-05-20  Andrey Kiselev  <[email protected]>
4448
4449	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
4450	configure, Makefile.in:	Switched back to the old behaviour. Likely
4451	better solution should be found for OJPEG support.
4452
44532003-05-11  Andrey Kiselev  <[email protected]>
4454
4455	* libtiff/mkversion.c: Fixed problem with wrong string size when
4456	reading RELEASE-DATE file.
4457
44582003-05-07  Andrey Kiselev  <[email protected]>
4459
4460	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
4461	index was out of range.
4462
44632003-05-06  Andrey Kiselev  <[email protected]>
4464
4465	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
4466	configure, Makefile.in:	Improved libtiff compilation with OJPEG
4467	support. Now no need for patching IJG JPEG library, hack requred by
4468	libtiff will be compiled and used in-place. Implemented with
4469	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
4470
4471	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
4472	TIFFVGetFieldDefaulted() function.
4473
44742003-05-05  Andrey Kiselev  <[email protected]>
4475
4476	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
4477	comments.
4478
4479	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
4480	was not copied from source image.
4481
4482	* libtiff/getimage.c: Workaround for some images without correct
4483	info about alpha channel as per bug
4484
4485	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
4486
44872003-04-29  Andrey Kiselev  <[email protected]>
4488
4489	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
4490	It basically allows one to use the /flateDecode filter for ZIP
4491	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
4492
4493	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
4494
4495	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
4496	as per bug
4497
4498	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
4499
45002003-04-17  Andrey Kiselev  <[email protected]>
4501
4502	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
4503	due to problems with multidirectory images. Quality of error messages
4504	improved.
4505
45062003-04-16  Andrey Kiselev  <[email protected]>
4507
4508	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
4509	encoded images. See bug entries
4510
4511	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
4512
4513	and
4514
4515	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
4516
4517	* libtiff/tif_dirread.c: Additional check for StripByteCounts
4518	correctness. Fixes
4519
4520	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
4521
45222003-03-12  Andrey Kiselev  <[email protected]>
4523
4524	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
4525	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
4526	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
4527	tiffmedian.c}: Added library version reporting facility to all tools.
4528
45292003-03-06  Frank Warmerdam  <[email protected]>
4530
4531	* port/install.sh.in: Fixed problems with install producing paths
4532	like ///usr/local/lib on cygwin.
4533
45342003-02-27  Andrey Kiselev  <[email protected]>
4535
4536	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
4537	raw input page. Patch supplied by Julien Gaulmin. See
4538
4539	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
4540
4541	for details.
4542
45432003-02-26  Frank Warmerdam  <[email protected]>
4544
4545	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
4546	responsible for byte swapping complex image data.
4547
4548	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
4549	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
4550
45512003-02-07  Andrey Kiselev  <[email protected]>
4552
4553	* tools/ppm2tiff.c: Fixed problem with too many arguments.
4554
45552003-02-04  Andrey Kiselev  <[email protected]>
4556
4557	* tools/raw2tiff.c: Memory leak fixed.
4558
45592003-02-03  Andrey Kiselev  <[email protected]>
4560
4561	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
4562	(thanks, Julien!). More switches for fax2tiff tool for better control
4563	of input and output. Details at
4564
4565	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
4566
45672003-02-03  Frank Warmerdam  <[email protected]>
4568
4569	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
4570	library so that we can check if there is already any tile/strip data
4571	before deciding between creating a compressor or a decompressor.
4572
45732003-01-31  Frank Warmerdam  <[email protected]>
4574
4575	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
4576	a pre-existing compressed image.  That is, image writing to
4577	pre-existing compressed images is not allowed.
4578
4579	* libtiff/tif_open.c: Removed error if opening a compressed file
4580	in update mode.
4581
4582	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
4583
45842003-01-31  Andrey Kiselev  <[email protected]>
4585
4586	* config.guess, config.sub: Updated to recent upstream versions.
4587
45882003-01-15  Frank Warmerdam  <[email protected]>
4589
4590	* cut 3.6.0 Beta release.
4591
45922002-12-20  Andrey Kiselev  <[email protected]>
4593
4594	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
4595	in wrong way as per bug
4596
4597	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
4598
45992002-12-17  Frank Warmerdam  <[email protected]>
4600
4601	* libtiff/tif_dirread.c: Allow wrong sized arrays in
4602	TIFFFetchStripThing().
4603
4604	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
4605
46062002-12-02  Frank Warmerdam  <[email protected]>
4607
4608	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
4609	Was using realloc even first time.  Fix by Igor Venevtsev.
4610
46112002-11-30  Frank Warmerdam  <[email protected]>
4612
4613	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
4614	field value.
4615
4616	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
4617	tags in TIFFVGetField() ... added missing break.
4618
46192002-10-14  Frank Warmerdam  <[email protected]>
4620
4621	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
4622	the scanline buffer long enough when writing rgb triplets.
4623	The scanline needs to be 3 X the number of dots or else it will
4624	contain	an incomplete triplet and programs that try to separate
4625	the eps by redefining the colorimage operator will get messed up.
4626	Patch supplied by William Bader.
4627
4628	* Makefile.in: added tif_extension.c to file list as per
4629	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
4630
46312002-10-11  Andrey Kiselev  <[email protected]>
4632
4633	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
4634	large files (>2GiB) supporting. New option in the config.site:
4635	LARGEFILE="yes". Should be enough for I/O of the large files.
4636
46372002-10-10  Frank Warmerdam  <[email protected]>
4638
4639	* libtiff/html/v3.6.0.html: new release notes.
4640
4641	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
4642	link for Andrey.  Pointer to v3.6.0.html.
4643
4644	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
4645
46462002-10-07  Andrey Kiselev  <[email protected]>
4647	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
4648	(thanks, Sebastian!). New switches:
4649	-b # for a bottom margin of # inches
4650	-c   center image
4651	-l # for a left margin of # inches
4652	-r   rotate the image by 180 degrees
4653	New features merged with code for shrinking/overlapping.
4654	Previously added -c and -n switches (for overriding PS units) renamed
4655	in -x and -y respectively.
4656
4657	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
4658
4659	* html/man/*.html: Updated from actual manual pages.
4660
46612002-10-06  Frank Warmerdam  <[email protected]>
4662
4663	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
4664	size on windows.  Use #define boolean hack.
4665
4666	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
4667
4668	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
4669	USING_VISUALAGE is defined.
4670
4671	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4672
46732002-10-03  Frank Warmerdam  <[email protected]>
4674
4675	* libtiff/tiff.h: added COMPRESSION_JP2000.
4676
46772002-10-02  Andrey Kiselev  <[email protected]>
4678
4679	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
4680	by the TIFFFetchByteArray() function. Should finally resolve
4681
4682	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
4683
4684	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
4685
4686	* html/Makefile.in: New targets added: html and groffhtml for
4687	producing HTML representations of the manual pages automatically.
4688	html target uses man2html tool, groffhtml uses groff tool.
4689
46902002-09-29  Frank Warmerdam  <[email protected]>
4691
4692	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
4693	from John H. DuBois III.
4694
46952002-09-15  Andrey Kiselev  <[email protected]>
4696
4697	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
4698	manual page for raw2tiff(1) tool.
4699
47002002-09-12  Andrey Kiselev  <[email protected]>
4701
4702	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
4703	the tiffio.h header file.
4704
4705	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
4706	manual page for TIFFDataWidth() function
4707
47082002-09-08  Frank Warmerdam  <[email protected]>
4709
4710	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
4711	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
4712
4713	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
4714	since we are unable to properly include the amount to skip.
4715
4716	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
4717
47182002-09-02  Andrey Kiselev  <[email protected]>
4719
4720	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
4721	in TIFFFetchByteArray(). Problem described at
4722	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
4723
47242002-08-22  Andrey Kiselev  <[email protected]>
4725
4726	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
4727	in _TIFFSetupFieldInfo() function.
4728	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
4729
4730	* /libtiff/tif_lzw.c: Additional consistency checking added in
4731	LZWDecode() and LZWDecodeCompat().
4732	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
4733	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4734
4735	* /libtiff/tif_lzw.c:
4736	Added check for valid code lengths in LZWDecode() and
4737	LZWDecodeCompat(). Fixes
4738	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
4739
47402002-08-16  Andrey Kiselev  <[email protected]>
4741
4742	* /libtiff/{Makefile.vc, libtiff.def}:
4743	Missed declarations added.
4744
47452002-08-15  Frank Warmerdam  <[email protected]>
4746
4747	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
4748	return code from the underlying pick function.
4749
4750	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
4751
4752	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
4753	with FIELD_CUSTOM as mentioned in bug 169.
4754
4755	* tif_close.c: added logic to free dynamically created anonymous
4756	field definitions to correct a small memory leak.
4757
4758	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
4759
47602002-08-10  Andrey Kiselev  <[email protected]>
4761
4762	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
4763	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
4764
47652002-07-31  Frank Warmerdam  <[email protected]>
4766
4767	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
4768	JPEGDecode() as per bugzilla bug (issue 1):
4769
4770	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
4771
4772	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
4773	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
4774	present in the tiff tags.
4775
4776	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
4777
4778	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
4779	TIFFWriteScanline() now set tif_row explicitly in case the codec has
4780	fooled with the value.
4781
4782	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
4783
47842002-06-22  Andrey Kiselev  <[email protected]>
4785
4786	* /tools/tiff2ps.c: Added workaround for some software that may crash
4787	when last strip of image contains fewer number of scanlines than
4788	specified by the `/Height' variable. See
4789	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
4790	for explanation.
4791
47922002-06-21  Andrey Kiselev  <[email protected]>
4793
4794	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
4795	splitting long images in several pages. See
4796	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
4797	Patch granted by John Williams <[email protected]>.
4798
47992002-06-11  Frank Warmerdam  <[email protected]>
4800
4801	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
4802	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
4803	This one is described in:
4804
4805	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
4806
4807	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
4808
4809	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
4810
48112002-05-10  Andrey Kiselev  <[email protected]>
4812
4813	* tools/tiff2ps: New commandline switches to override resolution
4814	units obtained from the input file. Closes
4815	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
4816
48172002-04-26  Andrey Kiselev  <[email protected]>
4818
4819	* libtiff/libtiff.def: Added missed declaration.
4820
48212002-04-22  Andrey Kiselev  <[email protected]>
4822
4823	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
4824	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
4825
48262002-04-20  Andrey Kiselev  <[email protected]>
4827
4828	* libtiff/tif_open.c: Pointers to custom procedures
4829	in TIFFClientOpen() are checked to be not NULL-pointers.
4830
48312002-04-18  Andrey Kiselev  <[email protected]>
4832
4833	* libtiff/libtiff.def: Added missed declarations.
4834
4835	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
4836
48372002-04-16  Andrey Kiselev  <[email protected]>
4838
4839	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
4840	Should finally close
4841	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4842
48432002-04-10  Andrey Kiselev  <[email protected]>
4844
4845	* tools/tiff2ps: Division by zero fixed.
4846	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
4847
48482002-04-09  Andrey Kiselev  <[email protected]>
4849
4850	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
4851	TIFFCheckpointDirectory() routine added.
4852	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
4853
4854	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
4855	for the new function.
4856
48572002-04-08  Andrey Kiselev  <[email protected]>
4858
4859	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
4860	additional members tif->tif_decodestatus and tif->tif_encodestatus
4861	for correct handling of unconfigured codecs (we should not try to read
4862	data or to define data size without correct codecs).
4863
4864	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
4865	changed. Now it has used tif->tif_decodestatus and
4866	tif->tif_encodestatus.
4867	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
4868	case of __cvs_8.tif test image).
4869
4870	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
4871	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
4872	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
4873	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
4874
48752002-04-04  Andrey Kiselev  <[email protected]>
4876
4877	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
4878	replaced by warnings. Now libtiff should read corrupted LZW-compressed
4879	files by skipping bad strips.
4880	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4881
48822002-04-03  Frank Warmerdam  <[email protected]>
4883
4884	* libtiff/tif_dirwrite.c: Removed some dead code.
4885
4886	* libtiff/*: Cleanup some warnings.
4887
4888	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
4889	for variable length FIELD_CUSTOM values.  Was int * but should be
4890	u_short *.
4891
48922002-04-01  Andrey Kiselev  <[email protected]>
4893
4894	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
4895	utility (at cpStripToTile routine).
4896
48972002-03-27  Frank Warmerdam  <[email protected]>
4898
4899	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
4900
4901	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
4902
4903	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
4904	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
4905
4906	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
4907	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
4908
49092002-03-26  Dwight Kelly  <[email protected]>
4910
4911	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4912	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
4913	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
4914	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
4915	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
4916	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
4917
49182002-03-26  Andrey Kiselev  <[email protected]>
4919
4920	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
4921	now also uses TIFFRGBAImageOK before reading. This is additional fix
4922	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4923
49242002-03-25  Andrey Kiselev  <[email protected]>
4925
4926	* libtiff/: tif_getimage.c: Additional check for supported
4927	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
4928	TIFFRGBAImageOK before reading.
4929	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4930
49312002-03-15  Andrey Kiselev  <[email protected]>
4932
4933	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4934	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
4935	TIFFDataType sizes instead of working with tiffDataWidth array
4936	directly. Should prevent out-of-borders bugs in case of unknown or
4937	broken data types.  EstimateStripByteCounts routine modified, so it
4938	won't work when tags with uknown sizes founded.
4939	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
4940
49412002-03-13  Andrey Kiselev  <[email protected]>
4942
4943	* libtiff/tif_getimage.c: Added support for correct handling
4944	`Orientation' tag in gtTileContig. Should be added in other gt*
4945	functions as well, but I have not images for testing yet. Partially
4946	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
4947
49482002-03-10  Andrey Kiselev  <[email protected]>
4949
4950	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
4951	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
4952	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
4953	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
4954
49552002-03-08  Andrey Kiselev  <[email protected]>
4956
4957	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
4958	be stripped when installing, utility binaries will do.	Closes
4959	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
4960
49612002-02-28  Frank Warmerdam  <[email protected]>
4962
4963	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
4964
4965	* man/libtiff.3t: added copyright tag info.
4966
49672002-02-11  Frank Warmerdam  <[email protected]>
4968
4969	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
4970
4971	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
4972
4973	* man/Makefile.in: Patch DESTDIR handling
4974
4975	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
4976
4977	* configure: OpenBSD changes for Sparc64 and DSO version.
4978
4979	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
4980
49812002-02-05  Frank Warmerdam  <[email protected]>
4982
4983	* config.site/configure: added support for OJPEG=yes option to enable
4984	OJPEG support from config.site.
4985
49862002-01-27  Frank Warmerdam  <[email protected]>
4987
4988	* html/document.html: fixed links for TIFf 6 docs.
4989
49902002-01-18  Frank Warmerdam  <[email protected]>
4991
4992	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
4993
4994	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
4995	decodestrip function returns anything not greater than zero as per
4996	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
4997
4998	* configure: Modify CheckForBigEndian so it can work in a cross
4999	compiled situation.
5000
50012002-01-16  Frank Warmerdam  <[email protected]>
5002
5003	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
5004
5005	* tools/tiffset.c: fix bug in error reporting.
5006
5007	* tools/tiffcp.c: fix several warnings that show up with -Wall.
5008
50092002-01-04  Frank Warmerdam  <[email protected]>
5010
5011	* libtiff/tif_jpeg.c: fixed computation of segment_width for
5012	tiles files to avoid error about it not matching the
5013	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
5014	size.") for ITIFF files.  Apparently the problem was incorporated since
5015	3.5.5, presumably during the OJPEG/JPEG work recently.
5016
50172001-12-15  Frank Warmerdam  <[email protected]>
5018
5019	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
5020
5021	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
5022
5023	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
5024	(defined in tiffconf.h - 1 by default) then the RGBA interface
5025	will assume that a fourth extra sample is ASSOCALPHA if the
5026	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
5027	the library, but makes it work better with RGBA files produced by
5028	lots of applications that don't mark the alpha values properly.
5029
5030	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
5031	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
5032
50332001-12-12  Frank Warmerdam  <[email protected]>
5034
5035	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
5036	override those from tiff directory.  This makes this work with
5037	ImageGear generated files.
5038
50392001-12-07  Frank Warmerdam  <[email protected]>
5040
5041	* html/Makefile.in: added missing images per bug 92.
5042
5043	* port/Makefile.in: fixed clean target per bug 92.
5044
50452001-11-28  Frank Warmerdam  <[email protected]>
5046
5047	* Reissue 3.5.7 release.
5048
5049	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
5050	YYYYMMDD so that it is increasing over time.
5051
5052	* Makefile.in: Ensure that tiffvers.h is regenerated in the
5053	make release target.
5054
5055	* Makefile.in: added libtiff/tiffvers.h to the release file list.
5056
50572001-11-23  Frank Warmerdam  <[email protected]>
5058
5059	* added html/v3.5.7.html, updated html/index.html.
5060
5061	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
5062
50632001-11-15  Frank Warmerdam  <[email protected]>
5064
5065	* configure: fixed test for -lm.
5066
50672001-11-02  Frank Warmerdam  <[email protected]>
5068
5069	* Added PHOTOMETRIC_ITULAB as per bug 90.
5070
5071	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
5072
50732001-10-10  Frank Warmerdam  <[email protected]>
5074
5075	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
5076	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
5077	in keeping with TIFF 6.0 standard in tiff.h
5078
5079	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
5080
50812001-09-26  Frank Warmerdam  <[email protected]>
5082
5083	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
5084	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
5085
50862001-09-24  Frank Warmerdam  <[email protected]>
5087
5088	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
5089
5090	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
5091
5092	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
5093	error about LZW not being available.
5094
5095	* libtiff/tif_dir.c: propagate failure to initialize compression
5096	back from TIFFSetField() as an error status, so applications can
5097	detect failure.
5098
5099	* libtiff/tif_dir.c: removed the auto replacement of
5100	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
5101
5102	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
5103	from CVS as they are all supposed to be auto-generated by configure.
5104
51052001-09-22  Frank Warmerdam  <[email protected]>
5106
5107	* libtiff/tif_ojpeg.c: new update from Scott.
5108
51092001-09-09  Frank Warmerdam  <[email protected]>
5110
5111	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
5112	always use the "safe" version, even if there is a very slight
5113	cost in performance.
5114
5115	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
5116
5117	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
5118	in two places.
5119
5120	* libtiff/tif_getimage.c: Fixed problem with reading strips or
5121	tiles that don't start on a tile boundary.  Fix contributed by
5122	Josep Vallverdu (from HP), and further described in bug 47.
5123
5124	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
5125
5126	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
5127
5128	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
5129
51302001-09-06  Frank Warmerdam  <[email protected]>
5131
5132	* libtiff/tif_packbits.c: fixed memory overrun error.
5133
5134	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
5135
51362001-08-31  Frank Warmerdam  <[email protected]>
5137
5138	* libtiff/tif_getimage.c: relax handling of contig case where
5139	there are extra samples that are supposed to be ignored.  This
5140	should now work for 8bit greyscale or palletted images.
5141
5142	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
5143
51442001-08-28  Frank Warmerdam  <[email protected]>
5145
5146	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
5147	images with more than four samples per pixel.  See:
5148
5149	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
5150
51512001-08-10  Frank Warmerdam  <[email protected]>
5152
5153	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
5154	in TIFFReadRGBATile() to avoid issues in cases of overlapping
5155	buffers.  See Bug 69 in Bugzilla.
5156
5157	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
5158
5159	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
5160
51612001-08-09  Frank Warmerdam  <[email protected]>
5162
5163	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
5164	when checking for 64 bit architectures as per bugzilla bug 67.
5165
51662001-07-27  Frank Warmerdam  <[email protected]>
5167
5168	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
5169	bug 66.
5170
51712001-07-20  Frank Warmerdam  <[email protected]>
5172
5173	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
5174	has been included.
5175
51762001-07-19  Frank Warmerdam  <[email protected]>
5177
5178	* libtiff/tif_open.c: Seek back to zero after failed read,
5179	before writing header.
5180
51812001-07-18  Frank Warmerdam  <[email protected]>
5182
5183	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
5184	much better.  Now depends on having patched libjpeg as per
5185	patch in contrib/ojpeg/*.
5186
51872001-07-17  Frank Warmerdam  <[email protected]>
5188
5189	* */Makefile.in: added DESTDIR support.
5190
5191	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
5192
51932001-07-16  Frank Warmerdam  <[email protected]>
5194
5195	* configure, libtiff/Makefile.in: applied OpenBSD patches
5196	as per:
5197
5198	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
5199
52002001-06-28  Frank Warmerdam  <[email protected]>
5201
5202	* libtiff/tif_getimage.c: Fixed so that failure is properly
5203	reported by gtTileContig, gtStripContig, gtTileSeparate and
5204	gtStripSeparate.
5205
5206	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
5207
5208	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
5209	Updated bug section of tiffcmp.1 to note tiled file issues.
5210
5211	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
5212
52132001-06-22  Frank Warmerdam  <[email protected]>
5214
5215	* configure: Changes for DSO generation on AIX provided by
5216	John Marquart <[email protected]>.
5217
5218	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
5219	on Darwin thanks to Robert Krajewski ([email protected]) and
5220	Keisuke Fujii ([email protected]).
5221
52222001-06-13  Frank Warmerdam  <[email protected]>
5223
5224	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
5225
5226	* man/tiff2rgba.1: new
5227
52282001-05-22  Frank Warmerdam  <[email protected]>
5229
5230	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
5231
52322001-05-13  Frank Warmerdam  <[email protected]>
5233
5234	* libtiff/tools/thumbnail.c: changed default output compression
5235	to packbits from LZW since LZW isn't generally available.
5236
52372001-05-12  Frank Warmerdam  <[email protected]>
5238
5239	* libtiff/tif_ojpeg.c: New.
5240	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
5241	to OJPEG support.
5242
5243	Scott Marovich <[email protected]> supplied OJPEG support.
5244
52452001-05-11  Frank Warmerdam  <[email protected]>
5246
5247	* tiff.h: removed, it duplicates libtiff/tiff.h.
5248
52492001-05-08  Frank Warmerdam  <[email protected]>
5250
5251	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
5252	ensure everything is in order.
5253
5254	* libtiff/libtiff.def: added TIFFCreateDirectory and
5255	TIFFDefaultStripSize as per:
5256
5257	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
5258
52592001-05-02  Frank Warmerdam  <[email protected]>
5260
5261	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
5262	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
5263	force use of uint32 counts instead of short counts.
5264
5265	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
5266	case of writing TIFF_BYTE/TIFF_SBYTE fields.
5267
5268	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
5269
52702001-05-01  Frank Warmerdam  <[email protected]>
5271
5272	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
5273	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
5274
52752001-04-05  Frank Warmerdam  <[email protected]>
5276
5277	* tiffio.h: removed C++ style comment.
5278
5279	* configure: fixed up SCRIPT_SH/SHELL handling.
5280
5281	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
5282
5283	* config.guess: documented more variables as per bug 40.
5284
52852001-04-03  Frank Warmerdam  <[email protected]>
5286
5287	* configure, *Makefile.in: Various changes to improve configuration
5288	for HP/UX specifically, and also in general.  They include:
5289	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
5290	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
5291	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
5292	 - Use -${MAKEFLAGS} in sub makes from makefiles.
5293
5294	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
5295
52962001-04-02  Frank Warmerdam  <[email protected]>
5297
5298	* libtiff/tiff.h: Applied hac to try and resolve the problem
5299	with the inttypes.h include file on AIX.
5300
5301	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
5302
5303	* VERSION: update to 3.5.7 beta in preparation for release.
5304
5305	* configure/config.site: modified to check if -lm is needed for
5306	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
5307
5308	* config.guess: updated wholesale to an FSF version apparently
5309	from 1998 (as opposed to 1994).  This is mainly inspired by
5310	providing for MacOS X support.
5311
53122001-03-29  Frank Warmerdam  <[email protected]>
5313
5314	* configure, Makefile.in, etc: added support for OPTIMIZER being
5315	set from config.site.
5316
53172001-03-28  Frank Warmerdam  <[email protected]>
5318
5319	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
5320
5321	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
5322	sizes. It fixes two problems:
5323
5324	Without	scaling (-S) the fax is now centered on the page size specified
5325	with -H	and/or -W. Before, fax2ps was using an obscure and practially
5326	useless algorithm to allocate the image relative to Letter sized paper
5327	which sometime sled to useless whitespace on the paper, while at the
5328	same time cutting of the faxes printable area at the opposite border.
5329
5330	Second, scaling now preserves aspect ratio, which makes unusual faxes
5331	(in particular short ones) print properly.
5332
5333	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
5334
5335	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
5336	Bruce A. Mallett.  See check message for detailed information
5337	on all the changes, including a faster encoder, fixes for level
5338	2 PostScript, and support for the imagemask operator.
5339
53402001-03-27  Frank Warmerdam  <[email protected]>
5341
5342	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
5343	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
5344
5345	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
5346
53472001-03-16  Frank Warmerdam  <[email protected]>
5348
5349	* tif_dirinfo.c: moved definition of copyright tag in field list.
5350	Apparently they have to be in sorted order by tag id.
5351
53522001-03-13  Frank Warmerdam  <[email protected]>
5353
5354	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
5355	images in RGBA interface.
5356
53572001-03-02  Frank Warmerdam  <[email protected]>
5358
5359	* Added TIFFTAG_COPYRIGHT support.
5360
53612001-02-19  Frank Warmerdam  <[email protected]>
5362
5363	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
5364	with support for extracting subimages with the ,n syntax, and also
5365	adding the -b bias removal flag.
5366
53672001-02-16  Frank Warmerdam  <[email protected]>
5368
5369	* libtiff/libtiff.def: Brent Roman submitted new version adding
5370	serveral missing entry points.
5371
5372	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
5373	Some sort of weird VMS thing.
5374
5375	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
5376
5377	* tif_luv.c/tiff.h/tiffio.h:
5378	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
5379	([email protected]).  He writes:
5380
5381	1) I improved the gamut-mapping function in tif_luv.c for imaginary
5382	colors, because some images were being super-saturated on the input
5383	side and this resulted in some strange color shifts in the output.
5384
5385	2) I added a psuedotag in tiff.h to control random dithering during
5386	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
5387	on for 24-bit LogLuv output.  Dithering improves the average color
5388	accuracy over the image.
5389
5390	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
5391	tiffio.h, to expose internal routines for converting between LogLuv and
5392	XYZ coordinates.  This is helpful for writing more efficient,
5393	specialized conversion routines, especially for reading LogLuv files.
5394
5395	Changes applied with minor edits.
5396
53972001-01-23  Frank Warmerdam  <[email protected]>
5398
5399	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
5400	whether we are encoding or decoding.  This is to ensure graceful
5401	recovery if TIFFClientOpen() discovers an attempt to open a compressed
5402	file for "r+" access, and subsequently close it, as it resets the
5403	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
5404	compressor's concept of whether it is in encode or decode mode.
5405
54062001-01-08  Mike Welles <[email protected]>
5407
5408	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
5409
54102001-01-07  Frank Warmerdam  <[email protected]>
5411
5412	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
5413	as per bug report by Patrick Connor.
5414
54152000-12-28  Frank Warmerdam  <[email protected]>
5416
5417	* Added RELEASE-DATE file to release file list.
5418
5419	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
5420
54212000-12-22  Mike Welles <[email protected]>
5422        * added link to CVS mirror from index.html
5423
5424	* updated html/internals.html to note that LZW compression is
5425	  not supported by default.
5426
54272000-12-22  Frank Warmerdam  <[email protected]>
5428
5429	* updated html/libtiff.html to not point at Niles' old JPL web site
5430	for the man pages, point at www.libtiff.org.
5431
54322000-12-21  Frank Warmerdam  <[email protected]>
5433
5434	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
5435	Leonard Rosenthol <[email protected]>.  May interfere
5436	with correct building on older systems.  If so, please let me know.
5437
54382000-12-19 Mike Welles <[email protected]>
5439
5440	* Took out LZW Encoding from tif_lzw.c
5441
5442	* Created HOWTO-RELEASE
5443
5444	* Created html/v3.5.6.html
5445
5446	* updated index.html
5447
54482000-12-01  Frank Warmerdam  <[email protected]>
5449
5450	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
5451	Patches supplied by Frank Cringle <[email protected]>
5452	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
5453
54542000-11-24  Frank Warmerdam  <[email protected]>
5455
5456	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
5457	target so that the private headers required by libgeotiff can be
5458	installed with the others.  They are not installed by default.
5459
5460	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
5461	targets so libtiff.so will be built with an explicit dependency
5462	on libm.so.
5463
5464	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
5465	libtiff.so.3.5.5.
5466
5467	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
5468	file, or ALPHA version logic.  Added stuff about DIST_POINT in
5469	place of DIST_TYPE and the alpha release number stuff.
5470
54712000-11-22  Frank Warmerdam  <[email protected]>
5472
5473	* I have applied a patch from Steffen Moeller <[email protected]> to
5474	the configure script so that it now accepts the --prefix, and
5475	--exec-prefix directives.
5476
54772000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
5478
5479	* I have made a variety of modifications in an effort to ensure the
5480	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
5481	file which seems to be updated regularly.
5482
5483	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
5484	   version include file.
5485	 o renamed version.h to tiffvers.h because we now have to install it
5486	   with the public libtiff include files.
5487	 o include tiffvers.h in tiffio.h.
5488	 o updated tif_version.c to use tiffvers.h.
5489	 o Updated Makefile.in accordingly.
5490
5491	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
5492	I have updated the win32 detection rules in tiffcomp.h.
5493
54942000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
5495
5496	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
5497	the strip/tile width and height aren't multiples of the sampling size.
5498	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
5499	Some patches from Rick LaMont of Dot C Software.
5500
5501	* Modified tif_packbits.c encoder to avoid compressing more
5502	data than provided if rowsize doesn't factor into provided data
5503	(such as occurs for YCbCr).
5504
55052000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
5506
5507	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
5508	roundup if rows_per_strip not a multiple of vertical sample size.
5509
55102000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
5511
5512	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
5513	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
5514	from [email protected].
5515
5516	* Modified tif_packbits.c decoding to avoid overrunning the
5517	output buffer, and to issue a warning if data needs to be
5518	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
5519
55202000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
5521
5522	* Modified tiff2bw to ensure portions add to 100%, and that
5523	white is properly recovered.
5524
5525	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
5526	Patch c/o Stanislav Brabec <[email protected]>
5527
55282000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
5529
5530	* Modified TIFFClientOpen() to emit an error on an attempt to
5531	open a comperessed file for update (O_RDWR/r+) access.  This is
5532	because the compressor/decompressor code gets very confused when
5533	the mode is O_RDWR, assuming this means writing only.  See
5534	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
5535
55362000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
5537
5538	* Added GNULDdso target an`d switched linux and freebsd to use it.
5539
55402000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
5541
5542	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
5543	of EXPAND1D() as per bug 11 (from Roman).
5544
55452000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
5546	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
5547	cygwin compatibility.
5548
5549	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
5550	be a proper fix to the buffer sizing problem.  See
5551	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
5552
5553	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
5554	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
5555	Thanks to Nick Lamb <[email protected]> for reporting the
5556	bug and proving the patch.
5557
55582000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
5559
5560	* Fixed tif_jpeg.c so avoid destroying the decompressor before
5561	we are done access data thanks to bug report from:
5562	Michael Eckstein <[email protected]>.
5563
5564	* Reverted tif_flush change.
5565
55662000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
5567
5568	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
5569	error when TIFF_BEENWRITING is not set.  This ensures that the
5570	directory contents can still be flushed by TIFFFlush().
5571
55722000-08-14  Frank Warmerdam  <[email protected]>
5573
5574	* tif_open.c: Don't set MMAP for O_RDWR files.
5575
5576	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
5577	so that files opened for update can be strip chopped too.
5578
5579	* tif_read.c: fixed up bug with files missing rowsperstrip and
5580	the strips per separation fix done a few weeks ago.
5581
55822000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
5583
5584	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
5585	SAMPLEFORMAT_COMPLEXINT.
5586
55872000-07-13  Mike Welles <[email protected]>
5588
5589	* index.html, bugs.html: added bugzilla info.
5590
55912000-07-12  Frank Warmerdam  <[email protected]>
5592
5593	* tif_read.c: fix subtle bug with determining the number of
5594	rows for strips that are the last strip in a separation but
5595	not the last strip of all in TIFFReadEncodedStrip().
5596
5597	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
5598	Peter Skarpetis <[email protected]>
5599
56002000-06-15  Frank Warmerdam  <[email protected]>
5601
5602	* Modified tiffio.h logic with regard to including windows.h.  It
5603	won't include it when building with __CYGWIN__.
5604
56052000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
5606
5607	* README: update to mention www.libtiff.org, don't list Sam's old
5608	email address.
5609
5610	* configure: Fixed DSO test for Linux as per patch from
5611	  Jan Van Buggenhout <[email protected]>.
5612
56132000-04-21  Frank Warmerdam  <[email protected]>
5614
5615	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
5616	one tile/strip images with an offset, and byte count of zero. These
5617	could be "unpopulated" images.
5618
56192000-04-18  Frank Warmerdam  <[email protected]>
5620
5621	* contrib/addtiffo: Added "averaging" resampling option.
5622
5623	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
5624
5625Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
5626
5627	* tools/Makefile.in: Modified to install properly on SGI.
5628
56292000-04-12  Mike Welles	     <[email protected]>
5630	* configure:  Fixed stupid mistake in libc6 test on Linux
5631
56322000-04-04  Mike Welles	     <[email protected]>
5633	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
5634	  caught by BoundsChecker.  From Arvan Pritchard
5635	  <[email protected]>  (untested).
5636
5637	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
5638	  Arvan Pritchard <[email protected]>
5639
5640	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
5641	  Arvan Pritchard <[email protected]>
5642
56432000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
5644
5645	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
5646
56472000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
5648
5649	* fax2ps: Fixed mixup of width and height in bounding box statement
5650	as per submission by Nalin Dahyabhai <[email protected]>.
5651
56522000-03-27  Mike Welles	     <[email protected]>
5653
5654	* fax2ps:  Modified printruns to take uint32 instead of uint16.
5655	Patch courtesy of Bernt Herd <[email protected]>
5656
56572000-03-20  Mike Welles	     <[email protected]>
5658
5659	* configure: added test for libc6 for linux targets.  Bug reported by
5660        Stanislav Brabec <[email protected]>
5661
5662	* Added 3.5 docs to html/Makefile.in.
5663	Thanks to  Stanislav Brabec <[email protected]>
5664
5665	* configure: fixed bugs in sed scripts
5666	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
5667	fix submitted to Stanislav Brabec <[email protected]>
5668
5669	* tools/iptcutil was not in files list, and wasn't being
5670	added to tar archive.  Updated Makefile.in.
5671
56722000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
5673
5674	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
5675	conversion for the run arrays.
5676
56772000-03-03  Frank Warmerdam  <[email protected]>
5678
5679	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
5680	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
5681
56822000-03-02  Frank Warmerdam  <[email protected]>
5683
5684	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
5685
5686	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
5687	to avoid overruns encountered with frle_bug.tif.
5688
5689Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
5690
5691	* Fixed tools/tiffcmp so that stopondiff testing works.
5692	  Patch care of Joseph Orost <[email protected]>.
5693
56942000-01-28    <warmerda@CS46980-B>
5695
5696	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
5697	  set to 1, and added default (off) setting in tiffconf.h.  This
5698	  should eventually be set by the configure script somehow.
5699
5700	  The original work on all these 2-4GB changes was done by
5701	  Peter Smith ([email protected]).
5702
5703	* Modified tif_win32.c to support 2-4GB seeks.
5704
5705	* tentatively changed toff_t to be unsigned instead of signed to
5706	  facilitate support for 2-4GB files.
5707
5708	* Updated a variety of files to use toff_t.  Fixed some mixups
5709	  between toff_t and tsize_t.
5710
5711Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
5712
5713	* Largely reimplemented contrib/addtiffo to avoid temp files,
5714	updating the TIFF file in place.  Fixed a few other bugs to.
5715
5716	* Set tif_rawdatasize to zero when freeing raw data buffer in
5717	TIFFWriteDirectory().
5718
5719	* Enabled "REWRITE_HACK" in tif_write.c by default.
5720
5721	* Fix bug in tif_write.c when switching between reading one directory
5722	and writing to another.
5723
5724	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
5725
5726Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
5727
5728	* Added TIFFmemory(3t) functions to libtiff.def.
5729
5730Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
5731
5732	* Added libtiff/libtiff.def to TIFFILES distribution list.
5733
5734Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
5735
5736	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
5737
5738	* Altered descriptions in tools to reflect "by default" lzw not supported
5739
5740	* Updated index.html to note lzw compression kit.
5741
5742Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
5743
5744	* Added fax3sm_winnt.c to distribution list in Makefile.in.
5745
5746Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
5747
5748	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
5749
5750	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
5751	  when LZW compression invoked.
5752
5753	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
5754	  in tools to reflect removal of LZW compression
5755
5756Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
5757
5758        * Fixed bug that caused LZW (non) compression to segfault. Added
5759	  warning about LZW compression removed being removed, and why.
5760
5761	* Added nostrip to install in tools/Makefile.in so that debugging
5762	  symbols are kept.
5763
5764Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
5765
5766	* Added patch from Ivo Penzar <[email protected]>,
5767	  supporting Adobe ZIP deflate.  Untested.
5768
5769Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
5770
5771	* Made Packbits the default compression in tools/tiff2rgba.c instead
5772	of LZW.
5773
5774Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
5775
5776	* Added tif_luv to contrib/djgpp/Makefile.lib.
5777
5778Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
5779
5780        * Added zip creation to relase makefile target
5781
5782	* Added html for TIFFWriteTile.3t man page.
5783
5784Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
5785
5786	* Added some changes to tif_write.c to support rewriting existing
5787	fixed sized tiles and strips.  Code mods disabled by default, only
5788	enabled if REWRITE_HACK is defined for now.
5789
5790Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
5791
5792	* Added TIFFWriteTile.3t man page.
5793
5794Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
5795
5796	* Added notes on use of makefile.vc in build.html, and fixed
5797	email subscription address.
5798
5799199-11-28  Mike Welles <[email protected]>
5800
5801	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
5802
5803	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
5804	   from Bruce Carmeron <[email protected]> -- modifications of
5805	   changes made by Frank (sun cc still complained on cast).
5806
5807	*  Added tiffconf.h to install target per request from Bill
5808	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
5809 	   know features have been compiled into the TIFF library in order to
5810	   handle things properly".
5811
5812Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
5813
5814	* fixed various VC++ warnings as suggested by Gilles Vollant
5815	<[email protected]>.
5816
5817Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
5818
5819	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
5820	not imply applications are responsible for image data swapping.
5821
58221999-11-22  Mike Welles <[email protected]>
5823	*  HTML-ized the man pages, added to html/man
5824
5825	*  Removed LZW Compression to comply with Unisys patent extortion.
5826
58271999-09-29  Mike Welles		<[email protected]>
5828	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
5829	   From Ivo Penzar <[email protected].
5830
5831	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
5832	   memory mapped files. <[email protected]>
5833
58341999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
5835	* Corrected alpha versioning.
5836
5837	* Removed distinction between  alpha and release targets in Makefile.in.
5838
5839	* added release.stamp target, which tags cvs tree, and updates
5840	  "RELEASE-DATE"
5841
5842	* added releasediff target, which diffs tree with source as of
5843	  date in "RELEASE-DATE"
5844
5845	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
5846	  away from alpha/non-alpha distinctions).
5847
5848	* updated html to reflect release
5849
58501999-09-23    <warmerda@CS46980-B>
5851
5852	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
5853
5854	* Added CYGWIN case in configure.
5855
5856Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
5857
5858	* Applied Francois Dagand's patch to handle fax decompression bug.
5859	  (sizes >= 65536 were failing)
5860
5861Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
5862
5863	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
5864	  by Christopher Lawton <[email protected]>
5865
5866Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
5867
5868	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
5869	  Albert Chin-A-Young <[email protected]>
5870
5871	* Added TIFFReassignTagToIgnore() API on behalf of
5872	  Bruce Cameron <[email protected]>.  Man page still pending.
5873
5874Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
5875
5876	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
5877	files to provide for a rudimentary testsuite.
5878
5879	* Added contrib/tags back from old distribution ... fixed up a bit.
5880
58811999-08-16    <warmerda@CS46980-B>
5882
5883	* Added simple makefile.vc makefiles for building with MS VC++
5884	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
5885	better solutions for some users.
5886
5887Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
5888
5889	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
5890	put it in tools since part of it is in C++.
5891
58921999-08-16  Michael L. Welles  <[email protected]>
5893
5894	* Updated html/index.html with anon CVS instructions.
5895
5896Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
5897
5898	* pre-remove so link before softlink in LINUXdso action in
5899	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
5900	the first.
5901
5902	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
5903	colormaps owned by the TIFF handle itself when trying to fixup wrong
5904	(eight bit) colormaps.  Corrected by maintaining a private copy of
5905	the colormap.
5906
5907	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
5908	tif_getimage.c.
5909
5910	* CVS Repository placed at remotesensing.org.  ChangeLog added.
5911