xref: /libtiff-4.0.7/ChangeLog (revision bfbc7176)
12010-06-08  Bob Friesenhahn  <[email protected]>
2
3	* contrib: Add an emacs formatting mode footer to all source files
4	so that emacs can be effectively used.
5
62010-06-03  Oliver Chen Feng <[email protected]>
7
8	* libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
9	file PAGENUMBER value in sequence for users who care the page
10	sequence, this will also prevent tiff2pdf from creating pdf file from
11	the merged tiff file with wrong page sequence.
12
132010-05-08  Olivier Paquet  <[email protected]>
14
15	* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
16	to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
17	* libtiff/tif_dirinfo.c: Use correct set_field_type for
18	TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
19	http://bugzilla.maptools.org/show_bug.cgi?id=2192
20
212010-05-07  Frank Warmerdam  <[email protected]>
22
23	* libtiff/tif_jpeg.c: Ensure that quality is always set in
24	JPEGPreEncode(), not just when we want to output local tables.
25	Otherwise the quality used during compression may not be right and
26	might not match the tables in the tables tag.   This bug only occurs
27	when seeking between directories in the midst of writing blocks.
28	http://trac.osgeo.org/gdal/ticket/3539
29
302010-05-06  Andrey Kiselev  <[email protected]>
31
32	* html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
33	Regenerated from the source.
34
352010-05-05  Olivier Paquet  <[email protected]>
36
37	* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
38	had stopped working. Also made it always print 6 floats instead of
39	2*SamplesPerPixel.
40	http://bugzilla.maptools.org/show_bug.cgi?id=2191
41	http://bugzilla.maptools.org/show_bug.cgi?id=2186
42	* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
43	fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
44
452010-05-05  Frank Warmerdam  <[email protected]>
46
47	* libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
48	if the jpeg table was written.  This is a fix for the last fix on 04-21.
49
502010-04-21  Frank Warmerdam  <[email protected]>
51
52	* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
53	JPEGSetupEncode() is called if the tables already seem to be
54	established.  This prevents spurious updates and rewriting of
55	directories with jpegtables when doing updates to existing images.
56	http://trac.osgeo.org/gdal/ticket/3539
57
582010-04-20  Olivier Paquet  <[email protected]>
59
60	* libtiff/tif_dirinfo.c: Use correct set_field_type for
61	TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
62	TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
63	They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
64	http://bugzilla.maptools.org/show_bug.cgi?id=2139
65
662010-04-10  Bob Friesenhahn  <[email protected]>
67
68	* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
69	when the tag count value is zero.  Error handling is still a
70	regression since in 3.9.2, empty tags are skipped (with a warning)
71	rather than returning a hard error and refusing to read the file.
72
73	* tools/ppm2tiff.c (main): While case for parsing comment line
74	requires extra parenthesis to work as expected.  Reported by
75	Thomas Sinclair.
76
772010-04-02  Frank Warmerdam  <[email protected]>
78
79	* libtiff/tif_read.c (primarily): Add support for
80	CHUNKY_STRIP_READ_SUPPORT where large strips are
81	read in chunks for applications using TIFFReadScanline().
82	This is intended to make it more practical work with very
83	large compressed one-strip files.   Feature is off by default.
84	Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
85	http://trac.osgeo.org/gdal/ticket/3514
86
872010-03-31  Frank Warmerdam  <[email protected]>
88
89	* libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
90	directories so previously placed directories will be migrated to
91	the end of file if needed.
92
932010-03-30  Frank Warmerdam  <[email protected]>
94
95	* libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
96	to support operating on strips/tiles of more than 256MB.
97	http://trac.osgeo.org/gdal/ticket/3512
98
992010-03-10  Bob Friesenhahn  <[email protected]>
100
101	* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
102	that it is clearly a memory allocation error message, and also
103	includes the size of the allocation request.
104
1052010-02-22  Lee Howard  <[email protected]>
106
107	* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
108	the JPEG TIFF as is is not required in order to prevent it from
109	being unused and filled with invalid data.  (Leave it to be
110	generated by later activity.)
111	http://bugzilla.maptools.org/show_bug.cgi?id=2135
112	* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
113	data rather than skipping them.  This fixes the ability to view in
114	Acrobat Reader, Evince, and Ghostscript.
115	http://bugzilla.maptools.org/show_bug.cgi?id=2135
116	* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
117	strips.
118	http://bugzilla.maptools.org/show_bug.cgi?id=2029
119
1202009-12-03  Frank Warmerdam  <[email protected]>
121
122	* libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
123	Made so that when working with downsampled images a stub function
124	reporting an error is used for tif_decoderow.  We cannot meaningfully
125	support reading scanlines in this situation.  (#1936)
126
127	* libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
128	resetting of the upsampling values (gdal:#3259).
129	http://bugzilla.maptools.org/show_bug.cgi?id=1936
130
1312009-11-30  Frank Warmerdam  <[email protected]>
132
133	* contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c,
134	tools/ras2tiff.c: Fix resource leaks on error.
135	http://bugzilla.maptools.org/show_bug.cgi?id=2121
136
137	* libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling
138	TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
139	of as a custom(generic) field to avoid a potential reentrancy problem.
140	http://bugzilla.maptools.org/show_bug.cgi?id=2125
141
142	* libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
143	man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit
144	const, and display_sRGB static and const.
145	http://bugzilla.maptools.org/show_bug.cgi?id=2124
146
1472009-11-04  Bob Friesenhahn  <[email protected]>
148
149	* libtiff 4.0.0alpha5 released.
150
1512009-11-03  Bob Friesenhahn  <[email protected]>
152
153	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
154	version has undergone substantial testing with arbitrary sample
155	bit depths.  Also eliminates GCC compilation warnings.
156
1572009-11-02  Bob Friesenhahn  <[email protected]>
158
159	* port/libport.h: Add extern declarations for getopt standard
160	globals.
161
1622009-10-31  Bob Friesenhahn  <[email protected]>
163
164	* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
165	noticed in 64-bit build of libtiff with Visual Studio 2005.
166	Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
167	tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
168
169	* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
170	warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
171	Visual Studio 2005 64-bit warning in tif_pixarlog.c",
172	http://bugzilla.maptools.org/show_bug.cgi?id=2068
173
1742009-10-29  Bob Friesenhahn  <[email protected]>
175
176	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
177	pointer" warnings.
178
1792009-10-28  Bob Friesenhahn  <[email protected]>
180
181	* html/tools.html: Add manual page links, and a summary
182	description of tiffcrop.
183
1842009-10-07  Bob Friesenhahn  <[email protected]>
185
186	* configure.ac: x86_64 should use the same fill order as i386.
187
1882009-09-24  Bob Friesenhahn  <[email protected]>
189
190	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
191	Nolde.  Major updates to add significant functionality for reading
192	and writing tile based images with bit depths not a multiple of 8
193	which cannot be handled by tiffcp.
194
1952009-09-03  Bob Friesenhahn  <[email protected]>
196
197	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
198	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
199	"Bug 2090 - OJPEG crash with libjpeg v7".
200	http://bugzilla.maptools.org/show_bug.cgi?id=2090
201
2022009-09-03  Frank Warmerdam  <[email protected]>
203
204	* libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
205	interface when stoponerror is set.
206	http://bugzilla.maptools.org/show_bug.cgi?id=2071
207
2082009-08-30  Bob Friesenhahn  <[email protected]>
209
210	* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
211	fix build with gcc when using the "-Wformat
212	-Werror=format-security" flags.
213
2142009-08-29  Bob Friesenhahn  <[email protected]>
215
216	* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
217	ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
218	utilities tests.
219
2202009-08-28  Bob Friesenhahn  <[email protected]>
221
222	* tools/tiffinfo.c: tiffinfo should return error status to the
223	caller.  Register a private error callback to accomplish that.
224
225	* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
226	PNM formats so that we will be able to test more of the tools.
227	While adding these test images I notice that bmp2tiff and gif2tiff
228	only support ancient versions of their respective formats.
229
2302009-08-27  Bob Friesenhahn  <[email protected]>
231
232	* libtiff 4.0.0alpha4 released.
233
234	* HOWTO-RELEASE: Improved release instructions.
235
2362009-08-24  Bob Friesenhahn  <[email protected]>
237
238	* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
239	fixes for "Bug 2023 - nroff errors in manual pages".
240	http://bugzilla.maptools.org/show_bug.cgi?id=2023
241
242	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
243	CVE-2009-2347 libtiff: integer overflows in various inter-color
244	space conversion tools".
245	http://bugzilla.maptools.org/show_bug.cgi?id=2079
246
247	* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
248	Berkenbilt for "Bug 2024 - possible null pointer dereference with
249	one-line fix".
250	http://bugzilla.maptools.org/show_bug.cgi?id=2024
251
252	* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
253	from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
254	segfault after setting tdir_tag = IGNORE".
255	http://bugzilla.maptools.org/show_bug.cgi?id=1895
256
2572009-08-23  Bob Friesenhahn  <[email protected]>
258
259	* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
260	tiffcrop.sh into a collection of many specific tests.  Re-wrote
261	all of the existing tests to be based on some simple shell
262	functions.  Make distcheck works again.
263
264	Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
265	added 'memcheck' and 'ptrcheck' targets to make it easy to run the
266	tests under valgrind.
267
2682009-08-21  Bob Friesenhahn  <[email protected]>
269
270	* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
271	build.
272
273	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
274	actually activated since it needed to be enabled in this
275	Makefile.am.  Also activated parallel-tests mode since it offers
276	useful features such as per-test .log files and a summary test
277	report .log file.
278
2792009-08-20  Bob Friesenhahn  <[email protected]>
280
281	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
282	libtool 2.2.6.  Enabled support for silent build rules
283	(--enable-silent-rules or 'make V=0') and colorized tests.
284
285	* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
286
2872009-06-30  Frank Warmerdam  <[email protected]>
288
289	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
290
291	* tools/tiffcp.c: add -c sgilog support.
292
293	* libtiff/tif_luv.c: correct return codes from encoderow to be
294	1 on success instead of zero.
295	http://bugzilla.maptools.org/show_bug.cgi?id=2069
296
297	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
298	#1085 for a better underflow fix that errors properly.
299	http://bugzilla.maptools.org/show_bug.cgi?id=2065
300	http://bugzilla.maptools.org/show_bug.cgi?id=1985
301
3022009-06-26  Frank Warmerdam  <[email protected]>
303
304	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
305	fails on oddly sized 12bit jpeg compressed ycbcr images.
306
3072009-06-22  Frank Warmerdam  <[email protected]>
308
309	* libtiff/tif_lzw.c: Fix buffer underflow bug.
310	http://bugzilla.maptools.org/show_bug.cgi?id=2065
311
3122009-06-21  Frank Warmerdam  <[email protected]>
313
314	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
315	for dual mode 8/12 bit jpeg support.
316
3172009-06-03  Frank Warmerdam  <[email protected]>
318
319	* libtiff/tif_write.c: do not override the planar configuration to be
320	contig for one sample files if planar configuration is already set.
321	http://bugzilla.maptools.org/show_bug.cgi?id=2057
322
3232009-06-02  Frank Warmerdam  <[email protected]>
324
325	* libtiff/libtiff.def: Add TIFFUnsetField.
326
3272009-05-03  Frank Warmerdam  <[email protected]>
328
329	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
330	error reports to use "%s" as format string.
331	http://trac.osgeo.org/gdal/ticket/2976
332
3332009-03-12  Frank Warmerdam  <[email protected]>
334
335	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
336	for some codecs (#2020).
337
3382009-02-12  Frank Warmerdam  <[email protected]>
339
340	* libtiff/tif_luv.c: Fix handling of tiled logluv images.
341	http://bugzilla.maptools.org/show_bug.cgi?id=2005
342
3432009-02-09  Frank Warmerdam  <[email protected]>
344
345	* libtiff/tif_dirread.c: Improve allocation safety when allocated
346	buffer for large tags.  (#1998)  Related to (#1993)
347
3482009-02-06  Frank Warmerdam  <[email protected]>
349
350	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
351	test suite should pass.
352
3532009-02-05  Frank Warmerdam  <[email protected]>
354
355	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
356	but at the 2GB boundary to avoid overflow on 32bit systems.
357	http://bugzilla.maptools.org/show_bug.cgi?id=1993
358
359	* libtiff/tif_dirread.c: Remove some assertions that blow due to
360	corrupt files rather than in response to library internal
361	inconsistencies.
362	http://bugzilla.maptools.org/show_bug.cgi?id=1995
363	http://bugzilla.maptools.org/show_bug.cgi?id=1991
364
365	* libtiff/tif_dirread.c: Fixed testing for failed result from
366	TIFFReadDirectoryFindFieldInfo().
367	http://bugzilla.maptools.org/show_bug.cgi?id=1992
368
3692009-01-23  Frank Warmerdam  <[email protected]>
370
371	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
372	http://bugzilla.maptools.org/show_bug.cgi?id=1911
373
374	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
375
376	http://bugzilla.maptools.org/show_bug.cgi?id=1924
377
378	* tools/tiffcrop.c: initialize xres/yres values.
379
380	* test/*.sh - default ${srcdir} to local directory.
381
382	* test/common.sh - start verbose mode after common settings.
383
384	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
385	avoid type mismatches on different platforms.
386	http://bugzilla.maptools.org/show_bug.cgi?id=1889
387
3882009-01-22  Frank Warmerdam  <[email protected]>
389
390	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
391	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
392
393	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
394	defined, primarily to reduce prototype warnings on windows.
395
396	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
397	about unused parameters, and uninitialized variables.
398
3992009-01-21  Bob Friesenhahn  <[email protected]>
400
401	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
402	order to trace full execution detail while executing the test suite.
403
4042009-01-20  Frank Warmerdam  <[email protected]>
405
406	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
407
4082009-01-20  Bob Friesenhahn  <[email protected]>
409
410	* test/Makefile.am (CLEANFILES): Make sure that test output files
411	are removed by 'make clean'
412
413	* Update autotools for 4.0.0 beta3
414
415	* 4.0.0 beta3 produced.
416
4172009-01-12  Bob Friesenhahn  <[email protected]>
418
419	* test/tiffcrop.sh: New test script for tiffcrop from Richard
420	Nolde.
421
422	* tools/tiff2ps.c: Remove spurious message to stderr.
423
4242009-01-11  Bob Friesenhahn  <[email protected]>
425
426	* tools/tiff2ps.c: Incorporated significant functionality update
427	from Richard Nolde.  In particular, support for rotating the image
428	by 90, 180, 270, and 'auto' has been added.
429
430	* man/tiffcrop.1: Incorporated documentation updates from Richard
431	Nolde.
432
433	* tools/tiffcrop.c: Incorporated significant functionality update
434	from Richard Nolde.
435
4362008-12-31  Bob Friesenhahn  <[email protected]>
437
438	* libtiff/tiffio.h: GCC will now validate format specifications
439	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
440	TIFFWarningExt() in order to reveal bugs.
441
442	* Many fixes throughout to work better as a 64-bit build.
443
4442008-12-30  Bob Friesenhahn  <[email protected]>
445
446	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
447	tags now require 64-bit parameter rather than 32-bit.
448
449	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
450	64-bit values.
451
452	* tools/thumbnail.c: Eliminate crash noticed while running test
453	suite.
454
4552008-12-29  Bob Friesenhahn  <[email protected]>
456
457	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
458	Initialize stack variables to avoid compiler warning.
459
460	* tools/tiffinfoce.c (main): Use toff_t for offset type when
461	retrieving offset of EXIF IFD.
462
463	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
464	TIFFClientOpen() callback and other external function definitions.
465
466	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
467	type now.  Fixes crash when dumping files containing an EXIF IFD.
468
469	* m4/libtool.m4: Update to libtool 2.2.6.
470
4712008-12-21  Frank Warmerdam  <[email protected]>
472
473	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
474
475	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
476	strip for the last partial strip in a jpeg compressed file.
477	http://bugzilla.maptools.org/show_bug.cgi?id=1981
478
4792008-10-29  Frank Warmerdam  <[email protected]>
480
481	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
482	we take the shortcut to only update the strip/tile offsets in place.
483	http://trac.osgeo.org/gdal/ticket/2621
484
4852008-10-21  Andrey Kiselev  <[email protected]>
486
487	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
488	the older versions retained).
489
4902008-10-09  Frank Warmerdam  <[email protected]>
491
492	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
493	IPP enabled version of libjpeg from Intel.
494	http://bugzilla.maptools.org/show_bug.cgi?id=1951
495
4962008-09-05  Andrey Kiselev  <[email protected]>
497
498	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
499	Required for libtiff 4.0.
500
501	* tools/tiffsplit.c: Use dynamically allocated array instead of static
502	when constructing output file names.
503
5042008-09-03  Andrey Kiselev  <[email protected]>
505
506	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
507	doing the filename/path construction.
508
509	* tools/tiff2pdf.c: More appropriate format string in
510	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
511
512	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
513
514	http://bugzilla.maptools.org/show_bug.cgi?id=1929
515
516	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
517	CVE-2008-2327 security issue.
518
5192008-09-01  Frank Warmerdam  <[email protected]>
520
521	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
522
523	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
524	depending on whether the file is bigtiff or classic tiff.
525	http://bugzilla.maptools.org/show_bug.cgi?id=1917
526
5272008-08-12  Edward Lam  <[email protected]>
528
529	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
530	consistent (__int64) casting when testing if _lseeki64 has
531	successfully seeked as requested.  This is necessary for large
532	file support to work since off_t is only 32-bit.
533
5342008-07-29  Frank Warmerdam  <[email protected]>
535
536	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or
537	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
538	with control logic to return runtime errors (c/o Even Rouault) (#1927).
539
5402008-06-17  Frank Warmerdam  <[email protected]>
541
542	* tools/tiffcrop.c: Fix some portability problems.
543
544	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
545	used in tif_jpeg.c.
546
547	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
548	as TIFFOpen().
549
5502008-06-01  Frank Warmerdam  <[email protected]>
551
552	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
553	like Sparc/Solaris.
554	http://bugzilla.maptools.org/show_bug.cgi?id=1892
555
5562008-05-27  Frank Warmerdam  <[email protected]>
557
558	* libtiff.def: Add TIFFFindField
559	http://bugzilla.maptools.org/show_bug.cgi?id=1891
560
5612008-05-26  Frank Warmerdam  <[email protected]>
562
563	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
564
565	* li2008-04-15  Andrey Kiselev  <[email protected]>
566
567btiff/tif_win32.c: Replace custom Win32 memory api with generic
568	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
569	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
570
571	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
572	in windows version (care of Edward Lam).
573
5742008-05-24  Frank Warmerdam  <[email protected]>
575
576	* tif_codec.c: Avoid NULL pointer dereferencing for exotic
577	compression codec codes.
578
579	* tif_dirwrite.c: fix potential memory leak.
580
581	* tif_dirread.c: Fix unchecked malloc result.
582
5832008-05-24  Bob Friesenhahn  <[email protected]>
584
585	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
586	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
587	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
588	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
589	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
590	suggestions from Lee Howard posted to the tiff list on 13 Sep
591	2007.
592
5932008-05-23  Frank Warmerdam  <[email protected]>
594
595	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
596	possible runtime problem reported by coverity.
597
598	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
599
600	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
601	http://bugzilla.maptools.org/show_bug.cgi?id=1888
602
603	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
604
605	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
606
607	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
608	Cleanup scanline allocation to avoid coverity warning.
609
610	* tools/thumbnail.c: Check for TIFFOpen() failure.
611
6122008-05-18  Frank Warmerdam  <[email protected]>
613
614	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
615	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
616	why this is needed.
617
6182008-05-09  Bob Friesenhahn  <[email protected]>
619
620	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
621	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
622
6232008-04-15  Andrey Kiselev  <[email protected]>
624
625	* test/: Test suite updated. Everything is passed now.
626
627	* libtiff/tif_dirinfo.c: Fixed description of the
628	TIFFTAG_NUMBEROFINKS tag.
629
6302008-04-14  Andrey Kiselev  <[email protected]>
631
632	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
633	Get rid of some of "dereferencing type-punned" warnings by converting
634	tdir_offset field of TIFFDirEntry structure into union.
635
6362008-04-10  Andrey Kiselev  <[email protected]>
637
638	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
639	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
640	from the public interface. Type of its 'count' parameter changed
641	from uint32 to tmsize_t.
642
643	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
644	of the tiff structure have the size_t type instead of uint32.
645
6462008-04-09  Andrey Kiselev  <[email protected]>
647
648	* tools/tiffdump.c: Added support for MSVS 6.0.
649
650	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
651	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
652	point values on MSVS 6.0 platform.
653
6542008-03-14  Frank Warmerdam  <[email protected]>
655
656	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
657	TIFFReadDirEntryArray() since they are interfering with seemingly
658	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
659
6602008-02-09  Joris Van Damme  <[email protected]>
661
662	* tif_dirread.c: Added handling for the case of number of values for
663	PageNumber tag different from 2 (previously resulted in an assert
664	indicating lack of handling and was forgotten about)
665
6662008-02-01  Frank Warmerdam  <[email protected]>
667
668	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
669	the actual jpeg data stream if the first strip/tile has zero size.
670	This is the case when GDAL creates a new file with zero sizes, closes
671	and reopens it.
672
6732008-01-07  Frank Warmerdam  <[email protected]>
674
675	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
676
6772008-01-01  Frank Warmerdam  <[email protected]>
678
679	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
680
681	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
682	targets.
683
684	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
685	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
686	(x64).
687
688	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
689	and TIFFFieldWithName() now return TIFFField pointers instead of
690	TIFFFieldInfo pointers.
691
692	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
693	exist. This makes it compile again on Windows
694
695	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
696	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
697
698	* test/rewrite_tag.c: New test for TIFFRewriteField().
699
7002007-12-31  Frank Warmerdam  <[email protected]>
701
702	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
703	rewrites one field "on disk" updating an existing directory
704	entry.  Lots of limitations still...
705
706	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
707	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
708	the strip offset/size values are dirty but nothing else about the
709	directory is dirty.  In flush handle "just stripmaps dirty" as a
710	special case that just rewrites these values without otherwise
711	modifying the directory on disk using TIFFRewriteField().
712
713	We also modify logic so that in update mode the directory is not
714	marked dirty on read, but only when something is changed.  This
715	means we need to keep track of updates to the stripmap stuff in
716	TIFFAppendToStrip().
717
7182007-12-10  Frank Warmerdam  <[email protected]>
719
720	* tif_jpeg.c: Improve ability to switch between encoding and decoding
721	in the jpeg code (gdal bug #2033).
722
7232007-11-23  Frank Warmerdam  <[email protected]>
724
725	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
726	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
727	rawcp/rawcc buffer are for writing and thus may require flushing.
728	Necessary to distinguish whether they need to be written to disk when
729	in mixed read/write mode and doing a mixture of writing followed by
730	reading.  http://trac.osgeo.org/gdal/ticket/1758
731
7322007-11-23  Andrey Kiselev  <[email protected]>
733
734	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
735	from Alexey Chupahin.
736
7372007-11-02  Frank Warmerdam  <[email protected]>
738
739	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
740	establishing if an existing tile can be rewritten to the same location
741	by comparing the current size to all the other blocks in the same
742	directory.  This is dangerous in many situations and can easily
743	corrupt a file.  (observed in esoteric GDAL situation that's hard to
744	document).  This change involves leaving the stripbytecount[] values
745	unaltered till TIFFAppendToStrip().  Now we only write a block back
746	to the same location it used to be at if the new data is the same
747	size or smaller - otherwise we move it to the end of file.
748
749	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
750	data when writing the directory just because we have BEENWRITING at
751	some point in the past.  This was causing odd junk to be written out
752	in a tile of data when a single tile had an interleaving of reading
753	and writing with reading last.  (highlighted by gdal
754	autotest/gcore/tif_write.py test 7.
755
756	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
757	modifying callers buffer.
758	http://trac.osgeo.org/gdal/ticket/1965
759
760	* tif_predict.c/h: more fixes related to last item, keeping a
761	distinct pfunc for encode and decode cases as these were getting
762	mixed up sometimes.
763	http://trac.osgeo.org/gdal/ticket/1948
764
7652007-11-01  Frank Warmerdam  <[email protected]>
766
767	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
768	predictor based encoding and decoding works in read-write update
769	mode properly.
770	http://trac.osgeo.org/gdal/ticket/1948
771
7722007-10-24  Joris Van Damme  <[email protected]>
773
774	* tif_dirread.c: Fixed problem with bogus file triggering
775	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
776	ChopUpSingleUncompressedStrip
777
7782007-10-22  Joris Van Damme  <[email protected]>
779
780	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
781	at best, access violation at worst, when subsampled JPEG compressed imagery
782	is decoded without the JPEG_COLORMODE feature
783
7842007-10-11  Frank Warmerdam  <[email protected]>
785
786	* html/index.html: Update "people responsible" section.
787
7882007-10-05  Frank Warmerdam  <[email protected]>
789
790	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
791	as reported on the mailing list.
792
7932007-10-01  Joris Van Damme  <[email protected]>
794
795	* changed some more incorrect %lud printf flags to %lu
796
7972007-09-29  Joris Van Damme  <[email protected]>
798
799	* tif_dirread.c: Strip chopping interfered badly with uncompressed
800	subsampled images because it tried to divide subsampled rowblocks,
801	leading to all sorts of errors throughout the library for these
802	images. Fixed by making strip chopping divide in row counts that
803	are a multiple of vertical subsampling value.
804
8052007-09-28  Joris Van Damme  <[email protected]>
806
807	* tif_dirread.c: Logical cast working around compiler warning
808
809	* tif_read.c: Correction of some error flags and parameter lists
810
8112007-09-27  Joris Van Damme  <[email protected]>
812
813	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
814	when dealing with large bitspersample values, shutting up purification
815	tools that warn about truncation, though it remains incorrect and
816	indicates a conceptual problem there.
817
818	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
819	of first IFD) to proper place because it badly interfered with memory
820	mapping, resulting in mapping flag even with dummy mapping functions
821	that returned 0 whilst at the same time the mapping tif_size wasn't
822	set, thus resulting in continuous incorrect beyond-eof errors.
823
8242007-09-24  Joris Van Damme  <[email protected]>
825
826	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
827	inconsistent use of const in tiffFields and exifFields definition
828
8292007-09-20  Frank Warmerdam  <[email protected]>
830
831	* tif_dirwrite.c: Always write tile/strip offsets and sizes
832	using LONG8 type when output format is BigTIFF.  The
833	TIFFWriteDirectoryTagLongLong8Array() function was restructured
834	accordingly.
835
836	* tif_dirread.c: Improvements to error reporting text in
837	TIFFFetchDirectory().
838
8392007-09-19  Bob Friesenhahn  <[email protected]>
840
841	* test/images: Added a small collection of test images for use by
842	test programs and scripts.
843	* test/tiffinfo.sh: A trivial example test script.
844	* test/common.sh: Added small script for setting the environment
845	used by script-based tests.
846
8472007-08-24  Frank Warmerdam  <[email protected]>
848
849	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
850	zero when writing directory contents to preserve the ability to
851	rewrite directories in place, even in the middle of a directory
852	chain.
853
854	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
855	definitions that are missing.  Existing definitions are silently
856	ignored.
857
858	* tif_dirread.c: Add runtime error for fields for which no definition
859	is found (in addition to an assert for developers) in
860	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
861	prudent.
862
8632007-08-10  Joris Van Damme  <[email protected]>
864
865	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
866	from _TIFFRGBAImage structure to revert unwanted ABI change.
867
8682007-08-10  Joris Van Damme  <[email protected]>
869
870	* libtiff/tif_win32.c: use SetFilePointer instead of
871	SetFilePointerEx, as per bug
872
873	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
874
8752007-07-19  Andrey Kiselev  <[email protected]>
876
877	* libtiff/tif_stream.cxx: Put all callback functions declarations
878	inside extern "C" block.
879
880	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
881	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
882	formatter instead of "%lld" with MSVC compiler.
883
884	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
885	_TIFFUInt64ToDouble() functions.
886
8872007-07-18  Andrey Kiselev  <[email protected]>
888
889	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
890	integer constants.
891
892	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
893	remove tif_config.h/tiffconf.h during cleaning. As per bug
894
895	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
896
897	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
898
899	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
900
9012007-07-13  Andrey Kiselev  <[email protected]>
902
903	* libtiff 4.0.0alpha released.
904
9052007-07-12  Andrey Kiselev  <[email protected]>
906
907	* tools/tiff2pdf.c: Added missed extern optind as per bug
908
909	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
910
911	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
912	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
913	extending scheme completed.
914
9152007-07-11  Bob Friesenhahn  <[email protected]>
916
917	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
918	use standard C++ library size types and attempt to detect overflow
919	cases.
920
9212007-07-08  Andrey Kiselev  <[email protected]>
922
923	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
924	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
925	tag extending scheme. Use the new scheme everywhere.
926
927	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
928	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
929	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
930	TIFFFIeldInfo structure replaced with TIFFField structure.
931	TIFFFieldInfo retained for the backward compatibility.
932
9332007-07-05  Bob Friesenhahn  <[email protected]>
934
935	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
936	defined.
937
9382007-07-04  Andrey Kiselev  <[email protected]>
939
940	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
941	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
942	removed.
943
944	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
945	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
946	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
947	These tags are not codec-specific and relate to image content, so
948	process them as other normal tags.
949
950	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
951	public tiffio.h to private tif_dir.h.
952
953	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
954	outdated.
955
9562007-07-03  Andrey Kiselev  <[email protected]>
957
958	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
959	tif_win3.c}: Obsoleted portability stuff removed.
960
961	* tools/tiff2ps.c:  Added support 16-bit images as per bug
962
963	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
964
965	Patch from William Bader.
966
967	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
968	significant upgrade of the whole utility as per bug
969
970	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
971
972	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
973	PDF file using TIFFClientOpen() machinery as it is implemented
974	by Leon Bottou.
975
9762007-06-26  Bob Friesenhahn  <[email protected]>
977
978	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
979	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
980	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
981	allow returning -1 for errors.
982	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
983
9842007-06-25  Bob Friesenhahn  <[email protected]>
985
986	* port/strtoull.c: New porting function in case strtoull() is not
987	available on the target system.
988	* configure.ac: Add configure support for determining sized types
989	in a portable way and performing necessary substitutions in
990	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
991	definitions.
992
9932007-04-27  Andrey Kiselev  <[email protected]>
994
995	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
996
997	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
998
9992007-04-07  Andrey Kiselev  <[email protected]>
1000
1001	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
1002	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
1003	tif_predict.c, tif_zip.c}: Finally fix bug
1004
1005	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
1006
1007	by introducing _TIFFMergeFieldInfo() returning integer error status
1008	instead of void in case of problems with field merging (e.g., if the
1009	field with such a tag already registered). TIFFMergeFieldInfo() in
1010	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
1011	check returned value.
1012
10132007-04-07  Frank Warmerdam  <[email protected]>
1014
1015	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
1016	blocks in TIFF_DownSample_Subsampled() (bug 1542).
1017
10182007-04-06  Frank Warmerdam  <[email protected]>
1019
1020	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
1021	will convert from decompressor to compressor or compress to decompress
1022	if required by the force arguments.  This works around a problem in
1023	where the JPEGFixupTestSubsampling() may cause a decompressor to
1024	be setup on a directory when later a compressor is required with the
1025	force flag set.  Occurs with the addtiffo program for instance.
1026
10272007-04-06  Andrey Kiselev  <[email protected]>
1028
1029	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
1030	functionality from Richard Nolde. As per bug
1031
1032	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
1033
10342007-03-28  Frank Warmerdam  <[email protected]>
1035
1036	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
1037
10382007-03-17  Joris Van Damme  <[email protected]>
1039
1040	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
1041
10422007-03-07  Joris Van Damme  <[email protected]>
1043
1044	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
1045	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
1046	factor. This bug is mentioned in:
1047	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
1048	http://www.asmail.be/msg0054766825.html
1049
10502007-03-07  Joris Van Damme  <[email protected]>
1051
1052	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
1053
1054	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
1055	unused arguments by standard C indication for the same
1056
10572007-02-27  Andrey Kiselev  <[email protected]>
1058
1059	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
1060	counters in TIFFFetchData(). Should finally fix the issue
1061
1062	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1063
10642007-02-24  Andrey Kiselev  <[email protected]>
1065
1066	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
1067	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
1068
1069	* libtiff/tif_dirread.c: Added special function to handle
1070	SubjectDistance EXIF tag as per bug
1071
1072	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
1073
1074	* tools/tiff2pdf.c: Do not assume inches when the resolution units
1075	do not specified. As per bug
1076
1077	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
1078
1079	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
1080	it was set as infinite. As per bug
1081
1082	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
1083
1084	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
1085	by Richard Nolde. As per bug
1086
1087	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
1088
10892007-02-22  Andrey Kiselev  <[email protected]>
1090
1091	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
1092	ExtraSamples == 999 produced by Corel Draw. As per bug
1093
1094	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
1095
1096	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
1097	changed from tsize_t to uint32 to be able to work with data arrays
1098	larger than 2GB. Fixes bug
1099
1100	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1101
1102	Idea submitted by Matt Hancher.
1103
11042007-01-31  Andrey Kiselev  <[email protected]>
1105
1106	* tools/tif2rgba.c: This utility does not work properly on big-endian
1107	architectures. It was fixed including the bug
1108
1109	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
1110
11112007-01-15  Mateusz Loskot <[email protected]>
1112
1113	* Submitted libtiff port for Windows CE platform
1114	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
1115	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
1116	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
1117	functons from tif_win32.c.
1118	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
1119	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
1120	standard header files for Windows CE build.
1121	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
1122
11232006-11-19  Frank Warmerdam  <[email protected]>
1124
1125	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
1126	we move a strip.
1127	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
1128
11292006-10-13  Andrey Kiselev  <[email protected]>
1130
1131	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
1132	in Gentoo bug ():
1133
1134	http://bugs.gentoo.org/show_bug.cgi?id=142383
1135
1136	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
1137	Though it is still far from the state of being working and useful.
1138
11392006-10-12  Andrey Kiselev  <[email protected]>
1140
1141	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
1142	method.
1143
1144	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
1145	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
1146
1147	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
1148	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
1149
1150	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
1151	vulnerabilities, reported in Gentoo bug ():
1152
1153	http://bugs.gentoo.org/show_bug.cgi?id=142383
1154
11552006-09-28  Andrey Kiselev  <[email protected]>
1156
1157	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
1158	vulnerabilities, as per	Gentoo bug ():
1159
1160	http://bugs.gentoo.org/show_bug.cgi?id=142383
1161
11622006-09-27  Frank Warmerdam  <[email protected]>
1163
1164	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
1165	encoding and decoding on the same read-write TIFF handle.  The LZW
1166	code can now maintain encode and decode state at the same time. The
1167	ZIP code will switch back and forth as needed.
1168	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
1169
11702006-09-20  Frank Warmerdam  <[email protected]>
1171
1172	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
1173	tif_config.vc.h for easier identification by folks using an IDE.
1174
11752006-07-25  Frank Warmerdam  <[email protected]>
1176
1177	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
1178
11792006-07-19  Frank Warmerdam  <[email protected]>
1180
1181	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
1182	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
1183	to bug report by Peng Gao with black strip at bottom of images.
1184
11852006-07-12  Frank Warmerdam  <[email protected]>
1186
1187	* tif_dirwrite.c: make sure to use uint32 for wordcount in
1188	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
1189	It already seems to have been done for other field types.  Needed
1190	for "tiffset" on files with geotiff ascii text.
1191
11922006-07-04  Bob Friesenhahn  <[email protected]>
1193
1194	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
1195	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
1196	its use does not appear to be required, so use it only when it is
1197	available.
1198
11992006-06-24  Andrey Kiselev  <[email protected]>
1200
1201	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
1202
1203	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
1204	function TIFFFetchDirectory() avoiding code duplication in
1205	TIFFReadDirectory() and TIFFReadCustomDirectory().
1206
12072006-06-19  Frank Warmerdam  <[email protected]>
1208
1209	* tools/tiff2pdf.c: Fix handling of -q values.
1210	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
1211
12122006-06-17  Frank Warmerdam  <[email protected]>
1213
1214	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
1215	files.  Modified TIFFReadDirectory() to not invoke
1216	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
1217	but one of them is zero.
1218	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
1219
12202006-06-08  Andrey Kiselev  <[email protected]>
1221
1222	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
1223	checking code in the separate function TIFFCheckDirOffset().
1224
1225	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
1226
1227	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
1228
1229	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
1230
1231	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
1232
1233	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
1234
1235	* tools/tiff2pdf.c: Fixed buffer overflow condition in
1236	t2p_write_pdf_string() as per bug
1237
1238	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
1239
12402006-06-07  Andrey Kiselev  <[email protected]>
1241
1242	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
1243	support for JBIG compression scheme (34661 code) contributed by Lee
1244	Howard. As per bug
1245
1246	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
1247
1248	* configure, configure.ac: OJPEG support enabled by default.
1249
1250	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
1251
12522006-06-03  Bob Friesenhahn  <[email protected]>
1253
1254	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
1255	TIFFPrintDirectory().  Joris Van Damme authored the fix.
1256
12572006-04-21  Andrey Kiselev  <[email protected]>
1258
1259	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
1260	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
1261
1262	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
1263	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
1264	Added support for OpenVMS by Alexey Chupahin, [email protected].
1265
12662006-04-20  Andrey Kiselev  <[email protected]>
1267
1268	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
1269	Properly set the binary mode for stdin stream as per bug
1270	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
1271
1272	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
1273	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
1274	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
1275	tiffset.1}: Improvements in page formatting as per bug
1276	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
1277
1278	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
1279	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
1280
12812006-04-18  Frank Warmerdam  <[email protected]>
1282
1283	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
1284	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
1285
12862006-04-12  Joris Van Damme  <[email protected]>
1287
1288	* libtiff/tif_getimage.c: Added support for planarconfig separate
1289	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
1290
12912006-04-11  Joris Van Damme  <[email protected]>
1292
1293	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
1294	- Conversion of unassociated alpha to associated alpha now done with
1295	  more performant LUT, and calculation more correct
1296	- Conversion of 16bit data to 8bit data now done with
1297	  more performant LUT, and calculation more correct
1298	- Bugfix of handling of 16bit RGB with unassociated alpha
1299
13002006-04-11  Joris Van Damme  <[email protected]>
1301
1302	* libtiff/tif_getimage.c:
1303	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
1304	  buffer for alpha strile and filled it, only to never read it back.
1305	  Removed allocation and fill.
1306	- Minor rename of vars in gtTileSeparate and gtStripSeparate
1307	  anticipating planned functionality extension
1308
13092006-04-08  Joris Van Damme  <[email protected]>
1310
1311	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
1312	and pickTileSeparateCase to PickSeparateCase as both work on strips as
1313	well
1314
1315	* libtiff/tif_getimage.c: moved img->get selection from
1316	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
1317	logical hook for planned functionality extension
1318
13192006-04-08  Joris Van Damme  <[email protected]>
1320
1321	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
1322	of inappropriate use of jpeg_abort instead of jpeg_destroy
1323
13242006-04-07  Joris Van Damme  <[email protected]>
1325
1326	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
1327	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
1328	on subsampled images - this ought to get sorted when we feel brave
1329	enough to replace TIFFScanlineSize alltogether
1330
1331	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
1332
13332006-04-04  Joris Van Damme  <[email protected]>
1334
1335	* libtiff/tiffio.h: added new type tstrile_t
1336
1337	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
1338	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
1339	toff_t*
1340
1341	* libtiff/tif_ojpeg.c: totally new implementation
1342
1343	* libtiff/tif_dirread.c: added several hacks to suit new support of
1344	OJPEG
1345
1346	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
1347	of OJPEG images in favor of tif_getimage.c native handling of
1348	YCbCr and desubsampling
1349
13502006-03-29  Frank Warmerdam  <[email protected]>
1351
1352	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
1353	interpretation causes the "upsampled" flag to be recomputed.  Fixes
1354	peculiar bug where photometric flag had to be set before jpegcolormode
1355	flag.
1356
13572006-03-25  Joris Van Damme  <[email protected]>
1358
1359	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
1360
1361	* libtiff/tif_strip.c: temporarilly added two new versions of
1362	TIFFScanlineSize
1363	  - TIFFNewScanlineSize: proposed new version, after all related
1364	    issues and side-effects are sorted out
1365	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
1366	This needs further sorting out.
1367
13682006-03-25  Joris Van Damme  <[email protected]>
1369
1370	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
1371	of last truncated strip data to TIFFWriteEncodedStrip
1372
13732006-03-25  Joris Van Damme  <[email protected]>
1374
1375	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
1376
13772006-03-25  Joris Van Damme  <[email protected]>
1378
1379	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
1380
1381	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
1382
1383	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
1384	prepare	the path for new tif_ojpeg.c
1385
13862006-03-23  Andrey Kiselev  <[email protected]>
1387
1388	* libtiff 3.8.2 released.
1389
1390	* tools/Makefile.am: Use runtime paths linker flags when rpath
1391	option enabled.
1392
13932006-03-21  Andrey Kiselev  <[email protected]>
1394
1395	* libtiff/libtiff.def: Added missed exports as per bug
1396	http://bugzilla.remotesensing.org/attachment.cgi?id=337
1397
1398	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
1399	tools/Makefile.vc: Makefiles improvements as per bug
1400	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
1401
1402	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
1403	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
1404	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
1405
1406	* libtiff/tif_strip.c: Take subsampling in account when calculating
1407	TIFFScanlineSize().
1408
1409	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
1410
14112006-03-17  Andrey Kiselev  <[email protected]>
1412
1413	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
1414	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
1415
1416	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
1417	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
1418
14192006-03-16  Andrey Kiselev  <[email protected]>
1420
1421	* libtiff/tiffiop.h: Added decalration for
1422	_TIFFSetDefaultCompressionState().
1423
1424	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
1425	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
1426	codec cleanup methods. As per bug
1427
1428	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
1429
14302006-03-15  Andrey Kiselev  <[email protected]>
1431
1432	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
1433	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
1434
1435	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
1436	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
1437
1438	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
1439	removed; move here the STRIP_SIZE_DEFAULT macro definition.
1440
1441	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
1442	macro definition.
1443
1444	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
1445
14462006-03-14  Andrey Kiselev  <[email protected]>
1447
1448	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
1449	in TIFFReadDirectory, because it is always set at the start of
1450	function and we allow TIFFs without that tag set.
1451
14522005-03-13  Andrey Kiselev  <[email protected]>
1453
1454	* libtiff 3.8.1 released.
1455
14562006-03-07  Andrey Kiselev  <[email protected]>
1457
1458	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
1459	function as per bug
1460	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1461
1462	* libtiff/tif_dirread.c: More wise check for integer overflow
1463	condition as per bug
1464	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1465
1466	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
1467	Properly restore setfield/getfield methods in cleanup functions. As
1468	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1469
14702006-03-03  Andrey Kiselev  <[email protected]>
1471
1472	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
1473	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
1474
1475	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
1476	TIFFPredictorCleanup() in codec cleanup methods. As per bug
1477
1478	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1479
1480	* libtiff/tif_dirread.c: Fixed integer overflow condition in
1481	TIFFFetchData() function. As per bug
1482
1483	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
1484
14852006-03-01  Andrey Kiselev  <[email protected]>
1486
1487	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
1488	TIFFSetField() method, not directly. As per bug
1489
1490	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
1491
1492	* tools/ppm2tiff.c: Added support for PBM files as per bug
1493	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
1494
14952006-02-27  Andrey Kiselev  <[email protected]>
1496
1497	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
1498	to avoid crash as per bug
1499
1500	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
1501
15022006-02-26  Andrey Kiselev  <[email protected]>
1503
1504	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
1505	t2p_sample_rgba_to_rgb() was used in place of each other, that was
1506	resulted in problems with RGBA images with associated alpha.
1507	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
1508
15092006-02-23  Andrey Kiselev  <[email protected]>
1510
1511	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
1512	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1513
1514	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
1515	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
1516	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
1517
1518	* tools/tiff2ps.c: Properly scale all the pages when converting
1519	multipage TIFF with /width/height/center options set. As per bug
1520
1521	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
1522
15232006-02-15  Andrey Kiselev  <[email protected]>
1524
1525	* tools/tiff2pdf.c: Do not create output file until all option checks
1526	will be done. As per bug
1527
1528	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
1529
1530	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
1531	list of input files as per bug:
1532
1533	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
1534
15352006-02-09  Andrey Kiselev  <[email protected]>
1536
1537	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
1538	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
1539
1540	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
1541	TIFFRGBAImage interface.
1542
1543	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
1544	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
1545
15462006-02-07  Frank Warmerdam  <[email protected]>
1547
1548	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
1549	compressed TIFF files, per submission from Dan Cobra.
1550
15512006-02-07  Andrey Kiselev  <[email protected]>
1552
1553	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
1554	cast values to avoid warnings. As per bug
1555	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1556
1557	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
1558	appropriate. As per bug
1559	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1560
1561	* libtiff/tif_aux.c: Fixed type of temporary variable in
1562	_TIFFCheckMalloc() as per bug
1563	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
1564
15652006-02-06  Andrey Kiselev  <[email protected]>
1566
1567	* libtiff/tif_aux.c: Return static array when fetching default
1568	YCbCrCoefficients (another problem, reported a the
1569	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
1570
15712006-02-03  Andrey Kiselev  <[email protected]>
1572
1573	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
1574	YCbCrSubsampling and DotRange tags as per bugs
1575
1576	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
1577	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
1578
1579	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
1580	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
1581
1582	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
1583
15842006-01-23  Andrey Kiselev  <[email protected]>
1585
1586	* libtool related stuff updated from the 2.1a branch.
1587
15882006-01-11  Frank Warmerdam  <[email protected]>
1589
1590	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
1591	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
1592	properly as per bug:
1593	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
1594
15952006-01-09  Bob Friesenhahn  <[email protected]>
1596
1597	* configure.ac: Fix with_default_strip_size comparison as reported
1598	by Norihiko Murase.
1599
16002006-01-08  Bob Friesenhahn  <[email protected]>
1601
1602	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
1603	incorrectly, tests were not actually testing the uninstalled
1604	libtiff.  Now they are.
1605
16062006-01-04  Andrey Kiselev  <[email protected]>
1607
1608	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
1609	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
1610	should be uint32 value.
1611
16122006-01-02  Bob Friesenhahn  <[email protected]>
1613
1614	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
1615	be used if build directory is not the same as source directory.
1616	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
1617	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
1618	and re-sorted tag names in alphabetical order.
1619
16202005-12-29  Andrey Kiselev  <[email protected]>
1621
1622	* libtiff 3.8.0 released.
1623
16242005-12-28  Bob Friesenhahn  <[email protected]>
1625
1626	* tools/bmp2tiff.c (main): Fixed warning regarding returning
1627	inconsistent types from a condition.
1628	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
1629	format.
1630	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
1631
16322005-12-28  Joris Van Damme  <[email protected]>
1633
1634	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
1635
16362005-12-27  Andrey Kiselev  <[email protected]>
1637
1638	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
1639	windows.h, to reduce the compile time.
1640
16412005-12-26  Bob Friesenhahn  <[email protected]>
1642
1643	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
1644
16452005-12-26  Andrey Kiselev  <[email protected]>
1646
1647	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
1648	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
1649	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
1650	private functions to retrieve FieldInfo arrays.
1651
16522005-12-24  Bob Friesenhahn  <[email protected]>
1653
1654	* html/build.html: Added some additional instructions for when
1655	building using MSVC under Windows.  Also fixed two HTML syntax
1656	errors and used HTML Tidy to tidy up the HTML syntax and
1657	formatting.
1658
16592005-12-24  Andrey Kiselev  <[email protected]>
1660
1661	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
1662	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
1663	StoNits tags custom.
1664
16652005-12-23  Andrey Kiselev  <[email protected]>
1666
1667	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
1668	WhitePoint tag custom.
1669
1670	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
1671
16722005-12-23  Joris Van Damme  <[email protected]>
1673
1674	* libtiff/tiffio.h: fixed typo that potentially resulted in
1675	redefininition of USE_WIN32_FILEIO
1676
1677	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
1678	calls in core LibTiff.
1679
16802005-12-21  Andrey Kiselev  <[email protected]>
1681
1682	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
1683	Photoshop and ICCProfile tags custom.
1684
16852005-12-21  Joris Van Damme  <[email protected]>
1686
1687	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
1688	newer code to get context indicator in error handler and still
1689	remain compatible with older code: Done TIFFError calls everywhere
1690	except in tools
1691
16922005-12-20  Andrey Kiselev  <[email protected]>
1693
1694	* tools/tiffcp.c: Added many error reporting messages; fixed integer
1695	overflow as per bug
1696
1697	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
1698
16992005-12-16  Frank Warmerdam  <[email protected]>
1700
1701	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
1702	YCbCr images in jpeg compressed TIFF files.
1703
17042005-12-14  Andrey Kiselev  <[email protected]>
1705
1706	* tools/tiffcp.c: Return non-zero status when reading fails (again).
1707
17082005-12-13  Andrey Kiselev  <[email protected]>
1709
1710	* tools/tiffcp.c: Return non-zero status when reading fails.
1711
17122005-12-12  Andrey Kiselev  <[email protected]>
1713
1714	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
1715
17162005-12-09  Andrey Kiselev  <[email protected]>
1717
1718	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
1719	custom.
1720
1721	* tools/tiffinfo.c: Print EXIF directory contents if exist.
1722
1723	* libtiff/tiff.h: Few EXIF tag numbers added.
1724
1725	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
1726	tiffio.h}: Preliminary support to read custom directories. New
1727	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
1728
17292005-12-07  Andrey Kiselev  <[email protected]>
1730
1731	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
1732	More work to implement custom directory read support.
1733
1734	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
1735	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
1736	tags custom.
1737
17382005-12-05  Andrey Kiselev  <[email protected]>
1739
1740	* libtiff/tif_dirread.c: One more workaround for broken
1741	StripByteCounts tag. Handle the case when StripByteCounts array filled
1742	with completely wrong values.
1743
17442005-11-30  Andrey Kiselev  <[email protected]>
1745
1746	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
1747	in the TIFFOpenW() function as per bug
1748
1749	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
1750
1751	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
1752	functions as per bug
1753
1754	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
1755
17562005-11-20  Frank Warmerdam  <[email protected]>
1757
1758	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
1759	for MS MDI format.
1760	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
1761
1762	* .cvsignore: many files added, and a few update according
1763	to suggestion of Brad HArds on tiff mailing list.
1764
17652005-11-03  Frank Warmerdam  <[email protected]>
1766
1767	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
1768	public.
1769
17702005-10-31  Andrey Kiselev  <[email protected]>
1771
1772	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
1773	as per bug
1774
1775	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
1776
1777	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
1778	as per bug
1779
1780	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
1781
1782	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
1783	problem as per bug
1784
1785	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
1786
1787	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
1788
1789	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
1790
1791	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
1792	ResolutionUnit tags modifiable during write process. As per bug
1793
1794	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
1795
1796	* tools/tiffsplit.c: Copy fax related fields over splitted parts
1797	as per bug
1798
1799	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
1800
18012005-10-21  Frank Warmerdam  <[email protected]>
1802
1803	* tif_dirread.c: Don't try and split single strips into "0" strips
1804	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
1805	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
1806
18072005-10-20  Joris Van Damme  <[email protected]>
1808
1809	* tif_fax3.c: changed 'at scanline ...' style warning/errors
1810	with incorrect use of tif_row, to 'at line ... of
1811	strip/tile ...' style
1812
18132005-10-15  Frank Warmerdam  <[email protected]>
1814
1815	* tif_write.c: fixed setting of planarconfig as per bug report
1816	on the mailing list from Joris.
1817
18182005-10-07  Andrey Kiselev  <[email protected]>
1819
1820	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
1821	tif_dirread.c}: Make the default strip size configurable via the
1822	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
1823
18242005-09-30  Bob Friesenhahn  <[email protected]>
1825
1826	* html/support.html: Fixed link to documentation on Greg Ward's
1827	LogLuv TIFF format.
1828
18292005-09-28  Andrey Kiselev  <[email protected]>
1830
1831	* tools/tiffdump.c: Fixed crash when reading malformed tags.
1832
18332005-09-20  Andrey Kiselev  <[email protected]>
1834
1835	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
1836	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
1837
18382005-09-12  Andrey Kiselev  <[email protected]>
1839
1840	* libtiff 3.7.4 released.
1841
1842	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
1843	from Patrick Welche (all scripts moved in the 'config' and 'm4'
1844	directories).
1845
18462005-09-12  Frank Warmerdam  <[email protected]>
1847
1848	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
1849
18502005-09-05  Frank Warmerdam  <[email protected]>
1851
1852	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
1853	also set it to NULL to avoid double free when re-setting custom
1854	string fields as per:
1855
1856	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
1857
18582005-08-12  Frank Warmerdam  <[email protected]>
1859
1860	* libtiff/tif_print.c: avoid signed/unsigned warning.
1861
1862	* libtiff/tif_dirread.c: removed unused variable.
1863
18642005-07-30  Frank Warmerdam  <[email protected]>
1865
1866	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
1867	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
1868	pass on bigendian (macosx) system.
1869
18702005-07-28  Andrey Kiselev  <[email protected]>
1871
1872	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
1873	CheckMalloc() function to _TIFFCheckMalloc() and make it available
1874	globally as an internal helper routine.
1875
18762005-07-27  Andrey Kiselev  <[email protected]>
1877
1878	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
1879	the custom tags handling code.
1880
18812005-07-26  Andrey Kiselev  <[email protected]>
1882
1883	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
1884	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
1885	function, use TIFFFetchNormalTag() instead as per bug
1886
1887	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
1888
1889	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
1890	instead.
1891
1892	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
1893
1894	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
1895
18962005-07-25  Andrey Kiselev  <[email protected]>
1897
1898	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
1899
1900	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
1901
19022005-07-21  Andrey Kiselev  <[email protected]>
1903
1904	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
1905	the TIFFWriteCheck() function in case of single band images (as per
1906	TIFF spec).
1907
19082005-07-12  Andrey Kiselev  <[email protected]>
1909
1910	* SConstruct, libtiff/SConstruct: Added the first very preliminary
1911	support for SCons software building tool (http://www.scons.org/).
1912	This is experimental infrastructure and it will exist along with the
1913	autotools mechanics.
1914
19152005-07-07  Andrey Kiselev  <[email protected]>
1916
1917	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
1918	the NetBSD source tree (the old	4-clause BSD license changed to
1919	the new 3-clause one).
1920
1921	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
1922	replacement module.
1923
1924	* port/dummy.c: Make the dummy function static.
1925
19262005-07-06  Andrey Kiselev  <[email protected]>
1927
1928	* tools/tiffcp.c: Fixed WhitePoint tag copying.
1929
1930	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
1931	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
1932	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
1933
19342005-07-04  Andrey Kiselev  <[email protected]>
1935
1936	* libtiff 3.7.3 released.
1937
1938	* configure, configure.ac: Do not use empty -R option when linking
1939	with --enable-rpath.
1940
19412005-07-01  Andrey Kiselev  <[email protected]>
1942
1943	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
1944	reading the first IFD when needed. As per bug
1945
1946	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
1947
1948	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
1949	effects.
1950
19512005-06-23  Andrey Kiselev  <[email protected]>
1952
1953	* tools/tiff2pdf.c: Print two characters per loop in the
1954	t2p_write_pdf_trailer(). As per bug
1955
1956	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
1957
1958	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
1959	per bug
1960
1961	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
1962
1963	* acinclude.m4: Updated to latest OpenGL test macros versions.
1964
1965	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
1966	platform. As per bug
1967
1968	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
1969
19702005-06-14  Andrey Kiselev  <[email protected]>
1971
1972	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
1973	and YClipPathUnits tags.
1974
19752005-06-07  Andrey Kiselev  <[email protected]>
1976
1977	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
1978	use pixel sized shift in contigous case.
1979
19802005-06-06  Andrey Kiselev  <[email protected]>
1981
1982	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
1983	Make overviews working for contiguos images.
1984
19852005-06-03  Andrey Kiselev  <[email protected]>
1986
1987	* libtiff/tif_open.c: Replace runtime endianess check with the compile
1988	time one.
1989
1990	* libtiff/tif_predict.c: Floating point predictor now works on
1991	big-endian hosts.
1992
19932005-06-01  Andrey Kiselev  <[email protected]>
1994
1995	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
1996	ASCII values.
1997
1998	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
1999	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
2000	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
2001	TargetPrinter tags custom.
2002
2003	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
2004	TIFF_CODERSETUP flag (to fix memry leaks).
2005
2006	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
2007	allocating.
2008
20092005-05-26  Andrey Kiselev  <[email protected]>
2010
2011	* configure.ac, libtiff/Makefile.am: Added workaround for
2012	OpenBSD/MirOS soname problem as per bug
2013
2014	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
2015
2016	* libtiff/tif_dirwrite.c: Use tdir_count when calling
2017	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
2018	per bug
2019
2020	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
2021
20222005-05-25  Andrey Kiselev  <[email protected]>
2023
2024	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
2025	the fscanf() function. As per bug
2026
2027	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
2028
2029	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
2030	uint16 array when fetching the BYTE and SBYTE filds, so we should
2031	consider result as pointer to uint16 array and not as array of chars.
2032	As per bug
2033
2034	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
2035
2036	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
2037
2038	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
2039
2040	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
2041	mode in CreateFile() call as per bug
2042
2043	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
2044
2045	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
2046	libtiffxx libraries as per bug
2047
2048	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
2049
2050	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
2051	GDAL.
2052
20532005-05-23  Frank Warmerdam  <[email protected]>
2054
2055	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
2056	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
2057	in directory.
2058
20592005-05-22  Frank Warmerdam  <[email protected]>
2060
2061	* libtiff/tif_dirread.c: Changed the code that computes
2062	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
2063	zero. This is a common case with GDAL indicating a "null" tile/strip.
2064
20652005-05-17  Andrey Kiselev  <[email protected]>
2066
2067	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
2068
20692005-05-06  Frank Warmerdam  <[email protected]>
2070
2071	* libtiff/tif_dirread.c: Applied similar change to
2072	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
2073
2074	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2075
2076	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
2077
20782005-05-06  Andrey Kiselev  <[email protected]>
2079	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
2080	added new option '-b' to use interpolation in output PDF files (Bruno
2081	Ledoux).
2082
20832005-05-05  Frank Warmerdam  <[email protected]>
2084
2085	* libtiff/tif_dirread.c: Ensure that broken files with too many
2086	values in PerSampleShorts work ok instead of crashing.
2087
2088	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2089
20902005-04-27  Andrey Kiselev  <[email protected]>
2091
2092	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
2093	input file.
2094
20952005-04-15  Andrey Kiselev  <[email protected]>
2096
2097	* libtiff/tif_predict.c: Added ability to encode floating point
2098	predictor, as per TIFF Technical Note 3.
2099
21002005-04-14  Andrey Kiselev  <[email protected]>
2101
2102	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
2103	floating point predictor, as per TIFF Technical Note 3.
2104
21052005-04-13  Andrey Kiselev  <[email protected]>
2106
2107	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
2108	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
2109	swap 24-bit floating point values.
2110
2111	* libtiff/tiff.h: Added predictor constants.
2112
21132005-04-08  Andrey Kiselev  <[email protected]>
2114
2115	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
2116	values in _TIFFVSetField() function. Inspired by the bug
2117
2118	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2119
2120	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
2121	as per bug
2122
2123	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2124
21252005-03-30  Andrey Kiselev  <[email protected]>
2126
2127	* libtiff/tif_open.c: Do not read header in case the output file
2128	should be truncated (Ron).
2129
2130	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
2131	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
2132
2133	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
2134
21352005-03-22  Andrey Kiselev  <[email protected]>
2136
2137	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
2138	rpath option.
2139
21402005-03-21  Andrey Kiselev  <[email protected]>
2141
2142	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
2143	tags.
2144
21452005-03-18  Andrey Kiselev  <[email protected]>
2146
2147	* libtiff/dirinfo.c: Added DNG tags.
2148
2149	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
2150	handling code.
2151
2152	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
2153	added DNG 1.1.0.0 tags.
2154
2155	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
2156	bug
2157
2158	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
2159
2160	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
2161
21622005-03-17  Andrey Kiselev  <[email protected]>
2163
2164	* nmake.opt: Build with Win32 CRT library by default.
2165
2166	* tools/tiff2ps.c: Fixed typo in page size handling code.
2167
2168	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
2169	by value.
2170
2171	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
2172
21732005-03-15  Andrey Kiselev  <[email protected]>
2174
2175	* libtiff 3.7.2 released.
2176
21772005-03-09  Andrey Kiselev  <[email protected]>
2178
2179	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
2180	floating point data; complain on unsupported bit depths.
2181
21822005-03-05  Andrey Kiselev  <[email protected]>
2183
2184	* tif_stream.cxx: Use ios namespace instead of ios_base to support
2185	GCC 2.95.
2186
2187	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
2188	Lee Howard for HylaFax DCS tag
2189	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
2190
21912005-03-04  Andrey Kiselev  <[email protected]>
2192
2193	* configure, configure.ac: Use -rpath option instead of -R as per bug
2194
2195	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
2196
2197	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
2198	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
2199	software. As per bug
2200
2201	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
2202
2203	* nmake.opt, html/build.html: Add more comments, change the config
2204	file organization a bit as per bug
2205
2206	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
2207
2208	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
2209	as per bug
2210
2211	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
2212
22132005-03-03  Andrey Kiselev  <[email protected]>
2214
2215	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
2216	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
2217
2218	* tools/fax2ps.c: Replace insecure mktemp() function with the
2219	tmpfile() as per bug
2220
2221	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
2222
22232005-02-04  Andrey Kiselev  <[email protected]>
2224
2225	* libtiff/tiff.h: Changed the int8 definition to be always signed char
2226	as per bug
2227
2228	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
2229
2230	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
2231	block as per bug
2232
2233	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
2234
22352005-02-03  Bob Friesenhahn  <[email protected]>
2236
2237	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
2238	display more correctly.  Images display brighter than they should
2239	on a Sun workstation.
2240
22412005-02-03  Andrey Kiselev  <[email protected]>
2242
2243	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
2244	suspicious values in the tags. As per bugs
2245
2246	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
2247
2248	and
2249
2250	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
2251
2252	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
2253
2254	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
2255
22562005-01-31  Bob Friesenhahn  <[email protected]>
2257
2258	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
2259	(TIFFTAG_TILELENGTH): Corrected description.
2260
22612005-01-30  Andrey Kiselev  <[email protected]>
2262
2263	* configure.ac: Fixes for --with-docdir option as per bug
2264
2265	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
2266
2267	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
2268	bug
2269
2270	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
2271
2272	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
2273	Michael Rinne and Edward Lam.
2274
22752005-01-15  Andrey Kiselev  <[email protected]>
2276
2277	* configure.ac: Make the documentation directory location configurable
2278	via the --with-docdir option (as suggested by Jeremy C. Reed).
2279
2280	* libtiff/tif_color.c: Use double as the second argument of pow()
2281	function in TIFFCIELabToRGBInit(). As per bug
2282
2283	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
2284
2285	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
2286	integer as per bug
2287
2288	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
2289
2290	* libtiff/tif_getimage.c: Always fill the error message buffer in
2291	TIFFRGBAImageBegin() as per bug
2292
2293	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
2294
22952005-01-12  Andrey Kiselev  <[email protected]>
2296
2297	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
2298	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
2299	tags as per bug
2300
2301	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
2302
2303	* libtiff/tif_win32.c: Fixed message formatting in functions
2304	Win32WarningHandler() and Win32ErrorHandler() as per bug
2305
2306	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
2307
2308	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
2309	per bug
2310
2311	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
2312
23132005-01-11  Andrey Kiselev  <[email protected]>
2314
2315	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
2316	"C"' section as per bug
2317
2318	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
2319
2320	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
2321	compiler to avoid double definition of BSD types as per bug
2322
2323	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2324
2325	* libtiff/Makefile.am: Place the C++ stream API in the separate
2326	library called libtiffxx to avoid unneeded dependencies. Probably
2327	there will be more C++ API in the future. As per bugs
2328
2329	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
2330
2331	and
2332
2333	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2334
23352005-01-05  Andrey Kiselev  <[email protected]>
2336
2337	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
2338	wrong tag counts (Dmitry V. Levin, Martin Pitt).
2339
2340	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
2341	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
2342
23432004-12-25  Andrey Kiselev  <[email protected]>
2344
2345	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
2346	RGB-images as per bug
2347
2348	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2349
2350
2351	* tools/tiffset.c: Convert character option to integer value as per
2352	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
2353
23542004-12-20  Andrey Kiselev  <[email protected]>
2355
2356	* libtiff 3.7.1 released.
2357
2358	* html/tiffset.1.html: Add missed manual page as per bug
2359
2360	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2361
2362	* libtiff/tiff.h: Revert back libtiff data type definitions as per
2363	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
2364
23652004-12-19  Andrey Kiselev  <[email protected]>
2366
2367	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
2368	checking for tag count in TIFFReadDirectory() function. As per bug
2369
2370	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
2371
2372	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
2373	CheckMallock() function.
2374
2375	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
2376	RGB-images as per bug
2377
2378	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
2379
23802004-12-15  Frank Warmerdam  <[email protected]>
2381
2382	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
2383	SunPro compiler.
2384
23852004-12-11  Bob Friesenhahn  <[email protected]>
2386
2387	* autogen.sh: aclocal and autoheader should be executed after
2388	libtoolize.  Also add '-I .' to aclocal invocation to check
2389	current directory for macros.
2390
23912004-12-10  Andrey Kiselev  <[email protected]>
2392
2393	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
2394	as per bugs
2395
2396	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
2397
2398	and
2399
2400	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
2401
24022004-12-04  Andrey Kiselev  <[email protected]>
2403
2404	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
2405
2406	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2407
2408	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
2409	mode as per bug
2410
2411	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
2412
2413	* libtiff/tif_config.in.vc: Removed unneded definitions for
2414	read/open/close/lseek functions to fix the
2415
2416	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
2417
24182004-12-03  Andrey Kiselev  <[email protected]>
2419
2420	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
2421	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
2422	must be removed in the future, as it was never used properly. As per
2423	bug
2424
2425	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
2426
24272004-11-30  Bob Friesenhahn  <[email protected]>
2428
2429	* libtiff/tif_jpeg.c: Added a work-around in order to allow
2430	compilation with the heavily modified version of libjpeg delivered
2431	with Cygwin.
2432
24332004-11-29  Andrey Kiselev  <[email protected]>
2434
2435	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
2436	counts. As per bug
2437
2438	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
2439
2440	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
2441
2442	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
2443
24442004-11-28  Andrey Kiselev  <[email protected]>
2445
2446	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
2447	on Windows.
2448
2449	* nmake.opt: Add missed DLLNAME variable.
2450
24512004-11-26  Frank Warmerdam  <[email protected]>
2452
2453	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
2454
24552004-11-24  Andrey Kiselev  <[email protected]>
2456
2457	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
2458	per bug
2459
2460	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
2461
2462	* man/tiffset.1: Added manual page for tiffset tool written by Jay
2463	Berkenbilt. As per bug
2464
2465	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
2466
24672004-11-23  Frank Warmerdam  <[email protected]>
2468
2469	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
2470
24712004-11-21  Frank Warmerdam  <[email protected]>
2472
2473	* html/document.html: Updated Adobe web links as per email from Joris.
2474
24752004-11-21  Andrey Kiselev  <[email protected]>
2476
2477	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
2478	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
2479	use C++ streams should #include <tiffio.hxx>.
2480
24812004-11-13  Andrey Kiselev  <[email protected]>
2482
2483	* libtiff/tiff.h: Added Adobe DNG tags.
2484
2485	* libtiff/tif_win32.c: Typo fixed.
2486
2487	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
2488	be compliant with the latest standard. Appropriate additions in
2489	makefiles now completed.
2490
24912004-11-11  Andrey Kiselev  <[email protected]>
2492
2493	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
2494	different tag types. As per bug
2495
2496	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
2497
24982004-11-10  Andrey Kiselev  <[email protected]>
2499
2500	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
2501	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
2502
25032004-11-09  Andrey Kiselev  <[email protected]>
2504
2505	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
2506
25072004-11-07  Andrey Kiselev  <[email protected]>
2508
2509	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
2510	contributed by Edward Lam (see
2511	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
2512	Though no changes in any makefiles yet.
2513
25142004-11-05  Frank Warmerdam  <[email protected]>
2515
2516	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
2517	is bad. This is the callers responsibility.
2518	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
2519
25202004-11-05  Andrey Kiselev  <[email protected]>
2521
2522	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
2523	function to work with the double byte strings (used to represent
2524	filenames in some locales). As per bug
2525
2526	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
2527
2528	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
2529	Compression tags of type LONG from broken TIFFS as per bug
2530
2531	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2532
2533	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
2534	the writecount should have uint32 type. As per bug
2535
2536	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
2537
2538	* libtiff/tif_write.c: Fixed wrong if() statement in
2539	TIFFAppendToStrip() function as per bug
2540
2541	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
2542
25432004-11-04  Andrey Kiselev  <[email protected]>
2544
2545	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
2546	field. The caller should supply a count when setting this field. As
2547	per bug
2548
2549	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
2550
2551	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
2552	uint32 count. Use this type everywhere.
2553
25542004-11-03  Frank Warmerdam  <[email protected]>
2555
2556	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
2557
25582004-11-02  Frank Warmerdam  <[email protected]>
2559
2560	* tools/tiff2rgba.c: removed extra newlines in usage message.
2561
25622004-10-30  Andrey Kiselev  <[email protected]>
2563
2564	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
2565
2566	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
2567	tags (Tristan Hill).
2568
25692004-10-30  Frank Warmerdam  <[email protected]>
2570
2571	* libtiff/tiffiop.h: added fallback definition of assert() if we
2572	don't have assert.h.
2573
25742004-10-29  Andrey Kiselev  <[email protected]>
2575
2576	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
2577	choosing when the incorrect Group4Options tag set. As per bug
2578
2579	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
2580
2581	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
2582	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
2583	TIFFWriteNormalTag().
2584
25852004-10-28  Andrey Kiselev  <[email protected]>
2586
2587	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
2588	tags (Peter Fales).
2589
2590	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
2591
25922004-10-28  Frank Warmerdam  <[email protected]>
2593
2594	* tools/tiff2pdf.c: added casts to avoid warnings.
2595
2596	* libtiff/libtiff.def: Added several more entry points required
2597	to link fax2tiff.c against the DLL on windows.
2598
25992004-10-27  Andrey Kiselev  <[email protected]>
2600
2601	* configure, configure.ac: Added --enable-rpath option to embed linker
2602	paths into library binary.
2603
26042004-10-26  Andrey Kiselev  <[email protected]>
2605
2606	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
2607
2608	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
2609	(Vladimir Nadvornik, Dmitry V. Levin).
2610
26112004-10-16  Andrey Kiselev  <[email protected]>
2612
2613	* libtiff 3.7.0 released.
2614
26152004-10-15  Bob Friesenhahn  <[email protected]>
2616
2617	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
2618	in this file so its inclusion is removed.  Including stdio.h
2619	sometimes incurs an INT32 typedef conflict between MinGW's
2620	basetsd.h and libjpeg's jmorecfg.h.
2621
26222004-10-15  Andrey Kiselev  <[email protected]>
2623
2624	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
2625
26262004-10-13  Bob Friesenhahn  <[email protected]>
2627
2628	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
2629	conflict noticed under MinGW.
2630	* ltmain.sh: Fix for MinGW compilation.
2631
26322004-10-13  Frank Warmerdam  <[email protected]>
2633
2634	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
2635	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
2636
26372004-10-12  Andrey Kiselev  <[email protected]>
2638
2639	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
2640	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
2641	properly (Dmitry V. Levin, Marcus Meissner).
2642
26432004-10-11  Andrey Kiselev  <[email protected]>
2644
2645	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
2646	to TIFF_IFD.
2647
26482004-10-10  Andrey Kiselev  <[email protected]>
2649
2650	* tools/bmp2tif.c: Check the space allocation results.
2651
26522004-10-09  Andrey Kiselev  <[email protected]>
2653
2654	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
2655	of the TIFFDirectory structure with the 0 instead of -1 to avoid
2656	confusing integer overflows in TIFFTileRowSize() for striped images.
2657
2658	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
2659	by Ross A. Finlayson.
2660
2661	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
2662
2663	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
2664
26652004-10-08  Frank Warmerdam  <[email protected]>
2666
2667	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
2668	of tif_fieldinfo.
2669
2670	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
2671
26722004-10-04  Bob Friesenhahn  <[email protected]>
2673
2674	* contrib/iptcutil/README: Added the missing README which goes
2675	along with iptcutil.
2676
26772004-10-03  Andrey Kiselev  <[email protected]>
2678
2679	* libtiff/tif_compress.c: Improved error reporting in
2680	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
2681
26822004-10-02  Andrey Kiselev  <[email protected]>
2683
2684	* libtiff 3.7.0beta2 released.
2685
2686	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
2687	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
2688	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
2689	allocations and	integer overflows (Dmitry V. Levin).
2690
2691	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
2692
26932004-10-01  Frank Warmerdam  <[email protected]>
2694
2695	* libtiff/tif_open.c: added a more informative message if a BigTIFF
2696	file is opened.
2697
26982004-09-30  Frank Warmerdam  <[email protected]>
2699
2700	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
2701	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
2702	in the Adobe XMP Specification.
2703
27042004-09-29  Andrey Kiselev  <[email protected]>
2705
2706	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
2707	memset().
2708
2709	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
2710	from Dmitry V. Levin to fix possible integer overflow problems.
2711
27122004-09-28  Andrey Kiselev  <[email protected]>
2713
2714	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
2715	(Dmitry V. Levin).
2716
27172004-09-26  Andrey Kiselev  <[email protected]>
2718
2719	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
2720	Optimize checking for the strip bounds.
2721
2722	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
2723	TIFFRasterScanlineSize() functions report zero in the case of integer
2724	overflow now. Properly handle this case in TIFFReadDirectory()
2725	(patches from Dmitry V. Levin).
2726
27272004-09-25  Andrey Kiselev  <[email protected]>
2728
2729	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
2730	macro where appropriate.
2731
2732	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
2733	noted by Gennady Khokhorin.
2734
2735	* libtiff/tif_dirread.c: Always check the return values, returned
2736	by the _TIFFmalloc() (Dmitry V. Levin).
2737
2738	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
2739	functions (Dmitry V. Levin).
2740
2741	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
2742	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
2743	TIFFGrowStrips() (found by Dmitry V. Levin).
2744
27452004-09-24  Andrey Kiselev  <[email protected]>
2746
2747	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
2748	to get the list of configured codecs.
2749
2750	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
2751	Dmitry V. Levin.
2752
27532004-09-23  Andrey Kiselev  <[email protected]>
2754
2755	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
2756	possible integer overflow in CheckMalloc() function.
2757
27582004-09-22  Andrey Kiselev  <[email protected]>
2759
2760	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
2761	of plain TIFFhowmany() where appropriate.
2762
27632004-09-21  Andrey Kiselev  <[email protected]>
2764
2765	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
2766
27672004-09-19  Andrey Kiselev  <[email protected]>
2768
2769	* libtiff 3.7.0beta released.
2770
2771	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
2772	overruns fixed, as noted by Chris Evans.
2773
27742004-09-14  Bob Friesenhahn  <[email protected]>
2775
2776	* commit: Added a script to make it more convenient to commit
2777	updates.  The CVS commit message is extracted from this ChangeLog
2778	file.
2779
27802004-09-14  Andrey Kiselev  <[email protected]>
2781
2782	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
2783	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
2784	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
2785	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
2786	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
2787	tif_config.h.in, tiffiop.h}:
2788	Get rid of BSD data types (u_char, u_short, u_int, u_long).
2789
27902004-09-13  Bob Friesenhahn  <[email protected]>
2791
2792	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
2793	specification. Reference libtiff bug tracking system to submit
2794	private tag additions.
2795
27962004-09-12  Bob Friesenhahn  <[email protected]>
2797
2798	* tools/tiffgt.c: Include "tif_config.h".
2799
2800	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
2801	tiffgt.  This results in the 'compile' script being added to the
2802	project.
2803
2804	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
2805	required to find OpenGL headers necessary to build tiffgt.  Also
2806	ensure that the libtiff that we built is used rather than some other
2807	libtiff installed on the system.
2808
28092004-09-12  Andrey Kiselev  <[email protected]>
2810
2811	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
2812	libraries.
2813
28142004-09-11  Bob Friesenhahn  <[email protected]>
2815
2816	* configure.ac: Pass library configuration defines via
2817	tif_config.h rather than extending CPPFLAGS. Configure a
2818	libtiff/tiffconf.h in order to satisfy application requirements
2819	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
2820	this causes failure to build on systems which properly respect
2821	this request.
2822
2823	* libtiff/tiffconf.h.in: New file to act as the template for the
2824	configured tiffconf.h
2825
2826	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
2827
28282004-09-10  Frank Warmerdam  <[email protected]>
2829
2830	* html/internals.html: Split off a discussion of adding new tags
2831	into addingtags.html.
2832
28332004-09-10  Andrey Kiselev  <[email protected]>
2834
2835	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
2836
2837	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
2838
2839	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2840
2841	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
2842
2843	* libtiff/tif_dirread.c: Don't reject to read tags of the
2844	SamplesPerPixel size when the tag count is greater than number of
2845	samples as per bug
2846
2847	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
2848
2849	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
2850	defining int8/uint8/... etc. types. As per bug
2851
2852	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
2853
28542004-09-09  Frank Warmerdam  <[email protected]>
2855
2856	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
2857	to avoid compile warnings about getopt() and a few other things.
2858
28592004-09-02  Andrey Kiselev  <[email protected]>
2860
2861	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
2862	assigning magic in TIFFFetchFloat().
2863
28642004-09-01  Andrey Kiselev  <[email protected]>
2865
2866	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
2867	to avoid requirement for tiffiop.h inclusion in some applications. See
2868	here
2869
2870	http://www.asmail.be/msg0054799560.html
2871
2872	for details.
2873
2874	* tools/fax2tiff.c: Use the new functions in the code.
2875
28762004-08-25  Andrey Kiselev  <[email protected]>
2877
2878	* tools/tiff2pdf.c: Initialize arrays properly.
2879
2880	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
2881	properly initialize array in PSDataBW().
2882
28832004-08-24  Andrey Kiselev  <[email protected]>
2884
2885	* tools/tiff2pdf.c: More fixes for bug
2886
2887	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2888
2889	from Ross Finlayson.
2890
28912004-08-23  Andrey Kiselev  <[email protected]>
2892
2893	* tools/tiff2ps.c: Fixed problem with uninitialized values.
2894
2895	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
2896	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
2897
2898	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
2899
2900	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
2901
29022004-08-20  Andrey Kiselev  <[email protected]>
2903
2904	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
2905	that the input file has compression, photometric interpretation,
2906	etcetra, tags or if not than a more descriptive error is returned.
2907
2908	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
2909	code, responsible for tag data type checking.
2910
29112004-08-19  Andrey Kiselev  <[email protected]>
2912
2913	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
2914	variable as per bug
2915
2916	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
2917
29182004-08-16  Andrey Kiselev  <[email protected]>
2919
2920	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
2921	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
2922
29232004-08-01  Andrey Kiselev  <[email protected]>
2924
2925	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
2926	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
2927
29282004-07-24  Andrey Kiselev  <[email protected]>
2929
2930	* libtiff/tif_lzw.c: LZW compression code is merged back from the
2931	separate package. All libtiff tools are updated to not advertise an
2932	abcence of LZW support.
2933
29342004-07-12  Andrey Kiselev  <[email protected]>
2935
2936	* libtiff/tiffio.h: Revert thandle_t back to void* type.
2937
29382004-07-11  Andrey Kiselev  <[email protected]>
2939
2940	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
2941	messages, as suggested by Bernd Herd.
2942
29432004-07-03  Andrey Kiselev  <[email protected]>
2944
2945	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
2946	when setting custom tags by value. Reported by Eric Fieleke.
2947
29482004-06-14  Andrey Kiselev  <[email protected]>
2949
2950	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
2951
29522004-06-08  Andrey Kiselev  <[email protected]>
2953
2954	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
2955	into TIFFs.
2956
29572004-06-07  Andrey Kiselev  <[email protected]>
2958
2959	* libtiff 3.7.0alpha released.
2960
29612004-06-06  Andrey Kiselev  <[email protected]>
2962
2963	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
2964	of ugly 64-bit hacks, replace them with the clever (autoconf based )
2965	ones :-).
2966
2967	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
2968	problems in 64-bit environment).
2969
29702004-06-05  Andrey Kiselev  <[email protected]>
2971
2972	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
2973	Tags can be supplied by the mnemonic name or number.
2974
2975	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
2976	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
2977
29782004-05-27  Andrey Kiselev  <[email protected]>
2979
2980	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
2981	markers as per bug
2982
2983	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
2984
29852004-05-24  Andrey Kiselev  <[email protected]>
2986
2987	* tools/tiffsplit.c: Don't forget to copy Photometric
2988	Interpretation tag.
2989
29902004-05-20  Andrey Kiselev  <[email protected]>
2991
2992	* libtiff/{tif_open.c, tiffio.h}: New function added:
2993	TIFFIsBigEndian(). Function returns nonzero if given was file written
2994	in big-endian order.
2995
2996	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
2997	files. Now output files will be written using the same byte order
2998	flag as	in the input image. See
2999
3000	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
3001
3002	for details.
3003
30042004-05-19  Frank Warmerdam  <[email protected]>
3005
3006	* libtiff/tif_print.c: added (untested) support for printing
3007	SSHORT, SLONG and SRATIONAL fields.
3008
3009	* tools/tiffcp.c: close output file on normal exit.
3010
30112004-05-17  Andrey Kiselev  <[email protected]>
3012
3013	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
3014	if compression type mismatches. See
3015
3016	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
3017
30182004-04-30  Andrey Kiselev  <[email protected]>
3019
3020	* libtiff/tif_strip.c: Never return 0 from the
3021	TIFFNumberOfStrips().
3022
30232004-04-29  Andrey Kiselev  <[email protected]>
3024
3025	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
3026	store single SampleFormat value for multisampled images. See
3027
3028	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
3029
30302004-04-25  Andrey Kiselev  <[email protected]>
3031
3032	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
3033	int16 and int32 types to avoid complains on some compilers. Details at
3034
3035	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3036
30372004-04-20  Andrey Kiselev  <[email protected]>
3038
3039	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
3040
3041	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
3042
30432004-04-14  Andrey Kiselev  <[email protected]>
3044
3045	* libtiff/tif_write.c: Allow in-place updating of the compressed
3046	images (don't work properly with all codecs). For details see GDAL bug
3047
3048	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
3049
30502004-04-06  Andrey Kiselev  <[email protected]>
3051
3052	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
3053	in the Intergarph JPEG compressed TIFF images as per bug:
3054
3055	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
3056
30572004-04-04  Frank Warmerdam  <[email protected]>
3058
3059	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
3060	via bad2.
3061
30622004-03-26  Andrey Kiselev  <[email protected]>
3063
3064	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
3065	JPEG compression of grayscale images.
3066
3067	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
3068	present in the input image.
3069
30702004-03-19  Andrey Kiselev  <[email protected]>
3071
3072	* {many}: The first attempt to switch to autotools.
3073
30742004-03-03  Andrey Kiselev  <[email protected]>
3075
3076	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
3077	TIFFClientOpen() when the appropriate client functions was not
3078	supplied by user.
3079
30802004-03-02  Frank Warmerdam  <[email protected]>
3081
3082	* tools/ycbcr.c: fixed main() declaration as per:
3083	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
3084
30852004-02-26  Andrey Kiselev  <[email protected]>
3086
3087	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
3088	images. Reported by Artem Mirolubov.
3089
3090	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
3091	tag type in TIFFFetchNormalTag() as per bug
3092
3093	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
3094
30952004-02-17  Frank Warmerdam  <[email protected]>
3096
3097	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
3098	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
3099
31002004-02-05  Andrey Kiselev  <[email protected]>
3101
3102	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
3103	bug
3104
3105	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
3106
3107	But we need more work on fax codec to support update mode.
3108
31092004-01-30  Frank Warmerdam  <[email protected]>
3110
3111	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
3112	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
3113	Scott Reynolds.
3114
31152004-01-29  Andrey Kiselev  <[email protected]>
3116
3117	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
3118	and TIFFTAG_INDEXED as per bug
3119
3120	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
3121
3122	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
3123	NULL before proceeding further as per bug
3124
3125	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
3126
3127	Check results, returned by the TIFFFdOpen() before returning and close
3128	file if TIFFFdOpen() failed as per bug
3129
3130	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3131
3132	* libtiff/tif_open.c: More fixes for
3133
3134	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3135
31362004-01-28  Andrey Kiselev  <[email protected]>
3137
3138	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
3139	TIFFCleanup() from the TIFFClose() in order to fix the bug
3140
3141	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3142
3143	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
3144	InkNames tag as per bug
3145
3146	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
3147
3148	Memory leak fixed.
3149
31502004-01-21  Frank Warmerdam  <[email protected]>
3151
3152	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
3153	are field_passcount=TRUE properly.  Arguably anonymous custom tags
3154	should be declared as passcount=FALSE, but I don't want to change
3155	that without a careful review.
3156
31572004-01-20  Andrey Kiselev  <[email protected]>
3158
3159	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
3160	stripped image in TIFFWriteBufferSetup(). As per bug
3161
3162	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
3163
31642004-01-11  Andrey Kiselev  <[email protected]>
3165
3166	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
3167	patch from Gerben Koopmans.
3168
3169	* libtiff/tif_dirread.c: Check field_passcount value before setting
3170	the value of undefined type, patch from Gerben Koopmans.
3171
31722004-01-02  Andrey Kiselev  <[email protected]>
3173
3174	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
3175	non-RGB images.
3176
31772003-12-31  Andrey Kiselev  <[email protected]>
3178
3179	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
3180	pointer passed. Patch supplied by Larry Grill.
3181
3182	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
3183	suggested by Jeremy C. Reed.
3184
31852003-12-26  Andrey Kiselev  <[email protected]>
3186
3187	* libtiff 3.6.1 released.
3188
31892003-12-24  Andrey Kiselev  <[email protected]>
3190
3191	* config.guess, config.sub: Updated from the recent upstream.
3192
31932003-12-22  Andrey Kiselev  <[email protected]>
3194
3195	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
3196	More cleanups in color conversion interface, added appropriate manual
3197	page.
3198
31992003-12-19  Andrey Kiselev  <[email protected]>
3200
3201	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
3202	per bug
3203
3204	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
3205
3206	* tools/tiff2ps.c: Added support for alpha channel. Fixes
3207
3208	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
3209
3210	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
3211	Interface for Lab->RGB color conversion is finally cleaned up.
3212	Added support for ReferenceBlackWhite tag handling when converted from
3213	YCbCr color space. The latter closes
3214
3215	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
3216
32172003-12-07  Andrey Kiselev  <[email protected]>
3218
3219	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
3220
3221	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
3222	library.
3223
32242003-12-06  Andrey Kiselev  <[email protected]>
3225
3226	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
3227	file and properly use it for CIE Lab->RGB transform.
3228
32292003-12-04  Andrey Kiselev  <[email protected]>
3230
3231	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
3232	conversion routines now in the tif_color.c module. New function
3233	TIFFYCbCrtoRGB() available in TIFF API.
3234
3235	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
3236
32372003-12-03  Andrey Kiselev  <[email protected]>
3238
3239	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
3240	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
3241	module.
3242
3243	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
3244	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
3245	Finally resolved problems with orientation handling. TIFFRGBAImage
3246	interface now properly supports all possible orientations, i.e. images
3247	will be flipped both in horizontal and vertical directions if
3248	required. 'Known bugs' section now removed from the appropriate manual
3249	pages. Closed bug entry:
3250
3251	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
3252
32532003-12-02  Andrey Kiselev  <[email protected]>
3254
3255	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
3256	function calls as per bug
3257
3258	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
3259
32602003-11-28 Ross Finlayson  <[email protected]>
3261
3262	* tools/tiff2pdf.c:  Some bugs fixed.
3263
32642003-11-27  Andrey Kiselev  <[email protected]>
3265
3266	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
3267	reported by Antonio Scuri.
3268
3269	* man/tiff2pdf.1: Few improvements in page layout.
3270
3271	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
3272	 Added support fpr tiff2pdf manual page.
3273
32742003-11-26 Ross Finlayson  <[email protected]>
3275
3276	* /man/tiff2pdf.1:  File added to repository.
3277
32782003-11-26  Andrey Kiselev  <[email protected]>
3279
3280	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
3281	 Added support fpr tiff2pdf utility.
3282
32832003-11-25  Ross Finlayson  <[email protected]>
3284
3285	* /tools/tiff2pdf.c:  File added to repository.
3286
32872003-11-22  Andrey Kiselev  <[email protected]>
3288
3289	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
3290
32912003-11-21  Andrey Kiselev  <[email protected]>
3292
3293	* /tools/raw2tiff.c: #include <getopt.h> removed.
3294
3295	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
3296	sgigt utility removed and replaced with the completely rewritten
3297	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
3298	there is a lot of things to improve.
3299
3300	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
3301	extract the fields from the OJPEG files. Patch supplied by Ross
3302	Finlayson.
3303
3304	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
3305	Added new function TIFFIsCODECConfigured(), suggested by Ross
3306	Finlayson.
3307
33082003-11-18  Andrey Kiselev  <[email protected]>
3309
3310	* libtiff/tif_dirinfo.c: Implemented binary search in
3311	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
3312
3313	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
3314	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
3315
33162003-11-17  Frank Warmerdam  <[email protected]>
3317
3318	* tif_dirread.c: do not mark all anonymously defined tags to be
3319	IGNOREd.
3320
33212003-11-17  Andrey Kiselev  <[email protected]>
3322
3323	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
3324	TIFFDataWidth() function insted of tiffDataWidth array.
3325
33262003-11-16  Andrey Kiselev  <[email protected]>
3327
3328	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
3329	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
3330
33312003-11-15  Frank Warmerdam  <[email protected]>
3332
3333	* Makefile.in: fixed missing backslash for tif_color.c in list.
3334
33352003-11-13  Andrey Kiselev  <[email protected]>
3336
3337	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
3338	New color space conversion code: CIE L*a*b* 1976 images now supported
3339	by the TIFFRGBAImage interface. All introduced routines go to new
3340	module tif_color.c. Eventually all color conversion functions should
3341	be moved there.
3342
33432003-11-12  Andrey Kiselev  <[email protected]>
3344
3345	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
3346	with the reverse byte order (it is reported by the magic header
3347	field). Problem reported by Andreas Wiesmann.
3348
3349	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
3350	calculation function. Guessing mechanics now documented in manual page.
3351
33522003-11-11  Andrey Kiselev  <[email protected]>
3353
3354	* tools/raw2tiff.c: Implemented image size guessing using
3355	correlation coefficient calculation between two neighbour lines.
3356
33572003-11-09  Frank Warmerdam  <[email protected]>
3358
3359	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
3360	planarconfig_contig case in TIFFComputeTile().
3361
3362	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
3363
33642003-11-09  Andrey Kiselev  <[email protected]>
3365
3366	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
3367
33682003-11-07  Andrey Kiselev  <[email protected]>
3369
3370	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
3371	Added TIFFRawStripSize() function as suggested by Chris Hanson.
3372
33732003-11-03  Andrey Kiselev  <[email protected]>
3374
3375	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
3376	per bug
3377
3378	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
3379
33802003-10-29  Andrey Kiselev  <[email protected]>
3381
3382	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
3383
3384	* html/build.html: Added note about GNU make requirement.
3385
33862003-10-25  Andrey Kiselev  <[email protected]>
3387
3388	* Makefile.in: Fixes in using MAKEFLAGS as per bug
3389
3390	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
3391
3392	* port/install.sh.in: Option -p added to the mkdir command to create
3393	all directory tree structure before installing.
3394
33952003-10-18  Andrey Kiselev  <[email protected]>
3396
3397	* /tools/tiff2ps.c: #include <strings.h> replaced with the
3398	#include <string.h>.
3399
34002003-10-16  Andrey Kiselev  <[email protected]>
3401
3402	* Makefile.in: Add an absolute path to the test_pics.sh call.
3403
34042003-10-12  Andrey Kiselev  <[email protected]>
3405
3406	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
3407	typedefs.
3408
34092003-10-09  Andrey Kiselev  <[email protected]>
3410
3411	* configure, libtiff/{Makefile.in, mkversion.c}:
3412	Relative buildings fixed.
3413
3414	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
3415	rule.
3416
34172003-10-07  Andrey Kiselev  <[email protected]>
3418
3419	* Makefile.in: Added missed v3.6.0.html.
3420
3421	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
3422	ORIENTATION_BOTLEFT.
3423
34242003-10-04  Andrey Kiselev  <[email protected]>
3425
3426	* 3.6.0 final release.
3427
34282003-10-03  Andrey Kiselev  <[email protected]>
3429
3430	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
3431	function TIFFReadRGBAImageOriented() implemented to retrieve raster
3432	array with user-specified origin position as suggested by Jason Frank.
3433	See
3434
3435	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
3436
3437	for details.
3438
3439	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
3440	instead of TIFFReadRGBAImage().
3441
3442	* tools/tiff2ps.c: Fixed possible endless loop as per bug
3443
3444	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
3445
34462003-09-30  Andrey Kiselev  <[email protected]>
3447
3448	* libtiff/tif_dirread.c: Check field counter against number of fields
3449	in order to fix
3450
3451	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
3452
3453	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
3454
3455	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
3456
34572003-09-25  Andrey Kiselev  <[email protected]>
3458
3459	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
3460	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
3461
3462	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
3463
34642003-09-23  Andrey Kiselev  <[email protected]>
3465
3466	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
3467
3468	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3469
34702003-08-21  Andrey Kiselev  <[email protected]>
3471
3472	* tools/tiffmedian.c: int declaration replaced with the uint32 to
3473	support large images as per bug
3474
3475	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
3476
34772003-08-12  Andrey Kiselev  <[email protected]>
3478
3479 	* libtiff/Makefile.in: Fixed problem with building in different
3480	directory.
3481
3482	* tools/tiff2ps.c: Added missing #include <strings.h>.
3483
3484	* libtiff/tif_dirwrite.c: More fixes for custom tags code
3485	from Ashley Dreier.
3486
34872003-08-07  Andrey Kiselev  <[email protected]>
3488
3489	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
3490	Patch submitted by Balatoni Denes (with corrections from Tom
3491	Kacvinsky).
3492
3493	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
3494	being used. Reported by Tom Kacvinsky.
3495
3496	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
3497	reported by Ashley Dreier.
3498
3499	* libtiff/tif_print.c: Fixed problem with float tags reading, support
3500	for printing RATIONAL and BYTE tags added.
3501
35022003-08-05  Andrey Kiselev  <[email protected]>
3503
3504	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
3505	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
3506	problems with predictor initialization. Remove O_RDONLY check during
3507	state block allocation to be able open LZW compressed files in update
3508	mode.
3509
3510	Problem exist for libtiff version of the tif_lzw.c module. One from
3511	lzw-compression-kit hasn't such troubles.
3512
35132003-08-04  Frank Warmerdam  <[email protected]>
3514
3515	* libtiff/tif_write.c: modified tif_write.c so that the various
3516	encoded write functions use tif_postdecode() to apply byte order
3517	swapping (swab) to the application passed data buffer if the same
3518	would be done when reading.  This allows us to write pixel data with
3519	more than 8 bits per sample to existing files of a non-native byte
3520	order.  One side effect of this change is the applications buffer
3521	itself is altered in this case by the act of writing.
3522
3523	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
3524
35252003-07-25  Frank Warmerdam  <[email protected]>
3526
3527	* libtiff/tif_open.c: avoid signed/unsigned casting warning
3528	initializing typemask as per patch from J.A. Strother.
3529
3530	* tools/tiffcp.c: fixed signed/unsigned casting warning.
3531
3532	* libtiff/tif_print.c: dos2unix conversion.
3533
3534	* tools/tiffsplit.c: increased the maximum number of pages that
3535	can be split.  Patch provided by Andrew J. Montalenti.
3536
35372003-07-11  Andrey Kiselev  <[email protected]>
3538
3539	* tools/raw2tiff.c: Added option `-p' to explicitly select color
3540	space of input image data. Closes
3541
3542	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
3543
35442003-07-08  Frank Warmerdam  <[email protected]>
3545
3546	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
3547	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
3548	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
3549	avoid casting warning at /W4.
3550
35512003-07-03  Andrey Kiselev  <[email protected]>
3552
3553	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
3554
35552003-06-30  Andrey Kiselev  <[email protected]>
3556
3557	* libtiff/tif_pixarlog.c: Unused variables removed.
3558
3559	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
3560	EstimateStripByteCounts() as per bug
3561
3562	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
3563
3564	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
3565	64-bit architectures as per bug
3566
3567	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
3568
3569	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
3570	unknown data type.
3571
35722003-06-19  Frank Warmerdam  <[email protected]>
3573
3574	* libtiff/tif_print.c: fixed some serious bugs when printing
3575	custom tags ... almost certain to crash.
3576
3577	* libtiff/tif_dirread.c: Don't ignore custom fields that are
3578	autodefined.  Not sure how this got to be like this.
3579
35802003-06-18  Andrey Kiselev  <[email protected]>
3581
3582	* 3.6.0 Beta2 released.
3583
3584	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
3585	comparing as per bug
3586
3587	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
3588
3589	`-z' option now can be used to set the number of reported different
3590	bytes.
3591
35922003-06-09  Andrey Kiselev  <[email protected]>
3593
3594	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
3595	to -r option to get the entire image as one strip. See
3596
3597	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3598
3599	for details.
3600
36012003-06-04  Andrey Kiselev  <[email protected]>
3602
3603	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
3604	values as per bug
3605
3606	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
3607
36082003-05-27  Frank Warmerdam  <[email protected]>
3609
3610	* libtiff/tif_jpeg.c: modified segment_height calculation to always
3611	be a full height tile for tiled images.  Also changed error to just
3612	be a warning.
3613
36142003-05-25  Andrey Kiselev  <[email protected]>
3615
3616	* tools/fax2tiff.c: Page numbering fixed, as per bug
3617
3618	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
3619
36202003-05-20  Andrey Kiselev  <[email protected]>
3621
3622	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3623	configure, Makefile.in:	Switched back to the old behaviour. Likely
3624	better solution should be found for OJPEG support.
3625
36262003-05-11  Andrey Kiselev  <[email protected]>
3627
3628	* libtiff/mkversion.c: Fixed problem with wrong string size when
3629	reading RELEASE-DATE file.
3630
36312003-05-07  Andrey Kiselev  <[email protected]>
3632
3633	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
3634	index was out of range.
3635
36362003-05-06  Andrey Kiselev  <[email protected]>
3637
3638	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
3639	configure, Makefile.in:	Improved libtiff compilation with OJPEG
3640	support. Now no need for patching IJG JPEG library, hack requred by
3641	libtiff will be compiled and used in-place. Implemented with
3642	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
3643
3644	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
3645	TIFFVGetFieldDefaulted() function.
3646
36472003-05-05  Andrey Kiselev  <[email protected]>
3648
3649	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
3650	comments.
3651
3652	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
3653	was not copied from source image.
3654
3655	* libtiff/getimage.c: Workaround for some images without correct
3656	info about alpha channel as per bug
3657
3658	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
3659
36602003-04-29  Andrey Kiselev  <[email protected]>
3661
3662	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
3663	It basically allows one to use the /flateDecode filter for ZIP
3664	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
3665
3666	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
3667
3668	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
3669	as per bug
3670
3671	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
3672
36732003-04-17  Andrey Kiselev  <[email protected]>
3674
3675	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
3676	due to problems with multidirectory images. Quality of error messages
3677	improved.
3678
36792003-04-16  Andrey Kiselev  <[email protected]>
3680
3681	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
3682	encoded images. See bug entries
3683
3684	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
3685
3686	and
3687
3688	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
3689
3690	* libtiff/tif_dirread.c: Additional check for StripByteCounts
3691	correctness. Fixes
3692
3693	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3694
36952003-03-12  Andrey Kiselev  <[email protected]>
3696
3697	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
3698	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
3699	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
3700	tiffmedian.c}: Added library version reporting facility to all tools.
3701
37022003-03-06  Frank Warmerdam  <[email protected]>
3703
3704	* port/install.sh.in: Fixed problems with install producing paths
3705	like ///usr/local/lib on cygwin.
3706
37072003-02-27  Andrey Kiselev  <[email protected]>
3708
3709	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
3710	raw input page. Patch supplied by Julien Gaulmin. See
3711
3712	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
3713
3714	for details.
3715
37162003-02-26  Frank Warmerdam  <[email protected]>
3717
3718	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
3719	responsible for byte swapping complex image data.
3720
3721	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
3722	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
3723
37242003-02-07  Andrey Kiselev  <[email protected]>
3725
3726	* tools/ppm2tiff.c: Fixed problem with too many arguments.
3727
37282003-02-04  Andrey Kiselev  <[email protected]>
3729
3730	* tools/raw2tiff.c: Memory leak fixed.
3731
37322003-02-03  Andrey Kiselev  <[email protected]>
3733
3734	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
3735	(thanks, Julien!). More switches for fax2tiff tool for better control
3736	of input and output. Details at
3737
3738	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
3739
37402003-02-03  Frank Warmerdam  <[email protected]>
3741
3742	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
3743	library so that we can check if there is already any tile/strip data
3744	before deciding between creating a compressor or a decompressor.
3745
37462003-01-31  Frank Warmerdam  <[email protected]>
3747
3748	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
3749	a pre-existing compressed image.  That is, image writing to
3750	pre-existing compressed images is not allowed.
3751
3752	* libtiff/tif_open.c: Removed error if opening a compressed file
3753	in update mode.
3754
3755	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
3756
37572003-01-31  Andrey Kiselev  <[email protected]>
3758
3759	* config.guess, config.sub: Updated to recent upstream versions.
3760
37612003-01-15  Frank Warmerdam  <[email protected]>
3762
3763	* cut 3.6.0 Beta release.
3764
37652002-12-20  Andrey Kiselev  <[email protected]>
3766
3767	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
3768	in wrong way as per bug
3769
3770	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
3771
37722002-12-17  Frank Warmerdam  <[email protected]>
3773
3774	* libtiff/tif_dirread.c: Allow wrong sized arrays in
3775	TIFFFetchStripThing().
3776
3777	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
3778
37792002-12-02  Frank Warmerdam  <[email protected]>
3780
3781	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
3782	Was using realloc even first time.  Fix by Igor Venevtsev.
3783
37842002-11-30  Frank Warmerdam  <[email protected]>
3785
3786	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
3787	field value.
3788
3789	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
3790	tags in TIFFVGetField() ... added missing break.
3791
37922002-10-14  Frank Warmerdam  <[email protected]>
3793
3794	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
3795	the scanline buffer long enough when writing rgb triplets.
3796	The scanline needs to be 3 X the number of dots or else it will
3797	contain	an incomplete triplet and programs that try to separate
3798	the eps by redefining the colorimage operator will get messed up.
3799	Patch supplied by William Bader.
3800
3801	* Makefile.in: added tif_extension.c to file list as per
3802	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
3803
38042002-10-11  Andrey Kiselev  <[email protected]>
3805
3806	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
3807	large files (>2GiB) supporting. New option in the config.site:
3808	LARGEFILE="yes". Should be enough for I/O of the large files.
3809
38102002-10-10  Frank Warmerdam  <[email protected]>
3811
3812	* libtiff/html/v3.6.0.html: new release notes.
3813
3814	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
3815	link for Andrey.  Pointer to v3.6.0.html.
3816
3817	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
3818
38192002-10-07  Andrey Kiselev  <[email protected]>
3820	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
3821	(thanks, Sebastian!). New switches:
3822	-b # for a bottom margin of # inches
3823	-c   center image
3824	-l # for a left margin of # inches
3825	-r   rotate the image by 180 degrees
3826	New features merged with code for shrinking/overlapping.
3827	Previously added -c and -n switches (for overriding PS units) renamed
3828	in -x and -y respectively.
3829
3830	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
3831
3832	* html/man/*.html: Updated from actual manual pages.
3833
38342002-10-06  Frank Warmerdam  <[email protected]>
3835
3836	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
3837	size on windows.  Use #define boolean hack.
3838
3839	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
3840
3841	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
3842	USING_VISUALAGE is defined.
3843
3844	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3845
38462002-10-03  Frank Warmerdam  <[email protected]>
3847
3848	* libtiff/tiff.h: added COMPRESSION_JP2000.
3849
38502002-10-02  Andrey Kiselev  <[email protected]>
3851
3852	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
3853	by the TIFFFetchByteArray() function. Should finally resolve
3854
3855	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3856
3857	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
3858
3859	* html/Makefile.in: New targets added: html and groffhtml for
3860	producing HTML representations of the manual pages automatically.
3861	html target uses man2html tool, groffhtml uses groff tool.
3862
38632002-09-29  Frank Warmerdam  <[email protected]>
3864
3865	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
3866	from John H. DuBois III.
3867
38682002-09-15  Andrey Kiselev  <[email protected]>
3869
3870	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
3871	manual page for raw2tiff(1) tool.
3872
38732002-09-12  Andrey Kiselev  <[email protected]>
3874
3875	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
3876	the tiffio.h header file.
3877
3878	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
3879	manual page for TIFFDataWidth() function
3880
38812002-09-08  Frank Warmerdam  <[email protected]>
3882
3883	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
3884	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
3885
3886	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
3887	since we are unable to properly include the amount to skip.
3888
3889	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
3890
38912002-09-02  Andrey Kiselev  <[email protected]>
3892
3893	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
3894	in TIFFFetchByteArray(). Problem described at
3895	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
3896
38972002-08-22  Andrey Kiselev  <[email protected]>
3898
3899	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
3900	in _TIFFSetupFieldInfo() function.
3901	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
3902
3903	* /libtiff/tif_lzw.c: Additional consistency checking added in
3904	LZWDecode() and LZWDecodeCompat().
3905	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
3906	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
3907
3908	* /libtiff/tif_lzw.c:
3909	Added check for valid code lengths in LZWDecode() and
3910	LZWDecodeCompat(). Fixes
3911	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
3912
39132002-08-16  Andrey Kiselev  <[email protected]>
3914
3915	* /libtiff/{Makefile.vc, libtiff.def}:
3916	Missed declarations added.
3917
39182002-08-15  Frank Warmerdam  <[email protected]>
3919
3920	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
3921	return code from the underlying pick function.
3922
3923	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
3924
3925	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
3926	with FIELD_CUSTOM as mentioned in bug 169.
3927
3928	* tif_close.c: added logic to free dynamically created anonymous
3929	field definitions to correct a small memory leak.
3930
3931	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
3932
39332002-08-10  Andrey Kiselev  <[email protected]>
3934
3935	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
3936	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
3937
39382002-07-31  Frank Warmerdam  <[email protected]>
3939
3940	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
3941	JPEGDecode() as per bugzilla bug (issue 1):
3942
3943	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3944
3945	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
3946	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
3947	present in the tiff tags.
3948
3949	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
3950
3951	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
3952	TIFFWriteScanline() now set tif_row explicitly in case the codec has
3953	fooled with the value.
3954
3955	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
3956
39572002-06-22  Andrey Kiselev  <[email protected]>
3958
3959	* /tools/tiff2ps.c: Added workaround for some software that may crash
3960	when last strip of image contains fewer number of scanlines than
3961	specified by the `/Height' variable. See
3962	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
3963	for explanation.
3964
39652002-06-21  Andrey Kiselev  <[email protected]>
3966
3967	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
3968	splitting long images in several pages. See
3969	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
3970	Patch granted by John Williams <[email protected]>.
3971
39722002-06-11  Frank Warmerdam  <[email protected]>
3973
3974	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
3975	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
3976	This one is described in:
3977
3978	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
3979
3980	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
3981
3982	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
3983
39842002-05-10  Andrey Kiselev  <[email protected]>
3985
3986	* tools/tiff2ps: New commandline switches to override resolution
3987	units obtained from the input file. Closes
3988	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
3989
39902002-04-26  Andrey Kiselev  <[email protected]>
3991
3992	* libtiff/libtiff.def: Added missed declaration.
3993
39942002-04-22  Andrey Kiselev  <[email protected]>
3995
3996	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
3997	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
3998
39992002-04-20  Andrey Kiselev  <[email protected]>
4000
4001	* libtiff/tif_open.c: Pointers to custom procedures
4002	in TIFFClientOpen() are checked to be not NULL-pointers.
4003
40042002-04-18  Andrey Kiselev  <[email protected]>
4005
4006	* libtiff/libtiff.def: Added missed declarations.
4007
4008	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
4009
40102002-04-16  Andrey Kiselev  <[email protected]>
4011
4012	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
4013	Should finally close
4014	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4015
40162002-04-10  Andrey Kiselev  <[email protected]>
4017
4018	* tools/tiff2ps: Division by zero fixed.
4019	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
4020
40212002-04-09  Andrey Kiselev  <[email protected]>
4022
4023	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
4024	TIFFCheckpointDirectory() routine added.
4025	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
4026
4027	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
4028	for the new function.
4029
40302002-04-08  Andrey Kiselev  <[email protected]>
4031
4032	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
4033	additional members tif->tif_decodestatus and tif->tif_encodestatus
4034	for correct handling of unconfigured codecs (we should not try to read
4035	data or to define data size without correct codecs).
4036
4037	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
4038	changed. Now it has used tif->tif_decodestatus and
4039	tif->tif_encodestatus.
4040	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
4041	case of __cvs_8.tif test image).
4042
4043	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
4044	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
4045	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
4046	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
4047
40482002-04-04  Andrey Kiselev  <[email protected]>
4049
4050	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
4051	replaced by warnings. Now libtiff should read corrupted LZW-compressed
4052	files by skipping bad strips.
4053	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4054
40552002-04-03  Frank Warmerdam  <[email protected]>
4056
4057	* libtiff/tif_dirwrite.c: Removed some dead code.
4058
4059	* libtiff/*: Cleanup some warnings.
4060
4061	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
4062	for variable length FIELD_CUSTOM values.  Was int * but should be
4063	u_short *.
4064
40652002-04-01  Andrey Kiselev  <[email protected]>
4066
4067	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
4068	utility (at cpStripToTile routine).
4069
40702002-03-27  Frank Warmerdam  <[email protected]>
4071
4072	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
4073
4074	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
4075
4076	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
4077	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
4078
4079	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
4080	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
4081
40822002-03-26  Dwight Kelly  <[email protected]>
4083
4084	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4085	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
4086	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
4087	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
4088	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
4089	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
4090
40912002-03-26  Andrey Kiselev  <[email protected]>
4092
4093	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
4094	now also uses TIFFRGBAImageOK before reading. This is additional fix
4095	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4096
40972002-03-25  Andrey Kiselev  <[email protected]>
4098
4099	* libtiff/: tif_getimage.c: Additional check for supported
4100	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
4101	TIFFRGBAImageOK before reading.
4102	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4103
41042002-03-15  Andrey Kiselev  <[email protected]>
4105
4106	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4107	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
4108	TIFFDataType sizes instead of working with tiffDataWidth array
4109	directly. Should prevent out-of-borders bugs in case of unknown or
4110	broken data types.  EstimateStripByteCounts routine modified, so it
4111	won't work when tags with uknown sizes founded.
4112	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
4113
41142002-03-13  Andrey Kiselev  <[email protected]>
4115
4116	* libtiff/tif_getimage.c: Added support for correct handling
4117	`Orientation' tag in gtTileContig. Should be added in other gt*
4118	functions as well, but I have not images for testing yet. Partially
4119	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
4120
41212002-03-10  Andrey Kiselev  <[email protected]>
4122
4123	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
4124	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
4125	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
4126	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
4127
41282002-03-08  Andrey Kiselev  <[email protected]>
4129
4130	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
4131	be stripped when installing, utility binaries will do.	Closes
4132	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
4133
41342002-02-28  Frank Warmerdam  <[email protected]>
4135
4136	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
4137
4138	* man/libtiff.3t: added copyright tag info.
4139
41402002-02-11  Frank Warmerdam  <[email protected]>
4141
4142	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
4143
4144	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
4145
4146	* man/Makefile.in: Patch DESTDIR handling
4147
4148	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
4149
4150	* configure: OpenBSD changes for Sparc64 and DSO version.
4151
4152	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
4153
41542002-02-05  Frank Warmerdam  <[email protected]>
4155
4156	* config.site/configure: added support for OJPEG=yes option to enable
4157	OJPEG support from config.site.
4158
41592002-01-27  Frank Warmerdam  <[email protected]>
4160
4161	* html/document.html: fixed links for TIFf 6 docs.
4162
41632002-01-18  Frank Warmerdam  <[email protected]>
4164
4165	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
4166
4167	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
4168	decodestrip function returns anything not greater than zero as per
4169	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
4170
4171	* configure: Modify CheckForBigEndian so it can work in a cross
4172	compiled situation.
4173
41742002-01-16  Frank Warmerdam  <[email protected]>
4175
4176	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
4177
4178	* tools/tiffset.c: fix bug in error reporting.
4179
4180	* tools/tiffcp.c: fix several warnings that show up with -Wall.
4181
41822002-01-04  Frank Warmerdam  <[email protected]>
4183
4184	* libtiff/tif_jpeg.c: fixed computation of segment_width for
4185	tiles files to avoid error about it not matching the
4186	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
4187	size.") for ITIFF files.  Apparently the problem was incorporated since
4188	3.5.5, presumably during the OJPEG/JPEG work recently.
4189
41902001-12-15  Frank Warmerdam  <[email protected]>
4191
4192	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
4193
4194	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
4195
4196	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
4197	(defined in tiffconf.h - 1 by default) then the RGBA interface
4198	will assume that a fourth extra sample is ASSOCALPHA if the
4199	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
4200	the library, but makes it work better with RGBA files produced by
4201	lots of applications that don't mark the alpha values properly.
4202
4203	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
4204	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
4205
42062001-12-12  Frank Warmerdam  <[email protected]>
4207
4208	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
4209	override those from tiff directory.  This makes this work with
4210	ImageGear generated files.
4211
42122001-12-07  Frank Warmerdam  <[email protected]>
4213
4214	* html/Makefile.in: added missing images per bug 92.
4215
4216	* port/Makefile.in: fixed clean target per bug 92.
4217
42182001-11-28  Frank Warmerdam  <[email protected]>
4219
4220	* Reissue 3.5.7 release.
4221
4222	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
4223	YYYYMMDD so that it is increasing over time.
4224
4225	* Makefile.in: Ensure that tiffvers.h is regenerated in the
4226	make release target.
4227
4228	* Makefile.in: added libtiff/tiffvers.h to the release file list.
4229
42302001-11-23  Frank Warmerdam  <[email protected]>
4231
4232	* added html/v3.5.7.html, updated html/index.html.
4233
4234	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
4235
42362001-11-15  Frank Warmerdam  <[email protected]>
4237
4238	* configure: fixed test for -lm.
4239
42402001-11-02  Frank Warmerdam  <[email protected]>
4241
4242	* Added PHOTOMETRIC_ITULAB as per bug 90.
4243
4244	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
4245
42462001-10-10  Frank Warmerdam  <[email protected]>
4247
4248	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
4249	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
4250	in keeping with TIFF 6.0 standard in tiff.h
4251
4252	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
4253
42542001-09-26  Frank Warmerdam  <[email protected]>
4255
4256	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
4257	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
4258
42592001-09-24  Frank Warmerdam  <[email protected]>
4260
4261	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
4262
4263	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
4264
4265	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
4266	error about LZW not being available.
4267
4268	* libtiff/tif_dir.c: propagate failure to initialize compression
4269	back from TIFFSetField() as an error status, so applications can
4270	detect failure.
4271
4272	* libtiff/tif_dir.c: removed the auto replacement of
4273	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
4274
4275	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
4276	from CVS as they are all supposed to be auto-generated by configure.
4277
42782001-09-22  Frank Warmerdam  <[email protected]>
4279
4280	* libtiff/tif_ojpeg.c: new update from Scott.
4281
42822001-09-09  Frank Warmerdam  <[email protected]>
4283
4284	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
4285	always use the "safe" version, even if there is a very slight
4286	cost in performance.
4287
4288	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
4289
4290	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
4291	in two places.
4292
4293	* libtiff/tif_getimage.c: Fixed problem with reading strips or
4294	tiles that don't start on a tile boundary.  Fix contributed by
4295	Josep Vallverdu (from HP), and further described in bug 47.
4296
4297	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
4298
4299	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
4300
4301	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
4302
43032001-09-06  Frank Warmerdam  <[email protected]>
4304
4305	* libtiff/tif_packbits.c: fixed memory overrun error.
4306
4307	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
4308
43092001-08-31  Frank Warmerdam  <[email protected]>
4310
4311	* libtiff/tif_getimage.c: relax handling of contig case where
4312	there are extra samples that are supposed to be ignored.  This
4313	should now work for 8bit greyscale or palletted images.
4314
4315	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
4316
43172001-08-28  Frank Warmerdam  <[email protected]>
4318
4319	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
4320	images with more than four samples per pixel.  See:
4321
4322	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
4323
43242001-08-10  Frank Warmerdam  <[email protected]>
4325
4326	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
4327	in TIFFReadRGBATile() to avoid issues in cases of overlapping
4328	buffers.  See Bug 69 in Bugzilla.
4329
4330	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
4331
4332	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
4333
43342001-08-09  Frank Warmerdam  <[email protected]>
4335
4336	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
4337	when checking for 64 bit architectures as per bugzilla bug 67.
4338
43392001-07-27  Frank Warmerdam  <[email protected]>
4340
4341	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
4342	bug 66.
4343
43442001-07-20  Frank Warmerdam  <[email protected]>
4345
4346	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
4347	has been included.
4348
43492001-07-19  Frank Warmerdam  <[email protected]>
4350
4351	* libtiff/tif_open.c: Seek back to zero after failed read,
4352	before writing header.
4353
43542001-07-18  Frank Warmerdam  <[email protected]>
4355
4356	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
4357	much better.  Now depends on having patched libjpeg as per
4358	patch in contrib/ojpeg/*.
4359
43602001-07-17  Frank Warmerdam  <[email protected]>
4361
4362	* */Makefile.in: added DESTDIR support.
4363
4364	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
4365
43662001-07-16  Frank Warmerdam  <[email protected]>
4367
4368	* configure, libtiff/Makefile.in: applied OpenBSD patches
4369	as per:
4370
4371	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
4372
43732001-06-28  Frank Warmerdam  <[email protected]>
4374
4375	* libtiff/tif_getimage.c: Fixed so that failure is properly
4376	reported by gtTileContig, gtStripContig, gtTileSeparate and
4377	gtStripSeparate.
4378
4379	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
4380
4381	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
4382	Updated bug section of tiffcmp.1 to note tiled file issues.
4383
4384	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
4385
43862001-06-22  Frank Warmerdam  <[email protected]>
4387
4388	* configure: Changes for DSO generation on AIX provided by
4389	John Marquart <[email protected]>.
4390
4391	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
4392	on Darwin thanks to Robert Krajewski ([email protected]) and
4393	Keisuke Fujii ([email protected]).
4394
43952001-06-13  Frank Warmerdam  <[email protected]>
4396
4397	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
4398
4399	* man/tiff2rgba.1: new
4400
44012001-05-22  Frank Warmerdam  <[email protected]>
4402
4403	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
4404
44052001-05-13  Frank Warmerdam  <[email protected]>
4406
4407	* libtiff/tools/thumbnail.c: changed default output compression
4408	to packbits from LZW since LZW isn't generally available.
4409
44102001-05-12  Frank Warmerdam  <[email protected]>
4411
4412	* libtiff/tif_ojpeg.c: New.
4413	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
4414	to OJPEG support.
4415
4416	Scott Marovich <[email protected]> supplied OJPEG support.
4417
44182001-05-11  Frank Warmerdam  <[email protected]>
4419
4420	* tiff.h: removed, it duplicates libtiff/tiff.h.
4421
44222001-05-08  Frank Warmerdam  <[email protected]>
4423
4424	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
4425	ensure everything is in order.
4426
4427	* libtiff/libtiff.def: added TIFFCreateDirectory and
4428	TIFFDefaultStripSize as per:
4429
4430	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
4431
44322001-05-02  Frank Warmerdam  <[email protected]>
4433
4434	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
4435	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
4436	force use of uint32 counts instead of short counts.
4437
4438	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
4439	case of writing TIFF_BYTE/TIFF_SBYTE fields.
4440
4441	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
4442
44432001-05-01  Frank Warmerdam  <[email protected]>
4444
4445	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
4446	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
4447
44482001-04-05  Frank Warmerdam  <[email protected]>
4449
4450	* tiffio.h: removed C++ style comment.
4451
4452	* configure: fixed up SCRIPT_SH/SHELL handling.
4453
4454	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
4455
4456	* config.guess: documented more variables as per bug 40.
4457
44582001-04-03  Frank Warmerdam  <[email protected]>
4459
4460	* configure, *Makefile.in: Various changes to improve configuration
4461	for HP/UX specifically, and also in general.  They include:
4462	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
4463	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
4464	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
4465	 - Use -${MAKEFLAGS} in sub makes from makefiles.
4466
4467	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
4468
44692001-04-02  Frank Warmerdam  <[email protected]>
4470
4471	* libtiff/tiff.h: Applied hac to try and resolve the problem
4472	with the inttypes.h include file on AIX.
4473
4474	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4475
4476	* VERSION: update to 3.5.7 beta in preparation for release.
4477
4478	* configure/config.site: modified to check if -lm is needed for
4479	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
4480
4481	* config.guess: updated wholesale to an FSF version apparently
4482	from 1998 (as opposed to 1994).  This is mainly inspired by
4483	providing for MacOS X support.
4484
44852001-03-29  Frank Warmerdam  <[email protected]>
4486
4487	* configure, Makefile.in, etc: added support for OPTIMIZER being
4488	set from config.site.
4489
44902001-03-28  Frank Warmerdam  <[email protected]>
4491
4492	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
4493
4494	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
4495	sizes. It fixes two problems:
4496
4497	Without	scaling (-S) the fax is now centered on the page size specified
4498	with -H	and/or -W. Before, fax2ps was using an obscure and practially
4499	useless algorithm to allocate the image relative to Letter sized paper
4500	which sometime sled to useless whitespace on the paper, while at the
4501	same time cutting of the faxes printable area at the opposite border.
4502
4503	Second, scaling now preserves aspect ratio, which makes unusual faxes
4504	(in particular short ones) print properly.
4505
4506	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
4507
4508	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
4509	Bruce A. Mallett.  See check message for detailed information
4510	on all the changes, including a faster encoder, fixes for level
4511	2 PostScript, and support for the imagemask operator.
4512
45132001-03-27  Frank Warmerdam  <[email protected]>
4514
4515	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
4516	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
4517
4518	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4519
45202001-03-16  Frank Warmerdam  <[email protected]>
4521
4522	* tif_dirinfo.c: moved definition of copyright tag in field list.
4523	Apparently they have to be in sorted order by tag id.
4524
45252001-03-13  Frank Warmerdam  <[email protected]>
4526
4527	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
4528	images in RGBA interface.
4529
45302001-03-02  Frank Warmerdam  <[email protected]>
4531
4532	* Added TIFFTAG_COPYRIGHT support.
4533
45342001-02-19  Frank Warmerdam  <[email protected]>
4535
4536	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
4537	with support for extracting subimages with the ,n syntax, and also
4538	adding the -b bias removal flag.
4539
45402001-02-16  Frank Warmerdam  <[email protected]>
4541
4542	* libtiff/libtiff.def: Brent Roman submitted new version adding
4543	serveral missing entry points.
4544
4545	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
4546	Some sort of weird VMS thing.
4547
4548	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
4549
4550	* tif_luv.c/tiff.h/tiffio.h:
4551	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
4552	([email protected]).  He writes:
4553
4554	1) I improved the gamut-mapping function in tif_luv.c for imaginary
4555	colors, because some images were being super-saturated on the input
4556	side and this resulted in some strange color shifts in the output.
4557
4558	2) I added a psuedotag in tiff.h to control random dithering during
4559	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
4560	on for 24-bit LogLuv output.  Dithering improves the average color
4561	accuracy over the image.
4562
4563	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
4564	tiffio.h, to expose internal routines for converting between LogLuv and
4565	XYZ coordinates.  This is helpful for writing more efficient,
4566	specialized conversion routines, especially for reading LogLuv files.
4567
4568	Changes applied with minor edits.
4569
45702001-01-23  Frank Warmerdam  <[email protected]>
4571
4572	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
4573	whether we are encoding or decoding.  This is to ensure graceful
4574	recovery if TIFFClientOpen() discovers an attempt to open a compressed
4575	file for "r+" access, and subsequently close it, as it resets the
4576	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
4577	compressor's concept of whether it is in encode or decode mode.
4578
45792001-01-08  Mike Welles <[email protected]>
4580
4581	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
4582
45832001-01-07  Frank Warmerdam  <[email protected]>
4584
4585	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
4586	as per bug report by Patrick Connor.
4587
45882000-12-28  Frank Warmerdam  <[email protected]>
4589
4590	* Added RELEASE-DATE file to release file list.
4591
4592	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
4593
45942000-12-22  Mike Welles <[email protected]>
4595        * added link to CVS mirror from index.html
4596
4597	* updated html/internals.html to note that LZW compression is
4598	  not supported by default.
4599
46002000-12-22  Frank Warmerdam  <[email protected]>
4601
4602	* updated html/libtiff.html to not point at Niles' old JPL web site
4603	for the man pages, point at www.libtiff.org.
4604
46052000-12-21  Frank Warmerdam  <[email protected]>
4606
4607	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
4608	Leonard Rosenthol <[email protected]>.  May interfere
4609	with correct building on older systems.  If so, please let me know.
4610
46112000-12-19 Mike Welles <[email protected]>
4612
4613	* Took out LZW Encoding from tif_lzw.c
4614
4615	* Created HOWTO-RELEASE
4616
4617	* Created html/v3.5.6.html
4618
4619	* updated index.html
4620
46212000-12-01  Frank Warmerdam  <[email protected]>
4622
4623	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
4624	Patches supplied by Frank Cringle <[email protected]>
4625	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
4626
46272000-11-24  Frank Warmerdam  <[email protected]>
4628
4629	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
4630	target so that the private headers required by libgeotiff can be
4631	installed with the others.  They are not installed by default.
4632
4633	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
4634	targets so libtiff.so will be built with an explicit dependency
4635	on libm.so.
4636
4637	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
4638	libtiff.so.3.5.5.
4639
4640	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
4641	file, or ALPHA version logic.  Added stuff about DIST_POINT in
4642	place of DIST_TYPE and the alpha release number stuff.
4643
46442000-11-22  Frank Warmerdam  <[email protected]>
4645
4646	* I have applied a patch from Steffen Moeller <[email protected]> to
4647	the configure script so that it now accepts the --prefix, and
4648	--exec-prefix directives.
4649
46502000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
4651
4652	* I have made a variety of modifications in an effort to ensure the
4653	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
4654	file which seems to be updated regularly.
4655
4656	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
4657	   version include file.
4658	 o renamed version.h to tiffvers.h because we now have to install it
4659	   with the public libtiff include files.
4660	 o include tiffvers.h in tiffio.h.
4661	 o updated tif_version.c to use tiffvers.h.
4662	 o Updated Makefile.in accordingly.
4663
4664	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
4665	I have updated the win32 detection rules in tiffcomp.h.
4666
46672000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
4668
4669	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
4670	the strip/tile width and height aren't multiples of the sampling size.
4671	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
4672	Some patches from Rick LaMont of Dot C Software.
4673
4674	* Modified tif_packbits.c encoder to avoid compressing more
4675	data than provided if rowsize doesn't factor into provided data
4676	(such as occurs for YCbCr).
4677
46782000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
4679
4680	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
4681	roundup if rows_per_strip not a multiple of vertical sample size.
4682
46832000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
4684
4685	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
4686	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4687	from [email protected].
4688
4689	* Modified tif_packbits.c decoding to avoid overrunning the
4690	output buffer, and to issue a warning if data needs to be
4691	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
4692
46932000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
4694
4695	* Modified tiff2bw to ensure portions add to 100%, and that
4696	white is properly recovered.
4697
4698	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
4699	Patch c/o Stanislav Brabec <[email protected]>
4700
47012000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
4702
4703	* Modified TIFFClientOpen() to emit an error on an attempt to
4704	open a comperessed file for update (O_RDWR/r+) access.  This is
4705	because the compressor/decompressor code gets very confused when
4706	the mode is O_RDWR, assuming this means writing only.  See
4707	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
4708
47092000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
4710
4711	* Added GNULDdso target an`d switched linux and freebsd to use it.
4712
47132000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
4714
4715	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
4716	of EXPAND1D() as per bug 11 (from Roman).
4717
47182000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
4719	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
4720	cygwin compatibility.
4721
4722	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
4723	be a proper fix to the buffer sizing problem.  See
4724	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
4725
4726	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
4727	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
4728	Thanks to Nick Lamb <[email protected]> for reporting the
4729	bug and proving the patch.
4730
47312000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
4732
4733	* Fixed tif_jpeg.c so avoid destroying the decompressor before
4734	we are done access data thanks to bug report from:
4735	Michael Eckstein <[email protected]>.
4736
4737	* Reverted tif_flush change.
4738
47392000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
4740
4741	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
4742	error when TIFF_BEENWRITING is not set.  This ensures that the
4743	directory contents can still be flushed by TIFFFlush().
4744
47452000-08-14  Frank Warmerdam  <[email protected]>
4746
4747	* tif_open.c: Don't set MMAP for O_RDWR files.
4748
4749	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
4750	so that files opened for update can be strip chopped too.
4751
4752	* tif_read.c: fixed up bug with files missing rowsperstrip and
4753	the strips per separation fix done a few weeks ago.
4754
47552000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
4756
4757	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
4758	SAMPLEFORMAT_COMPLEXINT.
4759
47602000-07-13  Mike Welles <[email protected]>
4761
4762	* index.html, bugs.html: added bugzilla info.
4763
47642000-07-12  Frank Warmerdam  <[email protected]>
4765
4766	* tif_read.c: fix subtle bug with determining the number of
4767	rows for strips that are the last strip in a separation but
4768	not the last strip of all in TIFFReadEncodedStrip().
4769
4770	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
4771	Peter Skarpetis <[email protected]>
4772
47732000-06-15  Frank Warmerdam  <[email protected]>
4774
4775	* Modified tiffio.h logic with regard to including windows.h.  It
4776	won't include it when building with __CYGWIN__.
4777
47782000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
4779
4780	* README: update to mention www.libtiff.org, don't list Sam's old
4781	email address.
4782
4783	* configure: Fixed DSO test for Linux as per patch from
4784	  Jan Van Buggenhout <[email protected]>.
4785
47862000-04-21  Frank Warmerdam  <[email protected]>
4787
4788	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
4789	one tile/strip images with an offset, and byte count of zero. These
4790	could be "unpopulated" images.
4791
47922000-04-18  Frank Warmerdam  <[email protected]>
4793
4794	* contrib/addtiffo: Added "averaging" resampling option.
4795
4796	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
4797
4798Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
4799
4800	* tools/Makefile.in: Modified to install properly on SGI.
4801
48022000-04-12  Mike Welles	     <[email protected]>
4803	* configure:  Fixed stupid mistake in libc6 test on Linux
4804
48052000-04-04  Mike Welles	     <[email protected]>
4806	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
4807	  caught by BoundsChecker.  From Arvan Pritchard
4808	  <[email protected]>  (untested).
4809
4810	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
4811	  Arvan Pritchard <[email protected]>
4812
4813	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
4814	  Arvan Pritchard <[email protected]>
4815
48162000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
4817
4818	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
4819
48202000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
4821
4822	* fax2ps: Fixed mixup of width and height in bounding box statement
4823	as per submission by Nalin Dahyabhai <[email protected]>.
4824
48252000-03-27  Mike Welles	     <[email protected]>
4826
4827	* fax2ps:  Modified printruns to take uint32 instead of uint16.
4828	Patch courtesy of Bernt Herd <[email protected]>
4829
48302000-03-20  Mike Welles	     <[email protected]>
4831
4832	* configure: added test for libc6 for linux targets.  Bug reported by
4833        Stanislav Brabec <[email protected]>
4834
4835	* Added 3.5 docs to html/Makefile.in.
4836	Thanks to  Stanislav Brabec <[email protected]>
4837
4838	* configure: fixed bugs in sed scripts
4839	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
4840	fix submitted to Stanislav Brabec <[email protected]>
4841
4842	* tools/iptcutil was not in files list, and wasn't being
4843	added to tar archive.  Updated Makefile.in.
4844
48452000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
4846
4847	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
4848	conversion for the run arrays.
4849
48502000-03-03  Frank Warmerdam  <[email protected]>
4851
4852	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
4853	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
4854
48552000-03-02  Frank Warmerdam  <[email protected]>
4856
4857	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
4858
4859	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
4860	to avoid overruns encountered with frle_bug.tif.
4861
4862Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
4863
4864	* Fixed tools/tiffcmp so that stopondiff testing works.
4865	  Patch care of Joseph Orost <[email protected]>.
4866
48672000-01-28    <warmerda@CS46980-B>
4868
4869	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
4870	  set to 1, and added default (off) setting in tiffconf.h.  This
4871	  should eventually be set by the configure script somehow.
4872
4873	  The original work on all these 2-4GB changes was done by
4874	  Peter Smith ([email protected]).
4875
4876	* Modified tif_win32.c to support 2-4GB seeks.
4877
4878	* tentatively changed toff_t to be unsigned instead of signed to
4879	  facilitate support for 2-4GB files.
4880
4881	* Updated a variety of files to use toff_t.  Fixed some mixups
4882	  between toff_t and tsize_t.
4883
4884Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
4885
4886	* Largely reimplemented contrib/addtiffo to avoid temp files,
4887	updating the TIFF file in place.  Fixed a few other bugs to.
4888
4889	* Set tif_rawdatasize to zero when freeing raw data buffer in
4890	TIFFWriteDirectory().
4891
4892	* Enabled "REWRITE_HACK" in tif_write.c by default.
4893
4894	* Fix bug in tif_write.c when switching between reading one directory
4895	and writing to another.
4896
4897	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
4898
4899Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
4900
4901	* Added TIFFmemory(3t) functions to libtiff.def.
4902
4903Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
4904
4905	* Added libtiff/libtiff.def to TIFFILES distribution list.
4906
4907Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
4908
4909	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
4910
4911	* Altered descriptions in tools to reflect "by default" lzw not supported
4912
4913	* Updated index.html to note lzw compression kit.
4914
4915Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
4916
4917	* Added fax3sm_winnt.c to distribution list in Makefile.in.
4918
4919Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
4920
4921	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
4922
4923	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
4924	  when LZW compression invoked.
4925
4926	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
4927	  in tools to reflect removal of LZW compression
4928
4929Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
4930
4931        * Fixed bug that caused LZW (non) compression to segfault. Added
4932	  warning about LZW compression removed being removed, and why.
4933
4934	* Added nostrip to install in tools/Makefile.in so that debugging
4935	  symbols are kept.
4936
4937Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
4938
4939	* Added patch from Ivo Penzar <[email protected]>,
4940	  supporting Adobe ZIP deflate.  Untested.
4941
4942Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
4943
4944	* Made Packbits the default compression in tools/tiff2rgba.c instead
4945	of LZW.
4946
4947Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
4948
4949	* Added tif_luv to contrib/djgpp/Makefile.lib.
4950
4951Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
4952
4953        * Added zip creation to relase makefile target
4954
4955	* Added html for TIFFWriteTile.3t man page.
4956
4957Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
4958
4959	* Added some changes to tif_write.c to support rewriting existing
4960	fixed sized tiles and strips.  Code mods disabled by default, only
4961	enabled if REWRITE_HACK is defined for now.
4962
4963Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
4964
4965	* Added TIFFWriteTile.3t man page.
4966
4967Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
4968
4969	* Added notes on use of makefile.vc in build.html, and fixed
4970	email subscription address.
4971
4972199-11-28  Mike Welles <[email protected]>
4973
4974	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
4975
4976	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
4977	   from Bruce Carmeron <[email protected]> -- modifications of
4978	   changes made by Frank (sun cc still complained on cast).
4979
4980	*  Added tiffconf.h to install target per request from Bill
4981	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
4982 	   know features have been compiled into the TIFF library in order to
4983	   handle things properly".
4984
4985Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
4986
4987	* fixed various VC++ warnings as suggested by Gilles Vollant
4988	<[email protected]>.
4989
4990Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
4991
4992	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
4993	not imply applications are responsible for image data swapping.
4994
49951999-11-22  Mike Welles <[email protected]>
4996	*  HTML-ized the man pages, added to html/man
4997
4998	*  Removed LZW Compression to comply with Unisys patent extortion.
4999
50001999-09-29  Mike Welles		<[email protected]>
5001	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
5002	   From Ivo Penzar <[email protected].
5003
5004	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
5005	   memory mapped files. <[email protected]>
5006
50071999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
5008	* Corrected alpha versioning.
5009
5010	* Removed distinction between  alpha and release targets in Makefile.in.
5011
5012	* added release.stamp target, which tags cvs tree, and updates
5013	  "RELEASE-DATE"
5014
5015	* added releasediff target, which diffs tree with source as of
5016	  date in "RELEASE-DATE"
5017
5018	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
5019	  away from alpha/non-alpha distinctions).
5020
5021	* updated html to reflect release
5022
50231999-09-23    <warmerda@CS46980-B>
5024
5025	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
5026
5027	* Added CYGWIN case in configure.
5028
5029Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
5030
5031	* Applied Francois Dagand's patch to handle fax decompression bug.
5032	  (sizes >= 65536 were failing)
5033
5034Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
5035
5036	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
5037	  by Christopher Lawton <[email protected]>
5038
5039Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
5040
5041	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
5042	  Albert Chin-A-Young <[email protected]>
5043
5044	* Added TIFFReassignTagToIgnore() API on behalf of
5045	  Bruce Cameron <[email protected]>.  Man page still pending.
5046
5047Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
5048
5049	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
5050	files to provide for a rudimentary testsuite.
5051
5052	* Added contrib/tags back from old distribution ... fixed up a bit.
5053
50541999-08-16    <warmerda@CS46980-B>
5055
5056	* Added simple makefile.vc makefiles for building with MS VC++
5057	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
5058	better solutions for some users.
5059
5060Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
5061
5062	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
5063	put it in tools since part of it is in C++.
5064
50651999-08-16  Michael L. Welles  <[email protected]>
5066
5067	* Updated html/index.html with anon CVS instructions.
5068
5069Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
5070
5071	* pre-remove so link before softlink in LINUXdso action in
5072	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
5073	the first.
5074
5075	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
5076	colormaps owned by the TIFF handle itself when trying to fixup wrong
5077	(eight bit) colormaps.  Corrected by maintaining a private copy of
5078	the colormap.
5079
5080	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
5081	tif_getimage.c.
5082
5083	* CVS Repository placed at remotesensing.org.  ChangeLog added.
5084