xref: /libtiff-4.0.7/ChangeLog (revision b6d66f9f)
12013-05-02  Tom Lane  <[email protected]>
2
3	* contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c,
4 	libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c,
5 	tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c,
6 	tools/tiffdither.c: Enlarge some fixed-size buffers that weren't
7 	large enough, and eliminate substantially all uses of sprintf(buf,
8 	...)  in favor of using snprintf(buf, sizeof(buf), ...), so as to
9 	protect against overflow of fixed-size buffers.  This responds in
10 	particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's
11 	t2p_write_pdf_page(), but in general it seems like a good idea to
12 	deprecate use of sprintf().
13
142013-03-29  Bob Friesenhahn  <[email protected]>
15
16	* configure.ac: Applied patch by Brad Smith to improve pkg-config
17	static linking by adding -lm to Libs.private when needed.
18
192013-03-05  Tom Lane  <[email protected]>
20
21	* html/man/tiff2ps.1.html, html/man/tiffcp.1.html,
22 	html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1,
23 	man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c,
24 	tools/tiffdither.c: Sync tool usage printouts and man pages with
25 	reality (quite a few options had escaped being documented in one
26 	or both places).  Per an old report from Miroslav Vadkerti.
27
282013-01-25  Bob Friesenhahn  <[email protected]>
29
30	* tools/tiff2ps.c:Fix bug in auto rotate option code. Once a
31	rotation angle was set by the auto rotate check, it was retained
32	for all pages that followed instead of being retested for each
33	page.  Patch by Richard Nolde.
34
352013-01-18  Frank Warmerdam  <[email protected]>
36
37	* libtiff/tif_write.c: tmsize_t related casting warning fixed for
38	64bit linux.
39
40	* libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings.
41	http://bugzilla.maptools.org/show_bug.cgi?id=2427
42
432012-12-20  Tom Lane  <[email protected]>
44
45	* test/raw_decode.c: Relax raw_decode's pixel-value checks so that
46	it will pass with more versions of libjpeg.  (There are at least
47	three in active use now, and JPEG_LIB_VERSION doesn't tell us
48	enough to uniquely identify expected results.)
49
502012-12-12  Tom Lane  <[email protected]>
51
52	* libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of
53	field_passcount fields: it had the TIFF_VARIABLE and
54	TIFF_VARIABLE2 cases backwards.
55
562012-12-10  Tom Lane  <[email protected]>
57
58	* tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564:
59 	check the linebytes calculation too, get the max() calculation
60 	straight, avoid redundant error messages, check for malloc
61 	failure.
62
632012-12-10  Tom Lane  <[email protected]>
64
65	* libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447
66 	(to enlarge tbuf for possible partial stride at end) so that
67 	overflow in the integer addition is detected.  Per gripe from
68 	Huzaifa Sidhpurwala.
69
702012-12-03  Bob Friesenhahn  <[email protected]>
71
72	* tools/tiffset.c: tiffset now supports a -u option to unset a
73	tag.  Patch by Zach Baker. See
74	http://bugzilla.maptools.org/show_bug.cgi?id=2419
75
762012-11-18  Bob Friesenhahn  <[email protected]>
77
78	* automake: Update Automake to 1.12.5 release.
79
80	* libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not
81	require malloc() to return NULL pointer if requested allocation
82	size is zero.  Assure that _TIFFmalloc does.
83
842012-11-01  Frank Warmerdam  <[email protected]>
85
86	* tools/ppm2tiff.c: avoid zero size buffer vulnerability.
87	CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the
88	Red Hat Security Response team for the fix.
89
902012-10-18  Frank Warmerdam  <[email protected]>
91
92	* tif_zip.c: Avoid crash on NULL error messages.
93
942012-09-22  Bob Friesenhahn  <[email protected]>
95
96	* libtiff 4.0.3 released.
97
982012-09-20  Bob Friesenhahn  <[email protected]>
99
100	* Makefile.am: Update to Automake 1.12.4
101
1022012-08-19  Bob Friesenhahn  <[email protected]>
103
104	* Makefile.in: Update to Automake 1.12.3
105
106	* libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add
107	some TIFF/FX support in libtiff.  Add the tag definitions to
108	tiff.h.  Add the related TIFF field definitions to tif_dirinfo.c,
109	and also fixes an error in a comment.  Adds the photometric values
110	to tif_print.c, and fixes a bug.  These changes are by Steve
111	Underwood.
112
1132012-08-13  Frank Warmerdam  <[email protected]>
114
115	* libtiff/tif_write.c: Fix bug rewriting image tiles in a
116	compressed file: http://trac.osgeo.org/gdal/ticket/4771
117
1182012-08-02  Frank Warmerdam  <[email protected]>
119
120	* libtiff/tif_dirread.c: report error in case of mismatch value
121	counts for tags (ie. DotRange).
122
1232012-07-26  Tom Lane  <[email protected]>
124
125	* libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new
126 	functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(),
127	TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount()
128	as external accessors for the opaque type TIFFField.
129
130	* tools/tiffset.c: Make tiffset use the above functions instead of
131	relying on library private headers.
132
1332012-07-19  Tom Lane  <[email protected]>
134
135	* tools/tiff2pdf.c: Fix two places where t2p_error didn't get set
136	after a malloc failure.  No crash risk AFAICS, but the program
137	might not report exit code 1 as desired.  h/t [email protected]
138
1392012-07-18  Tom Lane  <[email protected]>
140
141	* tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails.  This
142	prevents core dumps or perhaps even arbitrary code execution when
143	processing a corrupt input file (CVE-2012-3401).
144
1452012-07-06  Bob Friesenhahn  <[email protected]>
146
147	* test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+.
148	IJG JPEG 7+ uses a different upsampling algorithm which produces
149	different numeric results.
150
151	* libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to
152	work with IJG JPEG 7+.
153
1542012-07-04  Bob Friesenhahn  <[email protected]>
155
156	* test/raw_decode.c: Add changes so that test can run with build
157	directory outside of source directory.
158
1592012-07-02  Frank Warmerdam  <[email protected]>
160
161	* libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed
162	imagery (http://trac.osgeo.org/gdal/ticket/4732)
163
1642012-06-20  Frank Warmerdam  <[email protected]>
165
166	* libtiff/tif_fax3.c: fix memory initialization of runs, only
167	partly done.
168
169	* libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one
170	full "stride" past the end.
171
1722012-06-19  Frank Warmerdam  <[email protected]>
173
174	* libtiff/tif_packbits.c: fix read past end of data buffer.
175
1762012-06-15  Frank Warmerdam  <[email protected]>
177
178	*  libtiff 4.0.2 released.
179
180	* tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable
181	warnings with clang.
182
1832012-06-15  Tom Lane  <[email protected]>
184
185	* tools/tiff2pdf.c: Defend against integer overflows while
186	calculating required buffer sizes (CVE-2012-2113).
187
1882012-06-12  Frank Warmerdam  <[email protected]>
189
190	* libtiff/tif_print.c: Be careful about printing corrupt inknames.
191
192	* libtiff/tif_fax3.c: Ensure runs array is initialized to zeros.
193
1942012-06-07  Frank Warmerdam  <[email protected]>
195
196	* libtiff/tif_print.c: avoid pretty printing other fields when
197	we don't have the proper amount and type of data or if the field
198	is actually autodefined.
199
2002012-06-05  Frank Warmerdam  <[email protected]>
201
202	* libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal
203	ycbcrsubsampling values result in a runtime error, not just an
204	assertion.
205
206	* tests/custom_dir.c: Add testing of EXIF and custom directory
207	reading and writing.
208
209	* libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory()
210	and TIFFCreateEXIFDirectory() functions.
211
212	* libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for
213	PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING.  Implement DOTRANGE
214	differently.  This is to avoid using special TIFFGetField/TIFFSetField
215	rules for these fields in non-image directories (like EXIF).
216
2172012-06-04  Frank Warmerdam  <[email protected]>
218
219	* libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling
220	in JPEGPreDecode().  If a fixup will be done it needs to be done sooner
221	in JPEGFixupTagsSubsampling() or else buffer sized may be wrong.
222
2232012-06-01  Frank Warmerdam  <[email protected]>
224
225	* tools/tiffinfo.c: Do not try to read image data in EXIF directories.
226
227	* libtiff/tif_getimage.c: added support for _SEPARATED CMYK images.
228	http://bugzilla.maptools.org/show_bug.cgi?id=2379
229
230	* libtiff/tif_unix.c: use strerror() to return a more specific error message
231	on failed open.
232	http://bugzilla.maptools.org/show_bug.cgi?id=2341
233
234	* libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs.
235	http://bugzilla.maptools.org/show_bug.cgi?id=2386
236
237	* tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support
238	for testing jpeg in tiff image decoding including the "raw" decode interface.
239
2402012-05-31  Frank Warmerdam  <[email protected]>
241
242	* libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in
243	JPEGDecodeRaw() - mostly likely to occur when there is confusion about
244	sampling values.
245
246	* libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed.
247
248	* libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval.
249	http://bugzilla.maptools.org/show_bug.cgi?id=2398
250
2512012-05-29  Frank Warmerdam  <[email protected]>
252
253	* libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories,
254	like EXIF directories.  This fixes problems like a tag "320" existing in a custom directory getting
255	processed as if it were a colormap when it isn't really.  Damn the wide variety of argument formulations
256	to get/set functions for different tags!
257
258	* libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata
259	is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag.
260
2612012-05-24  Frank Warmerdam  <[email protected]>
262
263	* libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward
264	accumulate" and overwrite the end by one word in at least some cases.
265
2662012-05-23  Frank Warmerdam  <[email protected]>
267
268	* libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs.
269
270	* tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files.
271
272	* libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on
273	the same image.
274
275	* libtiff/tif_ojpeg.c: make things more resilient in the face of files without
276	stripbytecounts or stripoffsets or where loading these fails.
277
278	* libtiff/tif_print.c: be careful about whether min/max values are singular
279	or one per sample.
280
281	* libtiff/tif_print.c: Avoid confusion about count size when printing custom fields.
282	May affect things like ISOSpeedRatings.
283
284	* libtiff/tif_dir.c: avoid one byte past end of ink names reading
285	in some cases.
286
2872012-05-19  Bob Friesenhahn  <[email protected]>
288
289	* man/TIFFGetField.3tiff: Correct the 'count' field type in the
290	example for how to retreive the value of unsupported tags.
291
2922012-03-30  Frank Warmerdam  <[email protected]>
293
294	* tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173)
295	care of Tom Lane @ Red Hat.
296
2972012-02-18  Bob Friesenhahn  <[email protected]>
298
299	* libtiff 4.0.1 released.
300
301	* Update automake used to 1.11.3.
302
303	* libtiff/tiffio.h: Use double-underbar syntax in GCC printf
304	attribute specification to lessen the risk of accidental macro
305	substitution.  Patch from Vincent Torri.
306
3072012-01-31  Frank Warmerdam  <[email protected]>
308
309	* libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around
310	assumption tag fetching is always successful.
311
312	* libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.
313
3142012-01-22  Bob Friesenhahn  <[email protected]>
315
316	* configure.ac: Add support for using library symbol versioning on
317	ELF systems with the GNU linker.  Support is enabled via
318	--enable-ld-version-script.  Disabled by default for now until
319	there is a decision for how to deploy a libtiff with versioned
320	symbols after libtiff 4.0.0 was already released.
321
3222011-12-22  Bob Friesenhahn  <[email protected]>
323
324	* libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
325
326	tif_win32.c.  Patch by Edward Lam.
327
328	* configure.ac: Add libtiff private dependency on -llzma for
329	pkg-config.  Patch by Mark Brand.
330	Updated Automake to 1.11.2.
331
3322011-12-21  Bob Friesenhahn  <[email protected]>
333
334	* libtiff 4.0.0 released.
335
3362011-12-08  Frank Warmerdam  <[email protected]>
337
338	* libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking
339	of _TIFFFillStriles() results (#gdal 4372)
340
3412011-12-07  Frank Warmerdam  <[email protected]>
342
343	* libtiff/tif_dirread.c: fixes to deal with invalid files where
344	_TIFFFillStriles() fails, and we try to chop up strips (gdal #4372)
345
346	* libtiff/tif_dirread.c: fix error reporting when there is no
347	tag information struct and name (gdal #4373)
348
3492011-10-22  Bob Friesenhahn  <[email protected]>
350
351	* Update GNU libtool to 2.4.2.
352
353	* tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
354	uint32 type for TIFFTAG_JPEGTABLES.  Patch by Christophe
355	Deroulers.
356
3572011-06-21  Frank Warmerdam  <[email protected]>
358
359	* libtiff/libtiff.def: Restore TIFFMergeFieldInfo.
360
3612011-05-31  Jim Meyering  <[email protected]>
362
363	* libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also
364	upon failure to allocate "resizeddata".
365	* tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for
366	allocation failure, not before.
367	* libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path
368	* tools/rgb2ycbcr.c (cvtRaster): unchecked malloc
369	* libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark
370	NULL-deref and possible overflow
371	* tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written"
372	* libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration
373	and set of otherwise unused local, data_is_empty.
374	* libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]:
375	Diagnose out-of-memory failure and return 0 rather than
376	dereferencing NULL.
377
3782011-05-24  Frank Warmerdam  <[email protected]>
379
380	* libtiff/tif_dirread.c: produce special error message for zero tag
381	directories instead of error out on the malloc(0) failure.
382
3832011-05-16  Frank Warmerdam  <[email protected]>
384
385	* libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and
386	related declarations as they are in active use by libraries
387	such as libgeotiff, and work just fine.  (#2315)
388
3892011-04-20  Frank Warmerdam  <[email protected]>
390
391	* libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete
392	TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API.
393	http://bugzilla.maptools.org/show_bug.cgi?id=2315
394
395	* libtiff/libtiff.def: add some missing (64bit) APIs.
396	http://bugzilla.maptools.org/show_bug.cgi?id=2316
397
3982011-04-09  Bob Friesenhahn  <[email protected]>
399
400	* libtiff 4.0.0beta7 released.
401
4022011-04-09  Bob Friesenhahn  <[email protected]>
403
404	* configure.ac: Should use AC_CANONICAL_HOST since host specifies
405	the run-time target whereas target is used to specify the final
406	output target if the package is a build tool (like a compiler),
407	which libtiff is not.  Resolves libtiff bug 2307 "Use
408	AC_CANONICAL_HOST macro".
409
4102011-04-02  Bob Friesenhahn  <[email protected]>
411
412	* configure.ac: Support configuring TIFF_INT64_FORMAT and
413	TIFF_UINT64_FORMAT appropriately for MinGW32.
414
415	* tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32
416	printf conventions for 64-bit types because it uses the WIN32 CRT.
417
418	* libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c,
419	tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32
420	printf conventions for 64-bit types because it uses the WIN32 CRT.
421
422	* tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not
423	understood by WIN32 CRT.
424
425	* libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC.
426
427	* tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since
428	it is much more portable.  Tmpfile is included in ISO/IEC
429	9899:1990 and the WIN32 CRT.
430
4312011-03-26  Frank Warmerdam  <[email protected]>
432
433	* tools/tiffset.c: add -d and -sd switches to allow operation on
434	a particular directory, not just the first (jef).
435
4362011-03-21  Frank Warmerdam  <[email protected]>
437
438	* libtiff/tif_thunder.c: Correct potential buffer overflow with
439	thunder encoded files with wrong bitspersample set.  The libtiff
440	development team would like to thank Marin Barbella and TippingPoint's
441	Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004,
442	CVE-2011-1167).
443	http://bugzilla.maptools.org/show_bug.cgi?id=2300
444
4452011-03-10  Frank Warmerdam  <[email protected]>
446
447	* libtiff/tif_fax3.h: Fix to last change allowing zero length
448	runs at the start of a scanline - needed for legal cases.
449
4502011-03-02  Frank Warmerdam  <[email protected]>
451
452	* libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding
453	a move left.  Without this, a malicious input file can generate an
454	indefinitely large series of runs without a0 ever reaching the right
455	margin, thus overrunning our buffer of run lengths.  Per CVE-2011-0192.
456	This is a modified version of a patch proposed by Drew Yao of Apple
457	Product Security.  It adds an unexpected() report, and disallows the
458	equality case, since emitting a run without increasing a0 still allows
459	buffer overrun.
460
4612011-02-23  Frank Warmerdam  <[email protected]>
462
463	* libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296)
464
465	* tools/tiff2rgba.c: close source file on error to make leak
466	detection easier.
467
468	* libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails.
469
470	http://bugzilla.maptools.org/show_bug.cgi?id=2295
471
4722011-02-22  Frank Warmerdam  <[email protected]>
473
474	* libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ
475	_SUPPORT)
476
4772011-02-18  Frank Warmerdam  <[email protected]>
478
479	* configure.ac, configure: Added support for --enable-chunky-strip-read
480	configure option to enable the experimental feature from a couple
481	months ago for reading big strips in chunks.
482
483	* configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h,
484	tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c:
485	Implement optional support for deferring the load of strip/tile
486	offset and size tags for optimized scanning of directories.  Enabled
487	with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD
488	#define in tif_config.h).
489
4902011-02-11  Frank Warmerdam  <[email protected]>
491
492	* libtiff/tif_print.c: remove unused variable.
493
4942011-02-09  Frank Warmerdam  <[email protected]>
495
496	* libtiff/tif_win32.c: avoid error/warning buffer overrun problem
497	with non-console (popup message) builds on win32.
498
499	http://bugzilla.maptools.org/show_bug.cgi?id=2293
500
5012011-01-24  Olivier Paquet  <[email protected]>
502
503	* libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c,
504	tif_print.c, tiff.h, tiffiop.h} : Added support for
505	TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different
506	values for each sample. Presents the min/max of all samples by default for
507	compatibility. TIFFSetField/TIFFGetField can be made to handle those tags
508	as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag.
509	http://www.asmail.be/msg0055458208.html
510
5112011-01-06  Frank Warmerdam  <[email protected]>
512
513	* libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not
514	maintained.
515
516	* libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding
517	for CHUNKY_STRIP_READ_SUPPORT.
518
519	* libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained
520	during JPEGPreDecode and JPEGDecode calls.
521	* libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT,
522	as compression formats like JPEG keep 16 lines interleaved in a sense
523	and might need to touch	quite a bit of data.
524
525	http://trac.osgeo.org/gdal/ticket/3894
526
5272011-01-03  Lee Howard <[email protected]>
528
529	* libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images
530	caused by commit on 2010-12-14.  Submitted by e-mail from
531	Even Rouault <[email protected]>
532
5332010-12-31  Olivier Paquet  <[email protected]>
534
535	* libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE.
536	http://bugzilla.maptools.org/show_bug.cgi?id=2266
537
5382010-12-23  Andrey Kiselev  <[email protected]>
539
540	* tools/tiffcp.c, man/tiffcp.1: Added support for specifying the
541	compression level parameter (preset) for Deflate and LZMA encoders,
542	e.g "-c lzma:p1" or "-c zip:p9".
543
544	* libtiff/tif_lzma.c: Properly set the LZMA2 compression level
545	(preset) in LZMAVSetField().
546
5472010-12-18  Bob Friesenhahn  <[email protected]>
548
549	* libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to
550	Makefile.
551
5522010-12-14  Andrey Kiselev  <[email protected]>
553
554	* configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h,
555	tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new
556	TIFF compression scheme LZMA reserving a new value 34925 for
557	Compression tag. As per
558	bug http://bugzilla.maptools.org/show_bug.cgi?id=2221
559
5602010-12-14  Lee Howard <[email protected]>
561
562	* libtiff/tif_dirread.c: tolerate some cases where
563	FIELD_COLORMAP is missing
564	http://bugzilla.maptools.org/show_bug.cgi?id=2189
565
5662010-12-14  Lee Howard <[email protected]>
567
568	* libtiff/tif_read.c: change read_ahead to tmsize_t
569	http://bugzilla.maptools.org/show_bug.cgi?id=2222
570
5712010-12-14  Lee Howard <[email protected]>
572
573	* configure.ac, libtiff/Makefile.am: Build tif_win32.c on
574	Windows except on Cygwin
575	http://bugzilla.maptools.org/show_bug.cgi?id=2224
576
5772010-12-14  Lee Howard <[email protected]>
578
579	* tools/gif2tiff.c: fix buffer overrun
580	http://bugzilla.maptools.org/show_bug.cgi?id=2270
581
5822010-12-14  Lee Howard <[email protected]>
583
584	* libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order
585	to improve compatibility with various viewers
586	submitted by e-mail from Dwight Kelly <[email protected]>
587
5882010-12-13  Lee Howard <[email protected]>
589
590	* tools/fax2ps.c: be consistent with page-numbering
591	http://bugzilla.maptools.org/show_bug.cgi?id=2225
592
5932010-12-13  Lee Howard <[email protected]>
594
595	* libtiff/tif_color.c: prevent crash in handling bad TIFFs
596	resolves CVE-2010-2595
597	http://bugzilla.maptools.org/show_bug.cgi?id=2208
598
5992010-12-13  Lee Howard <[email protected]>
600
601	* tools/tiffcrop.c: new release by Richard Nolde
602	http://bugzilla.maptools.org/show_bug.cgi?id=2004
603
6042010-12-12  Lee Howard <[email protected]>
605
606	* tools/tiff2pdf.c: fix colors for images with RGBA
607	interleaved data
608	http://bugzilla.maptools.org/show_bug.cgi?id=2250
609
6102010-12-12  Lee Howard <[email protected]>
611
612	* libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files
613	http://bugzilla.maptools.org/show_bug.cgi?id=2164
614
6152010-12-11  Lee Howard <[email protected]>
616
617	* tools/tiff2pdf.c: remove invalid duplication for Lab
618	http://bugzilla.maptools.org/show_bug.cgi?id=2162
619
6202010-12-11  Lee Howard <[email protected]>
621
622	* libtiff/tif_jpeg.c: fix use of clumplines calculation
623	http://bugzilla.maptools.org/show_bug.cgi?id=2149
624
6252010-12-11  Lee Howard <[email protected]>
626
627	* tools/fax2ps.c: replace unsafe tmpfile() with mkstemp()
628	http://bugzilla.maptools.org/show_bug.cgi?id=2118
629
6302010-12-11  Lee Howard <[email protected]>
631
632	* libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c,
633	  libtiff/tif_zip.c: fix build errors for VC6
634	http://bugzilla.maptools.org/show_bug.cgi?id=2105
635
6362010-12-11  Lee Howard <[email protected]>
637
638	* libtiff/tif_stream.cxx: warnings cleanup
639	http://bugzilla.maptools.org/show_bug.cgi?id=2091
640	* libtiff/tif_dirread.c: warnings cleanup
641	http://bugzilla.maptools.org/show_bug.cgi?id=2092
642
6432010-12-11  Lee Howard <[email protected]>
644
645	* tools/tiff2pdf.c: add fill-page option
646	http://bugzilla.maptools.org/show_bug.cgi?id=2051
647
6482010-12-11  Lee Howard <[email protected]>
649
650	* libtiff/tif_dirread.c: modify warnings
651	http://bugzilla.maptools.org/show_bug.cgi?id=2016
652
6532010-12-11  Lee Howard <[email protected]>
654
655	* libtiff/tif_ojpeg.c: fix buffer overflow on problem data
656        http://bugzilla.maptools.org/show_bug.cgi?id=1999
657
6582010-12-11  Lee Howard <[email protected]>
659
660	* tools/tiffinfoce.c: strip byte counts are uint64* now
661
6622010-12-11  Lee Howard <[email protected]>
663
664        * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
665        or missing byte-count tag
666        * tools/tiffsplit.c: abort when reading a TIFF without a byte-count
667        per http://bugzilla.maptools.org/show_bug.cgi?id=1996
668
6692010-12-08  Lee Howard <[email protected]>
670
671        * libtiff/tif_dirread.c: fix crash when reading a badly-constructed
672        TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994
673
6742010-12-06  Lee Howard <[email protected]>
675
676        * libtiff/tif_open.c: Fix mode check before opening a file.
677        http://bugzilla.maptools.org/show_bug.cgi?id=1906
678
6792010-11-27  Bob Friesenhahn  <[email protected]>
680
681	* libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
682	Patch by Vincent Torri.
683
6842010-10-21  Frank Warmerdam  <[email protected]>
685
686	* tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler.
687
688	* libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf.
689
690	* libtiff/libtiff.def: export _TIFFCheckMalloc for tools.
691
6922010-09-25  Lee Howard <[email protected]>
693
694	* tools/tiff2ps.c: improvements and enhancements from Richard Nolde
695	with additional command line options for Document Title,
696	Document Creator, and Page Orientation
697
6982010-07-13  Bob Friesenhahn  <[email protected]>
699
700	* tools/tiffcrop.c: Patch from Richard Nolde to avoid a
701	potentially unterminated buffer due to using an exceptionally long
702	file name.
703
7042010-07-08  Andrey Kiselev  <[email protected]>
705
706	* tools/tiff2pdf.c: Fixed ID buffer filling in
707	t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
708
7092010-07-07  Andrey Kiselev  <[email protected]>
710
711	* libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount()
712	to expected value as the warning message suggests. As per bug
713	http://bugzilla.maptools.org/show_bug.cgi?id=1963
714
7152010-07-06  Andrey Kiselev  <[email protected]>
716
717	* tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER,
718	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE
719	which should be set by value.
720
721	* libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag()
722	and _TIFFFieldWithName() if the tag is not found in the tag table.
723	This should be normal situation and returned NULL value should be
724	properly handled by the caller.
725
7262010-07-02  Andrey Kiselev  <[email protected]>
727
728	* libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned
729	integer type conversions. As per bug
730	http://bugzilla.maptools.org/show_bug.cgi?id=2207
731
732	* tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for
733	WhitePoint tag as per bug
734	http://bugzilla.maptools.org/show_bug.cgi?id=2042
735
736	* libtiff/tif_getimage.c: Check the number of samples per pixel when
737	working with YCbCr image in PickContigCase(). As per bug
738	http://bugzilla.maptools.org/show_bug.cgi?id=2216
739
740	* libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
741	TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
742	we don't need any post-processing. That helps to reset the hook if we
743	previously set this field to some other value and the hook was
744	initialized accordingly. As per bug
745	http://bugzilla.maptools.org/show_bug.cgi?id=2035
746
7472010-07-01  Andrey Kiselev  <[email protected]>
748
749	* tools/tiffgt.c: Properly check the raster buffer allocations for
750	integer overflows. As per bug
751	http://bugzilla.maptools.org/show_bug.cgi?id=2108
752
753	* m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the
754	upstream.
755
756	* libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move
757	multiply_32() and multiply_64() functions into tif_aux.c file and
758	rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively.
759
7602010-06-30  Andrey Kiselev  <[email protected]>
761
762	* tools/tiff2pdf.c: Better generation of ID field in
763	t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings.
764
765	* tools/tiff2pdf.c: Fixed computation of the tile buffer size when
766	converting JPEG encoded tiles.
767
768	* tools/tiff2pdf.c: Better handling of string fields, use static
769	string buffers instead of dynamically allocated, use strncpy() instead
770	of strcpy(), control the string lengths.
771
7722010-06-25  Andrey Kiselev  <[email protected]>
773
774	* tools/tiffcp.c: Initialize buffer arrays with zero to avoid
775	referencing to uninitialized memory in some cases (e.g. when tile size
776	set bigger than the image size).
777
7782010-06-15  Bob Friesenhahn  <[email protected]>
779
780	* tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
781	subsampled data since tiffcrop currently doesn't support it.  Fix
782	JPEG support.
783
7842010-06-13  Frank Warmerdam  <[email protected]>
785
786	* libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201)
787
788	* tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return"
789	in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely
790	wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual
791	size is larger.  Also, there are a bunch of places that try to
792	memset() a malloc'd buffer before checking for malloc failure, which
793	would result in core dump if there actually were a failure. (#2211)
794
7952010-06-11  Bob Friesenhahn  <[email protected]>
796
797	* libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
798	avoid compiler warnings if parameter types are not sign
799	consistent.
800
801	* libtiff 4.0.0alpha6 released.
802
803	* tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
804	European page size dimensions.  Added an option to allow the user
805	to specify a custom page size on the command line.  Fix the case
806	where a page size specified with a fractional part was being
807	coerced to an integer by retyping the variables that define the
808	paper size.
809
810	* html/index.html: Update for the 3.9.3 release.
811
812	* tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
813	YCbCr subsampled data since tiffcp currently doesn't support it.
814	http://bugzilla.maptools.org/show_bug.cgi?id=2097
815
816	* Update libtool to version 2.2.10.
817
8182010-06-10  Bob Friesenhahn  <[email protected]>
819
820	* libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
821	multiplier is zero.
822
8232010-06-09  Bob Friesenhahn  <[email protected]>
824
825	* libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
826	CVE-2010-1411 was not complete.
827
828	* libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
829	multiply two integers.  Returns zero if there is an integer
830	overflow.
831
832	* tools/tiffcp.c (main): tiffcp should not leak memory if an error
833	is reported when reading the input file.
834
8352010-06-08  Bob Friesenhahn  <[email protected]>
836
837	* Update libtool to version 2.2.8.
838
839	* libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
840	buffer due to integer overflow in TIFFroundup() and several other
841	potential overflows.  In conjunction with the fix to TIFFhowmany(),
842	fixes CVE-2010-1411.
843
844	* libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
845	result in an integer overflow. This causes TIFFroundup() to also
846	return zero if there would be an integer overflow.
847
848	* contrib: Add an emacs formatting mode footer to all source files
849	so that emacs can be effectively used.
850
8512010-06-03  Oliver Chen Feng <[email protected]>
852
853	* libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
854	file PAGENUMBER value in sequence for users who care the page
855	sequence, this will also prevent tiff2pdf from creating pdf file from
856	the merged tiff file with wrong page sequence.
857
8582010-05-08  Olivier Paquet  <[email protected]>
859
860	* libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
861	to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
862	* libtiff/tif_dirinfo.c: Use correct set_field_type for
863	TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
864	http://bugzilla.maptools.org/show_bug.cgi?id=2192
865
8662010-05-07  Frank Warmerdam  <[email protected]>
867
868	* libtiff/tif_jpeg.c: Ensure that quality is always set in
869	JPEGPreEncode(), not just when we want to output local tables.
870	Otherwise the quality used during compression may not be right and
871	might not match the tables in the tables tag.   This bug only occurs
872	when seeking between directories in the midst of writing blocks.
873	http://trac.osgeo.org/gdal/ticket/3539
874
8752010-05-06  Andrey Kiselev  <[email protected]>
876
877	* html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
878	Regenerated from the source.
879
8802010-05-05  Olivier Paquet  <[email protected]>
881
882	* libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
883	had stopped working. Also made it always print 6 floats instead of
884	2*SamplesPerPixel.
885	http://bugzilla.maptools.org/show_bug.cgi?id=2191
886	http://bugzilla.maptools.org/show_bug.cgi?id=2186
887	* man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
888	fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
889
8902010-05-05  Frank Warmerdam  <[email protected]>
891
892	* libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
893	if the jpeg table was written.  This is a fix for the last fix on 04-21.
894
8952010-04-21  Frank Warmerdam  <[email protected]>
896
897	* libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
898	JPEGSetupEncode() is called if the tables already seem to be
899	established.  This prevents spurious updates and rewriting of
900	directories with jpegtables when doing updates to existing images.
901	http://trac.osgeo.org/gdal/ticket/3539
902
9032010-04-20  Olivier Paquet  <[email protected]>
904
905	* libtiff/tif_dirinfo.c: Use correct set_field_type for
906	TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
907	TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
908	They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
909	http://bugzilla.maptools.org/show_bug.cgi?id=2139
910
9112010-04-10  Bob Friesenhahn  <[email protected]>
912
913	* libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
914	when the tag count value is zero.  Error handling is still a
915	regression since in 3.9.2, empty tags are skipped (with a warning)
916	rather than returning a hard error and refusing to read the file.
917
918	* tools/ppm2tiff.c (main): While case for parsing comment line
919	requires extra parenthesis to work as expected.  Reported by
920	Thomas Sinclair.
921
9222010-04-02  Frank Warmerdam  <[email protected]>
923
924	* libtiff/tif_read.c (primarily): Add support for
925	CHUNKY_STRIP_READ_SUPPORT where large strips are
926	read in chunks for applications using TIFFReadScanline().
927	This is intended to make it more practical work with very
928	large compressed one-strip files.   Feature is off by default.
929	Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
930	http://trac.osgeo.org/gdal/ticket/3514
931
9322010-03-31  Frank Warmerdam  <[email protected]>
933
934	* libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
935	directories so previously placed directories will be migrated to
936	the end of file if needed.
937
9382010-03-30  Frank Warmerdam  <[email protected]>
939
940	* libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
941	to support operating on strips/tiles of more than 256MB.
942	http://trac.osgeo.org/gdal/ticket/3512
943
9442010-03-10  Bob Friesenhahn  <[email protected]>
945
946	* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
947	that it is clearly a memory allocation error message, and also
948	includes the size of the allocation request.
949
9502010-02-22  Lee Howard  <[email protected]>
951
952	* libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
953	the JPEG TIFF as is is not required in order to prevent it from
954	being unused and filled with invalid data.  (Leave it to be
955	generated by later activity.)
956	http://bugzilla.maptools.org/show_bug.cgi?id=2135
957	* tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
958	data rather than skipping them.  This fixes the ability to view in
959	Acrobat Reader, Evince, and Ghostscript.
960	http://bugzilla.maptools.org/show_bug.cgi?id=2135
961	* libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
962	strips.
963	http://bugzilla.maptools.org/show_bug.cgi?id=2029
964
9652009-12-03  Frank Warmerdam  <[email protected]>
966
967	* libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
968	Made so that when working with downsampled images a stub function
969	reporting an error is used for tif_decoderow.  We cannot meaningfully
970	support reading scanlines in this situation.  (#1936)
971
972	* libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
973	resetting of the upsampling values (gdal:#3259).
974	http://bugzilla.maptools.org/show_bug.cgi?id=1936
975
9762009-11-30  Frank Warmerdam  <[email protected]>
977
978	* contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c,
979	tools/ras2tiff.c: Fix resource leaks on error.
980	http://bugzilla.maptools.org/show_bug.cgi?id=2121
981
982	* libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling
983	TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
984	of as a custom(generic) field to avoid a potential reentrancy problem.
985	http://bugzilla.maptools.org/show_bug.cgi?id=2125
986
987	* libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
988	man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit
989	const, and display_sRGB static and const.
990	http://bugzilla.maptools.org/show_bug.cgi?id=2124
991
9922009-11-04  Bob Friesenhahn  <[email protected]>
993
994	* libtiff 4.0.0alpha5 released.
995
9962009-11-03  Bob Friesenhahn  <[email protected]>
997
998	* tools/tiffcrop.c: Updated tiffcrop from Richard Nolde.  This
999	version has undergone substantial testing with arbitrary sample
1000	bit depths.  Also eliminates GCC compilation warnings.
1001
10022009-11-02  Bob Friesenhahn  <[email protected]>
1003
1004	* port/libport.h: Add extern declarations for getopt standard
1005	globals.
1006
10072009-10-31  Bob Friesenhahn  <[email protected]>
1008
1009	* libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
1010	noticed in 64-bit build of libtiff with Visual Studio 2005.
1011	Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
1012	tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
1013
1014	* libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
1015	warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
1016	Visual Studio 2005 64-bit warning in tif_pixarlog.c",
1017	http://bugzilla.maptools.org/show_bug.cgi?id=2068
1018
10192009-10-29  Bob Friesenhahn  <[email protected]>
1020
1021	* libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
1022	pointer" warnings.
1023
10242009-10-28  Bob Friesenhahn  <[email protected]>
1025
1026	* html/tools.html: Add manual page links, and a summary
1027	description of tiffcrop.
1028
10292009-10-07  Bob Friesenhahn  <[email protected]>
1030
1031	* configure.ac: x86_64 should use the same fill order as i386.
1032
10332009-09-24  Bob Friesenhahn  <[email protected]>
1034
1035	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
1036	Nolde.  Major updates to add significant functionality for reading
1037	and writing tile based images with bit depths not a multiple of 8
1038	which cannot be handled by tiffcp.
1039
10402009-09-03  Bob Friesenhahn  <[email protected]>
1041
1042	* libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
1043	do_fancy_upsampling=FALSE in order to read raw data.  Resolves
1044	"Bug 2090 - OJPEG crash with libjpeg v7".
1045	http://bugzilla.maptools.org/show_bug.cgi?id=2090
1046
10472009-09-03  Frank Warmerdam  <[email protected]>
1048
1049	* libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
1050	interface when stoponerror is set.
1051	http://bugzilla.maptools.org/show_bug.cgi?id=2071
1052
10532009-08-30  Bob Friesenhahn  <[email protected]>
1054
1055	* tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
1056	fix build with gcc when using the "-Wformat
1057	-Werror=format-security" flags.
1058
10592009-08-29  Bob Friesenhahn  <[email protected]>
1060
1061	* test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
1062	ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
1063	utilities tests.
1064
10652009-08-28  Bob Friesenhahn  <[email protected]>
1066
1067	* tools/tiffinfo.c: tiffinfo should return error status to the
1068	caller.  Register a private error callback to accomplish that.
1069
1070	* test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
1071	PNM formats so that we will be able to test more of the tools.
1072	While adding these test images I notice that bmp2tiff and gif2tiff
1073	only support ancient versions of their respective formats.
1074
10752009-08-27  Bob Friesenhahn  <[email protected]>
1076
1077	* libtiff 4.0.0alpha4 released.
1078
1079	* HOWTO-RELEASE: Improved release instructions.
1080
10812009-08-24  Bob Friesenhahn  <[email protected]>
1082
1083	* man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
1084	fixes for "Bug 2023 - nroff errors in manual pages".
1085	http://bugzilla.maptools.org/show_bug.cgi?id=2023
1086
1087	* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
1088	CVE-2009-2347 libtiff: integer overflows in various inter-color
1089	space conversion tools".
1090	http://bugzilla.maptools.org/show_bug.cgi?id=2079
1091
1092	* libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
1093	Berkenbilt for "Bug 2024 - possible null pointer dereference with
1094	one-line fix".
1095	http://bugzilla.maptools.org/show_bug.cgi?id=2024
1096
1097	* libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
1098	from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
1099	segfault after setting tdir_tag = IGNORE".
1100	http://bugzilla.maptools.org/show_bug.cgi?id=1895
1101
11022009-08-23  Bob Friesenhahn  <[email protected]>
1103
1104	* test/Makefile.am, test/tiffcrop*.sh: Split previously existing
1105	tiffcrop.sh into a collection of many specific tests.  Re-wrote
1106	all of the existing tests to be based on some simple shell
1107	functions.  Make distcheck works again.
1108
1109	Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
1110	added 'memcheck' and 'ptrcheck' targets to make it easy to run the
1111	tests under valgrind.
1112
11132009-08-21  Bob Friesenhahn  <[email protected]>
1114
1115	* test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
1116	build.
1117
1118	* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
1119	actually activated since it needed to be enabled in this
1120	Makefile.am.  Also activated parallel-tests mode since it offers
1121	useful features such as per-test .log files and a summary test
1122	report .log file.
1123
11242009-08-20  Bob Friesenhahn  <[email protected]>
1125
1126	* configure.ac: Updated autotools.  Autoconf 2.64, Automake 1.11,
1127	libtool 2.2.6.  Enabled support for silent build rules
1128	(--enable-silent-rules or 'make V=0') and colorized tests.
1129
1130	* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
1131
11322009-06-30  Frank Warmerdam  <[email protected]>
1133
1134	* tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
1135
1136	* tools/tiffcp.c: add -c sgilog support.
1137
1138	* libtiff/tif_luv.c: correct return codes from encoderow to be
1139	1 on success instead of zero.
1140	http://bugzilla.maptools.org/show_bug.cgi?id=2069
1141
1142	* libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
1143	#1085 for a better underflow fix that errors properly.
1144	http://bugzilla.maptools.org/show_bug.cgi?id=2065
1145	http://bugzilla.maptools.org/show_bug.cgi?id=1985
1146
11472009-06-26  Frank Warmerdam  <[email protected]>
1148
1149	* libtiff/tif_strip.c: Remove an inappropriate assertion that often
1150	fails on oddly sized 12bit jpeg compressed ycbcr images.
1151
11522009-06-22  Frank Warmerdam  <[email protected]>
1153
1154	* libtiff/tif_lzw.c: Fix buffer underflow bug.
1155	http://bugzilla.maptools.org/show_bug.cgi?id=2065
1156
11572009-06-21  Frank Warmerdam  <[email protected]>
1158
1159	* configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
1160	for dual mode 8/12 bit jpeg support.
1161
11622009-06-03  Frank Warmerdam  <[email protected]>
1163
1164	* libtiff/tif_write.c: do not override the planar configuration to be
1165	contig for one sample files if planar configuration is already set.
1166	http://bugzilla.maptools.org/show_bug.cgi?id=2057
1167
11682009-06-02  Frank Warmerdam  <[email protected]>
1169
1170	* libtiff/libtiff.def: Add TIFFUnsetField.
1171
11722009-05-03  Frank Warmerdam  <[email protected]>
1173
1174	* libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
1175	error reports to use "%s" as format string.
1176	http://trac.osgeo.org/gdal/ticket/2976
1177
11782009-03-12  Frank Warmerdam  <[email protected]>
1179
1180	* libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
1181	for some codecs (#2020).
1182
11832009-02-12  Frank Warmerdam  <[email protected]>
1184
1185	* libtiff/tif_luv.c: Fix handling of tiled logluv images.
1186	http://bugzilla.maptools.org/show_bug.cgi?id=2005
1187
11882009-02-09  Frank Warmerdam  <[email protected]>
1189
1190	* libtiff/tif_dirread.c: Improve allocation safety when allocated
1191	buffer for large tags.  (#1998)  Related to (#1993)
1192
11932009-02-06  Frank Warmerdam  <[email protected]>
1194
1195	* tools/tiffcrop.c: Don't default image->res_unit to INCH.  Now the
1196	test suite should pass.
1197
11982009-02-05  Frank Warmerdam  <[email protected]>
1199
1200	* libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
1201	but at the 2GB boundary to avoid overflow on 32bit systems.
1202	http://bugzilla.maptools.org/show_bug.cgi?id=1993
1203
1204	* libtiff/tif_dirread.c: Remove some assertions that blow due to
1205	corrupt files rather than in response to library internal
1206	inconsistencies.
1207	http://bugzilla.maptools.org/show_bug.cgi?id=1995
1208	http://bugzilla.maptools.org/show_bug.cgi?id=1991
1209
1210	* libtiff/tif_dirread.c: Fixed testing for failed result from
1211	TIFFReadDirectoryFindFieldInfo().
1212	http://bugzilla.maptools.org/show_bug.cgi?id=1992
1213
12142009-01-23  Frank Warmerdam  <[email protected]>
1215
1216	* libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
1217	http://bugzilla.maptools.org/show_bug.cgi?id=1911
1218
1219	* libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
1220
1221	http://bugzilla.maptools.org/show_bug.cgi?id=1924
1222
1223	* tools/tiffcrop.c: initialize xres/yres values.
1224
1225	* test/*.sh - default ${srcdir} to local directory.
1226
1227	* test/common.sh - start verbose mode after common settings.
1228
1229	* libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
1230	avoid type mismatches on different platforms.
1231	http://bugzilla.maptools.org/show_bug.cgi?id=1889
1232
12332009-01-22  Frank Warmerdam  <[email protected]>
1234
1235	* tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
1236	tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
1237
1238	* port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
1239	defined, primarily to reduce prototype warnings on windows.
1240
1241	* libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
1242	about unused parameters, and uninitialized variables.
1243
12442009-01-21  Bob Friesenhahn  <[email protected]>
1245
1246	* test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
1247	order to trace full execution detail while executing the test suite.
1248
12492009-01-20  Frank Warmerdam  <[email protected]>
1250
1251	* tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
1252
12532009-01-20  Bob Friesenhahn  <[email protected]>
1254
1255	* test/Makefile.am (CLEANFILES): Make sure that test output files
1256	are removed by 'make clean'
1257
1258	* Update autotools for 4.0.0 beta3
1259
1260	* 4.0.0 beta3 produced.
1261
12622009-01-12  Bob Friesenhahn  <[email protected]>
1263
1264	* test/tiffcrop.sh: New test script for tiffcrop from Richard
1265	Nolde.
1266
1267	* tools/tiff2ps.c: Remove spurious message to stderr.
1268
12692009-01-11  Bob Friesenhahn  <[email protected]>
1270
1271	* tools/tiff2ps.c: Incorporated significant functionality update
1272	from Richard Nolde.  In particular, support for rotating the image
1273	by 90, 180, 270, and 'auto' has been added.
1274
1275	* man/tiffcrop.1: Incorporated documentation updates from Richard
1276	Nolde.
1277
1278	* tools/tiffcrop.c: Incorporated significant functionality update
1279	from Richard Nolde.
1280
12812008-12-31  Bob Friesenhahn  <[email protected]>
1282
1283	* libtiff/tiffio.h: GCC will now validate format specifications
1284	for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
1285	TIFFWarningExt() in order to reveal bugs.
1286
1287	* Many fixes throughout to work better as a 64-bit build.
1288
12892008-12-30  Bob Friesenhahn  <[email protected]>
1290
1291	* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
1292	tags now require 64-bit parameter rather than 32-bit.
1293
1294	* libtiff/tif_dirread.c: Fixed issues with unaligned access to
1295	64-bit values.
1296
1297	* tools/thumbnail.c: Eliminate crash noticed while running test
1298	suite.
1299
13002008-12-29  Bob Friesenhahn  <[email protected]>
1301
1302	* libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
1303	Initialize stack variables to avoid compiler warning.
1304
1305	* tools/tiffinfoce.c (main): Use toff_t for offset type when
1306	retrieving offset of EXIF IFD.
1307
1308	* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
1309	TIFFClientOpen() callback and other external function definitions.
1310
1311	* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
1312	type now.  Fixes crash when dumping files containing an EXIF IFD.
1313
1314	* m4/libtool.m4: Update to libtool 2.2.6.
1315
13162008-12-21  Frank Warmerdam  <[email protected]>
1317
1318	* libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
1319
1320	* libtiff/tif_jpeg.c: Avoid errors if the application writes a full
1321	strip for the last partial strip in a jpeg compressed file.
1322	http://bugzilla.maptools.org/show_bug.cgi?id=1981
1323
13242008-10-29  Frank Warmerdam  <[email protected]>
1325
1326	* libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
1327	we take the shortcut to only update the strip/tile offsets in place.
1328	http://trac.osgeo.org/gdal/ticket/2621
1329
13302008-10-21  Andrey Kiselev  <[email protected]>
1331
1332	* libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
1333	the older versions retained).
1334
13352008-10-09  Frank Warmerdam  <[email protected]>
1336
1337	* libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
1338	IPP enabled version of libjpeg from Intel.
1339	http://bugzilla.maptools.org/show_bug.cgi?id=1951
1340
13412008-09-05  Andrey Kiselev  <[email protected]>
1342
1343	* tools/tiffsplit.c: Use byte counts of proper size (uint64).
1344	Required for libtiff 4.0.
1345
1346	* tools/tiffsplit.c: Use dynamically allocated array instead of static
1347	when constructing output file names.
1348
13492008-09-03  Andrey Kiselev  <[email protected]>
1350
1351	* tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
1352	doing the filename/path construction.
1353
1354	* tools/tiff2pdf.c: More appropriate format string in
1355	t2p_write_pdf_string(); avoid signed/unsigned mismatch.
1356
1357	* libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
1358
1359	http://bugzilla.maptools.org/show_bug.cgi?id=1929
1360
1361	* libtiff/tif_lzw.c: Properly zero out the string table. Fixes
1362	CVE-2008-2327 security issue.
1363
13642008-09-01  Frank Warmerdam  <[email protected]>
1365
1366	* libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
1367
1368	* libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
1369	depending on whether the file is bigtiff or classic tiff.
1370	http://bugzilla.maptools.org/show_bug.cgi?id=1917
1371
13722008-08-12  Edward Lam  <[email protected]>
1373
1374	* tools/tiffdump.c: When compiling for Microsoft Windows, apply
1375	consistent (__int64) casting when testing if _lseeki64 has
1376	successfully seeked as requested.  This is necessary for large
1377	file support to work since off_t is only 32-bit.
1378
13792008-07-29  Frank Warmerdam  <[email protected]>
1380
1381	* tif_strip.c: Replace assertions related to samplesperpixel != 3 or
1382	the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
1383	with control logic to return runtime errors (c/o Even Rouault) (#1927).
1384
13852008-06-17  Frank Warmerdam  <[email protected]>
1386
1387	* tools/tiffcrop.c: Fix some portability problems.
1388
1389	* libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
1390	used in tif_jpeg.c.
1391
1392	* libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
1393	as TIFFOpen().
1394
13952008-06-01  Frank Warmerdam  <[email protected]>
1396
1397	* libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
1398	like Sparc/Solaris.
1399	http://bugzilla.maptools.org/show_bug.cgi?id=1892
1400
14012008-05-27  Frank Warmerdam  <[email protected]>
1402
1403	* libtiff.def: Add TIFFFindField
1404	http://bugzilla.maptools.org/show_bug.cgi?id=1891
1405
14062008-05-26  Frank Warmerdam  <[email protected]>
1407
1408	* tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
1409
1410	* li2008-04-15  Andrey Kiselev  <[email protected]>
1411
1412btiff/tif_win32.c: Replace custom Win32 memory api with generic
1413	POSIX one.  No apparent value to use of GlobalAlloc() in the modern
1414	age.  http://bugzilla.maptools.org/show_bug.cgi?id=1885
1415
1416	* libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
1417	in windows version (care of Edward Lam).
1418
14192008-05-24  Frank Warmerdam  <[email protected]>
1420
1421	* tif_codec.c: Avoid NULL pointer dereferencing for exotic
1422	compression codec codes.
1423
1424	* tif_dirwrite.c: fix potential memory leak.
1425
1426	* tif_dirread.c: Fix unchecked malloc result.
1427
14282008-05-24  Bob Friesenhahn  <[email protected]>
1429
1430	* test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
1431	tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
1432	tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
1433	tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
1434	tiffdump.sh tiffinfo.sh}: Added more test scripts based on
1435	suggestions from Lee Howard posted to the tiff list on 13 Sep
1436	2007.
1437
14382008-05-23  Frank Warmerdam  <[email protected]>
1439
1440	* libtiff/tif_fax3.c: Add an assert in an effort to detect a
1441	possible runtime problem reported by coverity.
1442
1443	* contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
1444
1445	* tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
1446	http://bugzilla.maptools.org/show_bug.cgi?id=1888
1447
1448	* tools/tiffdither.c: remove dead onestrip code.  avoid memory leak.
1449
1450	* tools/rgb2ycbcr.c: fix memory leak of raster buffer.
1451
1452	* tools/tiffcp.c: Simplify inknames code to avoid pointless test.
1453	Cleanup scanline allocation to avoid coverity warning.
1454
1455	* tools/thumbnail.c: Check for TIFFOpen() failure.
1456
14572008-05-18  Frank Warmerdam  <[email protected]>
1458
1459	* libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
1460	and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED.  Not exactly clear
1461	why this is needed.
1462
14632008-05-09  Bob Friesenhahn  <[email protected]>
1464
1465	* Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
1466	"ACLOCAL_AMFLAGS=-I ./m4".  It wants "ACLOCAL_AMFLAGS=-I m4".
1467
14682008-04-15  Andrey Kiselev  <[email protected]>
1469
1470	* test/: Test suite updated. Everything is passed now.
1471
1472	* libtiff/tif_dirinfo.c: Fixed description of the
1473	TIFFTAG_NUMBEROFINKS tag.
1474
14752008-04-14  Andrey Kiselev  <[email protected]>
1476
1477	* libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
1478	Get rid of some of "dereferencing type-punned" warnings by converting
1479	tdir_offset field of TIFFDirEntry structure into union.
1480
14812008-04-10  Andrey Kiselev  <[email protected]>
1482
1483	* libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
1484	TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
1485	from the public interface. Type of its 'count' parameter changed
1486	from uint32 to tmsize_t.
1487
1488	* /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
1489	of the tiff structure have the size_t type instead of uint32.
1490
14912008-04-09  Andrey Kiselev  <[email protected]>
1492
1493	* tools/tiffdump.c: Added support for MSVS 6.0.
1494
1495	* libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
1496	and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
1497	point values on MSVS 6.0 platform.
1498
14992008-03-14  Frank Warmerdam  <[email protected]>
1500
1501	* tif_dirread.c: Removed sanity checks on tags larger than 4MB in
1502	TIFFReadDirEntryArray() since they are interfering with seemingly
1503	legitimate files.  http://trac.osgeo.org/gdal/ticket/2005
1504
15052008-02-09  Joris Van Damme  <[email protected]>
1506
1507	* tif_dirread.c: Added handling for the case of number of values for
1508	PageNumber tag different from 2 (previously resulted in an assert
1509	indicating lack of handling and was forgotten about)
1510
15112008-02-01  Frank Warmerdam  <[email protected]>
1512
1513	* libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
1514	the actual jpeg data stream if the first strip/tile has zero size.
1515	This is the case when GDAL creates a new file with zero sizes, closes
1516	and reopens it.
1517
15182008-01-07  Frank Warmerdam  <[email protected]>
1519
1520	* tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
1521
15222008-01-01  Frank Warmerdam  <[email protected]>
1523
1524	* libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
1525
1526	* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
1527	targets.
1528
1529	* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
1530	tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
1531	(x64).
1532
1533	* tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
1534	and TIFFFieldWithName() now return TIFFField pointers instead of
1535	TIFFFieldInfo pointers.
1536
1537	* tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
1538	exist. This makes it compile again on Windows
1539
1540	* tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
1541	tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
1542
1543	* test/rewrite_tag.c: New test for TIFFRewriteField().
1544
15452007-12-31  Frank Warmerdam  <[email protected]>
1546
1547	* tif_dirwrite.c: Added TIFFRewriteField().  This new function
1548	rewrites one field "on disk" updating an existing directory
1549	entry.  Lots of limitations still...
1550
1551	* tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
1552	TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
1553	the strip offset/size values are dirty but nothing else about the
1554	directory is dirty.  In flush handle "just stripmaps dirty" as a
1555	special case that just rewrites these values without otherwise
1556	modifying the directory on disk using TIFFRewriteField().
1557
1558	We also modify logic so that in update mode the directory is not
1559	marked dirty on read, but only when something is changed.  This
1560	means we need to keep track of updates to the stripmap stuff in
1561	TIFFAppendToStrip().
1562
15632007-12-10  Frank Warmerdam  <[email protected]>
1564
1565	* tif_jpeg.c: Improve ability to switch between encoding and decoding
1566	in the jpeg code (gdal bug #2033).
1567
15682007-11-23  Frank Warmerdam  <[email protected]>
1569
1570	* tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
1571	tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
1572	rawcp/rawcc buffer are for writing and thus may require flushing.
1573	Necessary to distinguish whether they need to be written to disk when
1574	in mixed read/write mode and doing a mixture of writing followed by
1575	reading.  http://trac.osgeo.org/gdal/ticket/1758
1576
15772007-11-23  Andrey Kiselev  <[email protected]>
1578
1579	* configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
1580	from Alexey Chupahin.
1581
15822007-11-02  Frank Warmerdam  <[email protected]>
1583
1584	* tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
1585	establishing if an existing tile can be rewritten to the same location
1586	by comparing the current size to all the other blocks in the same
1587	directory.  This is dangerous in many situations and can easily
1588	corrupt a file.  (observed in esoteric GDAL situation that's hard to
1589	document).  This change involves leaving the stripbytecount[] values
1590	unaltered till TIFFAppendToStrip().  Now we only write a block back
1591	to the same location it used to be at if the new data is the same
1592	size or smaller - otherwise we move it to the end of file.
1593
1594	* tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
1595	data when writing the directory just because we have BEENWRITING at
1596	some point in the past.  This was causing odd junk to be written out
1597	in a tile of data when a single tile had an interleaving of reading
1598	and writing with reading last.  (highlighted by gdal
1599	autotest/gcore/tif_write.py test 7.
1600
1601	* tif_predict.c: use working buffer in PredictorEncodeTile to avoid
1602	modifying callers buffer.
1603	http://trac.osgeo.org/gdal/ticket/1965
1604
1605	* tif_predict.c/h: more fixes related to last item, keeping a
1606	distinct pfunc for encode and decode cases as these were getting
1607	mixed up sometimes.
1608	http://trac.osgeo.org/gdal/ticket/1948
1609
16102007-11-01  Frank Warmerdam  <[email protected]>
1611
1612	* tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
1613	predictor based encoding and decoding works in read-write update
1614	mode properly.
1615	http://trac.osgeo.org/gdal/ticket/1948
1616
16172007-10-24  Joris Van Damme  <[email protected]>
1618
1619	* tif_dirread.c: Fixed problem with bogus file triggering
1620	assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
1621	ChopUpSingleUncompressedStrip
1622
16232007-10-22  Joris Van Damme  <[email protected]>
1624
1625	* tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
1626	at best, access violation at worst, when subsampled JPEG compressed imagery
1627	is decoded without the JPEG_COLORMODE feature
1628
16292007-10-11  Frank Warmerdam  <[email protected]>
1630
1631	* html/index.html: Update "people responsible" section.
1632
16332007-10-05  Frank Warmerdam  <[email protected]>
1634
1635	* tools/tiff2pdf.c: Fix problem with alpha setting in some cases
1636	as reported on the mailing list.
1637
16382007-10-01  Joris Van Damme  <[email protected]>
1639
1640	* changed some more incorrect %lud printf flags to %lu
1641
16422007-09-29  Joris Van Damme  <[email protected]>
1643
1644	* tif_dirread.c: Strip chopping interfered badly with uncompressed
1645	subsampled images because it tried to divide subsampled rowblocks,
1646	leading to all sorts of errors throughout the library for these
1647	images. Fixed by making strip chopping divide in row counts that
1648	are a multiple of vertical subsampling value.
1649
16502007-09-28  Joris Van Damme  <[email protected]>
1651
1652	* tif_dirread.c: Logical cast working around compiler warning
1653
1654	* tif_read.c: Correction of some error flags and parameter lists
1655
16562007-09-27  Joris Van Damme  <[email protected]>
1657
1658	* tif_dirread.c: Made calculation of td_maxsamplevalue more robust
1659	when dealing with large bitspersample values, shutting up purification
1660	tools that warn about truncation, though it remains incorrect and
1661	indicates a conceptual problem there.
1662
1663	* tif_open.c: Moved early exit in case of 'h' flag (to disable reading
1664	of first IFD) to proper place because it badly interfered with memory
1665	mapping, resulting in mapping flag even with dummy mapping functions
1666	that returned 0 whilst at the same time the mapping tif_size wasn't
1667	set, thus resulting in continuous incorrect beyond-eof errors.
1668
16692007-09-24  Joris Van Damme  <[email protected]>
1670
1671	* tif_dirinfo.c: Fixed (MSVC) compiler reports about
1672	inconsistent use of const in tiffFields and exifFields definition
1673
16742007-09-20  Frank Warmerdam  <[email protected]>
1675
1676	* tif_dirwrite.c: Always write tile/strip offsets and sizes
1677	using LONG8 type when output format is BigTIFF.  The
1678	TIFFWriteDirectoryTagLongLong8Array() function was restructured
1679	accordingly.
1680
1681	* tif_dirread.c: Improvements to error reporting text in
1682	TIFFFetchDirectory().
1683
16842007-09-19  Bob Friesenhahn  <[email protected]>
1685
1686	* test/images: Added a small collection of test images for use by
1687	test programs and scripts.
1688	* test/tiffinfo.sh: A trivial example test script.
1689	* test/common.sh: Added small script for setting the environment
1690	used by script-based tests.
1691
16922007-08-24  Frank Warmerdam  <[email protected]>
1693
1694	* tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
1695	zero when writing directory contents to preserve the ability to
1696	rewrite directories in place, even in the middle of a directory
1697	chain.
1698
1699	* tif_dirinfo.c:  _TIFFMergeFields() now only merges in field
1700	definitions that are missing.  Existing definitions are silently
1701	ignored.
1702
1703	* tif_dirread.c: Add runtime error for fields for which no definition
1704	is found (in addition to an assert for developers) in
1705	TIFFFetchNormalTag().  Not sure if this is needed, but it seems
1706	prudent.
1707
17082007-08-10  Joris Van Damme  <[email protected]>
1709
1710	* libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
1711	from _TIFFRGBAImage structure to revert unwanted ABI change.
1712
17132007-08-10  Joris Van Damme  <[email protected]>
1714
1715	* libtiff/tif_win32.c: use SetFilePointer instead of
1716	SetFilePointerEx, as per bug
1717
1718	http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
1719
17202007-07-19  Andrey Kiselev  <[email protected]>
1721
1722	* libtiff/tif_stream.cxx: Put all callback functions declarations
1723	inside extern "C" block.
1724
1725	* libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
1726	tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
1727	formatter instead of "%lld" with MSVC compiler.
1728
1729	* libtiff/{tiffiop.h, tif_aux.c}:  Added _TIFFUInt64ToFloat() and
1730	_TIFFUInt64ToDouble() functions.
1731
17322007-07-18  Andrey Kiselev  <[email protected]>
1733
1734	* libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
1735	integer constants.
1736
1737	* libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
1738	remove tif_config.h/tiffconf.h during cleaning. As per bug
1739
1740	http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
1741
1742	* libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
1743
1744	http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
1745
17462007-07-13  Andrey Kiselev  <[email protected]>
1747
1748	* libtiff 4.0.0alpha released.
1749
17502007-07-12  Andrey Kiselev  <[email protected]>
1751
1752	* tools/tiff2pdf.c: Added missed extern optind as per bug
1753
1754	http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
1755
1756	* libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
1757	tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
1758	extending scheme completed.
1759
17602007-07-11  Bob Friesenhahn  <[email protected]>
1761
1762	* libtiff/tif_stream.cxx: Adapt to use toff_t again.  Update to
1763	use standard C++ library size types and attempt to detect overflow
1764	cases.
1765
17662007-07-08  Andrey Kiselev  <[email protected]>
1767
1768	* libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
1769	tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
1770	tag extending scheme. Use the new scheme everywhere.
1771
1772	* libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
1773	tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
1774	tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
1775	TIFFFIeldInfo structure replaced with TIFFField structure.
1776	TIFFFieldInfo retained for the backward compatibility.
1777
17782007-07-05  Bob Friesenhahn  <[email protected]>
1779
1780	* tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
1781	defined.
1782
17832007-07-04  Andrey Kiselev  <[email protected]>
1784
1785	* libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
1786	TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
1787	removed.
1788
1789	* libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
1790	tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
1791	TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
1792	These tags are not codec-specific and relate to image content, so
1793	process them as other normal tags.
1794
1795	* libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
1796	public tiffio.h to private tif_dir.h.
1797
1798	* contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
1799	outdated.
1800
18012007-07-03  Andrey Kiselev  <[email protected]>
1802
1803	* libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
1804	tif_win3.c}: Obsoleted portability stuff removed.
1805
1806	* tools/tiff2ps.c:  Added support 16-bit images as per bug
1807
1808	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
1809
1810	Patch from William Bader.
1811
1812	* tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
1813	significant upgrade of the whole utility as per bug
1814
1815	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
1816
1817	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
1818	PDF file using TIFFClientOpen() machinery as it is implemented
1819	by Leon Bottou.
1820
18212007-06-26  Bob Friesenhahn  <[email protected]>
1822
1823	* configure.ac: Fix typo when substituting value for unsigned 8 bit type.
1824	Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
1825	Added support for a TIFF_SSIZE_T in order to return memory sizes but still
1826	allow returning -1 for errors.
1827	* libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
1828
18292007-06-25  Bob Friesenhahn  <[email protected]>
1830
1831	* port/strtoull.c: New porting function in case strtoull() is not
1832	available on the target system.
1833	* configure.ac: Add configure support for determining sized types
1834	in a portable way and performing necessary substitutions in
1835	tif_config.h and tiffconf.h.  Updated tiff.h to use the new
1836	definitions.
1837
18382007-04-27  Andrey Kiselev  <[email protected]>
1839
1840	* tools/tiff2pdf.c: Check the tmpfile() return status as per bug
1841
1842	http://bugzilla.remotesensing.org/show_bug.cgi?id=154
1843
18442007-04-07  Andrey Kiselev  <[email protected]>
1845
1846	* libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
1847	tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
1848	tif_predict.c, tif_zip.c}: Finally fix bug
1849
1850	http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
1851
1852	by introducing _TIFFMergeFieldInfo() returning integer error status
1853	instead of void in case of problems with field merging (e.g., if the
1854	field with such a tag already registered). TIFFMergeFieldInfo() in
1855	public API remains void. Use _TIFFMergeFieldInfo() everywhere and
1856	check returned value.
1857
18582007-04-07  Frank Warmerdam  <[email protected]>
1859
1860	* contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
1861	blocks in TIFF_DownSample_Subsampled() (bug 1542).
1862
18632007-04-06  Frank Warmerdam  <[email protected]>
1864
1865	* libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
1866	will convert from decompressor to compressor or compress to decompress
1867	if required by the force arguments.  This works around a problem in
1868	where the JPEGFixupTestSubsampling() may cause a decompressor to
1869	be setup on a directory when later a compressor is required with the
1870	force flag set.  Occurs with the addtiffo program for instance.
1871
18722007-04-06  Andrey Kiselev  <[email protected]>
1873
1874	* tools/tiffcrop.c, man/tiffcrop.1: Significant update in
1875	functionality from Richard Nolde. As per bug
1876
1877	http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
1878
18792007-03-28  Frank Warmerdam  <[email protected]>
1880
1881	* libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
1882
18832007-03-17  Joris Van Damme  <[email protected]>
1884
1885	* start of BigTIFF upgrade - CVS HEAD unstable until further notice
1886
18872007-03-07  Joris Van Damme  <[email protected]>
1888
1889	* libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
1890	OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
1891	factor. This bug is mentioned in:
1892	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
1893	http://www.asmail.be/msg0054766825.html
1894
18952007-03-07  Joris Van Damme  <[email protected]>
1896
1897	* libtiff/tif_win32.c: made inclusion of windows.h unconditional
1898
1899	* libtiff/tif_win32.c: replaced preprocessor indication for consiously
1900	unused arguments by standard C indication for the same
1901
19022007-02-27  Andrey Kiselev  <[email protected]>
1903
1904	* libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
1905	counters in TIFFFetchData(). Should finally fix the issue
1906
1907	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1908
19092007-02-24  Andrey Kiselev  <[email protected]>
1910
1911	* tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
1912	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
1913
1914	* libtiff/tif_dirread.c: Added special function to handle
1915	SubjectDistance EXIF tag as per bug
1916
1917	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
1918
1919	* tools/tiff2pdf.c: Do not assume inches when the resolution units
1920	do not specified. As per bug
1921
1922	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
1923
1924	* tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
1925	it was set as infinite. As per bug
1926
1927	http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
1928
1929	* tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
1930	by Richard Nolde. As per bug
1931
1932	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
1933
19342007-02-22  Andrey Kiselev  <[email protected]>
1935
1936	* libtiff/tif_dir.c: Workaround for incorrect TIFFs with
1937	ExtraSamples == 999 produced by Corel Draw. As per bug
1938
1939	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
1940
1941	* libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
1942	changed from tsize_t to uint32 to be able to work with data arrays
1943	larger than 2GB. Fixes bug
1944
1945	http://bugzilla.remotesensing.org/show_bug.cgi?id=890
1946
1947	Idea submitted by Matt Hancher.
1948
19492007-01-31  Andrey Kiselev  <[email protected]>
1950
1951	* tools/tif2rgba.c: This utility does not work properly on big-endian
1952	architectures. It was fixed including the bug
1953
1954	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
1955
19562007-01-15  Mateusz Loskot <[email protected]>
1957
1958	* Submitted libtiff port for Windows CE platform
1959	* libtiff/tif_config.wince.h: Added configuration header for WinCE.
1960	* libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
1961	* libtiff/tif_wince.c: Added WinCE-specific implementation of some
1962	functons from tif_win32.c.
1963	* libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
1964	* libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
1965	standard header files for Windows CE build.
1966	* tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
1967
19682006-11-19  Frank Warmerdam  <[email protected]>
1969
1970	* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
1971	we move a strip.
1972	http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
1973
19742006-10-13  Andrey Kiselev  <[email protected]>
1975
1976	* libtiff/tif_dir.c: More fixes for vulnerabilities, reported
1977	in Gentoo bug ():
1978
1979	http://bugs.gentoo.org/show_bug.cgi?id=142383
1980
1981	* libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
1982	Though it is still far from the state of being working and useful.
1983
19842006-10-12  Andrey Kiselev  <[email protected]>
1985
1986	* libtiff/tif_fax3.c: Save the state of printdir codec dependent
1987	method.
1988
1989	* libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
1990	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
1991
1992	* libtiff/tif_win32.c: Fixed problem with offset value manipulation
1993	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
1994
1995	* libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
1996	vulnerabilities, reported in Gentoo bug ():
1997
1998	http://bugs.gentoo.org/show_bug.cgi?id=142383
1999
20002006-09-28  Andrey Kiselev  <[email protected]>
2001
2002	* libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
2003	vulnerabilities, as per	Gentoo bug ():
2004
2005	http://bugs.gentoo.org/show_bug.cgi?id=142383
2006
20072006-09-27  Frank Warmerdam  <[email protected]>
2008
2009	* libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
2010	encoding and decoding on the same read-write TIFF handle.  The LZW
2011	code can now maintain encode and decode state at the same time. The
2012	ZIP code will switch back and forth as needed.
2013	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
2014
20152006-09-20  Frank Warmerdam  <[email protected]>
2016
2017	* libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
2018	tif_config.vc.h for easier identification by folks using an IDE.
2019
20202006-07-25  Frank Warmerdam  <[email protected]>
2021
2022	* tif_msdos.c: Avoid handle leak for failed opens.  c/o Thierry Pierron
2023
20242006-07-19  Frank Warmerdam  <[email protected]>
2025
2026	* tif_dirwrite.c: take care not to flush out buffer of strip/tile
2027	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
2028	to bug report by Peng Gao with black strip at bottom of images.
2029
20302006-07-12  Frank Warmerdam  <[email protected]>
2031
2032	* tif_dirwrite.c: make sure to use uint32 for wordcount in
2033	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
2034	It already seems to have been done for other field types.  Needed
2035	for "tiffset" on files with geotiff ascii text.
2036
20372006-07-04  Bob Friesenhahn  <[email protected]>
2038
2039	* {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
2040	(JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
2041	its use does not appear to be required, so use it only when it is
2042	available.
2043
20442006-06-24  Andrey Kiselev  <[email protected]>
2045
2046	* libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
2047
2048	* libtiff/tif_dirread.c: Move IFD fetching code in the separate
2049	function TIFFFetchDirectory() avoiding code duplication in
2050	TIFFReadDirectory() and TIFFReadCustomDirectory().
2051
20522006-06-19  Frank Warmerdam  <[email protected]>
2053
2054	* tools/tiff2pdf.c: Fix handling of -q values.
2055	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
2056
20572006-06-17  Frank Warmerdam  <[email protected]>
2058
2059	* tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
2060	files.  Modified TIFFReadDirectory() to not invoke
2061	EstimateStripByteCounts() for case where entry 0 and 1 are unequal
2062	but one of them is zero.
2063	  http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
2064
20652006-06-08  Andrey Kiselev  <[email protected]>
2066
2067	* libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
2068	checking code in the separate function TIFFCheckDirOffset().
2069
2070	* libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
2071
2072	* tools/tiffcmp.c: Fixed floating point comparison logic as per bug
2073
2074	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
2075
2076	* libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
2077
2078	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
2079
2080	* tools/tiff2pdf.c: Fixed buffer overflow condition in
2081	t2p_write_pdf_string() as per bug
2082
2083	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
2084
20852006-06-07  Andrey Kiselev  <[email protected]>
2086
2087	* {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
2088	support for JBIG compression scheme (34661 code) contributed by Lee
2089	Howard. As per bug
2090
2091	http://bugzilla.remotesensing.org/show_bug.cgi?id=896
2092
2093	* configure, configure.ac: OJPEG support enabled by default.
2094
2095	* contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
2096
20972006-06-03  Bob Friesenhahn  <[email protected]>
2098
2099	* libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
2100	TIFFPrintDirectory().  Joris Van Damme authored the fix.
2101
21022006-04-21  Andrey Kiselev  <[email protected]>
2103
2104	* tools/tiff2pdf.c: Unified line ending characters (always use '\n')
2105	as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
2106
2107	* README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
2108	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
2109	Added support for OpenVMS by Alexey Chupahin, [email protected].
2110
21112006-04-20  Andrey Kiselev  <[email protected]>
2112
2113	* tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
2114	Properly set the binary mode for stdin stream as per bug
2115	http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
2116
2117	* man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
2118	raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
2119	tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1,	tiffdump.1, tiffgt.1,
2120	tiffset.1}: Improvements in page formatting as per bug
2121	http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
2122
2123	* html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
2124	typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
2125
21262006-04-18  Frank Warmerdam  <[email protected]>
2127
2128	* nmake.opt: use /EHsc for VS2005 compatibility.  Also define
2129	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
2130
21312006-04-12  Joris Van Damme  <[email protected]>
2132
2133	* libtiff/tif_getimage.c: Added support for planarconfig separate
2134	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
2135
21362006-04-11  Joris Van Damme  <[email protected]>
2137
2138	* libtiff/tif_getimage.c: Revision of all RGB(A) put routines
2139	- Conversion of unassociated alpha to associated alpha now done with
2140	  more performant LUT, and calculation more correct
2141	- Conversion of 16bit data to 8bit data now done with
2142	  more performant LUT, and calculation more correct
2143	- Bugfix of handling of 16bit RGB with unassociated alpha
2144
21452006-04-11  Joris Van Damme  <[email protected]>
2146
2147	* libtiff/tif_getimage.c:
2148	- When there is no alpha, gtTileSeparate and gtStripSeparate allocated
2149	  buffer for alpha strile and filled it, only to never read it back.
2150	  Removed allocation and fill.
2151	- Minor rename of vars in gtTileSeparate and gtStripSeparate
2152	  anticipating planned functionality extension
2153
21542006-04-08  Joris Van Damme  <[email protected]>
2155
2156	* libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
2157	and pickTileSeparateCase to PickSeparateCase as both work on strips as
2158	well
2159
2160	* libtiff/tif_getimage.c: moved img->get selection from
2161	TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
2162	logical hook for planned functionality extension
2163
21642006-04-08  Joris Van Damme  <[email protected]>
2165
2166	* libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
2167	of inappropriate use of jpeg_abort instead of jpeg_destroy
2168
21692006-04-07  Joris Van Damme  <[email protected]>
2170
2171	* libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
2172	gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
2173	on subsampled images - this ought to get sorted when we feel brave
2174	enough to replace TIFFScanlineSize alltogether
2175
2176	* libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
2177
21782006-04-04  Joris Van Damme  <[email protected]>
2179
2180	* libtiff/tiffio.h: added new type tstrile_t
2181
2182	* libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
2183	to new tstrile_t, types of td_stripoffset and td_stripbytecount to
2184	toff_t*
2185
2186	* libtiff/tif_ojpeg.c: totally new implementation
2187
2188	* libtiff/tif_dirread.c: added several hacks to suit new support of
2189	OJPEG
2190
2191	* libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
2192	of OJPEG images in favor of tif_getimage.c native handling of
2193	YCbCr and desubsampling
2194
21952006-03-29  Frank Warmerdam  <[email protected]>
2196
2197	* libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
2198	interpretation causes the "upsampled" flag to be recomputed.  Fixes
2199	peculiar bug where photometric flag had to be set before jpegcolormode
2200	flag.
2201
22022006-03-25  Joris Van Damme  <[email protected]>
2203
2204	* libtiff/tif_jpeg.c: strip size related bugfix in encode raw
2205
2206	* libtiff/tif_strip.c: temporarilly added two new versions of
2207	TIFFScanlineSize
2208	  - TIFFNewScanlineSize: proposed new version, after all related
2209	    issues and side-effects are sorted out
2210	  - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
2211	This needs further sorting out.
2212
22132006-03-25  Joris Van Damme  <[email protected]>
2214
2215	* contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
2216	of last truncated strip data to TIFFWriteEncodedStrip
2217
22182006-03-25  Joris Van Damme  <[email protected]>
2219
2220	* libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
2221
22222006-03-25  Joris Van Damme  <[email protected]>
2223
2224	* libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
2225
2226	* libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
2227
2228	* libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
2229	prepare	the path for new tif_ojpeg.c
2230
22312006-03-23  Andrey Kiselev  <[email protected]>
2232
2233	* libtiff 3.8.2 released.
2234
2235	* tools/Makefile.am: Use runtime paths linker flags when rpath
2236	option enabled.
2237
22382006-03-21  Andrey Kiselev  <[email protected]>
2239
2240	* libtiff/libtiff.def: Added missed exports as per bug
2241	http://bugzilla.remotesensing.org/attachment.cgi?id=337
2242
2243	* contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
2244	tools/Makefile.vc: Makefiles improvements as per bug
2245	http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
2246
2247	* nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
2248	tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
2249	usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
2250
2251	* libtiff/tif_strip.c: Take subsampling in account when calculating
2252	TIFFScanlineSize().
2253
2254	* tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
2255
22562006-03-17  Andrey Kiselev  <[email protected]>
2257
2258	* tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
2259	http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
2260
2261	* tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
2262	http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
2263
22642006-03-16  Andrey Kiselev  <[email protected]>
2265
2266	* libtiff/tiffiop.h: Added decalration for
2267	_TIFFSetDefaultCompressionState().
2268
2269	* libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
2270	tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
2271	codec cleanup methods. As per bug
2272
2273	http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
2274
22752006-03-15  Andrey Kiselev  <[email protected]>
2276
2277	* libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
2278	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
2279
2280	* tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
2281	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
2282
2283	* libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
2284	removed; move here the STRIP_SIZE_DEFAULT macro definition.
2285
2286	* libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
2287	macro definition.
2288
2289	* libtiff/tif_dir.c: Use double type instead of dblparam_t.
2290
22912006-03-14  Andrey Kiselev  <[email protected]>
2292
2293	* libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
2294	in TIFFReadDirectory, because it is always set at the start of
2295	function and we allow TIFFs without that tag set.
2296
22972005-03-13  Andrey Kiselev  <[email protected]>
2298
2299	* libtiff 3.8.1 released.
2300
23012006-03-07  Andrey Kiselev  <[email protected]>
2302
2303	* libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
2304	function as per bug
2305	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2306
2307	* libtiff/tif_dirread.c: More wise check for integer overflow
2308	condition as per bug
2309	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2310
2311	* libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
2312	Properly restore setfield/getfield methods in cleanup functions. As
2313	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2314
23152006-03-03  Andrey Kiselev  <[email protected]>
2316
2317	* libtiff/{tif_predict.c, tif_predict.h}: Added new function
2318	TIFFPredictorCleanup() to restore parent decode/encode/field methods.
2319
2320	* libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
2321	TIFFPredictorCleanup() in codec cleanup methods. As per bug
2322
2323	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2324
2325	* libtiff/tif_dirread.c: Fixed integer overflow condition in
2326	TIFFFetchData() function. As per bug
2327
2328	http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
2329
23302006-03-01  Andrey Kiselev  <[email protected]>
2331
2332	* libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
2333	TIFFSetField() method, not directly. As per bug
2334
2335	http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
2336
2337	* tools/ppm2tiff.c: Added support for PBM files as per bug
2338	http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
2339
23402006-02-27  Andrey Kiselev  <[email protected]>
2341
2342	* libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
2343	to avoid crash as per bug
2344
2345	http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
2346
23472006-02-26  Andrey Kiselev  <[email protected]>
2348
2349	* tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
2350	t2p_sample_rgba_to_rgb() was used in place of each other, that was
2351	resulted in problems with RGBA images with associated alpha.
2352	As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
2353
23542006-02-23  Andrey Kiselev  <[email protected]>
2355
2356	* libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
2357	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
2358
2359	* libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
2360	TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
2361	tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
2362
2363	* tools/tiff2ps.c: Properly scale all the pages when converting
2364	multipage TIFF with /width/height/center options set. As per bug
2365
2366	http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
2367
23682006-02-15  Andrey Kiselev  <[email protected]>
2369
2370	* tools/tiff2pdf.c: Do not create output file until all option checks
2371	will be done. As per bug
2372
2373	http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
2374
2375	* tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
2376	list of input files as per bug:
2377
2378	http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
2379
23802006-02-09  Andrey Kiselev  <[email protected]>
2381
2382	* libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
2383	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
2384
2385	* tools/tiffgt.c: Avoid crashing in case of image unsupported by
2386	TIFFRGBAImage interface.
2387
2388	* libtiff/tif_color.c: Avoid overflow in case of wrong input as per
2389	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
2390
23912006-02-07  Frank Warmerdam  <[email protected]>
2392
2393	* tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
2394	compressed TIFF files, per submission from Dan Cobra.
2395
23962006-02-07  Andrey Kiselev  <[email protected]>
2397
2398	* libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
2399	cast values to avoid warnings. As per bug
2400	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
2401
2402	* libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
2403	appropriate. As per bug
2404	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
2405
2406	* libtiff/tif_aux.c: Fixed type of temporary variable in
2407	_TIFFCheckMalloc() as per bug
2408	http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
2409
24102006-02-06  Andrey Kiselev  <[email protected]>
2411
2412	* libtiff/tif_aux.c: Return static array when fetching default
2413	YCbCrCoefficients (another problem, reported a the
2414	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
2415
24162006-02-03  Andrey Kiselev  <[email protected]>
2417
2418	* libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
2419	YCbCrSubsampling and DotRange tags as per bugs
2420
2421	http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
2422	http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
2423
2424	* libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
2425	_TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
2426
2427	http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
2428
24292006-01-23  Andrey Kiselev  <[email protected]>
2430
2431	* libtool related stuff updated from the 2.1a branch.
2432
24332006-01-11  Frank Warmerdam  <[email protected]>
2434
2435	* tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
2436	tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
2437	properly as per bug:
2438	http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
2439
24402006-01-09  Bob Friesenhahn  <[email protected]>
2441
2442	* configure.ac: Fix with_default_strip_size comparison as reported
2443	by Norihiko Murase.
2444
24452006-01-08  Bob Friesenhahn  <[email protected]>
2446
2447	* test/Makefile.am (LIBTIFF): Due to linking against libtiff
2448	incorrectly, tests were not actually testing the uninstalled
2449	libtiff.  Now they are.
2450
24512006-01-04  Andrey Kiselev  <[email protected]>
2452
2453	* libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
2454	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
2455	should be uint32 value.
2456
24572006-01-02  Bob Friesenhahn  <[email protected]>
2458
2459	* html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
2460	be used if build directory is not the same as source directory.
2461	* man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
2462	TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
2463	and re-sorted tag names in alphabetical order.
2464
24652005-12-29  Andrey Kiselev  <[email protected]>
2466
2467	* libtiff 3.8.0 released.
2468
24692005-12-28  Bob Friesenhahn  <[email protected]>
2470
2471	* tools/bmp2tiff.c (main): Fixed warning regarding returning
2472	inconsistent types from a condition.
2473	* tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
2474	format.
2475	* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
2476
24772005-12-28  Joris Van Damme  <[email protected]>
2478
2479	* html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
2480
24812005-12-27  Andrey Kiselev  <[email protected]>
2482
2483	* libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
2484	windows.h, to reduce the compile time.
2485
24862005-12-26  Bob Friesenhahn  <[email protected]>
2487
2488	* libtiff/tif_jpeg.c: Improve compilation under MinGW.
2489
24902005-12-26  Andrey Kiselev  <[email protected]>
2491
2492	* libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
2493	tiffFieldInfo and exifFieldInfo arrays definitions moved back to
2494	tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
2495	private functions to retrieve FieldInfo arrays.
2496
24972005-12-24  Bob Friesenhahn  <[email protected]>
2498
2499	* html/build.html: Added some additional instructions for when
2500	building using MSVC under Windows.  Also fixed two HTML syntax
2501	errors and used HTML Tidy to tidy up the HTML syntax and
2502	formatting.
2503
25042005-12-24  Andrey Kiselev  <[email protected]>
2505
2506	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
2507	tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
2508	StoNits tags custom.
2509
25102005-12-23  Andrey Kiselev  <[email protected]>
2511
2512	* libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
2513	WhitePoint tag custom.
2514
2515	* libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
2516
25172005-12-23  Joris Van Damme  <[email protected]>
2518
2519	* libtiff/tiffio.h: fixed typo that potentially resulted in
2520	redefininition of USE_WIN32_FILEIO
2521
2522	* libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
2523	calls in core LibTiff.
2524
25252005-12-21  Andrey Kiselev  <[email protected]>
2526
2527	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
2528	Photoshop and ICCProfile tags custom.
2529
25302005-12-21  Joris Van Damme  <[email protected]>
2531
2532	* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
2533	newer code to get context indicator in error handler and still
2534	remain compatible with older code: Done TIFFError calls everywhere
2535	except in tools
2536
25372005-12-20  Andrey Kiselev  <[email protected]>
2538
2539	* tools/tiffcp.c: Added many error reporting messages; fixed integer
2540	overflow as per bug
2541
2542	http://bugzilla.remotesensing.org/show_bug.cgi?id=789
2543
25442005-12-16  Frank Warmerdam  <[email protected]>
2545
2546	* contrib/addtiffo/*: Major upgrade by Joris to support subsampled
2547	YCbCr images in jpeg compressed TIFF files.
2548
25492005-12-14  Andrey Kiselev  <[email protected]>
2550
2551	* tools/tiffcp.c: Return non-zero status when reading fails (again).
2552
25532005-12-13  Andrey Kiselev  <[email protected]>
2554
2555	* tools/tiffcp.c: Return non-zero status when reading fails.
2556
25572005-12-12  Andrey Kiselev  <[email protected]>
2558
2559	* libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
2560
25612005-12-09  Andrey Kiselev  <[email protected]>
2562
2563	* libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
2564	custom.
2565
2566	* tools/tiffinfo.c: Print EXIF directory contents if exist.
2567
2568	* libtiff/tiff.h: Few EXIF tag numbers added.
2569
2570	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
2571	tiffio.h}: Preliminary support to read custom directories. New
2572	functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
2573
25742005-12-07  Andrey Kiselev  <[email protected]>
2575
2576	* libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
2577	More work to implement custom directory read support.
2578
2579	* libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
2580	tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
2581	tags custom.
2582
25832005-12-05  Andrey Kiselev  <[email protected]>
2584
2585	* libtiff/tif_dirread.c: One more workaround for broken
2586	StripByteCounts tag. Handle the case when StripByteCounts array filled
2587	with completely wrong values.
2588
25892005-11-30  Andrey Kiselev  <[email protected]>
2590
2591	* libtiff/tif_dirinfo.c: Release file descriptor in case of failure
2592	in the TIFFOpenW() function as per bug
2593
2594	http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
2595
2596	* libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
2597	functions as per bug
2598
2599	http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
2600
26012005-11-20  Frank Warmerdam  <[email protected]>
2602
2603	* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
2604	for MS MDI format.
2605	http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
2606
2607	* .cvsignore: many files added, and a few update according
2608	to suggestion of Brad HArds on tiff mailing list.
2609
26102005-11-03  Frank Warmerdam  <[email protected]>
2611
2612	* libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
2613	public.
2614
26152005-10-31  Andrey Kiselev  <[email protected]>
2616
2617	* tools/fax2tiff.c: Properly calculate sizes of temporary arrays
2618	as per bug
2619
2620	http://bugzilla.remotesensing.org/show_bug.cgi?id=943
2621
2622	* tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
2623	as per bug
2624
2625	http://bugzilla.remotesensing.org/show_bug.cgi?id=944
2626
2627	* tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
2628	problem as per bug
2629
2630	http://bugzilla.remotesensing.org/show_bug.cgi?id=946
2631
2632	* tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
2633
2634	http://bugzilla.remotesensing.org/show_bug.cgi?id=965
2635
2636	* libtiff/tif_dirinfo.c: Make XResolution, YResolution and
2637	ResolutionUnit tags modifiable during write process. As per bug
2638
2639	http://bugzilla.remotesensing.org/show_bug.cgi?id=977
2640
2641	* tools/tiffsplit.c: Copy fax related fields over splitted parts
2642	as per bug
2643
2644	http://bugzilla.remotesensing.org/show_bug.cgi?id=983
2645
26462005-10-21  Frank Warmerdam  <[email protected]>
2647
2648	* tif_dirread.c: Don't try and split single strips into "0" strips
2649	in ChopUpSingleUncompressedStrip.  This happens in some degenerate
2650	cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
2651
26522005-10-20  Joris Van Damme  <[email protected]>
2653
2654	* tif_fax3.c: changed 'at scanline ...' style warning/errors
2655	with incorrect use of tif_row, to 'at line ... of
2656	strip/tile ...' style
2657
26582005-10-15  Frank Warmerdam  <[email protected]>
2659
2660	* tif_write.c: fixed setting of planarconfig as per bug report
2661	on the mailing list from Joris.
2662
26632005-10-07  Andrey Kiselev  <[email protected]>
2664
2665	* configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
2666	tif_dirread.c}: Make the default strip size configurable via the
2667	--with-default-strip-size and STRIP_SIZE_DEFAULT options.
2668
26692005-09-30  Bob Friesenhahn  <[email protected]>
2670
2671	* html/support.html: Fixed link to documentation on Greg Ward's
2672	LogLuv TIFF format.
2673
26742005-09-28  Andrey Kiselev  <[email protected]>
2675
2676	* tools/tiffdump.c: Fixed crash when reading malformed tags.
2677
26782005-09-20  Andrey Kiselev  <[email protected]>
2679
2680	* tools/tiff2pdf.c: Added missed 'break' statement as per bug
2681	http://bugzilla.remotesensing.org/show_bug.cgi?id=932
2682
26832005-09-12  Andrey Kiselev  <[email protected]>
2684
2685	* libtiff 3.7.4 released.
2686
2687	* {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
2688	from Patrick Welche (all scripts moved in the 'config' and 'm4'
2689	directories).
2690
26912005-09-12  Frank Warmerdam  <[email protected]>
2692
2693	* libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
2694
26952005-09-05  Frank Warmerdam  <[email protected]>
2696
2697	* libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
2698	also set it to NULL to avoid double free when re-setting custom
2699	string fields as per:
2700
2701	http://bugzilla.remotesensing.org/show_bug.cgi?id=922
2702
27032005-08-12  Frank Warmerdam  <[email protected]>
2704
2705	* libtiff/tif_print.c: avoid signed/unsigned warning.
2706
2707	* libtiff/tif_dirread.c: removed unused variable.
2708
27092005-07-30  Frank Warmerdam  <[email protected]>
2710
2711	* libtiff/tif_dir.c: Fixed up support for swapping "double complex"
2712	values (128 bits as 2 64 bits doubles).  GDAL gcore tests now
2713	pass on bigendian (macosx) system.
2714
27152005-07-28  Andrey Kiselev  <[email protected]>
2716
2717	* libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
2718	CheckMalloc() function to _TIFFCheckMalloc() and make it available
2719	globally as an internal helper routine.
2720
27212005-07-27  Andrey Kiselev  <[email protected]>
2722
2723	* libtiff/tif_dir.c: More improvements in the "pass by value" part of
2724	the custom tags handling code.
2725
27262005-07-26  Andrey Kiselev  <[email protected]>
2727
2728	* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
2729	SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
2730	function, use TIFFFetchNormalTag() instead as per bug
2731
2732	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
2733
2734	Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
2735	instead.
2736
2737	* libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
2738
2739	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
2740
27412005-07-25  Andrey Kiselev  <[email protected]>
2742
2743	* libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
2744
2745	* tools/tiffdump.c: Added support for TIFF_IFD datatype.
2746
27472005-07-21  Andrey Kiselev  <[email protected]>
2748
2749	* libtiff/tif_write.c: Do not check the PlanarConfiguration field in
2750	the TIFFWriteCheck() function in case of single band images (as per
2751	TIFF spec).
2752
27532005-07-12  Andrey Kiselev  <[email protected]>
2754
2755	* SConstruct, libtiff/SConstruct: Added the first very preliminary
2756	support for SCons software building tool (http://www.scons.org/).
2757	This is experimental infrastructure and it will exist along with the
2758	autotools mechanics.
2759
27602005-07-07  Andrey Kiselev  <[email protected]>
2761
2762	* port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
2763	the NetBSD source tree (the old	4-clause BSD license changed to
2764	the new 3-clause one).
2765
2766	* configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
2767	replacement module.
2768
2769	* port/dummy.c: Make the dummy function static.
2770
27712005-07-06  Andrey Kiselev  <[email protected]>
2772
2773	* tools/tiffcp.c: Fixed WhitePoint tag copying.
2774
2775	* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
2776	Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
2777	ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
2778
27792005-07-04  Andrey Kiselev  <[email protected]>
2780
2781	* libtiff 3.7.3 released.
2782
2783	* configure, configure.ac: Do not use empty -R option when linking
2784	with --enable-rpath.
2785
27862005-07-01  Andrey Kiselev  <[email protected]>
2787
2788	* libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
2789	reading the first IFD when needed. As per bug
2790
2791	http://bugzilla.remotesensing.org/show_bug.cgi?id=875
2792
2793	* libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
2794	effects.
2795
27962005-06-23  Andrey Kiselev  <[email protected]>
2797
2798	* tools/tiff2pdf.c: Print two characters per loop in the
2799	t2p_write_pdf_trailer(). As per bug
2800
2801	http://bugzilla.remotesensing.org/show_bug.cgi?id=594
2802
2803	* tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
2804	per bug
2805
2806	http://bugzilla.remotesensing.org/show_bug.cgi?id=844
2807
2808	* acinclude.m4: Updated to latest OpenGL test macros versions.
2809
2810	* libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
2811	platform. As per bug
2812
2813	http://bugzilla.remotesensing.org/show_bug.cgi?id=855
2814
28152005-06-14  Andrey Kiselev  <[email protected]>
2816
2817	* libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
2818	and YClipPathUnits tags.
2819
28202005-06-07  Andrey Kiselev  <[email protected]>
2821
2822	* contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
2823	use pixel sized shift in contigous case.
2824
28252005-06-06  Andrey Kiselev  <[email protected]>
2826
2827	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
2828	Make overviews working for contiguos images.
2829
28302005-06-03  Andrey Kiselev  <[email protected]>
2831
2832	* libtiff/tif_open.c: Replace runtime endianess check with the compile
2833	time one.
2834
2835	* libtiff/tif_predict.c: Floating point predictor now works on
2836	big-endian hosts.
2837
28382005-06-01  Andrey Kiselev  <[email protected]>
2839
2840	* libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
2841	ASCII values.
2842
2843	* libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
2844	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
2845	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
2846	TargetPrinter tags custom.
2847
2848	* libtiff/tif_jpeg.c: Cleanup the codec state depending on
2849	TIFF_CODERSETUP flag (to fix memry leaks).
2850
2851	* libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
2852	allocating.
2853
28542005-05-26  Andrey Kiselev  <[email protected]>
2855
2856	* configure.ac, libtiff/Makefile.am: Added workaround for
2857	OpenBSD/MirOS soname problem as per bug
2858
2859	http://bugzilla.remotesensing.org/show_bug.cgi?id=838
2860
2861	* libtiff/tif_dirwrite.c: Use tdir_count when calling
2862	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
2863	per bug
2864
2865	http://bugzilla.remotesensing.org/show_bug.cgi?id=845
2866
28672005-05-25  Andrey Kiselev  <[email protected]>
2868
2869	* tools/ppm2tiff.c: Fixed format string when read PPM file header with
2870	the fscanf() function. As per bug
2871
2872	http://bugzilla.remotesensing.org/show_bug.cgi?id=861
2873
2874	* libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
2875	uint16 array when fetching the BYTE and SBYTE filds, so we should
2876	consider result as pointer to uint16 array and not as array of chars.
2877	As per bug
2878
2879	http://bugzilla.remotesensing.org/show_bug.cgi?id=831
2880
2881	* libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
2882
2883	http://bugzilla.remotesensing.org/show_bug.cgi?id=830
2884
2885	* libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
2886	mode in CreateFile() call as per bug
2887
2888	http://bugzilla.remotesensing.org/show_bug.cgi?id=829
2889
2890	* libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
2891	libtiffxx libraries as per bug
2892
2893	http://bugzilla.remotesensing.org/show_bug.cgi?id=826
2894
2895	* contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
2896	GDAL.
2897
28982005-05-23  Frank Warmerdam  <[email protected]>
2899
2900	* libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
2901	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
2902	in directory.
2903
29042005-05-22  Frank Warmerdam  <[email protected]>
2905
2906	* libtiff/tif_dirread.c: Changed the code that computes
2907	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
2908	zero. This is a common case with GDAL indicating a "null" tile/strip.
2909
29102005-05-17  Andrey Kiselev  <[email protected]>
2911
2912	* tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
2913
29142005-05-06  Frank Warmerdam  <[email protected]>
2915
2916	* libtiff/tif_dirread.c: Applied similar change to
2917	TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
2918
2919	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2920
2921	* libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
2922
29232005-05-06  Andrey Kiselev  <[email protected]>
2924	* tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
2925	added new option '-b' to use interpolation in output PDF files (Bruno
2926	Ledoux).
2927
29282005-05-05  Frank Warmerdam  <[email protected]>
2929
2930	* libtiff/tif_dirread.c: Ensure that broken files with too many
2931	values in PerSampleShorts work ok instead of crashing.
2932
2933	http://bugzilla.remotesensing.org/show_bug.cgi?id=843
2934
29352005-04-27  Andrey Kiselev  <[email protected]>
2936
2937	* tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
2938	input file.
2939
29402005-04-15  Andrey Kiselev  <[email protected]>
2941
2942	* libtiff/tif_predict.c: Added ability to encode floating point
2943	predictor, as per TIFF Technical Note 3.
2944
29452005-04-14  Andrey Kiselev  <[email protected]>
2946
2947	* libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
2948	floating point predictor, as per TIFF Technical Note 3.
2949
29502005-04-13  Andrey Kiselev  <[email protected]>
2951
2952	* libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
2953	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
2954	swap 24-bit floating point values.
2955
2956	* libtiff/tiff.h: Added predictor constants.
2957
29582005-04-08  Andrey Kiselev  <[email protected]>
2959
2960	* libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
2961	values in _TIFFVSetField() function. Inspired by the bug
2962
2963	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2964
2965	* man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
2966	as per bug
2967
2968	http://bugzilla.remotesensing.org/show_bug.cgi?id=816
2969
29702005-03-30  Andrey Kiselev  <[email protected]>
2971
2972	* libtiff/tif_open.c: Do not read header in case the output file
2973	should be truncated (Ron).
2974
2975	* libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
2976	of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
2977
2978	* libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
2979
29802005-03-22  Andrey Kiselev  <[email protected]>
2981
2982	* configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
2983	rpath option.
2984
29852005-03-21  Andrey Kiselev  <[email protected]>
2986
2987	* libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
2988	tags.
2989
29902005-03-18  Andrey Kiselev  <[email protected]>
2991
2992	* libtiff/dirinfo.c: Added DNG tags.
2993
2994	* libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
2995	handling code.
2996
2997	* libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
2998	added DNG 1.1.0.0 tags.
2999
3000	* tools/tif2pdf.c: Fixed problem with alpha channel handling as per
3001	bug
3002
3003	http://bugzilla.remotesensing.org/show_bug.cgi?id=794
3004
3005	* man/TIFFGetField.3tiff: Add a note about autoregistered tags.
3006
30072005-03-17  Andrey Kiselev  <[email protected]>
3008
3009	* nmake.opt: Build with Win32 CRT library by default.
3010
3011	* tools/tiff2ps.c: Fixed typo in page size handling code.
3012
3013	* libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
3014	by value.
3015
3016	* libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
3017
30182005-03-15  Andrey Kiselev  <[email protected]>
3019
3020	* libtiff 3.7.2 released.
3021
30222005-03-09  Andrey Kiselev  <[email protected]>
3023
3024	* tools/tiffcmp.c: Added ability to compare the 32-bit integer and
3025	floating point data; complain on unsupported bit depths.
3026
30272005-03-05  Andrey Kiselev  <[email protected]>
3028
3029	* tif_stream.cxx: Use ios namespace instead of ios_base to support
3030	GCC 2.95.
3031
3032	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
3033	Lee Howard for HylaFax DCS tag
3034	(see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
3035
30362005-03-04  Andrey Kiselev  <[email protected]>
3037
3038	* configure, configure.ac: Use -rpath option instead of -R as per bug
3039
3040	http://bugzilla.remotesensing.org/show_bug.cgi?id=732
3041
3042	* libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
3043	Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
3044	software. As per bug
3045
3046	http://bugzilla.remotesensing.org/show_bug.cgi?id=771
3047
3048	* nmake.opt, html/build.html: Add more comments, change the config
3049	file organization a bit as per bug
3050
3051	http://bugzilla.remotesensing.org/show_bug.cgi?id=764
3052
3053	* tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
3054	as per bug
3055
3056	http://bugzilla.remotesensing.org/show_bug.cgi?id=785
3057
30582005-03-03  Andrey Kiselev  <[email protected]>
3059
3060	* libtiff/tif_dirread.c: More logic to guess missed strip size as per
3061	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
3062
3063	* tools/fax2ps.c: Replace insecure mktemp() function with the
3064	tmpfile() as per bug
3065
3066	http://bugzilla.remotesensing.org/show_bug.cgi?id=786
3067
30682005-02-04  Andrey Kiselev  <[email protected]>
3069
3070	* libtiff/tiff.h: Changed the int8 definition to be always signed char
3071	as per bug
3072
3073	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
3074
3075	* libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
3076	block as per bug
3077
3078	http://bugzilla.remotesensing.org/show_bug.cgi?id=763
3079
30802005-02-03  Bob Friesenhahn  <[email protected]>
3081
3082	* tools/tiffgt.c: Fix problem on big-endian CPUs so that images
3083	display more correctly.  Images display brighter than they should
3084	on a Sun workstation.
3085
30862005-02-03  Andrey Kiselev  <[email protected]>
3087
3088	* libtiff/tif_dirread.c: Estimate strip size in case of wrong or
3089	suspicious values in the tags. As per bugs
3090
3091	http://bugzilla.remotesensing.org/show_bug.cgi?id=705
3092
3093	and
3094
3095	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
3096
3097	* tools/tiff2ps.c: Fixed problem with page sizes as per bug
3098
3099	http://bugzilla.remotesensing.org/show_bug.cgi?id=742
3100
31012005-01-31  Bob Friesenhahn  <[email protected]>
3102
3103	* libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
3104	(TIFFTAG_TILELENGTH): Corrected description.
3105
31062005-01-30  Andrey Kiselev  <[email protected]>
3107
3108	* configure.ac: Fixes for --with-docdir option as per bug
3109
3110	http://bugzilla.remotesensing.org/show_bug.cgi?id=759
3111
3112	* libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
3113	bug
3114
3115	http://bugzilla.remotesensing.org/show_bug.cgi?id=756
3116
3117	* libtiff/tif_stream.cxx: Fixes for C++ stream interface from
3118	Michael Rinne and Edward Lam.
3119
31202005-01-15  Andrey Kiselev  <[email protected]>
3121
3122	* configure.ac: Make the documentation directory location configurable
3123	via the --with-docdir option (as suggested by Jeremy C. Reed).
3124
3125	* libtiff/tif_color.c: Use double as the second argument of pow()
3126	function in TIFFCIELabToRGBInit(). As per bug
3127
3128	http://bugzilla.remotesensing.org/show_bug.cgi?id=741
3129
3130	* libtiff/tif_pixarlog.c: Avoid warnings when converting float to
3131	integer as per bug
3132
3133	http://bugzilla.remotesensing.org/show_bug.cgi?id=740
3134
3135	* libtiff/tif_getimage.c: Always fill the error message buffer in
3136	TIFFRGBAImageBegin() as per bug
3137
3138	http://bugzilla.remotesensing.org/show_bug.cgi?id=739
3139
31402005-01-12  Andrey Kiselev  <[email protected]>
3141
3142	* libtiff/tif_jpeg.c: Added ability to read/write the fax specific
3143	TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
3144	tags as per bug
3145
3146	http://bugzilla.remotesensing.org/show_bug.cgi?id=736
3147
3148	* libtiff/tif_win32.c: Fixed message formatting in functions
3149	Win32WarningHandler() and Win32ErrorHandler() as per bug
3150
3151	http://bugzilla.remotesensing.org/show_bug.cgi?id=735
3152
3153	* tools/tiff2ps.c: Interpret the -w and -h options independently. As
3154	per bug
3155
3156	http://bugzilla.remotesensing.org/show_bug.cgi?id=689
3157
31582005-01-11  Andrey Kiselev  <[email protected]>
3159
3160	* libtiff/tiffio.h: Move the color conversion routines in the 'extern
3161	"C"' section as per bug
3162
3163	http://bugzilla.remotesensing.org/show_bug.cgi?id=727
3164
3165	* libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
3166	compiler to avoid double definition of BSD types as per bug
3167
3168	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3169
3170	* libtiff/Makefile.am: Place the C++ stream API in the separate
3171	library called libtiffxx to avoid unneeded dependencies. Probably
3172	there will be more C++ API in the future. As per bugs
3173
3174	http://bugzilla.remotesensing.org/show_bug.cgi?id=733
3175
3176	and
3177
3178	http://bugzilla.remotesensing.org/show_bug.cgi?id=730
3179
31802005-01-05  Andrey Kiselev  <[email protected]>
3181
3182	* tools/tiffdump.c: Fixed problem when read broken TIFFs with the
3183	wrong tag counts (Dmitry V. Levin, Martin Pitt).
3184
3185	* configure.ac: Replace --disable-c++ with the --disable-cxx option as
3186	per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
3187
31882004-12-25  Andrey Kiselev  <[email protected]>
3189
3190	* libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
3191	RGB-images as per bug
3192
3193	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
3194
3195
3196	* tools/tiffset.c: Convert character option to integer value as per
3197	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
3198
31992004-12-20  Andrey Kiselev  <[email protected]>
3200
3201	* libtiff 3.7.1 released.
3202
3203	* html/tiffset.1.html: Add missed manual page as per bug
3204
3205	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
3206
3207	* libtiff/tiff.h: Revert back libtiff data type definitions as per
3208	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
3209
32102004-12-19  Andrey Kiselev  <[email protected]>
3211
3212	* libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
3213	checking for tag count in TIFFReadDirectory() function. As per bug
3214
3215	http://bugzilla.remotesensing.org/show_bug.cgi?id=713
3216
3217	* libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
3218	CheckMallock() function.
3219
3220	* libtiff/tif_getimage.c: Support for multiple-alpha-channelled
3221	RGB-images as per bug
3222
3223	http://bugzilla.remotesensing.org/show_bug.cgi?id=718
3224
32252004-12-15  Frank Warmerdam  <[email protected]>
3226
3227	* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
3228	SunPro compiler.
3229
32302004-12-11  Bob Friesenhahn  <[email protected]>
3231
3232	* autogen.sh: aclocal and autoheader should be executed after
3233	libtoolize.  Also add '-I .' to aclocal invocation to check
3234	current directory for macros.
3235
32362004-12-10  Andrey Kiselev  <[email protected]>
3237
3238	* libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
3239	as per bugs
3240
3241	http://bugzilla.remotesensing.org/show_bug.cgi?id=703
3242
3243	and
3244
3245	http://bugzilla.remotesensing.org/show_bug.cgi?id=704
3246
32472004-12-04  Andrey Kiselev  <[email protected]>
3248
3249	* nmake.opt: Link with the user32.lib in windowed mode. As per bug
3250
3251	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
3252
3253	* libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
3254	mode as per bug
3255
3256	http://bugzilla.remotesensing.org/show_bug.cgi?id=697
3257
3258	* libtiff/tif_config.in.vc: Removed unneded definitions for
3259	read/open/close/lseek functions to fix the
3260
3261	http://bugzilla.remotesensing.org/show_bug.cgi?id=680
3262
32632004-12-03  Andrey Kiselev  <[email protected]>
3264
3265	* libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
3266	call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
3267	must be removed in the future, as it was never used properly. As per
3268	bug
3269
3270	http://bugzilla.remotesensing.org/show_bug.cgi?id=692
3271
32722004-11-30  Bob Friesenhahn  <[email protected]>
3273
3274	* libtiff/tif_jpeg.c: Added a work-around in order to allow
3275	compilation with the heavily modified version of libjpeg delivered
3276	with Cygwin.
3277
32782004-11-29  Andrey Kiselev  <[email protected]>
3279
3280	* libtiff/tif_dir.c: Properly handle tags, which have the uint32
3281	counts. As per bug
3282
3283	http://bugzilla.remotesensing.org/show_bug.cgi?id=693
3284
3285	* tools/fax2ps.c: Be able to extract the first page (#0). As per bug
3286
3287	http://bugzilla.remotesensing.org/show_bug.cgi?id=690
3288
32892004-11-28  Andrey Kiselev  <[email protected]>
3290
3291	* libtiff/tif_unix.c: Make UNIX module compilable (and usable)
3292	on Windows.
3293
3294	* nmake.opt: Add missed DLLNAME variable.
3295
32962004-11-26  Frank Warmerdam  <[email protected]>
3297
3298	* libtiff/makefile.vc: make it easier to rename the libtiff DLL.
3299
33002004-11-24  Andrey Kiselev  <[email protected]>
3301
3302	* man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
3303	per bug
3304
3305	http://bugzilla.remotesensing.org/show_bug.cgi?id=545
3306
3307	* man/tiffset.1: Added manual page for tiffset tool written by Jay
3308	Berkenbilt. As per bug
3309
3310	http://bugzilla.remotesensing.org/show_bug.cgi?id=678
3311
33122004-11-23  Frank Warmerdam  <[email protected]>
3313
3314	* libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
3315
33162004-11-21  Frank Warmerdam  <[email protected]>
3317
3318	* html/document.html: Updated Adobe web links as per email from Joris.
3319
33202004-11-21  Andrey Kiselev  <[email protected]>
3321
3322	* libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
3323	file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
3324	use C++ streams should #include <tiffio.hxx>.
3325
33262004-11-13  Andrey Kiselev  <[email protected]>
3327
3328	* libtiff/tiff.h: Added Adobe DNG tags.
3329
3330	* libtiff/tif_win32.c: Typo fixed.
3331
3332	* libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
3333	be compliant with the latest standard. Appropriate additions in
3334	makefiles now completed.
3335
33362004-11-11  Andrey Kiselev  <[email protected]>
3337
3338	* tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
3339	different tag types. As per bug
3340
3341	http://bugzilla.remotesensing.org/show_bug.cgi?id=600
3342
33432004-11-10  Andrey Kiselev  <[email protected]>
3344
3345	* libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
3346	YCbCr image which lacks that tag (noted by Hans Petter Selasky).
3347
33482004-11-09  Andrey Kiselev  <[email protected]>
3349
3350	* libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
3351
33522004-11-07  Andrey Kiselev  <[email protected]>
3353
3354	* libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
3355	contributed by Edward Lam (see
3356	http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
3357	Though no changes in any makefiles yet.
3358
33592004-11-05  Frank Warmerdam  <[email protected]>
3360
3361	* libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
3362	is bad. This is the callers responsibility.
3363	http://bugzilla.remotesensing.org/show_bug.cgi?id=651
3364
33652004-11-05  Andrey Kiselev  <[email protected]>
3366
3367	* libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
3368	function to work with the double byte strings (used to represent
3369	filenames in some locales). As per bug
3370
3371	http://bugzilla.remotesensing.org/show_bug.cgi?id=625
3372
3373	* libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
3374	Compression tags of type LONG from broken TIFFS as per bug
3375
3376	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
3377
3378	* libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
3379	the writecount should have uint32 type. As per bug
3380
3381	http://bugzilla.remotesensing.org/show_bug.cgi?id=662
3382
3383	* libtiff/tif_write.c: Fixed wrong if() statement in
3384	TIFFAppendToStrip() function as per bug
3385
3386	http://bugzilla.remotesensing.org/show_bug.cgi?id=660
3387
33882004-11-04  Andrey Kiselev  <[email protected]>
3389
3390	* libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
3391	field. The caller should supply a count when setting this field. As
3392	per bug
3393
3394	 http://bugzilla.remotesensing.org/show_bug.cgi?id=648
3395
3396	* libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
3397	uint32 count. Use this type everywhere.
3398
33992004-11-03  Frank Warmerdam  <[email protected]>
3400
3401	* libtiff/tif_next.c: avoid use of u_long and u_char types.  Bug 653.
3402
34032004-11-02  Frank Warmerdam  <[email protected]>
3404
3405	* tools/tiff2rgba.c: removed extra newlines in usage message.
3406
34072004-10-30  Andrey Kiselev  <[email protected]>
3408
3409	* libtiff/tif_dirwrite.c: Improvements in tag writing code.
3410
3411	* tools/tiff2ps.c: Fixed wrong variable data type when read Position
3412	tags (Tristan Hill).
3413
34142004-10-30  Frank Warmerdam  <[email protected]>
3415
3416	* libtiff/tiffiop.h: added fallback definition of assert() if we
3417	don't have assert.h.
3418
34192004-10-29  Andrey Kiselev  <[email protected]>
3420
3421	* libtiff/tif_fax3.c: Fixed case with the wrong decode routines
3422	choosing when the incorrect Group4Options tag set. As per bug
3423
3424	http://bugzilla.remotesensing.org/show_bug.cgi?id=323
3425
3426	* libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
3427	wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
3428	TIFFWriteNormalTag().
3429
34302004-10-28  Andrey Kiselev  <[email protected]>
3431
3432	* tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
3433	tags (Peter Fales).
3434
3435	* tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
3436
34372004-10-28  Frank Warmerdam  <[email protected]>
3438
3439	* tools/tiff2pdf.c: added casts to avoid warnings.
3440
3441	* libtiff/libtiff.def: Added several more entry points required
3442	to link fax2tiff.c against the DLL on windows.
3443
34442004-10-27  Andrey Kiselev  <[email protected]>
3445
3446	* configure, configure.ac: Added --enable-rpath option to embed linker
3447	paths into library binary.
3448
34492004-10-26  Andrey Kiselev  <[email protected]>
3450
3451	* tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
3452
3453	* libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
3454	(Vladimir Nadvornik, Dmitry V. Levin).
3455
34562004-10-16  Andrey Kiselev  <[email protected]>
3457
3458	* libtiff 3.7.0 released.
3459
34602004-10-15  Bob Friesenhahn  <[email protected]>
3461
3462	* libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
3463	in this file so its inclusion is removed.  Including stdio.h
3464	sometimes incurs an INT32 typedef conflict between MinGW's
3465	basetsd.h and libjpeg's jmorecfg.h.
3466
34672004-10-15  Andrey Kiselev  <[email protected]>
3468
3469	* man/bmp2tiff.1: Added manual page for bmp2tiff utility.
3470
34712004-10-13  Bob Friesenhahn  <[email protected]>
3472
3473	* tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
3474	conflict noticed under MinGW.
3475	* ltmain.sh: Fix for MinGW compilation.
3476
34772004-10-13  Frank Warmerdam  <[email protected]>
3478
3479	* man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
3480	http://bugzilla.remotesensing.org/show_bug.cgi?id=635
3481
34822004-10-12  Andrey Kiselev  <[email protected]>
3483
3484	* libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
3485	tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
3486	properly (Dmitry V. Levin, Marcus Meissner).
3487
34882004-10-11  Andrey Kiselev  <[email protected]>
3489
3490	* libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
3491	to TIFF_IFD.
3492
34932004-10-10  Andrey Kiselev  <[email protected]>
3494
3495	* tools/bmp2tif.c: Check the space allocation results.
3496
34972004-10-09  Andrey Kiselev  <[email protected]>
3498
3499	* libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
3500	of the TIFFDirectory structure with the 0 instead of -1 to avoid
3501	confusing integer overflows in TIFFTileRowSize() for striped images.
3502
3503	* tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
3504	by Ross A. Finlayson.
3505
3506	* libtiff/tif_dir.c: Fixed custom tags handling as per bug
3507
3508	http://bugzilla.remotesensing.org/show_bug.cgi?id=629
3509
35102004-10-08  Frank Warmerdam  <[email protected]>
3511
3512	* libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
3513	of tif_fieldinfo.
3514
3515	http://bugzilla.remotesensing.org/show_bug.cgi?id=630
3516
35172004-10-04  Bob Friesenhahn  <[email protected]>
3518
3519	* contrib/iptcutil/README: Added the missing README which goes
3520	along with iptcutil.
3521
35222004-10-03  Andrey Kiselev  <[email protected]>
3523
3524	* libtiff/tif_compress.c: Improved error reporting in
3525	TIFFGetConfiguredCODECs() (Dmitry V. Levin).
3526
35272004-10-02  Andrey Kiselev  <[email protected]>
3528
3529	* libtiff 3.7.0beta2 released.
3530
3531	* libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
3532	tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
3533	tif_pixarlog.c, tif_write.c}: Added checks for failed memory
3534	allocations and	integer overflows (Dmitry V. Levin).
3535
3536	* libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
3537
35382004-10-01  Frank Warmerdam  <[email protected]>
3539
3540	* libtiff/tif_open.c: added a more informative message if a BigTIFF
3541	file is opened.
3542
35432004-09-30  Frank Warmerdam  <[email protected]>
3544
3545	* libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
3546	TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
3547	in the Adobe XMP Specification.
3548
35492004-09-29  Andrey Kiselev  <[email protected]>
3550
3551	* libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
3552	memset().
3553
3554	* libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
3555	from Dmitry V. Levin to fix possible integer overflow problems.
3556
35572004-09-28  Andrey Kiselev  <[email protected]>
3558
3559	* libtiff/tif_getimage.c: Check for allocated buffers before clearing
3560	(Dmitry V. Levin).
3561
35622004-09-26  Andrey Kiselev  <[email protected]>
3563
3564	* libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
3565	Optimize checking for the strip bounds.
3566
3567	* libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
3568	TIFFRasterScanlineSize() functions report zero in the case of integer
3569	overflow now. Properly handle this case in TIFFReadDirectory()
3570	(patches from Dmitry V. Levin).
3571
35722004-09-25  Andrey Kiselev  <[email protected]>
3573
3574	* libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
3575	macro where appropriate.
3576
3577	* tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
3578	noted by Gennady Khokhorin.
3579
3580	* libtiff/tif_dirread.c: Always check the return values, returned
3581	by the _TIFFmalloc() (Dmitry V. Levin).
3582
3583	* libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
3584	functions (Dmitry V. Levin).
3585
3586	* libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
3587	Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
3588	TIFFGrowStrips() (found by Dmitry V. Levin).
3589
35902004-09-24  Andrey Kiselev  <[email protected]>
3591
3592	* libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
3593	to get the list of configured codecs.
3594
3595	* libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
3596	Dmitry V. Levin.
3597
35982004-09-23  Andrey Kiselev  <[email protected]>
3599
3600	* libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
3601	possible integer overflow in CheckMalloc() function.
3602
36032004-09-22  Andrey Kiselev  <[email protected]>
3604
3605	* libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
3606	of plain TIFFhowmany() where appropriate.
3607
36082004-09-21  Andrey Kiselev  <[email protected]>
3609
3610	* libtiff/tif_getimage.c: Initialize arrays after space allocation.
3611
36122004-09-19  Andrey Kiselev  <[email protected]>
3613
3614	* libtiff 3.7.0beta released.
3615
3616	* libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
3617	overruns fixed, as noted by Chris Evans.
3618
36192004-09-14  Bob Friesenhahn  <[email protected]>
3620
3621	* commit: Added a script to make it more convenient to commit
3622	updates.  The CVS commit message is extracted from this ChangeLog
3623	file.
3624
36252004-09-14  Andrey Kiselev  <[email protected]>
3626
3627	* configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
3628	tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
3629	tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
3630	tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
3631	tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
3632	tif_config.h.in, tiffiop.h}:
3633	Get rid of BSD data types (u_char, u_short, u_int, u_long).
3634
36352004-09-13  Bob Friesenhahn  <[email protected]>
3636
3637	* libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
3638	specification. Reference libtiff bug tracking system to submit
3639	private tag additions.
3640
36412004-09-12  Bob Friesenhahn  <[email protected]>
3642
3643	* tools/tiffgt.c: Include "tif_config.h".
3644
3645	* configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
3646	tiffgt.  This results in the 'compile' script being added to the
3647	project.
3648
3649	* tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
3650	required to find OpenGL headers necessary to build tiffgt.  Also
3651	ensure that the libtiff that we built is used rather than some other
3652	libtiff installed on the system.
3653
36542004-09-12  Andrey Kiselev  <[email protected]>
3655
3656	* configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
3657	libraries.
3658
36592004-09-11  Bob Friesenhahn  <[email protected]>
3660
3661	* configure.ac: Pass library configuration defines via
3662	tif_config.h rather than extending CPPFLAGS. Configure a
3663	libtiff/tiffconf.h in order to satisfy application requirements
3664	(not used by library build). Do not define _POSIX_C_SOURCE=2 since
3665	this causes failure to build on systems which properly respect
3666	this request.
3667
3668	* libtiff/tiffconf.h.in: New file to act as the template for the
3669	configured tiffconf.h
3670
3671	* libtiff/files.lst (HDRS): Install the configured tiffconf.h.
3672
36732004-09-10  Frank Warmerdam  <[email protected]>
3674
3675	* html/internals.html: Split off a discussion of adding new tags
3676	into addingtags.html.
3677
36782004-09-10  Andrey Kiselev  <[email protected]>
3679
3680	* test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
3681
3682	* tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
3683
3684	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3685
3686	* libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
3687
3688	* libtiff/tif_dirread.c: Don't reject to read tags of the
3689	SamplesPerPixel size when the tag count is greater than number of
3690	samples as per bug
3691
3692	http://bugzilla.remotesensing.org/show_bug.cgi?id=576
3693
3694	* libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
3695	defining int8/uint8/... etc. types. As per bug
3696
3697	http://bugzilla.remotesensing.org/show_bug.cgi?id=607
3698
36992004-09-09  Frank Warmerdam  <[email protected]>
3700
3701	* tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
3702	to avoid compile warnings about getopt() and a few other things.
3703
37042004-09-02  Andrey Kiselev  <[email protected]>
3705
3706	* libtiff/tif_dirread.c: Use memcpy() function instead of pointer
3707	assigning magic in TIFFFetchFloat().
3708
37092004-09-01  Andrey Kiselev  <[email protected]>
3710
3711	* libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
3712	to avoid requirement for tiffiop.h inclusion in some applications. See
3713	here
3714
3715	http://www.asmail.be/msg0054799560.html
3716
3717	for details.
3718
3719	* tools/fax2tiff.c: Use the new functions in the code.
3720
37212004-08-25  Andrey Kiselev  <[email protected]>
3722
3723	* tools/tiff2pdf.c: Initialize arrays properly.
3724
3725	* tools/tiff2ps.c: Avoid zero division in setupPageState() function;
3726	properly initialize array in PSDataBW().
3727
37282004-08-24  Andrey Kiselev  <[email protected]>
3729
3730	* tools/tiff2pdf.c: More fixes for bug
3731
3732	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3733
3734	from Ross Finlayson.
3735
37362004-08-23  Andrey Kiselev  <[email protected]>
3737
3738	* tools/tiff2ps.c: Fixed problem with uninitialized values.
3739
3740	* libtiff/tif_dir.c: Initialize tif_foundfield data member in the
3741	TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
3742
3743	* tools/tiff2pdf.c: Fixed a bunch of problems as per bug
3744
3745	http://bugzilla.remotesensing.org/show_bug.cgi?id=590
3746
37472004-08-20  Andrey Kiselev  <[email protected]>
3748
3749	* tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
3750	that the input file has compression, photometric interpretation,
3751	etcetra, tags or if not than a more descriptive error is returned.
3752
3753	* libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
3754	code, responsible for tag data type checking.
3755
37562004-08-19  Andrey Kiselev  <[email protected]>
3757
3758	* libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
3759	variable as per bug
3760
3761	http://bugzilla.remotesensing.org/show_bug.cgi?id=593
3762
37632004-08-16  Andrey Kiselev  <[email protected]>
3764
3765	* tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
3766	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
3767
37682004-08-01  Andrey Kiselev  <[email protected]>
3769
3770	* libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
3771	config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
3772
37732004-07-24  Andrey Kiselev  <[email protected]>
3774
3775	* libtiff/tif_lzw.c: LZW compression code is merged back from the
3776	separate package. All libtiff tools are updated to not advertise an
3777	abcence of LZW support.
3778
37792004-07-12  Andrey Kiselev  <[email protected]>
3780
3781	* libtiff/tiffio.h: Revert thandle_t back to void* type.
3782
37832004-07-11  Andrey Kiselev  <[email protected]>
3784
3785	* libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
3786	messages, as suggested by Bernd Herd.
3787
37882004-07-03  Andrey Kiselev  <[email protected]>
3789
3790	* libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
3791	when setting custom tags by value. Reported by Eric Fieleke.
3792
37932004-06-14  Andrey Kiselev  <[email protected]>
3794
3795	* tools/bmp2tiff.c: Add missed RawsPerStrip setting.
3796
37972004-06-08  Andrey Kiselev  <[email protected]>
3798
3799	* tools/bmp2tiff.c: Added new utility to convert Windows BMP files
3800	into TIFFs.
3801
38022004-06-07  Andrey Kiselev  <[email protected]>
3803
3804	* libtiff 3.7.0alpha released.
3805
38062004-06-06  Andrey Kiselev  <[email protected]>
3807
3808	* libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
3809	of ugly 64-bit hacks, replace them with the clever (autoconf based )
3810	ones :-).
3811
3812	* libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
3813	problems in 64-bit environment).
3814
38152004-06-05  Andrey Kiselev  <[email protected]>
3816
3817	* tools/tiffset.c: tiffset now can set any libtiff supported tags.
3818	Tags can be supplied by the mnemonic name or number.
3819
3820	* libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
3821	functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
3822
38232004-05-27  Andrey Kiselev  <[email protected]>
3824
3825	* libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
3826	markers as per bug
3827
3828	http://bugzilla.remotesensing.org/show_bug.cgi?id=581
3829
38302004-05-24  Andrey Kiselev  <[email protected]>
3831
3832	* tools/tiffsplit.c: Don't forget to copy Photometric
3833	Interpretation tag.
3834
38352004-05-20  Andrey Kiselev  <[email protected]>
3836
3837	* libtiff/{tif_open.c, tiffio.h}: New function added:
3838	TIFFIsBigEndian(). Function returns nonzero if given was file written
3839	in big-endian order.
3840
3841	* tools/tiffsplit.c: Fixed problem with unproperly written multibyte
3842	files. Now output files will be written using the same byte order
3843	flag as	in the input image. See
3844
3845	http://bugzilla.remotesensing.org/show_bug.cgi?id=574
3846
3847	for details.
3848
38492004-05-19  Frank Warmerdam  <[email protected]>
3850
3851	* libtiff/tif_print.c: added (untested) support for printing
3852	SSHORT, SLONG and SRATIONAL fields.
3853
3854	* tools/tiffcp.c: close output file on normal exit.
3855
38562004-05-17  Andrey Kiselev  <[email protected]>
3857
3858	* libtiff/tif_fax3.c: Avoid reading CCITT compression options
3859	if compression type mismatches. See
3860
3861	http://bugzilla.remotesensing.org/show_bug.cgi?id=565
3862
38632004-04-30  Andrey Kiselev  <[email protected]>
3864
3865	* libtiff/tif_strip.c: Never return 0 from the
3866	TIFFNumberOfStrips().
3867
38682004-04-29  Andrey Kiselev  <[email protected]>
3869
3870	* libtiff/tif_dirread.c: Workaround for broken TIFF writers which
3871	store single SampleFormat value for multisampled images. See
3872
3873	http://bugzilla.remotesensing.org/show_bug.cgi?id=562
3874
38752004-04-25  Andrey Kiselev  <[email protected]>
3876
3877	* configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
3878	int16 and int32 types to avoid complains on some compilers. Details at
3879
3880	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
3881
38822004-04-20  Andrey Kiselev  <[email protected]>
3883
3884	* tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
3885
3886	http://bugzilla.remotesensing.org/show_bug.cgi?id=555
3887
38882004-04-14  Andrey Kiselev  <[email protected]>
3889
3890	* libtiff/tif_write.c: Allow in-place updating of the compressed
3891	images (don't work properly with all codecs). For details see GDAL bug
3892
3893	http://bugzilla.remotesensing.org/show_bug.cgi?id=534
3894
38952004-04-06  Andrey Kiselev  <[email protected]>
3896
3897	* libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
3898	in the Intergarph JPEG compressed TIFF images as per bug:
3899
3900	http://bugzilla.remotesensing.org/show_bug.cgi?id=532
3901
39022004-04-04  Frank Warmerdam  <[email protected]>
3903
3904	* libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
3905	via bad2.
3906
39072004-03-26  Andrey Kiselev  <[email protected]>
3908
3909	* tools/tiffcp.c: Properly set Photometric Interpretation in case of
3910	JPEG compression of grayscale images.
3911
3912	* tools/tiffcp.c: Don't emit warnings when Orientation tag does not
3913	present in the input image.
3914
39152004-03-19  Andrey Kiselev  <[email protected]>
3916
3917	* {many}: The first attempt to switch to autotools.
3918
39192004-03-03  Andrey Kiselev  <[email protected]>
3920
3921	* libtiff/tif_open.c: Use dummy mmap/munmap functions in
3922	TIFFClientOpen() when the appropriate client functions was not
3923	supplied by user.
3924
39252004-03-02  Frank Warmerdam  <[email protected]>
3926
3927	* tools/ycbcr.c: fixed main() declaration as per:
3928	http://bugzilla.remotesensing.org/show_bug.cgi?id=513
3929
39302004-02-26  Andrey Kiselev  <[email protected]>
3931
3932	* tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
3933	images. Reported by Artem Mirolubov.
3934
3935	* libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
3936	tag type in TIFFFetchNormalTag() as per bug
3937
3938	http://bugzilla.remotesensing.org/show_bug.cgi?id=508
3939
39402004-02-17  Frank Warmerdam  <[email protected]>
3941
3942	* libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
3943	http://bugzilla.remotesensing.org/show_bug.cgi?id=494
3944
39452004-02-05  Andrey Kiselev  <[email protected]>
3946
3947	* libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
3948	bug
3949
3950	http://bugzilla.remotesensing.org/show_bug.cgi?id=483
3951
3952	But we need more work on fax codec to support update mode.
3953
39542004-01-30  Frank Warmerdam  <[email protected]>
3955
3956	* libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
3957	TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
3958	Scott Reynolds.
3959
39602004-01-29  Andrey Kiselev  <[email protected]>
3961
3962	* libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
3963	and TIFFTAG_INDEXED as per bug
3964
3965	http://bugzilla.remotesensing.org/show_bug.cgi?id=475
3966
3967	* libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
3968	NULL before proceeding further as per bug
3969
3970	http://bugzilla.remotesensing.org/show_bug.cgi?id=474
3971
3972	Check results, returned by the TIFFFdOpen() before returning and close
3973	file if TIFFFdOpen() failed as per bug
3974
3975	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3976
3977	* libtiff/tif_open.c: More fixes for
3978
3979	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3980
39812004-01-28  Andrey Kiselev  <[email protected]>
3982
3983	* libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
3984	TIFFCleanup() from the TIFFClose() in order to fix the bug
3985
3986	http://bugzilla.remotesensing.org/show_bug.cgi?id=468
3987
3988	* tools/tiffcp.c: Fixed problem with wrong interpretation of the
3989	InkNames tag as per bug
3990
3991	http://bugzilla.remotesensing.org/show_bug.cgi?id=466
3992
3993	Memory leak fixed.
3994
39952004-01-21  Frank Warmerdam  <[email protected]>
3996
3997	* libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
3998	are field_passcount=TRUE properly.  Arguably anonymous custom tags
3999	should be declared as passcount=FALSE, but I don't want to change
4000	that without a careful review.
4001
40022004-01-20  Andrey Kiselev  <[email protected]>
4003
4004	* libtiff/tif_write.c: Fixed reporting size of the buffer in case of
4005	stripped image in TIFFWriteBufferSetup(). As per bug
4006
4007	http://bugzilla.remotesensing.org/show_bug.cgi?id=460
4008
40092004-01-11  Andrey Kiselev  <[email protected]>
4010
4011	* libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
4012	patch from Gerben Koopmans.
4013
4014	* libtiff/tif_dirread.c: Check field_passcount value before setting
4015	the value of undefined type, patch from Gerben Koopmans.
4016
40172004-01-02  Andrey Kiselev  <[email protected]>
4018
4019	* tools/tiffcp.c: Fixed problem with wrong Photometric setting for
4020	non-RGB images.
4021
40222003-12-31  Andrey Kiselev  <[email protected]>
4023
4024	* libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
4025	pointer passed. Patch supplied by Larry Grill.
4026
4027	* libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
4028	suggested by Jeremy C. Reed.
4029
40302003-12-26  Andrey Kiselev  <[email protected]>
4031
4032	* libtiff 3.6.1 released.
4033
40342003-12-24  Andrey Kiselev  <[email protected]>
4035
4036	* config.guess, config.sub: Updated from the recent upstream.
4037
40382003-12-22  Andrey Kiselev  <[email protected]>
4039
4040	* libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
4041	More cleanups in color conversion interface, added appropriate manual
4042	page.
4043
40442003-12-19  Andrey Kiselev  <[email protected]>
4045
4046	* libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
4047	per bug
4048
4049	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
4050
4051	* tools/tiff2ps.c: Added support for alpha channel. Fixes
4052
4053	http://bugzilla.remotesensing.org/show_bug.cgi?id=428
4054
4055	* libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
4056	Interface for Lab->RGB color conversion is finally cleaned up.
4057	Added support for ReferenceBlackWhite tag handling when converted from
4058	YCbCr color space. The latter closes
4059
4060	http://bugzilla.remotesensing.org/show_bug.cgi?id=120
4061
40622003-12-07  Andrey Kiselev  <[email protected]>
4063
4064	* libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
4065
4066	* libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
4067	library.
4068
40692003-12-06  Andrey Kiselev  <[email protected]>
4070
4071	* libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
4072	file and properly use it for CIE Lab->RGB transform.
4073
40742003-12-04  Andrey Kiselev  <[email protected]>
4075
4076	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
4077	conversion routines now in the tif_color.c module. New function
4078	TIFFYCbCrtoRGB() available in TIFF API.
4079
4080	* libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
4081
40822003-12-03  Andrey Kiselev  <[email protected]>
4083
4084	* libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
4085	CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
4086	module.
4087
4088	* libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
4089	TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
4090	Finally resolved problems with orientation handling. TIFFRGBAImage
4091	interface now properly supports all possible orientations, i.e. images
4092	will be flipped both in horizontal and vertical directions if
4093	required. 'Known bugs' section now removed from the appropriate manual
4094	pages. Closed bug entry:
4095
4096	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
4097
40982003-12-02  Andrey Kiselev  <[email protected]>
4099
4100	* libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
4101	function calls as per bug
4102
4103	http://bugzilla.remotesensing.org/show_bug.cgi?id=440
4104
41052003-11-28 Ross Finlayson  <[email protected]>
4106
4107	* tools/tiff2pdf.c:  Some bugs fixed.
4108
41092003-11-27  Andrey Kiselev  <[email protected]>
4110
4111	* libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
4112	reported by Antonio Scuri.
4113
4114	* man/tiff2pdf.1: Few improvements in page layout.
4115
4116	* Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
4117	 Added support fpr tiff2pdf manual page.
4118
41192003-11-26 Ross Finlayson  <[email protected]>
4120
4121	* /man/tiff2pdf.1:  File added to repository.
4122
41232003-11-26  Andrey Kiselev  <[email protected]>
4124
4125	* Makefile.in, /tools/{Makefile.in, makefile.vc}:
4126	 Added support fpr tiff2pdf utility.
4127
41282003-11-25  Ross Finlayson  <[email protected]>
4129
4130	* /tools/tiff2pdf.c:  File added to repository.
4131
41322003-11-22  Andrey Kiselev  <[email protected]>
4133
4134	* /tools/raw2tiff.c: sqrtf() replaced with sqrt().
4135
41362003-11-21  Andrey Kiselev  <[email protected]>
4137
4138	* /tools/raw2tiff.c: #include <getopt.h> removed.
4139
4140	* tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
4141	sgigt utility removed and replaced with the completely rewritten
4142	portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
4143	there is a lot of things to improve.
4144
4145	* libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
4146	extract the fields from the OJPEG files. Patch supplied by Ross
4147	Finlayson.
4148
4149	* libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
4150	Added new function TIFFIsCODECConfigured(), suggested by Ross
4151	Finlayson.
4152
41532003-11-18  Andrey Kiselev  <[email protected]>
4154
4155	* libtiff/tif_dirinfo.c: Implemented binary search in
4156	_TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
4157
4158	* libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
4159	with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
4160
41612003-11-17  Frank Warmerdam  <[email protected]>
4162
4163	* tif_dirread.c: do not mark all anonymously defined tags to be
4164	IGNOREd.
4165
41662003-11-17  Andrey Kiselev  <[email protected]>
4167
4168	* contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
4169	TIFFDataWidth() function insted of tiffDataWidth array.
4170
41712003-11-16  Andrey Kiselev  <[email protected]>
4172
4173	* libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
4174	datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
4175
41762003-11-15  Frank Warmerdam  <[email protected]>
4177
4178	* Makefile.in: fixed missing backslash for tif_color.c in list.
4179
41802003-11-13  Andrey Kiselev  <[email protected]>
4181
4182	* libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
4183	New color space conversion code: CIE L*a*b* 1976 images now supported
4184	by the TIFFRGBAImage interface. All introduced routines go to new
4185	module tif_color.c. Eventually all color conversion functions should
4186	be moved there.
4187
41882003-11-12  Andrey Kiselev  <[email protected]>
4189
4190	* tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
4191	with the reverse byte order (it is reported by the magic header
4192	field). Problem reported by Andreas Wiesmann.
4193
4194	* tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
4195	calculation function. Guessing mechanics now documented in manual page.
4196
41972003-11-11  Andrey Kiselev  <[email protected]>
4198
4199	* tools/raw2tiff.c: Implemented image size guessing using
4200	correlation coefficient calculation between two neighbour lines.
4201
42022003-11-09  Frank Warmerdam  <[email protected]>
4203
4204	* libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
4205	planarconfig_contig case in TIFFComputeTile().
4206
4207	http://bugzilla.remotesensing.org/show_bug.cgi?id=387
4208
42092003-11-09  Andrey Kiselev  <[email protected]>
4210
4211	* libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
4212
42132003-11-07  Andrey Kiselev  <[email protected]>
4214
4215	* libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
4216	Added TIFFRawStripSize() function as suggested by Chris Hanson.
4217
42182003-11-03  Andrey Kiselev  <[email protected]>
4219
4220	* libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
4221	per bug
4222
4223	http://bugzilla.remotesensing.org/show_bug.cgi?id=424
4224
42252003-10-29  Andrey Kiselev  <[email protected]>
4226
4227	* libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
4228
4229	* html/build.html: Added note about GNU make requirement.
4230
42312003-10-25  Andrey Kiselev  <[email protected]>
4232
4233	* Makefile.in: Fixes in using MAKEFLAGS as per bug
4234
4235	http://bugzilla.remotesensing.org/show_bug.cgi?id=418
4236
4237	* port/install.sh.in: Option -p added to the mkdir command to create
4238	all directory tree structure before installing.
4239
42402003-10-18  Andrey Kiselev  <[email protected]>
4241
4242	* /tools/tiff2ps.c: #include <strings.h> replaced with the
4243	#include <string.h>.
4244
42452003-10-16  Andrey Kiselev  <[email protected]>
4246
4247	* Makefile.in: Add an absolute path to the test_pics.sh call.
4248
42492003-10-12  Andrey Kiselev  <[email protected]>
4250
4251	* libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
4252	typedefs.
4253
42542003-10-09  Andrey Kiselev  <[email protected]>
4255
4256	* configure, libtiff/{Makefile.in, mkversion.c}:
4257	Relative buildings fixed.
4258
4259	* tools/Makefile.in: Added "-I../libtiff" to the tiffset building
4260	rule.
4261
42622003-10-07  Andrey Kiselev  <[email protected]>
4263
4264	* Makefile.in: Added missed v3.6.0.html.
4265
4266	* libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
4267	ORIENTATION_BOTLEFT.
4268
42692003-10-04  Andrey Kiselev  <[email protected]>
4270
4271	* 3.6.0 final release.
4272
42732003-10-03  Andrey Kiselev  <[email protected]>
4274
4275	* libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
4276	function TIFFReadRGBAImageOriented() implemented to retrieve raster
4277	array with user-specified origin position as suggested by Jason Frank.
4278	See
4279
4280	http://bugzilla.remotesensing.org/show_bug.cgi?id=322
4281
4282	for details.
4283
4284	* tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
4285	instead of TIFFReadRGBAImage().
4286
4287	* tools/tiff2ps.c: Fixed possible endless loop as per bug
4288
4289	http://bugzilla.remotesensing.org/show_bug.cgi?id=404
4290
42912003-09-30  Andrey Kiselev  <[email protected]>
4292
4293	* libtiff/tif_dirread.c: Check field counter against number of fields
4294	in order to fix
4295
4296	http://bugzilla.remotesensing.org/show_bug.cgi?id=366
4297
4298	* libtiff/tif_fax3.c: Fix wrong line numbering as per bug
4299
4300	http://bugzilla.remotesensing.org/show_bug.cgi?id=342
4301
43022003-09-25  Andrey Kiselev  <[email protected]>
4303
4304	* libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
4305	tif_close.c}: Store a list of opened IFD to prevent looping as per bug
4306
4307	http://bugzilla.remotesensing.org/show_bug.cgi?id=383
4308
43092003-09-23  Andrey Kiselev  <[email protected]>
4310
4311	* libtiff/tif_dirread.c: More fixes for	EstimateStripByteCounts(). See
4312
4313	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
4314
43152003-08-21  Andrey Kiselev  <[email protected]>
4316
4317	* tools/tiffmedian.c: int declaration replaced with the uint32 to
4318	support large images as per bug
4319
4320	http://bugzilla.remotesensing.org/show_bug.cgi?id=382
4321
43222003-08-12  Andrey Kiselev  <[email protected]>
4323
4324 	* libtiff/Makefile.in: Fixed problem with building in different
4325	directory.
4326
4327	* tools/tiff2ps.c: Added missing #include <strings.h>.
4328
4329	* libtiff/tif_dirwrite.c: More fixes for custom tags code
4330	from Ashley Dreier.
4331
43322003-08-07  Andrey Kiselev  <[email protected]>
4333
4334	* tools/tiff2ps.c: Added page size setting when creating PS Level 2.
4335	Patch submitted by Balatoni Denes (with corrections from Tom
4336	Kacvinsky).
4337
4338	* tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
4339	being used. Reported by Tom Kacvinsky.
4340
4341	* libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
4342	reported by Ashley Dreier.
4343
4344	* libtiff/tif_print.c: Fixed problem with float tags reading, support
4345	for printing RATIONAL and BYTE tags added.
4346
43472003-08-05  Andrey Kiselev  <[email protected]>
4348
4349	* libtiff/tif_lzw.c: Move LZW codec state block allocation back to
4350	TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
4351	problems with predictor initialization. Remove O_RDONLY check during
4352	state block allocation to be able open LZW compressed files in update
4353	mode.
4354
4355	Problem exist for libtiff version of the tif_lzw.c module. One from
4356	lzw-compression-kit hasn't such troubles.
4357
43582003-08-04  Frank Warmerdam  <[email protected]>
4359
4360	* libtiff/tif_write.c: modified tif_write.c so that the various
4361	encoded write functions use tif_postdecode() to apply byte order
4362	swapping (swab) to the application passed data buffer if the same
4363	would be done when reading.  This allows us to write pixel data with
4364	more than 8 bits per sample to existing files of a non-native byte
4365	order.  One side effect of this change is the applications buffer
4366	itself is altered in this case by the act of writing.
4367
4368	http://bugzilla.remotesensing.org/show_bug.cgi?id=171
4369
43702003-07-25  Frank Warmerdam  <[email protected]>
4371
4372	* libtiff/tif_open.c: avoid signed/unsigned casting warning
4373	initializing typemask as per patch from J.A. Strother.
4374
4375	* tools/tiffcp.c: fixed signed/unsigned casting warning.
4376
4377	* libtiff/tif_print.c: dos2unix conversion.
4378
4379	* tools/tiffsplit.c: increased the maximum number of pages that
4380	can be split.  Patch provided by Andrew J. Montalenti.
4381
43822003-07-11  Andrey Kiselev  <[email protected]>
4383
4384	* tools/raw2tiff.c: Added option `-p' to explicitly select color
4385	space of input image data. Closes
4386
4387	http://bugzilla.remotesensing.org/show_bug.cgi?id=364
4388
43892003-07-08  Frank Warmerdam  <[email protected]>
4390
4391	* tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
4392	tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
4393	tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
4394	avoid casting warning at /W4.
4395
43962003-07-03  Andrey Kiselev  <[email protected]>
4397
4398	* tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
4399
44002003-06-30  Andrey Kiselev  <[email protected]>
4401
4402	* libtiff/tif_pixarlog.c: Unused variables removed.
4403
4404	* libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
4405	EstimateStripByteCounts() as per bug
4406
4407	http://bugzilla.remotesensing.org/show_bug.cgi?id=358
4408
4409	* libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
4410	64-bit architectures as per bug
4411
4412	http://bugzilla.remotesensing.org/show_bug.cgi?id=357
4413
4414	* libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
4415	unknown data type.
4416
44172003-06-19  Frank Warmerdam  <[email protected]>
4418
4419	* libtiff/tif_print.c: fixed some serious bugs when printing
4420	custom tags ... almost certain to crash.
4421
4422	* libtiff/tif_dirread.c: Don't ignore custom fields that are
4423	autodefined.  Not sure how this got to be like this.
4424
44252003-06-18  Andrey Kiselev  <[email protected]>
4426
4427	* 3.6.0 Beta2 released.
4428
4429	* tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
4430	comparing as per bug
4431
4432	http://bugzilla.remotesensing.org/show_bug.cgi?id=349
4433
4434	`-z' option now can be used to set the number of reported different
4435	bytes.
4436
44372003-06-09  Andrey Kiselev  <[email protected]>
4438
4439	* tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
4440	to -r option to get the entire image as one strip. See
4441
4442	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
4443
4444	for details.
4445
44462003-06-04  Andrey Kiselev  <[email protected]>
4447
4448	* tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
4449	values as per bug
4450
4451	http://bugzilla.remotesensing.org/show_bug.cgi?id=343
4452
44532003-05-27  Frank Warmerdam  <[email protected]>
4454
4455	* libtiff/tif_jpeg.c: modified segment_height calculation to always
4456	be a full height tile for tiled images.  Also changed error to just
4457	be a warning.
4458
44592003-05-25  Andrey Kiselev  <[email protected]>
4460
4461	* tools/fax2tiff.c: Page numbering fixed, as per bug
4462
4463	http://bugzilla.remotesensing.org/show_bug.cgi?id=341
4464
44652003-05-20  Andrey Kiselev  <[email protected]>
4466
4467	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
4468	configure, Makefile.in:	Switched back to the old behaviour. Likely
4469	better solution should be found for OJPEG support.
4470
44712003-05-11  Andrey Kiselev  <[email protected]>
4472
4473	* libtiff/mkversion.c: Fixed problem with wrong string size when
4474	reading RELEASE-DATE file.
4475
44762003-05-07  Andrey Kiselev  <[email protected]>
4477
4478	* tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
4479	index was out of range.
4480
44812003-05-06  Andrey Kiselev  <[email protected]>
4482
4483	* contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
4484	configure, Makefile.in:	Improved libtiff compilation with OJPEG
4485	support. Now no need for patching IJG JPEG library, hack requred by
4486	libtiff will be compiled and used in-place. Implemented with
4487	suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
4488
4489	* libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
4490	TIFFVGetFieldDefaulted() function.
4491
44922003-05-05  Andrey Kiselev  <[email protected]>
4493
4494	* tools/ppm2tiff.c: PPM header parser improved: now able to skip
4495	comments.
4496
4497	* tools/tiffdither.c: Fixed problem with bit fill order tag setting:
4498	was not copied from source image.
4499
4500	* libtiff/getimage.c: Workaround for some images without correct
4501	info about alpha channel as per bug
4502
4503	http://bugzilla.remotesensing.org/show_bug.cgi?id=331
4504
45052003-04-29  Andrey Kiselev  <[email protected]>
4506
4507	* tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
4508	It basically allows one to use the /flateDecode filter for ZIP
4509	compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
4510
4511	http://bugzilla.remotesensing.org/show_bug.cgi?id=328
4512
4513	* tools/tiff2ps.c: Force deadzone printing when EPS output specified
4514	as per bug
4515
4516	http://bugzilla.remotesensing.org/show_bug.cgi?id=325
4517
45182003-04-17  Andrey Kiselev  <[email protected]>
4519
4520	* libtiff/tif_dirread.c: Removed additional check for StripByteCounts
4521	due to problems with multidirectory images. Quality of error messages
4522	improved.
4523
45242003-04-16  Andrey Kiselev  <[email protected]>
4525
4526	* tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
4527	encoded images. See bug entries
4528
4529	http://bugzilla.remotesensing.org/show_bug.cgi?id=275
4530
4531	and
4532
4533	http://bugzilla.remotesensing.org/show_bug.cgi?id=23
4534
4535	* libtiff/tif_dirread.c: Additional check for StripByteCounts
4536	correctness. Fixes
4537
4538	http://bugzilla.remotesensing.org/show_bug.cgi?id=320
4539
45402003-03-12  Andrey Kiselev  <[email protected]>
4541
4542	* tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
4543	ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
4544	tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
4545	tiffmedian.c}: Added library version reporting facility to all tools.
4546
45472003-03-06  Frank Warmerdam  <[email protected]>
4548
4549	* port/install.sh.in: Fixed problems with install producing paths
4550	like ///usr/local/lib on cygwin.
4551
45522003-02-27  Andrey Kiselev  <[email protected]>
4553
4554	* tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
4555	raw input page. Patch supplied by Julien Gaulmin. See
4556
4557	http://bugzilla.remotesensing.org/show_bug.cgi?id=293
4558
4559	for details.
4560
45612003-02-26  Frank Warmerdam  <[email protected]>
4562
4563	* libtiff/tif_dir.c: fixed up the tif_postdecode settings
4564	responsible for byte swapping complex image data.
4565
4566	* libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
4567	LZWSetupDecode().  Needed to read LZW files in "r+" mode.
4568
45692003-02-07  Andrey Kiselev  <[email protected]>
4570
4571	* tools/ppm2tiff.c: Fixed problem with too many arguments.
4572
45732003-02-04  Andrey Kiselev  <[email protected]>
4574
4575	* tools/raw2tiff.c: Memory leak fixed.
4576
45772003-02-03  Andrey Kiselev  <[email protected]>
4578
4579	* tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
4580	(thanks, Julien!). More switches for fax2tiff tool for better control
4581	of input and output. Details at
4582
4583	http://bugzilla.remotesensing.org/show_bug.cgi?id=272
4584
45852003-02-03  Frank Warmerdam  <[email protected]>
4586
4587	* libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
4588	library so that we can check if there is already any tile/strip data
4589	before deciding between creating a compressor or a decompressor.
4590
45912003-01-31  Frank Warmerdam  <[email protected]>
4592
4593	* libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
4594	a pre-existing compressed image.  That is, image writing to
4595	pre-existing compressed images is not allowed.
4596
4597	* libtiff/tif_open.c: Removed error if opening a compressed file
4598	in update mode.
4599
4600	http://bugzilla.remotesensing.org/show_bug.cgi?id=198
4601
46022003-01-31  Andrey Kiselev  <[email protected]>
4603
4604	* config.guess, config.sub: Updated to recent upstream versions.
4605
46062003-01-15  Frank Warmerdam  <[email protected]>
4607
4608	* cut 3.6.0 Beta release.
4609
46102002-12-20  Andrey Kiselev  <[email protected]>
4611
4612	* tools/fax2ps.c, man/fax2ps.1: Page size was determined
4613	in wrong way as per bug
4614
4615	http://bugzilla.remotesensing.org/show_bug.cgi?id=239
4616
46172002-12-17  Frank Warmerdam  <[email protected]>
4618
4619	* libtiff/tif_dirread.c: Allow wrong sized arrays in
4620	TIFFFetchStripThing().
4621
4622	http://bugzilla.remotesensing.org/show_bug.cgi?id=49
4623
46242002-12-02  Frank Warmerdam  <[email protected]>
4625
4626	* libtiff/tif_dir.c: fix problem with test on td_customValueCount.
4627	Was using realloc even first time.  Fix by Igor Venevtsev.
4628
46292002-11-30  Frank Warmerdam  <[email protected]>
4630
4631	* libtiff/tif_dir.c: fixed bug with resetting an existing custom
4632	field value.
4633
4634	* libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
4635	tags in TIFFVGetField() ... added missing break.
4636
46372002-10-14  Frank Warmerdam  <[email protected]>
4638
4639	* tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
4640	the scanline buffer long enough when writing rgb triplets.
4641	The scanline needs to be 3 X the number of dots or else it will
4642	contain	an incomplete triplet and programs that try to separate
4643	the eps by redefining the colorimage operator will get messed up.
4644	Patch supplied by William Bader.
4645
4646	* Makefile.in: added tif_extension.c to file list as per
4647	http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
4648
46492002-10-11  Andrey Kiselev  <[email protected]>
4650
4651	* configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
4652	large files (>2GiB) supporting. New option in the config.site:
4653	LARGEFILE="yes". Should be enough for I/O of the large files.
4654
46552002-10-10  Frank Warmerdam  <[email protected]>
4656
4657	* libtiff/html/v3.6.0.html: new release notes.
4658
4659	* libtiff/index.html: removed faq, cvs snapshot cruft.  Added email
4660	link for Andrey.  Pointer to v3.6.0.html.
4661
4662	* libtiff/Makefile.in: added direct rule for tiffvers.h for release.
4663
46642002-10-07  Andrey Kiselev  <[email protected]>
4665	* tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
4666	(thanks, Sebastian!). New switches:
4667	-b # for a bottom margin of # inches
4668	-c   center image
4669	-l # for a left margin of # inches
4670	-r   rotate the image by 180 degrees
4671	New features merged with code for shrinking/overlapping.
4672	Previously added -c and -n switches (for overriding PS units) renamed
4673	in -x and -y respectively.
4674
4675	http://bugzilla.remotesensing.org/show_bug.cgi?id=200
4676
4677	* html/man/*.html: Updated from actual manual pages.
4678
46792002-10-06  Frank Warmerdam  <[email protected]>
4680
4681	* libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
4682	size on windows.  Use #define boolean hack.
4683
4684	http://bugzilla.remotesensing.org/show_bug.cgi?id=188
4685
4686	* libtiff/tiff.h: Don't do special type handling in tiff.h unless
4687	USING_VISUALAGE is defined.
4688
4689	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
4690
46912002-10-03  Frank Warmerdam  <[email protected]>
4692
4693	* libtiff/tiff.h: added COMPRESSION_JP2000.
4694
46952002-10-02  Andrey Kiselev  <[email protected]>
4696
4697	* libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
4698	by the TIFFFetchByteArray() function. Should finally resolve
4699
4700	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
4701
4702	* configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
4703
4704	* html/Makefile.in: New targets added: html and groffhtml for
4705	producing HTML representations of the manual pages automatically.
4706	html target uses man2html tool, groffhtml uses groff tool.
4707
47082002-09-29  Frank Warmerdam  <[email protected]>
4709
4710	* configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
4711	from John H. DuBois III.
4712
47132002-09-15  Andrey Kiselev  <[email protected]>
4714
4715	* Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
4716	manual page for raw2tiff(1) tool.
4717
47182002-09-12  Andrey Kiselev  <[email protected]>
4719
4720	* /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
4721	the tiffio.h header file.
4722
4723	* Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
4724	manual page for TIFFDataWidth() function
4725
47262002-09-08  Frank Warmerdam  <[email protected]>
4727
4728	* libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
4729	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
4730
4731	* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
4732	since we are unable to properly include the amount to skip.
4733
4734	http://bugzilla.remotesensing.org/show_bug.cgi?id=80
4735
47362002-09-02  Andrey Kiselev  <[email protected]>
4737
4738	* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
4739	in TIFFFetchByteArray(). Problem described at
4740	http://bugzilla.remotesensing.org/show_bug.cgi?id=52
4741
47422002-08-22  Andrey Kiselev  <[email protected]>
4743
4744	* /libtiff/tif_dirinfo.c: Further additions to free custom fields
4745	in _TIFFSetupFieldInfo() function.
4746	See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
4747
4748	* /libtiff/tif_lzw.c: Additional consistency checking added in
4749	LZWDecode() and LZWDecodeCompat().
4750	Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
4751	and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4752
4753	* /libtiff/tif_lzw.c:
4754	Added check for valid code lengths in LZWDecode() and
4755	LZWDecodeCompat(). Fixes
4756	http://bugzilla.remotesensing.org/show_bug.cgi?id=115
4757
47582002-08-16  Andrey Kiselev  <[email protected]>
4759
4760	* /libtiff/{Makefile.vc, libtiff.def}:
4761	Missed declarations added.
4762
47632002-08-15  Frank Warmerdam  <[email protected]>
4764
4765	* tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
4766	return code from the underlying pick function.
4767
4768	http://bugzilla.remotesensing.org/show_bug.cgi?id=177
4769
4770	* tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
4771	with FIELD_CUSTOM as mentioned in bug 169.
4772
4773	* tif_close.c: added logic to free dynamically created anonymous
4774	field definitions to correct a small memory leak.
4775
4776	http://bugzilla.remotesensing.org/show_bug.cgi?id=169
4777
47782002-08-10  Andrey Kiselev  <[email protected]>
4779
4780	* /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
4781	New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
4782
47832002-07-31  Frank Warmerdam  <[email protected]>
4784
4785	* libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
4786	JPEGDecode() as per bugzilla bug (issue 1):
4787
4788	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
4789
4790	* libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
4791	fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
4792	present in the tiff tags.
4793
4794	http://bugzilla.remotesensing.org/show_bug.cgi?id=168
4795
4796	* libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
4797	TIFFWriteScanline() now set tif_row explicitly in case the codec has
4798	fooled with the value.
4799
4800	http://bugzilla.remotesensing.org/show_bug.cgi?id=129
4801
48022002-06-22  Andrey Kiselev  <[email protected]>
4803
4804	* /tools/tiff2ps.c: Added workaround for some software that may crash
4805	when last strip of image contains fewer number of scanlines than
4806	specified by the `/Height' variable. See
4807	http://bugzilla.remotesensing.org/show_bug.cgi?id=164
4808	for explanation.
4809
48102002-06-21  Andrey Kiselev  <[email protected]>
4811
4812	* tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
4813	splitting long images in several pages. See
4814	http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
4815	Patch granted by John Williams <[email protected]>.
4816
48172002-06-11  Frank Warmerdam  <[email protected]>
4818
4819	* libtiff/contrib/win95: renamed to contrib/win_dib.  Added new
4820	Tiffile.cpp example of converting TIFF files into a DIB on Win32.
4821	This one is described in:
4822
4823	http://bugzilla.remotesensing.org/show_bug.cgi?id=143
4824
4825	* libtiff/tif_ojpeg.c: Major upgrade from Scott.  See details at:
4826
4827	http://bugzilla.remotesensing.org/show_bug.cgi?id=156
4828
48292002-05-10  Andrey Kiselev  <[email protected]>
4830
4831	* tools/tiff2ps: New commandline switches to override resolution
4832	units obtained from the input file. Closes
4833	http://bugzilla.remotesensing.org/show_bug.cgi?id=131
4834
48352002-04-26  Andrey Kiselev  <[email protected]>
4836
4837	* libtiff/libtiff.def: Added missed declaration.
4838
48392002-04-22  Andrey Kiselev  <[email protected]>
4840
4841	* tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
4842	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
4843
48442002-04-20  Andrey Kiselev  <[email protected]>
4845
4846	* libtiff/tif_open.c: Pointers to custom procedures
4847	in TIFFClientOpen() are checked to be not NULL-pointers.
4848
48492002-04-18  Andrey Kiselev  <[email protected]>
4850
4851	* libtiff/libtiff.def: Added missed declarations.
4852
4853	* libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
4854
48552002-04-16  Andrey Kiselev  <[email protected]>
4856
4857	* libtiff/tif_lzw.c: Additional checks for data integrity introduced.
4858	Should finally close
4859	http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4860
48612002-04-10  Andrey Kiselev  <[email protected]>
4862
4863	* tools/tiff2ps: Division by zero fixed.
4864	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
4865
48662002-04-09  Andrey Kiselev  <[email protected]>
4867
4868	* libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
4869	TIFFCheckpointDirectory() routine added.
4870	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
4871
4872	* man/: TIFFWriteDirectory.3t,  Makefile.in: Added description
4873	for the new function.
4874
48752002-04-08  Andrey Kiselev  <[email protected]>
4876
4877	* libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
4878	additional members tif->tif_decodestatus and tif->tif_encodestatus
4879	for correct handling of unconfigured codecs (we should not try to read
4880	data or to define data size without correct codecs).
4881
4882	* libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
4883	changed. Now it has used tif->tif_decodestatus and
4884	tif->tif_encodestatus.
4885	Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
4886	case of __cvs_8.tif test image).
4887
4888	* libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
4889	tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
4890	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
4891	of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
4892
48932002-04-04  Andrey Kiselev  <[email protected]>
4894
4895	* libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
4896	replaced by warnings. Now libtiff should read corrupted LZW-compressed
4897	files by skipping bad strips.
4898	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
4899
49002002-04-03  Frank Warmerdam  <[email protected]>
4901
4902	* libtiff/tif_dirwrite.c: Removed some dead code.
4903
4904	* libtiff/*: Cleanup some warnings.
4905
4906	* libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
4907	for variable length FIELD_CUSTOM values.  Was int * but should be
4908	u_short *.
4909
49102002-04-01  Andrey Kiselev  <[email protected]>
4911
4912	* tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
4913	utility (at cpStripToTile routine).
4914
49152002-03-27  Frank Warmerdam  <[email protected]>
4916
4917	* tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
4918
4919	http://bugzilla.remotesensing.org/show_bug.cgi?id=111
4920
4921	* tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
4922	passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
4923
4924	* libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
4925	that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
4926
49272002-03-26  Dwight Kelly  <[email protected]>
4928
4929	* libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4930	tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
4931	in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
4932	INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
4933	CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
4934	INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
4935
49362002-03-26  Andrey Kiselev  <[email protected]>
4937
4938	* libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
4939	now also uses TIFFRGBAImageOK before reading. This is additional fix
4940	for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4941
49422002-03-25  Andrey Kiselev  <[email protected]>
4943
4944	* libtiff/: tif_getimage.c: Additional check for supported
4945	codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
4946	TIFFRGBAImageOK before reading.
4947	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
4948
49492002-03-15  Andrey Kiselev  <[email protected]>
4950
4951	* libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
4952	tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
4953	TIFFDataType sizes instead of working with tiffDataWidth array
4954	directly. Should prevent out-of-borders bugs in case of unknown or
4955	broken data types.  EstimateStripByteCounts routine modified, so it
4956	won't work when tags with uknown sizes founded.
4957	Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
4958
49592002-03-13  Andrey Kiselev  <[email protected]>
4960
4961	* libtiff/tif_getimage.c: Added support for correct handling
4962	`Orientation' tag in gtTileContig. Should be added in other gt*
4963	functions as well, but I have not images for testing yet. Partially
4964	resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
4965
49662002-03-10  Andrey Kiselev  <[email protected]>
4967
4968	* libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
4969	read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
4970	TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC.  Closes
4971	http://bugzilla.remotesensing.org/show_bug.cgi?id=99
4972
49732002-03-08  Andrey Kiselev  <[email protected]>
4974
4975	* libtiff/Makefile.in, tools/Makefile.in: Shared library will not
4976	be stripped when installing, utility binaries will do.	Closes
4977	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
4978
49792002-02-28  Frank Warmerdam  <[email protected]>
4980
4981	* man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
4982
4983	* man/libtiff.3t: added copyright tag info.
4984
49852002-02-11  Frank Warmerdam  <[email protected]>
4986
4987	* libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
4988
4989	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
4990
4991	* man/Makefile.in: Patch DESTDIR handling
4992
4993	http://bugzilla.remotesensing.org/show_bug.cgi?id=95
4994
4995	* configure: OpenBSD changes for Sparc64 and DSO version.
4996
4997	http://bugzilla.remotesensing.org/show_bug.cgi?id=96
4998
49992002-02-05  Frank Warmerdam  <[email protected]>
5000
5001	* config.site/configure: added support for OJPEG=yes option to enable
5002	OJPEG support from config.site.
5003
50042002-01-27  Frank Warmerdam  <[email protected]>
5005
5006	* html/document.html: fixed links for TIFf 6 docs.
5007
50082002-01-18  Frank Warmerdam  <[email protected]>
5009
5010	* config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
5011
5012	* libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
5013	decodestrip function returns anything not greater than zero as per
5014	http://bugzilla.remotesensing.org/show_bug.cgi?id=97
5015
5016	* configure: Modify CheckForBigEndian so it can work in a cross
5017	compiled situation.
5018
50192002-01-16  Frank Warmerdam  <[email protected]>
5020
5021	* tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
5022
5023	* tools/tiffset.c: fix bug in error reporting.
5024
5025	* tools/tiffcp.c: fix several warnings that show up with -Wall.
5026
50272002-01-04  Frank Warmerdam  <[email protected]>
5028
5029	* libtiff/tif_jpeg.c: fixed computation of segment_width for
5030	tiles files to avoid error about it not matching the
5031	cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
5032	size.") for ITIFF files.  Apparently the problem was incorporated since
5033	3.5.5, presumably during the OJPEG/JPEG work recently.
5034
50352001-12-15  Frank Warmerdam  <[email protected]>
5036
5037	* configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
5038
5039	http://bugzilla.remotesensing.org/show_bug.cgi?id=94
5040
5041	* libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
5042	(defined in tiffconf.h - 1 by default) then the RGBA interface
5043	will assume that a fourth extra sample is ASSOCALPHA if the
5044	EXTRASAMPLE value isn't set for it.  This changes the behaviour of
5045	the library, but makes it work better with RGBA files produced by
5046	lots of applications that don't mark the alpha values properly.
5047
5048	http://bugzilla.remotesensing.org/show_bug.cgi?id=93
5049	http://bugzilla.remotesensing.org/show_bug.cgi?id=65
5050
50512001-12-12  Frank Warmerdam  <[email protected]>
5052
5053	* libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
5054	override those from tiff directory.  This makes this work with
5055	ImageGear generated files.
5056
50572001-12-07  Frank Warmerdam  <[email protected]>
5058
5059	* html/Makefile.in: added missing images per bug 92.
5060
5061	* port/Makefile.in: fixed clean target per bug 92.
5062
50632001-11-28  Frank Warmerdam  <[email protected]>
5064
5065	* Reissue 3.5.7 release.
5066
5067	* libtiff/mkversion.c: Fix output of TIFF_VERSION to be
5068	YYYYMMDD so that it is increasing over time.
5069
5070	* Makefile.in: Ensure that tiffvers.h is regenerated in the
5071	make release target.
5072
5073	* Makefile.in: added libtiff/tiffvers.h to the release file list.
5074
50752001-11-23  Frank Warmerdam  <[email protected]>
5076
5077	* added html/v3.5.7.html, updated html/index.html.
5078
5079	* Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
5080
50812001-11-15  Frank Warmerdam  <[email protected]>
5082
5083	* configure: fixed test for -lm.
5084
50852001-11-02  Frank Warmerdam  <[email protected]>
5086
5087	* Added PHOTOMETRIC_ITULAB as per bug 90.
5088
5089	http://bugzilla.remotesensing.org/show_bug.cgi?id=90
5090
50912001-10-10  Frank Warmerdam  <[email protected]>
5092
5093	* libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
5094	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
5095	in keeping with TIFF 6.0 standard in tiff.h
5096
5097	http://bugzilla.remotesensing.org/show_bug.cgi?id=83
5098
50992001-09-26  Frank Warmerdam  <[email protected]>
5100
5101	* libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
5102	Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
5103
51042001-09-24  Frank Warmerdam  <[email protected]>
5105
5106	* libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
5107
5108	http://bugzilla.remotesensing.org/show_bug.cgi?id=78
5109
5110	* libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
5111	error about LZW not being available.
5112
5113	* libtiff/tif_dir.c: propagate failure to initialize compression
5114	back from TIFFSetField() as an error status, so applications can
5115	detect failure.
5116
5117	* libtiff/tif_dir.c: removed the auto replacement of
5118	COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
5119
5120	* Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
5121	from CVS as they are all supposed to be auto-generated by configure.
5122
51232001-09-22  Frank Warmerdam  <[email protected]>
5124
5125	* libtiff/tif_ojpeg.c: new update from Scott.
5126
51272001-09-09  Frank Warmerdam  <[email protected]>
5128
5129	* libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
5130	always use the "safe" version, even if there is a very slight
5131	cost in performance.
5132
5133	http://bugzilla.remotesensing.org/show_bug.cgi?id=54
5134
5135	* libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
5136	in two places.
5137
5138	* libtiff/tif_getimage.c: Fixed problem with reading strips or
5139	tiles that don't start on a tile boundary.  Fix contributed by
5140	Josep Vallverdu (from HP), and further described in bug 47.
5141
5142	http://bugzilla.remotesensing.org/show_bug.cgi?id=47
5143
5144	* tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
5145
5146	* libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
5147
51482001-09-06  Frank Warmerdam  <[email protected]>
5149
5150	* libtiff/tif_packbits.c: fixed memory overrun error.
5151
5152	http://bugzilla.remotesensing.org/show_bug.cgi?id=77
5153
51542001-08-31  Frank Warmerdam  <[email protected]>
5155
5156	* libtiff/tif_getimage.c: relax handling of contig case where
5157	there are extra samples that are supposed to be ignored.  This
5158	should now work for 8bit greyscale or palletted images.
5159
5160	http://bugzilla.remotesensing.org/show_bug.cgi?id=75
5161
51622001-08-28  Frank Warmerdam  <[email protected]>
5163
5164	* libtiff/tif_getimage.c: Don't complain for CMYK (separated)
5165	images with more than four samples per pixel.  See:
5166
5167	http://bugzilla.remotesensing.org/show_bug.cgi?id=73
5168
51692001-08-10  Frank Warmerdam  <[email protected]>
5170
5171	* libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
5172	in TIFFReadRGBATile() to avoid issues in cases of overlapping
5173	buffers.  See Bug 69 in Bugzilla.
5174
5175	http://bugzilla.remotesensing.org/show_bug.cgi?id=69
5176
5177	* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
5178
51792001-08-09  Frank Warmerdam  <[email protected]>
5180
5181	* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
5182	when checking for 64 bit architectures as per bugzilla bug 67.
5183
51842001-07-27  Frank Warmerdam  <[email protected]>
5185
5186	* man/Makefile.in: add TIFFClientOpen link as per debian submitted
5187	bug 66.
5188
51892001-07-20  Frank Warmerdam  <[email protected]>
5190
5191	* libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
5192	has been included.
5193
51942001-07-19  Frank Warmerdam  <[email protected]>
5195
5196	* libtiff/tif_open.c: Seek back to zero after failed read,
5197	before writing header.
5198
51992001-07-18  Frank Warmerdam  <[email protected]>
5200
5201	* libtiff/tif_ojpeg.c: updates from Scott.  Handles colors
5202	much better.  Now depends on having patched libjpeg as per
5203	patch in contrib/ojpeg/*.
5204
52052001-07-17  Frank Warmerdam  <[email protected]>
5206
5207	* */Makefile.in: added DESTDIR support.
5208
5209	http://bugzilla.remotesensing.org/show_bug.cgi?id=60
5210
52112001-07-16  Frank Warmerdam  <[email protected]>
5212
5213	* configure, libtiff/Makefile.in: applied OpenBSD patches
5214	as per:
5215
5216	http://bugzilla.remotesensing.org/show_bug.cgi?id=61
5217
52182001-06-28  Frank Warmerdam  <[email protected]>
5219
5220	* libtiff/tif_getimage.c: Fixed so that failure is properly
5221	reported by gtTileContig, gtStripContig, gtTileSeparate and
5222	gtStripSeparate.
5223
5224	See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
5225
5226	* tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
5227	Updated bug section of tiffcmp.1 to note tiled file issues.
5228
5229	See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
5230
52312001-06-22  Frank Warmerdam  <[email protected]>
5232
5233	* configure: Changes for DSO generation on AIX provided by
5234	John Marquart <[email protected]>.
5235
5236	* configure, libtiff/Makeifle.in: Modified to build DSOs properly
5237	on Darwin thanks to Robert Krajewski ([email protected]) and
5238	Keisuke Fujii ([email protected]).
5239
52402001-06-13  Frank Warmerdam  <[email protected]>
5241
5242	* tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
5243
5244	* man/tiff2rgba.1: new
5245
52462001-05-22  Frank Warmerdam  <[email protected]>
5247
5248	* Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
5249
52502001-05-13  Frank Warmerdam  <[email protected]>
5251
5252	* libtiff/tools/thumbnail.c: changed default output compression
5253	to packbits from LZW since LZW isn't generally available.
5254
52552001-05-12  Frank Warmerdam  <[email protected]>
5256
5257	* libtiff/tif_ojpeg.c: New.
5258	libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
5259	to OJPEG support.
5260
5261	Scott Marovich <[email protected]> supplied OJPEG support.
5262
52632001-05-11  Frank Warmerdam  <[email protected]>
5264
5265	* tiff.h: removed, it duplicates libtiff/tiff.h.
5266
52672001-05-08  Frank Warmerdam  <[email protected]>
5268
5269	* libtiff/tif_dirinfo.c: moved pixar and copyright flags to
5270	ensure everything is in order.
5271
5272	* libtiff/libtiff.def: added TIFFCreateDirectory and
5273	TIFFDefaultStripSize as per:
5274
5275	  http://bugzilla.remotesensing.org/show_bug.cgi?id=46
5276
52772001-05-02  Frank Warmerdam  <[email protected]>
5278
5279	* libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
5280	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
5281	force use of uint32 counts instead of short counts.
5282
5283	* libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
5284	case of writing TIFF_BYTE/TIFF_SBYTE fields.
5285
5286	http://bugzilla.remotesensing.org/show_bug.cgi?id=43
5287
52882001-05-01  Frank Warmerdam  <[email protected]>
5289
5290	* libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
5291	bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
5292
52932001-04-05  Frank Warmerdam  <[email protected]>
5294
5295	* tiffio.h: removed C++ style comment.
5296
5297	* configure: fixed up SCRIPT_SH/SHELL handling.
5298
5299	* Makefile.in: Fixed SCRIPT_SH/SHELL handling.
5300
5301	* config.guess: documented more variables as per bug 40.
5302
53032001-04-03  Frank Warmerdam  <[email protected]>
5304
5305	* configure, *Makefile.in: Various changes to improve configuration
5306	for HP/UX specifically, and also in general.  They include:
5307	 - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
5308	 - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
5309	 - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
5310	 - Use -${MAKEFLAGS} in sub makes from makefiles.
5311
5312	http://bugzilla.remotesensing.org/show_bug.cgi?id=40
5313
53142001-04-02  Frank Warmerdam  <[email protected]>
5315
5316	* libtiff/tiff.h: Applied hac to try and resolve the problem
5317	with the inttypes.h include file on AIX.
5318
5319	See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
5320
5321	* VERSION: update to 3.5.7 beta in preparation for release.
5322
5323	* configure/config.site: modified to check if -lm is needed for
5324	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
5325
5326	* config.guess: updated wholesale to an FSF version apparently
5327	from 1998 (as opposed to 1994).  This is mainly inspired by
5328	providing for MacOS X support.
5329
53302001-03-29  Frank Warmerdam  <[email protected]>
5331
5332	* configure, Makefile.in, etc: added support for OPTIMIZER being
5333	set from config.site.
5334
53352001-03-28  Frank Warmerdam  <[email protected]>
5336
5337	* fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
5338
5339	Here's a fix for fax2ps that corrects behaviour for non-Letter paper
5340	sizes. It fixes two problems:
5341
5342	Without	scaling (-S) the fax is now centered on the page size specified
5343	with -H	and/or -W. Before, fax2ps was using an obscure and practially
5344	useless algorithm to allocate the image relative to Letter sized paper
5345	which sometime sled to useless whitespace on the paper, while at the
5346	same time cutting of the faxes printable area at the opposite border.
5347
5348	Second, scaling now preserves aspect ratio, which makes unusual faxes
5349	(in particular short ones) print properly.
5350
5351	See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
5352
5353	* tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
5354	Bruce A. Mallett.  See check message for detailed information
5355	on all the changes, including a faster encoder, fixes for level
5356	2 PostScript, and support for the imagemask operator.
5357
53582001-03-27  Frank Warmerdam  <[email protected]>
5359
5360	* libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
5361	"#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
5362
5363	http://bugzilla.remotesensing.org/show_bug.cgi?id=39
5364
53652001-03-16  Frank Warmerdam  <[email protected]>
5366
5367	* tif_dirinfo.c: moved definition of copyright tag in field list.
5368	Apparently they have to be in sorted order by tag id.
5369
53702001-03-13  Frank Warmerdam  <[email protected]>
5371
5372	* tif_getimage.c: Added support for 16bit minisblack/miniswhite
5373	images in RGBA interface.
5374
53752001-03-02  Frank Warmerdam  <[email protected]>
5376
5377	* Added TIFFTAG_COPYRIGHT support.
5378
53792001-02-19  Frank Warmerdam  <[email protected]>
5380
5381	* Brent Roman contributed updated tiffcp utility (and tiffcp.1)
5382	with support for extracting subimages with the ,n syntax, and also
5383	adding the -b bias removal flag.
5384
53852001-02-16  Frank Warmerdam  <[email protected]>
5386
5387	* libtiff/libtiff.def: Brent Roman submitted new version adding
5388	serveral missing entry points.
5389
5390	* libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
5391	Some sort of weird VMS thing.
5392
5393	http://bugzilla.remotesensing.org/show_bug.cgi?id=31
5394
5395	* tif_luv.c/tiff.h/tiffio.h:
5396	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
5397	([email protected]).  He writes:
5398
5399	1) I improved the gamut-mapping function in tif_luv.c for imaginary
5400	colors, because some images were being super-saturated on the input
5401	side and this resulted in some strange color shifts in the output.
5402
5403	2) I added a psuedotag in tiff.h to control random dithering during
5404	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and
5405	on for 24-bit LogLuv output.  Dithering improves the average color
5406	accuracy over the image.
5407
5408	3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
5409	tiffio.h, to expose internal routines for converting between LogLuv and
5410	XYZ coordinates.  This is helpful for writing more efficient,
5411	specialized conversion routines, especially for reading LogLuv files.
5412
5413	Changes applied with minor edits.
5414
54152001-01-23  Frank Warmerdam  <[email protected]>
5416
5417	* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
5418	whether we are encoding or decoding.  This is to ensure graceful
5419	recovery if TIFFClientOpen() discovers an attempt to open a compressed
5420	file for "r+" access, and subsequently close it, as it resets the
5421	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
5422	compressor's concept of whether it is in encode or decode mode.
5423
54242001-01-08  Mike Welles <[email protected]>
5425
5426	* Makefile.in:  Now cleaning up after itself after creating the .tar.gz and .zip
5427
54282001-01-07  Frank Warmerdam  <[email protected]>
5429
5430	* html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
5431	as per bug report by Patrick Connor.
5432
54332000-12-28  Frank Warmerdam  <[email protected]>
5434
5435	* Added RELEASE-DATE file to release file list.
5436
5437	* Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
5438
54392000-12-22  Mike Welles <[email protected]>
5440        * added link to CVS mirror from index.html
5441
5442	* updated html/internals.html to note that LZW compression is
5443	  not supported by default.
5444
54452000-12-22  Frank Warmerdam  <[email protected]>
5446
5447	* updated html/libtiff.html to not point at Niles' old JPL web site
5448	for the man pages, point at www.libtiff.org.
5449
54502000-12-21  Frank Warmerdam  <[email protected]>
5451
5452	* libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
5453	Leonard Rosenthol <[email protected]>.  May interfere
5454	with correct building on older systems.  If so, please let me know.
5455
54562000-12-19 Mike Welles <[email protected]>
5457
5458	* Took out LZW Encoding from tif_lzw.c
5459
5460	* Created HOWTO-RELEASE
5461
5462	* Created html/v3.5.6.html
5463
5464	* updated index.html
5465
54662000-12-01  Frank Warmerdam  <[email protected]>
5467
5468	* Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
5469	Patches supplied by Frank Cringle <[email protected]>
5470	Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
5471
54722000-11-24  Frank Warmerdam  <[email protected]>
5473
5474	* libtiff/Makefile.in: Added an installPrivateHdrs and install-private
5475	target so that the private headers required by libgeotiff can be
5476	installed with the others.  They are not installed by default.
5477
5478	* libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
5479	targets so libtiff.so will be built with an explicit dependency
5480	on libm.so.
5481
5482	* libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
5483	libtiff.so.3.5.5.
5484
5485	* libtiff/Makefile.in & configure: Remove all references to the ALPHA
5486	file, or ALPHA version logic.  Added stuff about DIST_POINT in
5487	place of DIST_TYPE and the alpha release number stuff.
5488
54892000-11-22  Frank Warmerdam  <[email protected]>
5490
5491	* I have applied a patch from Steffen Moeller <[email protected]> to
5492	the configure script so that it now accepts the --prefix, and
5493	--exec-prefix directives.
5494
54952000-11-13  Frank Warmerdam  <warmerda@cs46980-c>
5496
5497	* I have made a variety of modifications in an effort to ensure the
5498	TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
5499	file which seems to be updated regularly.
5500
5501	 o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
5502	   version include file.
5503	 o renamed version.h to tiffvers.h because we now have to install it
5504	   with the public libtiff include files.
5505	 o include tiffvers.h in tiffio.h.
5506	 o updated tif_version.c to use tiffvers.h.
5507	 o Updated Makefile.in accordingly.
5508
5509	* As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
5510	I have updated the win32 detection rules in tiffcomp.h.
5511
55122000-10-20  Frank Warmerdam  <warmerda@cs46980-c>
5513
5514	* tif_getimage.c: Fixed RGBA translation for YCbCr images for which
5515	the strip/tile width and height aren't multiples of the sampling size.
5516	See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
5517	Some patches from Rick LaMont of Dot C Software.
5518
5519	* Modified tif_packbits.c encoder to avoid compressing more
5520	data than provided if rowsize doesn't factor into provided data
5521	(such as occurs for YCbCr).
5522
55232000-10-19  Frank Warmerdam  <warmerda@cs46980-c>
5524
5525	* tools/rgb2ycbcr.c: fixed output strip size to account for vertical
5526	roundup if rows_per_strip not a multiple of vertical sample size.
5527
55282000-10-16  Frank Warmerdam  <warmerda@cs46980-c>
5529
5530	* tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
5531	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
5532	from [email protected].
5533
5534	* Modified tif_packbits.c decoding to avoid overrunning the
5535	output buffer, and to issue a warning if data needs to be
5536	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
5537
55382000-10-12  Frank Warmerdam  <warmerda@cs46980-c>
5539
5540	* Modified tiff2bw to ensure portions add to 100%, and that
5541	white is properly recovered.
5542
5543	See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
5544	Patch c/o Stanislav Brabec <[email protected]>
5545
55462000-09-30  Frank Warmerdam  <warmerda@cs46980-c>
5547
5548	* Modified TIFFClientOpen() to emit an error on an attempt to
5549	open a comperessed file for update (O_RDWR/r+) access.  This is
5550	because the compressor/decompressor code gets very confused when
5551	the mode is O_RDWR, assuming this means writing only.  See
5552	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
5553
55542000-09-27  Frank Warmerdam  <warmerda@cs46980-c>
5555
5556	* Added GNULDdso target an`d switched linux and freebsd to use it.
5557
55582000-09-26  Frank Warmerdam  <warmerda@cs46980-c>
5559
5560	* Applied patch for 0x0000 sequences in tif_fax3.h's definition
5561	of EXPAND1D() as per bug 11 (from Roman).
5562
55632000-09-25  Frank Warmerdam  <warmerda@cs46980-c>
5564	* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
5565	cygwin compatibility.
5566
5567	* Applied patch from Roman Shpount to tif_fax3.c.  This seems to
5568	be a proper fix to the buffer sizing problem.  See
5569	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
5570
5571	* Fixed tif_getimage.c to fix overrun bug with YCbCr images without
5572	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
5573	Thanks to Nick Lamb <[email protected]> for reporting the
5574	bug and proving the patch.
5575
55762000-09-18  Frank Warmerdam  <warmerda@cs46980-c>
5577
5578	* Fixed tif_jpeg.c so avoid destroying the decompressor before
5579	we are done access data thanks to bug report from:
5580	Michael Eckstein <[email protected]>.
5581
5582	* Reverted tif_flush change.
5583
55842000-09-14  Frank Warmerdam  <warmerda@cs46980-c>
5585
5586	* tif_flush.c: Changed so that TIFFFlushData() doesn't return an
5587	error when TIFF_BEENWRITING is not set.  This ensures that the
5588	directory contents can still be flushed by TIFFFlush().
5589
55902000-08-14  Frank Warmerdam  <[email protected]>
5591
5592	* tif_open.c: Don't set MMAP for O_RDWR files.
5593
5594	* tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
5595	so that files opened for update can be strip chopped too.
5596
5597	* tif_read.c: fixed up bug with files missing rowsperstrip and
5598	the strips per separation fix done a few weeks ago.
5599
56002000-07-17  Frank Warmerdam  <warmerda@cs46980-c>
5601
5602	* Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
5603	SAMPLEFORMAT_COMPLEXINT.
5604
56052000-07-13  Mike Welles <[email protected]>
5606
5607	* index.html, bugs.html: added bugzilla info.
5608
56092000-07-12  Frank Warmerdam  <[email protected]>
5610
5611	* tif_read.c: fix subtle bug with determining the number of
5612	rows for strips that are the last strip in a separation but
5613	not the last strip of all in TIFFReadEncodedStrip().
5614
5615	* Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
5616	Peter Skarpetis <[email protected]>
5617
56182000-06-15  Frank Warmerdam  <[email protected]>
5619
5620	* Modified tiffio.h logic with regard to including windows.h.  It
5621	won't include it when building with __CYGWIN__.
5622
56232000-05-11  Frank Warmerdam  <warmerda@cs46980-c>
5624
5625	* README: update to mention www.libtiff.org, don't list Sam's old
5626	email address.
5627
5628	* configure: Fixed DSO test for Linux as per patch from
5629	  Jan Van Buggenhout <[email protected]>.
5630
56312000-04-21  Frank Warmerdam  <[email protected]>
5632
5633	* libtiff/tif_dirread.c: Don't use estimate strip byte count for
5634	one tile/strip images with an offset, and byte count of zero. These
5635	could be "unpopulated" images.
5636
56372000-04-18  Frank Warmerdam  <[email protected]>
5638
5639	* contrib/addtiffo: Added "averaging" resampling option.
5640
5641	* tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
5642
5643Tue Apr 18 16:18:08 2000  Frank Warmerdam  <[email protected]>
5644
5645	* tools/Makefile.in: Modified to install properly on SGI.
5646
56472000-04-12  Mike Welles	     <[email protected]>
5648	* configure:  Fixed stupid mistake in libc6 test on Linux
5649
56502000-04-04  Mike Welles	     <[email protected]>
5651	* tif_win32.c:  Applied patch to fix overreads and ovverwrites
5652	  caught by BoundsChecker.  From Arvan Pritchard
5653	  <[email protected]>  (untested).
5654
5655	* tif_getimage.c:  Applied patch to silence VC6 warnings.  From
5656	  Arvan Pritchard <[email protected]>
5657
5658	* tif_lzw.c:  Applied patch to silence VC6 warnings.  From
5659	  Arvan Pritchard <[email protected]>
5660
56612000-03-28  Frank Warmerdam  <warmerda@cs46980-c>
5662
5663	* Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
5664
56652000-03-28  Frank Warmerdam  <warmerda@cs46980-c>    *** 3.5.5 release ***
5666
5667	* fax2ps: Fixed mixup of width and height in bounding box statement
5668	as per submission by Nalin Dahyabhai <[email protected]>.
5669
56702000-03-27  Mike Welles	     <[email protected]>
5671
5672	* fax2ps:  Modified printruns to take uint32 instead of uint16.
5673	Patch courtesy of Bernt Herd <[email protected]>
5674
56752000-03-20  Mike Welles	     <[email protected]>
5676
5677	* configure: added test for libc6 for linux targets.  Bug reported by
5678        Stanislav Brabec <[email protected]>
5679
5680	* Added 3.5 docs to html/Makefile.in.
5681	Thanks to  Stanislav Brabec <[email protected]>
5682
5683	* configure: fixed bugs in sed scripts
5684	(applied sed script s:/@:s;@:;s:/s;;:;: to configure).
5685	fix submitted to Stanislav Brabec <[email protected]>
5686
5687	* tools/iptcutil was not in files list, and wasn't being
5688	added to tar archive.  Updated Makefile.in.
5689
56902000-03-17  Frank Warmerdam  <warmerda@cs46980-c>
5691
5692	* tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
5693	conversion for the run arrays.
5694
56952000-03-03  Frank Warmerdam  <[email protected]>
5696
5697	* Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
5698	SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
5699
57002000-03-02  Frank Warmerdam  <[email protected]>
5701
5702	* Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
5703
5704	* Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
5705	to avoid overruns encountered with frle_bug.tif.
5706
5707Tue Feb 15 22:01:05 2000  Frank Warmerdam  <[email protected]>
5708
5709	* Fixed tools/tiffcmp so that stopondiff testing works.
5710	  Patch care of Joseph Orost <[email protected]>.
5711
57122000-01-28    <warmerda@CS46980-B>
5713
5714	* Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
5715	  set to 1, and added default (off) setting in tiffconf.h.  This
5716	  should eventually be set by the configure script somehow.
5717
5718	  The original work on all these 2-4GB changes was done by
5719	  Peter Smith ([email protected]).
5720
5721	* Modified tif_win32.c to support 2-4GB seeks.
5722
5723	* tentatively changed toff_t to be unsigned instead of signed to
5724	  facilitate support for 2-4GB files.
5725
5726	* Updated a variety of files to use toff_t.  Fixed some mixups
5727	  between toff_t and tsize_t.
5728
5729Fri Jan 28 10:13:49 2000  Frank Warmerdam  <[email protected]>
5730
5731	* Largely reimplemented contrib/addtiffo to avoid temp files,
5732	updating the TIFF file in place.  Fixed a few other bugs to.
5733
5734	* Set tif_rawdatasize to zero when freeing raw data buffer in
5735	TIFFWriteDirectory().
5736
5737	* Enabled "REWRITE_HACK" in tif_write.c by default.
5738
5739	* Fix bug in tif_write.c when switching between reading one directory
5740	and writing to another.
5741
5742	* Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
5743
5744Wed Jan  5 12:37:48 2000  Frank Warmerdam  <[email protected]>
5745
5746	* Added TIFFmemory(3t) functions to libtiff.def.
5747
5748Tue Jan  4 13:39:00 2000  Frank Warmerdam  <[email protected]>
5749
5750	* Added libtiff/libtiff.def to TIFFILES distribution list.
5751
5752Mon Dec 27 12:13:39 EST 1999  Mike Welles <[email protected]>
5753
5754	* Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
5755
5756	* Altered descriptions in tools to reflect "by default" lzw not supported
5757
5758	* Updated index.html to note lzw compression kit.
5759
5760Tue Dec 21 14:01:51 1999  Frank Warmerdam  <[email protected]>
5761
5762	* Added fax3sm_winnt.c to distribution list in Makefile.in.
5763
5764Tue Dec 21 11:04:45 EST 1999  Mike Welles <[email protected]> *** 3.5.4 release ***
5765
5766	* Aadded Pixar tag support.  Contributed by Phil Beffery <[email protected]>
5767
5768	* Made one more change to tif_dir.c for removal of LZW compression. Also added notice
5769	  when LZW compression invoked.
5770
5771	* Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
5772	  in tools to reflect removal of LZW compression
5773
5774Mon Dec 20 18:39:02 EST 1999  Mike Welles  <[email protected]>
5775
5776        * Fixed bug that caused LZW (non) compression to segfault. Added
5777	  warning about LZW compression removed being removed, and why.
5778
5779	* Added nostrip to install in tools/Makefile.in so that debugging
5780	  symbols are kept.
5781
5782Tue Dec  7 12:04:47 EST 1999  Mike Welles  <[email protected]>
5783
5784	* Added patch from Ivo Penzar <[email protected]>,
5785	  supporting Adobe ZIP deflate.  Untested.
5786
5787Sat Dec  4 15:47:11 1999  Frank Warmerdam  <[email protected]>
5788
5789	* Made Packbits the default compression in tools/tiff2rgba.c instead
5790	of LZW.
5791
5792Tue Nov 30 14:41:43 1999  Frank Warmerdam  <[email protected]>    *** 3.5.3. release ***
5793
5794	* Added tif_luv to contrib/djgpp/Makefile.lib.
5795
5796Tue Nov 30 14:15:32 EST 1999   Mike Welles <[email protected]>
5797
5798        * Added zip creation to relase makefile target
5799
5800	* Added html for TIFFWriteTile.3t man page.
5801
5802Tue Nov 30 09:20:16 1999  Frank Warmerdam  <[email protected]>
5803
5804	* Added some changes to tif_write.c to support rewriting existing
5805	fixed sized tiles and strips.  Code mods disabled by default, only
5806	enabled if REWRITE_HACK is defined for now.
5807
5808Mon Nov 29 11:43:42 1999  Frank Warmerdam  <[email protected]>
5809
5810	* Added TIFFWriteTile.3t man page.
5811
5812Sun Nov 28 20:36:18 1999  Frank Warmerdam  <[email protected]>
5813
5814	* Added notes on use of makefile.vc in build.html, and fixed
5815	email subscription address.
5816
5817199-11-28  Mike Welles <[email protected]>
5818
5819	*  Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
5820
5821	*  Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
5822	   from Bruce Carmeron <[email protected]> -- modifications of
5823	   changes made by Frank (sun cc still complained on cast).
5824
5825	*  Added tiffconf.h to install target per request from Bill
5826	   Radcliffe <[email protected]>: "We need a way for ImageMagick to
5827 	   know features have been compiled into the TIFF library in order to
5828	   handle things properly".
5829
5830Sat Nov 27 16:49:21 1999  Frank Warmerdam  <[email protected]>
5831
5832	* fixed various VC++ warnings as suggested by Gilles Vollant
5833	<[email protected]>.
5834
5835Wed Nov 24 12:08:16 1999  Frank Warmerdam  <[email protected]>
5836
5837	* Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
5838	not imply applications are responsible for image data swapping.
5839
58401999-11-22  Mike Welles <[email protected]>
5841	*  HTML-ized the man pages, added to html/man
5842
5843	*  Removed LZW Compression to comply with Unisys patent extortion.
5844
58451999-09-29  Mike Welles		<[email protected]>
5846	*  Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
5847	   From Ivo Penzar <[email protected].
5848
5849	*  Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
5850	   memory mapped files. <[email protected]>
5851
58521999-09-26  Mike Welles 	<[email protected]>  *** 3.5.2 release ***
5853	* Corrected alpha versioning.
5854
5855	* Removed distinction between  alpha and release targets in Makefile.in.
5856
5857	* added release.stamp target, which tags cvs tree, and updates
5858	  "RELEASE-DATE"
5859
5860	* added releasediff target, which diffs tree with source as of
5861	  date in "RELEASE-DATE"
5862
5863	* Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
5864	  away from alpha/non-alpha distinctions).
5865
5866	* updated html to reflect release
5867
58681999-09-23    <warmerda@CS46980-B>
5869
5870	* Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
5871
5872	* Added CYGWIN case in configure.
5873
5874Fri Sep 17 00:13:51 CEST 1999  Mike Welles <[email protected]>
5875
5876	* Applied Francois Dagand's patch to handle fax decompression bug.
5877	  (sizes >= 65536 were failing)
5878
5879Tue Sep 14 21:31:43 1999  Frank Warmerdam  <[email protected]>
5880
5881	* Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
5882	  by Christopher Lawton <[email protected]>
5883
5884Wed Sep  8 08:19:18 1999  Frank Warmerdam  <[email protected]>
5885
5886	* Added IRIX/gcc, and OSF/1 4.x support on behalf of
5887	  Albert Chin-A-Young <[email protected]>
5888
5889	* Added TIFFReassignTagToIgnore() API on behalf of
5890	  Bruce Cameron <[email protected]>.  Man page still pending.
5891
5892Wed Aug 25 11:39:07 1999  Frank Warmerdam  <[email protected]>
5893
5894	* Added test target in Makefile, test_pics.sh script and pics/*.rpt
5895	files to provide for a rudimentary testsuite.
5896
5897	* Added contrib/tags back from old distribution ... fixed up a bit.
5898
58991999-08-16    <warmerda@CS46980-B>
5900
5901	* Added simple makefile.vc makefiles for building with MS VC++
5902	on Windows NT/98/95 in console mode.  Stuff in contrib/win* make give
5903	better solutions for some users.
5904
5905Mon Aug 16 21:52:11 1999  Frank Warmerdam  <[email protected]>
5906
5907	* Added addtiffo (add overviews to a TIFF file) in contrib.  Didn't
5908	put it in tools since part of it is in C++.
5909
59101999-08-16  Michael L. Welles  <[email protected]>
5911
5912	* Updated html/index.html with anon CVS instructions.
5913
5914Mon Aug 16 13:18:41 1999  Frank Warmerdam  <[email protected]>
5915
5916	* pre-remove so link before softlink in LINUXdso action in
5917	libtiff/Makefile.in to avoid failure on LINUXdso builds other than
5918	the first.
5919
5920	* Fixed problem with cvtcmap() in tif_getimage.c modifying the
5921	colormaps owned by the TIFF handle itself when trying to fixup wrong
5922	(eight bit) colormaps.  Corrected by maintaining a private copy of
5923	the colormap.
5924
5925	* Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
5926	tif_getimage.c.
5927
5928	* CVS Repository placed at remotesensing.org.  ChangeLog added.
5929