xref: /libtiff-4.0.7/ChangeLog (revision f4da7ed5)
12009-06-30  Frank Warmerdam  <[email protected]>
2
3	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
4
5	* tools/tiffcp.c: add -c sgilog support.
6
7	* libtiff/tif_luv.c: correct return codes from encoderow to be
8	1 on success instead of zero.
9	http://bugzilla.maptools.org/show_bug.cgi?id=2069
10
11	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
12	#1085 for a better underflow fix that errors properly.
13	http://bugzilla.maptools.org/show_bug.cgi?id=2065
14	http://bugzilla.maptools.org/show_bug.cgi?id=1985
15
162009-06-26  Frank Warmerdam  <[email protected]>
17
18	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
19	fails on oddly sized 12bit jpeg compressed ycbcr images.
20
212009-06-22  Frank Warmerdam  <[email protected]>
22
23	* libtiff/tif_lzw.c: Fix buffer underflow bug.
24	http://bugzilla.maptools.org/show_bug.cgi?id=2065
25
262009-06-21  Frank Warmerdam  <[email protected]>
27
28	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
29	for dual mode 8/12 bit jpeg support.
30
312009-06-03  Frank Warmerdam  <[email protected]>
32
33	* libtiff/tif_write.c: do not override the planar configuration to be
34	contig for one sample files if planar configuration is already set.
35	http://bugzilla.maptools.org/show_bug.cgi?id=2057
36
372009-06-02  Frank Warmerdam  <[email protected]>
38
39	* libtiff/libtiff.def: Add TIFFUnsetField.
40
412009-05-03  Frank Warmerdam  <[email protected]>
42
43	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
44	error reports to use "%s" as format string.
45	http://trac.osgeo.org/gdal/ticket/2976
46
472009-03-12  Frank Warmerdam  <[email protected]>
48
49	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
50	for some codecs (#2020).
51
522009-02-12  Frank Warmerdam  <[email protected]>
53
54	* libtiff/tif_luv.c: Fix handling of tiled logluv images.
55	http://bugzilla.maptools.org/show_bug.cgi?id=2005
56
572009-02-09  Frank Warmerdam  <[email protected]>
58
59	* libtiff/tif_dirread.c: Improve allocation safety when allocated
60	buffer for large tags.  (#1998)  Related to (#1993)
61
622009-02-06  Frank Warmerdam  <[email protected]>
63
64	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
65	test suite should pass.
66
672009-02-05  Frank Warmerdam  <[email protected]>
68
69	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
70	but at the 2GB boundary to avoid overflow on 32bit systems.
71	http://bugzilla.maptools.org/show_bug.cgi?id=1993
72
73	* libtiff/tif_dirread.c: Remove some assertions that blow due to
74	corrupt files rather than in response to library internal
75	inconsistencies.
76	http://bugzilla.maptools.org/show_bug.cgi?id=1995
77	http://bugzilla.maptools.org/show_bug.cgi?id=1991
78
79	* libtiff/tif_dirread.c: Fixed testing for failed result from
80	TIFFReadDirectoryFindFieldInfo().
81	http://bugzilla.maptools.org/show_bug.cgi?id=1992
82
832009-01-23  Frank Warmerdam  <[email protected]>
84
85	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
86	http://bugzilla.maptools.org/show_bug.cgi?id=1911
87
88	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
89
90	http://bugzilla.maptools.org/show_bug.cgi?id=1924
91
92	* tools/tiffcrop.c: initialize xres/yres values.
93
94	* test/*.sh - default ${srcdir} to local directory.
95
96	* test/common.sh - start verbose mode after common settings.
97
98	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
99	avoid type mismatches on different platforms.
100	http://bugzilla.maptools.org/show_bug.cgi?id=1889
101
1022009-01-22  Frank Warmerdam  <[email protected]>
103
104	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
105	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
106
107	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
108	defined, primarily to reduce prototype warnings on windows.
109
110	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
111	about unused parameters, and uninitialized variables.
112
1132009-01-21  Bob Friesenhahn  <[email protected]>
114
115	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
116	order to trace full execution detail while executing the test suite.
117
1182009-01-20  Frank Warmerdam  <[email protected]>
119
120	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
121
1222009-01-20  Bob Friesenhahn  <[email protected]>
123
124	* test/Makefile.am (CLEANFILES): Make sure that test output files
125	are removed by 'make clean'
126
127	* Update autotools for 4.0.0 beta3
128
129	* 4.0.0 beta3 produced.
130
1312009-01-12  Bob Friesenhahn  <[email protected]>
132
133	* test/tiffcrop.sh: New test script for tiffcrop from Richard
134	Nolde.
135
136	* tools/tiff2ps.c: Remove spurious message to stderr.
137
1382009-01-11  Bob Friesenhahn  <[email protected]>
139
140	* tools/tiff2ps.c: Incorporated significant functionality update
141	from Richard Nolde.  In particular, support for rotating the image
142	by 90, 180, 270, and 'auto' has been added.
143
144	* man/tiffcrop.1: Incorporated documentation updates from Richard
145	Nolde.
146
147	* tools/tiffcrop.c: Incorporated significant functionality update
148	from Richard Nolde.
149
1502008-12-31  Bob Friesenhahn  <[email protected]>
151
152	* libtiff/tiffio.h: GCC will now validate format specifications
153	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
154	TIFFWarningExt() in order to reveal bugs.
155
156	* Many fixes throughout to work better as a 64-bit build.
157
1582008-12-30  Bob Friesenhahn  <[email protected]>
159
160	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
161	tags now require 64-bit parameter rather than 32-bit.
162
163	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
164	64-bit values.
165
166	* tools/thumbnail.c: Eliminate crash noticed while running test
167	suite.
168
1692008-12-29  Bob Friesenhahn  <[email protected]>
170
171	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
172	Initialize stack variables to avoid compiler warning.
173
174	* tools/tiffinfoce.c (main): Use toff_t for offset type when
175	retrieving offset of EXIF IFD.
176
177	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
178	TIFFClientOpen() callback and other external function definitions.
179
180	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
181	type now.  Fixes crash when dumping files containing an EXIF IFD.
182
183	* m4/libtool.m4: Update to libtool 2.2.6.
184
1852008-12-21  Frank Warmerdam  <[email protected]>
186
187	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
188
189	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
190	strip for the last partial strip in a jpeg compressed file.
191	http://bugzilla.maptools.org/show_bug.cgi?id=1981
192
1932008-10-29  Frank Warmerdam  <[email protected]>
194
195	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
196	we take the shortcut to only update the strip/tile offsets in place.
197	http://trac.osgeo.org/gdal/ticket/2621
198
1992008-10-21  Andrey Kiselev  <[email protected]>
200
201	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
202	the older versions retained).
203
2042008-10-09  Frank Warmerdam  <[email protected]>
205
206	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
207	IPP enabled version of libjpeg from Intel.
208	http://bugzilla.maptools.org/show_bug.cgi?id=1951
209
2102008-09-05  Andrey Kiselev  <[email protected]>
211
212	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
213	Required for libtiff 4.0.
214
215	* tools/tiffsplit.c: Use dynamically allocated array instead of static
216	when constructing output file names.
217
2182008-09-03  Andrey Kiselev  <[email protected]>
219
220	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
221	doing the filename/path construction.
222
223	* tools/tiff2pdf.c: More appropriate format string in
224	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
225
226	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
227
228	http://bugzilla.maptools.org/show_bug.cgi?id=1929
229
230	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
231	CVE-2008-2327 security issue.
232
2332008-09-01  Frank Warmerdam  <[email protected]>
234
235	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
236
237	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
238	depending on whether the file is bigtiff or classic tiff.
239	http://bugzilla.maptools.org/show_bug.cgi?id=1917
240
2412008-08-12  Edward Lam  <[email protected]>
242
243	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
244	consistent (__int64) casting when testing if _lseeki64 has
245	successfully seeked as requested.  This is necessary for large
246	file support to work since off_t is only 32-bit.
247
2482008-07-29  Frank Warmerdam  <[email protected]>
249
250	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or
251	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
252	with control logic to return runtime errors (c/o Even Rouault) (#1927).
253
2542008-06-17  Frank Warmerdam  <[email protected]>
255
256	* tools/tiffcrop.c: Fix some portability problems.
257
258	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
259	used in tif_jpeg.c.
260
261	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
262	as TIFFOpen().
263
2642008-06-01  Frank Warmerdam  <[email protected]>
265
266	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
267	like Sparc/Solaris.
268	http://bugzilla.maptools.org/show_bug.cgi?id=1892
269
2702008-05-27  Frank Warmerdam  <[email protected]>
271
272	* libtiff.def: Add TIFFFindField
273	http://bugzilla.maptools.org/show_bug.cgi?id=1891
274
2752008-05-26  Frank Warmerdam  <[email protected]>
276
277	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
278
279	* li2008-04-15  Andrey Kiselev  <[email protected]>
280
281btiff/tif_win32.c: Replace custom Win32 memory api with generic
282	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
283	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
284
285	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
286	in windows version (care of Edward Lam).
287
2882008-05-24  Frank Warmerdam  <[email protected]>
289
290	* tif_codec.c: Avoid NULL pointer dereferencing for exotic
291	compression codec codes.
292
293	* tif_dirwrite.c: fix potential memory leak.
294
295	* tif_dirread.c: Fix unchecked malloc result.
296
2972008-05-24  Bob Friesenhahn  <[email protected]>
298
299	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
300	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
301	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
302	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
303	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
304	suggestions from Lee Howard posted to the tiff list on 13 Sep
305	2007.
306
3072008-05-23  Frank Warmerdam  <[email protected]>
308
309	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
310	possible runtime problem reported by coverity.
311
312	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
313
314	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
315	http://bugzilla.maptools.org/show_bug.cgi?id=1888
316
317	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
318
319	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
320
321	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
322	Cleanup scanline allocation to avoid coverity warning.
323
324	* tools/thumbnail.c: Check for TIFFOpen() failure.
325
3262008-05-18  Frank Warmerdam  <[email protected]>
327
328	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
329	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
330	why this is needed.
331
3322008-05-09  Bob Friesenhahn  <[email protected]>
333
334	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
335	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
336
3372008-04-15  Andrey Kiselev  <[email protected]>
338
339	* test/: Test suite updated. Everything is passed now.
340
341	* libtiff/tif_dirinfo.c: Fixed description of the
342	TIFFTAG_NUMBEROFINKS tag.
343
3442008-04-14  Andrey Kiselev  <[email protected]>
345
346	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
347	Get rid of some of "dereferencing type-punned" warnings by converting
348	tdir_offset field of TIFFDirEntry structure into union.
349
3502008-04-10  Andrey Kiselev  <[email protected]>
351
352	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
353	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
354	from the public interface. Type of its 'count' parameter changed
355	from uint32 to tmsize_t.
356
357	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
358	of the tiff structure have the size_t type instead of uint32.
359
3602008-04-09  Andrey Kiselev  <[email protected]>
361
362	* tools/tiffdump.c: Added support for MSVS 6.0.
363
364	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
365	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
366	point values on MSVS 6.0 platform.
367
3682008-03-14  Frank Warmerdam  <[email protected]>
369
370	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
371	TIFFReadDirEntryArray() since they are interfering with seemingly
372	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
373
3742008-02-09  Joris Van Damme  <[email protected]>
375
376	* tif_dirread.c: Added handling for the case of number of values for
377	PageNumber tag different from 2 (previously resulted in an assert
378	indicating lack of handling and was forgotten about)
379
3802008-02-01  Frank Warmerdam  <[email protected]>
381
382	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
383	the actual jpeg data stream if the first strip/tile has zero size.
384	This is the case when GDAL creates a new file with zero sizes, closes
385	and reopens it.
386
3872008-01-07  Frank Warmerdam  <[email protected]>
388
389	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
390
3912008-01-01  Frank Warmerdam  <[email protected]>
392
393	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
394
395	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
396	targets.
397
398	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
399	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
400	(x64).
401
402	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
403	and TIFFFieldWithName() now return TIFFField pointers instead of
404	TIFFFieldInfo pointers.
405
406	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
407	exist. This makes it compile again on Windows
408
409	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
410	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
411
412	* test/rewrite_tag.c: New test for TIFFRewriteField().
413
4142007-12-31  Frank Warmerdam  <[email protected]>
415
416	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
417	rewrites one field "on disk" updating an existing directory
418	entry.  Lots of limitations still...
419
420	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
421	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
422	the strip offset/size values are dirty but nothing else about the
423	directory is dirty.  In flush handle "just stripmaps dirty" as a
424	special case that just rewrites these values without otherwise
425	modifying the directory on disk using TIFFRewriteField().
426
427	We also modify logic so that in update mode the directory is not
428	marked dirty on read, but only when something is changed.  This
429	means we need to keep track of updates to the stripmap stuff in
430	TIFFAppendToStrip().
431
4322007-12-10  Frank Warmerdam  <[email protected]>
433
434	* tif_jpeg.c: Improve ability to switch between encoding and decoding
435	in the jpeg code (gdal bug #2033).
436
4372007-11-23  Frank Warmerdam  <[email protected]>
438
439	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
440	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
441	rawcp/rawcc buffer are for writing and thus may require flushing.
442	Necessary to distinguish whether they need to be written to disk when
443	in mixed read/write mode and doing a mixture of writing followed by
444	reading.  http://trac.osgeo.org/gdal/ticket/1758
445
4462007-11-23  Andrey Kiselev  <[email protected]>
447
448	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
449	from Alexey Chupahin.
450
4512007-11-02  Frank Warmerdam  <[email protected]>
452
453	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
454	establishing if an existing tile can be rewritten to the same location
455	by comparing the current size to all the other blocks in the same
456	directory.  This is dangerous in many situations and can easily
457	corrupt a file.  (observed in esoteric GDAL situation that's hard to
458	document).  This change involves leaving the stripbytecount[] values
459	unaltered till TIFFAppendToStrip().  Now we only write a block back
460	to the same location it used to be at if the new data is the same
461	size or smaller - otherwise we move it to the end of file.
462
463	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
464	data when writing the directory just because we have BEENWRITING at
465	some point in the past.  This was causing odd junk to be written out
466	in a tile of data when a single tile had an interleaving of reading
467	and writing with reading last.  (highlighted by gdal
468	autotest/gcore/tif_write.py test 7.
469
470	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
471	modifying callers buffer.
472	http://trac.osgeo.org/gdal/ticket/1965
473
474	* tif_predict.c/h: more fixes related to last item, keeping a
475	distinct pfunc for encode and decode cases as these were getting
476	mixed up sometimes.
477	http://trac.osgeo.org/gdal/ticket/1948
478
4792007-11-01  Frank Warmerdam  <[email protected]>
480
481	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
482	predictor based encoding and decoding works in read-write update
483	mode properly.
484	http://trac.osgeo.org/gdal/ticket/1948
485
4862007-10-24  Joris Van Damme  <[email protected]>
487
488	* tif_dirread.c: Fixed problem with bogus file triggering
489	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
490	ChopUpSingleUncompressedStrip
491
4922007-10-22  Joris Van Damme  <[email protected]>
493
494	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
495	at best, access violation at worst, when subsampled JPEG compressed imagery
496	is decoded without the JPEG_COLORMODE feature
497
4982007-10-11  Frank Warmerdam  <[email protected]>
499
500	* html/index.html: Update "people responsible" section.
501
5022007-10-05  Frank Warmerdam  <[email protected]>
503
504	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
505	as reported on the mailing list.
506
5072007-10-01  Joris Van Damme  <[email protected]>
508
509	* changed some more incorrect %lud printf flags to %lu
510
5112007-09-29  Joris Van Damme  <[email protected]>
512
513	* tif_dirread.c: Strip chopping interfered badly with uncompressed
514	subsampled images because it tried to divide subsampled rowblocks,
515	leading to all sorts of errors throughout the library for these
516	images. Fixed by making strip chopping divide in row counts that
517	are a multiple of vertical subsampling value.
518
5192007-09-28  Joris Van Damme  <[email protected]>
520
521	* tif_dirread.c: Logical cast working around compiler warning
522
523	* tif_read.c: Correction of some error flags and parameter lists
524
5252007-09-27  Joris Van Damme  <[email protected]>
526
527	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
528	when dealing with large bitspersample values, shutting up purification
529	tools that warn about truncation, though it remains incorrect and
530	indicates a conceptual problem there.
531
532	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
533	of first IFD) to proper place because it badly interfered with memory
534	mapping, resulting in mapping flag even with dummy mapping functions
535	that returned 0 whilst at the same time the mapping tif_size wasn't
536	set, thus resulting in continuous incorrect beyond-eof errors.
537
5382007-09-24  Joris Van Damme  <[email protected]>
539
540	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
541	inconsistent use of const in tiffFields and exifFields definition
542
5432007-09-20  Frank Warmerdam  <[email protected]>
544
545	* tif_dirwrite.c: Always write tile/strip offsets and sizes
546	using LONG8 type when output format is BigTIFF.  The
547	TIFFWriteDirectoryTagLongLong8Array() function was restructured
548	accordingly.
549
550	* tif_dirread.c: Improvements to error reporting text in
551	TIFFFetchDirectory().
552
5532007-09-19  Bob Friesenhahn  <[email protected]>
554
555	* test/images: Added a small collection of test images for use by
556	test programs and scripts.
557	* test/tiffinfo.sh: A trivial example test script.
558	* test/common.sh: Added small script for setting the environment
559	used by script-based tests.
560
5612007-08-24  Frank Warmerdam  <[email protected]>
562
563	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
564	zero when writing directory contents to preserve the ability to
565	rewrite directories in place, even in the middle of a directory
566	chain.
567
568	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
569	definitions that are missing.  Existing definitions are silently
570	ignored.
571
572	* tif_dirread.c: Add runtime error for fields for which no definition
573	is found (in addition to an assert for developers) in
574	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
575	prudent.
576
5772007-08-10  Joris Van Damme  <[email protected]>
578
579	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
580	from _TIFFRGBAImage structure to revert unwanted ABI change.
581
5822007-08-10  Joris Van Damme  <[email protected]>
583
584	* libtiff/tif_win32.c: use SetFilePointer instead of
585	SetFilePointerEx, as per bug
586
587	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
588
5892007-07-19  Andrey Kiselev  <[email protected]>
590
591	* libtiff/tif_stream.cxx: Put all callback functions declarations
592	inside extern "C" block.
593
594	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
595	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
596	formatter instead of "%lld" with MSVC compiler.
597
598	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
599	_TIFFUInt64ToDouble() functions.
600
6012007-07-18  Andrey Kiselev  <[email protected]>
602
603	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
604	integer constants.
605
606	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
607	remove tif_config.h/tiffconf.h during cleaning. As per bug
608
609	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
610
611	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
612
613	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
614
6152007-07-13  Andrey Kiselev  <[email protected]>
616
617	* libtiff 4.0.0alpha released.
618
6192007-07-12  Andrey Kiselev  <[email protected]>
620
621	* tools/tiff2pdf.c: Added missed extern optind as per bug
622
623	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
624
625	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
626	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
627	extending scheme completed.
628
6292007-07-11  Bob Friesenhahn  <[email protected]>
630
631	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
632	use standard C++ library size types and attempt to detect overflow
633	cases.
634
6352007-07-08  Andrey Kiselev  <[email protected]>
636
637	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
638	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
639	tag extending scheme. Use the new scheme everywhere.
640
641	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
642	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
643	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
644	TIFFFIeldInfo structure replaced with TIFFField structure.
645	TIFFFieldInfo retained for the backward compatibility.
646
6472007-07-05  Bob Friesenhahn  <[email protected]>
648
649	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
650	defined.
651
6522007-07-04  Andrey Kiselev  <[email protected]>
653
654	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
655	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
656	removed.
657
658	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
659	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
660	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
661	These tags are not codec-specific and relate to image content, so
662	process them as other normal tags.
663
664	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
665	public tiffio.h to private tif_dir.h.
666
667	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
668	outdated.
669
6702007-07-03  Andrey Kiselev  <[email protected]>
671
672	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
673	tif_win3.c}: Obsoleted portability stuff removed.
674
675	* tools/tiff2ps.c:  Added support 16-bit images as per bug
676
677	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
678
679	Patch from William Bader.
680
681	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
682	significant upgrade of the whole utility as per bug
683
684	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
685
686	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
687	PDF file using TIFFClientOpen() machinery as it is implemented
688	by Leon Bottou.
689
6902007-06-26  Bob Friesenhahn  <[email protected]>
691
692	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
693	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
694	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
695	allow returning -1 for errors.
696	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
697
6982007-06-25  Bob Friesenhahn  <[email protected]>
699
700	* port/strtoull.c: New porting function in case strtoull() is not
701	available on the target system.
702	* configure.ac: Add configure support for determining sized types
703	in a portable way and performing necessary substitutions in
704	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
705	definitions.
706
7072007-04-27  Andrey Kiselev  <[email protected]>
708
709	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
710
711	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
712
7132007-04-07  Andrey Kiselev  <[email protected]>
714
715	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
716	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
717	tif_predict.c, tif_zip.c}: Finally fix bug
718
719	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
720
721	by introducing _TIFFMergeFieldInfo() returning integer error status
722	instead of void in case of problems with field merging (e.g., if the
723	field with such a tag already registered). TIFFMergeFieldInfo() in
724	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
725	check returned value.
726
7272007-04-07  Frank Warmerdam  <[email protected]>
728
729	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
730	blocks in TIFF_DownSample_Subsampled() (bug 1542).
731
7322007-04-06  Frank Warmerdam  <[email protected]>
733
734	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
735	will convert from decompressor to compressor or compress to decompress
736	if required by the force arguments.  This works around a problem in
737	where the JPEGFixupTestSubsampling() may cause a decompressor to
738	be setup on a directory when later a compressor is required with the
739	force flag set.  Occurs with the addtiffo program for instance.
740
7412007-04-06  Andrey Kiselev  <[email protected]>
742
743	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
744	functionality from Richard Nolde. As per bug
745
746	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
747
7482007-03-28  Frank Warmerdam  <[email protected]>
749
750	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
751
7522007-03-17  Joris Van Damme  <[email protected]>
753
754	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
755
7562007-03-07  Joris Van Damme  <[email protected]>
757
758	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
759	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
760	factor. This bug is mentioned in:
761	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
762	http://www.asmail.be/msg0054766825.html
763
7642007-03-07  Joris Van Damme  <[email protected]>
765
766	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
767
768	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
769	unused arguments by standard C indication for the same
770
7712007-02-27  Andrey Kiselev  <[email protected]>
772
773	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
774	counters in TIFFFetchData(). Should finally fix the issue
775
776	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
777
7782007-02-24  Andrey Kiselev  <[email protected]>
779
780	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
781	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
782
783	* libtiff/tif_dirread.c: Added special function to handle
784	SubjectDistance EXIF tag as per bug
785
786	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
787
788	* tools/tiff2pdf.c: Do not assume inches when the resolution units
789	do not specified. As per bug
790
791	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
792
793	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
794	it was set as infinite. As per bug
795
796	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
797
798	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
799	by Richard Nolde. As per bug
800
801	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
802
8032007-02-22  Andrey Kiselev  <[email protected]>
804
805	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
806	ExtraSamples == 999 produced by Corel Draw. As per bug
807
808	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
809
810	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
811	changed from tsize_t to uint32 to be able to work with data arrays
812	larger than 2GB. Fixes bug
813
814	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
815
816	Idea submitted by Matt Hancher.
817
8182007-01-31  Andrey Kiselev  <[email protected]>
819
820	* tools/tif2rgba.c: This utility does not work properly on big-endian
821	architectures. It was fixed including the bug
822
823	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
824
8252007-01-15  Mateusz Loskot <[email protected]>
826
827	* Submitted libtiff port for Windows CE platform
828	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
829	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
830	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
831	functons from tif_win32.c.
832	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
833	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
834	standard header files for Windows CE build.
835	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
836
8372006-11-19  Frank Warmerdam  <[email protected]>
838
839	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
840	we move a strip.
841	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
842
8432006-10-13  Andrey Kiselev  <[email protected]>
844
845	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
846	in Gentoo bug ():
847
848	http://bugs.gentoo.org/show_bug.cgi?id=142383
849
850	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
851	Though it is still far from the state of being working and useful.
852
8532006-10-12  Andrey Kiselev  <[email protected]>
854
855	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
856	method.
857
858	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
859	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
860
861	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
862	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
863
864	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
865	vulnerabilities, reported in Gentoo bug ():
866
867	http://bugs.gentoo.org/show_bug.cgi?id=142383
868
8692006-09-28  Andrey Kiselev  <[email protected]>
870
871	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
872	vulnerabilities, as per	Gentoo bug ():
873
874	http://bugs.gentoo.org/show_bug.cgi?id=142383
875
8762006-09-27  Frank Warmerdam  <[email protected]>
877
878	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
879	encoding and decoding on the same read-write TIFF handle.  The LZW
880	code can now maintain encode and decode state at the same time. The
881	ZIP code will switch back and forth as needed.
882	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
883
8842006-09-20  Frank Warmerdam  <[email protected]>
885
886	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
887	tif_config.vc.h for easier identification by folks using an IDE.
888
8892006-07-25  Frank Warmerdam  <[email protected]>
890
891	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
892
8932006-07-19  Frank Warmerdam  <[email protected]>
894
895	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
896	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
897	to bug report by Peng Gao with black strip at bottom of images.
898
8992006-07-12  Frank Warmerdam  <[email protected]>
900
901	* tif_dirwrite.c: make sure to use uint32 for wordcount in
902	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
903	It already seems to have been done for other field types.  Needed
904	for "tiffset" on files with geotiff ascii text.
905
9062006-07-04  Bob Friesenhahn  <[email protected]>
907
908	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
909	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
910	its use does not appear to be required, so use it only when it is
911	available.
912
9132006-06-24  Andrey Kiselev  <[email protected]>
914
915	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
916
917	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
918	function TIFFFetchDirectory() avoiding code duplication in
919	TIFFReadDirectory() and TIFFReadCustomDirectory().
920
9212006-06-19  Frank Warmerdam  <[email protected]>
922
923	* tools/tiff2pdf.c: Fix handling of -q values.
924	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
925
9262006-06-17  Frank Warmerdam  <[email protected]>
927
928	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
929	files.  Modified TIFFReadDirectory() to not invoke
930	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
931	but one of them is zero.
932	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
933
9342006-06-08  Andrey Kiselev  <[email protected]>
935
936	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
937	checking code in the separate function TIFFCheckDirOffset().
938
939	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
940
941	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
942
943	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
944
945	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
946
947	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
948
949	* tools/tiff2pdf.c: Fixed buffer overflow condition in
950	t2p_write_pdf_string() as per bug
951
952	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
953
9542006-06-07  Andrey Kiselev  <[email protected]>
955
956	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
957	support for JBIG compression scheme (34661 code) contributed by Lee
958	Howard. As per bug
959
960	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
961
962	* configure, configure.ac: OJPEG support enabled by default.
963
964	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
965
9662006-06-03  Bob Friesenhahn  <[email protected]>
967
968	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
969	TIFFPrintDirectory().  Joris Van Damme authored the fix.
970
9712006-04-21  Andrey Kiselev  <[email protected]>
972
973	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
974	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
975
976	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
977	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
978	Added support for OpenVMS by Alexey Chupahin, [email protected].
979
9802006-04-20  Andrey Kiselev  <[email protected]>
981
982	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
983	Properly set the binary mode for stdin stream as per bug
984	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
985
986	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
987	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
988	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
989	tiffset.1}: Improvements in page formatting as per bug
990	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
991
992	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
993	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
994
9952006-04-18  Frank Warmerdam  <[email protected]>
996
997	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
998	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
999
10002006-04-12  Joris Van Damme  <[email protected]>
1001
1002	* libtiff/tif_getimage.c: Added support for planarconfig separate
1003	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
1004
10052006-04-11  Joris Van Damme  <[email protected]>
1006
1007	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
1008	- Conversion of unassociated alpha to associated alpha now done with
1009	  more performant LUT, and calculation more correct
1010	- Conversion of 16bit data to 8bit data now done with
1011	  more performant LUT, and calculation more correct
1012	- Bugfix of handling of 16bit RGB with unassociated alpha
1013
10142006-04-11  Joris Van Damme  <[email protected]>
1015
1016	* libtiff/tif_getimage.c:
1017	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
1018	  buffer for alpha strile and filled it, only to never read it back.
1019	  Removed allocation and fill.
1020	- Minor rename of vars in gtTileSeparate and gtStripSeparate
1021	  anticipating planned functionality extension
1022
10232006-04-08  Joris Van Damme  <[email protected]>
1024
1025	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
1026	and pickTileSeparateCase to PickSeparateCase as both work on strips as
1027	well
1028
1029	* libtiff/tif_getimage.c: moved img->get selection from
1030	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
1031	logical hook for planned functionality extension
1032
10332006-04-08  Joris Van Damme  <[email protected]>
1034
1035	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
1036	of inappropriate use of jpeg_abort instead of jpeg_destroy
1037
10382006-04-07  Joris Van Damme  <[email protected]>
1039
1040	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
1041	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
1042	on subsampled images - this ought to get sorted when we feel brave
1043	enough to replace TIFFScanlineSize alltogether
1044
1045	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
1046
10472006-04-04  Joris Van Damme  <[email protected]>
1048
1049	* libtiff/tiffio.h: added new type tstrile_t
1050
1051	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
1052	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
1053	toff_t*
1054
1055	* libtiff/tif_ojpeg.c: totally new implementation
1056
1057	* libtiff/tif_dirread.c: added several hacks to suit new support of
1058	OJPEG
1059
1060	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
1061	of OJPEG images in favor of tif_getimage.c native handling of
1062	YCbCr and desubsampling
1063
10642006-03-29  Frank Warmerdam  <[email protected]>
1065
1066	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
1067	interpretation causes the "upsampled" flag to be recomputed.  Fixes
1068	peculiar bug where photometric flag had to be set before jpegcolormode
1069	flag.
1070
10712006-03-25  Joris Van Damme  <[email protected]>
1072
1073	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
1074
1075	* libtiff/tif_strip.c: temporarilly added two new versions of
1076	TIFFScanlineSize
1077	  - TIFFNewScanlineSize: proposed new version, after all related
1078	    issues and side-effects are sorted out
1079	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
1080	This needs further sorting out.
1081
10822006-03-25  Joris Van Damme  <[email protected]>
1083
1084	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
1085	of last truncated strip data to TIFFWriteEncodedStrip
1086
10872006-03-25  Joris Van Damme  <[email protected]>
1088
1089	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
1090
10912006-03-25  Joris Van Damme  <[email protected]>
1092
1093	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
1094
1095	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
1096
1097	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
1098	prepare	the path for new tif_ojpeg.c
1099
11002006-03-23  Andrey Kiselev  <[email protected]>
1101
1102	* libtiff 3.8.2 released.
1103
1104	* tools/Makefile.am: Use runtime paths linker flags when rpath
1105	option enabled.
1106
11072006-03-21  Andrey Kiselev  <[email protected]>
1108
1109	* libtiff/libtiff.def: Added missed exports as per bug
1110	http://bugzilla.remotesensing.org/attachment.cgi?id=337
1111
1112	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
1113	tools/Makefile.vc: Makefiles improvements as per bug
1114	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
1115
1116	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
1117	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
1118	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
1119
1120	* libtiff/tif_strip.c: Take subsampling in account when calculating
1121	TIFFScanlineSize().
1122
1123	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
1124
11252006-03-17  Andrey Kiselev  <[email protected]>
1126
1127	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
1128	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
1129
1130	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
1131	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
1132
11332006-03-16  Andrey Kiselev  <[email protected]>
1134
1135	* libtiff/tiffiop.h: Added decalration for
1136	_TIFFSetDefaultCompressionState().
1137
1138	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
1139	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
1140	codec cleanup methods. As per bug
1141
1142	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
1143
11442006-03-15  Andrey Kiselev  <[email protected]>
1145
1146	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
1147	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
1148
1149	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
1150	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
1151
1152	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
1153	removed; move here the STRIP_SIZE_DEFAULT macro definition.
1154
1155	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
1156	macro definition.
1157
1158	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
1159
11602006-03-14  Andrey Kiselev  <[email protected]>
1161
1162	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
1163	in TIFFReadDirectory, because it is always set at the start of
1164	function and we allow TIFFs without that tag set.
1165
11662005-03-13  Andrey Kiselev  <[email protected]>
1167
1168	* libtiff 3.8.1 released.
1169
11702006-03-07  Andrey Kiselev  <[email protected]>
1171
1172	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
1173	function as per bug
1174	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1175
1176	* libtiff/tif_dirread.c: More wise check for integer overflow
1177	condition as per bug
1178	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1179
1180	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
1181	Properly restore setfield/getfield methods in cleanup functions. As
1182	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1183
11842006-03-03  Andrey Kiselev  <[email protected]>
1185
1186	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
1187	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
1188
1189	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
1190	TIFFPredictorCleanup() in codec cleanup methods. As per bug
1191
1192	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1193
1194	* libtiff/tif_dirread.c: Fixed integer overflow condition in
1195	TIFFFetchData() function. As per bug
1196
1197	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1198
11992006-03-01  Andrey Kiselev  <[email protected]>
1200
1201	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
1202	TIFFSetField() method, not directly. As per bug
1203
1204	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
1205
1206	* tools/ppm2tiff.c: Added support for PBM files as per bug
1207	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
1208
12092006-02-27  Andrey Kiselev  <[email protected]>
1210
1211	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
1212	to avoid crash as per bug
1213
1214	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
1215
12162006-02-26  Andrey Kiselev  <[email protected]>
1217
1218	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
1219	t2p_sample_rgba_to_rgb() was used in place of each other, that was
1220	resulted in problems with RGBA images with associated alpha.
1221	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
1222
12232006-02-23  Andrey Kiselev  <[email protected]>
1224
1225	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
1226	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1227
1228	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
1229	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
1230	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1231
1232	* tools/tiff2ps.c: Properly scale all the pages when converting
1233	multipage TIFF with /width/height/center options set. As per bug
1234
1235	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
1236
12372006-02-15  Andrey Kiselev  <[email protected]>
1238
1239	* tools/tiff2pdf.c: Do not create output file until all option checks
1240	will be done. As per bug
1241
1242	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
1243
1244	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
1245	list of input files as per bug:
1246
1247	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
1248
12492006-02-09  Andrey Kiselev  <[email protected]>
1250
1251	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
1252	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
1253
1254	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
1255	TIFFRGBAImage interface.
1256
1257	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
1258	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
1259
12602006-02-07  Frank Warmerdam  <[email protected]>
1261
1262	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
1263	compressed TIFF files, per submission from Dan Cobra.
1264
12652006-02-07  Andrey Kiselev  <[email protected]>
1266
1267	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
1268	cast values to avoid warnings. As per bug
1269	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1270
1271	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
1272	appropriate. As per bug
1273	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1274
1275	* libtiff/tif_aux.c: Fixed type of temporary variable in
1276	_TIFFCheckMalloc() as per bug
1277	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1278
12792006-02-06  Andrey Kiselev  <[email protected]>
1280
1281	* libtiff/tif_aux.c: Return static array when fetching default
1282	YCbCrCoefficients (another problem, reported a the
1283	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
1284
12852006-02-03  Andrey Kiselev  <[email protected]>
1286
1287	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
1288	YCbCrSubsampling and DotRange tags as per bugs
1289
1290	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
1291	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
1292
1293	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
1294	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
1295
1296	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
1297
12982006-01-23  Andrey Kiselev  <[email protected]>
1299
1300	* libtool related stuff updated from the 2.1a branch.
1301
13022006-01-11  Frank Warmerdam  <[email protected]>
1303
1304	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
1305	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
1306	properly as per bug:
1307	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
1308
13092006-01-09  Bob Friesenhahn  <[email protected]>
1310
1311	* configure.ac: Fix with_default_strip_size comparison as reported
1312	by Norihiko Murase.
1313
13142006-01-08  Bob Friesenhahn  <[email protected]>
1315
1316	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
1317	incorrectly, tests were not actually testing the uninstalled
1318	libtiff.  Now they are.
1319
13202006-01-04  Andrey Kiselev  <[email protected]>
1321
1322	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
1323	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
1324	should be uint32 value.
1325
13262006-01-02  Bob Friesenhahn  <[email protected]>
1327
1328	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
1329	be used if build directory is not the same as source directory.
1330	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
1331	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
1332	and re-sorted tag names in alphabetical order.
1333
13342005-12-29  Andrey Kiselev  <[email protected]>
1335
1336	* libtiff 3.8.0 released.
1337
13382005-12-28  Bob Friesenhahn  <[email protected]>
1339
1340	* tools/bmp2tiff.c (main): Fixed warning regarding returning
1341	inconsistent types from a condition.
1342	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
1343	format.
1344	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
1345
13462005-12-28  Joris Van Damme  <[email protected]>
1347
1348	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
1349
13502005-12-27  Andrey Kiselev  <[email protected]>
1351
1352	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
1353	windows.h, to reduce the compile time.
1354
13552005-12-26  Bob Friesenhahn  <[email protected]>
1356
1357	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
1358
13592005-12-26  Andrey Kiselev  <[email protected]>
1360
1361	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
1362	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
1363	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
1364	private functions to retrieve FieldInfo arrays.
1365
13662005-12-24  Bob Friesenhahn  <[email protected]>
1367
1368	* html/build.html: Added some additional instructions for when
1369	building using MSVC under Windows.  Also fixed two HTML syntax
1370	errors and used HTML Tidy to tidy up the HTML syntax and
1371	formatting.
1372
13732005-12-24  Andrey Kiselev  <[email protected]>
1374
1375	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
1376	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
1377	StoNits tags custom.
1378
13792005-12-23  Andrey Kiselev  <[email protected]>
1380
1381	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
1382	WhitePoint tag custom.
1383
1384	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
1385
13862005-12-23  Joris Van Damme  <[email protected]>
1387
1388	* libtiff/tiffio.h: fixed typo that potentially resulted in
1389	redefininition of USE_WIN32_FILEIO
1390
1391	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
1392	calls in core LibTiff.
1393
13942005-12-21  Andrey Kiselev  <[email protected]>
1395
1396	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
1397	Photoshop and ICCProfile tags custom.
1398
13992005-12-21  Joris Van Damme  <[email protected]>
1400
1401	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
1402	newer code to get context indicator in error handler and still
1403	remain compatible with older code: Done TIFFError calls everywhere
1404	except in tools
1405
14062005-12-20  Andrey Kiselev  <[email protected]>
1407
1408	* tools/tiffcp.c: Added many error reporting messages; fixed integer
1409	overflow as per bug
1410
1411	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
1412
14132005-12-16  Frank Warmerdam  <[email protected]>
1414
1415	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
1416	YCbCr images in jpeg compressed TIFF files.
1417
14182005-12-14  Andrey Kiselev  <[email protected]>
1419
1420	* tools/tiffcp.c: Return non-zero status when reading fails (again).
1421
14222005-12-13  Andrey Kiselev  <[email protected]>
1423
1424	* tools/tiffcp.c: Return non-zero status when reading fails.
1425
14262005-12-12  Andrey Kiselev  <[email protected]>
1427
1428	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
1429
14302005-12-09  Andrey Kiselev  <[email protected]>
1431
1432	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
1433	custom.
1434
1435	* tools/tiffinfo.c: Print EXIF directory contents if exist.
1436
1437	* libtiff/tiff.h: Few EXIF tag numbers added.
1438
1439	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
1440	tiffio.h}: Preliminary support to read custom directories. New
1441	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
1442
14432005-12-07  Andrey Kiselev  <[email protected]>
1444
1445	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
1446	More work to implement custom directory read support.
1447
1448	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
1449	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
1450	tags custom.
1451
14522005-12-05  Andrey Kiselev  <[email protected]>
1453
1454	* libtiff/tif_dirread.c: One more workaround for broken
1455	StripByteCounts tag. Handle the case when StripByteCounts array filled
1456	with completely wrong values.
1457
14582005-11-30  Andrey Kiselev  <[email protected]>
1459
1460	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
1461	in the TIFFOpenW() function as per bug
1462
1463	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
1464
1465	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
1466	functions as per bug
1467
1468	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
1469
14702005-11-20  Frank Warmerdam  <[email protected]>
1471
1472	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
1473	for MS MDI format.
1474	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
1475
1476	* .cvsignore: many files added, and a few update according
1477	to suggestion of Brad HArds on tiff mailing list.
1478
14792005-11-03  Frank Warmerdam  <[email protected]>
1480
1481	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
1482	public.
1483
14842005-10-31  Andrey Kiselev  <[email protected]>
1485
1486	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
1487	as per bug
1488
1489	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
1490
1491	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
1492	as per bug
1493
1494	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
1495
1496	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
1497	problem as per bug
1498
1499	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
1500
1501	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
1502
1503	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
1504
1505	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
1506	ResolutionUnit tags modifiable during write process. As per bug
1507
1508	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
1509
1510	* tools/tiffsplit.c: Copy fax related fields over splitted parts
1511	as per bug
1512
1513	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
1514
15152005-10-21  Frank Warmerdam  <[email protected]>
1516
1517	* tif_dirread.c: Don't try and split single strips into "0" strips
1518	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
1519	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
1520
15212005-10-20  Joris Van Damme  <[email protected]>
1522
1523	* tif_fax3.c: changed 'at scanline ...' style warning/errors
1524	with incorrect use of tif_row, to 'at line ... of
1525	strip/tile ...' style
1526
15272005-10-15  Frank Warmerdam  <[email protected]>
1528
1529	* tif_write.c: fixed setting of planarconfig as per bug report
1530	on the mailing list from Joris.
1531
15322005-10-07  Andrey Kiselev  <[email protected]>
1533
1534	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
1535	tif_dirread.c}: Make the default strip size configurable via the
1536	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
1537
15382005-09-30  Bob Friesenhahn  <[email protected]>
1539
1540	* html/support.html: Fixed link to documentation on Greg Ward's
1541	LogLuv TIFF format.
1542
15432005-09-28  Andrey Kiselev  <[email protected]>
1544
1545	* tools/tiffdump.c: Fixed crash when reading malformed tags.
1546
15472005-09-20  Andrey Kiselev  <[email protected]>
1548
1549	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
1550	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
1551
15522005-09-12  Andrey Kiselev  <[email protected]>
1553
1554	* libtiff 3.7.4 released.
1555
1556	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
1557	from Patrick Welche (all scripts moved in the 'config' and 'm4'
1558	directories).
1559
15602005-09-12  Frank Warmerdam  <[email protected]>
1561
1562	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
1563
15642005-09-05  Frank Warmerdam  <[email protected]>
1565
1566	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
1567	also set it to NULL to avoid double free when re-setting custom
1568	string fields as per:
1569
1570	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
1571
15722005-08-12  Frank Warmerdam  <[email protected]>
1573
1574	* libtiff/tif_print.c: avoid signed/unsigned warning.
1575
1576	* libtiff/tif_dirread.c: removed unused variable.
1577
15782005-07-30  Frank Warmerdam  <[email protected]>
1579
1580	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
1581	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
1582	pass on bigendian (macosx) system.
1583
15842005-07-28  Andrey Kiselev  <[email protected]>
1585
1586	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
1587	CheckMalloc() function to _TIFFCheckMalloc() and make it available
1588	globally as an internal helper routine.
1589
15902005-07-27  Andrey Kiselev  <[email protected]>
1591
1592	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
1593	the custom tags handling code.
1594
15952005-07-26  Andrey Kiselev  <[email protected]>
1596
1597	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
1598	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
1599	function, use TIFFFetchNormalTag() instead as per bug
1600
1601	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
1602
1603	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
1604	instead.
1605
1606	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
1607
1608	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
1609
16102005-07-25  Andrey Kiselev  <[email protected]>
1611
1612	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
1613
1614	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
1615
16162005-07-21  Andrey Kiselev  <[email protected]>
1617
1618	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
1619	the TIFFWriteCheck() function in case of single band images (as per
1620	TIFF spec).
1621
16222005-07-12  Andrey Kiselev  <[email protected]>
1623
1624	* SConstruct, libtiff/SConstruct: Added the first very preliminary
1625	support for SCons software building tool (http://www.scons.org/).
1626	This is experimental infrastructure and it will exist along with the
1627	autotools mechanics.
1628
16292005-07-07  Andrey Kiselev  <[email protected]>
1630
1631	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
1632	the NetBSD source tree (the old	4-clause BSD license changed to
1633	the new 3-clause one).
1634
1635	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
1636	replacement module.
1637
1638	* port/dummy.c: Make the dummy function static.
1639
16402005-07-06  Andrey Kiselev  <[email protected]>
1641
1642	* tools/tiffcp.c: Fixed WhitePoint tag copying.
1643
1644	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
1645	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
1646	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
1647
16482005-07-04  Andrey Kiselev  <[email protected]>
1649
1650	* libtiff 3.7.3 released.
1651
1652	* configure, configure.ac: Do not use empty -R option when linking
1653	with --enable-rpath.
1654
16552005-07-01  Andrey Kiselev  <[email protected]>
1656
1657	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
1658	reading the first IFD when needed. As per bug
1659
1660	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
1661
1662	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
1663	effects.
1664
16652005-06-23  Andrey Kiselev  <[email protected]>
1666
1667	* tools/tiff2pdf.c: Print two characters per loop in the
1668	t2p_write_pdf_trailer(). As per bug
1669
1670	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
1671
1672	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
1673	per bug
1674
1675	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
1676
1677	* acinclude.m4: Updated to latest OpenGL test macros versions.
1678
1679	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
1680	platform. As per bug
1681
1682	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
1683
16842005-06-14  Andrey Kiselev  <[email protected]>
1685
1686	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
1687	and YClipPathUnits tags.
1688
16892005-06-07  Andrey Kiselev  <[email protected]>
1690
1691	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
1692	use pixel sized shift in contigous case.
1693
16942005-06-06  Andrey Kiselev  <[email protected]>
1695
1696	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
1697	Make overviews working for contiguos images.
1698
16992005-06-03  Andrey Kiselev  <[email protected]>
1700
1701	* libtiff/tif_open.c: Replace runtime endianess check with the compile
1702	time one.
1703
1704	* libtiff/tif_predict.c: Floating point predictor now works on
1705	big-endian hosts.
1706
17072005-06-01  Andrey Kiselev  <[email protected]>
1708
1709	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
1710	ASCII values.
1711
1712	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
1713	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
1714	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
1715	TargetPrinter tags custom.
1716
1717	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
1718	TIFF_CODERSETUP flag (to fix memry leaks).
1719
1720	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
1721	allocating.
1722
17232005-05-26  Andrey Kiselev  <[email protected]>
1724
1725	* configure.ac, libtiff/Makefile.am: Added workaround for
1726	OpenBSD/MirOS soname problem as per bug
1727
1728	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
1729
1730	* libtiff/tif_dirwrite.c: Use tdir_count when calling
1731	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
1732	per bug
1733
1734	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
1735
17362005-05-25  Andrey Kiselev  <[email protected]>
1737
1738	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
1739	the fscanf() function. As per bug
1740
1741	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
1742
1743	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
1744	uint16 array when fetching the BYTE and SBYTE filds, so we should
1745	consider result as pointer to uint16 array and not as array of chars.
1746	As per bug
1747
1748	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
1749
1750	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
1751
1752	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
1753
1754	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
1755	mode in CreateFile() call as per bug
1756
1757	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
1758
1759	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
1760	libtiffxx libraries as per bug
1761
1762	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
1763
1764	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
1765	GDAL.
1766
17672005-05-23  Frank Warmerdam  <[email protected]>
1768
1769	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
1770	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
1771	in directory.
1772
17732005-05-22  Frank Warmerdam  <[email protected]>
1774
1775	* libtiff/tif_dirread.c: Changed the code that computes
1776	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
1777	zero. This is a common case with GDAL indicating a "null" tile/strip.
1778
17792005-05-17  Andrey Kiselev  <[email protected]>
1780
1781	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
1782
17832005-05-06  Frank Warmerdam  <[email protected]>
1784
1785	* libtiff/tif_dirread.c: Applied similar change to
1786	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
1787
1788	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
1789
1790	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
1791
17922005-05-06  Andrey Kiselev  <[email protected]>
1793	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
1794	added new option '-b' to use interpolation in output PDF files (Bruno
1795	Ledoux).
1796
17972005-05-05  Frank Warmerdam  <[email protected]>
1798
1799	* libtiff/tif_dirread.c: Ensure that broken files with too many
1800	values in PerSampleShorts work ok instead of crashing.
1801
1802	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
1803
18042005-04-27  Andrey Kiselev  <[email protected]>
1805
1806	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
1807	input file.
1808
18092005-04-15  Andrey Kiselev  <[email protected]>
1810
1811	* libtiff/tif_predict.c: Added ability to encode floating point
1812	predictor, as per TIFF Technical Note 3.
1813
18142005-04-14  Andrey Kiselev  <[email protected]>
1815
1816	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
1817	floating point predictor, as per TIFF Technical Note 3.
1818
18192005-04-13  Andrey Kiselev  <[email protected]>
1820
1821	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
1822	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
1823	swap 24-bit floating point values.
1824
1825	* libtiff/tiff.h: Added predictor constants.
1826
18272005-04-08  Andrey Kiselev  <[email protected]>
1828
1829	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
1830	values in _TIFFVSetField() function. Inspired by the bug
1831
1832	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
1833
1834	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
1835	as per bug
1836
1837	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
1838
18392005-03-30  Andrey Kiselev  <[email protected]>
1840
1841	* libtiff/tif_open.c: Do not read header in case the output file
1842	should be truncated (Ron).
1843
1844	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
1845	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
1846
1847	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
1848
18492005-03-22  Andrey Kiselev  <[email protected]>
1850
1851	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
1852	rpath option.
1853
18542005-03-21  Andrey Kiselev  <[email protected]>
1855
1856	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
1857	tags.
1858
18592005-03-18  Andrey Kiselev  <[email protected]>
1860
1861	* libtiff/dirinfo.c: Added DNG tags.
1862
1863	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
1864	handling code.
1865
1866	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
1867	added DNG 1.1.0.0 tags.
1868
1869	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
1870	bug
1871
1872	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
1873
1874	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
1875
18762005-03-17  Andrey Kiselev  <[email protected]>
1877
1878	* nmake.opt: Build with Win32 CRT library by default.
1879
1880	* tools/tiff2ps.c: Fixed typo in page size handling code.
1881
1882	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
1883	by value.
1884
1885	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
1886
18872005-03-15  Andrey Kiselev  <[email protected]>
1888
1889	* libtiff 3.7.2 released.
1890
18912005-03-09  Andrey Kiselev  <[email protected]>
1892
1893	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
1894	floating point data; complain on unsupported bit depths.
1895
18962005-03-05  Andrey Kiselev  <[email protected]>
1897
1898	* tif_stream.cxx: Use ios namespace instead of ios_base to support
1899	GCC 2.95.
1900
1901	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
1902	Lee Howard for HylaFax DCS tag
1903	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
1904
19052005-03-04  Andrey Kiselev  <[email protected]>
1906
1907	* configure, configure.ac: Use -rpath option instead of -R as per bug
1908
1909	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
1910
1911	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
1912	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
1913	software. As per bug
1914
1915	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
1916
1917	* nmake.opt, html/build.html: Add more comments, change the config
1918	file organization a bit as per bug
1919
1920	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
1921
1922	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
1923	as per bug
1924
1925	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
1926
19272005-03-03  Andrey Kiselev  <[email protected]>
1928
1929	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
1930	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
1931
1932	* tools/fax2ps.c: Replace insecure mktemp() function with the
1933	tmpfile() as per bug
1934
1935	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
1936
19372005-02-04  Andrey Kiselev  <[email protected]>
1938
1939	* libtiff/tiff.h: Changed the int8 definition to be always signed char
1940	as per bug
1941
1942	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
1943
1944	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
1945	block as per bug
1946
1947	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
1948
19492005-02-03  Bob Friesenhahn  <[email protected]>
1950
1951	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
1952	display more correctly.  Images display brighter than they should
1953	on a Sun workstation.
1954
19552005-02-03  Andrey Kiselev  <[email protected]>
1956
1957	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
1958	suspicious values in the tags. As per bugs
1959
1960	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
1961
1962	and
1963
1964	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
1965
1966	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
1967
1968	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
1969
19702005-01-31  Bob Friesenhahn  <[email protected]>
1971
1972	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
1973	(TIFFTAG_TILELENGTH): Corrected description.
1974
19752005-01-30  Andrey Kiselev  <[email protected]>
1976
1977	* configure.ac: Fixes for --with-docdir option as per bug
1978
1979	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
1980
1981	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
1982	bug
1983
1984	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
1985
1986	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
1987	Michael Rinne and Edward Lam.
1988
19892005-01-15  Andrey Kiselev  <[email protected]>
1990
1991	* configure.ac: Make the documentation directory location configurable
1992	via the --with-docdir option (as suggested by Jeremy C. Reed).
1993
1994	* libtiff/tif_color.c: Use double as the second argument of pow()
1995	function in TIFFCIELabToRGBInit(). As per bug
1996
1997	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
1998
1999	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
2000	integer as per bug
2001
2002	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
2003
2004	* libtiff/tif_getimage.c: Always fill the error message buffer in
2005	TIFFRGBAImageBegin() as per bug
2006
2007	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
2008
20092005-01-12  Andrey Kiselev  <[email protected]>
2010
2011	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
2012	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
2013	tags as per bug
2014
2015	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
2016
2017	* libtiff/tif_win32.c: Fixed message formatting in functions
2018	Win32WarningHandler() and Win32ErrorHandler() as per bug
2019
2020	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
2021
2022	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
2023	per bug
2024
2025	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
2026
20272005-01-11  Andrey Kiselev  <[email protected]>
2028
2029	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
2030	"C"' section as per bug
2031
2032	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
2033
2034	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
2035	compiler to avoid double definition of BSD types as per bug
2036
2037	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2038
2039	* libtiff/Makefile.am: Place the C++ stream API in the separate
2040	library called libtiffxx to avoid unneeded dependencies. Probably
2041	there will be more C++ API in the future. As per bugs
2042
2043	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
2044
2045	and
2046
2047	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2048
20492005-01-05  Andrey Kiselev  <[email protected]>
2050
2051	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
2052	wrong tag counts (Dmitry V. Levin, Martin Pitt).
2053
2054	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
2055	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2056
20572004-12-25  Andrey Kiselev  <[email protected]>
2058
2059	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
2060	RGB-images as per bug
2061
2062	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2063
2064
2065	* tools/tiffset.c: Convert character option to integer value as per
2066	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
2067
20682004-12-20  Andrey Kiselev  <[email protected]>
2069
2070	* libtiff 3.7.1 released.
2071
2072	* html/tiffset.1.html: Add missed manual page as per bug
2073
2074	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2075
2076	* libtiff/tiff.h: Revert back libtiff data type definitions as per
2077	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
2078
20792004-12-19  Andrey Kiselev  <[email protected]>
2080
2081	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
2082	checking for tag count in TIFFReadDirectory() function. As per bug
2083
2084	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2085
2086	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
2087	CheckMallock() function.
2088
2089	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
2090	RGB-images as per bug
2091
2092	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
2093
20942004-12-15  Frank Warmerdam  <[email protected]>
2095
2096	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
2097	SunPro compiler.
2098
20992004-12-11  Bob Friesenhahn  <[email protected]>
2100
2101	* autogen.sh: aclocal and autoheader should be executed after
2102	libtoolize.  Also add '-I .' to aclocal invocation to check
2103	current directory for macros.
2104
21052004-12-10  Andrey Kiselev  <[email protected]>
2106
2107	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
2108	as per bugs
2109
2110	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
2111
2112	and
2113
2114	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
2115
21162004-12-04  Andrey Kiselev  <[email protected]>
2117
2118	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
2119
2120	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2121
2122	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
2123	mode as per bug
2124
2125	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2126
2127	* libtiff/tif_config.in.vc: Removed unneded definitions for
2128	read/open/close/lseek functions to fix the
2129
2130	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
2131
21322004-12-03  Andrey Kiselev  <[email protected]>
2133
2134	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
2135	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
2136	must be removed in the future, as it was never used properly. As per
2137	bug
2138
2139	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
2140
21412004-11-30  Bob Friesenhahn  <[email protected]>
2142
2143	* libtiff/tif_jpeg.c: Added a work-around in order to allow
2144	compilation with the heavily modified version of libjpeg delivered
2145	with Cygwin.
2146
21472004-11-29  Andrey Kiselev  <[email protected]>
2148
2149	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
2150	counts. As per bug
2151
2152	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
2153
2154	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
2155
2156	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
2157
21582004-11-28  Andrey Kiselev  <[email protected]>
2159
2160	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
2161	on Windows.
2162
2163	* nmake.opt: Add missed DLLNAME variable.
2164
21652004-11-26  Frank Warmerdam  <[email protected]>
2166
2167	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
2168
21692004-11-24  Andrey Kiselev  <[email protected]>
2170
2171	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
2172	per bug
2173
2174	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
2175
2176	* man/tiffset.1: Added manual page for tiffset tool written by Jay
2177	Berkenbilt. As per bug
2178
2179	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2180
21812004-11-23  Frank Warmerdam  <[email protected]>
2182
2183	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
2184
21852004-11-21  Frank Warmerdam  <[email protected]>
2186
2187	* html/document.html: Updated Adobe web links as per email from Joris.
2188
21892004-11-21  Andrey Kiselev  <[email protected]>
2190
2191	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
2192	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
2193	use C++ streams should #include <tiffio.hxx>.
2194
21952004-11-13  Andrey Kiselev  <[email protected]>
2196
2197	* libtiff/tiff.h: Added Adobe DNG tags.
2198
2199	* libtiff/tif_win32.c: Typo fixed.
2200
2201	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
2202	be compliant with the latest standard. Appropriate additions in
2203	makefiles now completed.
2204
22052004-11-11  Andrey Kiselev  <[email protected]>
2206
2207	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
2208	different tag types. As per bug
2209
2210	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
2211
22122004-11-10  Andrey Kiselev  <[email protected]>
2213
2214	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
2215	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
2216
22172004-11-09  Andrey Kiselev  <[email protected]>
2218
2219	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
2220
22212004-11-07  Andrey Kiselev  <[email protected]>
2222
2223	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
2224	contributed by Edward Lam (see
2225	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
2226	Though no changes in any makefiles yet.
2227
22282004-11-05  Frank Warmerdam  <[email protected]>
2229
2230	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
2231	is bad. This is the callers responsibility.
2232	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
2233
22342004-11-05  Andrey Kiselev  <[email protected]>
2235
2236	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
2237	function to work with the double byte strings (used to represent
2238	filenames in some locales). As per bug
2239
2240	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
2241
2242	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
2243	Compression tags of type LONG from broken TIFFS as per bug
2244
2245	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2246
2247	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
2248	the writecount should have uint32 type. As per bug
2249
2250	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2251
2252	* libtiff/tif_write.c: Fixed wrong if() statement in
2253	TIFFAppendToStrip() function as per bug
2254
2255	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
2256
22572004-11-04  Andrey Kiselev  <[email protected]>
2258
2259	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
2260	field. The caller should supply a count when setting this field. As
2261	per bug
2262
2263	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
2264
2265	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
2266	uint32 count. Use this type everywhere.
2267
22682004-11-03  Frank Warmerdam  <[email protected]>
2269
2270	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
2271
22722004-11-02  Frank Warmerdam  <[email protected]>
2273
2274	* tools/tiff2rgba.c: removed extra newlines in usage message.
2275
22762004-10-30  Andrey Kiselev  <[email protected]>
2277
2278	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
2279
2280	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
2281	tags (Tristan Hill).
2282
22832004-10-30  Frank Warmerdam  <[email protected]>
2284
2285	* libtiff/tiffiop.h: added fallback definition of assert() if we
2286	don't have assert.h.
2287
22882004-10-29  Andrey Kiselev  <[email protected]>
2289
2290	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
2291	choosing when the incorrect Group4Options tag set. As per bug
2292
2293	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
2294
2295	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
2296	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
2297	TIFFWriteNormalTag().
2298
22992004-10-28  Andrey Kiselev  <[email protected]>
2300
2301	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
2302	tags (Peter Fales).
2303
2304	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
2305
23062004-10-28  Frank Warmerdam  <[email protected]>
2307
2308	* tools/tiff2pdf.c: added casts to avoid warnings.
2309
2310	* libtiff/libtiff.def: Added several more entry points required
2311	to link fax2tiff.c against the DLL on windows.
2312
23132004-10-27  Andrey Kiselev  <[email protected]>
2314
2315	* configure, configure.ac: Added --enable-rpath option to embed linker
2316	paths into library binary.
2317
23182004-10-26  Andrey Kiselev  <[email protected]>
2319
2320	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
2321
2322	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
2323	(Vladimir Nadvornik, Dmitry V. Levin).
2324
23252004-10-16  Andrey Kiselev  <[email protected]>
2326
2327	* libtiff 3.7.0 released.
2328
23292004-10-15  Bob Friesenhahn  <[email protected]>
2330
2331	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
2332	in this file so its inclusion is removed.  Including stdio.h
2333	sometimes incurs an INT32 typedef conflict between MinGW's
2334	basetsd.h and libjpeg's jmorecfg.h.
2335
23362004-10-15  Andrey Kiselev  <[email protected]>
2337
2338	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
2339
23402004-10-13  Bob Friesenhahn  <[email protected]>
2341
2342	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
2343	conflict noticed under MinGW.
2344	* ltmain.sh: Fix for MinGW compilation.
2345
23462004-10-13  Frank Warmerdam  <[email protected]>
2347
2348	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
2349	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
2350
23512004-10-12  Andrey Kiselev  <[email protected]>
2352
2353	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
2354	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
2355	properly (Dmitry V. Levin, Marcus Meissner).
2356
23572004-10-11  Andrey Kiselev  <[email protected]>
2358
2359	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
2360	to TIFF_IFD.
2361
23622004-10-10  Andrey Kiselev  <[email protected]>
2363
2364	* tools/bmp2tif.c: Check the space allocation results.
2365
23662004-10-09  Andrey Kiselev  <[email protected]>
2367
2368	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
2369	of the TIFFDirectory structure with the 0 instead of -1 to avoid
2370	confusing integer overflows in TIFFTileRowSize() for striped images.
2371
2372	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
2373	by Ross A. Finlayson.
2374
2375	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
2376
2377	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
2378
23792004-10-08  Frank Warmerdam  <[email protected]>
2380
2381	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
2382	of tif_fieldinfo.
2383
2384	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
2385
23862004-10-04  Bob Friesenhahn  <[email protected]>
2387
2388	* contrib/iptcutil/README: Added the missing README which goes
2389	along with iptcutil.
2390
23912004-10-03  Andrey Kiselev  <[email protected]>
2392
2393	* libtiff/tif_compress.c: Improved error reporting in
2394	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
2395
23962004-10-02  Andrey Kiselev  <[email protected]>
2397
2398	* libtiff 3.7.0beta2 released.
2399
2400	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
2401	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
2402	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
2403	allocations and	integer overflows (Dmitry V. Levin).
2404
2405	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
2406
24072004-10-01  Frank Warmerdam  <[email protected]>
2408
2409	* libtiff/tif_open.c: added a more informative message if a BigTIFF
2410	file is opened.
2411
24122004-09-30  Frank Warmerdam  <[email protected]>
2413
2414	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
2415	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
2416	in the Adobe XMP Specification.
2417
24182004-09-29  Andrey Kiselev  <[email protected]>
2419
2420	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
2421	memset().
2422
2423	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
2424	from Dmitry V. Levin to fix possible integer overflow problems.
2425
24262004-09-28  Andrey Kiselev  <[email protected]>
2427
2428	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
2429	(Dmitry V. Levin).
2430
24312004-09-26  Andrey Kiselev  <[email protected]>
2432
2433	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
2434	Optimize checking for the strip bounds.
2435
2436	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
2437	TIFFRasterScanlineSize() functions report zero in the case of integer
2438	overflow now. Properly handle this case in TIFFReadDirectory()
2439	(patches from Dmitry V. Levin).
2440
24412004-09-25  Andrey Kiselev  <[email protected]>
2442
2443	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
2444	macro where appropriate.
2445
2446	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
2447	noted by Gennady Khokhorin.
2448
2449	* libtiff/tif_dirread.c: Always check the return values, returned
2450	by the _TIFFmalloc() (Dmitry V. Levin).
2451
2452	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
2453	functions (Dmitry V. Levin).
2454
2455	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
2456	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
2457	TIFFGrowStrips() (found by Dmitry V. Levin).
2458
24592004-09-24  Andrey Kiselev  <[email protected]>
2460
2461	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
2462	to get the list of configured codecs.
2463
2464	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
2465	Dmitry V. Levin.
2466
24672004-09-23  Andrey Kiselev  <[email protected]>
2468
2469	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
2470	possible integer overflow in CheckMalloc() function.
2471
24722004-09-22  Andrey Kiselev  <[email protected]>
2473
2474	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
2475	of plain TIFFhowmany() where appropriate.
2476
24772004-09-21  Andrey Kiselev  <[email protected]>
2478
2479	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
2480
24812004-09-19  Andrey Kiselev  <[email protected]>
2482
2483	* libtiff 3.7.0beta released.
2484
2485	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
2486	overruns fixed, as noted by Chris Evans.
2487
24882004-09-14  Bob Friesenhahn  <[email protected]>
2489
2490	* commit: Added a script to make it more convenient to commit
2491	updates.  The CVS commit message is extracted from this ChangeLog
2492	file.
2493
24942004-09-14  Andrey Kiselev  <[email protected]>
2495
2496	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
2497	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
2498	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
2499	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
2500	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
2501	tif_config.h.in, tiffiop.h}:
2502	Get rid of BSD data types (u_char, u_short, u_int, u_long).
2503
25042004-09-13  Bob Friesenhahn  <[email protected]>
2505
2506	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
2507	specification. Reference libtiff bug tracking system to submit
2508	private tag additions.
2509
25102004-09-12  Bob Friesenhahn  <[email protected]>
2511
2512	* tools/tiffgt.c: Include "tif_config.h".
2513
2514	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
2515	tiffgt.  This results in the 'compile' script being added to the
2516	project.
2517
2518	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
2519	required to find OpenGL headers necessary to build tiffgt.  Also
2520	ensure that the libtiff that we built is used rather than some other
2521	libtiff installed on the system.
2522
25232004-09-12  Andrey Kiselev  <[email protected]>
2524
2525	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
2526	libraries.
2527
25282004-09-11  Bob Friesenhahn  <[email protected]>
2529
2530	* configure.ac: Pass library configuration defines via
2531	tif_config.h rather than extending CPPFLAGS. Configure a
2532	libtiff/tiffconf.h in order to satisfy application requirements
2533	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
2534	this causes failure to build on systems which properly respect
2535	this request.
2536
2537	* libtiff/tiffconf.h.in: New file to act as the template for the
2538	configured tiffconf.h
2539
2540	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
2541
25422004-09-10  Frank Warmerdam  <[email protected]>
2543
2544	* html/internals.html: Split off a discussion of adding new tags
2545	into addingtags.html.
2546
25472004-09-10  Andrey Kiselev  <[email protected]>
2548
2549	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
2550
2551	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
2552
2553	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2554
2555	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
2556
2557	* libtiff/tif_dirread.c: Don't reject to read tags of the
2558	SamplesPerPixel size when the tag count is greater than number of
2559	samples as per bug
2560
2561	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
2562
2563	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
2564	defining int8/uint8/... etc. types. As per bug
2565
2566	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
2567
25682004-09-09  Frank Warmerdam  <[email protected]>
2569
2570	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
2571	to avoid compile warnings about getopt() and a few other things.
2572
25732004-09-02  Andrey Kiselev  <[email protected]>
2574
2575	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
2576	assigning magic in TIFFFetchFloat().
2577
25782004-09-01  Andrey Kiselev  <[email protected]>
2579
2580	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
2581	to avoid requirement for tiffiop.h inclusion in some applications. See
2582	here
2583
2584	http://www.asmail.be/msg0054799560.html
2585
2586	for details.
2587
2588	* tools/fax2tiff.c: Use the new functions in the code.
2589
25902004-08-25  Andrey Kiselev  <[email protected]>
2591
2592	* tools/tiff2pdf.c: Initialize arrays properly.
2593
2594	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
2595	properly initialize array in PSDataBW().
2596
25972004-08-24  Andrey Kiselev  <[email protected]>
2598
2599	* tools/tiff2pdf.c: More fixes for bug
2600
2601	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2602
2603	from Ross Finlayson.
2604
26052004-08-23  Andrey Kiselev  <[email protected]>
2606
2607	* tools/tiff2ps.c: Fixed problem with uninitialized values.
2608
2609	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
2610	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
2611
2612	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
2613
2614	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2615
26162004-08-20  Andrey Kiselev  <[email protected]>
2617
2618	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
2619	that the input file has compression, photometric interpretation,
2620	etcetra, tags or if not than a more descriptive error is returned.
2621
2622	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
2623	code, responsible for tag data type checking.
2624
26252004-08-19  Andrey Kiselev  <[email protected]>
2626
2627	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
2628	variable as per bug
2629
2630	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
2631
26322004-08-16  Andrey Kiselev  <[email protected]>
2633
2634	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
2635	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
2636
26372004-08-01  Andrey Kiselev  <[email protected]>
2638
2639	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
2640	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
2641
26422004-07-24  Andrey Kiselev  <[email protected]>
2643
2644	* libtiff/tif_lzw.c: LZW compression code is merged back from the
2645	separate package. All libtiff tools are updated to not advertise an
2646	abcence of LZW support.
2647
26482004-07-12  Andrey Kiselev  <[email protected]>
2649
2650	* libtiff/tiffio.h: Revert thandle_t back to void* type.
2651
26522004-07-11  Andrey Kiselev  <[email protected]>
2653
2654	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
2655	messages, as suggested by Bernd Herd.
2656
26572004-07-03  Andrey Kiselev  <[email protected]>
2658
2659	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
2660	when setting custom tags by value. Reported by Eric Fieleke.
2661
26622004-06-14  Andrey Kiselev  <[email protected]>
2663
2664	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
2665
26662004-06-08  Andrey Kiselev  <[email protected]>
2667
2668	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
2669	into TIFFs.
2670
26712004-06-07  Andrey Kiselev  <[email protected]>
2672
2673	* libtiff 3.7.0alpha released.
2674
26752004-06-06  Andrey Kiselev  <[email protected]>
2676
2677	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
2678	of ugly 64-bit hacks, replace them with the clever (autoconf based )
2679	ones :-).
2680
2681	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
2682	problems in 64-bit environment).
2683
26842004-06-05  Andrey Kiselev  <[email protected]>
2685
2686	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
2687	Tags can be supplied by the mnemonic name or number.
2688
2689	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
2690	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
2691
26922004-05-27  Andrey Kiselev  <[email protected]>
2693
2694	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
2695	markers as per bug
2696
2697	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
2698
26992004-05-24  Andrey Kiselev  <[email protected]>
2700
2701	* tools/tiffsplit.c: Don't forget to copy Photometric
2702	Interpretation tag.
2703
27042004-05-20  Andrey Kiselev  <[email protected]>
2705
2706	* libtiff/{tif_open.c, tiffio.h}: New function added:
2707	TIFFIsBigEndian(). Function returns nonzero if given was file written
2708	in big-endian order.
2709
2710	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
2711	files. Now output files will be written using the same byte order
2712	flag as	in the input image. See
2713
2714	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
2715
2716	for details.
2717
27182004-05-19  Frank Warmerdam  <[email protected]>
2719
2720	* libtiff/tif_print.c: added (untested) support for printing
2721	SSHORT, SLONG and SRATIONAL fields.
2722
2723	* tools/tiffcp.c: close output file on normal exit.
2724
27252004-05-17  Andrey Kiselev  <[email protected]>
2726
2727	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
2728	if compression type mismatches. See
2729
2730	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
2731
27322004-04-30  Andrey Kiselev  <[email protected]>
2733
2734	* libtiff/tif_strip.c: Never return 0 from the
2735	TIFFNumberOfStrips().
2736
27372004-04-29  Andrey Kiselev  <[email protected]>
2738
2739	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
2740	store single SampleFormat value for multisampled images. See
2741
2742	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
2743
27442004-04-25  Andrey Kiselev  <[email protected]>
2745
2746	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
2747	int16 and int32 types to avoid complains on some compilers. Details at
2748
2749	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2750
27512004-04-20  Andrey Kiselev  <[email protected]>
2752
2753	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
2754
2755	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
2756
27572004-04-14  Andrey Kiselev  <[email protected]>
2758
2759	* libtiff/tif_write.c: Allow in-place updating of the compressed
2760	images (don't work properly with all codecs). For details see GDAL bug
2761
2762	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
2763
27642004-04-06  Andrey Kiselev  <[email protected]>
2765
2766	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
2767	in the Intergarph JPEG compressed TIFF images as per bug:
2768
2769	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
2770
27712004-04-04  Frank Warmerdam  <[email protected]>
2772
2773	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
2774	via bad2.
2775
27762004-03-26  Andrey Kiselev  <[email protected]>
2777
2778	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
2779	JPEG compression of grayscale images.
2780
2781	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
2782	present in the input image.
2783
27842004-03-19  Andrey Kiselev  <[email protected]>
2785
2786	* {many}: The first attempt to switch to autotools.
2787
27882004-03-03  Andrey Kiselev  <[email protected]>
2789
2790	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
2791	TIFFClientOpen() when the appropriate client functions was not
2792	supplied by user.
2793
27942004-03-02  Frank Warmerdam  <[email protected]>
2795
2796	* tools/ycbcr.c: fixed main() declaration as per:
2797	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
2798
27992004-02-26  Andrey Kiselev  <[email protected]>
2800
2801	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
2802	images. Reported by Artem Mirolubov.
2803
2804	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
2805	tag type in TIFFFetchNormalTag() as per bug
2806
2807	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
2808
28092004-02-17  Frank Warmerdam  <[email protected]>
2810
2811	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
2812	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
2813
28142004-02-05  Andrey Kiselev  <[email protected]>
2815
2816	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
2817	bug
2818
2819	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
2820
2821	But we need more work on fax codec to support update mode.
2822
28232004-01-30  Frank Warmerdam  <[email protected]>
2824
2825	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
2826	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
2827	Scott Reynolds.
2828
28292004-01-29  Andrey Kiselev  <[email protected]>
2830
2831	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
2832	and TIFFTAG_INDEXED as per bug
2833
2834	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
2835
2836	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
2837	NULL before proceeding further as per bug
2838
2839	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
2840
2841	Check results, returned by the TIFFFdOpen() before returning and close
2842	file if TIFFFdOpen() failed as per bug
2843
2844	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2845
2846	* libtiff/tif_open.c: More fixes for
2847
2848	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2849
28502004-01-28  Andrey Kiselev  <[email protected]>
2851
2852	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
2853	TIFFCleanup() from the TIFFClose() in order to fix the bug
2854
2855	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
2856
2857	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
2858	InkNames tag as per bug
2859
2860	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
2861
2862	Memory leak fixed.
2863
28642004-01-21  Frank Warmerdam  <[email protected]>
2865
2866	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
2867	are field_passcount=TRUE properly.  Arguably anonymous custom tags
2868	should be declared as passcount=FALSE, but I don't want to change
2869	that without a careful review.
2870
28712004-01-20  Andrey Kiselev  <[email protected]>
2872
2873	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
2874	stripped image in TIFFWriteBufferSetup(). As per bug
2875
2876	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
2877
28782004-01-11  Andrey Kiselev  <[email protected]>
2879
2880	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
2881	patch from Gerben Koopmans.
2882
2883	* libtiff/tif_dirread.c: Check field_passcount value before setting
2884	the value of undefined type, patch from Gerben Koopmans.
2885
28862004-01-02  Andrey Kiselev  <[email protected]>
2887
2888	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
2889	non-RGB images.
2890
28912003-12-31  Andrey Kiselev  <[email protected]>
2892
2893	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
2894	pointer passed. Patch supplied by Larry Grill.
2895
2896	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
2897	suggested by Jeremy C. Reed.
2898
28992003-12-26  Andrey Kiselev  <[email protected]>
2900
2901	* libtiff 3.6.1 released.
2902
29032003-12-24  Andrey Kiselev  <[email protected]>
2904
2905	* config.guess, config.sub: Updated from the recent upstream.
2906
29072003-12-22  Andrey Kiselev  <[email protected]>
2908
2909	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
2910	More cleanups in color conversion interface, added appropriate manual
2911	page.
2912
29132003-12-19  Andrey Kiselev  <[email protected]>
2914
2915	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
2916	per bug
2917
2918	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
2919
2920	* tools/tiff2ps.c: Added support for alpha channel. Fixes
2921
2922	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
2923
2924	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
2925	Interface for Lab->RGB color conversion is finally cleaned up.
2926	Added support for ReferenceBlackWhite tag handling when converted from
2927	YCbCr color space. The latter closes
2928
2929	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
2930
29312003-12-07  Andrey Kiselev  <[email protected]>
2932
2933	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
2934
2935	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
2936	library.
2937
29382003-12-06  Andrey Kiselev  <[email protected]>
2939
2940	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
2941	file and properly use it for CIE Lab->RGB transform.
2942
29432003-12-04  Andrey Kiselev  <[email protected]>
2944
2945	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
2946	conversion routines now in the tif_color.c module. New function
2947	TIFFYCbCrtoRGB() available in TIFF API.
2948
2949	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
2950
29512003-12-03  Andrey Kiselev  <[email protected]>
2952
2953	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
2954	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
2955	module.
2956
2957	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
2958	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
2959	Finally resolved problems with orientation handling. TIFFRGBAImage
2960	interface now properly supports all possible orientations, i.e. images
2961	will be flipped both in horizontal and vertical directions if
2962	required. 'Known bugs' section now removed from the appropriate manual
2963	pages. Closed bug entry:
2964
2965	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
2966
29672003-12-02  Andrey Kiselev  <[email protected]>
2968
2969	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
2970	function calls as per bug
2971
2972	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
2973
29742003-11-28 Ross Finlayson  <[email protected]>
2975
2976	* tools/tiff2pdf.c:  Some bugs fixed.
2977
29782003-11-27  Andrey Kiselev  <[email protected]>
2979
2980	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
2981	reported by Antonio Scuri.
2982
2983	* man/tiff2pdf.1: Few improvements in page layout.
2984
2985	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
2986	 Added support fpr tiff2pdf manual page.
2987
29882003-11-26 Ross Finlayson  <[email protected]>
2989
2990	* /man/tiff2pdf.1:  File added to repository.
2991
29922003-11-26  Andrey Kiselev  <[email protected]>
2993
2994	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
2995	 Added support fpr tiff2pdf utility.
2996
29972003-11-25  Ross Finlayson  <[email protected]>
2998
2999	* /tools/tiff2pdf.c:  File added to repository.
3000
30012003-11-22  Andrey Kiselev  <[email protected]>
3002
3003	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
3004
30052003-11-21  Andrey Kiselev  <[email protected]>
3006
3007	* /tools/raw2tiff.c: #include <getopt.h> removed.
3008
3009	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
3010	sgigt utility removed and replaced with the completely rewritten
3011	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
3012	there is a lot of things to improve.
3013
3014	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
3015	extract the fields from the OJPEG files. Patch supplied by Ross
3016	Finlayson.
3017
3018	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
3019	Added new function TIFFIsCODECConfigured(), suggested by Ross
3020	Finlayson.
3021
30222003-11-18  Andrey Kiselev  <[email protected]>
3023
3024	* libtiff/tif_dirinfo.c: Implemented binary search in
3025	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
3026
3027	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
3028	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
3029
30302003-11-17  Frank Warmerdam  <[email protected]>
3031
3032	* tif_dirread.c: do not mark all anonymously defined tags to be
3033	IGNOREd.
3034
30352003-11-17  Andrey Kiselev  <[email protected]>
3036
3037	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
3038	TIFFDataWidth() function insted of tiffDataWidth array.
3039
30402003-11-16  Andrey Kiselev  <[email protected]>
3041
3042	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
3043	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
3044
30452003-11-15  Frank Warmerdam  <[email protected]>
3046
3047	* Makefile.in: fixed missing backslash for tif_color.c in list.
3048
30492003-11-13  Andrey Kiselev  <[email protected]>
3050
3051	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
3052	New color space conversion code: CIE L*a*b* 1976 images now supported
3053	by the TIFFRGBAImage interface. All introduced routines go to new
3054	module tif_color.c. Eventually all color conversion functions should
3055	be moved there.
3056
30572003-11-12  Andrey Kiselev  <[email protected]>
3058
3059	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
3060	with the reverse byte order (it is reported by the magic header
3061	field). Problem reported by Andreas Wiesmann.
3062
3063	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
3064	calculation function. Guessing mechanics now documented in manual page.
3065
30662003-11-11  Andrey Kiselev  <[email protected]>
3067
3068	* tools/raw2tiff.c: Implemented image size guessing using
3069	correlation coefficient calculation between two neighbour lines.
3070
30712003-11-09  Frank Warmerdam  <[email protected]>
3072
3073	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
3074	planarconfig_contig case in TIFFComputeTile().
3075
3076	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
3077
30782003-11-09  Andrey Kiselev  <[email protected]>
3079
3080	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
3081
30822003-11-07  Andrey Kiselev  <[email protected]>
3083
3084	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
3085	Added TIFFRawStripSize() function as suggested by Chris Hanson.
3086
30872003-11-03  Andrey Kiselev  <[email protected]>
3088
3089	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
3090	per bug
3091
3092	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
3093
30942003-10-29  Andrey Kiselev  <[email protected]>
3095
3096	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
3097
3098	* html/build.html: Added note about GNU make requirement.
3099
31002003-10-25  Andrey Kiselev  <[email protected]>
3101
3102	* Makefile.in: Fixes in using MAKEFLAGS as per bug
3103
3104	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
3105
3106	* port/install.sh.in: Option -p added to the mkdir command to create
3107	all directory tree structure before installing.
3108
31092003-10-18  Andrey Kiselev  <[email protected]>
3110
3111	* /tools/tiff2ps.c: #include <strings.h> replaced with the
3112	#include <string.h>.
3113
31142003-10-16  Andrey Kiselev  <[email protected]>
3115
3116	* Makefile.in: Add an absolute path to the test_pics.sh call.
3117
31182003-10-12  Andrey Kiselev  <[email protected]>
3119
3120	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
3121	typedefs.
3122
31232003-10-09  Andrey Kiselev  <[email protected]>
3124
3125	* configure, libtiff/{Makefile.in, mkversion.c}:
3126	Relative buildings fixed.
3127
3128	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
3129	rule.
3130
31312003-10-07  Andrey Kiselev  <[email protected]>
3132
3133	* Makefile.in: Added missed v3.6.0.html.
3134
3135	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
3136	ORIENTATION_BOTLEFT.
3137
31382003-10-04  Andrey Kiselev  <[email protected]>
3139
3140	* 3.6.0 final release.
3141
31422003-10-03  Andrey Kiselev  <[email protected]>
3143
3144	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
3145	function TIFFReadRGBAImageOriented() implemented to retrieve raster
3146	array with user-specified origin position as suggested by Jason Frank.
3147	See
3148
3149	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
3150
3151	for details.
3152
3153	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
3154	instead of TIFFReadRGBAImage().
3155
3156	* tools/tiff2ps.c: Fixed possible endless loop as per bug
3157
3158	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
3159
31602003-09-30  Andrey Kiselev  <[email protected]>
3161
3162	* libtiff/tif_dirread.c: Check field counter against number of fields
3163	in order to fix
3164
3165	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
3166
3167	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
3168
3169	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
3170
31712003-09-25  Andrey Kiselev  <[email protected]>
3172
3173	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
3174	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
3175
3176	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
3177
31782003-09-23  Andrey Kiselev  <[email protected]>
3179
3180	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
3181
3182	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3183
31842003-08-21  Andrey Kiselev  <[email protected]>
3185
3186	* tools/tiffmedian.c: int declaration replaced with the uint32 to
3187	support large images as per bug
3188
3189	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
3190
31912003-08-12  Andrey Kiselev  <[email protected]>
3192
3193 	* libtiff/Makefile.in: Fixed problem with building in different
3194	directory.
3195
3196	* tools/tiff2ps.c: Added missing #include <strings.h>.
3197
3198	* libtiff/tif_dirwrite.c: More fixes for custom tags code
3199	from Ashley Dreier.
3200
32012003-08-07  Andrey Kiselev  <[email protected]>
3202
3203	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
3204	Patch submitted by Balatoni Denes (with corrections from Tom
3205	Kacvinsky).
3206
3207	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
3208	being used. Reported by Tom Kacvinsky.
3209
3210	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
3211	reported by Ashley Dreier.
3212
3213	* libtiff/tif_print.c: Fixed problem with float tags reading, support
3214	for printing RATIONAL and BYTE tags added.
3215
32162003-08-05  Andrey Kiselev  <[email protected]>
3217
3218	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
3219	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
3220	problems with predictor initialization. Remove O_RDONLY check during
3221	state block allocation to be able open LZW compressed files in update
3222	mode.
3223
3224	Problem exist for libtiff version of the tif_lzw.c module. One from
3225	lzw-compression-kit hasn't such troubles.
3226
32272003-08-04  Frank Warmerdam  <[email protected]>
3228
3229	* libtiff/tif_write.c: modified tif_write.c so that the various
3230	encoded write functions use tif_postdecode() to apply byte order
3231	swapping (swab) to the application passed data buffer if the same
3232	would be done when reading.  This allows us to write pixel data with
3233	more than 8 bits per sample to existing files of a non-native byte
3234	order.  One side effect of this change is the applications buffer
3235	itself is altered in this case by the act of writing.
3236
3237	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
3238
32392003-07-25  Frank Warmerdam  <[email protected]>
3240
3241	* libtiff/tif_open.c: avoid signed/unsigned casting warning
3242	initializing typemask as per patch from J.A. Strother.
3243
3244	* tools/tiffcp.c: fixed signed/unsigned casting warning.
3245
3246	* libtiff/tif_print.c: dos2unix conversion.
3247
3248	* tools/tiffsplit.c: increased the maximum number of pages that
3249	can be split.  Patch provided by Andrew J. Montalenti.
3250
32512003-07-11  Andrey Kiselev  <[email protected]>
3252
3253	* tools/raw2tiff.c: Added option `-p' to explicitly select color
3254	space of input image data. Closes
3255
3256	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
3257
32582003-07-08  Frank Warmerdam  <[email protected]>
3259
3260	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
3261	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
3262	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
3263	avoid casting warning at /W4.
3264
32652003-07-03  Andrey Kiselev  <[email protected]>
3266
3267	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
3268
32692003-06-30  Andrey Kiselev  <[email protected]>
3270
3271	* libtiff/tif_pixarlog.c: Unused variables removed.
3272
3273	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
3274	EstimateStripByteCounts() as per bug
3275
3276	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3277
3278	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
3279	64-bit architectures as per bug
3280
3281	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
3282
3283	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
3284	unknown data type.
3285
32862003-06-19  Frank Warmerdam  <[email protected]>
3287
3288	* libtiff/tif_print.c: fixed some serious bugs when printing
3289	custom tags ... almost certain to crash.
3290
3291	* libtiff/tif_dirread.c: Don't ignore custom fields that are
3292	autodefined.  Not sure how this got to be like this.
3293
32942003-06-18  Andrey Kiselev  <[email protected]>
3295
3296	* 3.6.0 Beta2 released.
3297
3298	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
3299	comparing as per bug
3300
3301	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
3302
3303	`-z' option now can be used to set the number of reported different
3304	bytes.
3305
33062003-06-09  Andrey Kiselev  <[email protected]>
3307
3308	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
3309	to -r option to get the entire image as one strip. See
3310
3311	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3312
3313	for details.
3314
33152003-06-04  Andrey Kiselev  <[email protected]>
3316
3317	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
3318	values as per bug
3319
3320	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3321
33222003-05-27  Frank Warmerdam  <[email protected]>
3323
3324	* libtiff/tif_jpeg.c: modified segment_height calculation to always
3325	be a full height tile for tiled images.  Also changed error to just
3326	be a warning.
3327
33282003-05-25  Andrey Kiselev  <[email protected]>
3329
3330	* tools/fax2tiff.c: Page numbering fixed, as per bug
3331
3332	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
3333
33342003-05-20  Andrey Kiselev  <[email protected]>
3335
3336	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3337	configure, Makefile.in:	Switched back to the old behaviour. Likely
3338	better solution should be found for OJPEG support.
3339
33402003-05-11  Andrey Kiselev  <[email protected]>
3341
3342	* libtiff/mkversion.c: Fixed problem with wrong string size when
3343	reading RELEASE-DATE file.
3344
33452003-05-07  Andrey Kiselev  <[email protected]>
3346
3347	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
3348	index was out of range.
3349
33502003-05-06  Andrey Kiselev  <[email protected]>
3351
3352	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3353	configure, Makefile.in:	Improved libtiff compilation with OJPEG
3354	support. Now no need for patching IJG JPEG library, hack requred by
3355	libtiff will be compiled and used in-place. Implemented with
3356	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
3357
3358	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
3359	TIFFVGetFieldDefaulted() function.
3360
33612003-05-05  Andrey Kiselev  <[email protected]>
3362
3363	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
3364	comments.
3365
3366	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
3367	was not copied from source image.
3368
3369	* libtiff/getimage.c: Workaround for some images without correct
3370	info about alpha channel as per bug
3371
3372	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
3373
33742003-04-29  Andrey Kiselev  <[email protected]>
3375
3376	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
3377	It basically allows one to use the /flateDecode filter for ZIP
3378	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
3379
3380	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
3381
3382	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
3383	as per bug
3384
3385	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
3386
33872003-04-17  Andrey Kiselev  <[email protected]>
3388
3389	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
3390	due to problems with multidirectory images. Quality of error messages
3391	improved.
3392
33932003-04-16  Andrey Kiselev  <[email protected]>
3394
3395	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
3396	encoded images. See bug entries
3397
3398	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
3399
3400	and
3401
3402	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3403
3404	* libtiff/tif_dirread.c: Additional check for StripByteCounts
3405	correctness. Fixes
3406
3407	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3408
34092003-03-12  Andrey Kiselev  <[email protected]>
3410
3411	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
3412	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
3413	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
3414	tiffmedian.c}: Added library version reporting facility to all tools.
3415
34162003-03-06  Frank Warmerdam  <[email protected]>
3417
3418	* port/install.sh.in: Fixed problems with install producing paths
3419	like ///usr/local/lib on cygwin.
3420
34212003-02-27  Andrey Kiselev  <[email protected]>
3422
3423	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
3424	raw input page. Patch supplied by Julien Gaulmin. See
3425
3426	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
3427
3428	for details.
3429
34302003-02-26  Frank Warmerdam  <[email protected]>
3431
3432	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
3433	responsible for byte swapping complex image data.
3434
3435	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
3436	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
3437
34382003-02-07  Andrey Kiselev  <[email protected]>
3439
3440	* tools/ppm2tiff.c: Fixed problem with too many arguments.
3441
34422003-02-04  Andrey Kiselev  <[email protected]>
3443
3444	* tools/raw2tiff.c: Memory leak fixed.
3445
34462003-02-03  Andrey Kiselev  <[email protected]>
3447
3448	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
3449	(thanks, Julien!). More switches for fax2tiff tool for better control
3450	of input and output. Details at
3451
3452	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
3453
34542003-02-03  Frank Warmerdam  <[email protected]>
3455
3456	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
3457	library so that we can check if there is already any tile/strip data
3458	before deciding between creating a compressor or a decompressor.
3459
34602003-01-31  Frank Warmerdam  <[email protected]>
3461
3462	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
3463	a pre-existing compressed image.  That is, image writing to
3464	pre-existing compressed images is not allowed.
3465
3466	* libtiff/tif_open.c: Removed error if opening a compressed file
3467	in update mode.
3468
3469	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
3470
34712003-01-31  Andrey Kiselev  <[email protected]>
3472
3473	* config.guess, config.sub: Updated to recent upstream versions.
3474
34752003-01-15  Frank Warmerdam  <[email protected]>
3476
3477	* cut 3.6.0 Beta release.
3478
34792002-12-20  Andrey Kiselev  <[email protected]>
3480
3481	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
3482	in wrong way as per bug
3483
3484	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
3485
34862002-12-17  Frank Warmerdam  <[email protected]>
3487
3488	* libtiff/tif_dirread.c: Allow wrong sized arrays in
3489	TIFFFetchStripThing().
3490
3491	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
3492
34932002-12-02  Frank Warmerdam  <[email protected]>
3494
3495	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
3496	Was using realloc even first time.  Fix by Igor Venevtsev.
3497
34982002-11-30  Frank Warmerdam  <[email protected]>
3499
3500	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
3501	field value.
3502
3503	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
3504	tags in TIFFVGetField() ... added missing break.
3505
35062002-10-14  Frank Warmerdam  <[email protected]>
3507
3508	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
3509	the scanline buffer long enough when writing rgb triplets.
3510	The scanline needs to be 3 X the number of dots or else it will
3511	contain	an incomplete triplet and programs that try to separate
3512	the eps by redefining the colorimage operator will get messed up.
3513	Patch supplied by William Bader.
3514
3515	* Makefile.in: added tif_extension.c to file list as per
3516	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
3517
35182002-10-11  Andrey Kiselev  <[email protected]>
3519
3520	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
3521	large files (>2GiB) supporting. New option in the config.site:
3522	LARGEFILE="yes". Should be enough for I/O of the large files.
3523
35242002-10-10  Frank Warmerdam  <[email protected]>
3525
3526	* libtiff/html/v3.6.0.html: new release notes.
3527
3528	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
3529	link for Andrey.  Pointer to v3.6.0.html.
3530
3531	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
3532
35332002-10-07  Andrey Kiselev  <[email protected]>
3534	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
3535	(thanks, Sebastian!). New switches:
3536	-b # for a bottom margin of # inches
3537	-c   center image
3538	-l # for a left margin of # inches
3539	-r   rotate the image by 180 degrees
3540	New features merged with code for shrinking/overlapping.
3541	Previously added -c and -n switches (for overriding PS units) renamed
3542	in -x and -y respectively.
3543
3544	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
3545
3546	* html/man/*.html: Updated from actual manual pages.
3547
35482002-10-06  Frank Warmerdam  <[email protected]>
3549
3550	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
3551	size on windows.  Use #define boolean hack.
3552
3553	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
3554
3555	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
3556	USING_VISUALAGE is defined.
3557
3558	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3559
35602002-10-03  Frank Warmerdam  <[email protected]>
3561
3562	* libtiff/tiff.h: added COMPRESSION_JP2000.
3563
35642002-10-02  Andrey Kiselev  <[email protected]>
3565
3566	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
3567	by the TIFFFetchByteArray() function. Should finally resolve
3568
3569	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3570
3571	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
3572
3573	* html/Makefile.in: New targets added: html and groffhtml for
3574	producing HTML representations of the manual pages automatically.
3575	html target uses man2html tool, groffhtml uses groff tool.
3576
35772002-09-29  Frank Warmerdam  <[email protected]>
3578
3579	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
3580	from John H. DuBois III.
3581
35822002-09-15  Andrey Kiselev  <[email protected]>
3583
3584	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
3585	manual page for raw2tiff(1) tool.
3586
35872002-09-12  Andrey Kiselev  <[email protected]>
3588
3589	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
3590	the tiffio.h header file.
3591
3592	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
3593	manual page for TIFFDataWidth() function
3594
35952002-09-08  Frank Warmerdam  <[email protected]>
3596
3597	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
3598	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
3599
3600	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
3601	since we are unable to properly include the amount to skip.
3602
3603	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
3604
36052002-09-02  Andrey Kiselev  <[email protected]>
3606
3607	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
3608	in TIFFFetchByteArray(). Problem described at
3609	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3610
36112002-08-22  Andrey Kiselev  <[email protected]>
3612
3613	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
3614	in _TIFFSetupFieldInfo() function.
3615	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
3616
3617	* /libtiff/tif_lzw.c: Additional consistency checking added in
3618	LZWDecode() and LZWDecodeCompat().
3619	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
3620	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3621
3622	* /libtiff/tif_lzw.c:
3623	Added check for valid code lengths in LZWDecode() and
3624	LZWDecodeCompat(). Fixes
3625	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
3626
36272002-08-16  Andrey Kiselev  <[email protected]>
3628
3629	* /libtiff/{Makefile.vc, libtiff.def}:
3630	Missed declarations added.
3631
36322002-08-15  Frank Warmerdam  <[email protected]>
3633
3634	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
3635	return code from the underlying pick function.
3636
3637	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
3638
3639	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
3640	with FIELD_CUSTOM as mentioned in bug 169.
3641
3642	* tif_close.c: added logic to free dynamically created anonymous
3643	field definitions to correct a small memory leak.
3644
3645	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
3646
36472002-08-10  Andrey Kiselev  <[email protected]>
3648
3649	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
3650	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
3651
36522002-07-31  Frank Warmerdam  <[email protected]>
3653
3654	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
3655	JPEGDecode() as per bugzilla bug (issue 1):
3656
3657	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3658
3659	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
3660	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
3661	present in the tiff tags.
3662
3663	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
3664
3665	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
3666	TIFFWriteScanline() now set tif_row explicitly in case the codec has
3667	fooled with the value.
3668
3669	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3670
36712002-06-22  Andrey Kiselev  <[email protected]>
3672
3673	* /tools/tiff2ps.c: Added workaround for some software that may crash
3674	when last strip of image contains fewer number of scanlines than
3675	specified by the `/Height' variable. See
3676	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
3677	for explanation.
3678
36792002-06-21  Andrey Kiselev  <[email protected]>
3680
3681	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
3682	splitting long images in several pages. See
3683	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
3684	Patch granted by John Williams <[email protected]>.
3685
36862002-06-11  Frank Warmerdam  <[email protected]>
3687
3688	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
3689	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
3690	This one is described in:
3691
3692	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
3693
3694	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
3695
3696	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
3697
36982002-05-10  Andrey Kiselev  <[email protected]>
3699
3700	* tools/tiff2ps: New commandline switches to override resolution
3701	units obtained from the input file. Closes
3702	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
3703
37042002-04-26  Andrey Kiselev  <[email protected]>
3705
3706	* libtiff/libtiff.def: Added missed declaration.
3707
37082002-04-22  Andrey Kiselev  <[email protected]>
3709
3710	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
3711	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
3712
37132002-04-20  Andrey Kiselev  <[email protected]>
3714
3715	* libtiff/tif_open.c: Pointers to custom procedures
3716	in TIFFClientOpen() are checked to be not NULL-pointers.
3717
37182002-04-18  Andrey Kiselev  <[email protected]>
3719
3720	* libtiff/libtiff.def: Added missed declarations.
3721
3722	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
3723
37242002-04-16  Andrey Kiselev  <[email protected]>
3725
3726	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
3727	Should finally close
3728	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3729
37302002-04-10  Andrey Kiselev  <[email protected]>
3731
3732	* tools/tiff2ps: Division by zero fixed.
3733	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
3734
37352002-04-09  Andrey Kiselev  <[email protected]>
3736
3737	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
3738	TIFFCheckpointDirectory() routine added.
3739	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
3740
3741	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
3742	for the new function.
3743
37442002-04-08  Andrey Kiselev  <[email protected]>
3745
3746	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
3747	additional members tif->tif_decodestatus and tif->tif_encodestatus
3748	for correct handling of unconfigured codecs (we should not try to read
3749	data or to define data size without correct codecs).
3750
3751	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
3752	changed. Now it has used tif->tif_decodestatus and
3753	tif->tif_encodestatus.
3754	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
3755	case of __cvs_8.tif test image).
3756
3757	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
3758	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
3759	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
3760	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
3761
37622002-04-04  Andrey Kiselev  <[email protected]>
3763
3764	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
3765	replaced by warnings. Now libtiff should read corrupted LZW-compressed
3766	files by skipping bad strips.
3767	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3768
37692002-04-03  Frank Warmerdam  <[email protected]>
3770
3771	* libtiff/tif_dirwrite.c: Removed some dead code.
3772
3773	* libtiff/*: Cleanup some warnings.
3774
3775	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
3776	for variable length FIELD_CUSTOM values.  Was int * but should be
3777	u_short *.
3778
37792002-04-01  Andrey Kiselev  <[email protected]>
3780
3781	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
3782	utility (at cpStripToTile routine).
3783
37842002-03-27  Frank Warmerdam  <[email protected]>
3785
3786	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
3787
3788	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
3789
3790	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
3791	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
3792
3793	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
3794	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
3795
37962002-03-26  Dwight Kelly  <[email protected]>
3797
3798	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
3799	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
3800	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
3801	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
3802	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
3803	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
3804
38052002-03-26  Andrey Kiselev  <[email protected]>
3806
3807	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
3808	now also uses TIFFRGBAImageOK before reading. This is additional fix
3809	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
3810
38112002-03-25  Andrey Kiselev  <[email protected]>
3812
3813	* libtiff/: tif_getimage.c: Additional check for supported
3814	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
3815	TIFFRGBAImageOK before reading.
3816	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
3817
38182002-03-15  Andrey Kiselev  <[email protected]>
3819
3820	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
3821	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
3822	TIFFDataType sizes instead of working with tiffDataWidth array
3823	directly. Should prevent out-of-borders bugs in case of unknown or
3824	broken data types.  EstimateStripByteCounts routine modified, so it
3825	won't work when tags with uknown sizes founded.
3826	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
3827
38282002-03-13  Andrey Kiselev  <[email protected]>
3829
3830	* libtiff/tif_getimage.c: Added support for correct handling
3831	`Orientation' tag in gtTileContig. Should be added in other gt*
3832	functions as well, but I have not images for testing yet. Partially
3833	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3834
38352002-03-10  Andrey Kiselev  <[email protected]>
3836
3837	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
3838	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
3839	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
3840	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
3841
38422002-03-08  Andrey Kiselev  <[email protected]>
3843
3844	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
3845	be stripped when installing, utility binaries will do.	Closes
3846	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
3847
38482002-02-28  Frank Warmerdam  <[email protected]>
3849
3850	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
3851
3852	* man/libtiff.3t: added copyright tag info.
3853
38542002-02-11  Frank Warmerdam  <[email protected]>
3855
3856	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
3857
3858	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
3859
3860	* man/Makefile.in: Patch DESTDIR handling
3861
3862	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
3863
3864	* configure: OpenBSD changes for Sparc64 and DSO version.
3865
3866	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
3867
38682002-02-05  Frank Warmerdam  <[email protected]>
3869
3870	* config.site/configure: added support for OJPEG=yes option to enable
3871	OJPEG support from config.site.
3872
38732002-01-27  Frank Warmerdam  <[email protected]>
3874
3875	* html/document.html: fixed links for TIFf 6 docs.
3876
38772002-01-18  Frank Warmerdam  <[email protected]>
3878
3879	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
3880
3881	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
3882	decodestrip function returns anything not greater than zero as per
3883	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
3884
3885	* configure: Modify CheckForBigEndian so it can work in a cross
3886	compiled situation.
3887
38882002-01-16  Frank Warmerdam  <[email protected]>
3889
3890	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
3891
3892	* tools/tiffset.c: fix bug in error reporting.
3893
3894	* tools/tiffcp.c: fix several warnings that show up with -Wall.
3895
38962002-01-04  Frank Warmerdam  <[email protected]>
3897
3898	* libtiff/tif_jpeg.c: fixed computation of segment_width for
3899	tiles files to avoid error about it not matching the
3900	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
3901	size.") for ITIFF files.  Apparently the problem was incorporated since
3902	3.5.5, presumably during the OJPEG/JPEG work recently.
3903
39042001-12-15  Frank Warmerdam  <[email protected]>
3905
3906	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
3907
3908	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
3909
3910	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
3911	(defined in tiffconf.h - 1 by default) then the RGBA interface
3912	will assume that a fourth extra sample is ASSOCALPHA if the
3913	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
3914	the library, but makes it work better with RGBA files produced by
3915	lots of applications that don't mark the alpha values properly.
3916
3917	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
3918	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
3919
39202001-12-12  Frank Warmerdam  <[email protected]>
3921
3922	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
3923	override those from tiff directory.  This makes this work with
3924	ImageGear generated files.
3925
39262001-12-07  Frank Warmerdam  <[email protected]>
3927
3928	* html/Makefile.in: added missing images per bug 92.
3929
3930	* port/Makefile.in: fixed clean target per bug 92.
3931
39322001-11-28  Frank Warmerdam  <[email protected]>
3933
3934	* Reissue 3.5.7 release.
3935
3936	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
3937	YYYYMMDD so that it is increasing over time.
3938
3939	* Makefile.in: Ensure that tiffvers.h is regenerated in the
3940	make release target.
3941
3942	* Makefile.in: added libtiff/tiffvers.h to the release file list.
3943
39442001-11-23  Frank Warmerdam  <[email protected]>
3945
3946	* added html/v3.5.7.html, updated html/index.html.
3947
3948	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
3949
39502001-11-15  Frank Warmerdam  <[email protected]>
3951
3952	* configure: fixed test for -lm.
3953
39542001-11-02  Frank Warmerdam  <[email protected]>
3955
3956	* Added PHOTOMETRIC_ITULAB as per bug 90.
3957
3958	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
3959
39602001-10-10  Frank Warmerdam  <[email protected]>
3961
3962	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
3963	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
3964	in keeping with TIFF 6.0 standard in tiff.h
3965
3966	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
3967
39682001-09-26  Frank Warmerdam  <[email protected]>
3969
3970	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
3971	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
3972
39732001-09-24  Frank Warmerdam  <[email protected]>
3974
3975	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
3976
3977	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
3978
3979	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
3980	error about LZW not being available.
3981
3982	* libtiff/tif_dir.c: propagate failure to initialize compression
3983	back from TIFFSetField() as an error status, so applications can
3984	detect failure.
3985
3986	* libtiff/tif_dir.c: removed the auto replacement of
3987	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
3988
3989	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
3990	from CVS as they are all supposed to be auto-generated by configure.
3991
39922001-09-22  Frank Warmerdam  <[email protected]>
3993
3994	* libtiff/tif_ojpeg.c: new update from Scott.
3995
39962001-09-09  Frank Warmerdam  <[email protected]>
3997
3998	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
3999	always use the "safe" version, even if there is a very slight
4000	cost in performance.
4001
4002	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
4003
4004	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
4005	in two places.
4006
4007	* libtiff/tif_getimage.c: Fixed problem with reading strips or
4008	tiles that don't start on a tile boundary.  Fix contributed by
4009	Josep Vallverdu (from HP), and further described in bug 47.
4010
4011	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
4012
4013	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
4014
4015	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
4016
40172001-09-06  Frank Warmerdam  <[email protected]>
4018
4019	* libtiff/tif_packbits.c: fixed memory overrun error.
4020
4021	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
4022
40232001-08-31  Frank Warmerdam  <[email protected]>
4024
4025	* libtiff/tif_getimage.c: relax handling of contig case where
4026	there are extra samples that are supposed to be ignored.  This
4027	should now work for 8bit greyscale or palletted images.
4028
4029	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
4030
40312001-08-28  Frank Warmerdam  <[email protected]>
4032
4033	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
4034	images with more than four samples per pixel.  See:
4035
4036	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
4037
40382001-08-10  Frank Warmerdam  <[email protected]>
4039
4040	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
4041	in TIFFReadRGBATile() to avoid issues in cases of overlapping
4042	buffers.  See Bug 69 in Bugzilla.
4043
4044	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
4045
4046	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
4047
40482001-08-09  Frank Warmerdam  <[email protected]>
4049
4050	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
4051	when checking for 64 bit architectures as per bugzilla bug 67.
4052
40532001-07-27  Frank Warmerdam  <[email protected]>
4054
4055	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
4056	bug 66.
4057
40582001-07-20  Frank Warmerdam  <[email protected]>
4059
4060	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
4061	has been included.
4062
40632001-07-19  Frank Warmerdam  <[email protected]>
4064
4065	* libtiff/tif_open.c: Seek back to zero after failed read,
4066	before writing header.
4067
40682001-07-18  Frank Warmerdam  <[email protected]>
4069
4070	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
4071	much better.  Now depends on having patched libjpeg as per
4072	patch in contrib/ojpeg/*.
4073
40742001-07-17  Frank Warmerdam  <[email protected]>
4075
4076	* */Makefile.in: added DESTDIR support.
4077
4078	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
4079
40802001-07-16  Frank Warmerdam  <[email protected]>
4081
4082	* configure, libtiff/Makefile.in: applied OpenBSD patches
4083	as per:
4084
4085	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
4086
40872001-06-28  Frank Warmerdam  <[email protected]>
4088
4089	* libtiff/tif_getimage.c: Fixed so that failure is properly
4090	reported by gtTileContig, gtStripContig, gtTileSeparate and
4091	gtStripSeparate.
4092
4093	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
4094
4095	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
4096	Updated bug section of tiffcmp.1 to note tiled file issues.
4097
4098	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
4099
41002001-06-22  Frank Warmerdam  <[email protected]>
4101
4102	* configure: Changes for DSO generation on AIX provided by
4103	John Marquart <[email protected]>.
4104
4105	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
4106	on Darwin thanks to Robert Krajewski ([email protected]) and
4107	Keisuke Fujii ([email protected]).
4108
41092001-06-13  Frank Warmerdam  <[email protected]>
4110
4111	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
4112
4113	* man/tiff2rgba.1: new
4114
41152001-05-22  Frank Warmerdam  <[email protected]>
4116
4117	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
4118
41192001-05-13  Frank Warmerdam  <[email protected]>
4120
4121	* libtiff/tools/thumbnail.c: changed default output compression
4122	to packbits from LZW since LZW isn't generally available.
4123
41242001-05-12  Frank Warmerdam  <[email protected]>
4125
4126	* libtiff/tif_ojpeg.c: New.
4127	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
4128	to OJPEG support.
4129
4130	Scott Marovich <[email protected]> supplied OJPEG support.
4131
41322001-05-11  Frank Warmerdam  <[email protected]>
4133
4134	* tiff.h: removed, it duplicates libtiff/tiff.h.
4135
41362001-05-08  Frank Warmerdam  <[email protected]>
4137
4138	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
4139	ensure everything is in order.
4140
4141	* libtiff/libtiff.def: added TIFFCreateDirectory and
4142	TIFFDefaultStripSize as per:
4143
4144	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
4145
41462001-05-02  Frank Warmerdam  <[email protected]>
4147
4148	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
4149	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
4150	force use of uint32 counts instead of short counts.
4151
4152	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
4153	case of writing TIFF_BYTE/TIFF_SBYTE fields.
4154
4155	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
4156
41572001-05-01  Frank Warmerdam  <[email protected]>
4158
4159	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
4160	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
4161
41622001-04-05  Frank Warmerdam  <[email protected]>
4163
4164	* tiffio.h: removed C++ style comment.
4165
4166	* configure: fixed up SCRIPT_SH/SHELL handling.
4167
4168	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
4169
4170	* config.guess: documented more variables as per bug 40.
4171
41722001-04-03  Frank Warmerdam  <[email protected]>
4173
4174	* configure, *Makefile.in: Various changes to improve configuration
4175	for HP/UX specifically, and also in general.  They include:
4176	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
4177	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
4178	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
4179	 - Use -${MAKEFLAGS} in sub makes from makefiles.
4180
4181	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
4182
41832001-04-02  Frank Warmerdam  <[email protected]>
4184
4185	* libtiff/tiff.h: Applied hac to try and resolve the problem
4186	with the inttypes.h include file on AIX.
4187
4188	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4189
4190	* VERSION: update to 3.5.7 beta in preparation for release.
4191
4192	* configure/config.site: modified to check if -lm is needed for
4193	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
4194
4195	* config.guess: updated wholesale to an FSF version apparently
4196	from 1998 (as opposed to 1994).  This is mainly inspired by
4197	providing for MacOS X support.
4198
41992001-03-29  Frank Warmerdam  <[email protected]>
4200
4201	* configure, Makefile.in, etc: added support for OPTIMIZER being
4202	set from config.site.
4203
42042001-03-28  Frank Warmerdam  <[email protected]>
4205
4206	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
4207
4208	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
4209	sizes. It fixes two problems:
4210
4211	Without	scaling (-S) the fax is now centered on the page size specified
4212	with -H	and/or -W. Before, fax2ps was using an obscure and practially
4213	useless algorithm to allocate the image relative to Letter sized paper
4214	which sometime sled to useless whitespace on the paper, while at the
4215	same time cutting of the faxes printable area at the opposite border.
4216
4217	Second, scaling now preserves aspect ratio, which makes unusual faxes
4218	(in particular short ones) print properly.
4219
4220	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
4221
4222	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
4223	Bruce A. Mallett.  See check message for detailed information
4224	on all the changes, including a faster encoder, fixes for level
4225	2 PostScript, and support for the imagemask operator.
4226
42272001-03-27  Frank Warmerdam  <[email protected]>
4228
4229	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
4230	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
4231
4232	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4233
42342001-03-16  Frank Warmerdam  <[email protected]>
4235
4236	* tif_dirinfo.c: moved definition of copyright tag in field list.
4237	Apparently they have to be in sorted order by tag id.
4238
42392001-03-13  Frank Warmerdam  <[email protected]>
4240
4241	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
4242	images in RGBA interface.
4243
42442001-03-02  Frank Warmerdam  <[email protected]>
4245
4246	* Added TIFFTAG_COPYRIGHT support.
4247
42482001-02-19  Frank Warmerdam  <[email protected]>
4249
4250	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
4251	with support for extracting subimages with the ,n syntax, and also
4252	adding the -b bias removal flag.
4253
42542001-02-16  Frank Warmerdam  <[email protected]>
4255
4256	* libtiff/libtiff.def: Brent Roman submitted new version adding
4257	serveral missing entry points.
4258
4259	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
4260	Some sort of weird VMS thing.
4261
4262	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
4263
4264	* tif_luv.c/tiff.h/tiffio.h:
4265	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
4266	([email protected]).  He writes:
4267
4268	1) I improved the gamut-mapping function in tif_luv.c for imaginary
4269	colors, because some images were being super-saturated on the input
4270	side and this resulted in some strange color shifts in the output.
4271
4272	2) I added a psuedotag in tiff.h to control random dithering during
4273	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
4274	on for 24-bit LogLuv output.  Dithering improves the average color
4275	accuracy over the image.
4276
4277	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
4278	tiffio.h, to expose internal routines for converting between LogLuv and
4279	XYZ coordinates.  This is helpful for writing more efficient,
4280	specialized conversion routines, especially for reading LogLuv files.
4281
4282	Changes applied with minor edits.
4283
42842001-01-23  Frank Warmerdam  <[email protected]>
4285
4286	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
4287	whether we are encoding or decoding.  This is to ensure graceful
4288	recovery if TIFFClientOpen() discovers an attempt to open a compressed
4289	file for "r+" access, and subsequently close it, as it resets the
4290	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
4291	compressor's concept of whether it is in encode or decode mode.
4292
42932001-01-08  Mike Welles <[email protected]>
4294
4295	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
4296
42972001-01-07  Frank Warmerdam  <[email protected]>
4298
4299	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
4300	as per bug report by Patrick Connor.
4301
43022000-12-28  Frank Warmerdam  <[email protected]>
4303
4304	* Added RELEASE-DATE file to release file list.
4305
4306	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
4307
43082000-12-22  Mike Welles <[email protected]>
4309        * added link to CVS mirror from index.html
4310
4311	* updated html/internals.html to note that LZW compression is
4312	  not supported by default.
4313
43142000-12-22  Frank Warmerdam  <[email protected]>
4315
4316	* updated html/libtiff.html to not point at Niles' old JPL web site
4317	for the man pages, point at www.libtiff.org.
4318
43192000-12-21  Frank Warmerdam  <[email protected]>
4320
4321	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
4322	Leonard Rosenthol <[email protected]>.  May interfere
4323	with correct building on older systems.  If so, please let me know.
4324
43252000-12-19 Mike Welles <[email protected]>
4326
4327	* Took out LZW Encoding from tif_lzw.c
4328
4329	* Created HOWTO-RELEASE
4330
4331	* Created html/v3.5.6.html
4332
4333	* updated index.html
4334
43352000-12-01  Frank Warmerdam  <[email protected]>
4336
4337	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
4338	Patches supplied by Frank Cringle <[email protected]>
4339	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
4340
43412000-11-24  Frank Warmerdam  <[email protected]>
4342
4343	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
4344	target so that the private headers required by libgeotiff can be
4345	installed with the others.  They are not installed by default.
4346
4347	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
4348	targets so libtiff.so will be built with an explicit dependency
4349	on libm.so.
4350
4351	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
4352	libtiff.so.3.5.5.
4353
4354	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
4355	file, or ALPHA version logic.  Added stuff about DIST_POINT in
4356	place of DIST_TYPE and the alpha release number stuff.
4357
43582000-11-22  Frank Warmerdam  <[email protected]>
4359
4360	* I have applied a patch from Steffen Moeller <[email protected]> to
4361	the configure script so that it now accepts the --prefix, and
4362	--exec-prefix directives.
4363
43642000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
4365
4366	* I have made a variety of modifications in an effort to ensure the
4367	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
4368	file which seems to be updated regularly.
4369
4370	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
4371	   version include file.
4372	 o renamed version.h to tiffvers.h because we now have to install it
4373	   with the public libtiff include files.
4374	 o include tiffvers.h in tiffio.h.
4375	 o updated tif_version.c to use tiffvers.h.
4376	 o Updated Makefile.in accordingly.
4377
4378	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
4379	I have updated the win32 detection rules in tiffcomp.h.
4380
43812000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
4382
4383	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
4384	the strip/tile width and height aren't multiples of the sampling size.
4385	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
4386	Some patches from Rick LaMont of Dot C Software.
4387
4388	* Modified tif_packbits.c encoder to avoid compressing more
4389	data than provided if rowsize doesn't factor into provided data
4390	(such as occurs for YCbCr).
4391
43922000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
4393
4394	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
4395	roundup if rows_per_strip not a multiple of vertical sample size.
4396
43972000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
4398
4399	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
4400	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4401	from [email protected].
4402
4403	* Modified tif_packbits.c decoding to avoid overrunning the
4404	output buffer, and to issue a warning if data needs to be
4405	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4406
44072000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
4408
4409	* Modified tiff2bw to ensure portions add to 100%, and that
4410	white is properly recovered.
4411
4412	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
4413	Patch c/o Stanislav Brabec <[email protected]>
4414
44152000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
4416
4417	* Modified TIFFClientOpen() to emit an error on an attempt to
4418	open a comperessed file for update (O_RDWR/r+) access.  This is
4419	because the compressor/decompressor code gets very confused when
4420	the mode is O_RDWR, assuming this means writing only.  See
4421	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
4422
44232000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
4424
4425	* Added GNULDdso target an`d switched linux and freebsd to use it.
4426
44272000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
4428
4429	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
4430	of EXPAND1D() as per bug 11 (from Roman).
4431
44322000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
4433	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
4434	cygwin compatibility.
4435
4436	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
4437	be a proper fix to the buffer sizing problem.  See
4438	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
4439
4440	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
4441	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
4442	Thanks to Nick Lamb <[email protected]> for reporting the
4443	bug and proving the patch.
4444
44452000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
4446
4447	* Fixed tif_jpeg.c so avoid destroying the decompressor before
4448	we are done access data thanks to bug report from:
4449	Michael Eckstein <[email protected]>.
4450
4451	* Reverted tif_flush change.
4452
44532000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
4454
4455	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
4456	error when TIFF_BEENWRITING is not set.  This ensures that the
4457	directory contents can still be flushed by TIFFFlush().
4458
44592000-08-14  Frank Warmerdam  <[email protected]>
4460
4461	* tif_open.c: Don't set MMAP for O_RDWR files.
4462
4463	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
4464	so that files opened for update can be strip chopped too.
4465
4466	* tif_read.c: fixed up bug with files missing rowsperstrip and
4467	the strips per separation fix done a few weeks ago.
4468
44692000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
4470
4471	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
4472	SAMPLEFORMAT_COMPLEXINT.
4473
44742000-07-13  Mike Welles <[email protected]>
4475
4476	* index.html, bugs.html: added bugzilla info.
4477
44782000-07-12  Frank Warmerdam  <[email protected]>
4479
4480	* tif_read.c: fix subtle bug with determining the number of
4481	rows for strips that are the last strip in a separation but
4482	not the last strip of all in TIFFReadEncodedStrip().
4483
4484	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
4485	Peter Skarpetis <[email protected]>
4486
44872000-06-15  Frank Warmerdam  <[email protected]>
4488
4489	* Modified tiffio.h logic with regard to including windows.h.  It
4490	won't include it when building with __CYGWIN__.
4491
44922000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
4493
4494	* README: update to mention www.libtiff.org, don't list Sam's old
4495	email address.
4496
4497	* configure: Fixed DSO test for Linux as per patch from
4498	  Jan Van Buggenhout <[email protected]>.
4499
45002000-04-21  Frank Warmerdam  <[email protected]>
4501
4502	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
4503	one tile/strip images with an offset, and byte count of zero. These
4504	could be "unpopulated" images.
4505
45062000-04-18  Frank Warmerdam  <[email protected]>
4507
4508	* contrib/addtiffo: Added "averaging" resampling option.
4509
4510	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
4511
4512Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
4513
4514	* tools/Makefile.in: Modified to install properly on SGI.
4515
45162000-04-12  Mike Welles	     <[email protected]>
4517	* configure:  Fixed stupid mistake in libc6 test on Linux
4518
45192000-04-04  Mike Welles	     <[email protected]>
4520	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
4521	  caught by BoundsChecker.  From Arvan Pritchard
4522	  <[email protected]>  (untested).
4523
4524	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
4525	  Arvan Pritchard <[email protected]>
4526
4527	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
4528	  Arvan Pritchard <[email protected]>
4529
45302000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
4531
4532	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
4533
45342000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
4535
4536	* fax2ps: Fixed mixup of width and height in bounding box statement
4537	as per submission by Nalin Dahyabhai <[email protected]>.
4538
45392000-03-27  Mike Welles	     <[email protected]>
4540
4541	* fax2ps:  Modified printruns to take uint32 instead of uint16.
4542	Patch courtesy of Bernt Herd <[email protected]>
4543
45442000-03-20  Mike Welles	     <[email protected]>
4545
4546	* configure: added test for libc6 for linux targets.  Bug reported by
4547        Stanislav Brabec <[email protected]>
4548
4549	* Added 3.5 docs to html/Makefile.in.
4550	Thanks to  Stanislav Brabec <[email protected]>
4551
4552	* configure: fixed bugs in sed scripts
4553	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
4554	fix submitted to Stanislav Brabec <[email protected]>
4555
4556	* tools/iptcutil was not in files list, and wasn't being
4557	added to tar archive.  Updated Makefile.in.
4558
45592000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
4560
4561	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
4562	conversion for the run arrays.
4563
45642000-03-03  Frank Warmerdam  <[email protected]>
4565
4566	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
4567	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
4568
45692000-03-02  Frank Warmerdam  <[email protected]>
4570
4571	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
4572
4573	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
4574	to avoid overruns encountered with frle_bug.tif.
4575
4576Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
4577
4578	* Fixed tools/tiffcmp so that stopondiff testing works.
4579	  Patch care of Joseph Orost <[email protected]>.
4580
45812000-01-28    <warmerda@CS46980-B>
4582
4583	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
4584	  set to 1, and added default (off) setting in tiffconf.h.  This
4585	  should eventually be set by the configure script somehow.
4586
4587	  The original work on all these 2-4GB changes was done by
4588	  Peter Smith ([email protected]).
4589
4590	* Modified tif_win32.c to support 2-4GB seeks.
4591
4592	* tentatively changed toff_t to be unsigned instead of signed to
4593	  facilitate support for 2-4GB files.
4594
4595	* Updated a variety of files to use toff_t.  Fixed some mixups
4596	  between toff_t and tsize_t.
4597
4598Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
4599
4600	* Largely reimplemented contrib/addtiffo to avoid temp files,
4601	updating the TIFF file in place.  Fixed a few other bugs to.
4602
4603	* Set tif_rawdatasize to zero when freeing raw data buffer in
4604	TIFFWriteDirectory().
4605
4606	* Enabled "REWRITE_HACK" in tif_write.c by default.
4607
4608	* Fix bug in tif_write.c when switching between reading one directory
4609	and writing to another.
4610
4611	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
4612
4613Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
4614
4615	* Added TIFFmemory(3t) functions to libtiff.def.
4616
4617Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
4618
4619	* Added libtiff/libtiff.def to TIFFILES distribution list.
4620
4621Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
4622
4623	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
4624
4625	* Altered descriptions in tools to reflect "by default" lzw not supported
4626
4627	* Updated index.html to note lzw compression kit.
4628
4629Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
4630
4631	* Added fax3sm_winnt.c to distribution list in Makefile.in.
4632
4633Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
4634
4635	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
4636
4637	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
4638	  when LZW compression invoked.
4639
4640	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
4641	  in tools to reflect removal of LZW compression
4642
4643Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
4644
4645        * Fixed bug that caused LZW (non) compression to segfault. Added
4646	  warning about LZW compression removed being removed, and why.
4647
4648	* Added nostrip to install in tools/Makefile.in so that debugging
4649	  symbols are kept.
4650
4651Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
4652
4653	* Added patch from Ivo Penzar <[email protected]>,
4654	  supporting Adobe ZIP deflate.  Untested.
4655
4656Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
4657
4658	* Made Packbits the default compression in tools/tiff2rgba.c instead
4659	of LZW.
4660
4661Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
4662
4663	* Added tif_luv to contrib/djgpp/Makefile.lib.
4664
4665Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
4666
4667        * Added zip creation to relase makefile target
4668
4669	* Added html for TIFFWriteTile.3t man page.
4670
4671Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
4672
4673	* Added some changes to tif_write.c to support rewriting existing
4674	fixed sized tiles and strips.  Code mods disabled by default, only
4675	enabled if REWRITE_HACK is defined for now.
4676
4677Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
4678
4679	* Added TIFFWriteTile.3t man page.
4680
4681Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
4682
4683	* Added notes on use of makefile.vc in build.html, and fixed
4684	email subscription address.
4685
4686199-11-28  Mike Welles <[email protected]>
4687
4688	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
4689
4690	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
4691	   from Bruce Carmeron <[email protected]> -- modifications of
4692	   changes made by Frank (sun cc still complained on cast).
4693
4694	*  Added tiffconf.h to install target per request from Bill
4695	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
4696 	   know features have been compiled into the TIFF library in order to
4697	   handle things properly".
4698
4699Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
4700
4701	* fixed various VC++ warnings as suggested by Gilles Vollant
4702	<[email protected]>.
4703
4704Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
4705
4706	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
4707	not imply applications are responsible for image data swapping.
4708
47091999-11-22  Mike Welles <[email protected]>
4710	*  HTML-ized the man pages, added to html/man
4711
4712	*  Removed LZW Compression to comply with Unisys patent extortion.
4713
47141999-09-29  Mike Welles		<[email protected]>
4715	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
4716	   From Ivo Penzar <[email protected].
4717
4718	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
4719	   memory mapped files. <[email protected]>
4720
47211999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
4722	* Corrected alpha versioning.
4723
4724	* Removed distinction between  alpha and release targets in Makefile.in.
4725
4726	* added release.stamp target, which tags cvs tree, and updates
4727	  "RELEASE-DATE"
4728
4729	* added releasediff target, which diffs tree with source as of
4730	  date in "RELEASE-DATE"
4731
4732	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
4733	  away from alpha/non-alpha distinctions).
4734
4735	* updated html to reflect release
4736
47371999-09-23    <warmerda@CS46980-B>
4738
4739	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
4740
4741	* Added CYGWIN case in configure.
4742
4743Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
4744
4745	* Applied Francois Dagand's patch to handle fax decompression bug.
4746	  (sizes >= 65536 were failing)
4747
4748Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
4749
4750	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
4751	  by Christopher Lawton <[email protected]>
4752
4753Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
4754
4755	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
4756	  Albert Chin-A-Young <[email protected]>
4757
4758	* Added TIFFReassignTagToIgnore() API on behalf of
4759	  Bruce Cameron <[email protected]>.  Man page still pending.
4760
4761Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
4762
4763	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
4764	files to provide for a rudimentary testsuite.
4765
4766	* Added contrib/tags back from old distribution ... fixed up a bit.
4767
47681999-08-16    <warmerda@CS46980-B>
4769
4770	* Added simple makefile.vc makefiles for building with MS VC++
4771	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
4772	better solutions for some users.
4773
4774Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
4775
4776	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
4777	put it in tools since part of it is in C++.
4778
47791999-08-16  Michael L. Welles  <[email protected]>
4780
4781	* Updated html/index.html with anon CVS instructions.
4782
4783Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
4784
4785	* pre-remove so link before softlink in LINUXdso action in
4786	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
4787	the first.
4788
4789	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
4790	colormaps owned by the TIFF handle itself when trying to fixup wrong
4791	(eight bit) colormaps.  Corrected by maintaining a private copy of
4792	the colormap.
4793
4794	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
4795	tif_getimage.c.
4796
4797	* CVS Repository placed at remotesensing.org.  ChangeLog added.
4798