xref: /libtiff-4.0.7/ChangeLog (revision a042a8d4)
12009-02-12  Frank Warmerdam  <[email protected]>
2
3	* libtiff/tif_luv.c: Fix handling of tiled logluv images.
4	http://bugzilla.maptools.org/show_bug.cgi?id=2005
5
62009-02-09  Frank Warmerdam  <[email protected]>
7
8	* libtiff/tif_dirread.c: Improve allocation safety when allocated
9	buffer for large tags.  (#1998)  Related to (#1993)
10
112009-02-06  Frank Warmerdam  <[email protected]>
12
13	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
14	test suite should pass.
15
162009-02-05  Frank Warmerdam  <[email protected]>
17
18	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
19	but at the 2GB boundary to avoid overflow on 32bit systems.
20	http://bugzilla.maptools.org/show_bug.cgi?id=1993
21
22	* libtiff/tif_dirread.c: Remove some assertions that blow due to
23	corrupt files rather than in response to library internal
24	inconsistencies.
25	http://bugzilla.maptools.org/show_bug.cgi?id=1995
26	http://bugzilla.maptools.org/show_bug.cgi?id=1991
27
28	* libtiff/tif_dirread.c: Fixed testing for failed result from
29	TIFFReadDirectoryFindFieldInfo().
30	http://bugzilla.maptools.org/show_bug.cgi?id=1992
31
322009-01-23  Frank Warmerdam  <[email protected]>
33
34	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
35	http://bugzilla.maptools.org/show_bug.cgi?id=1911
36
37	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
38
39	http://bugzilla.maptools.org/show_bug.cgi?id=1924
40
41	* tools/tiffcrop.c: initialize xres/yres values.
42
43	* test/*.sh - default ${srcdir} to local directory.
44
45	* test/common.sh - start verbose mode after common settings.
46
47	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
48	avoid type mismatches on different platforms.
49	http://bugzilla.maptools.org/show_bug.cgi?id=1889
50
512009-01-22  Frank Warmerdam  <[email protected]>
52
53	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
54	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
55
56	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
57	defined, primarily to reduce prototype warnings on windows.
58
59	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
60	about unused parameters, and uninitialized variables.
61
622009-01-21  Bob Friesenhahn  <[email protected]>
63
64	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
65	order to trace full execution detail while executing the test suite.
66
672009-01-20  Frank Warmerdam  <[email protected]>
68
69	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
70
712009-01-20  Bob Friesenhahn  <[email protected]>
72
73	* test/Makefile.am (CLEANFILES): Make sure that test output files
74	are removed by 'make clean'
75
76	* Update autotools for 4.0.0 beta3
77
78	* 4.0.0 beta3 produced.
79
802009-01-12  Bob Friesenhahn  <[email protected]>
81
82	* test/tiffcrop.sh: New test script for tiffcrop from Richard
83	Nolde.
84
85	* tools/tiff2ps.c: Remove spurious message to stderr.
86
872009-01-11  Bob Friesenhahn  <[email protected]>
88
89	* tools/tiff2ps.c: Incorporated significant functionality update
90	from Richard Nolde.  In particular, support for rotating the image
91	by 90, 180, 270, and 'auto' has been added.
92
93	* man/tiffcrop.1: Incorporated documentation updates from Richard
94	Nolde.
95
96	* tools/tiffcrop.c: Incorporated significant functionality update
97	from Richard Nolde.
98
992008-12-31  Bob Friesenhahn  <[email protected]>
100
101	* libtiff/tiffio.h: GCC will now validate format specifications
102	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
103	TIFFWarningExt() in order to reveal bugs.
104
105	* Many fixes throughout to work better as a 64-bit build.
106
1072008-12-30  Bob Friesenhahn  <[email protected]>
108
109	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
110	tags now require 64-bit parameter rather than 32-bit.
111
112	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
113	64-bit values.
114
115	* tools/thumbnail.c: Eliminate crash noticed while running test
116	suite.
117
1182008-12-29  Bob Friesenhahn  <[email protected]>
119
120	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
121	Initialize stack variables to avoid compiler warning.
122
123	* tools/tiffinfoce.c (main): Use toff_t for offset type when
124	retrieving offset of EXIF IFD.
125
126	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
127	TIFFClientOpen() callback and other external function definitions.
128
129	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
130	type now.  Fixes crash when dumping files containing an EXIF IFD.
131
132	* m4/libtool.m4: Update to libtool 2.2.6.
133
1342008-12-21  Frank Warmerdam  <[email protected]>
135
136	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
137
138	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
139	strip for the last partial strip in a jpeg compressed file.
140	http://bugzilla.maptools.org/show_bug.cgi?id=1981
141
1422008-10-29  Frank Warmerdam  <[email protected]>
143
144	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
145	we take the shortcut to only update the strip/tile offsets in place.
146	http://trac.osgeo.org/gdal/ticket/2621
147
1482008-10-21  Andrey Kiselev  <[email protected]>
149
150	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
151	the older versions retained).
152
1532008-10-09  Frank Warmerdam  <[email protected]>
154
155	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
156	IPP enabled version of libjpeg from Intel.
157	http://bugzilla.maptools.org/show_bug.cgi?id=1951
158
1592008-09-05  Andrey Kiselev  <[email protected]>
160
161	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
162	Required for libtiff 4.0.
163
164	* tools/tiffsplit.c: Use dynamically allocated array instead of static
165	when constructing output file names.
166
1672008-09-03  Andrey Kiselev  <[email protected]>
168
169	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
170	doing the filename/path construction.
171
172	* tools/tiff2pdf.c: More appropriate format string in
173	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
174
175	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
176
177	http://bugzilla.maptools.org/show_bug.cgi?id=1929
178
179	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
180	CVE-2008-2327 security issue.
181
1822008-09-01  Frank Warmerdam  <[email protected]>
183
184	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
185
186	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
187	depending on whether the file is bigtiff or classic tiff.
188	http://bugzilla.maptools.org/show_bug.cgi?id=1917
189
1902008-08-12  Edward Lam  <[email protected]>
191
192	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
193	consistent (__int64) casting when testing if _lseeki64 has
194	successfully seeked as requested.  This is necessary for large
195	file support to work since off_t is only 32-bit.
196
1972008-07-29  Frank Warmerdam  <[email protected]>
198
199	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or
200	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
201	with control logic to return runtime errors (c/o Even Rouault) (#1927).
202
2032008-06-17  Frank Warmerdam  <[email protected]>
204
205	* tools/tiffcrop.c: Fix some portability problems.
206
207	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
208	used in tif_jpeg.c.
209
210	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
211	as TIFFOpen().
212
2132008-06-01  Frank Warmerdam  <[email protected]>
214
215	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
216	like Sparc/Solaris.
217	http://bugzilla.maptools.org/show_bug.cgi?id=1892
218
2192008-05-27  Frank Warmerdam  <[email protected]>
220
221	* libtiff.def: Add TIFFFindField
222	http://bugzilla.maptools.org/show_bug.cgi?id=1891
223
2242008-05-26  Frank Warmerdam  <[email protected]>
225
226	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
227
228	* li2008-04-15  Andrey Kiselev  <[email protected]>
229
230btiff/tif_win32.c: Replace custom Win32 memory api with generic
231	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
232	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
233
234	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
235	in windows version (care of Edward Lam).
236
2372008-05-24  Frank Warmerdam  <[email protected]>
238
239	* tif_codec.c: Avoid NULL pointer dereferencing for exotic
240	compression codec codes.
241
242	* tif_dirwrite.c: fix potential memory leak.
243
244	* tif_dirread.c: Fix unchecked malloc result.
245
2462008-05-24  Bob Friesenhahn  <[email protected]>
247
248	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
249	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
250	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
251	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
252	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
253	suggestions from Lee Howard posted to the tiff list on 13 Sep
254	2007.
255
2562008-05-23  Frank Warmerdam  <[email protected]>
257
258	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
259	possible runtime problem reported by coverity.
260
261	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
262
263	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
264	http://bugzilla.maptools.org/show_bug.cgi?id=1888
265
266	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
267
268	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
269
270	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
271	Cleanup scanline allocation to avoid coverity warning.
272
273	* tools/thumbnail.c: Check for TIFFOpen() failure.
274
2752008-05-18  Frank Warmerdam  <[email protected]>
276
277	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
278	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
279	why this is needed.
280
2812008-05-09  Bob Friesenhahn  <[email protected]>
282
283	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
284	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
285
2862008-04-15  Andrey Kiselev  <[email protected]>
287
288	* test/: Test suite updated. Everything is passed now.
289
290	* libtiff/tif_dirinfo.c: Fixed description of the
291	TIFFTAG_NUMBEROFINKS tag.
292
2932008-04-14  Andrey Kiselev  <[email protected]>
294
295	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
296	Get rid of some of "dereferencing type-punned" warnings by converting
297	tdir_offset field of TIFFDirEntry structure into union.
298
2992008-04-10  Andrey Kiselev  <[email protected]>
300
301	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
302	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
303	from the public interface. Type of its 'count' parameter changed
304	from uint32 to tmsize_t.
305
306	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
307	of the tiff structure have the size_t type instead of uint32.
308
3092008-04-09  Andrey Kiselev  <[email protected]>
310
311	* tools/tiffdump.c: Added support for MSVS 6.0.
312
313	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
314	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
315	point values on MSVS 6.0 platform.
316
3172008-03-14  Frank Warmerdam  <[email protected]>
318
319	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
320	TIFFReadDirEntryArray() since they are interfering with seemingly
321	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
322
3232008-02-09  Joris Van Damme  <[email protected]>
324
325	* tif_dirread.c: Added handling for the case of number of values for
326	PageNumber tag different from 2 (previously resulted in an assert
327	indicating lack of handling and was forgotten about)
328
3292008-02-01  Frank Warmerdam  <[email protected]>
330
331	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
332	the actual jpeg data stream if the first strip/tile has zero size.
333	This is the case when GDAL creates a new file with zero sizes, closes
334	and reopens it.
335
3362008-01-07  Frank Warmerdam  <[email protected]>
337
338	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
339
3402008-01-01  Frank Warmerdam  <[email protected]>
341
342	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
343
344	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
345	targets.
346
347	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
348	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
349	(x64).
350
351	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
352	and TIFFFieldWithName() now return TIFFField pointers instead of
353	TIFFFieldInfo pointers.
354
355	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
356	exist. This makes it compile again on Windows
357
358	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
359	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
360
361	* test/rewrite_tag.c: New test for TIFFRewriteField().
362
3632007-12-31  Frank Warmerdam  <[email protected]>
364
365	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
366	rewrites one field "on disk" updating an existing directory
367	entry.  Lots of limitations still...
368
369	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
370	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
371	the strip offset/size values are dirty but nothing else about the
372	directory is dirty.  In flush handle "just stripmaps dirty" as a
373	special case that just rewrites these values without otherwise
374	modifying the directory on disk using TIFFRewriteField().
375
376	We also modify logic so that in update mode the directory is not
377	marked dirty on read, but only when something is changed.  This
378	means we need to keep track of updates to the stripmap stuff in
379	TIFFAppendToStrip().
380
3812007-12-10  Frank Warmerdam  <[email protected]>
382
383	* tif_jpeg.c: Improve ability to switch between encoding and decoding
384	in the jpeg code (gdal bug #2033).
385
3862007-11-23  Frank Warmerdam  <[email protected]>
387
388	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
389	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
390	rawcp/rawcc buffer are for writing and thus may require flushing.
391	Necessary to distinguish whether they need to be written to disk when
392	in mixed read/write mode and doing a mixture of writing followed by
393	reading.  http://trac.osgeo.org/gdal/ticket/1758
394
3952007-11-23  Andrey Kiselev  <[email protected]>
396
397	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
398	from Alexey Chupahin.
399
4002007-11-02  Frank Warmerdam  <[email protected]>
401
402	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
403	establishing if an existing tile can be rewritten to the same location
404	by comparing the current size to all the other blocks in the same
405	directory.  This is dangerous in many situations and can easily
406	corrupt a file.  (observed in esoteric GDAL situation that's hard to
407	document).  This change involves leaving the stripbytecount[] values
408	unaltered till TIFFAppendToStrip().  Now we only write a block back
409	to the same location it used to be at if the new data is the same
410	size or smaller - otherwise we move it to the end of file.
411
412	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
413	data when writing the directory just because we have BEENWRITING at
414	some point in the past.  This was causing odd junk to be written out
415	in a tile of data when a single tile had an interleaving of reading
416	and writing with reading last.  (highlighted by gdal
417	autotest/gcore/tif_write.py test 7.
418
419	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
420	modifying callers buffer.
421	http://trac.osgeo.org/gdal/ticket/1965
422
423	* tif_predict.c/h: more fixes related to last item, keeping a
424	distinct pfunc for encode and decode cases as these were getting
425	mixed up sometimes.
426	http://trac.osgeo.org/gdal/ticket/1948
427
4282007-11-01  Frank Warmerdam  <[email protected]>
429
430	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
431	predictor based encoding and decoding works in read-write update
432	mode properly.
433	http://trac.osgeo.org/gdal/ticket/1948
434
4352007-10-24  Joris Van Damme  <[email protected]>
436
437	* tif_dirread.c: Fixed problem with bogus file triggering
438	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
439	ChopUpSingleUncompressedStrip
440
4412007-10-22  Joris Van Damme  <[email protected]>
442
443	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
444	at best, access violation at worst, when subsampled JPEG compressed imagery
445	is decoded without the JPEG_COLORMODE feature
446
4472007-10-11  Frank Warmerdam  <[email protected]>
448
449	* html/index.html: Update "people responsible" section.
450
4512007-10-05  Frank Warmerdam  <[email protected]>
452
453	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
454	as reported on the mailing list.
455
4562007-10-01  Joris Van Damme  <[email protected]>
457
458	* changed some more incorrect %lud printf flags to %lu
459
4602007-09-29  Joris Van Damme  <[email protected]>
461
462	* tif_dirread.c: Strip chopping interfered badly with uncompressed
463	subsampled images because it tried to divide subsampled rowblocks,
464	leading to all sorts of errors throughout the library for these
465	images. Fixed by making strip chopping divide in row counts that
466	are a multiple of vertical subsampling value.
467
4682007-09-28  Joris Van Damme  <[email protected]>
469
470	* tif_dirread.c: Logical cast working around compiler warning
471
472	* tif_read.c: Correction of some error flags and parameter lists
473
4742007-09-27  Joris Van Damme  <[email protected]>
475
476	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
477	when dealing with large bitspersample values, shutting up purification
478	tools that warn about truncation, though it remains incorrect and
479	indicates a conceptual problem there.
480
481	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
482	of first IFD) to proper place because it badly interfered with memory
483	mapping, resulting in mapping flag even with dummy mapping functions
484	that returned 0 whilst at the same time the mapping tif_size wasn't
485	set, thus resulting in continuous incorrect beyond-eof errors.
486
4872007-09-24  Joris Van Damme  <[email protected]>
488
489	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
490	inconsistent use of const in tiffFields and exifFields definition
491
4922007-09-20  Frank Warmerdam  <[email protected]>
493
494	* tif_dirwrite.c: Always write tile/strip offsets and sizes
495	using LONG8 type when output format is BigTIFF.  The
496	TIFFWriteDirectoryTagLongLong8Array() function was restructured
497	accordingly.
498
499	* tif_dirread.c: Improvements to error reporting text in
500	TIFFFetchDirectory().
501
5022007-09-19  Bob Friesenhahn  <[email protected]>
503
504	* test/images: Added a small collection of test images for use by
505	test programs and scripts.
506	* test/tiffinfo.sh: A trivial example test script.
507	* test/common.sh: Added small script for setting the environment
508	used by script-based tests.
509
5102007-08-24  Frank Warmerdam  <[email protected]>
511
512	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
513	zero when writing directory contents to preserve the ability to
514	rewrite directories in place, even in the middle of a directory
515	chain.
516
517	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
518	definitions that are missing.  Existing definitions are silently
519	ignored.
520
521	* tif_dirread.c: Add runtime error for fields for which no definition
522	is found (in addition to an assert for developers) in
523	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
524	prudent.
525
5262007-08-10  Joris Van Damme  <[email protected]>
527
528	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
529	from _TIFFRGBAImage structure to revert unwanted ABI change.
530
5312007-08-10  Joris Van Damme  <[email protected]>
532
533	* libtiff/tif_win32.c: use SetFilePointer instead of
534	SetFilePointerEx, as per bug
535
536	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
537
5382007-07-19  Andrey Kiselev  <[email protected]>
539
540	* libtiff/tif_stream.cxx: Put all callback functions declarations
541	inside extern "C" block.
542
543	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
544	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
545	formatter instead of "%lld" with MSVC compiler.
546
547	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
548	_TIFFUInt64ToDouble() functions.
549
5502007-07-18  Andrey Kiselev  <[email protected]>
551
552	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
553	integer constants.
554
555	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
556	remove tif_config.h/tiffconf.h during cleaning. As per bug
557
558	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
559
560	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
561
562	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
563
5642007-07-13  Andrey Kiselev  <[email protected]>
565
566	* libtiff 4.0.0alpha released.
567
5682007-07-12  Andrey Kiselev  <[email protected]>
569
570	* tools/tiff2pdf.c: Added missed extern optind as per bug
571
572	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
573
574	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
575	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
576	extending scheme completed.
577
5782007-07-11  Bob Friesenhahn  <[email protected]>
579
580	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
581	use standard C++ library size types and attempt to detect overflow
582	cases.
583
5842007-07-08  Andrey Kiselev  <[email protected]>
585
586	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
587	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
588	tag extending scheme. Use the new scheme everywhere.
589
590	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
591	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
592	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
593	TIFFFIeldInfo structure replaced with TIFFField structure.
594	TIFFFieldInfo retained for the backward compatibility.
595
5962007-07-05  Bob Friesenhahn  <[email protected]>
597
598	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
599	defined.
600
6012007-07-04  Andrey Kiselev  <[email protected]>
602
603	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
604	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
605	removed.
606
607	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
608	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
609	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
610	These tags are not codec-specific and relate to image content, so
611	process them as other normal tags.
612
613	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
614	public tiffio.h to private tif_dir.h.
615
616	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
617	outdated.
618
6192007-07-03  Andrey Kiselev  <[email protected]>
620
621	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
622	tif_win3.c}: Obsoleted portability stuff removed.
623
624	* tools/tiff2ps.c:  Added support 16-bit images as per bug
625
626	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
627
628	Patch from William Bader.
629
630	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
631	significant upgrade of the whole utility as per bug
632
633	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
634
635	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
636	PDF file using TIFFClientOpen() machinery as it is implemented
637	by Leon Bottou.
638
6392007-06-26  Bob Friesenhahn  <[email protected]>
640
641	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
642	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
643	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
644	allow returning -1 for errors.
645	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
646
6472007-06-25  Bob Friesenhahn  <[email protected]>
648
649	* port/strtoull.c: New porting function in case strtoull() is not
650	available on the target system.
651	* configure.ac: Add configure support for determining sized types
652	in a portable way and performing necessary substitutions in
653	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
654	definitions.
655
6562007-04-27  Andrey Kiselev  <[email protected]>
657
658	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
659
660	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
661
6622007-04-07  Andrey Kiselev  <[email protected]>
663
664	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
665	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
666	tif_predict.c, tif_zip.c}: Finally fix bug
667
668	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
669
670	by introducing _TIFFMergeFieldInfo() returning integer error status
671	instead of void in case of problems with field merging (e.g., if the
672	field with such a tag already registered). TIFFMergeFieldInfo() in
673	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
674	check returned value.
675
6762007-04-07  Frank Warmerdam  <[email protected]>
677
678	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
679	blocks in TIFF_DownSample_Subsampled() (bug 1542).
680
6812007-04-06  Frank Warmerdam  <[email protected]>
682
683	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
684	will convert from decompressor to compressor or compress to decompress
685	if required by the force arguments.  This works around a problem in
686	where the JPEGFixupTestSubsampling() may cause a decompressor to
687	be setup on a directory when later a compressor is required with the
688	force flag set.  Occurs with the addtiffo program for instance.
689
6902007-04-06  Andrey Kiselev  <[email protected]>
691
692	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
693	functionality from Richard Nolde. As per bug
694
695	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
696
6972007-03-28  Frank Warmerdam  <[email protected]>
698
699	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
700
7012007-03-17  Joris Van Damme  <[email protected]>
702
703	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
704
7052007-03-07  Joris Van Damme  <[email protected]>
706
707	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
708	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
709	factor. This bug is mentioned in:
710	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
711	http://www.asmail.be/msg0054766825.html
712
7132007-03-07  Joris Van Damme  <[email protected]>
714
715	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
716
717	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
718	unused arguments by standard C indication for the same
719
7202007-02-27  Andrey Kiselev  <[email protected]>
721
722	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
723	counters in TIFFFetchData(). Should finally fix the issue
724
725	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
726
7272007-02-24  Andrey Kiselev  <[email protected]>
728
729	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
730	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
731
732	* libtiff/tif_dirread.c: Added special function to handle
733	SubjectDistance EXIF tag as per bug
734
735	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
736
737	* tools/tiff2pdf.c: Do not assume inches when the resolution units
738	do not specified. As per bug
739
740	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
741
742	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
743	it was set as infinite. As per bug
744
745	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
746
747	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
748	by Richard Nolde. As per bug
749
750	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
751
7522007-02-22  Andrey Kiselev  <[email protected]>
753
754	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
755	ExtraSamples == 999 produced by Corel Draw. As per bug
756
757	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
758
759	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
760	changed from tsize_t to uint32 to be able to work with data arrays
761	larger than 2GB. Fixes bug
762
763	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
764
765	Idea submitted by Matt Hancher.
766
7672007-01-31  Andrey Kiselev  <[email protected]>
768
769	* tools/tif2rgba.c: This utility does not work properly on big-endian
770	architectures. It was fixed including the bug
771
772	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
773
7742007-01-15  Mateusz Loskot <[email protected]>
775
776	* Submitted libtiff port for Windows CE platform
777	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
778	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
779	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
780	functons from tif_win32.c.
781	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
782	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
783	standard header files for Windows CE build.
784	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
785
7862006-11-19  Frank Warmerdam  <[email protected]>
787
788	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
789	we move a strip.
790	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
791
7922006-10-13  Andrey Kiselev  <[email protected]>
793
794	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
795	in Gentoo bug ():
796
797	http://bugs.gentoo.org/show_bug.cgi?id=142383
798
799	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
800	Though it is still far from the state of being working and useful.
801
8022006-10-12  Andrey Kiselev  <[email protected]>
803
804	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
805	method.
806
807	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
808	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
809
810	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
811	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
812
813	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
814	vulnerabilities, reported in Gentoo bug ():
815
816	http://bugs.gentoo.org/show_bug.cgi?id=142383
817
8182006-09-28  Andrey Kiselev  <[email protected]>
819
820	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
821	vulnerabilities, as per	Gentoo bug ():
822
823	http://bugs.gentoo.org/show_bug.cgi?id=142383
824
8252006-09-27  Frank Warmerdam  <[email protected]>
826
827	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
828	encoding and decoding on the same read-write TIFF handle.  The LZW
829	code can now maintain encode and decode state at the same time. The
830	ZIP code will switch back and forth as needed.
831	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
832
8332006-09-20  Frank Warmerdam  <[email protected]>
834
835	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
836	tif_config.vc.h for easier identification by folks using an IDE.
837
8382006-07-25  Frank Warmerdam  <[email protected]>
839
840	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
841
8422006-07-19  Frank Warmerdam  <[email protected]>
843
844	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
845	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
846	to bug report by Peng Gao with black strip at bottom of images.
847
8482006-07-12  Frank Warmerdam  <[email protected]>
849
850	* tif_dirwrite.c: make sure to use uint32 for wordcount in
851	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
852	It already seems to have been done for other field types.  Needed
853	for "tiffset" on files with geotiff ascii text.
854
8552006-07-04  Bob Friesenhahn  <[email protected]>
856
857	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
858	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
859	its use does not appear to be required, so use it only when it is
860	available.
861
8622006-06-24  Andrey Kiselev  <[email protected]>
863
864	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
865
866	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
867	function TIFFFetchDirectory() avoiding code duplication in
868	TIFFReadDirectory() and TIFFReadCustomDirectory().
869
8702006-06-19  Frank Warmerdam  <[email protected]>
871
872	* tools/tiff2pdf.c: Fix handling of -q values.
873	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
874
8752006-06-17  Frank Warmerdam  <[email protected]>
876
877	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
878	files.  Modified TIFFReadDirectory() to not invoke
879	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
880	but one of them is zero.
881	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
882
8832006-06-08  Andrey Kiselev  <[email protected]>
884
885	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
886	checking code in the separate function TIFFCheckDirOffset().
887
888	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
889
890	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
891
892	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
893
894	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
895
896	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
897
898	* tools/tiff2pdf.c: Fixed buffer overflow condition in
899	t2p_write_pdf_string() as per bug
900
901	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
902
9032006-06-07  Andrey Kiselev  <[email protected]>
904
905	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
906	support for JBIG compression scheme (34661 code) contributed by Lee
907	Howard. As per bug
908
909	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
910
911	* configure, configure.ac: OJPEG support enabled by default.
912
913	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
914
9152006-06-03  Bob Friesenhahn  <[email protected]>
916
917	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
918	TIFFPrintDirectory().  Joris Van Damme authored the fix.
919
9202006-04-21  Andrey Kiselev  <[email protected]>
921
922	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
923	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
924
925	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
926	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
927	Added support for OpenVMS by Alexey Chupahin, [email protected].
928
9292006-04-20  Andrey Kiselev  <[email protected]>
930
931	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
932	Properly set the binary mode for stdin stream as per bug
933	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
934
935	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
936	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
937	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
938	tiffset.1}: Improvements in page formatting as per bug
939	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
940
941	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
942	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
943
9442006-04-18  Frank Warmerdam  <[email protected]>
945
946	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
947	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
948
9492006-04-12  Joris Van Damme  <[email protected]>
950
951	* libtiff/tif_getimage.c: Added support for planarconfig separate
952	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
953
9542006-04-11  Joris Van Damme  <[email protected]>
955
956	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
957	- Conversion of unassociated alpha to associated alpha now done with
958	  more performant LUT, and calculation more correct
959	- Conversion of 16bit data to 8bit data now done with
960	  more performant LUT, and calculation more correct
961	- Bugfix of handling of 16bit RGB with unassociated alpha
962
9632006-04-11  Joris Van Damme  <[email protected]>
964
965	* libtiff/tif_getimage.c:
966	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
967	  buffer for alpha strile and filled it, only to never read it back.
968	  Removed allocation and fill.
969	- Minor rename of vars in gtTileSeparate and gtStripSeparate
970	  anticipating planned functionality extension
971
9722006-04-08  Joris Van Damme  <[email protected]>
973
974	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
975	and pickTileSeparateCase to PickSeparateCase as both work on strips as
976	well
977
978	* libtiff/tif_getimage.c: moved img->get selection from
979	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
980	logical hook for planned functionality extension
981
9822006-04-08  Joris Van Damme  <[email protected]>
983
984	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
985	of inappropriate use of jpeg_abort instead of jpeg_destroy
986
9872006-04-07  Joris Van Damme  <[email protected]>
988
989	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
990	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
991	on subsampled images - this ought to get sorted when we feel brave
992	enough to replace TIFFScanlineSize alltogether
993
994	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
995
9962006-04-04  Joris Van Damme  <[email protected]>
997
998	* libtiff/tiffio.h: added new type tstrile_t
999
1000	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
1001	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
1002	toff_t*
1003
1004	* libtiff/tif_ojpeg.c: totally new implementation
1005
1006	* libtiff/tif_dirread.c: added several hacks to suit new support of
1007	OJPEG
1008
1009	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
1010	of OJPEG images in favor of tif_getimage.c native handling of
1011	YCbCr and desubsampling
1012
10132006-03-29  Frank Warmerdam  <[email protected]>
1014
1015	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
1016	interpretation causes the "upsampled" flag to be recomputed.  Fixes
1017	peculiar bug where photometric flag had to be set before jpegcolormode
1018	flag.
1019
10202006-03-25  Joris Van Damme  <[email protected]>
1021
1022	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
1023
1024	* libtiff/tif_strip.c: temporarilly added two new versions of
1025	TIFFScanlineSize
1026	  - TIFFNewScanlineSize: proposed new version, after all related
1027	    issues and side-effects are sorted out
1028	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
1029	This needs further sorting out.
1030
10312006-03-25  Joris Van Damme  <[email protected]>
1032
1033	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
1034	of last truncated strip data to TIFFWriteEncodedStrip
1035
10362006-03-25  Joris Van Damme  <[email protected]>
1037
1038	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
1039
10402006-03-25  Joris Van Damme  <[email protected]>
1041
1042	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
1043
1044	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
1045
1046	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
1047	prepare	the path for new tif_ojpeg.c
1048
10492006-03-23  Andrey Kiselev  <[email protected]>
1050
1051	* libtiff 3.8.2 released.
1052
1053	* tools/Makefile.am: Use runtime paths linker flags when rpath
1054	option enabled.
1055
10562006-03-21  Andrey Kiselev  <[email protected]>
1057
1058	* libtiff/libtiff.def: Added missed exports as per bug
1059	http://bugzilla.remotesensing.org/attachment.cgi?id=337
1060
1061	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
1062	tools/Makefile.vc: Makefiles improvements as per bug
1063	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
1064
1065	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
1066	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
1067	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
1068
1069	* libtiff/tif_strip.c: Take subsampling in account when calculating
1070	TIFFScanlineSize().
1071
1072	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
1073
10742006-03-17  Andrey Kiselev  <[email protected]>
1075
1076	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
1077	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
1078
1079	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
1080	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
1081
10822006-03-16  Andrey Kiselev  <[email protected]>
1083
1084	* libtiff/tiffiop.h: Added decalration for
1085	_TIFFSetDefaultCompressionState().
1086
1087	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
1088	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
1089	codec cleanup methods. As per bug
1090
1091	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
1092
10932006-03-15  Andrey Kiselev  <[email protected]>
1094
1095	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
1096	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
1097
1098	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
1099	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
1100
1101	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
1102	removed; move here the STRIP_SIZE_DEFAULT macro definition.
1103
1104	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
1105	macro definition.
1106
1107	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
1108
11092006-03-14  Andrey Kiselev  <[email protected]>
1110
1111	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
1112	in TIFFReadDirectory, because it is always set at the start of
1113	function and we allow TIFFs without that tag set.
1114
11152005-03-13  Andrey Kiselev  <[email protected]>
1116
1117	* libtiff 3.8.1 released.
1118
11192006-03-07  Andrey Kiselev  <[email protected]>
1120
1121	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
1122	function as per bug
1123	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1124
1125	* libtiff/tif_dirread.c: More wise check for integer overflow
1126	condition as per bug
1127	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1128
1129	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
1130	Properly restore setfield/getfield methods in cleanup functions. As
1131	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1132
11332006-03-03  Andrey Kiselev  <[email protected]>
1134
1135	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
1136	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
1137
1138	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
1139	TIFFPredictorCleanup() in codec cleanup methods. As per bug
1140
1141	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1142
1143	* libtiff/tif_dirread.c: Fixed integer overflow condition in
1144	TIFFFetchData() function. As per bug
1145
1146	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1147
11482006-03-01  Andrey Kiselev  <[email protected]>
1149
1150	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
1151	TIFFSetField() method, not directly. As per bug
1152
1153	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
1154
1155	* tools/ppm2tiff.c: Added support for PBM files as per bug
1156	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
1157
11582006-02-27  Andrey Kiselev  <[email protected]>
1159
1160	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
1161	to avoid crash as per bug
1162
1163	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
1164
11652006-02-26  Andrey Kiselev  <[email protected]>
1166
1167	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
1168	t2p_sample_rgba_to_rgb() was used in place of each other, that was
1169	resulted in problems with RGBA images with associated alpha.
1170	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
1171
11722006-02-23  Andrey Kiselev  <[email protected]>
1173
1174	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
1175	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1176
1177	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
1178	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
1179	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1180
1181	* tools/tiff2ps.c: Properly scale all the pages when converting
1182	multipage TIFF with /width/height/center options set. As per bug
1183
1184	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
1185
11862006-02-15  Andrey Kiselev  <[email protected]>
1187
1188	* tools/tiff2pdf.c: Do not create output file until all option checks
1189	will be done. As per bug
1190
1191	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
1192
1193	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
1194	list of input files as per bug:
1195
1196	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
1197
11982006-02-09  Andrey Kiselev  <[email protected]>
1199
1200	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
1201	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
1202
1203	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
1204	TIFFRGBAImage interface.
1205
1206	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
1207	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
1208
12092006-02-07  Frank Warmerdam  <[email protected]>
1210
1211	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
1212	compressed TIFF files, per submission from Dan Cobra.
1213
12142006-02-07  Andrey Kiselev  <[email protected]>
1215
1216	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
1217	cast values to avoid warnings. As per bug
1218	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1219
1220	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
1221	appropriate. As per bug
1222	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1223
1224	* libtiff/tif_aux.c: Fixed type of temporary variable in
1225	_TIFFCheckMalloc() as per bug
1226	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1227
12282006-02-06  Andrey Kiselev  <[email protected]>
1229
1230	* libtiff/tif_aux.c: Return static array when fetching default
1231	YCbCrCoefficients (another problem, reported a the
1232	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
1233
12342006-02-03  Andrey Kiselev  <[email protected]>
1235
1236	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
1237	YCbCrSubsampling and DotRange tags as per bugs
1238
1239	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
1240	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
1241
1242	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
1243	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
1244
1245	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
1246
12472006-01-23  Andrey Kiselev  <[email protected]>
1248
1249	* libtool related stuff updated from the 2.1a branch.
1250
12512006-01-11  Frank Warmerdam  <[email protected]>
1252
1253	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
1254	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
1255	properly as per bug:
1256	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
1257
12582006-01-09  Bob Friesenhahn  <[email protected]>
1259
1260	* configure.ac: Fix with_default_strip_size comparison as reported
1261	by Norihiko Murase.
1262
12632006-01-08  Bob Friesenhahn  <[email protected]>
1264
1265	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
1266	incorrectly, tests were not actually testing the uninstalled
1267	libtiff.  Now they are.
1268
12692006-01-04  Andrey Kiselev  <[email protected]>
1270
1271	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
1272	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
1273	should be uint32 value.
1274
12752006-01-02  Bob Friesenhahn  <[email protected]>
1276
1277	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
1278	be used if build directory is not the same as source directory.
1279	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
1280	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
1281	and re-sorted tag names in alphabetical order.
1282
12832005-12-29  Andrey Kiselev  <[email protected]>
1284
1285	* libtiff 3.8.0 released.
1286
12872005-12-28  Bob Friesenhahn  <[email protected]>
1288
1289	* tools/bmp2tiff.c (main): Fixed warning regarding returning
1290	inconsistent types from a condition.
1291	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
1292	format.
1293	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
1294
12952005-12-28  Joris Van Damme  <[email protected]>
1296
1297	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
1298
12992005-12-27  Andrey Kiselev  <[email protected]>
1300
1301	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
1302	windows.h, to reduce the compile time.
1303
13042005-12-26  Bob Friesenhahn  <[email protected]>
1305
1306	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
1307
13082005-12-26  Andrey Kiselev  <[email protected]>
1309
1310	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
1311	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
1312	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
1313	private functions to retrieve FieldInfo arrays.
1314
13152005-12-24  Bob Friesenhahn  <[email protected]>
1316
1317	* html/build.html: Added some additional instructions for when
1318	building using MSVC under Windows.  Also fixed two HTML syntax
1319	errors and used HTML Tidy to tidy up the HTML syntax and
1320	formatting.
1321
13222005-12-24  Andrey Kiselev  <[email protected]>
1323
1324	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
1325	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
1326	StoNits tags custom.
1327
13282005-12-23  Andrey Kiselev  <[email protected]>
1329
1330	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
1331	WhitePoint tag custom.
1332
1333	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
1334
13352005-12-23  Joris Van Damme  <[email protected]>
1336
1337	* libtiff/tiffio.h: fixed typo that potentially resulted in
1338	redefininition of USE_WIN32_FILEIO
1339
1340	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
1341	calls in core LibTiff.
1342
13432005-12-21  Andrey Kiselev  <[email protected]>
1344
1345	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
1346	Photoshop and ICCProfile tags custom.
1347
13482005-12-21  Joris Van Damme  <[email protected]>
1349
1350	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
1351	newer code to get context indicator in error handler and still
1352	remain compatible with older code: Done TIFFError calls everywhere
1353	except in tools
1354
13552005-12-20  Andrey Kiselev  <[email protected]>
1356
1357	* tools/tiffcp.c: Added many error reporting messages; fixed integer
1358	overflow as per bug
1359
1360	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
1361
13622005-12-16  Frank Warmerdam  <[email protected]>
1363
1364	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
1365	YCbCr images in jpeg compressed TIFF files.
1366
13672005-12-14  Andrey Kiselev  <[email protected]>
1368
1369	* tools/tiffcp.c: Return non-zero status when reading fails (again).
1370
13712005-12-13  Andrey Kiselev  <[email protected]>
1372
1373	* tools/tiffcp.c: Return non-zero status when reading fails.
1374
13752005-12-12  Andrey Kiselev  <[email protected]>
1376
1377	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
1378
13792005-12-09  Andrey Kiselev  <[email protected]>
1380
1381	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
1382	custom.
1383
1384	* tools/tiffinfo.c: Print EXIF directory contents if exist.
1385
1386	* libtiff/tiff.h: Few EXIF tag numbers added.
1387
1388	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
1389	tiffio.h}: Preliminary support to read custom directories. New
1390	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
1391
13922005-12-07  Andrey Kiselev  <[email protected]>
1393
1394	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
1395	More work to implement custom directory read support.
1396
1397	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
1398	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
1399	tags custom.
1400
14012005-12-05  Andrey Kiselev  <[email protected]>
1402
1403	* libtiff/tif_dirread.c: One more workaround for broken
1404	StripByteCounts tag. Handle the case when StripByteCounts array filled
1405	with completely wrong values.
1406
14072005-11-30  Andrey Kiselev  <[email protected]>
1408
1409	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
1410	in the TIFFOpenW() function as per bug
1411
1412	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
1413
1414	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
1415	functions as per bug
1416
1417	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
1418
14192005-11-20  Frank Warmerdam  <[email protected]>
1420
1421	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
1422	for MS MDI format.
1423	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
1424
1425	* .cvsignore: many files added, and a few update according
1426	to suggestion of Brad HArds on tiff mailing list.
1427
14282005-11-03  Frank Warmerdam  <[email protected]>
1429
1430	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
1431	public.
1432
14332005-10-31  Andrey Kiselev  <[email protected]>
1434
1435	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
1436	as per bug
1437
1438	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
1439
1440	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
1441	as per bug
1442
1443	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
1444
1445	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
1446	problem as per bug
1447
1448	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
1449
1450	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
1451
1452	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
1453
1454	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
1455	ResolutionUnit tags modifiable during write process. As per bug
1456
1457	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
1458
1459	* tools/tiffsplit.c: Copy fax related fields over splitted parts
1460	as per bug
1461
1462	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
1463
14642005-10-21  Frank Warmerdam  <[email protected]>
1465
1466	* tif_dirread.c: Don't try and split single strips into "0" strips
1467	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
1468	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
1469
14702005-10-20  Joris Van Damme  <[email protected]>
1471
1472	* tif_fax3.c: changed 'at scanline ...' style warning/errors
1473	with incorrect use of tif_row, to 'at line ... of
1474	strip/tile ...' style
1475
14762005-10-15  Frank Warmerdam  <[email protected]>
1477
1478	* tif_write.c: fixed setting of planarconfig as per bug report
1479	on the mailing list from Joris.
1480
14812005-10-07  Andrey Kiselev  <[email protected]>
1482
1483	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
1484	tif_dirread.c}: Make the default strip size configurable via the
1485	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
1486
14872005-09-30  Bob Friesenhahn  <[email protected]>
1488
1489	* html/support.html: Fixed link to documentation on Greg Ward's
1490	LogLuv TIFF format.
1491
14922005-09-28  Andrey Kiselev  <[email protected]>
1493
1494	* tools/tiffdump.c: Fixed crash when reading malformed tags.
1495
14962005-09-20  Andrey Kiselev  <[email protected]>
1497
1498	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
1499	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
1500
15012005-09-12  Andrey Kiselev  <[email protected]>
1502
1503	* libtiff 3.7.4 released.
1504
1505	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
1506	from Patrick Welche (all scripts moved in the 'config' and 'm4'
1507	directories).
1508
15092005-09-12  Frank Warmerdam  <[email protected]>
1510
1511	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
1512
15132005-09-05  Frank Warmerdam  <[email protected]>
1514
1515	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
1516	also set it to NULL to avoid double free when re-setting custom
1517	string fields as per:
1518
1519	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
1520
15212005-08-12  Frank Warmerdam  <[email protected]>
1522
1523	* libtiff/tif_print.c: avoid signed/unsigned warning.
1524
1525	* libtiff/tif_dirread.c: removed unused variable.
1526
15272005-07-30  Frank Warmerdam  <[email protected]>
1528
1529	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
1530	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
1531	pass on bigendian (macosx) system.
1532
15332005-07-28  Andrey Kiselev  <[email protected]>
1534
1535	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
1536	CheckMalloc() function to _TIFFCheckMalloc() and make it available
1537	globally as an internal helper routine.
1538
15392005-07-27  Andrey Kiselev  <[email protected]>
1540
1541	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
1542	the custom tags handling code.
1543
15442005-07-26  Andrey Kiselev  <[email protected]>
1545
1546	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
1547	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
1548	function, use TIFFFetchNormalTag() instead as per bug
1549
1550	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
1551
1552	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
1553	instead.
1554
1555	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
1556
1557	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
1558
15592005-07-25  Andrey Kiselev  <[email protected]>
1560
1561	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
1562
1563	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
1564
15652005-07-21  Andrey Kiselev  <[email protected]>
1566
1567	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
1568	the TIFFWriteCheck() function in case of single band images (as per
1569	TIFF spec).
1570
15712005-07-12  Andrey Kiselev  <[email protected]>
1572
1573	* SConstruct, libtiff/SConstruct: Added the first very preliminary
1574	support for SCons software building tool (http://www.scons.org/).
1575	This is experimental infrastructure and it will exist along with the
1576	autotools mechanics.
1577
15782005-07-07  Andrey Kiselev  <[email protected]>
1579
1580	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
1581	the NetBSD source tree (the old	4-clause BSD license changed to
1582	the new 3-clause one).
1583
1584	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
1585	replacement module.
1586
1587	* port/dummy.c: Make the dummy function static.
1588
15892005-07-06  Andrey Kiselev  <[email protected]>
1590
1591	* tools/tiffcp.c: Fixed WhitePoint tag copying.
1592
1593	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
1594	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
1595	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
1596
15972005-07-04  Andrey Kiselev  <[email protected]>
1598
1599	* libtiff 3.7.3 released.
1600
1601	* configure, configure.ac: Do not use empty -R option when linking
1602	with --enable-rpath.
1603
16042005-07-01  Andrey Kiselev  <[email protected]>
1605
1606	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
1607	reading the first IFD when needed. As per bug
1608
1609	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
1610
1611	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
1612	effects.
1613
16142005-06-23  Andrey Kiselev  <[email protected]>
1615
1616	* tools/tiff2pdf.c: Print two characters per loop in the
1617	t2p_write_pdf_trailer(). As per bug
1618
1619	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
1620
1621	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
1622	per bug
1623
1624	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
1625
1626	* acinclude.m4: Updated to latest OpenGL test macros versions.
1627
1628	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
1629	platform. As per bug
1630
1631	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
1632
16332005-06-14  Andrey Kiselev  <[email protected]>
1634
1635	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
1636	and YClipPathUnits tags.
1637
16382005-06-07  Andrey Kiselev  <[email protected]>
1639
1640	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
1641	use pixel sized shift in contigous case.
1642
16432005-06-06  Andrey Kiselev  <[email protected]>
1644
1645	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
1646	Make overviews working for contiguos images.
1647
16482005-06-03  Andrey Kiselev  <[email protected]>
1649
1650	* libtiff/tif_open.c: Replace runtime endianess check with the compile
1651	time one.
1652
1653	* libtiff/tif_predict.c: Floating point predictor now works on
1654	big-endian hosts.
1655
16562005-06-01  Andrey Kiselev  <[email protected]>
1657
1658	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
1659	ASCII values.
1660
1661	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
1662	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
1663	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
1664	TargetPrinter tags custom.
1665
1666	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
1667	TIFF_CODERSETUP flag (to fix memry leaks).
1668
1669	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
1670	allocating.
1671
16722005-05-26  Andrey Kiselev  <[email protected]>
1673
1674	* configure.ac, libtiff/Makefile.am: Added workaround for
1675	OpenBSD/MirOS soname problem as per bug
1676
1677	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
1678
1679	* libtiff/tif_dirwrite.c: Use tdir_count when calling
1680	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
1681	per bug
1682
1683	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
1684
16852005-05-25  Andrey Kiselev  <[email protected]>
1686
1687	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
1688	the fscanf() function. As per bug
1689
1690	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
1691
1692	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
1693	uint16 array when fetching the BYTE and SBYTE filds, so we should
1694	consider result as pointer to uint16 array and not as array of chars.
1695	As per bug
1696
1697	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
1698
1699	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
1700
1701	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
1702
1703	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
1704	mode in CreateFile() call as per bug
1705
1706	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
1707
1708	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
1709	libtiffxx libraries as per bug
1710
1711	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
1712
1713	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
1714	GDAL.
1715
17162005-05-23  Frank Warmerdam  <[email protected]>
1717
1718	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
1719	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
1720	in directory.
1721
17222005-05-22  Frank Warmerdam  <[email protected]>
1723
1724	* libtiff/tif_dirread.c: Changed the code that computes
1725	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
1726	zero. This is a common case with GDAL indicating a "null" tile/strip.
1727
17282005-05-17  Andrey Kiselev  <[email protected]>
1729
1730	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
1731
17322005-05-06  Frank Warmerdam  <[email protected]>
1733
1734	* libtiff/tif_dirread.c: Applied similar change to
1735	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
1736
1737	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
1738
1739	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
1740
17412005-05-06  Andrey Kiselev  <[email protected]>
1742	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
1743	added new option '-b' to use interpolation in output PDF files (Bruno
1744	Ledoux).
1745
17462005-05-05  Frank Warmerdam  <[email protected]>
1747
1748	* libtiff/tif_dirread.c: Ensure that broken files with too many
1749	values in PerSampleShorts work ok instead of crashing.
1750
1751	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
1752
17532005-04-27  Andrey Kiselev  <[email protected]>
1754
1755	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
1756	input file.
1757
17582005-04-15  Andrey Kiselev  <[email protected]>
1759
1760	* libtiff/tif_predict.c: Added ability to encode floating point
1761	predictor, as per TIFF Technical Note 3.
1762
17632005-04-14  Andrey Kiselev  <[email protected]>
1764
1765	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
1766	floating point predictor, as per TIFF Technical Note 3.
1767
17682005-04-13  Andrey Kiselev  <[email protected]>
1769
1770	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
1771	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
1772	swap 24-bit floating point values.
1773
1774	* libtiff/tiff.h: Added predictor constants.
1775
17762005-04-08  Andrey Kiselev  <[email protected]>
1777
1778	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
1779	values in _TIFFVSetField() function. Inspired by the bug
1780
1781	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
1782
1783	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
1784	as per bug
1785
1786	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
1787
17882005-03-30  Andrey Kiselev  <[email protected]>
1789
1790	* libtiff/tif_open.c: Do not read header in case the output file
1791	should be truncated (Ron).
1792
1793	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
1794	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
1795
1796	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
1797
17982005-03-22  Andrey Kiselev  <[email protected]>
1799
1800	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
1801	rpath option.
1802
18032005-03-21  Andrey Kiselev  <[email protected]>
1804
1805	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
1806	tags.
1807
18082005-03-18  Andrey Kiselev  <[email protected]>
1809
1810	* libtiff/dirinfo.c: Added DNG tags.
1811
1812	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
1813	handling code.
1814
1815	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
1816	added DNG 1.1.0.0 tags.
1817
1818	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
1819	bug
1820
1821	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
1822
1823	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
1824
18252005-03-17  Andrey Kiselev  <[email protected]>
1826
1827	* nmake.opt: Build with Win32 CRT library by default.
1828
1829	* tools/tiff2ps.c: Fixed typo in page size handling code.
1830
1831	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
1832	by value.
1833
1834	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
1835
18362005-03-15  Andrey Kiselev  <[email protected]>
1837
1838	* libtiff 3.7.2 released.
1839
18402005-03-09  Andrey Kiselev  <[email protected]>
1841
1842	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
1843	floating point data; complain on unsupported bit depths.
1844
18452005-03-05  Andrey Kiselev  <[email protected]>
1846
1847	* tif_stream.cxx: Use ios namespace instead of ios_base to support
1848	GCC 2.95.
1849
1850	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
1851	Lee Howard for HylaFax DCS tag
1852	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
1853
18542005-03-04  Andrey Kiselev  <[email protected]>
1855
1856	* configure, configure.ac: Use -rpath option instead of -R as per bug
1857
1858	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
1859
1860	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
1861	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
1862	software. As per bug
1863
1864	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
1865
1866	* nmake.opt, html/build.html: Add more comments, change the config
1867	file organization a bit as per bug
1868
1869	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
1870
1871	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
1872	as per bug
1873
1874	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
1875
18762005-03-03  Andrey Kiselev  <[email protected]>
1877
1878	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
1879	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
1880
1881	* tools/fax2ps.c: Replace insecure mktemp() function with the
1882	tmpfile() as per bug
1883
1884	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
1885
18862005-02-04  Andrey Kiselev  <[email protected]>
1887
1888	* libtiff/tiff.h: Changed the int8 definition to be always signed char
1889	as per bug
1890
1891	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
1892
1893	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
1894	block as per bug
1895
1896	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
1897
18982005-02-03  Bob Friesenhahn  <[email protected]>
1899
1900	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
1901	display more correctly.  Images display brighter than they should
1902	on a Sun workstation.
1903
19042005-02-03  Andrey Kiselev  <[email protected]>
1905
1906	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
1907	suspicious values in the tags. As per bugs
1908
1909	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
1910
1911	and
1912
1913	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
1914
1915	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
1916
1917	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
1918
19192005-01-31  Bob Friesenhahn  <[email protected]>
1920
1921	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
1922	(TIFFTAG_TILELENGTH): Corrected description.
1923
19242005-01-30  Andrey Kiselev  <[email protected]>
1925
1926	* configure.ac: Fixes for --with-docdir option as per bug
1927
1928	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
1929
1930	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
1931	bug
1932
1933	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
1934
1935	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
1936	Michael Rinne and Edward Lam.
1937
19382005-01-15  Andrey Kiselev  <[email protected]>
1939
1940	* configure.ac: Make the documentation directory location configurable
1941	via the --with-docdir option (as suggested by Jeremy C. Reed).
1942
1943	* libtiff/tif_color.c: Use double as the second argument of pow()
1944	function in TIFFCIELabToRGBInit(). As per bug
1945
1946	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
1947
1948	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
1949	integer as per bug
1950
1951	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
1952
1953	* libtiff/tif_getimage.c: Always fill the error message buffer in
1954	TIFFRGBAImageBegin() as per bug
1955
1956	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
1957
19582005-01-12  Andrey Kiselev  <[email protected]>
1959
1960	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
1961	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
1962	tags as per bug
1963
1964	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
1965
1966	* libtiff/tif_win32.c: Fixed message formatting in functions
1967	Win32WarningHandler() and Win32ErrorHandler() as per bug
1968
1969	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
1970
1971	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
1972	per bug
1973
1974	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
1975
19762005-01-11  Andrey Kiselev  <[email protected]>
1977
1978	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
1979	"C"' section as per bug
1980
1981	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
1982
1983	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
1984	compiler to avoid double definition of BSD types as per bug
1985
1986	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
1987
1988	* libtiff/Makefile.am: Place the C++ stream API in the separate
1989	library called libtiffxx to avoid unneeded dependencies. Probably
1990	there will be more C++ API in the future. As per bugs
1991
1992	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
1993
1994	and
1995
1996	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
1997
19982005-01-05  Andrey Kiselev  <[email protected]>
1999
2000	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
2001	wrong tag counts (Dmitry V. Levin, Martin Pitt).
2002
2003	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
2004	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2005
20062004-12-25  Andrey Kiselev  <[email protected]>
2007
2008	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
2009	RGB-images as per bug
2010
2011	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2012
2013
2014	* tools/tiffset.c: Convert character option to integer value as per
2015	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
2016
20172004-12-20  Andrey Kiselev  <[email protected]>
2018
2019	* libtiff 3.7.1 released.
2020
2021	* html/tiffset.1.html: Add missed manual page as per bug
2022
2023	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2024
2025	* libtiff/tiff.h: Revert back libtiff data type definitions as per
2026	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
2027
20282004-12-19  Andrey Kiselev  <[email protected]>
2029
2030	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
2031	checking for tag count in TIFFReadDirectory() function. As per bug
2032
2033	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2034
2035	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
2036	CheckMallock() function.
2037
2038	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
2039	RGB-images as per bug
2040
2041	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
2042
20432004-12-15  Frank Warmerdam  <[email protected]>
2044
2045	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
2046	SunPro compiler.
2047
20482004-12-11  Bob Friesenhahn  <[email protected]>
2049
2050	* autogen.sh: aclocal and autoheader should be executed after
2051	libtoolize.  Also add '-I .' to aclocal invocation to check
2052	current directory for macros.
2053
20542004-12-10  Andrey Kiselev  <[email protected]>
2055
2056	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
2057	as per bugs
2058
2059	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
2060
2061	and
2062
2063	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
2064
20652004-12-04  Andrey Kiselev  <[email protected]>
2066
2067	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
2068
2069	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2070
2071	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
2072	mode as per bug
2073
2074	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2075
2076	* libtiff/tif_config.in.vc: Removed unneded definitions for
2077	read/open/close/lseek functions to fix the
2078
2079	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
2080
20812004-12-03  Andrey Kiselev  <[email protected]>
2082
2083	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
2084	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
2085	must be removed in the future, as it was never used properly. As per
2086	bug
2087
2088	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
2089
20902004-11-30  Bob Friesenhahn  <[email protected]>
2091
2092	* libtiff/tif_jpeg.c: Added a work-around in order to allow
2093	compilation with the heavily modified version of libjpeg delivered
2094	with Cygwin.
2095
20962004-11-29  Andrey Kiselev  <[email protected]>
2097
2098	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
2099	counts. As per bug
2100
2101	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
2102
2103	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
2104
2105	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
2106
21072004-11-28  Andrey Kiselev  <[email protected]>
2108
2109	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
2110	on Windows.
2111
2112	* nmake.opt: Add missed DLLNAME variable.
2113
21142004-11-26  Frank Warmerdam  <[email protected]>
2115
2116	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
2117
21182004-11-24  Andrey Kiselev  <[email protected]>
2119
2120	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
2121	per bug
2122
2123	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
2124
2125	* man/tiffset.1: Added manual page for tiffset tool written by Jay
2126	Berkenbilt. As per bug
2127
2128	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2129
21302004-11-23  Frank Warmerdam  <[email protected]>
2131
2132	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
2133
21342004-11-21  Frank Warmerdam  <[email protected]>
2135
2136	* html/document.html: Updated Adobe web links as per email from Joris.
2137
21382004-11-21  Andrey Kiselev  <[email protected]>
2139
2140	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
2141	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
2142	use C++ streams should #include <tiffio.hxx>.
2143
21442004-11-13  Andrey Kiselev  <[email protected]>
2145
2146	* libtiff/tiff.h: Added Adobe DNG tags.
2147
2148	* libtiff/tif_win32.c: Typo fixed.
2149
2150	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
2151	be compliant with the latest standard. Appropriate additions in
2152	makefiles now completed.
2153
21542004-11-11  Andrey Kiselev  <[email protected]>
2155
2156	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
2157	different tag types. As per bug
2158
2159	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
2160
21612004-11-10  Andrey Kiselev  <[email protected]>
2162
2163	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
2164	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
2165
21662004-11-09  Andrey Kiselev  <[email protected]>
2167
2168	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
2169
21702004-11-07  Andrey Kiselev  <[email protected]>
2171
2172	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
2173	contributed by Edward Lam (see
2174	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
2175	Though no changes in any makefiles yet.
2176
21772004-11-05  Frank Warmerdam  <[email protected]>
2178
2179	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
2180	is bad. This is the callers responsibility.
2181	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
2182
21832004-11-05  Andrey Kiselev  <[email protected]>
2184
2185	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
2186	function to work with the double byte strings (used to represent
2187	filenames in some locales). As per bug
2188
2189	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
2190
2191	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
2192	Compression tags of type LONG from broken TIFFS as per bug
2193
2194	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2195
2196	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
2197	the writecount should have uint32 type. As per bug
2198
2199	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2200
2201	* libtiff/tif_write.c: Fixed wrong if() statement in
2202	TIFFAppendToStrip() function as per bug
2203
2204	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
2205
22062004-11-04  Andrey Kiselev  <[email protected]>
2207
2208	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
2209	field. The caller should supply a count when setting this field. As
2210	per bug
2211
2212	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
2213
2214	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
2215	uint32 count. Use this type everywhere.
2216
22172004-11-03  Frank Warmerdam  <[email protected]>
2218
2219	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
2220
22212004-11-02  Frank Warmerdam  <[email protected]>
2222
2223	* tools/tiff2rgba.c: removed extra newlines in usage message.
2224
22252004-10-30  Andrey Kiselev  <[email protected]>
2226
2227	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
2228
2229	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
2230	tags (Tristan Hill).
2231
22322004-10-30  Frank Warmerdam  <[email protected]>
2233
2234	* libtiff/tiffiop.h: added fallback definition of assert() if we
2235	don't have assert.h.
2236
22372004-10-29  Andrey Kiselev  <[email protected]>
2238
2239	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
2240	choosing when the incorrect Group4Options tag set. As per bug
2241
2242	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
2243
2244	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
2245	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
2246	TIFFWriteNormalTag().
2247
22482004-10-28  Andrey Kiselev  <[email protected]>
2249
2250	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
2251	tags (Peter Fales).
2252
2253	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
2254
22552004-10-28  Frank Warmerdam  <[email protected]>
2256
2257	* tools/tiff2pdf.c: added casts to avoid warnings.
2258
2259	* libtiff/libtiff.def: Added several more entry points required
2260	to link fax2tiff.c against the DLL on windows.
2261
22622004-10-27  Andrey Kiselev  <[email protected]>
2263
2264	* configure, configure.ac: Added --enable-rpath option to embed linker
2265	paths into library binary.
2266
22672004-10-26  Andrey Kiselev  <[email protected]>
2268
2269	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
2270
2271	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
2272	(Vladimir Nadvornik, Dmitry V. Levin).
2273
22742004-10-16  Andrey Kiselev  <[email protected]>
2275
2276	* libtiff 3.7.0 released.
2277
22782004-10-15  Bob Friesenhahn  <[email protected]>
2279
2280	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
2281	in this file so its inclusion is removed.  Including stdio.h
2282	sometimes incurs an INT32 typedef conflict between MinGW's
2283	basetsd.h and libjpeg's jmorecfg.h.
2284
22852004-10-15  Andrey Kiselev  <[email protected]>
2286
2287	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
2288
22892004-10-13  Bob Friesenhahn  <[email protected]>
2290
2291	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
2292	conflict noticed under MinGW.
2293	* ltmain.sh: Fix for MinGW compilation.
2294
22952004-10-13  Frank Warmerdam  <[email protected]>
2296
2297	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
2298	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
2299
23002004-10-12  Andrey Kiselev  <[email protected]>
2301
2302	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
2303	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
2304	properly (Dmitry V. Levin, Marcus Meissner).
2305
23062004-10-11  Andrey Kiselev  <[email protected]>
2307
2308	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
2309	to TIFF_IFD.
2310
23112004-10-10  Andrey Kiselev  <[email protected]>
2312
2313	* tools/bmp2tif.c: Check the space allocation results.
2314
23152004-10-09  Andrey Kiselev  <[email protected]>
2316
2317	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
2318	of the TIFFDirectory structure with the 0 instead of -1 to avoid
2319	confusing integer overflows in TIFFTileRowSize() for striped images.
2320
2321	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
2322	by Ross A. Finlayson.
2323
2324	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
2325
2326	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
2327
23282004-10-08  Frank Warmerdam  <[email protected]>
2329
2330	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
2331	of tif_fieldinfo.
2332
2333	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
2334
23352004-10-04  Bob Friesenhahn  <[email protected]>
2336
2337	* contrib/iptcutil/README: Added the missing README which goes
2338	along with iptcutil.
2339
23402004-10-03  Andrey Kiselev  <[email protected]>
2341
2342	* libtiff/tif_compress.c: Improved error reporting in
2343	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
2344
23452004-10-02  Andrey Kiselev  <[email protected]>
2346
2347	* libtiff 3.7.0beta2 released.
2348
2349	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
2350	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
2351	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
2352	allocations and	integer overflows (Dmitry V. Levin).
2353
2354	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
2355
23562004-10-01  Frank Warmerdam  <[email protected]>
2357
2358	* libtiff/tif_open.c: added a more informative message if a BigTIFF
2359	file is opened.
2360
23612004-09-30  Frank Warmerdam  <[email protected]>
2362
2363	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
2364	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
2365	in the Adobe XMP Specification.
2366
23672004-09-29  Andrey Kiselev  <[email protected]>
2368
2369	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
2370	memset().
2371
2372	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
2373	from Dmitry V. Levin to fix possible integer overflow problems.
2374
23752004-09-28  Andrey Kiselev  <[email protected]>
2376
2377	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
2378	(Dmitry V. Levin).
2379
23802004-09-26  Andrey Kiselev  <[email protected]>
2381
2382	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
2383	Optimize checking for the strip bounds.
2384
2385	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
2386	TIFFRasterScanlineSize() functions report zero in the case of integer
2387	overflow now. Properly handle this case in TIFFReadDirectory()
2388	(patches from Dmitry V. Levin).
2389
23902004-09-25  Andrey Kiselev  <[email protected]>
2391
2392	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
2393	macro where appropriate.
2394
2395	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
2396	noted by Gennady Khokhorin.
2397
2398	* libtiff/tif_dirread.c: Always check the return values, returned
2399	by the _TIFFmalloc() (Dmitry V. Levin).
2400
2401	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
2402	functions (Dmitry V. Levin).
2403
2404	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
2405	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
2406	TIFFGrowStrips() (found by Dmitry V. Levin).
2407
24082004-09-24  Andrey Kiselev  <[email protected]>
2409
2410	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
2411	to get the list of configured codecs.
2412
2413	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
2414	Dmitry V. Levin.
2415
24162004-09-23  Andrey Kiselev  <[email protected]>
2417
2418	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
2419	possible integer overflow in CheckMalloc() function.
2420
24212004-09-22  Andrey Kiselev  <[email protected]>
2422
2423	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
2424	of plain TIFFhowmany() where appropriate.
2425
24262004-09-21  Andrey Kiselev  <[email protected]>
2427
2428	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
2429
24302004-09-19  Andrey Kiselev  <[email protected]>
2431
2432	* libtiff 3.7.0beta released.
2433
2434	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
2435	overruns fixed, as noted by Chris Evans.
2436
24372004-09-14  Bob Friesenhahn  <[email protected]>
2438
2439	* commit: Added a script to make it more convenient to commit
2440	updates.  The CVS commit message is extracted from this ChangeLog
2441	file.
2442
24432004-09-14  Andrey Kiselev  <[email protected]>
2444
2445	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
2446	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
2447	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
2448	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
2449	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
2450	tif_config.h.in, tiffiop.h}:
2451	Get rid of BSD data types (u_char, u_short, u_int, u_long).
2452
24532004-09-13  Bob Friesenhahn  <[email protected]>
2454
2455	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
2456	specification. Reference libtiff bug tracking system to submit
2457	private tag additions.
2458
24592004-09-12  Bob Friesenhahn  <[email protected]>
2460
2461	* tools/tiffgt.c: Include "tif_config.h".
2462
2463	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
2464	tiffgt.  This results in the 'compile' script being added to the
2465	project.
2466
2467	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
2468	required to find OpenGL headers necessary to build tiffgt.  Also
2469	ensure that the libtiff that we built is used rather than some other
2470	libtiff installed on the system.
2471
24722004-09-12  Andrey Kiselev  <[email protected]>
2473
2474	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
2475	libraries.
2476
24772004-09-11  Bob Friesenhahn  <[email protected]>
2478
2479	* configure.ac: Pass library configuration defines via
2480	tif_config.h rather than extending CPPFLAGS. Configure a
2481	libtiff/tiffconf.h in order to satisfy application requirements
2482	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
2483	this causes failure to build on systems which properly respect
2484	this request.
2485
2486	* libtiff/tiffconf.h.in: New file to act as the template for the
2487	configured tiffconf.h
2488
2489	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
2490
24912004-09-10  Frank Warmerdam  <[email protected]>
2492
2493	* html/internals.html: Split off a discussion of adding new tags
2494	into addingtags.html.
2495
24962004-09-10  Andrey Kiselev  <[email protected]>
2497
2498	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
2499
2500	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
2501
2502	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2503
2504	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
2505
2506	* libtiff/tif_dirread.c: Don't reject to read tags of the
2507	SamplesPerPixel size when the tag count is greater than number of
2508	samples as per bug
2509
2510	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
2511
2512	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
2513	defining int8/uint8/... etc. types. As per bug
2514
2515	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
2516
25172004-09-09  Frank Warmerdam  <[email protected]>
2518
2519	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
2520	to avoid compile warnings about getopt() and a few other things.
2521
25222004-09-02  Andrey Kiselev  <[email protected]>
2523
2524	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
2525	assigning magic in TIFFFetchFloat().
2526
25272004-09-01  Andrey Kiselev  <[email protected]>
2528
2529	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
2530	to avoid requirement for tiffiop.h inclusion in some applications. See
2531	here
2532
2533	http://www.asmail.be/msg0054799560.html
2534
2535	for details.
2536
2537	* tools/fax2tiff.c: Use the new functions in the code.
2538
25392004-08-25  Andrey Kiselev  <[email protected]>
2540
2541	* tools/tiff2pdf.c: Initialize arrays properly.
2542
2543	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
2544	properly initialize array in PSDataBW().
2545
25462004-08-24  Andrey Kiselev  <[email protected]>
2547
2548	* tools/tiff2pdf.c: More fixes for bug
2549
2550	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2551
2552	from Ross Finlayson.
2553
25542004-08-23  Andrey Kiselev  <[email protected]>
2555
2556	* tools/tiff2ps.c: Fixed problem with uninitialized values.
2557
2558	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
2559	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
2560
2561	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
2562
2563	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2564
25652004-08-20  Andrey Kiselev  <[email protected]>
2566
2567	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
2568	that the input file has compression, photometric interpretation,
2569	etcetra, tags or if not than a more descriptive error is returned.
2570
2571	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
2572	code, responsible for tag data type checking.
2573
25742004-08-19  Andrey Kiselev  <[email protected]>
2575
2576	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
2577	variable as per bug
2578
2579	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
2580
25812004-08-16  Andrey Kiselev  <[email protected]>
2582
2583	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
2584	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
2585
25862004-08-01  Andrey Kiselev  <[email protected]>
2587
2588	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
2589	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
2590
25912004-07-24  Andrey Kiselev  <[email protected]>
2592
2593	* libtiff/tif_lzw.c: LZW compression code is merged back from the
2594	separate package. All libtiff tools are updated to not advertise an
2595	abcence of LZW support.
2596
25972004-07-12  Andrey Kiselev  <[email protected]>
2598
2599	* libtiff/tiffio.h: Revert thandle_t back to void* type.
2600
26012004-07-11  Andrey Kiselev  <[email protected]>
2602
2603	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
2604	messages, as suggested by Bernd Herd.
2605
26062004-07-03  Andrey Kiselev  <[email protected]>
2607
2608	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
2609	when setting custom tags by value. Reported by Eric Fieleke.
2610
26112004-06-14  Andrey Kiselev  <[email protected]>
2612
2613	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
2614
26152004-06-08  Andrey Kiselev  <[email protected]>
2616
2617	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
2618	into TIFFs.
2619
26202004-06-07  Andrey Kiselev  <[email protected]>
2621
2622	* libtiff 3.7.0alpha released.
2623
26242004-06-06  Andrey Kiselev  <[email protected]>
2625
2626	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
2627	of ugly 64-bit hacks, replace them with the clever (autoconf based )
2628	ones :-).
2629
2630	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
2631	problems in 64-bit environment).
2632
26332004-06-05  Andrey Kiselev  <[email protected]>
2634
2635	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
2636	Tags can be supplied by the mnemonic name or number.
2637
2638	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
2639	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
2640
26412004-05-27  Andrey Kiselev  <[email protected]>
2642
2643	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
2644	markers as per bug
2645
2646	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
2647
26482004-05-24  Andrey Kiselev  <[email protected]>
2649
2650	* tools/tiffsplit.c: Don't forget to copy Photometric
2651	Interpretation tag.
2652
26532004-05-20  Andrey Kiselev  <[email protected]>
2654
2655	* libtiff/{tif_open.c, tiffio.h}: New function added:
2656	TIFFIsBigEndian(). Function returns nonzero if given was file written
2657	in big-endian order.
2658
2659	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
2660	files. Now output files will be written using the same byte order
2661	flag as	in the input image. See
2662
2663	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
2664
2665	for details.
2666
26672004-05-19  Frank Warmerdam  <[email protected]>
2668
2669	* libtiff/tif_print.c: added (untested) support for printing
2670	SSHORT, SLONG and SRATIONAL fields.
2671
2672	* tools/tiffcp.c: close output file on normal exit.
2673
26742004-05-17  Andrey Kiselev  <[email protected]>
2675
2676	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
2677	if compression type mismatches. See
2678
2679	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
2680
26812004-04-30  Andrey Kiselev  <[email protected]>
2682
2683	* libtiff/tif_strip.c: Never return 0 from the
2684	TIFFNumberOfStrips().
2685
26862004-04-29  Andrey Kiselev  <[email protected]>
2687
2688	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
2689	store single SampleFormat value for multisampled images. See
2690
2691	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
2692
26932004-04-25  Andrey Kiselev  <[email protected]>
2694
2695	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
2696	int16 and int32 types to avoid complains on some compilers. Details at
2697
2698	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2699
27002004-04-20  Andrey Kiselev  <[email protected]>
2701
2702	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
2703
2704	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
2705
27062004-04-14  Andrey Kiselev  <[email protected]>
2707
2708	* libtiff/tif_write.c: Allow in-place updating of the compressed
2709	images (don't work properly with all codecs). For details see GDAL bug
2710
2711	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
2712
27132004-04-06  Andrey Kiselev  <[email protected]>
2714
2715	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
2716	in the Intergarph JPEG compressed TIFF images as per bug:
2717
2718	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
2719
27202004-04-04  Frank Warmerdam  <[email protected]>
2721
2722	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
2723	via bad2.
2724
27252004-03-26  Andrey Kiselev  <[email protected]>
2726
2727	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
2728	JPEG compression of grayscale images.
2729
2730	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
2731	present in the input image.
2732
27332004-03-19  Andrey Kiselev  <[email protected]>
2734
2735	* {many}: The first attempt to switch to autotools.
2736
27372004-03-03  Andrey Kiselev  <[email protected]>
2738
2739	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
2740	TIFFClientOpen() when the appropriate client functions was not
2741	supplied by user.
2742
27432004-03-02  Frank Warmerdam  <[email protected]>
2744
2745	* tools/ycbcr.c: fixed main() declaration as per:
2746	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
2747
27482004-02-26  Andrey Kiselev  <[email protected]>
2749
2750	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
2751	images. Reported by Artem Mirolubov.
2752
2753	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
2754	tag type in TIFFFetchNormalTag() as per bug
2755
2756	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
2757
27582004-02-17  Frank Warmerdam  <[email protected]>
2759
2760	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
2761	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
2762
27632004-02-05  Andrey Kiselev  <[email protected]>
2764
2765	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
2766	bug
2767
2768	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
2769
2770	But we need more work on fax codec to support update mode.
2771
27722004-01-30  Frank Warmerdam  <[email protected]>
2773
2774	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
2775	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
2776	Scott Reynolds.
2777
27782004-01-29  Andrey Kiselev  <[email protected]>
2779
2780	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
2781	and TIFFTAG_INDEXED as per bug
2782
2783	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
2784
2785	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
2786	NULL before proceeding further as per bug
2787
2788	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
2789
2790	Check results, returned by the TIFFFdOpen() before returning and close
2791	file if TIFFFdOpen() failed as per bug
2792
2793	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2794
2795	* libtiff/tif_open.c: More fixes for
2796
2797	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2798
27992004-01-28  Andrey Kiselev  <[email protected]>
2800
2801	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
2802	TIFFCleanup() from the TIFFClose() in order to fix the bug
2803
2804	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2805
2806	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
2807	InkNames tag as per bug
2808
2809	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
2810
2811	Memory leak fixed.
2812
28132004-01-21  Frank Warmerdam  <[email protected]>
2814
2815	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
2816	are field_passcount=TRUE properly.  Arguably anonymous custom tags
2817	should be declared as passcount=FALSE, but I don't want to change
2818	that without a careful review.
2819
28202004-01-20  Andrey Kiselev  <[email protected]>
2821
2822	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
2823	stripped image in TIFFWriteBufferSetup(). As per bug
2824
2825	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
2826
28272004-01-11  Andrey Kiselev  <[email protected]>
2828
2829	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
2830	patch from Gerben Koopmans.
2831
2832	* libtiff/tif_dirread.c: Check field_passcount value before setting
2833	the value of undefined type, patch from Gerben Koopmans.
2834
28352004-01-02  Andrey Kiselev  <[email protected]>
2836
2837	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
2838	non-RGB images.
2839
28402003-12-31  Andrey Kiselev  <[email protected]>
2841
2842	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
2843	pointer passed. Patch supplied by Larry Grill.
2844
2845	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
2846	suggested by Jeremy C. Reed.
2847
28482003-12-26  Andrey Kiselev  <[email protected]>
2849
2850	* libtiff 3.6.1 released.
2851
28522003-12-24  Andrey Kiselev  <[email protected]>
2853
2854	* config.guess, config.sub: Updated from the recent upstream.
2855
28562003-12-22  Andrey Kiselev  <[email protected]>
2857
2858	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
2859	More cleanups in color conversion interface, added appropriate manual
2860	page.
2861
28622003-12-19  Andrey Kiselev  <[email protected]>
2863
2864	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
2865	per bug
2866
2867	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
2868
2869	* tools/tiff2ps.c: Added support for alpha channel. Fixes
2870
2871	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
2872
2873	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
2874	Interface for Lab->RGB color conversion is finally cleaned up.
2875	Added support for ReferenceBlackWhite tag handling when converted from
2876	YCbCr color space. The latter closes
2877
2878	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
2879
28802003-12-07  Andrey Kiselev  <[email protected]>
2881
2882	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
2883
2884	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
2885	library.
2886
28872003-12-06  Andrey Kiselev  <[email protected]>
2888
2889	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
2890	file and properly use it for CIE Lab->RGB transform.
2891
28922003-12-04  Andrey Kiselev  <[email protected]>
2893
2894	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
2895	conversion routines now in the tif_color.c module. New function
2896	TIFFYCbCrtoRGB() available in TIFF API.
2897
2898	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
2899
29002003-12-03  Andrey Kiselev  <[email protected]>
2901
2902	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
2903	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
2904	module.
2905
2906	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
2907	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
2908	Finally resolved problems with orientation handling. TIFFRGBAImage
2909	interface now properly supports all possible orientations, i.e. images
2910	will be flipped both in horizontal and vertical directions if
2911	required. 'Known bugs' section now removed from the appropriate manual
2912	pages. Closed bug entry:
2913
2914	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
2915
29162003-12-02  Andrey Kiselev  <[email protected]>
2917
2918	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
2919	function calls as per bug
2920
2921	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
2922
29232003-11-28 Ross Finlayson  <[email protected]>
2924
2925	* tools/tiff2pdf.c:  Some bugs fixed.
2926
29272003-11-27  Andrey Kiselev  <[email protected]>
2928
2929	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
2930	reported by Antonio Scuri.
2931
2932	* man/tiff2pdf.1: Few improvements in page layout.
2933
2934	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
2935	 Added support fpr tiff2pdf manual page.
2936
29372003-11-26 Ross Finlayson  <[email protected]>
2938
2939	* /man/tiff2pdf.1:  File added to repository.
2940
29412003-11-26  Andrey Kiselev  <[email protected]>
2942
2943	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
2944	 Added support fpr tiff2pdf utility.
2945
29462003-11-25  Ross Finlayson  <[email protected]>
2947
2948	* /tools/tiff2pdf.c:  File added to repository.
2949
29502003-11-22  Andrey Kiselev  <[email protected]>
2951
2952	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
2953
29542003-11-21  Andrey Kiselev  <[email protected]>
2955
2956	* /tools/raw2tiff.c: #include <getopt.h> removed.
2957
2958	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
2959	sgigt utility removed and replaced with the completely rewritten
2960	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
2961	there is a lot of things to improve.
2962
2963	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
2964	extract the fields from the OJPEG files. Patch supplied by Ross
2965	Finlayson.
2966
2967	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
2968	Added new function TIFFIsCODECConfigured(), suggested by Ross
2969	Finlayson.
2970
29712003-11-18  Andrey Kiselev  <[email protected]>
2972
2973	* libtiff/tif_dirinfo.c: Implemented binary search in
2974	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
2975
2976	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
2977	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
2978
29792003-11-17  Frank Warmerdam  <[email protected]>
2980
2981	* tif_dirread.c: do not mark all anonymously defined tags to be
2982	IGNOREd.
2983
29842003-11-17  Andrey Kiselev  <[email protected]>
2985
2986	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
2987	TIFFDataWidth() function insted of tiffDataWidth array.
2988
29892003-11-16  Andrey Kiselev  <[email protected]>
2990
2991	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
2992	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
2993
29942003-11-15  Frank Warmerdam  <[email protected]>
2995
2996	* Makefile.in: fixed missing backslash for tif_color.c in list.
2997
29982003-11-13  Andrey Kiselev  <[email protected]>
2999
3000	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
3001	New color space conversion code: CIE L*a*b* 1976 images now supported
3002	by the TIFFRGBAImage interface. All introduced routines go to new
3003	module tif_color.c. Eventually all color conversion functions should
3004	be moved there.
3005
30062003-11-12  Andrey Kiselev  <[email protected]>
3007
3008	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
3009	with the reverse byte order (it is reported by the magic header
3010	field). Problem reported by Andreas Wiesmann.
3011
3012	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
3013	calculation function. Guessing mechanics now documented in manual page.
3014
30152003-11-11  Andrey Kiselev  <[email protected]>
3016
3017	* tools/raw2tiff.c: Implemented image size guessing using
3018	correlation coefficient calculation between two neighbour lines.
3019
30202003-11-09  Frank Warmerdam  <[email protected]>
3021
3022	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
3023	planarconfig_contig case in TIFFComputeTile().
3024
3025	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
3026
30272003-11-09  Andrey Kiselev  <[email protected]>
3028
3029	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
3030
30312003-11-07  Andrey Kiselev  <[email protected]>
3032
3033	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
3034	Added TIFFRawStripSize() function as suggested by Chris Hanson.
3035
30362003-11-03  Andrey Kiselev  <[email protected]>
3037
3038	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
3039	per bug
3040
3041	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
3042
30432003-10-29  Andrey Kiselev  <[email protected]>
3044
3045	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
3046
3047	* html/build.html: Added note about GNU make requirement.
3048
30492003-10-25  Andrey Kiselev  <[email protected]>
3050
3051	* Makefile.in: Fixes in using MAKEFLAGS as per bug
3052
3053	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
3054
3055	* port/install.sh.in: Option -p added to the mkdir command to create
3056	all directory tree structure before installing.
3057
30582003-10-18  Andrey Kiselev  <[email protected]>
3059
3060	* /tools/tiff2ps.c: #include <strings.h> replaced with the
3061	#include <string.h>.
3062
30632003-10-16  Andrey Kiselev  <[email protected]>
3064
3065	* Makefile.in: Add an absolute path to the test_pics.sh call.
3066
30672003-10-12  Andrey Kiselev  <[email protected]>
3068
3069	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
3070	typedefs.
3071
30722003-10-09  Andrey Kiselev  <[email protected]>
3073
3074	* configure, libtiff/{Makefile.in, mkversion.c}:
3075	Relative buildings fixed.
3076
3077	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
3078	rule.
3079
30802003-10-07  Andrey Kiselev  <[email protected]>
3081
3082	* Makefile.in: Added missed v3.6.0.html.
3083
3084	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
3085	ORIENTATION_BOTLEFT.
3086
30872003-10-04  Andrey Kiselev  <[email protected]>
3088
3089	* 3.6.0 final release.
3090
30912003-10-03  Andrey Kiselev  <[email protected]>
3092
3093	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
3094	function TIFFReadRGBAImageOriented() implemented to retrieve raster
3095	array with user-specified origin position as suggested by Jason Frank.
3096	See
3097
3098	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
3099
3100	for details.
3101
3102	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
3103	instead of TIFFReadRGBAImage().
3104
3105	* tools/tiff2ps.c: Fixed possible endless loop as per bug
3106
3107	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
3108
31092003-09-30  Andrey Kiselev  <[email protected]>
3110
3111	* libtiff/tif_dirread.c: Check field counter against number of fields
3112	in order to fix
3113
3114	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
3115
3116	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
3117
3118	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
3119
31202003-09-25  Andrey Kiselev  <[email protected]>
3121
3122	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
3123	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
3124
3125	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
3126
31272003-09-23  Andrey Kiselev  <[email protected]>
3128
3129	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
3130
3131	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3132
31332003-08-21  Andrey Kiselev  <[email protected]>
3134
3135	* tools/tiffmedian.c: int declaration replaced with the uint32 to
3136	support large images as per bug
3137
3138	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
3139
31402003-08-12  Andrey Kiselev  <[email protected]>
3141
3142 	* libtiff/Makefile.in: Fixed problem with building in different
3143	directory.
3144
3145	* tools/tiff2ps.c: Added missing #include <strings.h>.
3146
3147	* libtiff/tif_dirwrite.c: More fixes for custom tags code
3148	from Ashley Dreier.
3149
31502003-08-07  Andrey Kiselev  <[email protected]>
3151
3152	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
3153	Patch submitted by Balatoni Denes (with corrections from Tom
3154	Kacvinsky).
3155
3156	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
3157	being used. Reported by Tom Kacvinsky.
3158
3159	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
3160	reported by Ashley Dreier.
3161
3162	* libtiff/tif_print.c: Fixed problem with float tags reading, support
3163	for printing RATIONAL and BYTE tags added.
3164
31652003-08-05  Andrey Kiselev  <[email protected]>
3166
3167	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
3168	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
3169	problems with predictor initialization. Remove O_RDONLY check during
3170	state block allocation to be able open LZW compressed files in update
3171	mode.
3172
3173	Problem exist for libtiff version of the tif_lzw.c module. One from
3174	lzw-compression-kit hasn't such troubles.
3175
31762003-08-04  Frank Warmerdam  <[email protected]>
3177
3178	* libtiff/tif_write.c: modified tif_write.c so that the various
3179	encoded write functions use tif_postdecode() to apply byte order
3180	swapping (swab) to the application passed data buffer if the same
3181	would be done when reading.  This allows us to write pixel data with
3182	more than 8 bits per sample to existing files of a non-native byte
3183	order.  One side effect of this change is the applications buffer
3184	itself is altered in this case by the act of writing.
3185
3186	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
3187
31882003-07-25  Frank Warmerdam  <[email protected]>
3189
3190	* libtiff/tif_open.c: avoid signed/unsigned casting warning
3191	initializing typemask as per patch from J.A. Strother.
3192
3193	* tools/tiffcp.c: fixed signed/unsigned casting warning.
3194
3195	* libtiff/tif_print.c: dos2unix conversion.
3196
3197	* tools/tiffsplit.c: increased the maximum number of pages that
3198	can be split.  Patch provided by Andrew J. Montalenti.
3199
32002003-07-11  Andrey Kiselev  <[email protected]>
3201
3202	* tools/raw2tiff.c: Added option `-p' to explicitly select color
3203	space of input image data. Closes
3204
3205	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
3206
32072003-07-08  Frank Warmerdam  <[email protected]>
3208
3209	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
3210	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
3211	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
3212	avoid casting warning at /W4.
3213
32142003-07-03  Andrey Kiselev  <[email protected]>
3215
3216	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
3217
32182003-06-30  Andrey Kiselev  <[email protected]>
3219
3220	* libtiff/tif_pixarlog.c: Unused variables removed.
3221
3222	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
3223	EstimateStripByteCounts() as per bug
3224
3225	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3226
3227	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
3228	64-bit architectures as per bug
3229
3230	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
3231
3232	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
3233	unknown data type.
3234
32352003-06-19  Frank Warmerdam  <[email protected]>
3236
3237	* libtiff/tif_print.c: fixed some serious bugs when printing
3238	custom tags ... almost certain to crash.
3239
3240	* libtiff/tif_dirread.c: Don't ignore custom fields that are
3241	autodefined.  Not sure how this got to be like this.
3242
32432003-06-18  Andrey Kiselev  <[email protected]>
3244
3245	* 3.6.0 Beta2 released.
3246
3247	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
3248	comparing as per bug
3249
3250	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
3251
3252	`-z' option now can be used to set the number of reported different
3253	bytes.
3254
32552003-06-09  Andrey Kiselev  <[email protected]>
3256
3257	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
3258	to -r option to get the entire image as one strip. See
3259
3260	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3261
3262	for details.
3263
32642003-06-04  Andrey Kiselev  <[email protected]>
3265
3266	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
3267	values as per bug
3268
3269	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3270
32712003-05-27  Frank Warmerdam  <[email protected]>
3272
3273	* libtiff/tif_jpeg.c: modified segment_height calculation to always
3274	be a full height tile for tiled images.  Also changed error to just
3275	be a warning.
3276
32772003-05-25  Andrey Kiselev  <[email protected]>
3278
3279	* tools/fax2tiff.c: Page numbering fixed, as per bug
3280
3281	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
3282
32832003-05-20  Andrey Kiselev  <[email protected]>
3284
3285	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3286	configure, Makefile.in:	Switched back to the old behaviour. Likely
3287	better solution should be found for OJPEG support.
3288
32892003-05-11  Andrey Kiselev  <[email protected]>
3290
3291	* libtiff/mkversion.c: Fixed problem with wrong string size when
3292	reading RELEASE-DATE file.
3293
32942003-05-07  Andrey Kiselev  <[email protected]>
3295
3296	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
3297	index was out of range.
3298
32992003-05-06  Andrey Kiselev  <[email protected]>
3300
3301	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3302	configure, Makefile.in:	Improved libtiff compilation with OJPEG
3303	support. Now no need for patching IJG JPEG library, hack requred by
3304	libtiff will be compiled and used in-place. Implemented with
3305	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
3306
3307	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
3308	TIFFVGetFieldDefaulted() function.
3309
33102003-05-05  Andrey Kiselev  <[email protected]>
3311
3312	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
3313	comments.
3314
3315	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
3316	was not copied from source image.
3317
3318	* libtiff/getimage.c: Workaround for some images without correct
3319	info about alpha channel as per bug
3320
3321	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
3322
33232003-04-29  Andrey Kiselev  <[email protected]>
3324
3325	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
3326	It basically allows one to use the /flateDecode filter for ZIP
3327	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
3328
3329	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
3330
3331	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
3332	as per bug
3333
3334	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
3335
33362003-04-17  Andrey Kiselev  <[email protected]>
3337
3338	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
3339	due to problems with multidirectory images. Quality of error messages
3340	improved.
3341
33422003-04-16  Andrey Kiselev  <[email protected]>
3343
3344	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
3345	encoded images. See bug entries
3346
3347	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
3348
3349	and
3350
3351	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3352
3353	* libtiff/tif_dirread.c: Additional check for StripByteCounts
3354	correctness. Fixes
3355
3356	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3357
33582003-03-12  Andrey Kiselev  <[email protected]>
3359
3360	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
3361	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
3362	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
3363	tiffmedian.c}: Added library version reporting facility to all tools.
3364
33652003-03-06  Frank Warmerdam  <[email protected]>
3366
3367	* port/install.sh.in: Fixed problems with install producing paths
3368	like ///usr/local/lib on cygwin.
3369
33702003-02-27  Andrey Kiselev  <[email protected]>
3371
3372	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
3373	raw input page. Patch supplied by Julien Gaulmin. See
3374
3375	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
3376
3377	for details.
3378
33792003-02-26  Frank Warmerdam  <[email protected]>
3380
3381	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
3382	responsible for byte swapping complex image data.
3383
3384	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
3385	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
3386
33872003-02-07  Andrey Kiselev  <[email protected]>
3388
3389	* tools/ppm2tiff.c: Fixed problem with too many arguments.
3390
33912003-02-04  Andrey Kiselev  <[email protected]>
3392
3393	* tools/raw2tiff.c: Memory leak fixed.
3394
33952003-02-03  Andrey Kiselev  <[email protected]>
3396
3397	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
3398	(thanks, Julien!). More switches for fax2tiff tool for better control
3399	of input and output. Details at
3400
3401	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
3402
34032003-02-03  Frank Warmerdam  <[email protected]>
3404
3405	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
3406	library so that we can check if there is already any tile/strip data
3407	before deciding between creating a compressor or a decompressor.
3408
34092003-01-31  Frank Warmerdam  <[email protected]>
3410
3411	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
3412	a pre-existing compressed image.  That is, image writing to
3413	pre-existing compressed images is not allowed.
3414
3415	* libtiff/tif_open.c: Removed error if opening a compressed file
3416	in update mode.
3417
3418	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
3419
34202003-01-31  Andrey Kiselev  <[email protected]>
3421
3422	* config.guess, config.sub: Updated to recent upstream versions.
3423
34242003-01-15  Frank Warmerdam  <[email protected]>
3425
3426	* cut 3.6.0 Beta release.
3427
34282002-12-20  Andrey Kiselev  <[email protected]>
3429
3430	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
3431	in wrong way as per bug
3432
3433	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
3434
34352002-12-17  Frank Warmerdam  <[email protected]>
3436
3437	* libtiff/tif_dirread.c: Allow wrong sized arrays in
3438	TIFFFetchStripThing().
3439
3440	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
3441
34422002-12-02  Frank Warmerdam  <[email protected]>
3443
3444	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
3445	Was using realloc even first time.  Fix by Igor Venevtsev.
3446
34472002-11-30  Frank Warmerdam  <[email protected]>
3448
3449	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
3450	field value.
3451
3452	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
3453	tags in TIFFVGetField() ... added missing break.
3454
34552002-10-14  Frank Warmerdam  <[email protected]>
3456
3457	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
3458	the scanline buffer long enough when writing rgb triplets.
3459	The scanline needs to be 3 X the number of dots or else it will
3460	contain	an incomplete triplet and programs that try to separate
3461	the eps by redefining the colorimage operator will get messed up.
3462	Patch supplied by William Bader.
3463
3464	* Makefile.in: added tif_extension.c to file list as per
3465	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
3466
34672002-10-11  Andrey Kiselev  <[email protected]>
3468
3469	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
3470	large files (>2GiB) supporting. New option in the config.site:
3471	LARGEFILE="yes". Should be enough for I/O of the large files.
3472
34732002-10-10  Frank Warmerdam  <[email protected]>
3474
3475	* libtiff/html/v3.6.0.html: new release notes.
3476
3477	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
3478	link for Andrey.  Pointer to v3.6.0.html.
3479
3480	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
3481
34822002-10-07  Andrey Kiselev  <[email protected]>
3483	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
3484	(thanks, Sebastian!). New switches:
3485	-b # for a bottom margin of # inches
3486	-c   center image
3487	-l # for a left margin of # inches
3488	-r   rotate the image by 180 degrees
3489	New features merged with code for shrinking/overlapping.
3490	Previously added -c and -n switches (for overriding PS units) renamed
3491	in -x and -y respectively.
3492
3493	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
3494
3495	* html/man/*.html: Updated from actual manual pages.
3496
34972002-10-06  Frank Warmerdam  <[email protected]>
3498
3499	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
3500	size on windows.  Use #define boolean hack.
3501
3502	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
3503
3504	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
3505	USING_VISUALAGE is defined.
3506
3507	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3508
35092002-10-03  Frank Warmerdam  <[email protected]>
3510
3511	* libtiff/tiff.h: added COMPRESSION_JP2000.
3512
35132002-10-02  Andrey Kiselev  <[email protected]>
3514
3515	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
3516	by the TIFFFetchByteArray() function. Should finally resolve
3517
3518	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3519
3520	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
3521
3522	* html/Makefile.in: New targets added: html and groffhtml for
3523	producing HTML representations of the manual pages automatically.
3524	html target uses man2html tool, groffhtml uses groff tool.
3525
35262002-09-29  Frank Warmerdam  <[email protected]>
3527
3528	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
3529	from John H. DuBois III.
3530
35312002-09-15  Andrey Kiselev  <[email protected]>
3532
3533	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
3534	manual page for raw2tiff(1) tool.
3535
35362002-09-12  Andrey Kiselev  <[email protected]>
3537
3538	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
3539	the tiffio.h header file.
3540
3541	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
3542	manual page for TIFFDataWidth() function
3543
35442002-09-08  Frank Warmerdam  <[email protected]>
3545
3546	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
3547	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
3548
3549	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
3550	since we are unable to properly include the amount to skip.
3551
3552	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
3553
35542002-09-02  Andrey Kiselev  <[email protected]>
3555
3556	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
3557	in TIFFFetchByteArray(). Problem described at
3558	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3559
35602002-08-22  Andrey Kiselev  <[email protected]>
3561
3562	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
3563	in _TIFFSetupFieldInfo() function.
3564	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
3565
3566	* /libtiff/tif_lzw.c: Additional consistency checking added in
3567	LZWDecode() and LZWDecodeCompat().
3568	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
3569	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3570
3571	* /libtiff/tif_lzw.c:
3572	Added check for valid code lengths in LZWDecode() and
3573	LZWDecodeCompat(). Fixes
3574	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
3575
35762002-08-16  Andrey Kiselev  <[email protected]>
3577
3578	* /libtiff/{Makefile.vc, libtiff.def}:
3579	Missed declarations added.
3580
35812002-08-15  Frank Warmerdam  <[email protected]>
3582
3583	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
3584	return code from the underlying pick function.
3585
3586	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
3587
3588	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
3589	with FIELD_CUSTOM as mentioned in bug 169.
3590
3591	* tif_close.c: added logic to free dynamically created anonymous
3592	field definitions to correct a small memory leak.
3593
3594	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
3595
35962002-08-10  Andrey Kiselev  <[email protected]>
3597
3598	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
3599	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
3600
36012002-07-31  Frank Warmerdam  <[email protected]>
3602
3603	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
3604	JPEGDecode() as per bugzilla bug (issue 1):
3605
3606	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3607
3608	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
3609	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
3610	present in the tiff tags.
3611
3612	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
3613
3614	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
3615	TIFFWriteScanline() now set tif_row explicitly in case the codec has
3616	fooled with the value.
3617
3618	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3619
36202002-06-22  Andrey Kiselev  <[email protected]>
3621
3622	* /tools/tiff2ps.c: Added workaround for some software that may crash
3623	when last strip of image contains fewer number of scanlines than
3624	specified by the `/Height' variable. See
3625	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
3626	for explanation.
3627
36282002-06-21  Andrey Kiselev  <[email protected]>
3629
3630	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
3631	splitting long images in several pages. See
3632	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
3633	Patch granted by John Williams <[email protected]>.
3634
36352002-06-11  Frank Warmerdam  <[email protected]>
3636
3637	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
3638	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
3639	This one is described in:
3640
3641	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
3642
3643	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
3644
3645	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
3646
36472002-05-10  Andrey Kiselev  <[email protected]>
3648
3649	* tools/tiff2ps: New commandline switches to override resolution
3650	units obtained from the input file. Closes
3651	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
3652
36532002-04-26  Andrey Kiselev  <[email protected]>
3654
3655	* libtiff/libtiff.def: Added missed declaration.
3656
36572002-04-22  Andrey Kiselev  <[email protected]>
3658
3659	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
3660	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
3661
36622002-04-20  Andrey Kiselev  <[email protected]>
3663
3664	* libtiff/tif_open.c: Pointers to custom procedures
3665	in TIFFClientOpen() are checked to be not NULL-pointers.
3666
36672002-04-18  Andrey Kiselev  <[email protected]>
3668
3669	* libtiff/libtiff.def: Added missed declarations.
3670
3671	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
3672
36732002-04-16  Andrey Kiselev  <[email protected]>
3674
3675	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
3676	Should finally close
3677	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3678
36792002-04-10  Andrey Kiselev  <[email protected]>
3680
3681	* tools/tiff2ps: Division by zero fixed.
3682	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
3683
36842002-04-09  Andrey Kiselev  <[email protected]>
3685
3686	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
3687	TIFFCheckpointDirectory() routine added.
3688	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
3689
3690	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
3691	for the new function.
3692
36932002-04-08  Andrey Kiselev  <[email protected]>
3694
3695	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
3696	additional members tif->tif_decodestatus and tif->tif_encodestatus
3697	for correct handling of unconfigured codecs (we should not try to read
3698	data or to define data size without correct codecs).
3699
3700	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
3701	changed. Now it has used tif->tif_decodestatus and
3702	tif->tif_encodestatus.
3703	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
3704	case of __cvs_8.tif test image).
3705
3706	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
3707	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
3708	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
3709	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
3710
37112002-04-04  Andrey Kiselev  <[email protected]>
3712
3713	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
3714	replaced by warnings. Now libtiff should read corrupted LZW-compressed
3715	files by skipping bad strips.
3716	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3717
37182002-04-03  Frank Warmerdam  <[email protected]>
3719
3720	* libtiff/tif_dirwrite.c: Removed some dead code.
3721
3722	* libtiff/*: Cleanup some warnings.
3723
3724	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
3725	for variable length FIELD_CUSTOM values.  Was int * but should be
3726	u_short *.
3727
37282002-04-01  Andrey Kiselev  <[email protected]>
3729
3730	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
3731	utility (at cpStripToTile routine).
3732
37332002-03-27  Frank Warmerdam  <[email protected]>
3734
3735	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
3736
3737	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
3738
3739	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
3740	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
3741
3742	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
3743	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
3744
37452002-03-26  Dwight Kelly  <[email protected]>
3746
3747	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
3748	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
3749	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
3750	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
3751	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
3752	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
3753
37542002-03-26  Andrey Kiselev  <[email protected]>
3755
3756	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
3757	now also uses TIFFRGBAImageOK before reading. This is additional fix
3758	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
3759
37602002-03-25  Andrey Kiselev  <[email protected]>
3761
3762	* libtiff/: tif_getimage.c: Additional check for supported
3763	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
3764	TIFFRGBAImageOK before reading.
3765	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
3766
37672002-03-15  Andrey Kiselev  <[email protected]>
3768
3769	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
3770	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
3771	TIFFDataType sizes instead of working with tiffDataWidth array
3772	directly. Should prevent out-of-borders bugs in case of unknown or
3773	broken data types.  EstimateStripByteCounts routine modified, so it
3774	won't work when tags with uknown sizes founded.
3775	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
3776
37772002-03-13  Andrey Kiselev  <[email protected]>
3778
3779	* libtiff/tif_getimage.c: Added support for correct handling
3780	`Orientation' tag in gtTileContig. Should be added in other gt*
3781	functions as well, but I have not images for testing yet. Partially
3782	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3783
37842002-03-10  Andrey Kiselev  <[email protected]>
3785
3786	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
3787	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
3788	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
3789	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
3790
37912002-03-08  Andrey Kiselev  <[email protected]>
3792
3793	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
3794	be stripped when installing, utility binaries will do.	Closes
3795	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
3796
37972002-02-28  Frank Warmerdam  <[email protected]>
3798
3799	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
3800
3801	* man/libtiff.3t: added copyright tag info.
3802
38032002-02-11  Frank Warmerdam  <[email protected]>
3804
3805	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
3806
3807	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
3808
3809	* man/Makefile.in: Patch DESTDIR handling
3810
3811	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
3812
3813	* configure: OpenBSD changes for Sparc64 and DSO version.
3814
3815	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
3816
38172002-02-05  Frank Warmerdam  <[email protected]>
3818
3819	* config.site/configure: added support for OJPEG=yes option to enable
3820	OJPEG support from config.site.
3821
38222002-01-27  Frank Warmerdam  <[email protected]>
3823
3824	* html/document.html: fixed links for TIFf 6 docs.
3825
38262002-01-18  Frank Warmerdam  <[email protected]>
3827
3828	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
3829
3830	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
3831	decodestrip function returns anything not greater than zero as per
3832	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
3833
3834	* configure: Modify CheckForBigEndian so it can work in a cross
3835	compiled situation.
3836
38372002-01-16  Frank Warmerdam  <[email protected]>
3838
3839	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
3840
3841	* tools/tiffset.c: fix bug in error reporting.
3842
3843	* tools/tiffcp.c: fix several warnings that show up with -Wall.
3844
38452002-01-04  Frank Warmerdam  <[email protected]>
3846
3847	* libtiff/tif_jpeg.c: fixed computation of segment_width for
3848	tiles files to avoid error about it not matching the
3849	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
3850	size.") for ITIFF files.  Apparently the problem was incorporated since
3851	3.5.5, presumably during the OJPEG/JPEG work recently.
3852
38532001-12-15  Frank Warmerdam  <[email protected]>
3854
3855	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
3856
3857	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
3858
3859	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
3860	(defined in tiffconf.h - 1 by default) then the RGBA interface
3861	will assume that a fourth extra sample is ASSOCALPHA if the
3862	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
3863	the library, but makes it work better with RGBA files produced by
3864	lots of applications that don't mark the alpha values properly.
3865
3866	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
3867	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
3868
38692001-12-12  Frank Warmerdam  <[email protected]>
3870
3871	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
3872	override those from tiff directory.  This makes this work with
3873	ImageGear generated files.
3874
38752001-12-07  Frank Warmerdam  <[email protected]>
3876
3877	* html/Makefile.in: added missing images per bug 92.
3878
3879	* port/Makefile.in: fixed clean target per bug 92.
3880
38812001-11-28  Frank Warmerdam  <[email protected]>
3882
3883	* Reissue 3.5.7 release.
3884
3885	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
3886	YYYYMMDD so that it is increasing over time.
3887
3888	* Makefile.in: Ensure that tiffvers.h is regenerated in the
3889	make release target.
3890
3891	* Makefile.in: added libtiff/tiffvers.h to the release file list.
3892
38932001-11-23  Frank Warmerdam  <[email protected]>
3894
3895	* added html/v3.5.7.html, updated html/index.html.
3896
3897	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
3898
38992001-11-15  Frank Warmerdam  <[email protected]>
3900
3901	* configure: fixed test for -lm.
3902
39032001-11-02  Frank Warmerdam  <[email protected]>
3904
3905	* Added PHOTOMETRIC_ITULAB as per bug 90.
3906
3907	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
3908
39092001-10-10  Frank Warmerdam  <[email protected]>
3910
3911	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
3912	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
3913	in keeping with TIFF 6.0 standard in tiff.h
3914
3915	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
3916
39172001-09-26  Frank Warmerdam  <[email protected]>
3918
3919	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
3920	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
3921
39222001-09-24  Frank Warmerdam  <[email protected]>
3923
3924	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
3925
3926	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
3927
3928	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
3929	error about LZW not being available.
3930
3931	* libtiff/tif_dir.c: propagate failure to initialize compression
3932	back from TIFFSetField() as an error status, so applications can
3933	detect failure.
3934
3935	* libtiff/tif_dir.c: removed the auto replacement of
3936	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
3937
3938	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
3939	from CVS as they are all supposed to be auto-generated by configure.
3940
39412001-09-22  Frank Warmerdam  <[email protected]>
3942
3943	* libtiff/tif_ojpeg.c: new update from Scott.
3944
39452001-09-09  Frank Warmerdam  <[email protected]>
3946
3947	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
3948	always use the "safe" version, even if there is a very slight
3949	cost in performance.
3950
3951	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
3952
3953	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
3954	in two places.
3955
3956	* libtiff/tif_getimage.c: Fixed problem with reading strips or
3957	tiles that don't start on a tile boundary.  Fix contributed by
3958	Josep Vallverdu (from HP), and further described in bug 47.
3959
3960	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
3961
3962	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
3963
3964	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
3965
39662001-09-06  Frank Warmerdam  <[email protected]>
3967
3968	* libtiff/tif_packbits.c: fixed memory overrun error.
3969
3970	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
3971
39722001-08-31  Frank Warmerdam  <[email protected]>
3973
3974	* libtiff/tif_getimage.c: relax handling of contig case where
3975	there are extra samples that are supposed to be ignored.  This
3976	should now work for 8bit greyscale or palletted images.
3977
3978	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
3979
39802001-08-28  Frank Warmerdam  <[email protected]>
3981
3982	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
3983	images with more than four samples per pixel.  See:
3984
3985	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
3986
39872001-08-10  Frank Warmerdam  <[email protected]>
3988
3989	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
3990	in TIFFReadRGBATile() to avoid issues in cases of overlapping
3991	buffers.  See Bug 69 in Bugzilla.
3992
3993	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
3994
3995	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
3996
39972001-08-09  Frank Warmerdam  <[email protected]>
3998
3999	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
4000	when checking for 64 bit architectures as per bugzilla bug 67.
4001
40022001-07-27  Frank Warmerdam  <[email protected]>
4003
4004	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
4005	bug 66.
4006
40072001-07-20  Frank Warmerdam  <[email protected]>
4008
4009	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
4010	has been included.
4011
40122001-07-19  Frank Warmerdam  <[email protected]>
4013
4014	* libtiff/tif_open.c: Seek back to zero after failed read,
4015	before writing header.
4016
40172001-07-18  Frank Warmerdam  <[email protected]>
4018
4019	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
4020	much better.  Now depends on having patched libjpeg as per
4021	patch in contrib/ojpeg/*.
4022
40232001-07-17  Frank Warmerdam  <[email protected]>
4024
4025	* */Makefile.in: added DESTDIR support.
4026
4027	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
4028
40292001-07-16  Frank Warmerdam  <[email protected]>
4030
4031	* configure, libtiff/Makefile.in: applied OpenBSD patches
4032	as per:
4033
4034	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
4035
40362001-06-28  Frank Warmerdam  <[email protected]>
4037
4038	* libtiff/tif_getimage.c: Fixed so that failure is properly
4039	reported by gtTileContig, gtStripContig, gtTileSeparate and
4040	gtStripSeparate.
4041
4042	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
4043
4044	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
4045	Updated bug section of tiffcmp.1 to note tiled file issues.
4046
4047	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
4048
40492001-06-22  Frank Warmerdam  <[email protected]>
4050
4051	* configure: Changes for DSO generation on AIX provided by
4052	John Marquart <[email protected]>.
4053
4054	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
4055	on Darwin thanks to Robert Krajewski ([email protected]) and
4056	Keisuke Fujii ([email protected]).
4057
40582001-06-13  Frank Warmerdam  <[email protected]>
4059
4060	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
4061
4062	* man/tiff2rgba.1: new
4063
40642001-05-22  Frank Warmerdam  <[email protected]>
4065
4066	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
4067
40682001-05-13  Frank Warmerdam  <[email protected]>
4069
4070	* libtiff/tools/thumbnail.c: changed default output compression
4071	to packbits from LZW since LZW isn't generally available.
4072
40732001-05-12  Frank Warmerdam  <[email protected]>
4074
4075	* libtiff/tif_ojpeg.c: New.
4076	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
4077	to OJPEG support.
4078
4079	Scott Marovich <[email protected]> supplied OJPEG support.
4080
40812001-05-11  Frank Warmerdam  <[email protected]>
4082
4083	* tiff.h: removed, it duplicates libtiff/tiff.h.
4084
40852001-05-08  Frank Warmerdam  <[email protected]>
4086
4087	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
4088	ensure everything is in order.
4089
4090	* libtiff/libtiff.def: added TIFFCreateDirectory and
4091	TIFFDefaultStripSize as per:
4092
4093	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
4094
40952001-05-02  Frank Warmerdam  <[email protected]>
4096
4097	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
4098	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
4099	force use of uint32 counts instead of short counts.
4100
4101	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
4102	case of writing TIFF_BYTE/TIFF_SBYTE fields.
4103
4104	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
4105
41062001-05-01  Frank Warmerdam  <[email protected]>
4107
4108	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
4109	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
4110
41112001-04-05  Frank Warmerdam  <[email protected]>
4112
4113	* tiffio.h: removed C++ style comment.
4114
4115	* configure: fixed up SCRIPT_SH/SHELL handling.
4116
4117	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
4118
4119	* config.guess: documented more variables as per bug 40.
4120
41212001-04-03  Frank Warmerdam  <[email protected]>
4122
4123	* configure, *Makefile.in: Various changes to improve configuration
4124	for HP/UX specifically, and also in general.  They include:
4125	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
4126	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
4127	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
4128	 - Use -${MAKEFLAGS} in sub makes from makefiles.
4129
4130	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
4131
41322001-04-02  Frank Warmerdam  <[email protected]>
4133
4134	* libtiff/tiff.h: Applied hac to try and resolve the problem
4135	with the inttypes.h include file on AIX.
4136
4137	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4138
4139	* VERSION: update to 3.5.7 beta in preparation for release.
4140
4141	* configure/config.site: modified to check if -lm is needed for
4142	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
4143
4144	* config.guess: updated wholesale to an FSF version apparently
4145	from 1998 (as opposed to 1994).  This is mainly inspired by
4146	providing for MacOS X support.
4147
41482001-03-29  Frank Warmerdam  <[email protected]>
4149
4150	* configure, Makefile.in, etc: added support for OPTIMIZER being
4151	set from config.site.
4152
41532001-03-28  Frank Warmerdam  <[email protected]>
4154
4155	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
4156
4157	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
4158	sizes. It fixes two problems:
4159
4160	Without	scaling (-S) the fax is now centered on the page size specified
4161	with -H	and/or -W. Before, fax2ps was using an obscure and practially
4162	useless algorithm to allocate the image relative to Letter sized paper
4163	which sometime sled to useless whitespace on the paper, while at the
4164	same time cutting of the faxes printable area at the opposite border.
4165
4166	Second, scaling now preserves aspect ratio, which makes unusual faxes
4167	(in particular short ones) print properly.
4168
4169	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
4170
4171	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
4172	Bruce A. Mallett.  See check message for detailed information
4173	on all the changes, including a faster encoder, fixes for level
4174	2 PostScript, and support for the imagemask operator.
4175
41762001-03-27  Frank Warmerdam  <[email protected]>
4177
4178	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
4179	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
4180
4181	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4182
41832001-03-16  Frank Warmerdam  <[email protected]>
4184
4185	* tif_dirinfo.c: moved definition of copyright tag in field list.
4186	Apparently they have to be in sorted order by tag id.
4187
41882001-03-13  Frank Warmerdam  <[email protected]>
4189
4190	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
4191	images in RGBA interface.
4192
41932001-03-02  Frank Warmerdam  <[email protected]>
4194
4195	* Added TIFFTAG_COPYRIGHT support.
4196
41972001-02-19  Frank Warmerdam  <[email protected]>
4198
4199	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
4200	with support for extracting subimages with the ,n syntax, and also
4201	adding the -b bias removal flag.
4202
42032001-02-16  Frank Warmerdam  <[email protected]>
4204
4205	* libtiff/libtiff.def: Brent Roman submitted new version adding
4206	serveral missing entry points.
4207
4208	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
4209	Some sort of weird VMS thing.
4210
4211	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
4212
4213	* tif_luv.c/tiff.h/tiffio.h:
4214	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
4215	([email protected]).  He writes:
4216
4217	1) I improved the gamut-mapping function in tif_luv.c for imaginary
4218	colors, because some images were being super-saturated on the input
4219	side and this resulted in some strange color shifts in the output.
4220
4221	2) I added a psuedotag in tiff.h to control random dithering during
4222	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
4223	on for 24-bit LogLuv output.  Dithering improves the average color
4224	accuracy over the image.
4225
4226	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
4227	tiffio.h, to expose internal routines for converting between LogLuv and
4228	XYZ coordinates.  This is helpful for writing more efficient,
4229	specialized conversion routines, especially for reading LogLuv files.
4230
4231	Changes applied with minor edits.
4232
42332001-01-23  Frank Warmerdam  <[email protected]>
4234
4235	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
4236	whether we are encoding or decoding.  This is to ensure graceful
4237	recovery if TIFFClientOpen() discovers an attempt to open a compressed
4238	file for "r+" access, and subsequently close it, as it resets the
4239	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
4240	compressor's concept of whether it is in encode or decode mode.
4241
42422001-01-08  Mike Welles <[email protected]>
4243
4244	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
4245
42462001-01-07  Frank Warmerdam  <[email protected]>
4247
4248	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
4249	as per bug report by Patrick Connor.
4250
42512000-12-28  Frank Warmerdam  <[email protected]>
4252
4253	* Added RELEASE-DATE file to release file list.
4254
4255	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
4256
42572000-12-22  Mike Welles <[email protected]>
4258        * added link to CVS mirror from index.html
4259
4260	* updated html/internals.html to note that LZW compression is
4261	  not supported by default.
4262
42632000-12-22  Frank Warmerdam  <[email protected]>
4264
4265	* updated html/libtiff.html to not point at Niles' old JPL web site
4266	for the man pages, point at www.libtiff.org.
4267
42682000-12-21  Frank Warmerdam  <[email protected]>
4269
4270	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
4271	Leonard Rosenthol <[email protected]>.  May interfere
4272	with correct building on older systems.  If so, please let me know.
4273
42742000-12-19 Mike Welles <[email protected]>
4275
4276	* Took out LZW Encoding from tif_lzw.c
4277
4278	* Created HOWTO-RELEASE
4279
4280	* Created html/v3.5.6.html
4281
4282	* updated index.html
4283
42842000-12-01  Frank Warmerdam  <[email protected]>
4285
4286	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
4287	Patches supplied by Frank Cringle <[email protected]>
4288	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
4289
42902000-11-24  Frank Warmerdam  <[email protected]>
4291
4292	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
4293	target so that the private headers required by libgeotiff can be
4294	installed with the others.  They are not installed by default.
4295
4296	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
4297	targets so libtiff.so will be built with an explicit dependency
4298	on libm.so.
4299
4300	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
4301	libtiff.so.3.5.5.
4302
4303	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
4304	file, or ALPHA version logic.  Added stuff about DIST_POINT in
4305	place of DIST_TYPE and the alpha release number stuff.
4306
43072000-11-22  Frank Warmerdam  <[email protected]>
4308
4309	* I have applied a patch from Steffen Moeller <[email protected]> to
4310	the configure script so that it now accepts the --prefix, and
4311	--exec-prefix directives.
4312
43132000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
4314
4315	* I have made a variety of modifications in an effort to ensure the
4316	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
4317	file which seems to be updated regularly.
4318
4319	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
4320	   version include file.
4321	 o renamed version.h to tiffvers.h because we now have to install it
4322	   with the public libtiff include files.
4323	 o include tiffvers.h in tiffio.h.
4324	 o updated tif_version.c to use tiffvers.h.
4325	 o Updated Makefile.in accordingly.
4326
4327	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
4328	I have updated the win32 detection rules in tiffcomp.h.
4329
43302000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
4331
4332	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
4333	the strip/tile width and height aren't multiples of the sampling size.
4334	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
4335	Some patches from Rick LaMont of Dot C Software.
4336
4337	* Modified tif_packbits.c encoder to avoid compressing more
4338	data than provided if rowsize doesn't factor into provided data
4339	(such as occurs for YCbCr).
4340
43412000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
4342
4343	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
4344	roundup if rows_per_strip not a multiple of vertical sample size.
4345
43462000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
4347
4348	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
4349	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4350	from [email protected].
4351
4352	* Modified tif_packbits.c decoding to avoid overrunning the
4353	output buffer, and to issue a warning if data needs to be
4354	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4355
43562000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
4357
4358	* Modified tiff2bw to ensure portions add to 100%, and that
4359	white is properly recovered.
4360
4361	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
4362	Patch c/o Stanislav Brabec <[email protected]>
4363
43642000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
4365
4366	* Modified TIFFClientOpen() to emit an error on an attempt to
4367	open a comperessed file for update (O_RDWR/r+) access.  This is
4368	because the compressor/decompressor code gets very confused when
4369	the mode is O_RDWR, assuming this means writing only.  See
4370	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
4371
43722000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
4373
4374	* Added GNULDdso target an`d switched linux and freebsd to use it.
4375
43762000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
4377
4378	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
4379	of EXPAND1D() as per bug 11 (from Roman).
4380
43812000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
4382	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
4383	cygwin compatibility.
4384
4385	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
4386	be a proper fix to the buffer sizing problem.  See
4387	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
4388
4389	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
4390	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
4391	Thanks to Nick Lamb <[email protected]> for reporting the
4392	bug and proving the patch.
4393
43942000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
4395
4396	* Fixed tif_jpeg.c so avoid destroying the decompressor before
4397	we are done access data thanks to bug report from:
4398	Michael Eckstein <[email protected]>.
4399
4400	* Reverted tif_flush change.
4401
44022000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
4403
4404	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
4405	error when TIFF_BEENWRITING is not set.  This ensures that the
4406	directory contents can still be flushed by TIFFFlush().
4407
44082000-08-14  Frank Warmerdam  <[email protected]>
4409
4410	* tif_open.c: Don't set MMAP for O_RDWR files.
4411
4412	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
4413	so that files opened for update can be strip chopped too.
4414
4415	* tif_read.c: fixed up bug with files missing rowsperstrip and
4416	the strips per separation fix done a few weeks ago.
4417
44182000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
4419
4420	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
4421	SAMPLEFORMAT_COMPLEXINT.
4422
44232000-07-13  Mike Welles <[email protected]>
4424
4425	* index.html, bugs.html: added bugzilla info.
4426
44272000-07-12  Frank Warmerdam  <[email protected]>
4428
4429	* tif_read.c: fix subtle bug with determining the number of
4430	rows for strips that are the last strip in a separation but
4431	not the last strip of all in TIFFReadEncodedStrip().
4432
4433	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
4434	Peter Skarpetis <[email protected]>
4435
44362000-06-15  Frank Warmerdam  <[email protected]>
4437
4438	* Modified tiffio.h logic with regard to including windows.h.  It
4439	won't include it when building with __CYGWIN__.
4440
44412000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
4442
4443	* README: update to mention www.libtiff.org, don't list Sam's old
4444	email address.
4445
4446	* configure: Fixed DSO test for Linux as per patch from
4447	  Jan Van Buggenhout <[email protected]>.
4448
44492000-04-21  Frank Warmerdam  <[email protected]>
4450
4451	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
4452	one tile/strip images with an offset, and byte count of zero. These
4453	could be "unpopulated" images.
4454
44552000-04-18  Frank Warmerdam  <[email protected]>
4456
4457	* contrib/addtiffo: Added "averaging" resampling option.
4458
4459	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
4460
4461Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
4462
4463	* tools/Makefile.in: Modified to install properly on SGI.
4464
44652000-04-12  Mike Welles	     <[email protected]>
4466	* configure:  Fixed stupid mistake in libc6 test on Linux
4467
44682000-04-04  Mike Welles	     <[email protected]>
4469	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
4470	  caught by BoundsChecker.  From Arvan Pritchard
4471	  <[email protected]>  (untested).
4472
4473	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
4474	  Arvan Pritchard <[email protected]>
4475
4476	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
4477	  Arvan Pritchard <[email protected]>
4478
44792000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
4480
4481	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
4482
44832000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
4484
4485	* fax2ps: Fixed mixup of width and height in bounding box statement
4486	as per submission by Nalin Dahyabhai <[email protected]>.
4487
44882000-03-27  Mike Welles	     <[email protected]>
4489
4490	* fax2ps:  Modified printruns to take uint32 instead of uint16.
4491	Patch courtesy of Bernt Herd <[email protected]>
4492
44932000-03-20  Mike Welles	     <[email protected]>
4494
4495	* configure: added test for libc6 for linux targets.  Bug reported by
4496        Stanislav Brabec <[email protected]>
4497
4498	* Added 3.5 docs to html/Makefile.in.
4499	Thanks to  Stanislav Brabec <[email protected]>
4500
4501	* configure: fixed bugs in sed scripts
4502	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
4503	fix submitted to Stanislav Brabec <[email protected]>
4504
4505	* tools/iptcutil was not in files list, and wasn't being
4506	added to tar archive.  Updated Makefile.in.
4507
45082000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
4509
4510	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
4511	conversion for the run arrays.
4512
45132000-03-03  Frank Warmerdam  <[email protected]>
4514
4515	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
4516	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
4517
45182000-03-02  Frank Warmerdam  <[email protected]>
4519
4520	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
4521
4522	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
4523	to avoid overruns encountered with frle_bug.tif.
4524
4525Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
4526
4527	* Fixed tools/tiffcmp so that stopondiff testing works.
4528	  Patch care of Joseph Orost <[email protected]>.
4529
45302000-01-28    <warmerda@CS46980-B>
4531
4532	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
4533	  set to 1, and added default (off) setting in tiffconf.h.  This
4534	  should eventually be set by the configure script somehow.
4535
4536	  The original work on all these 2-4GB changes was done by
4537	  Peter Smith ([email protected]).
4538
4539	* Modified tif_win32.c to support 2-4GB seeks.
4540
4541	* tentatively changed toff_t to be unsigned instead of signed to
4542	  facilitate support for 2-4GB files.
4543
4544	* Updated a variety of files to use toff_t.  Fixed some mixups
4545	  between toff_t and tsize_t.
4546
4547Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
4548
4549	* Largely reimplemented contrib/addtiffo to avoid temp files,
4550	updating the TIFF file in place.  Fixed a few other bugs to.
4551
4552	* Set tif_rawdatasize to zero when freeing raw data buffer in
4553	TIFFWriteDirectory().
4554
4555	* Enabled "REWRITE_HACK" in tif_write.c by default.
4556
4557	* Fix bug in tif_write.c when switching between reading one directory
4558	and writing to another.
4559
4560	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
4561
4562Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
4563
4564	* Added TIFFmemory(3t) functions to libtiff.def.
4565
4566Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
4567
4568	* Added libtiff/libtiff.def to TIFFILES distribution list.
4569
4570Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
4571
4572	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
4573
4574	* Altered descriptions in tools to reflect "by default" lzw not supported
4575
4576	* Updated index.html to note lzw compression kit.
4577
4578Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
4579
4580	* Added fax3sm_winnt.c to distribution list in Makefile.in.
4581
4582Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
4583
4584	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
4585
4586	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
4587	  when LZW compression invoked.
4588
4589	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
4590	  in tools to reflect removal of LZW compression
4591
4592Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
4593
4594        * Fixed bug that caused LZW (non) compression to segfault. Added
4595	  warning about LZW compression removed being removed, and why.
4596
4597	* Added nostrip to install in tools/Makefile.in so that debugging
4598	  symbols are kept.
4599
4600Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
4601
4602	* Added patch from Ivo Penzar <[email protected]>,
4603	  supporting Adobe ZIP deflate.  Untested.
4604
4605Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
4606
4607	* Made Packbits the default compression in tools/tiff2rgba.c instead
4608	of LZW.
4609
4610Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
4611
4612	* Added tif_luv to contrib/djgpp/Makefile.lib.
4613
4614Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
4615
4616        * Added zip creation to relase makefile target
4617
4618	* Added html for TIFFWriteTile.3t man page.
4619
4620Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
4621
4622	* Added some changes to tif_write.c to support rewriting existing
4623	fixed sized tiles and strips.  Code mods disabled by default, only
4624	enabled if REWRITE_HACK is defined for now.
4625
4626Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
4627
4628	* Added TIFFWriteTile.3t man page.
4629
4630Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
4631
4632	* Added notes on use of makefile.vc in build.html, and fixed
4633	email subscription address.
4634
4635199-11-28  Mike Welles <[email protected]>
4636
4637	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
4638
4639	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
4640	   from Bruce Carmeron <[email protected]> -- modifications of
4641	   changes made by Frank (sun cc still complained on cast).
4642
4643	*  Added tiffconf.h to install target per request from Bill
4644	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
4645 	   know features have been compiled into the TIFF library in order to
4646	   handle things properly".
4647
4648Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
4649
4650	* fixed various VC++ warnings as suggested by Gilles Vollant
4651	<[email protected]>.
4652
4653Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
4654
4655	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
4656	not imply applications are responsible for image data swapping.
4657
46581999-11-22  Mike Welles <[email protected]>
4659	*  HTML-ized the man pages, added to html/man
4660
4661	*  Removed LZW Compression to comply with Unisys patent extortion.
4662
46631999-09-29  Mike Welles		<[email protected]>
4664	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
4665	   From Ivo Penzar <[email protected].
4666
4667	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
4668	   memory mapped files. <[email protected]>
4669
46701999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
4671	* Corrected alpha versioning.
4672
4673	* Removed distinction between  alpha and release targets in Makefile.in.
4674
4675	* added release.stamp target, which tags cvs tree, and updates
4676	  "RELEASE-DATE"
4677
4678	* added releasediff target, which diffs tree with source as of
4679	  date in "RELEASE-DATE"
4680
4681	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
4682	  away from alpha/non-alpha distinctions).
4683
4684	* updated html to reflect release
4685
46861999-09-23    <warmerda@CS46980-B>
4687
4688	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
4689
4690	* Added CYGWIN case in configure.
4691
4692Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
4693
4694	* Applied Francois Dagand's patch to handle fax decompression bug.
4695	  (sizes >= 65536 were failing)
4696
4697Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
4698
4699	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
4700	  by Christopher Lawton <[email protected]>
4701
4702Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
4703
4704	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
4705	  Albert Chin-A-Young <[email protected]>
4706
4707	* Added TIFFReassignTagToIgnore() API on behalf of
4708	  Bruce Cameron <[email protected]>.  Man page still pending.
4709
4710Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
4711
4712	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
4713	files to provide for a rudimentary testsuite.
4714
4715	* Added contrib/tags back from old distribution ... fixed up a bit.
4716
47171999-08-16    <warmerda@CS46980-B>
4718
4719	* Added simple makefile.vc makefiles for building with MS VC++
4720	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
4721	better solutions for some users.
4722
4723Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
4724
4725	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
4726	put it in tools since part of it is in C++.
4727
47281999-08-16  Michael L. Welles  <[email protected]>
4729
4730	* Updated html/index.html with anon CVS instructions.
4731
4732Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
4733
4734	* pre-remove so link before softlink in LINUXdso action in
4735	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
4736	the first.
4737
4738	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
4739	colormaps owned by the TIFF handle itself when trying to fixup wrong
4740	(eight bit) colormaps.  Corrected by maintaining a private copy of
4741	the colormap.
4742
4743	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
4744	tif_getimage.c.
4745
4746	* CVS Repository placed at remotesensing.org.  ChangeLog added.
4747