xref: /libtiff-4.0.7/ChangeLog (revision 90153524)
12008-05-09  Bob Friesenhahn  <[email protected]>
2
3	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
4	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
5
62008-04-15  Andrey Kiselev  <[email protected]>
7
8	* test/: Test suite updated. Everything is passed now.
9
10	* libtiff/tif_dirinfo.c: Fixed description of the
11	TIFFTAG_NUMBEROFINKS tag.
12
132008-04-14  Andrey Kiselev  <[email protected]>
14
15	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
16	Get rid of some of "dereferencing type-punned" warnings by converting
17	tdir_offset field of TIFFDirEntry structure into union.
18
192008-04-10  Andrey Kiselev  <[email protected]>
20
21	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
22	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
23	from the public interface. Type of its 'count' parameter changed
24	from uint32 to tmsize_t.
25
26	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
27	of the tiff structure have the size_t type instead of uint32.
28
292008-04-09  Andrey Kiselev  <[email protected]>
30
31	* tools/tiffdump.c: Added support for MSVS 6.0.
32
33	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
34	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
35	point values on MSVS 6.0 platform.
36
372008-03-14  Frank Warmerdam  <[email protected]>
38
39	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
40	TIFFReadDirEntryArray() since they are interfering with seemingly
41	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
42
432008-02-09  Joris Van Damme  <[email protected]>
44
45	* tif_dirread.c: Added handling for the case of number of values for
46	PageNumber tag different from 2 (previously resulted in an assert
47	indicating lack of handling and was forgotten about)
48
492008-02-01  Frank Warmerdam  <[email protected]>
50
51	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
52	the actual jpeg data stream if the first strip/tile has zero size.
53	This is the case when GDAL creates a new file with zero sizes, closes
54	and reopens it.
55
562008-01-07  Frank Warmerdam  <[email protected]>
57
58	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
59
602008-01-01  Frank Warmerdam  <[email protected]>
61
62	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
63
64	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
65	targets.
66
67	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
68	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
69	(x64).
70
71	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
72	and TIFFFieldWithName() now return TIFFField pointers instead of
73	TIFFFieldInfo pointers.
74
75	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
76	exist. This makes it compile again on Windows
77
78	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
79	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
80
81	* test/rewrite_tag.c: New test for TIFFRewriteField().
82
832007-12-31  Frank Warmerdam  <[email protected]>
84
85	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
86	rewrites one field "on disk" updating an existing directory
87	entry.  Lots of limitations still...
88
89	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
90	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
91	the strip offset/size values are dirty but nothing else about the
92	directory is dirty.  In flush handle "just stripmaps dirty" as a
93	special case that just rewrites these values without otherwise
94	modifying the directory on disk using TIFFRewriteField().
95
96	We also modify logic so that in update mode the directory is not
97	marked dirty on read, but only when something is changed.  This
98	means we need to keep track of updates to the stripmap stuff in
99	TIFFAppendToStrip().
100
1012007-12-10  Frank Warmerdam  <[email protected]>
102
103	* tif_jpeg.c: Improve ability to switch between encoding and decoding
104	in the jpeg code (gdal bug #2033).
105
1062007-11-23  Frank Warmerdam  <[email protected]>
107
108	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
109	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
110	rawcp/rawcc buffer are for writing and thus may require flushing.
111	Necessary to distinguish whether they need to be written to disk when
112	in mixed read/write mode and doing a mixture of writing followed by
113	reading.  http://trac.osgeo.org/gdal/ticket/1758
114
1152007-11-23  Andrey Kiselev  <[email protected]>
116
117	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
118	from Alexey Chupahin.
119
1202007-11-02  Frank Warmerdam  <[email protected]>
121
122	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
123	establishing if an existing tile can be rewritten to the same location
124	by comparing the current size to all the other blocks in the same
125	directory.  This is dangerous in many situations and can easily
126	corrupt a file.  (observed in esoteric GDAL situation that's hard to
127	document).  This change involves leaving the stripbytecount[] values
128	unaltered till TIFFAppendToStrip().  Now we only write a block back
129	to the same location it used to be at if the new data is the same
130	size or smaller - otherwise we move it to the end of file.
131
132	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
133	data when writing the directory just because we have BEENWRITING at
134	some point in the past.  This was causing odd junk to be written out
135	in a tile of data when a single tile had an interleaving of reading
136	and writing with reading last.  (highlighted by gdal
137	autotest/gcore/tif_write.py test 7.
138
139	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
140	modifying callers buffer.
141	http://trac.osgeo.org/gdal/ticket/1965
142
143	* tif_predict.c/h: more fixes related to last item, keeping a
144	distinct pfunc for encode and decode cases as these were getting
145	mixed up sometimes.
146	http://trac.osgeo.org/gdal/ticket/1948
147
1482007-11-01  Frank Warmerdam  <[email protected]>
149
150	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
151	predictor based encoding and decoding works in read-write update
152	mode properly.
153	http://trac.osgeo.org/gdal/ticket/1948
154
1552007-10-24  Joris Van Damme  <[email protected]>
156
157	* tif_dirread.c: Fixed problem with bogus file triggering
158	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
159	ChopUpSingleUncompressedStrip
160
1612007-10-22  Joris Van Damme  <[email protected]>
162
163	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
164	at best, access violation at worst, when subsampled JPEG compressed imagery
165	is decoded without the JPEG_COLORMODE feature
166
1672007-10-11  Frank Warmerdam  <[email protected]>
168
169	* html/index.html: Update "people responsible" section.
170
1712007-10-05  Frank Warmerdam  <[email protected]>
172
173	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
174	as reported on the mailing list.
175
1762007-10-01  Joris Van Damme  <[email protected]>
177
178	* changed some more incorrect %lud printf flags to %lu
179
1802007-09-29  Joris Van Damme  <[email protected]>
181
182	* tif_dirread.c: Strip chopping interfered badly with uncompressed
183	subsampled images because it tried to divide subsampled rowblocks,
184	leading to all sorts of errors throughout the library for these
185	images. Fixed by making strip chopping divide in row counts that
186	are a multiple of vertical subsampling value.
187
1882007-09-28  Joris Van Damme  <[email protected]>
189
190	* tif_dirread.c: Logical cast working around compiler warning
191
192	* tif_read.c: Correction of some error flags and parameter lists
193
1942007-09-27  Joris Van Damme  <[email protected]>
195
196	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
197	when dealing with large bitspersample values, shutting up purification
198	tools that warn about truncation, though it remains incorrect and
199	indicates a conceptual problem there.
200
201	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
202	of first IFD) to proper place because it badly interfered with memory
203	mapping, resulting in mapping flag even with dummy mapping functions
204	that returned 0 whilst at the same time the mapping tif_size wasn't
205	set, thus resulting in continuous incorrect beyond-eof errors.
206
2072007-09-24  Joris Van Damme  <[email protected]>
208
209	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
210	inconsistent use of const in tiffFields and exifFields definition
211
2122007-09-20  Frank Warmerdam  <[email protected]>
213
214	* tif_dirwrite.c: Always write tile/strip offsets and sizes
215	using LONG8 type when output format is BigTIFF.  The
216	TIFFWriteDirectoryTagLongLong8Array() function was restructured
217	accordingly.
218
219	* tif_dirread.c: Improvements to error reporting text in
220	TIFFFetchDirectory().
221
2222007-09-19  Bob Friesenhahn  <[email protected]>
223
224	* test/images: Added a small collection of test images for use by
225	test programs and scripts.
226	* test/tiffinfo.sh: A trivial example test script.
227	* test/common.sh: Added small script for setting the environment
228	used by script-based tests.
229
2302007-08-24  Frank Warmerdam  <[email protected]>
231
232	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
233	zero when writing directory contents to preserve the ability to
234	rewrite directories in place, even in the middle of a directory
235	chain.
236
237	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
238	definitions that are missing.  Existing definitions are silently
239	ignored.
240
241	* tif_dirread.c: Add runtime error for fields for which no definition
242	is found (in addition to an assert for developers) in
243	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
244	prudent.
245
2462007-08-10  Joris Van Damme  <[email protected]>
247
248	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
249	from _TIFFRGBAImage structure to revert unwanted ABI change.
250
2512007-08-10  Joris Van Damme  <[email protected]>
252
253	* libtiff/tif_win32.c: use SetFilePointer instead of
254	SetFilePointerEx, as per bug
255
256	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
257
2582007-07-19  Andrey Kiselev  <[email protected]>
259
260	* libtiff/tif_stream.cxx: Put all callback functions declarations
261	inside extern "C" block.
262
263	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
264	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
265	formatter instead of "%lld" with MSVC compiler.
266
267	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
268	_TIFFUInt64ToDouble() functions.
269
2702007-07-18  Andrey Kiselev  <[email protected]>
271
272	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
273	integer constants.
274
275	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
276	remove tif_config.h/tiffconf.h during cleaning. As per bug
277
278	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
279
280	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
281
282	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
283
2842007-07-13  Andrey Kiselev  <[email protected]>
285
286	* libtiff 4.0.0alpha released.
287
2882007-07-12  Andrey Kiselev  <[email protected]>
289
290	* tools/tiff2pdf.c: Added missed extern optind as per bug
291
292	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
293
294	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
295	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
296	extending scheme completed.
297
2982007-07-11  Bob Friesenhahn  <[email protected]>
299
300	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
301	use standard C++ library size types and attempt to detect overflow
302	cases.
303
3042007-07-08  Andrey Kiselev  <[email protected]>
305
306	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
307	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
308	tag extending scheme. Use the new scheme everywhere.
309
310	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
311	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
312	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
313	TIFFFIeldInfo structure replaced with TIFFField structure.
314	TIFFFieldInfo retained for the backward compatibility.
315
3162007-07-05  Bob Friesenhahn  <[email protected]>
317
318	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
319	defined.
320
3212007-07-04  Andrey Kiselev  <[email protected]>
322
323	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
324	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
325	removed.
326
327	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
328	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
329	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
330	These tags are not codec-specific and relate to image content, so
331	process them as other normal tags.
332
333	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
334	public tiffio.h to private tif_dir.h.
335
336	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
337	outdated.
338
3392007-07-03  Andrey Kiselev  <[email protected]>
340
341	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
342	tif_win3.c}: Obsoleted portability stuff removed.
343
344	* tools/tiff2ps.c:  Added support 16-bit images as per bug
345
346	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
347
348	Patch from William Bader.
349
350	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
351	significant upgrade of the whole utility as per bug
352
353	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
354
355	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
356	PDF file using TIFFClientOpen() machinery as it is implemented
357	by Leon Bottou.
358
3592007-06-26  Bob Friesenhahn  <[email protected]>
360
361	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
362	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
363	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
364	allow returning -1 for errors.
365	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
366
3672007-06-25  Bob Friesenhahn  <[email protected]>
368
369	* port/strtoull.c: New porting function in case strtoull() is not
370	available on the target system.
371	* configure.ac: Add configure support for determining sized types
372	in a portable way and performing necessary substitutions in
373	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
374	definitions.
375
3762007-04-27  Andrey Kiselev  <[email protected]>
377
378	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
379
380	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
381
3822007-04-07  Andrey Kiselev  <[email protected]>
383
384	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
385	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
386	tif_predict.c, tif_zip.c}: Finally fix bug
387
388	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
389
390	by introducing _TIFFMergeFieldInfo() returning integer error status
391	instead of void in case of problems with field merging (e.g., if the
392	field with such a tag already registered). TIFFMergeFieldInfo() in
393	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
394	check returned value.
395
3962007-04-07  Frank Warmerdam  <[email protected]>
397
398	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
399	blocks in TIFF_DownSample_Subsampled() (bug 1542).
400
4012007-04-06  Frank Warmerdam  <[email protected]>
402
403	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
404	will convert from decompressor to compressor or compress to decompress
405	if required by the force arguments.  This works around a problem in
406	where the JPEGFixupTestSubsampling() may cause a decompressor to
407	be setup on a directory when later a compressor is required with the
408	force flag set.  Occurs with the addtiffo program for instance.
409
4102007-04-06  Andrey Kiselev  <[email protected]>
411
412	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
413	functionality from Richard Nolde. As per bug
414
415	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
416
4172007-03-28  Frank Warmerdam  <[email protected]>
418
419	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
420
4212007-03-17  Joris Van Damme  <[email protected]>
422
423	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
424
4252007-03-07  Joris Van Damme  <[email protected]>
426
427	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
428	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
429	factor. This bug is mentioned in:
430	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
431	http://www.asmail.be/msg0054766825.html
432
4332007-03-07  Joris Van Damme  <[email protected]>
434
435	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
436
437	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
438	unused arguments by standard C indication for the same
439
4402007-02-27  Andrey Kiselev  <[email protected]>
441
442	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
443	counters in TIFFFetchData(). Should finally fix the issue
444
445	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
446
4472007-02-24  Andrey Kiselev  <[email protected]>
448
449	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
450	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
451
452	* libtiff/tif_dirread.c: Added special function to handle
453	SubjectDistance EXIF tag as per bug
454
455	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
456
457	* tools/tiff2pdf.c: Do not assume inches when the resolution units
458	do not specified. As per bug
459
460	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
461
462	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
463	it was set as infinite. As per bug
464
465	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
466
467	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
468	by Richard Nolde. As per bug
469
470	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
471
4722007-02-22  Andrey Kiselev  <[email protected]>
473
474	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
475	ExtraSamples == 999 produced by Corel Draw. As per bug
476
477	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
478
479	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
480	changed from tsize_t to uint32 to be able to work with data arrays
481	larger than 2GB. Fixes bug
482
483	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
484
485	Idea submitted by Matt Hancher.
486
4872007-01-31  Andrey Kiselev  <[email protected]>
488
489	* tools/tif2rgba.c: This utility does not work properly on big-endian
490	architectures. It was fixed including the bug
491
492	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
493
4942007-01-15  Mateusz Loskot <[email protected]>
495
496	* Submitted libtiff port for Windows CE platform
497	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
498	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
499	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
500	functons from tif_win32.c.
501	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
502	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
503	standard header files for Windows CE build.
504	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
505
5062006-11-19  Frank Warmerdam  <[email protected]>
507
508	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
509	we move a strip.
510	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
511
5122006-10-13  Andrey Kiselev  <[email protected]>
513
514	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
515	in Gentoo bug ():
516
517	http://bugs.gentoo.org/show_bug.cgi?id=142383
518
519	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
520	Though it is still far from the state of being working and useful.
521
5222006-10-12  Andrey Kiselev  <[email protected]>
523
524	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
525	method.
526
527	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
528	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
529
530	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
531	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
532
533	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
534	vulnerabilities, reported in Gentoo bug ():
535
536	http://bugs.gentoo.org/show_bug.cgi?id=142383
537
5382006-09-28  Andrey Kiselev  <[email protected]>
539
540	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
541	vulnerabilities, as per	Gentoo bug ():
542
543	http://bugs.gentoo.org/show_bug.cgi?id=142383
544
5452006-09-27  Frank Warmerdam  <[email protected]>
546
547	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
548	encoding and decoding on the same read-write TIFF handle.  The LZW
549	code can now maintain encode and decode state at the same time. The
550	ZIP code will switch back and forth as needed.
551	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
552
5532006-09-20  Frank Warmerdam  <[email protected]>
554
555	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
556	tif_config.vc.h for easier identification by folks using an IDE.
557
5582006-07-25  Frank Warmerdam  <[email protected]>
559
560	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
561
5622006-07-19  Frank Warmerdam  <[email protected]>
563
564	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
565	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
566	to bug report by Peng Gao with black strip at bottom of images.
567
5682006-07-12  Frank Warmerdam  <[email protected]>
569
570	* tif_dirwrite.c: make sure to use uint32 for wordcount in
571	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
572	It already seems to have been done for other field types.  Needed
573	for "tiffset" on files with geotiff ascii text.
574
5752006-07-04  Bob Friesenhahn  <[email protected]>
576
577	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
578	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
579	its use does not appear to be required, so use it only when it is
580	available.
581
5822006-06-24  Andrey Kiselev  <[email protected]>
583
584	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
585
586	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
587	function TIFFFetchDirectory() avoiding code duplication in
588	TIFFReadDirectory() and TIFFReadCustomDirectory().
589
5902006-06-19  Frank Warmerdam  <[email protected]>
591
592	* tools/tiff2pdf.c: Fix handling of -q values.
593	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
594
5952006-06-17  Frank Warmerdam  <[email protected]>
596
597	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
598	files.  Modified TIFFReadDirectory() to not invoke
599	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
600	but one of them is zero.
601	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
602
6032006-06-08  Andrey Kiselev  <[email protected]>
604
605	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
606	checking code in the separate function TIFFCheckDirOffset().
607
608	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
609
610	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
611
612	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
613
614	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
615
616	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
617
618	* tools/tiff2pdf.c: Fixed buffer overflow condition in
619	t2p_write_pdf_string() as per bug
620
621	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
622
6232006-06-07  Andrey Kiselev  <[email protected]>
624
625	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
626	support for JBIG compression scheme (34661 code) contributed by Lee
627	Howard. As per bug
628
629	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
630
631	* configure, configure.ac: OJPEG support enabled by default.
632
633	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
634
6352006-06-03  Bob Friesenhahn  <[email protected]>
636
637	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
638	TIFFPrintDirectory().  Joris Van Damme authored the fix.
639
6402006-04-21  Andrey Kiselev  <[email protected]>
641
642	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
643	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
644
645	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
646	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
647	Added support for OpenVMS by Alexey Chupahin, [email protected].
648
6492006-04-20  Andrey Kiselev  <[email protected]>
650
651	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
652	Properly set the binary mode for stdin stream as per bug
653	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
654
655	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
656	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
657	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
658	tiffset.1}: Improvements in page formatting as per bug
659	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
660
661	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
662	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
663
6642006-04-18  Frank Warmerdam  <[email protected]>
665
666	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
667	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
668
6692006-04-12  Joris Van Damme  <[email protected]>
670
671	* libtiff/tif_getimage.c: Added support for planarconfig separate
672	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
673
6742006-04-11  Joris Van Damme  <[email protected]>
675
676	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
677	- Conversion of unassociated alpha to associated alpha now done with
678	  more performant LUT, and calculation more correct
679	- Conversion of 16bit data to 8bit data now done with
680	  more performant LUT, and calculation more correct
681	- Bugfix of handling of 16bit RGB with unassociated alpha
682
6832006-04-11  Joris Van Damme  <[email protected]>
684
685	* libtiff/tif_getimage.c:
686	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
687	  buffer for alpha strile and filled it, only to never read it back.
688	  Removed allocation and fill.
689	- Minor rename of vars in gtTileSeparate and gtStripSeparate
690	  anticipating planned functionality extension
691
6922006-04-08  Joris Van Damme  <[email protected]>
693
694	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
695	and pickTileSeparateCase to PickSeparateCase as both work on strips as
696	well
697
698	* libtiff/tif_getimage.c: moved img->get selection from
699	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
700	logical hook for planned functionality extension
701
7022006-04-08  Joris Van Damme  <[email protected]>
703
704	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
705	of inappropriate use of jpeg_abort instead of jpeg_destroy
706
7072006-04-07  Joris Van Damme  <[email protected]>
708
709	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
710	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
711	on subsampled images - this ought to get sorted when we feel brave
712	enough to replace TIFFScanlineSize alltogether
713
714	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
715
7162006-04-04  Joris Van Damme  <[email protected]>
717
718	* libtiff/tiffio.h: added new type tstrile_t
719
720	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
721	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
722	toff_t*
723
724	* libtiff/tif_ojpeg.c: totally new implementation
725
726	* libtiff/tif_dirread.c: added several hacks to suit new support of
727	OJPEG
728
729	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
730	of OJPEG images in favor of tif_getimage.c native handling of
731	YCbCr and desubsampling
732
7332006-03-29  Frank Warmerdam  <[email protected]>
734
735	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
736	interpretation causes the "upsampled" flag to be recomputed.  Fixes
737	peculiar bug where photometric flag had to be set before jpegcolormode
738	flag.
739
7402006-03-25  Joris Van Damme  <[email protected]>
741
742	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
743
744	* libtiff/tif_strip.c: temporarilly added two new versions of
745	TIFFScanlineSize
746	  - TIFFNewScanlineSize: proposed new version, after all related
747	    issues and side-effects are sorted out
748	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
749	This needs further sorting out.
750
7512006-03-25  Joris Van Damme  <[email protected]>
752
753	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
754	of last truncated strip data to TIFFWriteEncodedStrip
755
7562006-03-25  Joris Van Damme  <[email protected]>
757
758	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
759
7602006-03-25  Joris Van Damme  <[email protected]>
761
762	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
763
764	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
765
766	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
767	prepare	the path for new tif_ojpeg.c
768
7692006-03-23  Andrey Kiselev  <[email protected]>
770
771	* libtiff 3.8.2 released.
772
773	* tools/Makefile.am: Use runtime paths linker flags when rpath
774	option enabled.
775
7762006-03-21  Andrey Kiselev  <[email protected]>
777
778	* libtiff/libtiff.def: Added missed exports as per bug
779	http://bugzilla.remotesensing.org/attachment.cgi?id=337
780
781	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
782	tools/Makefile.vc: Makefiles improvements as per bug
783	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
784
785	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
786	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
787	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
788
789	* libtiff/tif_strip.c: Take subsampling in account when calculating
790	TIFFScanlineSize().
791
792	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
793
7942006-03-17  Andrey Kiselev  <[email protected]>
795
796	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
797	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
798
799	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
800	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
801
8022006-03-16  Andrey Kiselev  <[email protected]>
803
804	* libtiff/tiffiop.h: Added decalration for
805	_TIFFSetDefaultCompressionState().
806
807	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
808	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
809	codec cleanup methods. As per bug
810
811	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
812
8132006-03-15  Andrey Kiselev  <[email protected]>
814
815	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
816	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
817
818	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
819	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
820
821	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
822	removed; move here the STRIP_SIZE_DEFAULT macro definition.
823
824	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
825	macro definition.
826
827	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
828
8292006-03-14  Andrey Kiselev  <[email protected]>
830
831	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
832	in TIFFReadDirectory, because it is always set at the start of
833	function and we allow TIFFs without that tag set.
834
8352005-03-13  Andrey Kiselev  <[email protected]>
836
837	* libtiff 3.8.1 released.
838
8392006-03-07  Andrey Kiselev  <[email protected]>
840
841	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
842	function as per bug
843	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
844
845	* libtiff/tif_dirread.c: More wise check for integer overflow
846	condition as per bug
847	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
848
849	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
850	Properly restore setfield/getfield methods in cleanup functions. As
851	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
852
8532006-03-03  Andrey Kiselev  <[email protected]>
854
855	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
856	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
857
858	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
859	TIFFPredictorCleanup() in codec cleanup methods. As per bug
860
861	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
862
863	* libtiff/tif_dirread.c: Fixed integer overflow condition in
864	TIFFFetchData() function. As per bug
865
866	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
867
8682006-03-01  Andrey Kiselev  <[email protected]>
869
870	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
871	TIFFSetField() method, not directly. As per bug
872
873	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
874
875	* tools/ppm2tiff.c: Added support for PBM files as per bug
876	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
877
8782006-02-27  Andrey Kiselev  <[email protected]>
879
880	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
881	to avoid crash as per bug
882
883	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
884
8852006-02-26  Andrey Kiselev  <[email protected]>
886
887	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
888	t2p_sample_rgba_to_rgb() was used in place of each other, that was
889	resulted in problems with RGBA images with associated alpha.
890	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
891
8922006-02-23  Andrey Kiselev  <[email protected]>
893
894	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
895	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
896
897	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
898	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
899	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
900
901	* tools/tiff2ps.c: Properly scale all the pages when converting
902	multipage TIFF with /width/height/center options set. As per bug
903
904	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
905
9062006-02-15  Andrey Kiselev  <[email protected]>
907
908	* tools/tiff2pdf.c: Do not create output file until all option checks
909	will be done. As per bug
910
911	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
912
913	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
914	list of input files as per bug:
915
916	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
917
9182006-02-09  Andrey Kiselev  <[email protected]>
919
920	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
921	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
922
923	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
924	TIFFRGBAImage interface.
925
926	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
927	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
928
9292006-02-07  Frank Warmerdam  <[email protected]>
930
931	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
932	compressed TIFF files, per submission from Dan Cobra.
933
9342006-02-07  Andrey Kiselev  <[email protected]>
935
936	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
937	cast values to avoid warnings. As per bug
938	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
939
940	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
941	appropriate. As per bug
942	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
943
944	* libtiff/tif_aux.c: Fixed type of temporary variable in
945	_TIFFCheckMalloc() as per bug
946	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
947
9482006-02-06  Andrey Kiselev  <[email protected]>
949
950	* libtiff/tif_aux.c: Return static array when fetching default
951	YCbCrCoefficients (another problem, reported a the
952	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
953
9542006-02-03  Andrey Kiselev  <[email protected]>
955
956	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
957	YCbCrSubsampling and DotRange tags as per bugs
958
959	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
960	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
961
962	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
963	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
964
965	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
966
9672006-01-23  Andrey Kiselev  <[email protected]>
968
969	* libtool related stuff updated from the 2.1a branch.
970
9712006-01-11  Frank Warmerdam  <[email protected]>
972
973	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
974	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
975	properly as per bug:
976	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
977
9782006-01-09  Bob Friesenhahn  <[email protected]>
979
980	* configure.ac: Fix with_default_strip_size comparison as reported
981	by Norihiko Murase.
982
9832006-01-08  Bob Friesenhahn  <[email protected]>
984
985	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
986	incorrectly, tests were not actually testing the uninstalled
987	libtiff.  Now they are.
988
9892006-01-04  Andrey Kiselev  <[email protected]>
990
991	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
992	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
993	should be uint32 value.
994
9952006-01-02  Bob Friesenhahn  <[email protected]>
996
997	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
998	be used if build directory is not the same as source directory.
999	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
1000	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
1001	and re-sorted tag names in alphabetical order.
1002
10032005-12-29  Andrey Kiselev  <[email protected]>
1004
1005	* libtiff 3.8.0 released.
1006
10072005-12-28  Bob Friesenhahn  <[email protected]>
1008
1009	* tools/bmp2tiff.c (main): Fixed warning regarding returning
1010	inconsistent types from a condition.
1011	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
1012	format.
1013	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
1014
10152005-12-28  Joris Van Damme  <[email protected]>
1016
1017	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
1018
10192005-12-27  Andrey Kiselev  <[email protected]>
1020
1021	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
1022	windows.h, to reduce the compile time.
1023
10242005-12-26  Bob Friesenhahn  <[email protected]>
1025
1026	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
1027
10282005-12-26  Andrey Kiselev  <[email protected]>
1029
1030	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
1031	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
1032	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
1033	private functions to retrieve FieldInfo arrays.
1034
10352005-12-24  Bob Friesenhahn  <[email protected]>
1036
1037	* html/build.html: Added some additional instructions for when
1038	building using MSVC under Windows.  Also fixed two HTML syntax
1039	errors and used HTML Tidy to tidy up the HTML syntax and
1040	formatting.
1041
10422005-12-24  Andrey Kiselev  <[email protected]>
1043
1044	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
1045	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
1046	StoNits tags custom.
1047
10482005-12-23  Andrey Kiselev  <[email protected]>
1049
1050	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
1051	WhitePoint tag custom.
1052
1053	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
1054
10552005-12-23  Joris Van Damme  <[email protected]>
1056
1057	* libtiff/tiffio.h: fixed typo that potentially resulted in
1058	redefininition of USE_WIN32_FILEIO
1059
1060	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
1061	calls in core LibTiff.
1062
10632005-12-21  Andrey Kiselev  <[email protected]>
1064
1065	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
1066	Photoshop and ICCProfile tags custom.
1067
10682005-12-21  Joris Van Damme  <[email protected]>
1069
1070	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
1071	newer code to get context indicator in error handler and still
1072	remain compatible with older code: Done TIFFError calls everywhere
1073	except in tools
1074
10752005-12-20  Andrey Kiselev  <[email protected]>
1076
1077	* tools/tiffcp.c: Added many error reporting messages; fixed integer
1078	overflow as per bug
1079
1080	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
1081
10822005-12-16  Frank Warmerdam  <[email protected]>
1083
1084	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
1085	YCbCr images in jpeg compressed TIFF files.
1086
10872005-12-14  Andrey Kiselev  <[email protected]>
1088
1089	* tools/tiffcp.c: Return non-zero status when reading fails (again).
1090
10912005-12-13  Andrey Kiselev  <[email protected]>
1092
1093	* tools/tiffcp.c: Return non-zero status when reading fails.
1094
10952005-12-12  Andrey Kiselev  <[email protected]>
1096
1097	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
1098
10992005-12-09  Andrey Kiselev  <[email protected]>
1100
1101	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
1102	custom.
1103
1104	* tools/tiffinfo.c: Print EXIF directory contents if exist.
1105
1106	* libtiff/tiff.h: Few EXIF tag numbers added.
1107
1108	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
1109	tiffio.h}: Preliminary support to read custom directories. New
1110	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
1111
11122005-12-07  Andrey Kiselev  <[email protected]>
1113
1114	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
1115	More work to implement custom directory read support.
1116
1117	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
1118	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
1119	tags custom.
1120
11212005-12-05  Andrey Kiselev  <[email protected]>
1122
1123	* libtiff/tif_dirread.c: One more workaround for broken
1124	StripByteCounts tag. Handle the case when StripByteCounts array filled
1125	with completely wrong values.
1126
11272005-11-30  Andrey Kiselev  <[email protected]>
1128
1129	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
1130	in the TIFFOpenW() function as per bug
1131
1132	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
1133
1134	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
1135	functions as per bug
1136
1137	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
1138
11392005-11-20  Frank Warmerdam  <[email protected]>
1140
1141	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
1142	for MS MDI format.
1143	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
1144
1145	* .cvsignore: many files added, and a few update according
1146	to suggestion of Brad HArds on tiff mailing list.
1147
11482005-11-03  Frank Warmerdam  <[email protected]>
1149
1150	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
1151	public.
1152
11532005-10-31  Andrey Kiselev  <[email protected]>
1154
1155	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
1156	as per bug
1157
1158	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
1159
1160	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
1161	as per bug
1162
1163	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
1164
1165	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
1166	problem as per bug
1167
1168	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
1169
1170	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
1171
1172	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
1173
1174	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
1175	ResolutionUnit tags modifiable during write process. As per bug
1176
1177	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
1178
1179	* tools/tiffsplit.c: Copy fax related fields over splitted parts
1180	as per bug
1181
1182	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
1183
11842005-10-21  Frank Warmerdam  <[email protected]>
1185
1186	* tif_dirread.c: Don't try and split single strips into "0" strips
1187	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
1188	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
1189
11902005-10-20  Joris Van Damme  <[email protected]>
1191
1192	* tif_fax3.c: changed 'at scanline ...' style warning/errors
1193	with incorrect use of tif_row, to 'at line ... of
1194	strip/tile ...' style
1195
11962005-10-15  Frank Warmerdam  <[email protected]>
1197
1198	* tif_write.c: fixed setting of planarconfig as per bug report
1199	on the mailing list from Joris.
1200
12012005-10-07  Andrey Kiselev  <[email protected]>
1202
1203	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
1204	tif_dirread.c}: Make the default strip size configurable via the
1205	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
1206
12072005-09-30  Bob Friesenhahn  <[email protected]>
1208
1209	* html/support.html: Fixed link to documentation on Greg Ward's
1210	LogLuv TIFF format.
1211
12122005-09-28  Andrey Kiselev  <[email protected]>
1213
1214	* tools/tiffdump.c: Fixed crash when reading malformed tags.
1215
12162005-09-20  Andrey Kiselev  <[email protected]>
1217
1218	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
1219	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
1220
12212005-09-12  Andrey Kiselev  <[email protected]>
1222
1223	* libtiff 3.7.4 released.
1224
1225	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
1226	from Patrick Welche (all scripts moved in the 'config' and 'm4'
1227	directories).
1228
12292005-09-12  Frank Warmerdam  <[email protected]>
1230
1231	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
1232
12332005-09-05  Frank Warmerdam  <[email protected]>
1234
1235	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
1236	also set it to NULL to avoid double free when re-setting custom
1237	string fields as per:
1238
1239	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
1240
12412005-08-12  Frank Warmerdam  <[email protected]>
1242
1243	* libtiff/tif_print.c: avoid signed/unsigned warning.
1244
1245	* libtiff/tif_dirread.c: removed unused variable.
1246
12472005-07-30  Frank Warmerdam  <[email protected]>
1248
1249	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
1250	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
1251	pass on bigendian (macosx) system.
1252
12532005-07-28  Andrey Kiselev  <[email protected]>
1254
1255	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
1256	CheckMalloc() function to _TIFFCheckMalloc() and make it available
1257	globally as an internal helper routine.
1258
12592005-07-27  Andrey Kiselev  <[email protected]>
1260
1261	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
1262	the custom tags handling code.
1263
12642005-07-26  Andrey Kiselev  <[email protected]>
1265
1266	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
1267	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
1268	function, use TIFFFetchNormalTag() instead as per bug
1269
1270	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
1271
1272	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
1273	instead.
1274
1275	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
1276
1277	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
1278
12792005-07-25  Andrey Kiselev  <[email protected]>
1280
1281	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
1282
1283	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
1284
12852005-07-21  Andrey Kiselev  <[email protected]>
1286
1287	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
1288	the TIFFWriteCheck() function in case of single band images (as per
1289	TIFF spec).
1290
12912005-07-12  Andrey Kiselev  <[email protected]>
1292
1293	* SConstruct, libtiff/SConstruct: Added the first very preliminary
1294	support for SCons software building tool (http://www.scons.org/).
1295	This is experimental infrastructure and it will exist along with the
1296	autotools mechanics.
1297
12982005-07-07  Andrey Kiselev  <[email protected]>
1299
1300	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
1301	the NetBSD source tree (the old	4-clause BSD license changed to
1302	the new 3-clause one).
1303
1304	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
1305	replacement module.
1306
1307	* port/dummy.c: Make the dummy function static.
1308
13092005-07-06  Andrey Kiselev  <[email protected]>
1310
1311	* tools/tiffcp.c: Fixed WhitePoint tag copying.
1312
1313	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
1314	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
1315	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
1316
13172005-07-04  Andrey Kiselev  <[email protected]>
1318
1319	* libtiff 3.7.3 released.
1320
1321	* configure, configure.ac: Do not use empty -R option when linking
1322	with --enable-rpath.
1323
13242005-07-01  Andrey Kiselev  <[email protected]>
1325
1326	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
1327	reading the first IFD when needed. As per bug
1328
1329	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
1330
1331	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
1332	effects.
1333
13342005-06-23  Andrey Kiselev  <[email protected]>
1335
1336	* tools/tiff2pdf.c: Print two characters per loop in the
1337	t2p_write_pdf_trailer(). As per bug
1338
1339	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
1340
1341	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
1342	per bug
1343
1344	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
1345
1346	* acinclude.m4: Updated to latest OpenGL test macros versions.
1347
1348	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
1349	platform. As per bug
1350
1351	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
1352
13532005-06-14  Andrey Kiselev  <[email protected]>
1354
1355	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
1356	and YClipPathUnits tags.
1357
13582005-06-07  Andrey Kiselev  <[email protected]>
1359
1360	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
1361	use pixel sized shift in contigous case.
1362
13632005-06-06  Andrey Kiselev  <[email protected]>
1364
1365	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
1366	Make overviews working for contiguos images.
1367
13682005-06-03  Andrey Kiselev  <[email protected]>
1369
1370	* libtiff/tif_open.c: Replace runtime endianess check with the compile
1371	time one.
1372
1373	* libtiff/tif_predict.c: Floating point predictor now works on
1374	big-endian hosts.
1375
13762005-06-01  Andrey Kiselev  <[email protected]>
1377
1378	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
1379	ASCII values.
1380
1381	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
1382	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
1383	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
1384	TargetPrinter tags custom.
1385
1386	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
1387	TIFF_CODERSETUP flag (to fix memry leaks).
1388
1389	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
1390	allocating.
1391
13922005-05-26  Andrey Kiselev  <[email protected]>
1393
1394	* configure.ac, libtiff/Makefile.am: Added workaround for
1395	OpenBSD/MirOS soname problem as per bug
1396
1397	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
1398
1399	* libtiff/tif_dirwrite.c: Use tdir_count when calling
1400	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
1401	per bug
1402
1403	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
1404
14052005-05-25  Andrey Kiselev  <[email protected]>
1406
1407	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
1408	the fscanf() function. As per bug
1409
1410	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
1411
1412	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
1413	uint16 array when fetching the BYTE and SBYTE filds, so we should
1414	consider result as pointer to uint16 array and not as array of chars.
1415	As per bug
1416
1417	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
1418
1419	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
1420
1421	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
1422
1423	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
1424	mode in CreateFile() call as per bug
1425
1426	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
1427
1428	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
1429	libtiffxx libraries as per bug
1430
1431	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
1432
1433	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
1434	GDAL.
1435
14362005-05-23  Frank Warmerdam  <[email protected]>
1437
1438	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
1439	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
1440	in directory.
1441
14422005-05-22  Frank Warmerdam  <[email protected]>
1443
1444	* libtiff/tif_dirread.c: Changed the code that computes
1445	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
1446	zero. This is a common case with GDAL indicating a "null" tile/strip.
1447
14482005-05-17  Andrey Kiselev  <[email protected]>
1449
1450	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
1451
14522005-05-06  Frank Warmerdam  <[email protected]>
1453
1454	* libtiff/tif_dirread.c: Applied similar change to
1455	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
1456
1457	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
1458
1459	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
1460
14612005-05-06  Andrey Kiselev  <[email protected]>
1462	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
1463	added new option '-b' to use interpolation in output PDF files (Bruno
1464	Ledoux).
1465
14662005-05-05  Frank Warmerdam  <[email protected]>
1467
1468	* libtiff/tif_dirread.c: Ensure that broken files with too many
1469	values in PerSampleShorts work ok instead of crashing.
1470
1471	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
1472
14732005-04-27  Andrey Kiselev  <[email protected]>
1474
1475	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
1476	input file.
1477
14782005-04-15  Andrey Kiselev  <[email protected]>
1479
1480	* libtiff/tif_predict.c: Added ability to encode floating point
1481	predictor, as per TIFF Technical Note 3.
1482
14832005-04-14  Andrey Kiselev  <[email protected]>
1484
1485	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
1486	floating point predictor, as per TIFF Technical Note 3.
1487
14882005-04-13  Andrey Kiselev  <[email protected]>
1489
1490	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
1491	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
1492	swap 24-bit floating point values.
1493
1494	* libtiff/tiff.h: Added predictor constants.
1495
14962005-04-08  Andrey Kiselev  <[email protected]>
1497
1498	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
1499	values in _TIFFVSetField() function. Inspired by the bug
1500
1501	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
1502
1503	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
1504	as per bug
1505
1506	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
1507
15082005-03-30  Andrey Kiselev  <[email protected]>
1509
1510	* libtiff/tif_open.c: Do not read header in case the output file
1511	should be truncated (Ron).
1512
1513	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
1514	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
1515
1516	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
1517
15182005-03-22  Andrey Kiselev  <[email protected]>
1519
1520	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
1521	rpath option.
1522
15232005-03-21  Andrey Kiselev  <[email protected]>
1524
1525	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
1526	tags.
1527
15282005-03-18  Andrey Kiselev  <[email protected]>
1529
1530	* libtiff/dirinfo.c: Added DNG tags.
1531
1532	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
1533	handling code.
1534
1535	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
1536	added DNG 1.1.0.0 tags.
1537
1538	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
1539	bug
1540
1541	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
1542
1543	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
1544
15452005-03-17  Andrey Kiselev  <[email protected]>
1546
1547	* nmake.opt: Build with Win32 CRT library by default.
1548
1549	* tools/tiff2ps.c: Fixed typo in page size handling code.
1550
1551	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
1552	by value.
1553
1554	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
1555
15562005-03-15  Andrey Kiselev  <[email protected]>
1557
1558	* libtiff 3.7.2 released.
1559
15602005-03-09  Andrey Kiselev  <[email protected]>
1561
1562	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
1563	floating point data; complain on unsupported bit depths.
1564
15652005-03-05  Andrey Kiselev  <[email protected]>
1566
1567	* tif_stream.cxx: Use ios namespace instead of ios_base to support
1568	GCC 2.95.
1569
1570	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
1571	Lee Howard for HylaFax DCS tag
1572	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
1573
15742005-03-04  Andrey Kiselev  <[email protected]>
1575
1576	* configure, configure.ac: Use -rpath option instead of -R as per bug
1577
1578	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
1579
1580	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
1581	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
1582	software. As per bug
1583
1584	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
1585
1586	* nmake.opt, html/build.html: Add more comments, change the config
1587	file organization a bit as per bug
1588
1589	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
1590
1591	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
1592	as per bug
1593
1594	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
1595
15962005-03-03  Andrey Kiselev  <[email protected]>
1597
1598	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
1599	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
1600
1601	* tools/fax2ps.c: Replace insecure mktemp() function with the
1602	tmpfile() as per bug
1603
1604	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
1605
16062005-02-04  Andrey Kiselev  <[email protected]>
1607
1608	* libtiff/tiff.h: Changed the int8 definition to be always signed char
1609	as per bug
1610
1611	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
1612
1613	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
1614	block as per bug
1615
1616	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
1617
16182005-02-03  Bob Friesenhahn  <[email protected]>
1619
1620	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
1621	display more correctly.  Images display brighter than they should
1622	on a Sun workstation.
1623
16242005-02-03  Andrey Kiselev  <[email protected]>
1625
1626	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
1627	suspicious values in the tags. As per bugs
1628
1629	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
1630
1631	and
1632
1633	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
1634
1635	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
1636
1637	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
1638
16392005-01-31  Bob Friesenhahn  <[email protected]>
1640
1641	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
1642	(TIFFTAG_TILELENGTH): Corrected description.
1643
16442005-01-30  Andrey Kiselev  <[email protected]>
1645
1646	* configure.ac: Fixes for --with-docdir option as per bug
1647
1648	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
1649
1650	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
1651	bug
1652
1653	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
1654
1655	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
1656	Michael Rinne and Edward Lam.
1657
16582005-01-15  Andrey Kiselev  <[email protected]>
1659
1660	* configure.ac: Make the documentation directory location configurable
1661	via the --with-docdir option (as suggested by Jeremy C. Reed).
1662
1663	* libtiff/tif_color.c: Use double as the second argument of pow()
1664	function in TIFFCIELabToRGBInit(). As per bug
1665
1666	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
1667
1668	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
1669	integer as per bug
1670
1671	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
1672
1673	* libtiff/tif_getimage.c: Always fill the error message buffer in
1674	TIFFRGBAImageBegin() as per bug
1675
1676	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
1677
16782005-01-12  Andrey Kiselev  <[email protected]>
1679
1680	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
1681	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
1682	tags as per bug
1683
1684	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
1685
1686	* libtiff/tif_win32.c: Fixed message formatting in functions
1687	Win32WarningHandler() and Win32ErrorHandler() as per bug
1688
1689	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
1690
1691	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
1692	per bug
1693
1694	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
1695
16962005-01-11  Andrey Kiselev  <[email protected]>
1697
1698	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
1699	"C"' section as per bug
1700
1701	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
1702
1703	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
1704	compiler to avoid double definition of BSD types as per bug
1705
1706	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
1707
1708	* libtiff/Makefile.am: Place the C++ stream API in the separate
1709	library called libtiffxx to avoid unneeded dependencies. Probably
1710	there will be more C++ API in the future. As per bugs
1711
1712	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
1713
1714	and
1715
1716	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
1717
17182005-01-05  Andrey Kiselev  <[email protected]>
1719
1720	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
1721	wrong tag counts (Dmitry V. Levin, Martin Pitt).
1722
1723	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
1724	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
1725
17262004-12-25  Andrey Kiselev  <[email protected]>
1727
1728	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
1729	RGB-images as per bug
1730
1731	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
1732
1733
1734	* tools/tiffset.c: Convert character option to integer value as per
1735	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
1736
17372004-12-20  Andrey Kiselev  <[email protected]>
1738
1739	* libtiff 3.7.1 released.
1740
1741	* html/tiffset.1.html: Add missed manual page as per bug
1742
1743	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
1744
1745	* libtiff/tiff.h: Revert back libtiff data type definitions as per
1746	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
1747
17482004-12-19  Andrey Kiselev  <[email protected]>
1749
1750	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
1751	checking for tag count in TIFFReadDirectory() function. As per bug
1752
1753	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
1754
1755	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
1756	CheckMallock() function.
1757
1758	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
1759	RGB-images as per bug
1760
1761	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
1762
17632004-12-15  Frank Warmerdam  <[email protected]>
1764
1765	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
1766	SunPro compiler.
1767
17682004-12-11  Bob Friesenhahn  <[email protected]>
1769
1770	* autogen.sh: aclocal and autoheader should be executed after
1771	libtoolize.  Also add '-I .' to aclocal invocation to check
1772	current directory for macros.
1773
17742004-12-10  Andrey Kiselev  <[email protected]>
1775
1776	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
1777	as per bugs
1778
1779	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
1780
1781	and
1782
1783	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
1784
17852004-12-04  Andrey Kiselev  <[email protected]>
1786
1787	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
1788
1789	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
1790
1791	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
1792	mode as per bug
1793
1794	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
1795
1796	* libtiff/tif_config.in.vc: Removed unneded definitions for
1797	read/open/close/lseek functions to fix the
1798
1799	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
1800
18012004-12-03  Andrey Kiselev  <[email protected]>
1802
1803	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
1804	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
1805	must be removed in the future, as it was never used properly. As per
1806	bug
1807
1808	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
1809
18102004-11-30  Bob Friesenhahn  <[email protected]>
1811
1812	* libtiff/tif_jpeg.c: Added a work-around in order to allow
1813	compilation with the heavily modified version of libjpeg delivered
1814	with Cygwin.
1815
18162004-11-29  Andrey Kiselev  <[email protected]>
1817
1818	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
1819	counts. As per bug
1820
1821	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
1822
1823	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
1824
1825	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
1826
18272004-11-28  Andrey Kiselev  <[email protected]>
1828
1829	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
1830	on Windows.
1831
1832	* nmake.opt: Add missed DLLNAME variable.
1833
18342004-11-26  Frank Warmerdam  <[email protected]>
1835
1836	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
1837
18382004-11-24  Andrey Kiselev  <[email protected]>
1839
1840	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
1841	per bug
1842
1843	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
1844
1845	* man/tiffset.1: Added manual page for tiffset tool written by Jay
1846	Berkenbilt. As per bug
1847
1848	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
1849
18502004-11-23  Frank Warmerdam  <[email protected]>
1851
1852	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
1853
18542004-11-21  Frank Warmerdam  <[email protected]>
1855
1856	* html/document.html: Updated Adobe web links as per email from Joris.
1857
18582004-11-21  Andrey Kiselev  <[email protected]>
1859
1860	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
1861	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
1862	use C++ streams should #include <tiffio.hxx>.
1863
18642004-11-13  Andrey Kiselev  <[email protected]>
1865
1866	* libtiff/tiff.h: Added Adobe DNG tags.
1867
1868	* libtiff/tif_win32.c: Typo fixed.
1869
1870	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
1871	be compliant with the latest standard. Appropriate additions in
1872	makefiles now completed.
1873
18742004-11-11  Andrey Kiselev  <[email protected]>
1875
1876	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
1877	different tag types. As per bug
1878
1879	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
1880
18812004-11-10  Andrey Kiselev  <[email protected]>
1882
1883	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
1884	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
1885
18862004-11-09  Andrey Kiselev  <[email protected]>
1887
1888	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
1889
18902004-11-07  Andrey Kiselev  <[email protected]>
1891
1892	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
1893	contributed by Edward Lam (see
1894	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
1895	Though no changes in any makefiles yet.
1896
18972004-11-05  Frank Warmerdam  <[email protected]>
1898
1899	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
1900	is bad. This is the callers responsibility.
1901	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
1902
19032004-11-05  Andrey Kiselev  <[email protected]>
1904
1905	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
1906	function to work with the double byte strings (used to represent
1907	filenames in some locales). As per bug
1908
1909	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
1910
1911	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
1912	Compression tags of type LONG from broken TIFFS as per bug
1913
1914	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
1915
1916	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
1917	the writecount should have uint32 type. As per bug
1918
1919	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
1920
1921	* libtiff/tif_write.c: Fixed wrong if() statement in
1922	TIFFAppendToStrip() function as per bug
1923
1924	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
1925
19262004-11-04  Andrey Kiselev  <[email protected]>
1927
1928	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
1929	field. The caller should supply a count when setting this field. As
1930	per bug
1931
1932	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
1933
1934	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
1935	uint32 count. Use this type everywhere.
1936
19372004-11-03  Frank Warmerdam  <[email protected]>
1938
1939	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
1940
19412004-11-02  Frank Warmerdam  <[email protected]>
1942
1943	* tools/tiff2rgba.c: removed extra newlines in usage message.
1944
19452004-10-30  Andrey Kiselev  <[email protected]>
1946
1947	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
1948
1949	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
1950	tags (Tristan Hill).
1951
19522004-10-30  Frank Warmerdam  <[email protected]>
1953
1954	* libtiff/tiffiop.h: added fallback definition of assert() if we
1955	don't have assert.h.
1956
19572004-10-29  Andrey Kiselev  <[email protected]>
1958
1959	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
1960	choosing when the incorrect Group4Options tag set. As per bug
1961
1962	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
1963
1964	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
1965	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
1966	TIFFWriteNormalTag().
1967
19682004-10-28  Andrey Kiselev  <[email protected]>
1969
1970	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
1971	tags (Peter Fales).
1972
1973	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
1974
19752004-10-28  Frank Warmerdam  <[email protected]>
1976
1977	* tools/tiff2pdf.c: added casts to avoid warnings.
1978
1979	* libtiff/libtiff.def: Added several more entry points required
1980	to link fax2tiff.c against the DLL on windows.
1981
19822004-10-27  Andrey Kiselev  <[email protected]>
1983
1984	* configure, configure.ac: Added --enable-rpath option to embed linker
1985	paths into library binary.
1986
19872004-10-26  Andrey Kiselev  <[email protected]>
1988
1989	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
1990
1991	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
1992	(Vladimir Nadvornik, Dmitry V. Levin).
1993
19942004-10-16  Andrey Kiselev  <[email protected]>
1995
1996	* libtiff 3.7.0 released.
1997
19982004-10-15  Bob Friesenhahn  <[email protected]>
1999
2000	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
2001	in this file so its inclusion is removed.  Including stdio.h
2002	sometimes incurs an INT32 typedef conflict between MinGW's
2003	basetsd.h and libjpeg's jmorecfg.h.
2004
20052004-10-15  Andrey Kiselev  <[email protected]>
2006
2007	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
2008
20092004-10-13  Bob Friesenhahn  <[email protected]>
2010
2011	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
2012	conflict noticed under MinGW.
2013	* ltmain.sh: Fix for MinGW compilation.
2014
20152004-10-13  Frank Warmerdam  <[email protected]>
2016
2017	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
2018	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
2019
20202004-10-12  Andrey Kiselev  <[email protected]>
2021
2022	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
2023	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
2024	properly (Dmitry V. Levin, Marcus Meissner).
2025
20262004-10-11  Andrey Kiselev  <[email protected]>
2027
2028	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
2029	to TIFF_IFD.
2030
20312004-10-10  Andrey Kiselev  <[email protected]>
2032
2033	* tools/bmp2tif.c: Check the space allocation results.
2034
20352004-10-09  Andrey Kiselev  <[email protected]>
2036
2037	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
2038	of the TIFFDirectory structure with the 0 instead of -1 to avoid
2039	confusing integer overflows in TIFFTileRowSize() for striped images.
2040
2041	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
2042	by Ross A. Finlayson.
2043
2044	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
2045
2046	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
2047
20482004-10-08  Frank Warmerdam  <[email protected]>
2049
2050	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
2051	of tif_fieldinfo.
2052
2053	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
2054
20552004-10-04  Bob Friesenhahn  <[email protected]>
2056
2057	* contrib/iptcutil/README: Added the missing README which goes
2058	along with iptcutil.
2059
20602004-10-03  Andrey Kiselev  <[email protected]>
2061
2062	* libtiff/tif_compress.c: Improved error reporting in
2063	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
2064
20652004-10-02  Andrey Kiselev  <[email protected]>
2066
2067	* libtiff 3.7.0beta2 released.
2068
2069	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
2070	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
2071	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
2072	allocations and	integer overflows (Dmitry V. Levin).
2073
2074	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
2075
20762004-10-01  Frank Warmerdam  <[email protected]>
2077
2078	* libtiff/tif_open.c: added a more informative message if a BigTIFF
2079	file is opened.
2080
20812004-09-30  Frank Warmerdam  <[email protected]>
2082
2083	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
2084	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
2085	in the Adobe XMP Specification.
2086
20872004-09-29  Andrey Kiselev  <[email protected]>
2088
2089	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
2090	memset().
2091
2092	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
2093	from Dmitry V. Levin to fix possible integer overflow problems.
2094
20952004-09-28  Andrey Kiselev  <[email protected]>
2096
2097	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
2098	(Dmitry V. Levin).
2099
21002004-09-26  Andrey Kiselev  <[email protected]>
2101
2102	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
2103	Optimize checking for the strip bounds.
2104
2105	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
2106	TIFFRasterScanlineSize() functions report zero in the case of integer
2107	overflow now. Properly handle this case in TIFFReadDirectory()
2108	(patches from Dmitry V. Levin).
2109
21102004-09-25  Andrey Kiselev  <[email protected]>
2111
2112	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
2113	macro where appropriate.
2114
2115	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
2116	noted by Gennady Khokhorin.
2117
2118	* libtiff/tif_dirread.c: Always check the return values, returned
2119	by the _TIFFmalloc() (Dmitry V. Levin).
2120
2121	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
2122	functions (Dmitry V. Levin).
2123
2124	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
2125	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
2126	TIFFGrowStrips() (found by Dmitry V. Levin).
2127
21282004-09-24  Andrey Kiselev  <[email protected]>
2129
2130	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
2131	to get the list of configured codecs.
2132
2133	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
2134	Dmitry V. Levin.
2135
21362004-09-23  Andrey Kiselev  <[email protected]>
2137
2138	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
2139	possible integer overflow in CheckMalloc() function.
2140
21412004-09-22  Andrey Kiselev  <[email protected]>
2142
2143	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
2144	of plain TIFFhowmany() where appropriate.
2145
21462004-09-21  Andrey Kiselev  <[email protected]>
2147
2148	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
2149
21502004-09-19  Andrey Kiselev  <[email protected]>
2151
2152	* libtiff 3.7.0beta released.
2153
2154	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
2155	overruns fixed, as noted by Chris Evans.
2156
21572004-09-14  Bob Friesenhahn  <[email protected]>
2158
2159	* commit: Added a script to make it more convenient to commit
2160	updates.  The CVS commit message is extracted from this ChangeLog
2161	file.
2162
21632004-09-14  Andrey Kiselev  <[email protected]>
2164
2165	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
2166	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
2167	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
2168	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
2169	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
2170	tif_config.h.in, tiffiop.h}:
2171	Get rid of BSD data types (u_char, u_short, u_int, u_long).
2172
21732004-09-13  Bob Friesenhahn  <[email protected]>
2174
2175	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
2176	specification. Reference libtiff bug tracking system to submit
2177	private tag additions.
2178
21792004-09-12  Bob Friesenhahn  <[email protected]>
2180
2181	* tools/tiffgt.c: Include "tif_config.h".
2182
2183	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
2184	tiffgt.  This results in the 'compile' script being added to the
2185	project.
2186
2187	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
2188	required to find OpenGL headers necessary to build tiffgt.  Also
2189	ensure that the libtiff that we built is used rather than some other
2190	libtiff installed on the system.
2191
21922004-09-12  Andrey Kiselev  <[email protected]>
2193
2194	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
2195	libraries.
2196
21972004-09-11  Bob Friesenhahn  <[email protected]>
2198
2199	* configure.ac: Pass library configuration defines via
2200	tif_config.h rather than extending CPPFLAGS. Configure a
2201	libtiff/tiffconf.h in order to satisfy application requirements
2202	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
2203	this causes failure to build on systems which properly respect
2204	this request.
2205
2206	* libtiff/tiffconf.h.in: New file to act as the template for the
2207	configured tiffconf.h
2208
2209	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
2210
22112004-09-10  Frank Warmerdam  <[email protected]>
2212
2213	* html/internals.html: Split off a discussion of adding new tags
2214	into addingtags.html.
2215
22162004-09-10  Andrey Kiselev  <[email protected]>
2217
2218	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
2219
2220	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
2221
2222	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2223
2224	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
2225
2226	* libtiff/tif_dirread.c: Don't reject to read tags of the
2227	SamplesPerPixel size when the tag count is greater than number of
2228	samples as per bug
2229
2230	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
2231
2232	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
2233	defining int8/uint8/... etc. types. As per bug
2234
2235	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
2236
22372004-09-09  Frank Warmerdam  <[email protected]>
2238
2239	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
2240	to avoid compile warnings about getopt() and a few other things.
2241
22422004-09-02  Andrey Kiselev  <[email protected]>
2243
2244	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
2245	assigning magic in TIFFFetchFloat().
2246
22472004-09-01  Andrey Kiselev  <[email protected]>
2248
2249	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
2250	to avoid requirement for tiffiop.h inclusion in some applications. See
2251	here
2252
2253	http://www.asmail.be/msg0054799560.html
2254
2255	for details.
2256
2257	* tools/fax2tiff.c: Use the new functions in the code.
2258
22592004-08-25  Andrey Kiselev  <[email protected]>
2260
2261	* tools/tiff2pdf.c: Initialize arrays properly.
2262
2263	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
2264	properly initialize array in PSDataBW().
2265
22662004-08-24  Andrey Kiselev  <[email protected]>
2267
2268	* tools/tiff2pdf.c: More fixes for bug
2269
2270	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2271
2272	from Ross Finlayson.
2273
22742004-08-23  Andrey Kiselev  <[email protected]>
2275
2276	* tools/tiff2ps.c: Fixed problem with uninitialized values.
2277
2278	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
2279	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
2280
2281	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
2282
2283	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2284
22852004-08-20  Andrey Kiselev  <[email protected]>
2286
2287	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
2288	that the input file has compression, photometric interpretation,
2289	etcetra, tags or if not than a more descriptive error is returned.
2290
2291	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
2292	code, responsible for tag data type checking.
2293
22942004-08-19  Andrey Kiselev  <[email protected]>
2295
2296	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
2297	variable as per bug
2298
2299	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
2300
23012004-08-16  Andrey Kiselev  <[email protected]>
2302
2303	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
2304	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
2305
23062004-08-01  Andrey Kiselev  <[email protected]>
2307
2308	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
2309	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
2310
23112004-07-24  Andrey Kiselev  <[email protected]>
2312
2313	* libtiff/tif_lzw.c: LZW compression code is merged back from the
2314	separate package. All libtiff tools are updated to not advertise an
2315	abcence of LZW support.
2316
23172004-07-12  Andrey Kiselev  <[email protected]>
2318
2319	* libtiff/tiffio.h: Revert thandle_t back to void* type.
2320
23212004-07-11  Andrey Kiselev  <[email protected]>
2322
2323	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
2324	messages, as suggested by Bernd Herd.
2325
23262004-07-03  Andrey Kiselev  <[email protected]>
2327
2328	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
2329	when setting custom tags by value. Reported by Eric Fieleke.
2330
23312004-06-14  Andrey Kiselev  <[email protected]>
2332
2333	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
2334
23352004-06-08  Andrey Kiselev  <[email protected]>
2336
2337	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
2338	into TIFFs.
2339
23402004-06-07  Andrey Kiselev  <[email protected]>
2341
2342	* libtiff 3.7.0alpha released.
2343
23442004-06-06  Andrey Kiselev  <[email protected]>
2345
2346	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
2347	of ugly 64-bit hacks, replace them with the clever (autoconf based )
2348	ones :-).
2349
2350	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
2351	problems in 64-bit environment).
2352
23532004-06-05  Andrey Kiselev  <[email protected]>
2354
2355	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
2356	Tags can be supplied by the mnemonic name or number.
2357
2358	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
2359	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
2360
23612004-05-27  Andrey Kiselev  <[email protected]>
2362
2363	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
2364	markers as per bug
2365
2366	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
2367
23682004-05-24  Andrey Kiselev  <[email protected]>
2369
2370	* tools/tiffsplit.c: Don't forget to copy Photometric
2371	Interpretation tag.
2372
23732004-05-20  Andrey Kiselev  <[email protected]>
2374
2375	* libtiff/{tif_open.c, tiffio.h}: New function added:
2376	TIFFIsBigEndian(). Function returns nonzero if given was file written
2377	in big-endian order.
2378
2379	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
2380	files. Now output files will be written using the same byte order
2381	flag as	in the input image. See
2382
2383	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
2384
2385	for details.
2386
23872004-05-19  Frank Warmerdam  <[email protected]>
2388
2389	* libtiff/tif_print.c: added (untested) support for printing
2390	SSHORT, SLONG and SRATIONAL fields.
2391
2392	* tools/tiffcp.c: close output file on normal exit.
2393
23942004-05-17  Andrey Kiselev  <[email protected]>
2395
2396	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
2397	if compression type mismatches. See
2398
2399	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
2400
24012004-04-30  Andrey Kiselev  <[email protected]>
2402
2403	* libtiff/tif_strip.c: Never return 0 from the
2404	TIFFNumberOfStrips().
2405
24062004-04-29  Andrey Kiselev  <[email protected]>
2407
2408	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
2409	store single SampleFormat value for multisampled images. See
2410
2411	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
2412
24132004-04-25  Andrey Kiselev  <[email protected]>
2414
2415	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
2416	int16 and int32 types to avoid complains on some compilers. Details at
2417
2418	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2419
24202004-04-20  Andrey Kiselev  <[email protected]>
2421
2422	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
2423
2424	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
2425
24262004-04-14  Andrey Kiselev  <[email protected]>
2427
2428	* libtiff/tif_write.c: Allow in-place updating of the compressed
2429	images (don't work properly with all codecs). For details see GDAL bug
2430
2431	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
2432
24332004-04-06  Andrey Kiselev  <[email protected]>
2434
2435	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
2436	in the Intergarph JPEG compressed TIFF images as per bug:
2437
2438	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
2439
24402004-04-04  Frank Warmerdam  <[email protected]>
2441
2442	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
2443	via bad2.
2444
24452004-03-26  Andrey Kiselev  <[email protected]>
2446
2447	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
2448	JPEG compression of grayscale images.
2449
2450	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
2451	present in the input image.
2452
24532004-03-19  Andrey Kiselev  <[email protected]>
2454
2455	* {many}: The first attempt to switch to autotools.
2456
24572004-03-03  Andrey Kiselev  <[email protected]>
2458
2459	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
2460	TIFFClientOpen() when the appropriate client functions was not
2461	supplied by user.
2462
24632004-03-02  Frank Warmerdam  <[email protected]>
2464
2465	* tools/ycbcr.c: fixed main() declaration as per:
2466	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
2467
24682004-02-26  Andrey Kiselev  <[email protected]>
2469
2470	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
2471	images. Reported by Artem Mirolubov.
2472
2473	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
2474	tag type in TIFFFetchNormalTag() as per bug
2475
2476	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
2477
24782004-02-17  Frank Warmerdam  <[email protected]>
2479
2480	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
2481	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
2482
24832004-02-05  Andrey Kiselev  <[email protected]>
2484
2485	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
2486	bug
2487
2488	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
2489
2490	But we need more work on fax codec to support update mode.
2491
24922004-01-30  Frank Warmerdam  <[email protected]>
2493
2494	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
2495	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
2496	Scott Reynolds.
2497
24982004-01-29  Andrey Kiselev  <[email protected]>
2499
2500	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
2501	and TIFFTAG_INDEXED as per bug
2502
2503	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
2504
2505	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
2506	NULL before proceeding further as per bug
2507
2508	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
2509
2510	Check results, returned by the TIFFFdOpen() before returning and close
2511	file if TIFFFdOpen() failed as per bug
2512
2513	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2514
2515	* libtiff/tif_open.c: More fixes for
2516
2517	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2518
25192004-01-28  Andrey Kiselev  <[email protected]>
2520
2521	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
2522	TIFFCleanup() from the TIFFClose() in order to fix the bug
2523
2524	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2525
2526	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
2527	InkNames tag as per bug
2528
2529	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
2530
2531	Memory leak fixed.
2532
25332004-01-21  Frank Warmerdam  <[email protected]>
2534
2535	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
2536	are field_passcount=TRUE properly.  Arguably anonymous custom tags
2537	should be declared as passcount=FALSE, but I don't want to change
2538	that without a careful review.
2539
25402004-01-20  Andrey Kiselev  <[email protected]>
2541
2542	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
2543	stripped image in TIFFWriteBufferSetup(). As per bug
2544
2545	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
2546
25472004-01-11  Andrey Kiselev  <[email protected]>
2548
2549	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
2550	patch from Gerben Koopmans.
2551
2552	* libtiff/tif_dirread.c: Check field_passcount value before setting
2553	the value of undefined type, patch from Gerben Koopmans.
2554
25552004-01-02  Andrey Kiselev  <[email protected]>
2556
2557	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
2558	non-RGB images.
2559
25602003-12-31  Andrey Kiselev  <[email protected]>
2561
2562	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
2563	pointer passed. Patch supplied by Larry Grill.
2564
2565	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
2566	suggested by Jeremy C. Reed.
2567
25682003-12-26  Andrey Kiselev  <[email protected]>
2569
2570	* libtiff 3.6.1 released.
2571
25722003-12-24  Andrey Kiselev  <[email protected]>
2573
2574	* config.guess, config.sub: Updated from the recent upstream.
2575
25762003-12-22  Andrey Kiselev  <[email protected]>
2577
2578	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
2579	More cleanups in color conversion interface, added appropriate manual
2580	page.
2581
25822003-12-19  Andrey Kiselev  <[email protected]>
2583
2584	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
2585	per bug
2586
2587	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
2588
2589	* tools/tiff2ps.c: Added support for alpha channel. Fixes
2590
2591	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
2592
2593	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
2594	Interface for Lab->RGB color conversion is finally cleaned up.
2595	Added support for ReferenceBlackWhite tag handling when converted from
2596	YCbCr color space. The latter closes
2597
2598	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
2599
26002003-12-07  Andrey Kiselev  <[email protected]>
2601
2602	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
2603
2604	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
2605	library.
2606
26072003-12-06  Andrey Kiselev  <[email protected]>
2608
2609	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
2610	file and properly use it for CIE Lab->RGB transform.
2611
26122003-12-04  Andrey Kiselev  <[email protected]>
2613
2614	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
2615	conversion routines now in the tif_color.c module. New function
2616	TIFFYCbCrtoRGB() available in TIFF API.
2617
2618	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
2619
26202003-12-03  Andrey Kiselev  <[email protected]>
2621
2622	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
2623	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
2624	module.
2625
2626	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
2627	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
2628	Finally resolved problems with orientation handling. TIFFRGBAImage
2629	interface now properly supports all possible orientations, i.e. images
2630	will be flipped both in horizontal and vertical directions if
2631	required. 'Known bugs' section now removed from the appropriate manual
2632	pages. Closed bug entry:
2633
2634	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
2635
26362003-12-02  Andrey Kiselev  <[email protected]>
2637
2638	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
2639	function calls as per bug
2640
2641	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
2642
26432003-11-28 Ross Finlayson  <[email protected]>
2644
2645	* tools/tiff2pdf.c:  Some bugs fixed.
2646
26472003-11-27  Andrey Kiselev  <[email protected]>
2648
2649	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
2650	reported by Antonio Scuri.
2651
2652	* man/tiff2pdf.1: Few improvements in page layout.
2653
2654	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
2655	 Added support fpr tiff2pdf manual page.
2656
26572003-11-26 Ross Finlayson  <[email protected]>
2658
2659	* /man/tiff2pdf.1:  File added to repository.
2660
26612003-11-26  Andrey Kiselev  <[email protected]>
2662
2663	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
2664	 Added support fpr tiff2pdf utility.
2665
26662003-11-25  Ross Finlayson  <[email protected]>
2667
2668	* /tools/tiff2pdf.c:  File added to repository.
2669
26702003-11-22  Andrey Kiselev  <[email protected]>
2671
2672	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
2673
26742003-11-21  Andrey Kiselev  <[email protected]>
2675
2676	* /tools/raw2tiff.c: #include <getopt.h> removed.
2677
2678	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
2679	sgigt utility removed and replaced with the completely rewritten
2680	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
2681	there is a lot of things to improve.
2682
2683	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
2684	extract the fields from the OJPEG files. Patch supplied by Ross
2685	Finlayson.
2686
2687	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
2688	Added new function TIFFIsCODECConfigured(), suggested by Ross
2689	Finlayson.
2690
26912003-11-18  Andrey Kiselev  <[email protected]>
2692
2693	* libtiff/tif_dirinfo.c: Implemented binary search in
2694	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
2695
2696	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
2697	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
2698
26992003-11-17  Frank Warmerdam  <[email protected]>
2700
2701	* tif_dirread.c: do not mark all anonymously defined tags to be
2702	IGNOREd.
2703
27042003-11-17  Andrey Kiselev  <[email protected]>
2705
2706	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
2707	TIFFDataWidth() function insted of tiffDataWidth array.
2708
27092003-11-16  Andrey Kiselev  <[email protected]>
2710
2711	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
2712	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
2713
27142003-11-15  Frank Warmerdam  <[email protected]>
2715
2716	* Makefile.in: fixed missing backslash for tif_color.c in list.
2717
27182003-11-13  Andrey Kiselev  <[email protected]>
2719
2720	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
2721	New color space conversion code: CIE L*a*b* 1976 images now supported
2722	by the TIFFRGBAImage interface. All introduced routines go to new
2723	module tif_color.c. Eventually all color conversion functions should
2724	be moved there.
2725
27262003-11-12  Andrey Kiselev  <[email protected]>
2727
2728	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
2729	with the reverse byte order (it is reported by the magic header
2730	field). Problem reported by Andreas Wiesmann.
2731
2732	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
2733	calculation function. Guessing mechanics now documented in manual page.
2734
27352003-11-11  Andrey Kiselev  <[email protected]>
2736
2737	* tools/raw2tiff.c: Implemented image size guessing using
2738	correlation coefficient calculation between two neighbour lines.
2739
27402003-11-09  Frank Warmerdam  <[email protected]>
2741
2742	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
2743	planarconfig_contig case in TIFFComputeTile().
2744
2745	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
2746
27472003-11-09  Andrey Kiselev  <[email protected]>
2748
2749	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
2750
27512003-11-07  Andrey Kiselev  <[email protected]>
2752
2753	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
2754	Added TIFFRawStripSize() function as suggested by Chris Hanson.
2755
27562003-11-03  Andrey Kiselev  <[email protected]>
2757
2758	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
2759	per bug
2760
2761	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
2762
27632003-10-29  Andrey Kiselev  <[email protected]>
2764
2765	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
2766
2767	* html/build.html: Added note about GNU make requirement.
2768
27692003-10-25  Andrey Kiselev  <[email protected]>
2770
2771	* Makefile.in: Fixes in using MAKEFLAGS as per bug
2772
2773	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
2774
2775	* port/install.sh.in: Option -p added to the mkdir command to create
2776	all directory tree structure before installing.
2777
27782003-10-18  Andrey Kiselev  <[email protected]>
2779
2780	* /tools/tiff2ps.c: #include <strings.h> replaced with the
2781	#include <string.h>.
2782
27832003-10-16  Andrey Kiselev  <[email protected]>
2784
2785	* Makefile.in: Add an absolute path to the test_pics.sh call.
2786
27872003-10-12  Andrey Kiselev  <[email protected]>
2788
2789	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
2790	typedefs.
2791
27922003-10-09  Andrey Kiselev  <[email protected]>
2793
2794	* configure, libtiff/{Makefile.in, mkversion.c}:
2795	Relative buildings fixed.
2796
2797	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
2798	rule.
2799
28002003-10-07  Andrey Kiselev  <[email protected]>
2801
2802	* Makefile.in: Added missed v3.6.0.html.
2803
2804	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
2805	ORIENTATION_BOTLEFT.
2806
28072003-10-04  Andrey Kiselev  <[email protected]>
2808
2809	* 3.6.0 final release.
2810
28112003-10-03  Andrey Kiselev  <[email protected]>
2812
2813	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
2814	function TIFFReadRGBAImageOriented() implemented to retrieve raster
2815	array with user-specified origin position as suggested by Jason Frank.
2816	See
2817
2818	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
2819
2820	for details.
2821
2822	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
2823	instead of TIFFReadRGBAImage().
2824
2825	* tools/tiff2ps.c: Fixed possible endless loop as per bug
2826
2827	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
2828
28292003-09-30  Andrey Kiselev  <[email protected]>
2830
2831	* libtiff/tif_dirread.c: Check field counter against number of fields
2832	in order to fix
2833
2834	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
2835
2836	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
2837
2838	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
2839
28402003-09-25  Andrey Kiselev  <[email protected]>
2841
2842	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
2843	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
2844
2845	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
2846
28472003-09-23  Andrey Kiselev  <[email protected]>
2848
2849	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
2850
2851	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
2852
28532003-08-21  Andrey Kiselev  <[email protected]>
2854
2855	* tools/tiffmedian.c: int declaration replaced with the uint32 to
2856	support large images as per bug
2857
2858	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
2859
28602003-08-12  Andrey Kiselev  <[email protected]>
2861
2862 	* libtiff/Makefile.in: Fixed problem with building in different
2863	directory.
2864
2865	* tools/tiff2ps.c: Added missing #include <strings.h>.
2866
2867	* libtiff/tif_dirwrite.c: More fixes for custom tags code
2868	from Ashley Dreier.
2869
28702003-08-07  Andrey Kiselev  <[email protected]>
2871
2872	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
2873	Patch submitted by Balatoni Denes (with corrections from Tom
2874	Kacvinsky).
2875
2876	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
2877	being used. Reported by Tom Kacvinsky.
2878
2879	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
2880	reported by Ashley Dreier.
2881
2882	* libtiff/tif_print.c: Fixed problem with float tags reading, support
2883	for printing RATIONAL and BYTE tags added.
2884
28852003-08-05  Andrey Kiselev  <[email protected]>
2886
2887	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
2888	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
2889	problems with predictor initialization. Remove O_RDONLY check during
2890	state block allocation to be able open LZW compressed files in update
2891	mode.
2892
2893	Problem exist for libtiff version of the tif_lzw.c module. One from
2894	lzw-compression-kit hasn't such troubles.
2895
28962003-08-04  Frank Warmerdam  <[email protected]>
2897
2898	* libtiff/tif_write.c: modified tif_write.c so that the various
2899	encoded write functions use tif_postdecode() to apply byte order
2900	swapping (swab) to the application passed data buffer if the same
2901	would be done when reading.  This allows us to write pixel data with
2902	more than 8 bits per sample to existing files of a non-native byte
2903	order.  One side effect of this change is the applications buffer
2904	itself is altered in this case by the act of writing.
2905
2906	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
2907
29082003-07-25  Frank Warmerdam  <[email protected]>
2909
2910	* libtiff/tif_open.c: avoid signed/unsigned casting warning
2911	initializing typemask as per patch from J.A. Strother.
2912
2913	* tools/tiffcp.c: fixed signed/unsigned casting warning.
2914
2915	* libtiff/tif_print.c: dos2unix conversion.
2916
2917	* tools/tiffsplit.c: increased the maximum number of pages that
2918	can be split.  Patch provided by Andrew J. Montalenti.
2919
29202003-07-11  Andrey Kiselev  <[email protected]>
2921
2922	* tools/raw2tiff.c: Added option `-p' to explicitly select color
2923	space of input image data. Closes
2924
2925	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
2926
29272003-07-08  Frank Warmerdam  <[email protected]>
2928
2929	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
2930	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
2931	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
2932	avoid casting warning at /W4.
2933
29342003-07-03  Andrey Kiselev  <[email protected]>
2935
2936	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
2937
29382003-06-30  Andrey Kiselev  <[email protected]>
2939
2940	* libtiff/tif_pixarlog.c: Unused variables removed.
2941
2942	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
2943	EstimateStripByteCounts() as per bug
2944
2945	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
2946
2947	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
2948	64-bit architectures as per bug
2949
2950	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
2951
2952	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
2953	unknown data type.
2954
29552003-06-19  Frank Warmerdam  <[email protected]>
2956
2957	* libtiff/tif_print.c: fixed some serious bugs when printing
2958	custom tags ... almost certain to crash.
2959
2960	* libtiff/tif_dirread.c: Don't ignore custom fields that are
2961	autodefined.  Not sure how this got to be like this.
2962
29632003-06-18  Andrey Kiselev  <[email protected]>
2964
2965	* 3.6.0 Beta2 released.
2966
2967	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
2968	comparing as per bug
2969
2970	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
2971
2972	`-z' option now can be used to set the number of reported different
2973	bytes.
2974
29752003-06-09  Andrey Kiselev  <[email protected]>
2976
2977	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
2978	to -r option to get the entire image as one strip. See
2979
2980	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
2981
2982	for details.
2983
29842003-06-04  Andrey Kiselev  <[email protected]>
2985
2986	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
2987	values as per bug
2988
2989	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
2990
29912003-05-27  Frank Warmerdam  <[email protected]>
2992
2993	* libtiff/tif_jpeg.c: modified segment_height calculation to always
2994	be a full height tile for tiled images.  Also changed error to just
2995	be a warning.
2996
29972003-05-25  Andrey Kiselev  <[email protected]>
2998
2999	* tools/fax2tiff.c: Page numbering fixed, as per bug
3000
3001	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
3002
30032003-05-20  Andrey Kiselev  <[email protected]>
3004
3005	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3006	configure, Makefile.in:	Switched back to the old behaviour. Likely
3007	better solution should be found for OJPEG support.
3008
30092003-05-11  Andrey Kiselev  <[email protected]>
3010
3011	* libtiff/mkversion.c: Fixed problem with wrong string size when
3012	reading RELEASE-DATE file.
3013
30142003-05-07  Andrey Kiselev  <[email protected]>
3015
3016	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
3017	index was out of range.
3018
30192003-05-06  Andrey Kiselev  <[email protected]>
3020
3021	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3022	configure, Makefile.in:	Improved libtiff compilation with OJPEG
3023	support. Now no need for patching IJG JPEG library, hack requred by
3024	libtiff will be compiled and used in-place. Implemented with
3025	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
3026
3027	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
3028	TIFFVGetFieldDefaulted() function.
3029
30302003-05-05  Andrey Kiselev  <[email protected]>
3031
3032	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
3033	comments.
3034
3035	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
3036	was not copied from source image.
3037
3038	* libtiff/getimage.c: Workaround for some images without correct
3039	info about alpha channel as per bug
3040
3041	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
3042
30432003-04-29  Andrey Kiselev  <[email protected]>
3044
3045	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
3046	It basically allows one to use the /flateDecode filter for ZIP
3047	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
3048
3049	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
3050
3051	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
3052	as per bug
3053
3054	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
3055
30562003-04-17  Andrey Kiselev  <[email protected]>
3057
3058	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
3059	due to problems with multidirectory images. Quality of error messages
3060	improved.
3061
30622003-04-16  Andrey Kiselev  <[email protected]>
3063
3064	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
3065	encoded images. See bug entries
3066
3067	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
3068
3069	and
3070
3071	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3072
3073	* libtiff/tif_dirread.c: Additional check for StripByteCounts
3074	correctness. Fixes
3075
3076	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3077
30782003-03-12  Andrey Kiselev  <[email protected]>
3079
3080	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
3081	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
3082	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
3083	tiffmedian.c}: Added library version reporting facility to all tools.
3084
30852003-03-06  Frank Warmerdam  <[email protected]>
3086
3087	* port/install.sh.in: Fixed problems with install producing paths
3088	like ///usr/local/lib on cygwin.
3089
30902003-02-27  Andrey Kiselev  <[email protected]>
3091
3092	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
3093	raw input page. Patch supplied by Julien Gaulmin. See
3094
3095	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
3096
3097	for details.
3098
30992003-02-26  Frank Warmerdam  <[email protected]>
3100
3101	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
3102	responsible for byte swapping complex image data.
3103
3104	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
3105	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
3106
31072003-02-07  Andrey Kiselev  <[email protected]>
3108
3109	* tools/ppm2tiff.c: Fixed problem with too many arguments.
3110
31112003-02-04  Andrey Kiselev  <[email protected]>
3112
3113	* tools/raw2tiff.c: Memory leak fixed.
3114
31152003-02-03  Andrey Kiselev  <[email protected]>
3116
3117	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
3118	(thanks, Julien!). More switches for fax2tiff tool for better control
3119	of input and output. Details at
3120
3121	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
3122
31232003-02-03  Frank Warmerdam  <[email protected]>
3124
3125	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
3126	library so that we can check if there is already any tile/strip data
3127	before deciding between creating a compressor or a decompressor.
3128
31292003-01-31  Frank Warmerdam  <[email protected]>
3130
3131	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
3132	a pre-existing compressed image.  That is, image writing to
3133	pre-existing compressed images is not allowed.
3134
3135	* libtiff/tif_open.c: Removed error if opening a compressed file
3136	in update mode.
3137
3138	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
3139
31402003-01-31  Andrey Kiselev  <[email protected]>
3141
3142	* config.guess, config.sub: Updated to recent upstream versions.
3143
31442003-01-15  Frank Warmerdam  <[email protected]>
3145
3146	* cut 3.6.0 Beta release.
3147
31482002-12-20  Andrey Kiselev  <[email protected]>
3149
3150	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
3151	in wrong way as per bug
3152
3153	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
3154
31552002-12-17  Frank Warmerdam  <[email protected]>
3156
3157	* libtiff/tif_dirread.c: Allow wrong sized arrays in
3158	TIFFFetchStripThing().
3159
3160	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
3161
31622002-12-02  Frank Warmerdam  <[email protected]>
3163
3164	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
3165	Was using realloc even first time.  Fix by Igor Venevtsev.
3166
31672002-11-30  Frank Warmerdam  <[email protected]>
3168
3169	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
3170	field value.
3171
3172	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
3173	tags in TIFFVGetField() ... added missing break.
3174
31752002-10-14  Frank Warmerdam  <[email protected]>
3176
3177	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
3178	the scanline buffer long enough when writing rgb triplets.
3179	The scanline needs to be 3 X the number of dots or else it will
3180	contain	an incomplete triplet and programs that try to separate
3181	the eps by redefining the colorimage operator will get messed up.
3182	Patch supplied by William Bader.
3183
3184	* Makefile.in: added tif_extension.c to file list as per
3185	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
3186
31872002-10-11  Andrey Kiselev  <[email protected]>
3188
3189	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
3190	large files (>2GiB) supporting. New option in the config.site:
3191	LARGEFILE="yes". Should be enough for I/O of the large files.
3192
31932002-10-10  Frank Warmerdam  <[email protected]>
3194
3195	* libtiff/html/v3.6.0.html: new release notes.
3196
3197	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
3198	link for Andrey.  Pointer to v3.6.0.html.
3199
3200	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
3201
32022002-10-07  Andrey Kiselev  <[email protected]>
3203	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
3204	(thanks, Sebastian!). New switches:
3205	-b # for a bottom margin of # inches
3206	-c   center image
3207	-l # for a left margin of # inches
3208	-r   rotate the image by 180 degrees
3209	New features merged with code for shrinking/overlapping.
3210	Previously added -c and -n switches (for overriding PS units) renamed
3211	in -x and -y respectively.
3212
3213	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
3214
3215	* html/man/*.html: Updated from actual manual pages.
3216
32172002-10-06  Frank Warmerdam  <[email protected]>
3218
3219	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
3220	size on windows.  Use #define boolean hack.
3221
3222	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
3223
3224	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
3225	USING_VISUALAGE is defined.
3226
3227	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3228
32292002-10-03  Frank Warmerdam  <[email protected]>
3230
3231	* libtiff/tiff.h: added COMPRESSION_JP2000.
3232
32332002-10-02  Andrey Kiselev  <[email protected]>
3234
3235	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
3236	by the TIFFFetchByteArray() function. Should finally resolve
3237
3238	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3239
3240	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
3241
3242	* html/Makefile.in: New targets added: html and groffhtml for
3243	producing HTML representations of the manual pages automatically.
3244	html target uses man2html tool, groffhtml uses groff tool.
3245
32462002-09-29  Frank Warmerdam  <[email protected]>
3247
3248	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
3249	from John H. DuBois III.
3250
32512002-09-15  Andrey Kiselev  <[email protected]>
3252
3253	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
3254	manual page for raw2tiff(1) tool.
3255
32562002-09-12  Andrey Kiselev  <[email protected]>
3257
3258	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
3259	the tiffio.h header file.
3260
3261	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
3262	manual page for TIFFDataWidth() function
3263
32642002-09-08  Frank Warmerdam  <[email protected]>
3265
3266	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
3267	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
3268
3269	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
3270	since we are unable to properly include the amount to skip.
3271
3272	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
3273
32742002-09-02  Andrey Kiselev  <[email protected]>
3275
3276	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
3277	in TIFFFetchByteArray(). Problem described at
3278	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3279
32802002-08-22  Andrey Kiselev  <[email protected]>
3281
3282	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
3283	in _TIFFSetupFieldInfo() function.
3284	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
3285
3286	* /libtiff/tif_lzw.c: Additional consistency checking added in
3287	LZWDecode() and LZWDecodeCompat().
3288	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
3289	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3290
3291	* /libtiff/tif_lzw.c:
3292	Added check for valid code lengths in LZWDecode() and
3293	LZWDecodeCompat(). Fixes
3294	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
3295
32962002-08-16  Andrey Kiselev  <[email protected]>
3297
3298	* /libtiff/{Makefile.vc, libtiff.def}:
3299	Missed declarations added.
3300
33012002-08-15  Frank Warmerdam  <[email protected]>
3302
3303	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
3304	return code from the underlying pick function.
3305
3306	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
3307
3308	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
3309	with FIELD_CUSTOM as mentioned in bug 169.
3310
3311	* tif_close.c: added logic to free dynamically created anonymous
3312	field definitions to correct a small memory leak.
3313
3314	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
3315
33162002-08-10  Andrey Kiselev  <[email protected]>
3317
3318	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
3319	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
3320
33212002-07-31  Frank Warmerdam  <[email protected]>
3322
3323	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
3324	JPEGDecode() as per bugzilla bug (issue 1):
3325
3326	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3327
3328	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
3329	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
3330	present in the tiff tags.
3331
3332	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
3333
3334	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
3335	TIFFWriteScanline() now set tif_row explicitly in case the codec has
3336	fooled with the value.
3337
3338	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3339
33402002-06-22  Andrey Kiselev  <[email protected]>
3341
3342	* /tools/tiff2ps.c: Added workaround for some software that may crash
3343	when last strip of image contains fewer number of scanlines than
3344	specified by the `/Height' variable. See
3345	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
3346	for explanation.
3347
33482002-06-21  Andrey Kiselev  <[email protected]>
3349
3350	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
3351	splitting long images in several pages. See
3352	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
3353	Patch granted by John Williams <[email protected]>.
3354
33552002-06-11  Frank Warmerdam  <[email protected]>
3356
3357	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
3358	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
3359	This one is described in:
3360
3361	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
3362
3363	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
3364
3365	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
3366
33672002-05-10  Andrey Kiselev  <[email protected]>
3368
3369	* tools/tiff2ps: New commandline switches to override resolution
3370	units obtained from the input file. Closes
3371	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
3372
33732002-04-26  Andrey Kiselev  <[email protected]>
3374
3375	* libtiff/libtiff.def: Added missed declaration.
3376
33772002-04-22  Andrey Kiselev  <[email protected]>
3378
3379	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
3380	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
3381
33822002-04-20  Andrey Kiselev  <[email protected]>
3383
3384	* libtiff/tif_open.c: Pointers to custom procedures
3385	in TIFFClientOpen() are checked to be not NULL-pointers.
3386
33872002-04-18  Andrey Kiselev  <[email protected]>
3388
3389	* libtiff/libtiff.def: Added missed declarations.
3390
3391	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
3392
33932002-04-16  Andrey Kiselev  <[email protected]>
3394
3395	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
3396	Should finally close
3397	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3398
33992002-04-10  Andrey Kiselev  <[email protected]>
3400
3401	* tools/tiff2ps: Division by zero fixed.
3402	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
3403
34042002-04-09  Andrey Kiselev  <[email protected]>
3405
3406	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
3407	TIFFCheckpointDirectory() routine added.
3408	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
3409
3410	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
3411	for the new function.
3412
34132002-04-08  Andrey Kiselev  <[email protected]>
3414
3415	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
3416	additional members tif->tif_decodestatus and tif->tif_encodestatus
3417	for correct handling of unconfigured codecs (we should not try to read
3418	data or to define data size without correct codecs).
3419
3420	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
3421	changed. Now it has used tif->tif_decodestatus and
3422	tif->tif_encodestatus.
3423	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
3424	case of __cvs_8.tif test image).
3425
3426	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
3427	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
3428	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
3429	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
3430
34312002-04-04  Andrey Kiselev  <[email protected]>
3432
3433	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
3434	replaced by warnings. Now libtiff should read corrupted LZW-compressed
3435	files by skipping bad strips.
3436	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3437
34382002-04-03  Frank Warmerdam  <[email protected]>
3439
3440	* libtiff/tif_dirwrite.c: Removed some dead code.
3441
3442	* libtiff/*: Cleanup some warnings.
3443
3444	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
3445	for variable length FIELD_CUSTOM values.  Was int * but should be
3446	u_short *.
3447
34482002-04-01  Andrey Kiselev  <[email protected]>
3449
3450	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
3451	utility (at cpStripToTile routine).
3452
34532002-03-27  Frank Warmerdam  <[email protected]>
3454
3455	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
3456
3457	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
3458
3459	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
3460	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
3461
3462	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
3463	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
3464
34652002-03-26  Dwight Kelly  <[email protected]>
3466
3467	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
3468	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
3469	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
3470	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
3471	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
3472	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
3473
34742002-03-26  Andrey Kiselev  <[email protected]>
3475
3476	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
3477	now also uses TIFFRGBAImageOK before reading. This is additional fix
3478	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
3479
34802002-03-25  Andrey Kiselev  <[email protected]>
3481
3482	* libtiff/: tif_getimage.c: Additional check for supported
3483	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
3484	TIFFRGBAImageOK before reading.
3485	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
3486
34872002-03-15  Andrey Kiselev  <[email protected]>
3488
3489	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
3490	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
3491	TIFFDataType sizes instead of working with tiffDataWidth array
3492	directly. Should prevent out-of-borders bugs in case of unknown or
3493	broken data types.  EstimateStripByteCounts routine modified, so it
3494	won't work when tags with uknown sizes founded.
3495	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
3496
34972002-03-13  Andrey Kiselev  <[email protected]>
3498
3499	* libtiff/tif_getimage.c: Added support for correct handling
3500	`Orientation' tag in gtTileContig. Should be added in other gt*
3501	functions as well, but I have not images for testing yet. Partially
3502	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3503
35042002-03-10  Andrey Kiselev  <[email protected]>
3505
3506	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
3507	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
3508	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
3509	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
3510
35112002-03-08  Andrey Kiselev  <[email protected]>
3512
3513	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
3514	be stripped when installing, utility binaries will do.	Closes
3515	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
3516
35172002-02-28  Frank Warmerdam  <[email protected]>
3518
3519	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
3520
3521	* man/libtiff.3t: added copyright tag info.
3522
35232002-02-11  Frank Warmerdam  <[email protected]>
3524
3525	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
3526
3527	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
3528
3529	* man/Makefile.in: Patch DESTDIR handling
3530
3531	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
3532
3533	* configure: OpenBSD changes for Sparc64 and DSO version.
3534
3535	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
3536
35372002-02-05  Frank Warmerdam  <[email protected]>
3538
3539	* config.site/configure: added support for OJPEG=yes option to enable
3540	OJPEG support from config.site.
3541
35422002-01-27  Frank Warmerdam  <[email protected]>
3543
3544	* html/document.html: fixed links for TIFf 6 docs.
3545
35462002-01-18  Frank Warmerdam  <[email protected]>
3547
3548	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
3549
3550	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
3551	decodestrip function returns anything not greater than zero as per
3552	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
3553
3554	* configure: Modify CheckForBigEndian so it can work in a cross
3555	compiled situation.
3556
35572002-01-16  Frank Warmerdam  <[email protected]>
3558
3559	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
3560
3561	* tools/tiffset.c: fix bug in error reporting.
3562
3563	* tools/tiffcp.c: fix several warnings that show up with -Wall.
3564
35652002-01-04  Frank Warmerdam  <[email protected]>
3566
3567	* libtiff/tif_jpeg.c: fixed computation of segment_width for
3568	tiles files to avoid error about it not matching the
3569	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
3570	size.") for ITIFF files.  Apparently the problem was incorporated since
3571	3.5.5, presumably during the OJPEG/JPEG work recently.
3572
35732001-12-15  Frank Warmerdam  <[email protected]>
3574
3575	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
3576
3577	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
3578
3579	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
3580	(defined in tiffconf.h - 1 by default) then the RGBA interface
3581	will assume that a fourth extra sample is ASSOCALPHA if the
3582	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
3583	the library, but makes it work better with RGBA files produced by
3584	lots of applications that don't mark the alpha values properly.
3585
3586	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
3587	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
3588
35892001-12-12  Frank Warmerdam  <[email protected]>
3590
3591	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
3592	override those from tiff directory.  This makes this work with
3593	ImageGear generated files.
3594
35952001-12-07  Frank Warmerdam  <[email protected]>
3596
3597	* html/Makefile.in: added missing images per bug 92.
3598
3599	* port/Makefile.in: fixed clean target per bug 92.
3600
36012001-11-28  Frank Warmerdam  <[email protected]>
3602
3603	* Reissue 3.5.7 release.
3604
3605	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
3606	YYYYMMDD so that it is increasing over time.
3607
3608	* Makefile.in: Ensure that tiffvers.h is regenerated in the
3609	make release target.
3610
3611	* Makefile.in: added libtiff/tiffvers.h to the release file list.
3612
36132001-11-23  Frank Warmerdam  <[email protected]>
3614
3615	* added html/v3.5.7.html, updated html/index.html.
3616
3617	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
3618
36192001-11-15  Frank Warmerdam  <[email protected]>
3620
3621	* configure: fixed test for -lm.
3622
36232001-11-02  Frank Warmerdam  <[email protected]>
3624
3625	* Added PHOTOMETRIC_ITULAB as per bug 90.
3626
3627	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
3628
36292001-10-10  Frank Warmerdam  <[email protected]>
3630
3631	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
3632	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
3633	in keeping with TIFF 6.0 standard in tiff.h
3634
3635	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
3636
36372001-09-26  Frank Warmerdam  <[email protected]>
3638
3639	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
3640	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
3641
36422001-09-24  Frank Warmerdam  <[email protected]>
3643
3644	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
3645
3646	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
3647
3648	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
3649	error about LZW not being available.
3650
3651	* libtiff/tif_dir.c: propagate failure to initialize compression
3652	back from TIFFSetField() as an error status, so applications can
3653	detect failure.
3654
3655	* libtiff/tif_dir.c: removed the auto replacement of
3656	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
3657
3658	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
3659	from CVS as they are all supposed to be auto-generated by configure.
3660
36612001-09-22  Frank Warmerdam  <[email protected]>
3662
3663	* libtiff/tif_ojpeg.c: new update from Scott.
3664
36652001-09-09  Frank Warmerdam  <[email protected]>
3666
3667	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
3668	always use the "safe" version, even if there is a very slight
3669	cost in performance.
3670
3671	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
3672
3673	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
3674	in two places.
3675
3676	* libtiff/tif_getimage.c: Fixed problem with reading strips or
3677	tiles that don't start on a tile boundary.  Fix contributed by
3678	Josep Vallverdu (from HP), and further described in bug 47.
3679
3680	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
3681
3682	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
3683
3684	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
3685
36862001-09-06  Frank Warmerdam  <[email protected]>
3687
3688	* libtiff/tif_packbits.c: fixed memory overrun error.
3689
3690	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
3691
36922001-08-31  Frank Warmerdam  <[email protected]>
3693
3694	* libtiff/tif_getimage.c: relax handling of contig case where
3695	there are extra samples that are supposed to be ignored.  This
3696	should now work for 8bit greyscale or palletted images.
3697
3698	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
3699
37002001-08-28  Frank Warmerdam  <[email protected]>
3701
3702	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
3703	images with more than four samples per pixel.  See:
3704
3705	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
3706
37072001-08-10  Frank Warmerdam  <[email protected]>
3708
3709	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
3710	in TIFFReadRGBATile() to avoid issues in cases of overlapping
3711	buffers.  See Bug 69 in Bugzilla.
3712
3713	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
3714
3715	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
3716
37172001-08-09  Frank Warmerdam  <[email protected]>
3718
3719	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
3720	when checking for 64 bit architectures as per bugzilla bug 67.
3721
37222001-07-27  Frank Warmerdam  <[email protected]>
3723
3724	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
3725	bug 66.
3726
37272001-07-20  Frank Warmerdam  <[email protected]>
3728
3729	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
3730	has been included.
3731
37322001-07-19  Frank Warmerdam  <[email protected]>
3733
3734	* libtiff/tif_open.c: Seek back to zero after failed read,
3735	before writing header.
3736
37372001-07-18  Frank Warmerdam  <[email protected]>
3738
3739	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
3740	much better.  Now depends on having patched libjpeg as per
3741	patch in contrib/ojpeg/*.
3742
37432001-07-17  Frank Warmerdam  <[email protected]>
3744
3745	* */Makefile.in: added DESTDIR support.
3746
3747	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
3748
37492001-07-16  Frank Warmerdam  <[email protected]>
3750
3751	* configure, libtiff/Makefile.in: applied OpenBSD patches
3752	as per:
3753
3754	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
3755
37562001-06-28  Frank Warmerdam  <[email protected]>
3757
3758	* libtiff/tif_getimage.c: Fixed so that failure is properly
3759	reported by gtTileContig, gtStripContig, gtTileSeparate and
3760	gtStripSeparate.
3761
3762	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
3763
3764	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
3765	Updated bug section of tiffcmp.1 to note tiled file issues.
3766
3767	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
3768
37692001-06-22  Frank Warmerdam  <[email protected]>
3770
3771	* configure: Changes for DSO generation on AIX provided by
3772	John Marquart <[email protected]>.
3773
3774	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
3775	on Darwin thanks to Robert Krajewski ([email protected]) and
3776	Keisuke Fujii ([email protected]).
3777
37782001-06-13  Frank Warmerdam  <[email protected]>
3779
3780	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
3781
3782	* man/tiff2rgba.1: new
3783
37842001-05-22  Frank Warmerdam  <[email protected]>
3785
3786	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
3787
37882001-05-13  Frank Warmerdam  <[email protected]>
3789
3790	* libtiff/tools/thumbnail.c: changed default output compression
3791	to packbits from LZW since LZW isn't generally available.
3792
37932001-05-12  Frank Warmerdam  <[email protected]>
3794
3795	* libtiff/tif_ojpeg.c: New.
3796	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
3797	to OJPEG support.
3798
3799	Scott Marovich <[email protected]> supplied OJPEG support.
3800
38012001-05-11  Frank Warmerdam  <[email protected]>
3802
3803	* tiff.h: removed, it duplicates libtiff/tiff.h.
3804
38052001-05-08  Frank Warmerdam  <[email protected]>
3806
3807	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
3808	ensure everything is in order.
3809
3810	* libtiff/libtiff.def: added TIFFCreateDirectory and
3811	TIFFDefaultStripSize as per:
3812
3813	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
3814
38152001-05-02  Frank Warmerdam  <[email protected]>
3816
3817	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
3818	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
3819	force use of uint32 counts instead of short counts.
3820
3821	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
3822	case of writing TIFF_BYTE/TIFF_SBYTE fields.
3823
3824	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
3825
38262001-05-01  Frank Warmerdam  <[email protected]>
3827
3828	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
3829	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
3830
38312001-04-05  Frank Warmerdam  <[email protected]>
3832
3833	* tiffio.h: removed C++ style comment.
3834
3835	* configure: fixed up SCRIPT_SH/SHELL handling.
3836
3837	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
3838
3839	* config.guess: documented more variables as per bug 40.
3840
38412001-04-03  Frank Warmerdam  <[email protected]>
3842
3843	* configure, *Makefile.in: Various changes to improve configuration
3844	for HP/UX specifically, and also in general.  They include:
3845	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
3846	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
3847	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
3848	 - Use -${MAKEFLAGS} in sub makes from makefiles.
3849
3850	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
3851
38522001-04-02  Frank Warmerdam  <[email protected]>
3853
3854	* libtiff/tiff.h: Applied hac to try and resolve the problem
3855	with the inttypes.h include file on AIX.
3856
3857	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3858
3859	* VERSION: update to 3.5.7 beta in preparation for release.
3860
3861	* configure/config.site: modified to check if -lm is needed for
3862	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
3863
3864	* config.guess: updated wholesale to an FSF version apparently
3865	from 1998 (as opposed to 1994).  This is mainly inspired by
3866	providing for MacOS X support.
3867
38682001-03-29  Frank Warmerdam  <[email protected]>
3869
3870	* configure, Makefile.in, etc: added support for OPTIMIZER being
3871	set from config.site.
3872
38732001-03-28  Frank Warmerdam  <[email protected]>
3874
3875	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
3876
3877	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
3878	sizes. It fixes two problems:
3879
3880	Without	scaling (-S) the fax is now centered on the page size specified
3881	with -H	and/or -W. Before, fax2ps was using an obscure and practially
3882	useless algorithm to allocate the image relative to Letter sized paper
3883	which sometime sled to useless whitespace on the paper, while at the
3884	same time cutting of the faxes printable area at the opposite border.
3885
3886	Second, scaling now preserves aspect ratio, which makes unusual faxes
3887	(in particular short ones) print properly.
3888
3889	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
3890
3891	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
3892	Bruce A. Mallett.  See check message for detailed information
3893	on all the changes, including a faster encoder, fixes for level
3894	2 PostScript, and support for the imagemask operator.
3895
38962001-03-27  Frank Warmerdam  <[email protected]>
3897
3898	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
3899	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
3900
3901	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3902
39032001-03-16  Frank Warmerdam  <[email protected]>
3904
3905	* tif_dirinfo.c: moved definition of copyright tag in field list.
3906	Apparently they have to be in sorted order by tag id.
3907
39082001-03-13  Frank Warmerdam  <[email protected]>
3909
3910	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
3911	images in RGBA interface.
3912
39132001-03-02  Frank Warmerdam  <[email protected]>
3914
3915	* Added TIFFTAG_COPYRIGHT support.
3916
39172001-02-19  Frank Warmerdam  <[email protected]>
3918
3919	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
3920	with support for extracting subimages with the ,n syntax, and also
3921	adding the -b bias removal flag.
3922
39232001-02-16  Frank Warmerdam  <[email protected]>
3924
3925	* libtiff/libtiff.def: Brent Roman submitted new version adding
3926	serveral missing entry points.
3927
3928	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
3929	Some sort of weird VMS thing.
3930
3931	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
3932
3933	* tif_luv.c/tiff.h/tiffio.h:
3934	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
3935	([email protected]).  He writes:
3936
3937	1) I improved the gamut-mapping function in tif_luv.c for imaginary
3938	colors, because some images were being super-saturated on the input
3939	side and this resulted in some strange color shifts in the output.
3940
3941	2) I added a psuedotag in tiff.h to control random dithering during
3942	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
3943	on for 24-bit LogLuv output.  Dithering improves the average color
3944	accuracy over the image.
3945
3946	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
3947	tiffio.h, to expose internal routines for converting between LogLuv and
3948	XYZ coordinates.  This is helpful for writing more efficient,
3949	specialized conversion routines, especially for reading LogLuv files.
3950
3951	Changes applied with minor edits.
3952
39532001-01-23  Frank Warmerdam  <[email protected]>
3954
3955	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
3956	whether we are encoding or decoding.  This is to ensure graceful
3957	recovery if TIFFClientOpen() discovers an attempt to open a compressed
3958	file for "r+" access, and subsequently close it, as it resets the
3959	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
3960	compressor's concept of whether it is in encode or decode mode.
3961
39622001-01-08  Mike Welles <[email protected]>
3963
3964	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
3965
39662001-01-07  Frank Warmerdam  <[email protected]>
3967
3968	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
3969	as per bug report by Patrick Connor.
3970
39712000-12-28  Frank Warmerdam  <[email protected]>
3972
3973	* Added RELEASE-DATE file to release file list.
3974
3975	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
3976
39772000-12-22  Mike Welles <[email protected]>
3978        * added link to CVS mirror from index.html
3979
3980	* updated html/internals.html to note that LZW compression is
3981	  not supported by default.
3982
39832000-12-22  Frank Warmerdam  <[email protected]>
3984
3985	* updated html/libtiff.html to not point at Niles' old JPL web site
3986	for the man pages, point at www.libtiff.org.
3987
39882000-12-21  Frank Warmerdam  <[email protected]>
3989
3990	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
3991	Leonard Rosenthol <[email protected]>.  May interfere
3992	with correct building on older systems.  If so, please let me know.
3993
39942000-12-19 Mike Welles <[email protected]>
3995
3996	* Took out LZW Encoding from tif_lzw.c
3997
3998	* Created HOWTO-RELEASE
3999
4000	* Created html/v3.5.6.html
4001
4002	* updated index.html
4003
40042000-12-01  Frank Warmerdam  <[email protected]>
4005
4006	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
4007	Patches supplied by Frank Cringle <[email protected]>
4008	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
4009
40102000-11-24  Frank Warmerdam  <[email protected]>
4011
4012	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
4013	target so that the private headers required by libgeotiff can be
4014	installed with the others.  They are not installed by default.
4015
4016	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
4017	targets so libtiff.so will be built with an explicit dependency
4018	on libm.so.
4019
4020	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
4021	libtiff.so.3.5.5.
4022
4023	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
4024	file, or ALPHA version logic.  Added stuff about DIST_POINT in
4025	place of DIST_TYPE and the alpha release number stuff.
4026
40272000-11-22  Frank Warmerdam  <[email protected]>
4028
4029	* I have applied a patch from Steffen Moeller <[email protected]> to
4030	the configure script so that it now accepts the --prefix, and
4031	--exec-prefix directives.
4032
40332000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
4034
4035	* I have made a variety of modifications in an effort to ensure the
4036	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
4037	file which seems to be updated regularly.
4038
4039	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
4040	   version include file.
4041	 o renamed version.h to tiffvers.h because we now have to install it
4042	   with the public libtiff include files.
4043	 o include tiffvers.h in tiffio.h.
4044	 o updated tif_version.c to use tiffvers.h.
4045	 o Updated Makefile.in accordingly.
4046
4047	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
4048	I have updated the win32 detection rules in tiffcomp.h.
4049
40502000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
4051
4052	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
4053	the strip/tile width and height aren't multiples of the sampling size.
4054	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
4055	Some patches from Rick LaMont of Dot C Software.
4056
4057	* Modified tif_packbits.c encoder to avoid compressing more
4058	data than provided if rowsize doesn't factor into provided data
4059	(such as occurs for YCbCr).
4060
40612000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
4062
4063	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
4064	roundup if rows_per_strip not a multiple of vertical sample size.
4065
40662000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
4067
4068	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
4069	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4070	from [email protected].
4071
4072	* Modified tif_packbits.c decoding to avoid overrunning the
4073	output buffer, and to issue a warning if data needs to be
4074	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4075
40762000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
4077
4078	* Modified tiff2bw to ensure portions add to 100%, and that
4079	white is properly recovered.
4080
4081	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
4082	Patch c/o Stanislav Brabec <[email protected]>
4083
40842000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
4085
4086	* Modified TIFFClientOpen() to emit an error on an attempt to
4087	open a comperessed file for update (O_RDWR/r+) access.  This is
4088	because the compressor/decompressor code gets very confused when
4089	the mode is O_RDWR, assuming this means writing only.  See
4090	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
4091
40922000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
4093
4094	* Added GNULDdso target an`d switched linux and freebsd to use it.
4095
40962000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
4097
4098	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
4099	of EXPAND1D() as per bug 11 (from Roman).
4100
41012000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
4102	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
4103	cygwin compatibility.
4104
4105	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
4106	be a proper fix to the buffer sizing problem.  See
4107	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
4108
4109	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
4110	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
4111	Thanks to Nick Lamb <[email protected]> for reporting the
4112	bug and proving the patch.
4113
41142000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
4115
4116	* Fixed tif_jpeg.c so avoid destroying the decompressor before
4117	we are done access data thanks to bug report from:
4118	Michael Eckstein <[email protected]>.
4119
4120	* Reverted tif_flush change.
4121
41222000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
4123
4124	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
4125	error when TIFF_BEENWRITING is not set.  This ensures that the
4126	directory contents can still be flushed by TIFFFlush().
4127
41282000-08-14  Frank Warmerdam  <[email protected]>
4129
4130	* tif_open.c: Don't set MMAP for O_RDWR files.
4131
4132	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
4133	so that files opened for update can be strip chopped too.
4134
4135	* tif_read.c: fixed up bug with files missing rowsperstrip and
4136	the strips per separation fix done a few weeks ago.
4137
41382000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
4139
4140	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
4141	SAMPLEFORMAT_COMPLEXINT.
4142
41432000-07-13  Mike Welles <[email protected]>
4144
4145	* index.html, bugs.html: added bugzilla info.
4146
41472000-07-12  Frank Warmerdam  <[email protected]>
4148
4149	* tif_read.c: fix subtle bug with determining the number of
4150	rows for strips that are the last strip in a separation but
4151	not the last strip of all in TIFFReadEncodedStrip().
4152
4153	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
4154	Peter Skarpetis <[email protected]>
4155
41562000-06-15  Frank Warmerdam  <[email protected]>
4157
4158	* Modified tiffio.h logic with regard to including windows.h.  It
4159	won't include it when building with __CYGWIN__.
4160
41612000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
4162
4163	* README: update to mention www.libtiff.org, don't list Sam's old
4164	email address.
4165
4166	* configure: Fixed DSO test for Linux as per patch from
4167	  Jan Van Buggenhout <[email protected]>.
4168
41692000-04-21  Frank Warmerdam  <[email protected]>
4170
4171	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
4172	one tile/strip images with an offset, and byte count of zero. These
4173	could be "unpopulated" images.
4174
41752000-04-18  Frank Warmerdam  <[email protected]>
4176
4177	* contrib/addtiffo: Added "averaging" resampling option.
4178
4179	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
4180
4181Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
4182
4183	* tools/Makefile.in: Modified to install properly on SGI.
4184
41852000-04-12  Mike Welles	     <[email protected]>
4186	* configure:  Fixed stupid mistake in libc6 test on Linux
4187
41882000-04-04  Mike Welles	     <[email protected]>
4189	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
4190	  caught by BoundsChecker.  From Arvan Pritchard
4191	  <[email protected]>  (untested).
4192
4193	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
4194	  Arvan Pritchard <[email protected]>
4195
4196	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
4197	  Arvan Pritchard <[email protected]>
4198
41992000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
4200
4201	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
4202
42032000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
4204
4205	* fax2ps: Fixed mixup of width and height in bounding box statement
4206	as per submission by Nalin Dahyabhai <[email protected]>.
4207
42082000-03-27  Mike Welles	     <[email protected]>
4209
4210	* fax2ps:  Modified printruns to take uint32 instead of uint16.
4211	Patch courtesy of Bernt Herd <[email protected]>
4212
42132000-03-20  Mike Welles	     <[email protected]>
4214
4215	* configure: added test for libc6 for linux targets.  Bug reported by
4216        Stanislav Brabec <[email protected]>
4217
4218	* Added 3.5 docs to html/Makefile.in.
4219	Thanks to  Stanislav Brabec <[email protected]>
4220
4221	* configure: fixed bugs in sed scripts
4222	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
4223	fix submitted to Stanislav Brabec <[email protected]>
4224
4225	* tools/iptcutil was not in files list, and wasn't being
4226	added to tar archive.  Updated Makefile.in.
4227
42282000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
4229
4230	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
4231	conversion for the run arrays.
4232
42332000-03-03  Frank Warmerdam  <[email protected]>
4234
4235	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
4236	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
4237
42382000-03-02  Frank Warmerdam  <[email protected]>
4239
4240	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
4241
4242	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
4243	to avoid overruns encountered with frle_bug.tif.
4244
4245Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
4246
4247	* Fixed tools/tiffcmp so that stopondiff testing works.
4248	  Patch care of Joseph Orost <[email protected]>.
4249
42502000-01-28    <warmerda@CS46980-B>
4251
4252	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
4253	  set to 1, and added default (off) setting in tiffconf.h.  This
4254	  should eventually be set by the configure script somehow.
4255
4256	  The original work on all these 2-4GB changes was done by
4257	  Peter Smith ([email protected]).
4258
4259	* Modified tif_win32.c to support 2-4GB seeks.
4260
4261	* tentatively changed toff_t to be unsigned instead of signed to
4262	  facilitate support for 2-4GB files.
4263
4264	* Updated a variety of files to use toff_t.  Fixed some mixups
4265	  between toff_t and tsize_t.
4266
4267Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
4268
4269	* Largely reimplemented contrib/addtiffo to avoid temp files,
4270	updating the TIFF file in place.  Fixed a few other bugs to.
4271
4272	* Set tif_rawdatasize to zero when freeing raw data buffer in
4273	TIFFWriteDirectory().
4274
4275	* Enabled "REWRITE_HACK" in tif_write.c by default.
4276
4277	* Fix bug in tif_write.c when switching between reading one directory
4278	and writing to another.
4279
4280	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
4281
4282Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
4283
4284	* Added TIFFmemory(3t) functions to libtiff.def.
4285
4286Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
4287
4288	* Added libtiff/libtiff.def to TIFFILES distribution list.
4289
4290Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
4291
4292	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
4293
4294	* Altered descriptions in tools to reflect "by default" lzw not supported
4295
4296	* Updated index.html to note lzw compression kit.
4297
4298Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
4299
4300	* Added fax3sm_winnt.c to distribution list in Makefile.in.
4301
4302Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
4303
4304	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
4305
4306	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
4307	  when LZW compression invoked.
4308
4309	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
4310	  in tools to reflect removal of LZW compression
4311
4312Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
4313
4314        * Fixed bug that caused LZW (non) compression to segfault. Added
4315	  warning about LZW compression removed being removed, and why.
4316
4317	* Added nostrip to install in tools/Makefile.in so that debugging
4318	  symbols are kept.
4319
4320Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
4321
4322	* Added patch from Ivo Penzar <[email protected]>,
4323	  supporting Adobe ZIP deflate.  Untested.
4324
4325Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
4326
4327	* Made Packbits the default compression in tools/tiff2rgba.c instead
4328	of LZW.
4329
4330Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
4331
4332	* Added tif_luv to contrib/djgpp/Makefile.lib.
4333
4334Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
4335
4336        * Added zip creation to relase makefile target
4337
4338	* Added html for TIFFWriteTile.3t man page.
4339
4340Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
4341
4342	* Added some changes to tif_write.c to support rewriting existing
4343	fixed sized tiles and strips.  Code mods disabled by default, only
4344	enabled if REWRITE_HACK is defined for now.
4345
4346Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
4347
4348	* Added TIFFWriteTile.3t man page.
4349
4350Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
4351
4352	* Added notes on use of makefile.vc in build.html, and fixed
4353	email subscription address.
4354
4355199-11-28  Mike Welles <[email protected]>
4356
4357	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
4358
4359	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
4360	   from Bruce Carmeron <[email protected]> -- modifications of
4361	   changes made by Frank (sun cc still complained on cast).
4362
4363	*  Added tiffconf.h to install target per request from Bill
4364	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
4365 	   know features have been compiled into the TIFF library in order to
4366	   handle things properly".
4367
4368Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
4369
4370	* fixed various VC++ warnings as suggested by Gilles Vollant
4371	<[email protected]>.
4372
4373Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
4374
4375	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
4376	not imply applications are responsible for image data swapping.
4377
43781999-11-22  Mike Welles <[email protected]>
4379	*  HTML-ized the man pages, added to html/man
4380
4381	*  Removed LZW Compression to comply with Unisys patent extortion.
4382
43831999-09-29  Mike Welles		<[email protected]>
4384	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
4385	   From Ivo Penzar <[email protected].
4386
4387	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
4388	   memory mapped files. <[email protected]>
4389
43901999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
4391	* Corrected alpha versioning.
4392
4393	* Removed distinction between  alpha and release targets in Makefile.in.
4394
4395	* added release.stamp target, which tags cvs tree, and updates
4396	  "RELEASE-DATE"
4397
4398	* added releasediff target, which diffs tree with source as of
4399	  date in "RELEASE-DATE"
4400
4401	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
4402	  away from alpha/non-alpha distinctions).
4403
4404	* updated html to reflect release
4405
44061999-09-23    <warmerda@CS46980-B>
4407
4408	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
4409
4410	* Added CYGWIN case in configure.
4411
4412Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
4413
4414	* Applied Francois Dagand's patch to handle fax decompression bug.
4415	  (sizes >= 65536 were failing)
4416
4417Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
4418
4419	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
4420	  by Christopher Lawton <[email protected]>
4421
4422Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
4423
4424	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
4425	  Albert Chin-A-Young <[email protected]>
4426
4427	* Added TIFFReassignTagToIgnore() API on behalf of
4428	  Bruce Cameron <[email protected]>.  Man page still pending.
4429
4430Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
4431
4432	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
4433	files to provide for a rudimentary testsuite.
4434
4435	* Added contrib/tags back from old distribution ... fixed up a bit.
4436
44371999-08-16    <warmerda@CS46980-B>
4438
4439	* Added simple makefile.vc makefiles for building with MS VC++
4440	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
4441	better solutions for some users.
4442
4443Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
4444
4445	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
4446	put it in tools since part of it is in C++.
4447
44481999-08-16  Michael L. Welles  <[email protected]>
4449
4450	* Updated html/index.html with anon CVS instructions.
4451
4452Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
4453
4454	* pre-remove so link before softlink in LINUXdso action in
4455	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
4456	the first.
4457
4458	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
4459	colormaps owned by the TIFF handle itself when trying to fixup wrong
4460	(eight bit) colormaps.  Corrected by maintaining a private copy of
4461	the colormap.
4462
4463	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
4464	tif_getimage.c.
4465
4466	* CVS Repository placed at remotesensing.org.  ChangeLog added.
4467